style <- "border: solid black;"
grid_layout(
grid_item("A", area = "a", style = style),
grid_item("B", area = "b", style = style),
grid_item("C", area = "c", style = style),
cols = c("1fr 2fr"), rows = c("1fr 1fr"), areas = c("a b", "a c"),
style = style
)
grid_layout(
grid_item("A", row = "1 / 3", col = "1 / 2", style = style),
grid_item("B", row = "1 / 2", col = "2 / 3", style = style),
grid_item("C", row = "2 / 3", col = "2 / 3", style = style),
cols = c("1fr 2fr"), rows = c("1fr 1fr"), style = style
)
library(magrittr)
tibble::tibble(
content = list(
tags$h1("Title"), tags$h2("Sidebar"), tags$h2("Article A"), tags$h2("Article B")
),
area = c("title", "side", "A", "B"),
style = style
) %>%
purrr::pmap(function(content, ...) grid_item(content, ...)) %>%
# tagList %>%
grid_layout(
cols = c("1fr 2fr"), rows = c("auto, 1fr 1fr"),
areas = c(
"title title",
"side A",
"side B"
),
style = style
)
Valid units for sizing elements in shiny
package are limited to px
, %
, em
, pt
, in
, cm
, mm
, ex
, or pc
.
Thus, there is a difficulty when layouting one element with certain size and the other fitting to the rest of area, or split the rest of the area for more elements with variety of ratios.
This is what CSS Grid Layout supports by the fr
unit.


logo
articles
books
events
jobs
membership
topics
Seriously , red?
Don't Miss These Latest Articles
Article
Article
Article
Article
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Laborum, laudantium?
Article 1
Article 2
Article 3
Smashing Members
Article 5
Article 6
Article 7
Article 8
Lorem ipsum dolor sit amet consectetur adipisicing elit. Sit, nobis.
see all latest articles
Learn more about the book
person of the week
Link 1
Link 2
Link 3
Link 4
Link 5
Link 6
More links on Twitter
Design Systems
New Front-End Challenges To Master
Performance Optimization & Strategy
Improving Workflow & Data Protection
Design Patterns & Checklists
smashing newsletter
See all articles


Japanese banks face headwinds even with current profit goals in sight
Even as the nation’s biggest banks remain on course to achieve their full-year earnings goals, they are losing profit drivers.
Mitsubishi UFJ Financial Group Inc., Sumitomo Mitsui Financial Group Inc. and Mizuho Financial Group Inc. all posted declines in fiscal second-quarter net income, as they struggled to make money from their core business of lending.
“The economic outlook remains uncertain for the second half,” said MUFG CEO Kanetsugu Mike at a briefing on the results. “The environment for the financial industry remains tough.”
Mitsubishi UFJ’s net profit dropped 6.3 percent, to ¥609.9 billion, and Sumitomo Mitsui Financial’s net profit fell 8.6 percent, to ¥431.9 billion. Mizuho reported a net profit of ¥287.6 billion, down 19.9 percent.
The earnings environment remains largely uncertain, said Tatsufumi Sakai, president and group chief executive officer at Mizuho Financial Group Inc., at a news conference.
A further interest rate cut of 0.1 percentage point by the central bank could “push down revenue and profits by some ¥30 billion annually,” Sakai noted.
Earnings at the three banks have recently been driven by gains on sales of stocks and bonds, which have made up for the slump in lending. But there’s no guarantee that they can keep relying on those transactions, putting pressure on the lenders to accelerate cost cuts as shrinking interest rates squeeze them at home and abroad.
When you look beyond the bottom line, “it’s not terrible” but there are “not very many exciting parts,” said Michael Makdad, a Morningstar Inc. analyst in Tokyo.
Results for the first half were “almost all driven by gains on sales of bonds after U.S. interest rates declined,” Makdad added. Now that the Federal Reserve appears to have paused on rate cuts, it may be tougher to book such gains going forward.
Credit costs are rising as the banks replenish reserves after drawing down excess provisions the previous year. While that doesn’t necessarily portend a flood of bad loans, it’s one less profit driver.
The banks have been expanding abroad over the past decade in search of higher returns. Yet with interest rates dropping worldwide, net interest margins even in regions like Southeast Asia are being squeezed. Rather than overseas expansion, a better profit driver “would be expense cuts in Japan,” said Makdad said.
GET THE BEST OF THE JAPAN TIMES
IN FIVE EASY PIECES WITH TAKE 5
JOIN THE CONVERSATION


WITNESS LIST Criminal Justice Committee April 1, 2003 - 1:00P SB 348 FOR: Gatto, Cindy "Sun" (Self), Wimberly, TX Guerra, Rene (Hidalgo County Criminal Defense Attorney), Edinburg, TX Hampton, Keith S. Legislative Director (Texas Criminal Defense Lawyers Association), Austin, TX Macha, Barry Wichita County District Attorney (Self), Wichita Falls, TX AGAINST: Clements, Dianne (Justice For All), Houston, TX Gibson, Jim Assistant District Attorney (Tarrant County Criminal District Attorney), Fort Worth, TX Weeks, David P. Walker County Criminal District Attorney (Self), Huntsville, TX Wilson, Roe Assistant District Attorney (Harris County District Attorney), Houston, TX ON: Davis, John Assistant District Attorney (District Attorneys Office - El Paso), El Paso, TX Registering, but not testifying: For: Daly, Richard Executive Director (Texas Catholic Conference), Austin, TX Dieter, Alison (Texas Moratorium Network), Austin, TX Marsden, Julia M. Advocacy Vice President (League of Women Voters of Texas), Austin, TX Paynter, Susan (Suzii) Director of Citizenship Education (Christian Life Commission), Austin, TX Against: Gaylor, Tom Deputy Executive Director (Texas Municipal Police Association), Austin, TX Rolater, John Assistant District Attorney (Dallas County District Attorney), Dallas, TX SB 408 FOR: Sylvester, James (CLEAT), Austin, TX Registering, but not testifying: For: Davis, John Assistant District Attorney (District Attorneys Office - El Paso), El Paso, TX Flores, Nancy Public Policy Specialist (Texas Council on Family Violence), Austin, TX Frasier, Margo Sheriff (Sheriff's Association of Texas), Austin, TX Gaylor, Tom Deputy Executive Director (Texas Municipal Police Association), Austin, TX Kirk, Chris Chair/Legislative Committee (Sheriff's Association of Texas), Bryan, TX Wilkinson, Charley Polictical and Legislative Director (Combined Law Enforcement Association of Texas), Austin, TX SB 628 FOR: Frasier, Margo Sheriff (Sheriff's Association of Texas), Austin, TX Jones, James D. Detective (San Antonio Police Officers Association), San Antonio, TX AGAINST: Hampton, Keith S. Legislative Director (Texas Criminal Defense Lawyers Association), Austin, TX Registering, but not testifying: For: Davis, John Assistant District Attorney (El Paso District Attorneys Office), El Paso, TX Gaylor, Tom Deputy Executive Director (Texas Municipal Police Association), Austin, TX Kirk, Chris Chair/Legislative Director (Sheriff's Association of Texas), Bryan, TX Mann, Tom (Texas Police Chiefs Association), Lubbock, TX Ybarbo, Ray Lieutenant (Chief of Police, Albert Ortiz San Antonio Police Department), San Antonio, TX SB 631 Registering, but not testifying: On: Blewelt, Rebecca Staff Attorney (Texas Department of Public Safety), Austin, TX SB 674 Registering, but not testifying: For: Ingersoll, Deborah Lobbysit (Texas State Troopers Association), Austin, TX Macha, Barry Wichita County District Attorney (Self), Wichita Falls, TX McGinnis, Larry Legislative Consulant (Department of Public Safety Officers Association), Austin, TX Wilkinson, Charley Political Legislative Director (Combined Law Enforcement Associations of Texas), Austin, TX SB 685 FOR: Flores, Nancy Public Policy Specialist (Texas Council on Family Violence), Austin, TX Hopson, Kenneth Detective (Austin Police Department), Austin, TX Registering, but not testifying: For: Davis, John Assistant District Attorney (El Paso District Attorneys Office), El Paso, TX Gaylor, Tom Deputy Executive Director (Texas Municipal Police Association), Austin, TX Ingersoll, Deborah Lobbyist (Texas State Troopers Association), Austin, TX Macha, Barry Wichita County District Attorney (Self), Wichita Falls, TX Mann, Tom (Texas Police Chiefs Association), Lubbock, TX Noll, Chuck Assistant District Attorney (Harris County District Attorneys Office), Houston, TX Ybarbo, Ray Lieutenant (Chief of Police, Albert Ortiz San Antonio Police Dept), San Antonio, TX SB 742 Registering, but not testifying: For: Davis, John Assistant District Attorney (El Paso District Attorneys Office), El Paso, TX Gaylor, Tom Deputy Executive Director (Texas Municipal Police Association), Austin, TX Ingersoll, Deborah Lobbyist (Texas State Troopers Association), Austin, TX Macha, Barry Wichita County District Attorney (Self), Wichita Falls, TX SB 801 Registering, but not testifying: For: Dahler, Erik Staff Attorney (Bexar County Hospital District), San Antonio, TX Sims, Leonard M. Chief of Police (Bexar County Hospital Police), San Antonio, TX Ybarbo, Ray Lieutenant (Chief of Police, Albert Ortiz San Antonio Police Department), San Antonio, TX SB 804 ON: Kelley, Michael A. Legislative Liaison (Texas Department of Public Safety), Austin, TX Registering, but not testifying: For: Harrell, Will Lawyer (ACLU, NAACP and LULAC), Austin, TX Wilkinson, Charley (Combined Law Enforcement Associations of Texas), Austin, TX SB 880 FOR: Frasier, Margo Sheriff (Sheriffs Association of Texas), Austin, TX ON: Collier, Bryan (TDCJ - Parole Division), Austin, TX Hottle, Keith E. Board Administrator (Texas Board of Pardons and Paroles), Austin, TX Registering, but not testifying: For: Allison, Jim General Counsel (County Judges and Commissioners Association of Texas), Austin, TX Kamm, Bob Legislative Consultant (Travis County Commissioners Court), Austin, TX Kirk, Chris Chair/Legislative Committee (Sheriffs Association of Texas), Bryan, TX Lee, Donald Executive Director (Texas Conference of Urban Counties), Austin, TX M. DeLuca, Stuart Chairman (Texas Inmate Families Association), Austin, TX Mendez, Mark Assistant County Administrator (Tarrant County Commissioners Court), Fort Worth, TX SB 883 Registering, but not testifying: For: Lee, Donald Executive Director (Texas Conference of Urban Counties), Austin, TX SB 917 FOR: Kaltwasser, Jorita (Self), Houston, TX Strong, Wendy SVP and HR (Self), Houston, TX Registering, but not testifying: For: Clements, Dianne (Justice For All), Houston, TX DeLuca, Stuart M (Self), Austin, TX Harrell, Will Lawyer (ACLU,NAACP and LULAC), Austin, TX Kaltwassey, L.D. (Self), Houston, TX On: Collier, Bryan (TDCJ Parole Division), Austin, TX SB 982 Registering, but not testifying: For: Gillory, Ronald Officer (Houston Police Department), Houston, TX Harrell, Will Lawyer (ACLU NAACP and LULAC), Austin, TX Whitehead II, Tracy Admin Manager (City of Houston), Houston, TX On: Aucoin, Aline Assistant General Counsel (Texas Department of Public Safety), Austin, TX Collier, Bryan (TDCJ Parole Division), Austin, TX


What's on TV this week: 'Shenmue III'
Also new: 'It: Chapter Two,' 'Knight Before Christmas' and 'Dolly Parton’s Heartstrings.'
by Richard LawlerNearly twenty years after the first game debuted on Dreamcast, Shenmue III will be released this week on PS4 and PC. Also, Netflix's Narcos season two spin-off game is set to appear on multiple platforms later this week.
Fans of TV can pick through the flood of content arriving on Apple TV+ and Disney+ at the end of the week, or select something like a Bikram yoga documentary or Knight Before Christmas on Netflix. For movie fans, IT: Chapter Two is streaming via video on-demand, while sports fans can curl up with more college football. Let's be honest -- we're all waiting for Mandalorian episode three, right? Look after the break to check out each day's highlights, including trailers and let us know what you think (or what we missed).
Blu-ray & Games
- It: Chapter Two (VOD)
- Suspiria (4K)
- American Me
- Dora and the Lost City of Gold
- The Handmaid's Tale (S3)
- The Boys Next Door
- Cold War (Criterion)
- Charlie's Angels: The Complete Series
- Farscape: The Complete Series (20th Anniversary)
- The Whole Nine Yards
- The King of Queens: The Complete Series
- Scarface
- Betty Blue (Criterion)
- Shenmue III (PS4, PC)
- Football Manager 2020 (PC)
- Golem (PS4)
- Narcos: Rise of the Cartels (PS4, PC, Switch, Xbox One)
- WRC 8 (Switch)
- Still There (Switch, PC)
- Sid Meier's Civilization VI (PS4, Xbox One - 11/22)
- Lost Ember (PC, PS4, Xbox One - 11/22)
Tuesday
- Iliza Schlesinger: Unveiled, Netflix, 3 AM
- No Time for Shame (S1), Netflix, 3 AM
- The Flash, CW, 8 PM
- The Voice, NBC, 8 PM
- NCIS, CBS, 8 PM
- The Resident, Fox, 8 PM
- Bless This Mess, ABC, 8:30 PM
- Ernie & Joe: Crisis Cops, HBO, 9 PM
- Moonshiners (season premiere), Discovery, 9 PM
- Arrow, CW, 9 PM
- Empire, Fox, 9 PM
- The Purge, USA, 9 PM
- This is Us (fall finale), NBC, 9 PM
- Inside the NFL, Showtime, 9 PM
- FBI, CBS, 9 PM
- Treadstone, USA, 10 PM
- New Amsterdam (fall finale), NBC, 10 PM
- Tosh.0 (season finale), Comedy Central, 10 PM
- The Jim Jefferies Show (Season finale), Comedy Central, 10:30 PM
Wednesday
- Mad About You (season premiere), Spectrum VOD, 3 AM
- Castle Rock, Hulu, 3 AM
- Bikram: Yogi, Guru, Predator, Netflix, 3 AM
- Dream/Killer, Netflix, 3 AM
- The Masked Singer, Fox, 8 PM
- All Elite Wrestling, TNT, 8 PM
- Riverdale, CW, 8 PM
- Chicago Med (fall finale), NBC, 8 PM
- Survivor, CBS, 8 PM
- The Goldbergs, ABC, 8 PM
- WWE NXT, USA, 8 PM
- Schooled, ABC, 8:30 PM
- Chicago Fire (fall finale), NBC, 9 PM
- Modern Family, ABC, 9 PM
- The Apollo, HBO, 9 PM
- The Oval, BET, 9 PM
- Nancy Drew, CW, 9 PM
- NFL: The Grind, Epix, 9 PM
- Chicago Fire, NBC, 9 PM
- Single Parents, ABC, 9:30 PM
- It's Always Sunny in Philadelphia (season finale), FXX, 10 PM
- South Park, Comedy Central, 10 PM
- Chicago PD (fall finale), NBC, 10 PM
- Sistas, BET, 10 PM
- S.W.A.T., CBS, 10 PM
Thursday
- Mortel (S1), Netflix, 3 AM
- No Activity (S3), CBS AA, 3 AM
- Booktube, YouTube, 3 AM
- The Knight Before Christmas, Netflix, 3 AM
- Cheat (series premiere), Sundance Now, 3 AM
- Explained, Netflix, 3 AM
- Supernatural, CW, 8 PM
- Grey's Anatomy (fall finale), ABC, 8 PM
- Superstore, NBC, 8 PM
- NC State/Georgia Tech college football, ESPN, 8 PM
- Colts/Texans, Fox, 8 PM
- Perfect Harmony, NBC, 8:30 PM
- Legacies, CW, 9 PM
- The Good Place , NBC, 9 PM
- A Million Little Things (fall finale), ABC, 9 PM
- Mom, CBS, 9 PM
- Will & Grace, NBC, 9:30 PM
- Evil, CBS, 10 PM
- How to Get Away With Murder (fall finale), ABC, 10 PM
- Mr Inbetween, FX, 10 PM
- Law & Order: SVU, NBC, 10 PM
- Temptation Island, USA, 10 PM
- Coldplay: Everyday Life - Live in Jordan, YouTube, 11 PM
- Desus & Mero (season finale), Showtime, 11 PM
Friday
- Dolly Parton's Heartstrings (S1), Netflix, 3 AM
- The Dragon Prince (S3), Netflix,3 AM
- The Feed (S1), Amazon Prime, 3 AM
- Brittany Runs a Marathon, Amazon Prime, 3 AM
- Singapore Social (S1), Netflix, 3AM
- Dreamworks' Trolls: The Beat Goes On! (S8), Netflix, 3 AM
- High Seas (S2), Netflix, 3 AM
- National Treasure (S3), Hulu, 3 AM
- Narcoworld: Dope Stories (S1), Netflix, 3 AM
- Nailed It: Holiday 2, Netflix, 3 AM
- See, Apple TV+, 3 AM
- Snoopy in Space, Apple TV+, 3 AM
- Ghostwriter, Apple TV+, 3 AM
- For All Mankind, Apple TV+, 3 AM
- Helpsters, Apple TV+, 3 AM
- The Morning Show, Apple TV+, 3 AM
- The Mandalorian, Disney+
- Marvel's Hero Project , Disney+
- The World According to Jeff Goldblum, Disney+
- Encore!, Disney+
- High School Musical: The Musical: The Series, Disney+
- Forky Asks A Question, Disney+
- Titans, DC Universe, 9 AM
- American Housewife, ABC, 8 PM
- Charmed, CW, 8 PM
- WWE Smackdown, Fox, 8 PM
- The Blacklist, NBC, 8 PM
- Hawaii Five-0, CBS, 8 PM
- Charmed, CW, 8 PM
- Fresh Off the Boat, ABC, 8:30 PM
- Ready for War, Showtime, 9 PM
- Dynasty, CW, 9 PM
- Magnum P.I., CBS, 9 PM
- Van Helsing, Syfy, 10 PM
- Room 104, HBO, 11 PM
- Comedy Central Presents Charles Gould / Sara Schaefer, Comedy Central, 11 PM
- Black Jesus, Adult Swim, 12 AM
Saturday
- Arkansas/LSU college football, ESPN, 7 PM
- Oregon/Arizona State college football, ABC, 7:30 PM
- TCU/Oklahoma college football, Fox, 8 PM
- Twinkle All the Way, Lifetime, 8 PM
- Blue Planet Now, BBC America, 9 PM
- Lil Rel Howery: Live in Crenshaw, HBO, 10 PM
- Saturday Night Live: Will Ferrell / King Princess, NBC, 11:30 PM
Sunday
- Patriot Act with Hasan Minhaj, Netflix, 3 AM
- Packers/49ers, NBC, 8:15 PM
- 2019 American Music Awards, ABC, 8 PM
- Dublin Murders, Starz, 8 PM
- Ray Donovan, Showtime, 8 PM
- Batwoman, CW, 8 PM
- The Simpsons, Fox, 8 PM
- Christmas 9 to 5, Lifetime, 8 PM
- Bless the Harts, Fox, 8:30 PM
- God Friended Me, CBS, 8:30 PM
- Shameless, Showtime, 9 PM
- Bob's Burgers, Fox, 9 PM
- Watchmen, HBO, 9 PM
- Supergirl, CW, 9 PM
- Godfather of Harlem, Epix, 9 PM
- Family Guy, Fox, 9:30 PM
- NCIS: LA, CBS, 9:30 PM
- The Walking Dead (fall finale), AMC, 9 PM
- Back to Life, Showtime, 10 PM
- Silicon Valley, HBO, 10 PM
- Mr. Robot, USA, 10 PM
- Madam Secretary, CBS, 10 PM
- Mrs. Fletcher, HBO, 10:30 PM
- Back to Life (season finale), Showtime, 10:30 PM
- Rick & Morty, Adult Swim, 11:30 PM
All times listed are ET.


My Top 10 Applications of 2007
Here’s a few items I’d like to share with everyone as I find them extremely useful, hopefully you will too, thats if you have never used them! My Top 10 Apps of 2007 in descending order:
10. Spybot Search and Destroy - Always a must on spyware infested Windows XP installs I come across (Unfortunately all to often). It removes a lot of the bad stuff, and my most used feature is system startup section, as I can stop all that crud from loading and slowing everything to a crawl.
9. iTunes (OS X Version) - Apple’s Music player definitely has a nice feel to it, shame about the copy protection from the iTunes Store. That doesn’t really impinge on my use of it however, I use it to manage my iPods , Podcasts etc. and occasionally l listen to Internet Radio.
8. The Gimp - Ugly as sin, but useful as anything you’ll ever find for free. The Gimp is the image editor of choice when I do my (admittedly very light) photo editing. It also cross platform, on Linux, Mac and Windows. While there are alot of other good free image editors, for all round utility I find the Gimp has it sewn up.
7. ** ***Google Earth *- Okay Google Earth is pointless for most things, but it is nice to watch a tour of famous landmarks you have never seen (Eiffel Tower anyone?). While its utility is perhaps limited, it still provides good fun and a break from productivity.
*6. **Spotlight, Beagle & Google Desktop *- Whatgood is any system if you can’t find anything? I have to admit I am a neat freak when it comes to files on a computer, I have them properly hierarchically sorted, I only wish I was as organized in real life. But for those occasional files I misplace, these three utilitys are invaluable. Spotlight on Mac OS X launches most of my prigrams, Beagle on Linux is super fast and unobtrusive and on Windows it doesn’t get better than Google Desktop with all those handy widgets for information blurbs.
5. OpenOffice / KOffice / NeoOffice- All the suites are free, and they come with great legacy document handling. I don’t use office applications a whole lot for personal use, but these two I would would pay cold hard cash for, because there that good. I use Koffice on Linux where possible, due to its improved speed (as I use KDE Desktop). Koffice will be going multiplatform by the end of this year, and OpenOffice is working on a native Mac OS X port (a void which NeoOffice already fills), all in all a good time for free office suites.** **
4. ** Google Talk *& Adium* - When on Windows, its got to be Google Talk, even better now that they have a gadget (it’s on my contact page). When I am on my Mac laptop, its got to be Adium. Adium is the first Open Source application on this list, and for good reason, it has made beautiful use of GAIM libraries to craft a stunning messenger application. Linux messengers miss out for a variety of reasons, but Psi came close to the two above. **
**3. **iPhoto - An OS X only app, it is a beautiful centre-piece to the invaluable iLife suite from Apple. iPhoto lets me export whole albums as movies (which I then upload to YouTube), original sized pictures and more. It makes my life easier so much so, I have stopped photos being put on any other machine in my home network, they go straight to iPhoto, waiting to get to a critical mass to be wiped and copied to a DVD and my protable hard drivr, which iPhoto does in a few clicks. It does it with style als0, something which Apple is now much lauded for. Although it doesn’t come close to what photography pro’s want, it makes my life that much easier, plus I get all those nice embarrassing ones (of other people) on my iPod ready to be shown on the move! iMovie missed out as we don’t really video anything important in my household.
2. Mozilla Firefox - While it still has quirks as all browsers do, nothing makes me feel as good about the web as Firefox does. Its myriad of extensions and huge community which keep it secure is just somethings worth mentioning about this wonderful browser.
1. Amarok - Without a doubt the best music manager on the planet. I am amazed at its handling of Digital Music Players, including iPods.  Its built in music store serves fresh mp3’s, and its onscreen display of songs lets you know what tunes you’re listening to. It has a million and one scripts to make it do anything, an alarm clock perhaps? done. Tell your friends what your listening to on your contact list? done. A web interface so you can use a remote or laptop to control it? done. All of these are a few clicks away, even for new users it’s a breath of fresh air. Visualizers, faders, any music type you can dream of is playable, I could go on all night, Amarok has it all and more. Like Koffice it is only really on Linux (well, Unix-based) at this point, but its development team are promising OS X and Windows versions. My bet is it’ll fly faster off the shelves than Mozilla Firefox has…
I plan to follow this up and make a series, I have a lot to say! As I am know by a lot of people who know me as “the” Techie person, I plan to write a few short posts on cleaning up windows, saving space on OSX etc. and other interesting stuff alot of people ask me questions about.


Alyle UI uses dynamic styles, for a better control of the styles.
To create styles where some need the configuration of the theme, you can create it in the following way.
Example:


Patriots prove too strong for Eagles despite below-par Brady display
Brady completed only 26 of 47 passes for 216 yards.
The New England Patriots maintained their lead at the top of AFC East thanks to their watertight defence in a 17-10 win at the Philadelphia Eagles.
Patriots quarterback Tom Brady completed only 26 of 47 passes for 216 yards and his 14 incompletions – while throwing into a swirling first-half wind – were the most in his career in a single half.
Both sides were lacklustre going forward, with Patriots receiver Julian Edelman making the biggest throw of the game, finding Phillip Dorsett in the end zone to give his side a 17-10 lead on their first possession of the second half following Brady’s backward pass.
The San Francisco 49ers bounced back from last week’s first defeat of the season to beat the Arizona Cardinals 36-26 and stay top of NFC West.
The Cardinals led 9-0 after Zane Gonzalez’s field goal and wide receiver Larry Fitzgerald’s touchdown, but the 49ers edged a see-saw encounter with tight end Ross Dwelley going over for two decisive close-range touchdowns.
The New York Jets beat the Washington Redskins 34-17 and the New Orleans Saints also secured victory on the road by the same scoreline at the Tampa Bay Buccaneers.
The Minnesota Vikings defeated the Denver Broncos 27-23, the Buffalo Bills overcame the Miami Dolphins 37-20 and the Indianapolis Colts won 33-13 against the Jacksonville Jaguars.
The Dallas Cowboys won 35-27 at the Detroit Lions, the Atlanta Falcons cruised to a 29-3 victory at the Carolina Panthers and the Baltimore Ravens thrashed the Houston Texans 41-7.
The Oakland Raiders edged the Cincinnati Bengals 17-10, the Los Angeles Rams beat the Chicago Bears 17-7 and the Cleveland Browns defeated the Pittsburgh Steelers 21-7.


lnt stands for Lightning Network Tools. It was built initially as a supplement for lncli, the command line tools which come prepackaged with the LND client. However as time went on, it became a full on replacement for lncli and added more features on top.  A lot. It's not human friendly to use, spits output in json, and is unforgiving in it's error messages.  Again, getting annoyed at the amount of replicated effort every time I needed a new behavior with my scripts, I decided to scrap the scripts and package everything in python as a cli.


Instructions
Please type dates as 'dd/mm/yyyy'
Example:
For '25th of April 2017',
type in '25/04/2017'.
'25/4/2017' will also be accepted,
but '25.04.2017' will NOT be accepted.
To submit an entry, press the 'Enter' key or click the 'Submit this answer' button
To stop, click on 'End the challenge'


MP CM Kamal Nath attacks BJP, Pragya Thakur over remarks on Godse
For Quick Alerts Subscribe Now
Jharkhand polls 2019 LIVE: Polling begins, fates of 189 to be decided View Sample For Quick Alerts ALLOW NOTIFICATIONS For Daily Alerts
Just In
- 2 min ago Kerala State Lottery Pooja Bumper Result today: First prize Rs 5 crore
- 11 min ago Internal contradictions within Congress-NCP delays Cabinet formation
- 29 min ago Kerala State Lottery Today Result: Karunya KR-424 lottery result
Don't Miss
- Movies Salman Khan, Madhuri Dixit & Others Dazzle At Sooraj Barjatya's Son's Wedding Reception!
- Finance Sovereign Gold Bond Scheme Series VII Opens On 2 December
- Sports Davis Cup: India take 2-0 lead against Pakistan
- Technology Elon Musk Proves Cybertruck Windows Are Actually Shatterproof
- Automobiles KTM Sales In India For October 2019: 125 Duke & RC Emerge As Best-Selling Models
- Lifestyle Diabetic Ketoacidosis: Causes, Symptoms, Diagnosis And Treatment
- Travel 10 Ideal Alternatives To Popular Destinations In India
- Education 63% Increase In Indian Students To UK: UK Immigration Statistics
MP CM Kamal Nath attacks BJP, Pragya Thakur over remarks on Godse
India pti-PTI By PTI | Updated: Friday, November 29, 2019, 18:50 [IST]
Bhopal, Nov 29: Madhya Pradesh Chief Minister Kamal Nath on Friday said BJP Lok Sabha MP Pragya Thakur showed no guilt for calling Mahatma Gandhi's assassin Nathuram Godse a "patriot" during a debate in Parliament.
Amid opposition ruckus, Thakur on Friday made a fresh statement in Lok Sabha, apologising for her remarks on Godse. "I want to say only what I do for the country. On November 27, during discussion on SPG (Amendment) Bill, I did not call Nathuram Godse a patriot (desh bhakt), I did not even take his name. Still if someone is hurt, I express my regret and apologise," she said in Lok Sabha around 3.00 pm.
In a series of tweets on Friday, CM Nath said, "It is very surprising that Pragya Thakur, who described the Father of the Nation's assassin as Patriot not once but twice, said in the House (Lok Sabha) that her comment has been misinterpreted."
"After listening to her apology, it doesn't seem that she felt any embarrassment for her statement. She is still saying that if anyone is hurt by her comment, she apologises. It can be understood that she doesn't feel any guilt over her statement even today," Nath further tweeted.
Attacking her party, Nath, in another tweet, said, "BJP's stand on this issue is also not clear. BJP leadership and MP Pragya Thakur should make it clear to the country whether they are with Gandhiji's ideology or Godse's?". Thakur is the LS MP from Bhopal.
- Ants found on dead patient's eyes, civil surgeon, 4 others suspended
- Trouble for Kamal Nath as MHA to reopen 1984 riot cases
- After meeting with Sonia Gandhi, Kamal Nath says new PCC chief to be appointed soon
- MP CM, Kamal Nath expresses commitment to fight Left Wing Extremism, seeks assistance from Centre
- Kamal Nath’s nephew Ratul Puri arrested in loan fraud case
- Benami case: I-T attaches posh Delhi bungalow, FDI funds of Kamal Nath's nephew
- Called for questioning, Kamal Nath’s nephew escapes during toilet break
- 30 BJYM workers arrested during protest against Kamal Nath govt
- VVIP chopper scam: Kamal Nath's nephew moves court seeking anticipatory bail
- Bogus training institutes in Madhya Pradesh: Panel formed
- Two BJP MLAs back Kamal Nath govt; 'More in touch with us', claims Congress
- Amid crisis over survival of K'taka govt, MP Cong dares BJP to seek division of votes in house
For Breaking News and Instant Updates Allow Notifications You have already subscribed


Gateway
BOT
19-Aug-19 01:40 PM
[dscrd-hush] <scubapanda> Slow blocks today. Just five in the last 41 minutes..
[dscrd-hush] <denio> !mining
[dscrd-hush] <denio> diff?
[dscrd-hush] <denio> it very high....or?
[dscrd-hush] <scubapanda> Managed to compile from source and sync the chain from scratch during the last three blocks
[dscrd-hush] <denio> Hush is a sexy chain
[dscrd-hush] <scubapanda> Yep
[dscrd-hush] <scubapanda> So someone mined with very large hashpower and left?
[dscrd-hush] <dukeleto> @denio no, diff is usually a large number
[dscrd-hush] <dukeleto> we have charts somewhere
[dscrd-hush] <dukeleto> hmmm
[dscrd-hush] <dukeleto> @CHMEX that diff chart looks super duper old
[dscrd-hush] <scubapanda> Someone got about 20 blocks in 10 mins and left.
[dscrd-hush] <dukeleto> @CHMEX can you kick something to regenerate it? Maybe the cron job is dying?
[dscrd-hush] <dukeleto> @scubapanda yes, that is a form of "diff-stalling", not really an attack, but a selfish miner not giving a shit about anybody else
[dscrd-hush] <dukeleto> A large miner saw good conditions, and jumped on our network for a few mins
[dscrd-hush] <dukeleto> Miners gonna mine
[dscrd-hush] <scubapanda> Yep, sort of kills the chance to chat 'live' over blockchain.
[dscrd-hush] <dukeleto> @scubapanda not really
[dscrd-hush] <dukeleto> receiving text chat via memo is viable via the mempool
[dscrd-hush] <dukeleto> basically instant
[dscrd-hush] <scubapanda> Ah, ok!
[dscrd-hush] <dukeleto> it's a different use case, tho. Mempool isn't "permanent" or even close to "notarized"
[dscrd-hush] <dukeleto> but if all you care about is saying "sup bro" right now, the mempool
[dscrd-hush] <dukeleto> also, you don't need to wait for confirmations to read a memo field
[dscrd-hush] <dukeleto> you can just see "this has 0 confs, but it said 'time to party'"
[dscrd-hush] <dukeleto> the lack of confs doesn't matter in many cases. Or, you can wait for confs. The message cannot change, and you know it came from the trusted source. it just doesn't have confs
[dscrd-hush] <dukeleto> So as you see, "having confirmations" means something different in communications
[dscrd-hush] <scubapanda> Thanks for the explanation!
[dscrd-hush] <dukeleto> We will explore all these edge cases in SilentDragon, we are just at the beginning. In normal use case, you will see your friends "memo" sitting unconfirmed in your wallet, seconds after they send it, in most cases
[dscrd-hush] <dukeleto> you just have to wait for the time it takes the P2P network to pass data around, often <20 seconds
[dscrd-hush] <dukeleto> Confirmations really only mean something when they are 2, that means "notarized" and the memo can never be removed from the public blockchain
[dscrd-hush] <CHMEX> I restarted the explorer
[dscrd-hush] <dukeleto> confs=1, really doesn't mean anything for memos
[dscrd-hush] <CHMEX> I think it stores it somehow in nodejs or so
[dscrd-hush] <dukeleto> @CHMEX yeah, there might be cron jobs that need to run, in your version of the explorer
[dscrd-hush] <dukeleto> new versions have lots better graphs
[dscrd-hush] <dukeleto> the old hush explorer is a newer version of insight(!)
(edited)
[dscrd-hush] <CHMEX> I think they store it in a db
[dscrd-hush] <CHMEX> some mongo stuff
[dscrd-hush] <dukeleto> In case anybody doesn't know, @CHMEX runs our Hush explorer and everybody should thank him/her! We are just having some fun
[dscrd-hush] <dukeleto> @CHMEX mongodb scares me
[dscrd-hush] <CHMEX> me too:)
[dscrd-hush] <dukeleto> Mongo No Like DB
[dscrd-hush] <dukeleto> that is what it's like to use MongoDB
[dscrd-hush] <dukeleto> https://whattomine.com/asic is the best way to look at HUSH hashrate compared to all other chains
Calculate how profitable it is to ASIC mine selected altcoins in comparison to bitcoin
[dscrd-hush] <dukeleto> or maybe some competing sites, but i just use that one for a long time, and the people that run it are nice
[dscrd-hush] <scubapanda> @dukeleto Imagining the recipient is offline does SilentDragon embed a 'serial nr' on each memo field so you can show them in right chronological order once they are in a confirmed block?
[dscrd-hush] <dukeleto> there are so many now, but WTM is old skool
[dscrd-hush] <dukeleto> @scubapanda all that data is in the transaction+block information, timestamps everywhere
[dscrd-hush] <dukeleto> we can always render things chronologically
[dscrd-hush] <dukeleto> regardless of online status
[dscrd-hush] <scubapanda> So when I send 25 messages in the same block SilentDragon will display them in right order.
[dscrd-hush] <dukeleto> If you think about it, this must be the case, or nothing would work.
[dscrd-hush] <dukeleto> Imagine a full node that doesn't exist yet
[dscrd-hush] <dukeleto> the entire Hush history has happened when this yet-to-be-born node hasn't existed, i.e. off-line
[dscrd-hush] <dukeleto> When this new Hush node starts, it must sync all of history correctly
[dscrd-hush] <dukeleto> So what you describe, must work, or very basic blockchain things would not work correctly
[dscrd-hush] <dukeleto> @scubapanda even if you send them all in the same block, they have an ordering


(Adapted from Edward Maurina's book, "The Game Programmer's Guide to Torque" [GPGT]. Grab the entire book to take your Torque knowledge to the next level.)
This document offers an introduction to TorqueScript. You will not be a TorqueScript master after simply reading this - that takes time and practice. But you will walk away with a good feel for how TorqueScript is structured and how it works. With this knowledge in hand, you will be ready to take off and start learning how to best use the tools TorqueScript gives you to create your game.
Scripting languages are programming languages designed to enable scripting. Scripting is the act of using preexisting (engine) components to accomplish new tasks. In other words, we use a scripting language to access features in the engine and then use those features to provide a game experience.
Generally,
scripting languages are interpreted, not compiled (like C++ and other
languages). This makes scripting tasks somewhat slower than compiled
tasks, but we make this trade in order to gain flexibility and
visibility, as well as ease of use. Because scripting languages also
allow you to modify your program without having to recompile it, we
are able to rapidly prototype and repair code. This speeds
development significantly.
Often, scripting languages allow you to write code without worrying about nitty-gritty programming details like data types or memory management. This is both a boon and a bane. It is a boon in that it simplifies many programming tasks, but it is also a bane because it allows us to make mistakes that a strict compiled language and its compiler would find. T2D will catch and notify you of syntax errors, but it does not check for type mismatches or variable naming mistakes.
TorqueScript is a very powerful, flexible language with syntax similar to C++. The following sections will describe all of its features and provide examples to demonstrate its usage.
Type-insensitive - In TorqueScript, variable types are converted as necessary and can be used interchangeably. TorqueScript provides several basic literal types, which are described later in this chapter.
Case-insensitive - TorqueScript ignores case when interpreting variable and function names.
Statement termination - Statements are terminated with a semi-colon (;) as in many modern programming languages (C++, Java, Javascript, etc).
Full complement of operators - The complete list of TorqueScript operators is listed in the TorqueScript Quick Reference. TorqueScript provides all the basic operators common to most programming languages, along with a few more advanced operators.
Full complement of control structures - As with any robust language, TorqueScript provides the standard programming constructs: if-then-else, for, while, and switch.
Functions- TorqueScript provides the ability to create functions with the optional ability to return values. Parameters are passed by value and by reference.
Inheritance and Polymorphism - TorqueScript allows you to inherit from engine objects and to subsequently extend or override object methods.
Namespaces - Like C++, TorqueScript supports the concept of namespaces. Namespaces are used to localize names and identifiers to avoid collisions. Huh? This means, for example, that you can have two different functions named doIt() that exist in two separate namespaces, but which are used in the same code.
Compiles and executes PCODE - As a bit of icing on the cake, the TorqueScript engine compiles scripts prior to executing them, giving a speed increase as well as providing a point at which errors in scripts can be reasonably found and diagnosed.
Variables come in two flavors in TorqueScript: local and global. Local variables are transient, meaning they are destroyed automatically when they go out of scope. And what is scope? "Scope" is a term used to refer to the block of code a variable is defined in. For example, if we have a function, and we declare a local variable inside of that function, the local variable will be destroyed as soon as the function is done processing. When this happens, we say the variable has "gone out of scope". So, local variables only exist in their local scope- the function or code-block they are defined in. A piece of code inside a different function would not be able to see the local variable. Global variables, on the other hand, are permanent and exist throughout the entire program they are defined in.
TorqueScript specifically marks local and global variables with special characters, so that they are easy to tell apart. The syntax is as follows:
%local_var = value;
$global_var = value2;
In TorqueScript, variables do not need to be created before you use them. If a piece of code attempts to evaluate the value of a variable that was not previously created, TorqueScript will create the variable automatically.
Variable names may contain any number of alpha-numeric (a..z, A..Z, 0..9) characters, as well as the underscore (_) character. However, the first character in a variable's name cannot be a number. You may end variable names with a number, but if you do, you must be especially careful with array names. For further explanation, see the section on arrays.
TorqueScript implicitly supports several variable data-types: numbers, strings, booleans, and arrays. Each type is detailed below.
Numbers:
123 (Integer) 1.234 (floating point) 1234e-3 (scientific notation)0xc001 (hexadecimal)
Nothing mysterious here. TorqueScript handles your standard numeric types.
Strings:
"abcd" (string)'abcd' (tagged string)
Standard strings, in double-quotes, behave as you would expect. This is what is used in most cases. Strings which appear in single quotes, 'abcd', are treated specially by TorqueScript. These strings are called "tagged strings", and they are special in that they contain string data, but also have a special numeric tag associated with them. Tagged strings are used for sending string data across a network. The value of a tagged string is only sent once, regardless of how many times you actually do the sending. On subsequent sends, only the tag value is sent. Tagged values must be de-tagged when printing.
Booleans:
Like most programming languages, TorqueScript also supports Booleans. Boolean numbers have only two values - true or false.
true (1) false (0)
The constant "true" evaluates to the number 1 in TorqueScript, and the constant "false" evaluates to the number 0.
Arrays:
$MyArray[n] (Single-dimension) $MyMultiArray[m,n] (Multi-dimension) $MyMultiArray[m_n] (Multi-dimension)
TorqueScript is extremely flexible with arrays. Many scripting languages are more flexible with arrays than compiled languages like C++, but TorqueScript is even more flexible than most scripting languages. All this flexibility can get confusing, and deciphering how TorqueScript handles arrays sometimes trips people up. Part of this confusion comes from the various ways in which array variables can be accessed. For instance, $MyArray[1] and $MyArray1 are identical variable names. Also, $MyMultiArray[0,1], $MyMultiArray[0_1] and $MyMultiArray0_1 all reference the same variable.
A complete listing of TorqueScript's operators can be found in the TorqueScript Reference.
TorqueScript supports all the common control statements.
if-else
if (%val < 0) { %abs = -%val; } else { %abs = %val; }
The above example will execute the statement inside the if block if the number stored by %val is less than 0. Otherwise, the statement inside of the else block will be executed.
switch
switch(%val) { case 1: echo(“The value is 1”); case 2: echo(“The value is 2”); default: echo(“The value is something else”); }
switch$
switch$(%val) { case “Hello”: echo(“The string is Hello”); case “World”: echo(“The string is World”); default: echo(“The string is something else”);
}
The first switch statement (switch) works with numbers and the second (switch$) works with strings. Other than that their functionality is identical. A single case statement will be executed depending on the value inside the parentheses. For example, if %val is “Hello”, the statements after 'case “Hello”:' will be executed.
for
for(%i = 0; %i < 10; %i++) { echo(%i @ “/” @ 10); }
while
%i = 0; while (%i < 10) { echo(%i @ “/” @ 10); %i++; }
The statements inside of a loop are executed repeatedly until an exit condition is met. In the case of a for loop, the exit condition is the second statement in the declaration. So, in the example, the loop will continue to execute until the variable %i is greater than or equal to 10. The first statement is the initialization statement and is executed once before the loop is run for the first time. The last statement is executed after each iteration of the loop prior to the exit condition test.
The exit condition of the while loop is between the parentheses after the while keyword. The for loop and while loop above both do the exact same thing, though in most situations one of the constructs will work better than the other.
Basic functions in TorqueScript are defined as follows:
function myFunction(%arg1, %arg2) { %result = %arg1 + %arg2; return %result; }
The above example is a simple adding function. It receives two numbers as parameters, adds them together, and returns the result. Functions can have any number of parameters and may or may not return a value.
In Torque, every item in the game world is an object, and all game world objects can be accessed via script. For example, t2dSceneObject, t2dSceneGraph, and t2dStaticSprite can all be accessed via script, though they are defined in C++. Objects are created with the 'new' keyword.
%object = new t2dSceneObject(MyObject) { Position = “10 10”; Size = “5 15”; Rotation = 45; OtherField = 10; };
In this example, we are creating a t2dSceneObject, naming it “MyObject”, and storing a reference to the object in the variable %object. This variable can then be used to call various methods defined for the t2dSceneObject class. For example, the following will set the newly created object's position to the point (10, 20):
%object.setPosition(10, 20);
The object's name can also be used to reference the object. Assigning a name to an object is optional.
The first three statements inside the object definition assign values to fields that the engine has exposed for the object. These are the object's position, size, and rotation. So, the object will be created with position (10, 10) width 5, height 15, and rotation 45. There are several other fields exposed as well. To see them all check out the T2D Reference document. The last field is a dynamic field. Dynamic fields are defined only in script and are used to store values for a specific instance of an object.
In addition to supporting the creation of functions, TorqueScript allows you to define methods on object classes and namespaces.
function t2dSceneObject::move(%this, %amount) { %position = %this.getPosition(); %newPosition = t2dVectorAdd(%position, %amount); %this.setPosition(%newPosition); return %newPosition; }
Methods are very similar to functions. The difference is they are associated with a specific class type. The above example creates a method for t2dSceneObjects. Assuming %object is a t2dSceneObject, this method could be called like this:
%object.move(“10 5”);
That would move %object 10 units in the x direction and 5 units in the y direction. Inside the method definition, the %this variable is actually a reference to the object that called the method. So in this case, it is the same as %object. %this is always the first parameter in a method definition (though it doesn't necessarily have to be named %this), and is automatically passed to the method by the engine.
Namespaces are a slightly advanced topic and can be confusing, but they are extremely useful when fully understood. First, every object belongs to a namespace. By default, the namespace is the name of the object's class. So, a t2dSceneObject is in the namespace 't2dSceneObject'. Also, namespaces are inherited. A t2dStaticSprite object is in the namespace 't2dStaticSprite', and also in the namespace 't2dSceneObject' since t2dStaticSprite is derived from t2dSceneObject. In this way, methods can be defined for a base class and used by object's of a derived class. For instance, the setPosition method is defined for t2dSceneObject, but a t2dStaticSprite can use it as well.
This was an extremely quick overview of the various features of TorqueScript. If you are new to programming, don't expect to understand everything that was covered right away. Programming is a confusing topic that takes time and experience to grasp fully. Hopefully you were able to learn some of the concepts involved with scripting and what it can do for you. The next step is to start following tutorials and practicing on your own. Good luck!


Parts of Gauteng lashed by heavy rain, flooding witnessed by social media
by Andy WalkerPortions of Gauteng have been hit by heavy rains and flooding on Wednesday according to video reports on social media and warnings by the South African Weather Service (SAWS).
A clip doing the rounds on Twitter, posted by Yusuf Abramjee and retweeted by SAWS, shows torrents of flood water rushing across a road near Midstream, Centurion.
The irony of that name, too.
Other social media users also reported an intense storm witnessed near OR Tambo International.
On Wednesday, SAWS issued a number of severe thunderstorm warnings and watches across the province, one in particular alerted residents of Tshwane to potential “heavy downpours and localised flooding”.
The warning remains in effect until 6pm Wednesday.
This comes after SAWS issued an earlier alert, stating that flooding across Gauteng was possible until 5am Thursday.
Thunderstorm warnings are also currently in effect in parts of the Northern Cape.
Follow the South African Weather Service
Weather is fickle and subject to change, so we’d recommend following SAWS on its official Twitter account, especially for updates on today’s thunderstorm activity.
And be sure to bookmark its warnings portal too, where it regularly updates the advisories and more serious information on the daily.
Feature image: A storm in Gauteng in 2016, by Francisco Anzola via Flickr (CC BY 2.0)


Hover your mouse over me for a few seconds to see my dynamically bound title!
Drag your file here
回归1
回归2
理想模型


Read file from workspace
Reads a file from a relative path (with root in current directory, usually workspace) and returns its content as a plain string.
- file
Relative ( /-separated) path to file within a workspace to read.
Type: String
- encoding (optional)
The encoding to use when reading the file. If left blank, the platform default encoding will be used. Binary files can be read into a Base64-encoded string by specifying "Base64" as the encoding.
Type: String


Gradie
Beautiful gradients in seconds.
Login
Email
Password
By creating an account, you agree to the
Terms & Conditions.
Create an Account


Kriti Kharbanda Out & Out CONFIRMS Dating Pulkit Samrat; Reveals Why They Kept It Hidden
There was a very important reason why Kriti Kharbanda wanted to keep the relationship under the wrap for some time.
by Koimoi.com TeamFrom the past few weeks, there have been dating rumours about Pulkit Samrat and Kriti Kharbanda. Whenever the duo was asked about it, they would laugh at the question. But their social media PDA couldn’t be ignored and hence, the rumours never died.
Well, the Karwaan actress has now admitted that she is indeed dating Pulkit. But there was a very important reason why she wanted to keep the relationship under the wrap for some time.
Kriti Kharbanda told ETimes, “No, they are not rumours. We are dating each other. In all honesty, I wanted my parents to know first that I’m dating someone and when you start seeing someone, it’s I think there’s a time for everything when you’re comfortable talking about it.”
She added, “Sometimes it can take five years; sometimes it can take five months. In our case, it was five months, but I’m in a very happy place and I have no qualms admitting that I am dating Pulkit Samrat.”
Well, we are very happy for the couple!
On the work front, Kriti and Pulkit will be seen together in Pagalpanti. Directed by Anees Bazmee, the film also stars John Abraham, Anil Kapoor, Arshad Warsi and Urvashi Rautela. The film hits the screen on November 22, 2019.


Simulate Pokémon battles by
selecting an attacking and defending Pokémon, and the attack!
Attacking
Defending
Vs


PART VII. ALCOHOL, DRUGS, AND HIGHWAY SAFETY--REPEALED
§§286-151 to 163 REPEALED. L 2000, c 189, §28.


lets you capture an anonymous "show of hands" during a presentation.
share this page's urlto let others vote.vote by clickingon any of the bars.


If you want to upload Tide audit reports to GCS then you'll need to create a bucket for those reports. Open the Cloud Storage Browser and click Create Bucket.
| Variable | Description |
|---|---|
GCS_BUCKET_NAME |
The name of the GCS bucket. |
If you want to upload images to WordPress, then you'll need to create a bucket for those images to live (unless you opt to use the local file system). Open the Cloud Storage Browser and click Create Bucket.
Run the following command to change the ACL's of your new bucket:
$ gsutil defacl ch -u AllUsers:R gs://YOUR_BUCKET_NAME
When the API is up and running, log into the WordPress admin and go to the plugin settings page for GCS Upload
then add your bucket name to the form field and click Save Settings.


|
Trex Run
1.12
Arcade Classic Game from Chrome Browser Exported to Minix Environment.
|
Functions | |
| int | stSINGLEP () |
| void | PlayKbdEventHandler () |
| Event Handler for Keyboard on Play State. More... | |
| int | PlayDrawInterface () |
| Play State Graphic Interface. More... | |
Variables | |
| unsigned int | counter |
| uint8_t | scancodes [2] |
| bool | two_byte_code |
| Interface | background |
| Trex | trex |
| MainMenuStM | stm |
| Score | score |
| Interface background |
| unsigned int counter |
| uint8_t scancodes[2] |
| Score score |
| MainMenuStM stm |
| Trex trex |
| bool two_byte_code |


How we work

Agile working

We work as a digital design team, meaning we work iteratively, using agile methodology. We design products to meet the needs of our users, which we discover through research. We regularly test our products with users and improve them iteratively, which reduces risk.

We work in 2-week sprints, making it easier to manage and prioritise tasks. Throughout each sprint, we use agile ceremonies to help us communicate and collaborate as a multidisciplinary team, and to hold ourselves accountable to the work we committed to. These ceremonies include:

daily standups to each give short updates to spot risks or blockers to progress

weekly backlog refinement to update and prioritise our backlog of tasks

fortnightly planning sessions to prioritise and plan our work for the next sprint

fortnightly show and tells to demo what has been learnt, designed or built

quarterly showcase to reflect on work from the last 3 months and encourage feedback from stakeholders

retrospectives to shape and improve our ways of working

An important aspect of our way of working is the digital design process. Where there is a new, large problem space, as is the case with a project like the golden thread of building information, we’ll encourage teams to run a discovery and alpha phase. The work required to make a dataset available will differ between projects. A discovery ensures that the area is well understood and solutions are based on user needs. At the end of a discovery, we develop hypotheses which shape the alpha phase.

As is the case with brownfield land, not all projects need a thorough discovery phase, since this is already an existing policy area that is well understood. With projects like this, our focus is on refining the solutions that already exist, using the existing data to evidence decisions.

Working in the open

Working in the open encourages collaboration with teams working in similar areas, suppliers interested in working with us, and users who want to know more about our work or offer feedback. It’s also a great way for us to keep a record of our design decisions, questions, assumptions and hypotheses, which in turn builds the trust of our users and stakeholders. Wherever possible we record our work publicly, using the following tools:

project pages

weeknotes

blog posts

GitHub issues

guidance on data principles

Prioritising work

There is a huge amount of work to be done improving the quality and accessibility of land and housing data. Therefore, we have to carefully choose and prioritise which datasets we focus on and, within a project, how we prioritise tasks.

The following are some of our main considerations when prioritising work:

Users

Before we design and build solutions, we research and understand the needs of the users within the project area. We then prioritise our work based on how to best meet our user’s needs. It’s also important to prioritise tasks that we as a government team are in a unique position to do, and which are users may not be able to do.

Policymakers

We work closely with colleagues from the Ministry of Housing, Communities & Local Government to understand new and changing policy requirements. We then prioritise work which improves the quality and accessibility of datasets that can support decision making and improve policy outcomes.

PropTech

We are also working closely with emerging PropTech companies to understand what data they need to support their product and services.

Local planning authorities

During most of our projects, we work closely with local planning authorities, finding ways to help them publish the data they hold in a way that is not overly burdensome to them. We’re also helping local authority digital teams build tools for the PlanTech sector by supporting their data needs.

Data

There are several hundred areas of policy to consider when looking at land and housing issues, and each is informed by a number of different datasets. The same dataset may inform a number of different policies. We often prioritise projects in which the data already exists, since creating positive outcomes in these areas will be quicker and easier.

Choosing a team

Depending on the phase of a project, a different shape of team will be needed. An early discovery project will be more focussed on user research, whereas a project in alpha or beta may need developers and designers to prototype solutions to be tested.

We can help you identify the shape and size of the team and support you through the process of onboarding via the Digital Marketplace.

Projects for which we’ve sourced a team through the Digital Marketplace include:

single register of planning alpha phase

energy performance of buildings alpha phase

local plans alpha phase

Starting a project

At the start of each project it’s important to ensure every person involved is on the same page. An inception meeting with the project team and stakeholders is a good way to ensure everyone is aware of the project boundaries, share corporate knowledge, and outline our approach.

We will also produce an offer document at the beginning of each project for our stakeholders or supplier. This will outline:

our understanding of the scope of the project

team members

stakeholders

key outcomes we expect to achieve

an outline approach how we will achieve our outcomes

our ways of working


Local mysql can be entered using ldp mysql
.
If your production server allows remote connections you can use ldp mysql --prod
but that requires some extra configuration. The following needs to be added to your dev config file:
production_remote_db_host=''
If terminus is installed and your server is on Pantheon you only need to make sure this is present:
pantheon_live_uuid=''


custom menu button png's
-
anonymous
I'm trying to make a set of custom menu buttons based on the Pro LCD Shapeshifter Theme, and I'm using the same size and shape of the original "Simple" buttons, and yet I'm getting a pixel of space in between the back, play & next buttons. It's that way for all states of the play button area. Is there some way to fix this? I tried changing the file type from png32 to png8, and changing the creator from fireworks to preview.... nothing changed. help! e-mail me<EMAIL_ADDRESS>if you can help, thanks!
-
Greg Hurrell
The spacing between the buttons is set in the Synergy preferences.
Reply
This topic is now closed.


public static class NacDialog.Scaler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
double |
heightScale
Scale the screen height by some fraction (0 <= x <= 1.0).
|
boolean |
isScaled
Check if the dialog has been scaled yet.
|
double |
widthScale
Scale the screen width by some fraction (0 <= x <= 1.0).
|
boolean |
wrapHeight
Wrap height content.
|
boolean |
wrapWidth
Wrap width content.
|
| Constructor and Description |
|---|
Scaler() |
| Modifier and Type | Method and Description |
|---|---|
void |
setHeightScale(double scale,
boolean wrap)
Set height scale.
|
void |
setWidthScale(double scale,
boolean wrap)
Set width scale.
|
public double heightScale
public double widthScale
public boolean wrapHeight
public boolean wrapWidth
public boolean isScaled


TazPanel is the SliTaz administration and settings center from where you can control your entire system such as package management, adding or removing users, creating Live systems and much more. Navigation is done with the toolbar at the top of the application window and in some cases with a submenu.
In most cases you will get a description and useful information with the section concerned. TazPanel uses the latest XHTML 5 and CSS 3 technology to provide a clean and easy to use frontend for all administration tasks you can do on SliTaz. TazPanel has also been coded from the beginning with speed and qualility in mind and it also supports full internationalization.
Pour obtenir de l'aide sur SliTaz rendez-vous sur le forum forum, la liste de diffusion ou le canal IRC.
If you want to help and get involved in SliTaz, TazPanel maybe for you! We need help in translating, styling, documentation and coding. If you need more information or want to publish a new graphical style, you can go to the SliTaz Community and post on the Devel forum or post an update with a PM to a SliTaz contributor so that we can get in touch and include your work in TazPanel or in an extra styles package.
Tazpanel est une nouvelle application qui sera améliorée et paufinée avec le temps. Si vous trouvez un bug, merci de le signaler sur le système de bugs de SliTaz: bugs.slitaz.org


Mix Of The Day: Daniel Baughman
A smooth radio mix from the Hivern Discs A&R man.
by Resident AdvisorHivern Discs label manager Daniel Baughman pulls together some unreleased tracks as well as music from his native Catalonia in this Beats In Space session.


RT @ashedryden: The Double Clicks have a song with a cat keyboard and another about falling in love with trekkies, so obviously my faves.
10/21/2013, 10:59:53 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
RT @ashedryden: The Double Clicks have a song with a cat keyboard and another about falling in love with trekkies, so obviously my faves.
10/21/2013, 10:59:53 PM
Favs: 0
Retweets: 0
link


Async Example¶
Build a performant non-blocking server from scratch, how to isolate the user’s business logic in callbacks, how to write the callback logic in-line with generators, and how to schedule timed events.
import socket, time, types, select
from collections import namedtuple
from heapq import heappush, heappop
######### Reactor ####################################################################
ScheduledEvent = namedtuple('ScheduleEvent', ['event_time', 'task'])
Session = namedtuple('Session', ['address', 'file'])
events = [] # heap with events prioritized by earliest time
sessions = {} # { csocket : Session(address, file)}
callback = {} # { csocket : callback(client, line) }
generators = {} # { csocket : inline callback generator}
def reactor(host='localhost', port=9600):
'Main event loop that triggers the appropriate business logic callbacks'
s = socket.socket()
s.bind((host, port))
s.listen(5)
s.setblocking(0) # Make asynchronous. Never wait on a client socket.
sessions[s] = None
print('Server up, running, and waiting for call on %s %s' % (host, port))
try:
while True:
# Serve existing clients BUT only if they already have data ready
ready_to_read, _, _ = select.select(sessions, [], [], 0.1)
for c in ready_to_read:
if c is s:
c, a = c.accept()
connect(c, a)
continue
line = sessions[c].file.readline()
if line:
callback[c](c, line.rstrip())
else:
disconnect(c)
# Run events scheduled at the appropriate event time
while events and events[0].event_time <= time.monotonic():
event = heappop(events)
event.task()
finally:
s.close()
def connect(c, a):
'Reactor logic for new connections'
sessions[c] = Session(a, c.makefile())
on_connect(c) # call into user's business logic
def disconnect(c):
'Reactor logic to end sessions'
on_disconnect(c) # call into user's business logic
sessions[c].file.close()
c.close()
del sessions[c]
del callback[c]
def add_task(event_time, task):
'Helper function to schedule one-time tasks at specific time'
heappush(events, ScheduledEvent(event_time, task))
def call_later(delay, task):
'Helper function to schedule one-time tasks after a given delay'
add_task(time.time() + delay, task)
def call_periodic(delay, interval, task):
'Helper function to schedule recurring tasks'
def inner():
task()
call_later(interval, inner)
call_later(delay, inner)
def on_connect(c):
g = nbcaser(c) # 'g' is a coroutine
generators[c] = g # generators -> awaitables
callback[c] = g.send(None) # we do this to advance `nbcaser` coroutine
# to yield through the 'readline' coroutine
# which will sleep on its 'yield' expression
def on_disconnect(c):
g = generators.pop(c)
g.close()
@types.coroutine
def readline(c):
'A non-blocking readline to use with two-way generators'
def inner(c, line):
g = generators[c]
try:
callback[c] = g.send(line) # `g.send(line)` will resume the `yield inner` point
except StopIteration:
disconnect(c)
line = yield inner
return line
def sleep(c, delay):
'A non-blocking sleep to use with two-way generators'
def inner():
g = generators[c]
callback[c] = next(g)
call_later(delay, inner)
return lambda *args: callback[c]
######### User's Business Logic ######################################################
def announcement():
print('The event loop is still running at:', time.ctime())
call_periodic(delay=1, interval=15, task=announcement)
async def nbcaser(c):
upper, title = 'upper', 'title'
mode = upper
print("Received connection from", sessions[c].address)
try:
c.sendall(b'<welcome: starting in upper case mode>\n')
while 1:
line = await readline(c)
if line == 'quit':
c.sendall(b'quit\r\n')
return
if mode is upper and line == 'title':
c.sendall(b'<switching to title case mode>\r\n')
mode = title
continue
if mode is title and line == 'upper':
line = c.sendall(b'<switching to upper case mode>\r\n')
mode = upper
continue
print(sessions[c].address, '-->', line)
if mode is upper:
c.sendall(b'Upper-cased: %a\r\n' % line.upper())
else:
c.sendall(b'Title-cased: %a\r\n' % line.title())
finally:
print(sessions[c].address, 'quit')
if __name__ == '__main__':
reactor('localhost', 9600)
Credit: Yury Selivanov helped me convert this example from using
yield
and two-way generators to using coroutines and await
.


Dear {{ recipient_name }},
{{ user.username }} has shared a braindump with you!
Sincerely,
The BrainDump Team
Organize your life with braindump today!
Note: replies to this email address are not monitored.


First look at ITV drama about Derbyshire man's cheating on Who Wants to be a Millionaire
Charles Ingram, originally from Shardlow, cheated his way to the £1m prize
by Paige OldfieldThe story of how a Derbyshire man attempted to swindle the £1m jackpot prize on Who Wants To Be A Millionaire is being turned into an ITV drama.
Charles Ingram, originally from Shardlow, cheated his way to win the seven-figure sum on the popular British game show in 2001.
The ex-Army Major successfully answered all of Chris Tarrant's questions and was later found guilty of deception when a jury believed he used an accomplice who coughed when an answer was correct.
The upcoming ITV three-parter, called “Quiz”, will feature Michael Sheen as TV presenter Chris Tarrant.
The three-part drama is directed by globally renowned director Stephen Frears and written by playwright James Graham.
It will star Matthew Macfadyen as Major Charles Ingram, Sian Clifford as Diana Ingram, Mark Bonnar as Celador Television chairman Paul Smith, Helen McCrory as Sonia Woodley QC, Michael Jibson as Tecwen Whittock and Aisling Bea as ITV entertainment commissioner Claudia Rosencrantz.
Ingram has kept a low profile since the scandal 18 years ago.
According to The Sun, Charles and Diana Ingram declared themselves bankrupt for the fourth time in 2016.
The newspaper also reported he was selling homemade brooches for £5 and necklaces for up to £40.
Ahead of the reboot of Who Wants To Be A Millionaire, The Sun pictured him loading up his belongings into a van to move to a flat on a remote farm after the scandal turned him into a recluse.


My To Do List
Enter the Task List
Add
Visit Library
×
Go To Shop
×
Swim Lessons
×
Meet Friends
×
Summit Assignment
×
Excercises
×


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
SEARCH:
JavaScript is disabled on your browser.
A
C
D
E
F
G
H
I
L
M
O
P
S
T
U
V
W
Z
P
posElement
- Variable in class pt.ptcris.utils.
UpdateRecord
preElement
- Variable in class pt.ptcris.utils.
UpdateRecord
ProgressHandler
- Interface in
pt.ptcris.handlers
An interface for reporting the progress of the synchronization procedures and the comprising tasks.
pt.ptcris.exceptions
- package pt.ptcris.exceptions
pt.ptcris.grouper
- package pt.ptcris.grouper
pt.ptcris.handlers
- package pt.ptcris.handlers
pt.ptcris.test
- package pt.ptcris.test
pt.ptcris.test.grouper
- package pt.ptcris.test.grouper
pt.ptcris.test.scenarios
- package pt.ptcris.test.scenarios
pt.ptcris.utils
- package pt.ptcris.utils
PTCRISExample
- Class in
pt.ptcris.test
A class that exemplifies the use of the various PTCRISync synchronization procedures.
PTCRISExample()
- Constructor for class pt.ptcris.test.
PTCRISExample
PTCRISGrouper
- Class in
pt.ptcris
A generic activity grouper for the PTCRIS framework.
PTCRISGrouper()
- Constructor for class pt.ptcris.
PTCRISGrouper
PTCRISync
- Class in
pt.ptcris
An implementation of the PTCRISync synchronization service based on the version 0.4.3 of the specification, enhanced with minimal quality criteria.
PTCRISync()
- Constructor for class pt.ptcris.
PTCRISync
PTCRISyncResult
<
E
extends org.um.dsi.gavea.orcid.model.common.ElementSummary> - Class in
pt.ptcris
A class that encapsulates the result of the synchronization procedures for a particular activity.
putcode
- Variable in class pt.ptcris.
PTCRISyncResult
A
C
D
E
F
G
H
I
L
M
O
P
S
T
U
V
W
Z
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
JavaScript is disabled on your browser.


Provides access to the Omniture tracking and analytics service.
This iOS module requires iOS 6.0 or later. This Android module Requires Android 2.3.3 or later.
View the Using Titanium Modules document for instructions on getting started with using this module in your application.
Use require
to access this module from JavaScript:
var Omniture = require("ti.omniture");
The Omniture
variable is a reference to the Module object.
If you are upgrading from an earlier version of this module (prior to version 3.0.0) you should be aware that API of the module changed substantially to match the changes in the underlying native library.
The Ti.Omniture.Session class is no longer used. Instead of creating a Session
object using the startSession
function, basic parameters such as tracking
server address and suite IDs are specified in a configuration file called
ADBMobileConfig.json. Download a pre-configured instance of this file from the
Adobe Mobile Services web site and place it into the platform/iphone
folder
(for iOS) and into the platform/android/bin/assets
folder (for Android)
of your Titanium Alloy project.
The functions of the Session class have been replaced with functions of the module object itself.
The name of many functions has changed to match the native library. Also, the way parameters are provided has changed to allow for a more concise coding style.
For example, this:
session.trackAppState({
appState: "state1",
contextData: {
key: "value"
}
});
will become this:
Omniture.trackState('state1', { key: 'value' });
The Ti.Omniture.MediaTracker class is no longer used. Instead of creating a
MediaTracker object using the startMediaTracker
function, use the
createMediaSettings
function to create a Ti.Omniture.MediaSettings object
and pass it to the mediaOpen
function.
For example, this:
var mediaTracker = Omniture.startMediaTracker({
trackMilestones: "25,50,75",
contextDataMapping: {
"a.media.name": "eVar2,prop2",
"a.media.segment": "eVar3",
"a.contentType": "eVar1",
"a.media.timePlayed": "event3",
"a.media.view": "event1",
"a.media.segmentView": "event2",
"a.media.complete": "event7"
}
});
becomes this:
var mediaSettings = Omniture.createMediaSettings({
name: 'media1',
milestones: '25,50,75',
...
});
Omniture.mediaOpen(mediaSettings);
...
Omniture.mediaClose('media1');
Begins the collection of lifecycle data. This should be the first method called upon app launch.
Tracks a state with context data. This method increments page views.
Tracks an action with context data. This method does not increment page views.
Tracks an action with context data. This method does not increment page views. This method is intended to be called while your app is in the background (it will not cause lifecycle data to send if the session timeout has been exceeded).
Tracks a location with context data. This method does not increment page views.
Tracks an increase in a user's lifetime value. This method does not increment page views.
Tracks the start of a timed event. This method does not send a tracking hit If an action with the same name already exists it will be deleted and a new one will replace it.
Tracks the start of a timed event. This method does not send a tracking hit. When the timed event is updated the contents of the parameter data will overwrite existing context data keys and append new ones.
Tracks the end of a timed event
Returns whether or not a timed action is in progress.
Retrieves the Marketing Cloud Identifier from the Visitor ID Service. Querying this property can cause a blocking network call, therefore this is an async function: the result will be delivered to the provided callback function.
Retrieves the analytics tracking identifier. Querying this property can cause a blocking network call, therefore this is an async function: the result will be delivered to the provided callback function.
Force library to send all queued hits regardless of current batch options.
Clears any hits out of the tracking queue and removes them from the database.
Creates a Ti.Omniture.MediaSettings object with the specified properties.
The following properties are mandatory:
Creates a Ti.Omniture.MediaSettings object with the specified properties.
The following properties are mandatory:
The difference between createMediaSettings
and this function is that this
function sets isMediaAd to true by default.
Opens a media item for tracking.
Closes a media item.
Begins tracking a media item.
Artificially completes a media item.
mediaComplete
is called (in seconds).Notifies the media module that the media item has been paused or stopped.
Notifies the media module that the media item has been clicked.
Sends a track event with the current media state
Processes a Target service request.
createTargetLocationRequest
or createTargetOrderConfirmRequest
function.Creates a Ti.Omniture.TargetLocationRequest object.
Creates a Ti.Omniture.TargetLocationRequest object.
Clears target cookies from shared cookie storage.
Sets the DPID and DPUUID.
Processes an Audience Manager service request.
Resets audience manager UUID and purges current visitor profile.
Synchronizes the provided identifiers to the visitor id service
The version of the Omniture library.
The custom user identifier.
Note : If your app upgrades from the Marketing Cloud 3.x to 4.x SDK, the previous visitor ID (either custom or automatically generated) is retrieved and stored as the custom user identifier. This preserves visitor data between upgrades of the SDK. For new installations on the 4.x SDK, user identifier is null until set.
Enables or disables debug logging.
The user's current lifetime value.
The number of hits currently in the tracking queue.
The privacy status.
The visitor's profile.
A string containing the DPID value.
A string containing the DPUUID value.
One of the possible values of the privacyStatus
property.
One of the possible values of the privacyStatus
property.
One of the possible values of the privacyStatus
property.
Constant string that can be used as keys to add common target parameters.
Constant string that can be used as keys to add common target parameters.
Constant string that can be used as keys to add common target parameters.
Constant string that can be used as keys to add common target parameters.
Constant string that can be used as keys to add common target parameters.
Constant string that can be used as keys to add common target parameters.
Constant string that can be used as keys to add common target parameters.
Constant string that can be used as keys to add common target parameters.
Constant string that can be used as keys to add common target parameters.
See example.
Original: Jeff Haynie, Fred Spencer, & Jon Alter
Rewrite based on 4.x: Zsombor Papp
View the change log for this module.
Please direct all questions, feedback, and concerns to<EMAIL_ADDRESS>Copyright(c) 2010-2015 by Appcelerator, Inc. All Rights Reserved. Please see the LICENSE file included in the distribution for further details.


/* this code is equivalent to: curl -H "Content-Type: application/json" -X POST -d '{"username": "user", "password": "user"}' http://<IP_ADDRESS>:5000/api/getkey */


APQueryExpression Class Reference
| Inherits from | APSimpleQuery : APBaseQuery : NSObject |
| Declared in | APQuery.h APQuery.m |
Overview
An APQueryExpression is a query in the form of an expression depicting the operator, operator type and the operands.
Tasks
-
– isEqualTo:
Helper method to generate an equal to query string.
-
– isEqualToDate:
Helper method to generate an equal to query string for Date type.
-
– isNotEqualTo:
Helper method to generate a not equal to query string.
-
– isNotEqualToDate:
Helper method to generate a not equal to query string.
-
– isGreaterThan:
Helper method to generate a greater than query string.
-
– isLessThan:
Helper method to generate a less than query string.
-
– isGreaterThanOrEqualTo:
Helper method to generate a greater than or eqal to query string.
-
– isLessThanOrEqualTo:
Helper method to generate a less than or equal to query string.
-
– isGreaterThanDate:
Helper method to generate a greater than query string.
-
– isLessThanDate:
Helper method to generate a less than query string.
-
– isGreaterThanOrEqualToDate:
Helper method to generate a greater than or eqal to query string.
-
– isLessThanOrEqualToDate:
Helper method to generate a less than or equal to query string.
-
– isLike:
Helper method to generate a query string for like condition.
-
– startsWith:
Helper method to generate a query string for like condition.
-
– endsWith:
Helper method to generate a query string for like condition.
-
– matches:
Helper method to generate a query string for match condition.
-
– isBetween:and:
Helper method to generate a between query string.
-
– isBetweenDates:and:
Helper method to generate a between query string.
-
– initWithProperty:ofType:
Method to initialize a queryExpression object with property name and type.
Instance Methods
endsWith:
Helper method to generate a query string for like condition.
- (APSimpleQuery *)endsWith:(NSString *)value
Parameters
- value
the value of the property.
Declared In
APQuery.h
initWithProperty:ofType:
Method to initialize a queryExpression object with property name and type.
- (instancetype)initWithProperty:(NSString *)name ofType:(NSString *)type
Parameters
- name
Name of the property to be used as an operand of the query expression.
- type
Type of property.
Declared In
APQuery.h
isBetween:and:
Helper method to generate a between query string.
- (APSimpleQuery *)isBetween:(NSString *)value1 and:(NSString *)value2
Parameters
- value1
the lower end value of the property
- value2
the higher end value of the property
Declared In
APQuery.h
isBetweenDates:and:
Helper method to generate a between query string.
- (APSimpleQuery *)isBetweenDates:(NSDate *)date1 and:(NSDate *)date2
Parameters
- date1
the lower end date value of the property
- date2
the higher end date value of the property
Declared In
APQuery.h
isEqualTo:
Helper method to generate an equal to query string.
- (APSimpleQuery *)isEqualTo:(NSString *)value
Parameters
- value
The value of the property to equate to.
Declared In
APQuery.h
isEqualToDate:
Helper method to generate an equal to query string for Date type.
- (APSimpleQuery *)isEqualToDate:(NSDate *)date
Parameters
- date
The date to equate to.
Declared In
APQuery.h
isGreaterThan:
Helper method to generate a greater than query string.
- (APSimpleQuery *)isGreaterThan:(NSString *)value
Parameters
- value
value that the property should be greater than.
Declared In
APQuery.h
isGreaterThanDate:
Helper method to generate a greater than query string.
- (APSimpleQuery *)isGreaterThanDate:(NSDate *)date
Parameters
- date
The date that the property should be greater than.
Declared In
APQuery.h
isGreaterThanOrEqualTo:
Helper method to generate a greater than or eqal to query string.
- (APSimpleQuery *)isGreaterThanOrEqualTo:(NSString *)value
Parameters
- value
value that the property should be greater than or equal to.
Declared In
APQuery.h
isGreaterThanOrEqualToDate:
Helper method to generate a greater than or eqal to query string.
- (APSimpleQuery *)isGreaterThanOrEqualToDate:(NSDate *)date
Parameters
- date
The date that the property should be greater than or equal to.
Declared In
APQuery.h
isLessThan:
Helper method to generate a less than query string.
- (APSimpleQuery *)isLessThan:(NSString *)value
Parameters
- value
the value the property should be less than.
Declared In
APQuery.h
isLessThanDate:
Helper method to generate a less than query string.
- (APSimpleQuery *)isLessThanDate:(NSDate *)date
Parameters
- date
The date the property should be less than.
Declared In
APQuery.h
isLessThanOrEqualTo:
Helper method to generate a less than or equal to query string.
- (APSimpleQuery *)isLessThanOrEqualTo:(NSString *)value
Parameters
- value
the value the property should be less than or equal to.
Declared In
APQuery.h
isLessThanOrEqualToDate:
Helper method to generate a less than or equal to query string.
- (APSimpleQuery *)isLessThanOrEqualToDate:(NSDate *)date
Parameters
- date
The date the property should be less than or equal to.
Declared In
APQuery.h
isLike:
Helper method to generate a query string for like condition.
- (APSimpleQuery *)isLike:(NSString *)value
Parameters
- value
the value of the property.
Declared In
APQuery.h
isNotEqualTo:
Helper method to generate a not equal to query string.
- (APSimpleQuery *)isNotEqualTo:(NSString *)value
Parameters
- value
the value of the property to equate to.
Declared In
APQuery.h
isNotEqualToDate:
Helper method to generate a not equal to query string.
- (APSimpleQuery *)isNotEqualToDate:(NSDate *)date
Parameters
- date
the date to equate to.
Declared In
APQuery.h


Shortcuts:
menu: CTRL-0
model panel: CTRL-1
model designer: CTRL-2
gui designer: CTRL-3
list view: CTRL-4
property editor: CTRL-5
AsTeRICS Configuration Suite
System
Components
Edit
Misc.
ARE
Connect
to ARE
Disconnect
from ARE
Upload
Model
Test
Model
Download
Model
Download
Component Collection
ARE Storage
Store
Model on ARE
Load Model
from Storage
Activate a
Stored Model
Delete a
Stored Model
Set as
Autorun
Model
Start
Model
Pause
Model
Stop
Model
Local
New
Model
Open
Model
Close
Model
Save
Model
Components
Sensors
Processors
Actuators
Quickselect
Model Properties
Edit
Model ID
Show Model
Description
Edit
Cut
Copy
Paste
Delete
Selection
Undo
Redo
Miscellaneous
Component
Collection Manager
Options
Print
Help
About
Enable test-auto-revert mode
Test mode timeout (s)
Test mode button fontsize (px)
--- please choose file ---
--- please choose file ---
--- please choose file ---
Your web browser must have JavaScript enabled in order for this application to display correctly.


Welcome to My Blog on GitHub.
This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:
$ cd your_repo_root/repo_name $ git fetch origin $ git checkout gh-pages
If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.
Designer Templates
GitHub has crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.
Rather Drive Stick?
If you prefer to not use the automatic generator, push a branch named gh-pages
to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.
Authors and Contributors
You can @mention a GitHub username to generate a link to their profile. The resulting <a>
element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.
Support or Contact
Having trouble with Pages? Check out the documentation at http://help.github.com/pages or contact<EMAIL_ADDRESS>and I will help you sort it out.


[Erowid Warning: Our understanding of the literature is that there is no such thing as safe use of volatile solvents, aerosols and other street inhalants : their psychoactive effects are inseparable from nerve and organ damage. We have chosen to include these reports to help document the real world use of inhalants, but their inclusion is not intended to imply that they are anything but dangerous.]
A few years ago I heard you can get high from petrol. Not liking the smell of petrol I mixed some aerosol into a glass jar and sniffed them gave me a buzz and made me giddy but burnt my throat. Soon after I learnt you could get high from butane so I powered up a lighter (some adjustable ones you can set very very high and make them spray out liquid butane) I obviously didn't do it right or something because it didn't work. One day beening boared and depressed I thought hey why not try an LPG gas cylinder and see what that does being a long time ago I cannot remember the details but after several breaths I can remember waking up not knowing what had happened b4. I can also remember producing lot of saliva.
Within the last 6 months I started using LPG Gas again. The main feature of LPG Gas are pulsing of sight, touch and sound and Reduced taste and smell. General you know it is starting to work when you feel a cold chill run across your body and sometimes you feel nauses for a little while. Funny colored dots a bit like noise in a t.v. signal and dark patches begin in your sight. Like most drugs you loose motor skills.  A waring at this point one deep breath can make you pass out on the floor.
Hallucinations now when I use the Gas it is mostly late at night with the t.v. in a lighted room. As todate I have only used gas I have tried nutmeg but it didn't work. I have experinced serveral audio hallucination of the t.v. e.g. ads about disney crap when the was no ad on and some voices but they were prety crappy and one realistic one I though my mum was up stairs screaming and stamping the floor because here mobile phone bills weren't as good as the ones on the t.v.
Twice I have exhaled and the air in front of me riggle like i was breath hot air like above a hot plate. My strongest hallunication was when at the top of my stairs there was one of my dogs the big one( it was there) then the other smaller dog can running up around the corner(it wasn't there) and barked at me then it shrank to the size of a new born pup. It body started loose shape and looked like it was made by several spherical objects. Thoose balls look as if the were very shiny. Then it began to float in the air and spun around and stuff. Begining at the top of the stairs and had bad motor skills ended up leaning backwards slight and was loosing my balance. I was try to grab on to stuff but each time was swung the floating dog thing stopped me grabing onto it. I woke up concussed on the titled floor after fall down a flight of stairs went to the hospital and came back clear. Watch out this is dangerous but cheap.
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.


Overview¶
TreeCorr is a package for efficiently computing 2-point and 3-point correlation functions.
The code is hosted at https://github.com/rmjarvis/TreeCorr
It can compute correlations of regular number counts, weak lensing shears, or scalar quantities such as convergence or CMB temperature fluctutations.
2-point correlations may be auto-correlations or cross-correlations. This includes shear-shear, count-shear, count-count, kappa-kappa, etc. (Any combination of shear, kappa, and counts.)
3-point correlations currently can only be auto-correlations. This includes shear-shear-shear, count-count-count, and kappa-kappa-kappa. The cross varieties are planned to be added in the near future.
Both 2- and 3-point functions can be done with the correct curved-sky calculation using RA, Dec coordinates, on a Euclidean tangent plane, or in 3D using either (RA,Dec,r) or (x,y,z) positions.
The front end is in Python, which can be used as a Python module or as a standalone executable using configuration files. (The executable is corr2 for 2-point and corr3 for 3-point.)
The actual computation of the correlation functions is done in C++ using ball trees (similar to kd trees), which make the calculation extremely efficient.
When available, OpenMP is used to run in parallel on multi-core machines.
Approximate running time for 2-point shear-shear is ~30 sec * (N/10^6) / core for a bin size b=0.1 in log(r). It scales as b^(-2). This is the slowest of the various kinds of 2-point correlations, so others will be a bit faster, but with the same scaling with N and b.
The running time for 3-point functions are highly variable depending on the range of triangle geometries you are calculating. They are significantly slower than the 2-point functions, but many orders of magnitude faster than brute force algorithms.
If you use TreeCorr in published research, please reference: Jarvis, Bernstein, & Jain, 2004, MNRAS, 352, 338 (I’m working on new paper about TreeCorr, including some of the improvements I’ve made since then, but this will suffice as a reference for now.)
Record on the Astrophyics Source Code Library: http://ascl.net/1508.007
Developed by Mike Jarvis. Fee free to contact me with questions or comments at mikejarvis17 at gmail. Or post an issue (see below) if you have any problems with the code.
The code is licensed under a FreeBSD license. Essentially, you can use the
code in any way you want, but if you distribute it, you need to include the
file TreeCorr_LICENSE
with the distribution. See that file for details.
Installation¶
The easiest ways to install TreeCorr are either with pip:
pip install treecorr
or with conda:
conda install -c conda-forge treecorr
If you have previously installed TreeCorr, and want to upgrade to a new released version, you should do:
pip install treecorr --upgrade
or:
conda update -c conda-forge treecorr
Depending on the write permissions of the python distribution for your specific system, you might need to use one of the following variants for pip installation:
sudo pip install treecorr
pip install treecorr --user
The latter installs the Python module into ~/.local/lib/python3.X/site-packages
,
which is normally already in your PYTHONPATH, but it puts the executables
corr2
and corr3
into ~/.local/bin
which is probably not in your PATH.
To use these scripts, you should add this directory to your PATH. If you would
rather install into a different prefix rather than ~/.local, you can use:
pip install treecorr --install-option="--prefix=PREFIX"
This would install the executables into PREFIX/bin
and the Python module
into PREFIX/lib/python3.X/site-packages
.
If you would rather download the tarball and install TreeCorr yourself, that is also relatively straightforward:
1. Download TreeCorr¶
You can download the latest tarball from:
https://github.com/rmjarvis/TreeCorr/releases/Or you can clone the repository using either of the following:
git clone git@github.com:rmjarvis/TreeCorr.git git clone https://github.com/rmjarvis/TreeCorr.gitwhich will start out in the current stable release branch.
Either way, cd into the TreeCorr directory.
2. Install dependencies¶
All required dependencies should be installed automatically for you by pip or conda, so you should not need to worry about these. But if you are interested, the dependencies are:
numpy
pyyaml
LSSTDESC.Coord
cffi
They can all be installed at once by running:
pip install -r requirements.txtor:
conda install -c conda-forge treecorr --only-depsThe last dependency is the only one that typically could cause any problems, since it in turn depends on a library called libffi. This is a common thing to have installed already on linux machines, so it is likely that you won’t have any trouble with it, but if you get errors about “ffi.h” not being found, then you may need to either install it yourself or update your paths to include the directory where ffi.h is found.
See https://cffi.readthedocs.io/en/latest/installation.html for more information about installing cffi, including its libffi dependency.
Note
Three additional modules are not required for basic TreeCorr operations, but are potentially useful.
fitsio is required for reading FITS catalogs or writing to FITS output files.
pandas will signficantly speed up reading from ASCII catalogs.
h5py is required for reading HDF5 catalogs.
These are all pip installable:
pip install fitsio pip install pandas pip install h5pyBut they are not installed with TreeCorr automatically.
3. Install¶
You can then install TreeCorr from the local distribution. Typically this would be the command:
pip install .If you don’t have write permission in your python distribution, you might need to use:
pip install . --userIn addition to installing the Python module
treecorr
, this will install the executablescorr2
andcorr3
in abin
folder somewhere on your system. Look for a line like:Installing corr2 script to /anaconda3/binor similar in the output to see where the scripts are installed. If the directory is not in your path, you will also get a warning message at the end letting you know which directory you should add to your path if you want to run these scripts.
4. Run Tests (optional)¶
If you want to run the unit tests, you can do the following:
pip install -r test_requirements.txt cd tests pytest
Two-point Correlations¶
This software is able to compute a variety of two-point correlations:
- NN
The normal two-point correlation function of number counts (typically galaxy counts).
- GG
Two-point shear-shear correlation function.
- KK
Nominally the two-point kappa-kappa correlation function, although any scalar quantity can be used as “kappa”. In lensing, kappa is the convergence, but this could be used for temperature, size, etc.
- NG
Cross-correlation of counts with shear. This is what is often called galaxy-galaxy lensing.
- NK
Cross-correlation of counts with kappa. Again, “kappa” here can be any scalar quantity.
- KG
Cross-correlation of convergence with shear. Like the NG calculation, but weighting the pairs by the kappa values the foreground points.
See Two-point Correlation Functions for more details.
Three-point Correlations¶
This software is not yet able to compute three-point cross-correlations, so the only avaiable three-point correlations are:
- NNN
Three-point correlation function of number counts.
- GGG
Three-point shear correlation function. We use the “natural components” called Gamma, described by Schneider & Lombardi (2003) (Astron.Astrophys. 397, 809) using the triangle centroid as the reference point.
- KKK
Three-point kappa correlation function. Again, “kappa” here can be any scalar quantity.
See Three-point Correlation Functions for more details.
Running corr2 and corr3¶
The executables corr2 and corr3 each take one required command-line argument, which is the name of a configuration file:
corr2 config_file
corr3 config_file
A sample configuration file for corr2 is provided, called sample.params. See Configuration Parameters for the complete documentation about the allowed parameters.
You can also specify parameters on the command line after the name of the configuration file. e.g.:
corr2 config_file file_name=file1.dat gg_file_name=file1.out
corr2 config_file file_name=file2.dat gg_file_name=file2.out
...
This can be useful when running the program from a script for lots of input files.
See Using configuration files for more details.
Using the Python module¶
The typical usage in python is in three stages:
Define one or more Catalogs with the input data to be correlated.
Define the correlation function that you want to perform on those data.
Run the correlation by calling
process
.Maybe write the results to a file or use them in some way.
For instance, computing a shear-shear correlation from an input file stored in a fits file would look something like the following:
>>> import treecorr
>>> cat = treecorr.Catalog('cat.fits', ra_col='RA', dec_col='DEC',
... ra_units='degrees', dec_units='degrees',
... g1_col='GAMMA1', g2_col='GAMMA2')
>>> gg = treecorr.GGCorrelation(min_sep=1., max_sep=100., bin_size=0.1,
... sep_units='arcmin')
>>> gg.process(cat)
>>> xip = gg.xip # The xi_plus correlation function
>>> xim = gg.xim # The xi_minus correlation function
>>> gg.write('gg.out') # Write results to a file
For more details, see our slightly longer Getting Started Guide.
Or for a more involved worked example, see our Jupyter notebook tutorial.
And for the complete details about all aspects of the code, see the Sphinx-generated documentation.
Reporting bugs¶
If you find a bug running the code, please report it at:
https://github.com/rmjarvis/TreeCorr/issues
Click “New Issue”, which will open up a form for you to fill in with the details of the problem you are having.
Requesting features¶
If you would like to request a new feature, do the same thing. Open a new issue and fill in the details of the feature you would like added to TreeCorr. Or if there is already an issue for your desired feature, please add to the discussion, describing your use case. The more people who say they want a feature, the more likely I am to get around to it sooner than later.


About Me
Hello! My name is Bo Stevenson and I recently graduated from the University of Minnesota Coding Bootcamp to become certified in the conception, design, programming, and implementation of web applications as a Full Stack Developer.
I was raised in New Prague, MN but currently live in Minneapolis. My hobbies are playing piano, performing "surgery" on old gaming devices, and playing video games. Technology is my passion and I love keeping up with the latest in the industry


Why I don't have a girlfriend
This goes in the documents header:

Put this where you want the chart to show up:

<canvas id="cvs" width="500" height="350" style="float: left">[No canvas support]</canvas>

This is the code that generates the chart - it should be placed AFTER the canvas tag(s):