I met Henriette at reboot in 2005, then again at LIFT in 2006, then again at reboot in 2006. She's a cool Dane doing interesting projects.
She blogs here in English and here in Danish.
She is behind Can I Crash? and Desti:nation.
This page was last modified on 7 June 2006, at 14:38.


text:
Q: multiprocessing.Pool: get notified when a task is started I use multiprocessing.Pool like so to execute a number of tasks.
def execute(task):
    # run task, return result
def on_completion(task_result):
    # process task result

async_results = [pool.apply_async(execute,
                                  args=[task],
                                  callback=on_completion)
                 for task in self.tasks]

# wait for results

My completion handler is invoked by the pool in a nice, serialized way so I don't have to worry about thread safety in its implementation.
However, I would also like to be notified when a task is started. Is there an elegant way to accomplish the following?
def on_start(arg): # Whatever arg(s) were passed to the execute function
    # Called when task starts to run

pool.apply_async(run_task,
                 args=[task],
                 start_callback=on_start,
                 completion_callback=on_completion)

redpajama_set_name: RedPajamaStackExchange


They fill the pages of our comic books and grace the screens of our most exciting films. The notion of a superhero has endeared itself to our culture in ways that have transcended generations. Part of the appeal of these grand characters is the fact that in the darkest moments and times of greatest challenge they rise up to exhibit strengths that we can only dream of having. The heroes of our imagination are characterized by capes and cowls, loud uniforms and fantastic powers. In real life, however, heroism is much more subtle. December's Survivor of the Month, Harriett Snooks, knows all about the courage it takes to preserve through terrifying peril. In 2005, she would receive a diagnosis that would change her life forever. Through her journey, Harriett would become a hero like no other and would find that her strength is not defined by x-ray vision or the ability to fly, but rather by perhaps the most important powers one can acquire: courage, hope, and enduring faith.
Over the next year, the parade of dance recitals and baseball games would be replaced by different routines of doctor visits and unpleasant treatments. "Within a month of my diagnosis, I had a bilateral mastectomy. Upon healing from my surgery, I had nine months of chemotherapy followed by a month of radiation. Little did I know that my busy, hectic schedule would remain but not for my children this time, for me." But despite the setbacks and challenges, Harriett maintained a positive attitude and endured. When dark clouds emerged on the horizon, Harriett leaned on her family and friends and summoned her faith as a compass to guide her forward.
When a person finds inside of themselves a strength that allows them to overcome adversity, it is called inspiring. When they choose to use that power to help others, it is heroic. Harriett's story is moving not simply because she was able to defeat a formidable villain in this awful disease, but because she did so with a sense of grace and dignity that she now lends to others. Like the greatest champions of print and picture, Harriett embodies the spirit of a hero not simply through her own feats of courage, but because of the way that she hopes to empower others to find their own superhero inside.


text:
3rd Team
Hockey Round Up
By admin 21/10/2013 21/10/2013 Club News
Newmarket Men's 1st XI 3 – 4 Spalding Men's 1st XI
Having felt that they dropped points over the first 4 games of the season, Newmarket hosted high flyer Spalding treating the game as a top of the table clash. With Spading having defeated fellow pace setters Norwich City the previous week they new it wouldn't be an easy task.
The job was made harder when a ball was lifted into Newnes leg (above the knee) in the D with barley seconds on the clock. Their star player despatched a penalty corner low to Chris Routs right hand post to take an early lead.
Spalding pressed very high up the pitch which left them vulnerable when Newmarket were able to break free. Newmarket won a penalty corner, where a training ground routine manoeuvred the defence left Alex Andreou free at the top of the D to rifle the ball into the far corner.
The game was now end to end, Newmarket's defence of Dave Worrall, Simon Harrington, Jordan Newnes and Will Wilson were getting stretched and the scorer of the first goal scored again after breaking a couple of tackles and firing an unstoppable reverse stick strike into the goal.
Newmarket again came back, with space on the flanks for Ollie Wade and Josh Dawson, they were able to find forwards Mike Skelton and matt Holden, the later of which made some space in the D, picked Andreou out at the top of the D, who thundered an unstoppable strike into the bottom right corner. The scores were level again.
During the next phases of possession James Wrinch and Andreou retained possession well and Newmarket looked like they might take the lead, only to be hit on the counter by that man again, who beat a couple of the defenders, the keeper and the despairing dive on the line. The whistle went for half time with Spalding 3-2 in front.
In the second half the game continued in a similar fashion, very end to end to end, Newmarket keeper Routs was the busier making 2 or 3 great saves, especially one with the helmet. Spalding scored a fourth goal at the far post with a cross that really should have been dealt with.
With around 15 minutes to go Spalding had a man sin binned (I can't remember what for) but despite winning a few penalty corners Newmarket were unable to capitalise. They did however when Spalding came back up to the full compliment of 11, Skelton finding Ed Griffiths on the base line who pulled the ball back for Wade to fire into an empty net.
Newmarket were now on the front foot and looked the more likely to score the next goal, but unfortunately the whistle beat them and Spalding had won. Newmarket faced a very strong team who providing they keep that man fit with be in the mix for the title at the end of the season, but they were made to work very hard for it by a very competitive Newmarket side.
Man of the match was Mike Skelton, for tireless work upfront, frequently disposing the defender and starting Newmarket attacks. Jordan Newnes was awarded dick of the day, for some erratic distribution.
Newmarket face Norwich Dragons away next weekend, but having given the top 2 a real game over the last few weeks, they know they should be looking to take points of everybody!
Newmarket Ladies 1's v Haverhill 2's. 4 – 0 win to Newmarket
Scorers: April Atkinson, Di Thomas, Claire McDonnell, Faye Andreou
Hungry for another win, the ladies 1st team squad travelled to Haverhill – a side they have not had to face for a few seasons. Being the first competitive league game against unknown opposition the scene was set for Town to ensure they took control from the off.
This was so and Newmarket were able to execute accurate passing to get round their opposition. Chances started to appear for Town particularly using wide players Abbi Pass and April Atkinson. Good work down the right flank from Zoe Bailey took Newmarket forward. She passed to Claire McDonnell who drove the ball to the line and pulled it back, with no hesitation April Atkinson got in front of her marker and swept the ball into goal.
Newmarket were now in full flow and could feel more goals were on the cards. After good build up play McDonnell was able to wade through the middle of the pitch. Di Thomas was in front of the keeper and managed to deflect the shot into the bottom left corner.
Not to be outdone McDonnell was next to hit the target again through her own driving efforts, taking the ball left of the keeper she reverse flicked over her foot to get Town's third.
Haverhill were still fighting and gave Newmarket heart stopping moments as they got a stream of short corners. All the direct shots were stopped cooly by Faye Andreou, Jazz Wombwell and Gail Parkins and released out to Lydia Evans and Becca Swift.
The second half was as competitive as the first with Haverhill producing strong passing from their back line out to their wingers. Equally Newmarket were comfortable using the back and round option.
As in their previous game Newmarket were lacking urgency in putting shots away in second half play something that will need to change in future games.
Haverhill again looked dangerous as they had a string of short corners but none found the target. Kerry Alderson used her pace to carry the ball upfield and forced a short corner to Newmarket. After a textbook link up with Beth Wombwell Andreou could pick her spot with ease and scored her third of the season notching Town's game tally to 4.
The ladies 1's face Cambridge Nomads next week, 2pm at home, a side who have yet to get off the league points mark.
Ladies 3s Match Report, 19 Oct'13, Huntingdon 2s, Win 2-0
Scorers: Brooke LeMaire(1), Grace Evans(1)
This was a game that saw Newmarket setting the pace. The game was mostly played in the mid-field, leaving Goalie Sue B, without too much work to do.
An early break-away saw Newmarket's forwards all in Huntingdons D, with a shot on goal from Olivia Haste, which was blocked by the keeper.
Just before half time, saw some great joined up play from Anna Cole, through to Phoebe Peacock, Hannah Kelly and onto Brooke LeMaire which she just managed to push in past the keeper, to grab Newmarket's first goal of the game, and season. It was Brooke first goal for Newmarket and is expected to be the first of many.
Newmarket started the second half feeling strong and confident after their 1st half goal. It was not too long before Harriett Briggs played a lovely through ball, picked up by Grace Evans and converted for Newmarket's second goal of the game.
Huntingdon really tried hard to take control of the game back, and the final push saw some serious attempts on their part of get a score on the board, however it was too little, too late, as Newmarket's defence held strong. The final whistle saw a delighted Newmarket hold their 2-0 score-line and with that, their first win of the season.
Man of match was awarded to Phoebe Peacock. Despite it being her first game for Newmarket as a senior, she remained calm, confident and dependable throughout the game and proved to be the team's secret weapon.
There was plenty of solid play through the midfield under the steady hands of Olivia Haste, and the backline consisting of dependable players, Anna Parker, Maddy Rule and Anna Cole is one that Huntingdon just couldn't break through.
Captain Mel Podd was delighted with the teams result, their first win of the season, and happy to take home the 3 points.
Next week sees the ladies 3s take on Ely 3s, at home at 12pm.
NHC Xmas 2013
Points For All!
Super 6s
Archives Select Month January 2022 November 2021 October 2021 September 2021 June 2021 May 2021 March 2021 January 2021 December 2020 November 2020 October 2020 August 2020 February 2020 January 2020 December 2019 November 2019 October 2019 September 2019 March 2019 December 2018 November 2018 October 2018 September 2018 July 2018 June 2018 May 2018 April 2018 March 2018 February 2018 January 2018 December 2017 November 2017 October 2017 September 2017 August 2017 July 2017 June 2017 May 2017 April 2017 March 2017 February 2017 January 2017 December 2016 November 2016 October 2016 September 2016 August 2016 June 2016 May 2016 April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 May 2015 April 2015 March 2015 February 2015 January 2015 December 2014 November 2014 October 2014 September 2014 May 2014 April 2014 March 2014 February 2014 January 2014 December 2013 November 2013 October 2013 September 2013 August 2013 July 2013 June 2013 May 2013 April 2013 March 2013 February 2013 January 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 May 2012 April 2012 March 2012 February 2012 January 2012 December 2011 November 2011 October 2011 September 2011 July 2011 June 2011 May 2011 April 2011 March 2011 February 2011 January 2011 December 2010 November 2010 October 2010 September 2010 August 2010 July 2010
© 2022 Newmarket Hockey Club. Proudly powered by Sydney

redpajama_set_name: RedPajamaCommonCrawl


text:
Home Politics & Government
U.S. Politics News
From international scandals to changes in foreign policy, the United States government and other domestics affairs have become a primary point of interest to American constituents. Recent shifts in political positions have highlighted the importance of staying up-to-date with the most recent news coverage. Accessing the most current U.S. politics news has never been more vital, as important events occurring within all branches of United States government are a serious concern to Americans and the rest of the developed world.
InHomelandSecurity.com is a top online resource for breaking U.S politics news and analysis, brought to you by American Military University. InHomelandSecurity.com is maintained by a network of field experts who cover topics dealing with terrorism research, emergency preparedness, disaster response, border security, transportation and logistics, military intelligence, law enforcement, cybersecurity, and national security.
Denver officials on Thursday said they would not hand over information requested by U.S. Customs and Immigration Enforcement on four men wanted for deportation.
Iran's supreme leader dismisses "American clowns" who he said pretend to support the Iranian nation but want to stick their "poisoned dagger" into its back.
Russia's foreign policy chief on Friday blamed what he described as "aggressive" U.S. policies for growing global tensions, noting Washington's reluctance to extend a key nuclear arms pact.
Most Americans think the present hostilities with Iran stem from the 1979 overthrow of the Shah of Iran and the United States hostage crisis that followed…if they even remember that.
The U.S. and Iraq have reportedly resumed their counterterrorism partnership against ISIS, after operations were suspended following Qassem Soleimani's killing.
January 16, 2020 William Tucker
The word assassination often evokes threats or attempts on the life of a head of state. But in the contemporary era, Russia is playing a different deadly game.
January 16, 2020 Wes O'Donnell
The Selective Service System maintains a list of eligible Americans ages 18 to 25 who would be called upon if Congress re-instituted the draft.
Former Trump administration national security adviser Michael Flynn filed court papers Tuesday to withdraw his guilty plea.
US Sending Mexican Migrants 1,000 Miles From Border
The Trump administration deport about 250 Mexicans a week on flights from Tucson, Arizona, to Guadalajara, over 1,000 miles from the border.
Pompeo Touts Tough Stance On Iran, As Trump Points To Soleimani's 'Horrible Past'
"We are re-establishing deterrence, real deterrence, against Iran," Pompeo said. "The previous administration never did enough against Iran to create deterrence."
Cybersecurity Degrees – Learn the Skills You Need from the Experts at AMU


text:
Q: Sony VAIO VGN-Z21WN BSOD Vista Business I am trying to trouble shoot an issue one of our users is experiencing with their laptop.  Essentially they get a MULTIPLE_IRP_COMPLETE_REQUESTS STOP error when resuming the system from sleep mode.  Now the obvious workaround is to disable sleep mode and then there will be no more BSOD.  The user likes the sleep mode as they travel a lot away with the laptop and are unconvinced about having this disabled long term.
Things I have tried are deleting and reinstalling Kaspersky AV as the AVP.exe from the WinDBG output below made me think it was that to blame.  ntkrpamp.exe also pointed me in this direction.  Other people on the internet have suggested idle USB drives being to blame but the user is not using these when the crash occurs.
Another point of interest was the debug log suggesting it is usually video drivers.  Brilliant, I thought, let's head over to Sony and download them.  Unfortunately there are no updated video drivers.  Perhaps NVidia has some then?  It does but they are not supported for the Sony Vaio laptops.  Start again :)
Does anyone have any potential insight in to this issue?  Or possibly someone understands WinDBG output much better than I do?
Thanks
Tim
MULTIPLE_IRP_COMPLETE_REQUESTS (44)
A driver has requested that an IRP be completed (IoCompleteRequest()), but
the packet has already been completed.  This is a tough bug to find because
the easiest case, a driver actually attempted to complete its own packet
twice, is generally not what happened.  Rather, two separate drivers each
believe that they own the packet, and each attempts to complete it.  The
first actually works, and the second fails.  Tracking down which drivers
in the system actually did this is difficult, generally because the trails
of the first driver have been covered by the second.  However, the driver
stack for the current request can be found by examining the DeviceObject
fields in each of the stack locations.
Arguments:
Arg1: 85fbf7f8, Address of the IRP
Arg2: 00001d0b
Arg3: 00000000
Arg4: 00000000

Debugging Details:
------------------

IRP_ADDRESS:  85fbf7f8

FOLLOWUP_IP:
nt!IopSynchronousServiceTail+221
82e467a9 8a4d13          mov     cl,byte ptr [ebp+13h]

CUSTOMER_CRASH_COUNT:  1

DEFAULT_BUCKET_ID:  VISTA_DRIVER_FAULT

BUGCHECK_STR:  0x44

PROCESS_NAME:  avp.exe

CURRENT_IRQL:  1

LAST_CONTROL_TRANSFER:  from 82cb2631 to 82ccdb8d

STACK_TEXT:
b3959c08 82cb2631 00000044 85fbf7f8 00001d0b nt!KeBugCheckEx+0x1e
b3959c30 82cb3407 85fbf7f8 2cb6068c 85fba0d0 nt!IopFreeIrp+0x22
b3959c78 82e467a9 85fbf838 b3959ca4 b3959ca8 nt!IopCompleteRequest+0x1bc
b3959cac 82e0b000 00000000 85fba0d0 00000001 nt!IopSynchronousServiceTail+0x221
b3959d38 82c4ac7a b5c51358 85fbf7f8 00000000 nt!NtReadFile+0x646
b3959d38 777d5e74 b5c51358 85fbf7f8 00000000 nt!KiFastCallEntry+0x12a
WARNING: Frame IP not in any known module. Following frames may be wrong.
0865f7ac 00000000 00000000 00000000 00000000 0x777d5e74

STACK_COMMAND:  kb

SYMBOL_STACK_INDEX:  3

SYMBOL_NAME:  nt!IopSynchronousServiceTail+221

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: nt

IMAGE_NAME:  ntkrpamp.exe

DEBUG_FLR_IMAGE_TIMESTAMP:  4b7d1e08

FAILURE_BUCKET_ID:  0x44_nt!IopSynchronousServiceTail+221

BUCKET_ID:  0x44_nt!IopSynchronousServiceTail+221

Followup: MachineOwner
---------

EDIT: In fact looking at the graphics card in more depth I am a touch confused.  Sony say it is an NVidia 9300 GS while Device Manager states it is manufactured by NVidia but is Mobile Intel(R) 4 Series Express Chipset Family.  Feel like I am losing my marbles.  According to this site it may be that I have both graphics cards for power saving functionality.  Could anyone that knows more than me about this possibly clarify it?

A: The notebook is question has hybrid graphics: It has both a 9300GS and an Intel Series 4. There is a little switch to change graphic cards on the top left corner of the laptop. See if the sleep problem occurs in both modes (Stamina or Speed). If it does, I would say your drivers are ok, the problem is somewhere else.
I recommend a BIOS update (if you haven't already done that), and a newer set of drivers (if you it doesn't show any new ones, just try searching for all notebooks from the same series in esupport from Sony, they all should work).
If you pinpoint the graphic card driver as the culprit of your problem, and even the Sony drivers don't work, try finding a "modded driver set" on the NotebookReview forums, or at laptopvideo2go.
HTH

A: I recommend you to uninstall Kaspersky AV, and install/temporarily use Microsoft Security Essentials. Then test the machine for a while to see if the error occurs again. This way you can make sure if the problem is related to Kaspersky or not.


To Remember, a documentary film co-directed by Military.com alum Glen Osten Anderson and co-produced by current reporter and editor Amy Bushatz, chronicles the personal journeys of men and women whose family members were killed in action in 2009. The complete film is streaming online until September 19th and Amy has written the following piece about her experiences making the film. Check out the film and Amy's thoughts below.
The moment in 2009 I learned four more soldiers from our battalion had been killed downrange – bringing the count to six in the mere first 20 days of deployment – is burned into my brain. Lying in a dentist's chair, my blackberry buzzed with a new email in my lap. The dentist turned his back, I looked at the screen. And even though I was in the middle of getting three fillings I sat upright and cried.
Six months and 16 more KIAs in our battalion later, Lisa Hallet, one of the Army wives made a widow that August day, gathered seven other battalion wives around her and went for a run to remember the fallen and move through her grief. Wear Blue: Run to Remember (WBR2R), and, by extension, the documentary film To Remember was born. And it's now available online through BBC World until Sept. 19.
Lisa's story moves people to action. As a reporter and editor for Military.com, writing is what I know how to do. So I wrote about WBR2R for the magazine Runners World. And when my then-Military.com colleague Glenn Osten Anderson read the story he knew what – tell the story in film.
Over the three years Glenn and his co-director Ian Connors spent making To Remember, Lisa grew and worked through her grief – and the WBR2R moved forward with her. The group now has thousands of members wearing blue and remembering the fallen worldwide. As one of the film's co-producers I assisted with fact checking and story development. Although we had since moved with the military and I was not able to be a part of the actual filming, I am proud to have connected Glenn and Ian with this story.
To Remember is a powerful look into the depth of military loss and how one woman pulled herself and others out of it through literally moving forward one step at a time.


As I write this letter, the federal income tax rates for this year are still the same as last year: 10%, 15%, 25%, 28%, 33%, 35%, and 39.6%. The rate bracket beginning and ending points are increased slightly to account for inflation. The maximum 39.6% bracket affects singles with 2017 taxable income above $418,400, married joint-filing couples with income above $470,700, heads of households with income above $444,550, and married individuals who file separate returns with income above $233,350.
Higher-income individuals may also be hit by the 0.9% additional Medicare tax on wages and self-employment income and the 3.8% Net Investment Income Tax (NIIT), which can both result in a higher-than-advertised marginal federal income tax rate. Finally, you must consider whether you are exposed to Alternative Minimum Tax (AMT). If so, tax planning moves that work for most folks may not work for you.
That's what we know right now. What we don't know is whether federal income tax rates will be changed by legislation enacted later this year and whether any rate changes that are enacted would actually take effect this year. President Trump and Republican House members have advanced proposals that would reduce the maximum rate on individuals to perhaps 33% or 35% and reduce the rate on business income to perhaps 15% or 20%. In addition, President Trump has proposed repealing the AMT and the federal estate tax. If the Affordable Care Act (Obamacare) is repealed, the 0.9% additional Medicare tax and the 3.8% NIIT could go down with it. Will any of this happen? Stay tuned.
Even with this uncertainty, there are some tax planning moves that should work regardless of what happens, if anything. There are other moves that you should be prepared to consider if tax changes are enacted. This letter gives you some tax planning ideas to evaluate this summer while you have time to think. Some of the ideas may apply to you, some to family members, and others to your business.
Under the current rules, the federal income tax rate on long-term capital gains and qualified dividends recognized by individual taxpayers is still 0% when those gains and dividends fall within the 10% or 15% tax rate brackets. This will be the case to the extent your taxable income (including long-term capital gains and qualified dividends) does not exceed $75,900 if you're married and file jointly ($37,950 if you're single). If President Trump's tax plan is enacted, most individuals who are eligible for the 0% rate under the current rules would remain eligible under the proposed new rules. So, strategies to take advantage of the 0% rate should work regardless of what happens.
While your income may be too high to benefit from the 0% rate, you may have children, grandchildren, or other loved ones who will be in the bottom two brackets. If so, consider giving them some appreciated stock or mutual fund shares which they can then sell and pay 0% tax on the resulting long-term gains. Gains will be long-term as long as your ownership period plus the gift recipient's ownership period (before he or she sells) equals at least a year and a day.
Giving away stocks that pay dividends is another tax-smart idea. As long as the dividends fall within the gift recipient's 10% or 15% rate bracket, they will be federal-income-tax-free.
Watch out though, if you give away assets worth over $14,000 during 2017 to an individual gift recipient, it will generally reduce your $5.49 million unified federal gift and estate tax exemption. However, you and your spouse can together give away up to $28,000 without reducing your respective exemptions. Also, if you give securities to someone who is under age 24, the Kiddie Tax rules could potentially cause some of the resulting capital gains and dividends to be taxed at the parent's higher rates instead of at the gift recipient's lower rates. That would defeat the purpose. Please contact us if you have questions.
Under the current rules, the 2017 federal income tax rates on long-term capital gains are the same as last year: 0%, 15%, and 20% for most categories of long-term gain. The maximum 20% rate affects singles with 2017 taxable income (including long-term gains) above $418,400, married joint-filing couples with income above $470,700, heads of households with income above $444,550, and married individuals who file separate returns with income above $235,350. Higher-income individuals may also be hit by the 3.8% NIIT, which can result in an effective marginal federal rate of up to 23.8% (20% + 3.8%) on long-term gains. Under the Trump tax plan the three rates on long-term gains would remain in place, but the 20% maximum rate would kick in at lower income levels. So, the same strategies for timing capital gains and losses should work regardless of what happens.
As you evaluate investments held in your taxable brokerage firm accounts, consider the tax impact of selling appreciated securities (currently worth more than you paid for them) before the end of this year. For most taxpayers, the federal income tax rate on long-term capital gains is still much lower than the rate on short-term gains. Therefore, it often makes sense to hold appreciated securities for at least a year and a day before selling in order to qualify for the lower long-term gain tax rate.
Biting the bullet and selling some loser securities (currently worth less than you paid for them) before year-end can also be a tax-smart idea. The resulting capital losses will offset capital gains from other sales this year, including high-taxed short-term gains from securities owned for one year or less. Under the current rules, the maximum rate on short-term gains is 39.6%, and the 3.8% NIIT may apply too—which can result in an effective marginal rate on short-term gains of up to 43.4% (39.6% + 3.8%). Future tax legislation could lower the maximum rate on short-term gains, but it will still be significantly higher than the rate on long-term gains. Whatever happens, you won't have to worry about paying a high rate on short-term gains that can be sheltered with capital losses because you will pay 0% on those gains.
If capital losses for this year exceed capital gains, you will have a net capital loss for 2017. You can use that net capital loss to shelter up to $3,000 of this year's higher-taxed ordinary income from salaries, bonuses, self-employment, and so forth ($1,500 if you're married and file separately). Any excess net capital loss is carried forward to next year.
Selling enough loser securities to create a bigger net capital loss that exceeds what you can use this year might also make sense. You can carry forward the excess capital loss to 2018 and beyond and use it to shelter both higher-taxed short-term gains and long-term gains recognized in those years.
You may want to make gifts to favorite relatives and/or charities in conjunction with an overall revamping of your holdings of stocks and equity mutual fund shares held in taxable brokerage firm accounts. To get the best tax results from your generosity, do not give away shares that are currently worth less than you paid for them. Instead, sell the shares, and take advantage of the resulting tax-saving capital losses. Then, give the cash sales proceeds to the relative or charity.
On the other hand, do give away shares that are currently worth more than you paid for them. Because the charitable organization is tax-exempt, it can sell your donated shares without owing anything to the IRS. Most likely, your relative will pay lower tax rates than you would pay if you sold the shares. In fact, relatives who are in the 10% or 15% federal income tax brackets will generally pay a 0% federal tax rate on long-term gains from shares that were held for over a year before being sold. For purposes of meeting the more-than-one-year rule for gifted shares, count your ownership period plus the recipient relative's ownership period, however brief. Even if the shares are held for one year or less before being sold, your relative will probably pay a lower tax rate than you (typically only 10% or 15%). However, gains recognized by a relative under age 24 may be taxed at his or her parent's higher rates under the so-called Kiddie Tax rules (contact us if you are concerned about this issue).
It might also pay to defer some taxable income from this year into next year if you expect to be in the same or lower tax bracket in 2018. That would be more likely if tax rate reductions are enacted this year, but don't take effect until next year. For example, if you're in business for yourself and a cash-method taxpayer, you can postpone taxable income by waiting until late in the year to send out some client invoices. That way, you won't receive payment for them until early 2018. You can also postpone taxable income by accelerating some deductible business expenditures into this year. Both moves will defer taxable income from this year until next year. Deferring income may also be helpful if you're affected by unfavorable phase-out rules that reduce or eliminate various tax breaks (child tax credit, higher education tax credits, and so on).
Home prices are on the upswing in many areas. More good news: gains of up to $250,000 ($500,000 for qualifying married filing jointly) on the sale of a principal residence are completely federal-income-tax-free. To qualify for the gain exclusion break, you normally must have owned and used the home as your principal residence for a total of at least two years during the five-year period ending on the sale date. You'll definitely want to take these rules into consideration if you're planning on selling your home in today's improving real estate environment.
Legislation enacted a few years ago slightly reduced the odds that you'll owe the AMT. While it's possible that tax legislation enacted later this year will eliminate the AMT, believe it when you see it. For now, it's still critical to evaluate tax planning strategies in light of the AMT rules before actually making any moves. Because the AMT rules are complicated, you may want some assistance. We stand ready to help. And if the AMT is repealed for this year, we stand ready to join you in cheering that development.
Consider Selling Rather Than Trading in Business Vehicles. Although a vehicle's value typically drops fairly rapidly, the tax rules limit the amount of annual depreciation that can be claimed on most cars and light trucks. So when it's time to replace a vehicle used in your business, it's not unusual for its tax basis to be higher than its value. If you trade the vehicle in on a new one, the undepreciated basis of the old vehicle simply tacks onto the basis of the new one (even though this extra basis generally doesn't generate any additional current depreciation because of the annual depreciation limits). However, if you sell the old vehicle rather than trading it in, any excess of basis over the vehicle's value can be claimed as a deductible loss to the extent of your business use of the vehicle.
Set up Tax-favored Retirement Plan. If your business doesn't already have a retirement plan, now might be the time to take the plunge. Current retirement plan rules allow for significant deductible contributions. Even if your business is only part-time or something you do on the side, contributing to a SEP-IRA or SIMPLE-IRA can enable you to reduce your current tax load while increasing your retirement savings. With a SEP-IRA, you generally can contribute up to 20% of your self-employment earnings, with a maximum contribution of $54,000 for 2017. A SIMPLE-IRA, on the other hand, allows you to set aside up to $12,500 for 2017 plus an employer match that could potentially be the same amount. In addition, if you will be age 50 or older as of year-end, you can contribute an additional $3,000 to a SIMPLE-IRA.
Employ Your Kid. If you are self-employed, you might want to consider employing your child to work in the business. Doing so has tax benefits in that it shifts income (which is not subject to the Kiddie tax) from you to your child, who normally is in a lower tax bracket or may avoid tax entirely due to your child's standard deduction. There can also be payroll tax savings since wages paid by sole proprietors to their children age 17 and younger are exempt from Social Security, Medicare, and federal unemployment taxes. Employing your children has the added benefit of providing them with earned income, which enables them to contribute to an IRA. Children with IRAs, particularly Roth IRAs, have a great start on retirement savings since the compounded growth of the funds can be significant. Remember a couple of things when employing your child. First, the wages paid must be reasonable given the child's age and work skills. Second, if the child is in college or entering soon, too much earned income can have a detrimental impact on the student's need-based financial aid eligibility.
Take Advantage of the Big 179 Deduction. Your business may be able to take advantage of very generous Section 179 deduction rules. Under the Section 179 deduction privilege, an eligible business can often claim first-year depreciation write-offs for the entire cost of new and used equipment and software additions and eligible real property costs. For tax years beginning in 2017, the maximum Section 179 deduction is $510,000. While it's possible that Congress will curtail this break in conjunction with lowering tax rates, the favorable 178 deduction will probably stay in effect for this year.
Note: Watch out if your business is already expected to have a tax loss for the year (or close) before considering any Section 179 deduction as you cannot claim a Section 179 write-off that would create or increase an overall business tax loss. Please contact us if you think this might be an issue for your operation.
First-Year Bonus Depreciation. Above and beyond the Section 179 deduction, your business can also claim first-year bonus depreciation equal to 50% of the cost of most new (not used) equipment and software placed in service by 12/31/17. Note that 50% bonus depreciation deductions can create or increase a net operating loss (NOL) for your business's 2017 tax year. You can then carry back the NOL to 2015 and 2016 and collect a refund of taxes paid in one or both those years. Please contact us for details on the interaction between asset additions and NOLs.
Currently, the unified federal gift and estate tax exemption for 2017 is a historically generous $5.49 million, and the federal estate tax rate is a historically reasonable 40%. While President Trump has proposed a repeal of the federal estate tax, we will believe it when we see it. In any case, your estate plan may need updating to reflect the current estate and gift tax rules, whatever they turn out to be. Also, you may need to make some changes for reasons that have nothing to do with taxes. Contact us if you think you could use an estate planning tune-up.
As we said at the beginning, this Tax Tidbit you definitely need to get started thinking about tax planning moves for the rest of this year. Even with uncertainty about this year's tax rates and rules, there are things you can do to improve your situation. Please don't hesitate to contact us if you want more details or would like to schedule a tax planning strategy session.


All of our open edition work can be produced on different formats. We offer traditional glass frames, pure cotton canvas, aluminium di-bond and perspex prints. ALL options are made with archival, museum grade media for your assurance of performance. Get in touch for more details. Our traditional prints, aluminium di-bond and perspex work is colour and light fast for up to 200 years. Our archival cotton canvas prints are beautifully constructed with pure hardwood stretchers and are colourfast in excess of 85 years.


The Library of Michigan Check their 'Answer' Catalog.
The Library Network has addresses of member libraries and links to member libraries with web pages.
The Windsor Public Library is a good place to start your Canadian genealogy research. You can take the tunnel or bridge from Detroit to get to Windsor.
The Toledo-Lucas County Library is a starting point for genealgy research in Northwestern Ohio.
The Allen County Public Library in Fort Wayne, Indiana is one of the best genealogy research libraries in the country.
The Library and Archives of Canada A great resource if researching in Canada.
The Archives of Ontario A great resource if researching in Ontario.


Onkar International is an INDIA based Manufacturers, Suppliers, Distributors, Importers and Exporters of Strut Channel Support Systems, HVAC Parts, Channel Strut Systems. Our Product range includes Spring Channel Nuts, Channel Brackets, Strut Channels, Cantilever Arms, Pipe Clamps, Channel Cable Clamps, Purlin Clamps, Beam Clamps, U Bolts, Hex Bolts, Washers etc. Our main motto is to worldwide supply quality and safe products.


Today I almost had my head caved in.
I love playing golf but it is not without risks. An errant golf ball can come from nowhere and inflict painful and even life threatening injuries. So it was that I was enjoying a twilight round at my local golf course the other day when a golf ball bounced on the path in front of me and sailed past my face. It was so sudden I didn't even have time to be shocked.
When I saw the owner of the missile that almost terminated me I, politely, told him how close the ball had come to me and suggested that he might have invoked the golfing etiquette of warning me his errant tee shot was sailing in my direction. He asked, "Did the ball hit you?". "No", I replied. "Then I guess it's your F*#@%ing lucky day then", he barked back before marching on.
It was impossible to not feel outrage at his behaviour. In the golfing world we apologise when our poor stroke play endangers others. Its called etiquette and it makes for safer play.
We have all been in this situation. A driver cuts in on us, almost causing an accident, and our warning blast of the horn is met with 'the bird'. We all have the associate at work who screws up and places the blame on others. And bureaucracy! Don't get me started!
I was recently at a party where I was discussing politics with a fellow guest when a drunken eavesdropper on our conversation took umbrage at what I was saying and started abusing me. The torrent of abuse could not be subdued by polite requests so I left.
Today I was reflecting on how hard it is to let go of the sense of injustice that these incidents evoke. When we are confronted by boorish, rude, aggressive behaviour we want to have the power to force the offender to see the error of their ways. In OUR perfect world they will apologise and rejoin the ranks of civilised society.
That led me to consider how that might happen. How could we regain the power over these troglodites? Wouldn't it be great to be able to confront them, make them see the error of their ways and rejoice in their inevitable apology? Then the warning bell sounds. They might not see the wisdom of my, albeit calm, admonishment of their behaviour. They might get violent! So I, sensibly, withdraw.
But, are you like me? Do you every now and again fall into the fantasy where, in best Dirty Harry style, you can reduce the villain to a snivelling mess because you have a .44 Magnum to intimidate him into submission?
If only I had a gun! No one cuts in on me in on the motorway or drops a golf ball on my head without apologising goddammit!!!!!
This is, of course, just a function of the natural desire to regain power and right perceived wrongs. But it is a wholly unhealthy attitude that fuels so much violence and gun crime around the world, particularly in countries with poor controls on deadly weapons.
The examples I have cited in terms of bad golf or driving behaviour are incredibly trivial. The depth and breadth of injustice in this world is so immense that my minor social altercations are meaningless.
And yet, I can seemingly allow my frustration and anger about these minor matters to be felt more deeply than my outrage at tyrants who inflict terror upon tens of thousands of innocent people every day?
That is the nature of the human condition. We feel most powerfully about things that affect us directly. I've read 'Don't Sweat the Small Stuff' and I know it is all small stuff so why do I hang onto trivial angst?
So it occurred to me that maybe I get angry and resentful about trivial incidents because it is easier doing that than confront what really makes me angry and disappointed. Refugee children losing their sanity and childhood while languishing in immigration detention for years on end. Discrimination, exploitation, poverty, wars fought for economic gain under the guise of social reform. There is so much WRONG in the world it is overwhelming. So I retreat into the 'safe' world of bemoaning the behaviour of A-holes on the golf course or highways.
What I learnt today is, I can deal with my outrage about injustices inflicted on me by being MORE outraged about the injustices that AREN'T inflicted on me. My challenge is to focus my outrage on the stuff that really matters in whatever 'little' way I can and let the A-holes disappear up the own proverbials.
Thanks for absorbing my rant. Your comments on the above are welcomed.
P.S Golf is a serious game but fun should still be had – there's a bit of Happy Gilmour in all of us!


The Avengers Super Heroes Half Marathon Weekend was held at Disneyland November 14-16. This is a new runDisney event, which of course means it has the "I" word, Inaugural, associated with it. 🙂 All events sold out very quickly, but Lee and I were able to register for the half marathon.
This was the third event in what has been a very busy week for us. We ran the Wine and Dine Half Marathon last Saturday night (you can read more about that HERE), then went on a four-night Disney cruise. We flew back to San Diego on Friday, went home, repacked our bags, and drove to Disneyland that night. It was a long day, but it was nice to have all day on Saturday at Disneyland, rather than driving on Saturday and not being able to check into our hotel until the afternoon.
The events for the weekend included the Health and Fitness Expo on Friday and Saturday, the Super Heroes 5K and Kids Races on Saturday, and the Half Marathon on Sunday. We didn't arrive in time to go to the Expo on Friday night (which was one reason we chose not to register for the 5K), so we went on Saturday, around 11:30. We intentionally did not go at opening, since we'd heard what the crowds were like the day before in the merchandise area. At least this time they had a system, with a queue and cast members controlling access to the area (unlike for the Inaugural Dumbo Double Dare in 2013), but still, the lines were long on Friday morning. And, unfortunately, some of the merchandise sold out on Friday morning. I don't know why Disney seems to have so much trouble ordering sufficient merchandise. But it's pretty disappointing to be a registered participant in the race, and not have a chance to purchase items. There's no reason for shirts to be limited editions. I really wish runDisney would allow registered runners to pre-order merchandise other than pins. But that's another topic.
Anyway…The Expo was held at the Disneyland Hotel's Convention Center, like all of the other Disneyland race expos. Packet pickup was a breeze – we had printed our waivers in advance (which is highly recommended – saves a lot of time), and I walked right up to the counter to pick up my number – no line at all!
As they did for Wine and Dine, there were photographers in the packet pickup area to photograph those who were going for their Coast-to-Coast medal. This didn't affect us this time but it still was not clear at all that this was something that Coast-to-Coast participants needed to do. The volunteers who give out the Coast-to-Coast wristbands need to be given better directions on this. It was in the race program – but who reads the race program in advance on-line, much less takes the time to read the printed version at the Expo?
They had some fun banners posted outside the hall.
The shirt pickup was upstairs in the Expo area – that was also a very fast process. I like the shirt fabric. It's the same softer, lighter weight fabric they have been using for other race shirts this year. The design is also nice, and I'm still very happy with the women's cut. Though these are long-sleeve shirts and the sleeves are too long.
The Expo seemed pretty small to me – not that many vendors, which meant that it felt less crowded and easier to get around. Though it wasn't really that busy when we were there. The vendors that I expected were there, and I couldn't tell you who was "missing".
There were no lines at the merchandise area when we got there – I think that really the only busy time was Friday morning. As I mentioned before, some of the merchandise was already sold out, but there was still a pretty good selection remaining, including the "I Did It" shirts, though it looked like they were running low on some of the sizes. There was a unisex version and a women's version. They were cotton this time and not tech shirts. That has received some mixed responses. I personally like the cotton shirts, but others prefer the tech shirts.
We spent the rest of the day visiting with friends who were also running the half marathon and getting a first look at all of the holiday decorations in the parks. And as usual we ended our day with our traditional pre-race favorite meal: four cheese ravioli from Boardwalk Pizza & Pasta.
One advantage to our travel schedule is that we were on east coast time. So getting up for a race that starts at 5:30 Pacific time isn't that bad when your body thinks it's 8:30. 🙂 We went to bed at 8:45 on Saturday night and set a wakeup call for 3:45 a.m. That's pretty close to a full night's sleep! And I know I've said it before but I LOVE the races at Disneyland because we can walk to the start line instead of taking a bus, so there's no reason to get there insanely early.
No rain in the forecast for this race (for which we were very grateful, after last weekend's rainy Wine and Dine run), and in fact the conditions looked really good, with temperatures of 55-64 predicted for the race itself. We arrived at the pre-race area about 4:40. This was a relatively small race, with only about 12,000 registered. (There were 10,449 official finishers.) The pre-race area was not crowded at all, and there weren't even any lines for the porta-potties!
Lee and I had both dressed in costume. He put together a really nice Hawkeye costume, and even carried a bow for the entire race. There weren't very many Hawkeyes in the race, so he got lots of compliments! I did a "Princess Captain America Winter Soldier" look – but there were hundreds of Captain Americas. 🙂 Lots of Thors, Hulks, and Iron Men, also, not so many Black Widows. Also lots of Supermen, Wonder Women, Batmen and Robins, and Spidermen. I did not see very many runners dressed as traditional Disney characters in this race.
The race started on time – we even had some fireworks at the start, which is unusual for a race at Disneyland. Lee and I were running with our friend Eddie – both Eddie and Lee were in higher corrals, but they came back to Corral D to run with me. As in the Disneyland half marathon, they sent A and B together, then C and D together, then E and F. Those were the smaller corrals. The larger corrals went off individually. As usual, the runners were pretty bunched together at the start, but we started to spread out after about 3/4 of a mile.
The Avengers Half Marathon is a new course. When I first looked at it I was surprised (and disappointed) to see that we would be out of the parks and off Disney property before we even reached mile 3. By way of comparison, the Disneyland half leaves Disney property just before mile 4, and for the Tinker Bell half it's almost mile 6! Upon leaving the parks the Disneyland half heads basically east, Tinker Bell heads north, and this course went south, then east. About mile 6.5 it turns north again on the Santa Ana River Trail for a couple of miles, exiting at Angel Stadium. From there on it's very similar to the Disneyland half, though it takes a loop around some of the off-site hotels near the park to add a little more distance. The last 1.1 miles of the race is identical to the Disneyland half, and it finishes in the traditional place near the Disneyland hotel.
The first park was DCA, and we entered near "a bug's land" and then ran by Luigi's Flying Tires, and turned right to run through Radiator Springs, then left towards Paradise Pier. Lightning McQueen and D.J. were in Radiator Springs. The photo op for Thor was positioned in front of Blue Sky Cellar, and had a very long line. We did not do the traditional loop around Paradise Bay, which really shortened our time in DCA. But even so I was surprised that the World of Color fountains weren't running, nor was the Fun Wheel lit.
We turned right at the Little Mermaid and ran by Redwood Creek, where I saw Dug and Russell. Then we passed Grizzly River Run, and turned left just before Soarin'. Hawkeye was there, and had a relatively short line. Since Lee was dressed as Hawkeye we had to stop. Though the line seemed relatively short, it still took over 5 minutes.
We ran out of DCA and entered the backstage area of Disneyland near the Indiana Jones attraction, then ran into Disneyland itself by Splash Mountain. There were a number of S.H.I.E.L.D. agents (dressed in dark suits) cheering us on. The course took us along the Rivers of America past the Haunted Mansion and Pirates. We saw Black Widow in front of The Golden Horseshoe, but that was the longest line we'd seen and we didn't stop.
We ran past Big Thunder Mountain and the mile 2 sign, and into Fantasyland.
Snow White and the Seven Dwarfs were on the Carrousel, though they were far enough away that it was hard to pose with them.
We ran through the castle, which is all covered in its seasonal icicle lights and snow. I do have to say that one very special thing about this race was getting the opportunity to run through the parks when they were decorated for the holidays, though we weren't able to take full advantage of that since we never ran by "it's a small world".
As we ran down Main Street Mickey and Minnie were near the Plaza Inn. Surprisingly they were not dressed in any kind of special costume! I expected some kind of superhero outfit, or at least their runner outfits. Very disappointing. Captain America was near Town Square, and had a huge line – nope, not stopping for that.
From there it was under the train station and out of the park, into the Esplanade, and then left through the shuttle bus/tram area, and out to Harbor Blvd. Done with the parks and we were less than 3 miles into the race. Bummer.
Once we started south on Harbor, we really started to notice the wind. The Santa Ana winds had kicked up, and though at that point it was coming from our left, we could still really feel it. After we ran south on Harbor for about a mile we turned left on Chapman Avenue, and right into the wind. It was blowing leaves and dirt around, especially when the wind gusted, and the going was much more difficult when we were running into the wind. After not quite a mile we turned south into the Christ Cathedral complex (I remember it as the Crystal Cathedral), and that was a huge relief, since we were no longer heading straight into the wind.
The wind really took its toll on the mile markers – starting at mile 3, almost none of them were intact for the rest of the race. Several had blown over completely, and others had just the framework left. Wow.
The wind was also a big issue for the volunteers at the water stops, since it was strong enough to blow the tables over! At some locations the tables had been taken down and volunteers were simply pouring water into the cups and handing them out as fast as they could. So it was a difficult day for the volunteers, also.
At about mild 6.5 we went down onto the Santa Ana River Trail. There was a really great mural on the wall!
But it was very windy down there, with lots of dust, even though the trail is paved. We even saw a big tumbleweed that was getting blown along. Eddie and I had given Lee a bad time about wearing his sunglasses because it was dark when we started, but we were wishing we had glasses to help keep the dust out of our eyes.
As part of the on-course entertainment Disney had put a call out for volunteers including Costumers (the more authentic, the better), military vehicles and re-enactors to go with them, and veterans.
The Costumers were placed along the Trail. I thought this was a little bit of an odd choice because it was somewhat narrow, but for morale purposes it was a wonderful location for them. They were really terrific – for one thing they looked amazing! So many different and really well-crafted costumes!
And they were also very enthusiastic, offering plenty of cheers and smiles and high-fives and encouragement. We were really happy to see them, and they made us forget the dust and the wind for a little while.
At about mile 8 we exited the trail and went into the parking lot at Angel Stadium, and then into the stadium itself.
No boy and girl scouts this time, but there were a couple of bands and flag teams, and some other groups in the stands to cheer for us.
After we left the stadium we ran by the other group of volunteers – those with military vehicles, period uniforms, and veterans in uniform. This was another wonderful group of people, and we also appreciated their support so much!
From that point on we were mostly running with the wind at our backs, and that helped, though the gusts were strong enough that I felt like I was going to get blown off my feet several times. Very odd feeling.
My time was 2:42:27. I was kind of surprised it wasn't better, because we didn't stop for that many photos. But the wind made for a very challenging and tiring run – it was a pretty tough day. That said, I'll still take the wind over the rain we had for the Wine and Dine Half Marathon.
The medal is very nice – it's a spinner.
As usual we received the typical runDisney MRE box at the end. Someone (hello, Lori!) asked me recently why I object so much to the boxes. I couldn't put it into words at the time, but in thinking about it I realized that it's largely because here I've been out doing something healthy, running a race, and at the end I get a box that's filled with a bunch of processed food. That just doesn't seem right – it's almost insulting. Disney could do so much better, and in fact other races, that don't charge nearly so much money, do a whole lot better when it comes to post-race refreshments.
The windy conditions continued to affect things even in the finish area. The photo backdrops used by the official race photographers were missing, and most of the tents in the finish area had to be taken down. The awards ceremony was canceled, and runners were encouraged to leave the area fairly quickly. We didn't really have any reason to linger, so we headed back to our hotel.
But they do control the park time, and I'm definitely not a fan of the very limited park time. That aspect of the course was very disappointing. But even so, there were a lot of things that I liked about this course. It was nice to see some different parts of Orange County. In the Disneyland half, I don't really like the tour of the Anaheim industrial park, so I found this course to be an improvement since it gave us a look at some business and residential areas instead. If it weren't for the lack of park time I would choose the Avengers course over the Disneyland course, but the Tinker Bell course is still my overall favorite.
The other area where I see a lot of room for improvement in future Avengers races is the characters. The lines for the characters were so long – you pretty much had to choose which one character you were going to stand in line for. I can't think of any really good way to deal with that, but one thing that I would've loved to have seen was some of the Disney characters in Avengers costumes. They do that with the Star Wars characters – why couldn't they do it with Marvel characters? Or why not bring out the Disney super heroes, like The Incredibles and Frozone? And Rapunzel, Mulan, and Merida are pretty bada$$ princesses.
Other than merchandise, I didn't really experience any issues that I associate with this being an inaugural race. Disneyland has done this before, and they have learned from previous race experiences and made improvements over the years (well, other than the runDisney MREs…).
The volunteers were terrific, and I'm sure it was a more difficult day for them than it would usually be. I really enjoyed the Costumers and the vehicles and all of those in uniform – thank you to all of you for coming out to support us, and a special thank you to the veterans for your service to our country!
We will probably run this race again next year and hope for more typical November conditions. It really is a great time of year for a race weekend, given our usual weather at this time of year.
Thanks for reading, and thank you to all of you who have taken the time to tell me how much you enjoy my running blogs – that means a lot to me. I'm especially humbled by those who have told me that my blogs have inspired them to go out and participate in a Disney race! Good for you, and congratulations on your achievements.
Did you get a sneak peak of the 2015 RunDisney sneakers. I hear they were going to have them at the expo? Any pics to share?
Thanks for another great blog. I appreciate the additional information on snacks and the shout out. Some fresh fruit – oranges or berries – would be nice after running. Congratulations to you & Lee on completing another half marathon. You have inspired me to keep running.
Did you see/hear anything about "Ironman" not being able to be mentioned? I had seen in some other blogs, mostly triathlon related that the announcer had said things like "There goes the character I am not allowed to mention…" I guess Disney is afraid of the World Triathlon Corp about using Ironman in an event capacity.


text:
Q: How can i save current context to local variable in Javasccript i try to save current context to local/global variable and use this in event "showModal". When i am handling event, i get $this as this of window object. And i need take context and call function. Can anybody help me?
Code:
var Modal = (function() {

    $this = this;
    var el = '.modal';

    return {
        init: function() {
            $(window).on('showModal', function(e, data) {
                $this.getData(data.controller, data.action, data.id);
            });
        },
        getData: function(controller, action, id) {
            var html = $.ajax({
                url: '/' + controller + '/' + action + '/' + id ? id : '',
                async: false
            }).responseText;
            this.render(html);
        },
        render: function(html) {
            $(el).html(html);
            $(el).modal();

            this.event();
        },
        event: function() {

        }
    };
})();

A: I would not use this, simply drop the functions inside the scope, and export them at the end:
var Modal = (function() {

  var el = '.modal';

  function init() {
    $(window).on('showModal', function(e, data) {
      getData(data.controller, data.action, data.id);
    });
  }

  function getData(controller, action, id) {
    var html = $.ajax({
      url: '/' + controller + '/' + action + '/' + id ? id : '',
      async: false
    }).responseText;
    render(html);
  }

  function render(html) {
    $(el).html(html);
    $(el).modal();
    event();
  }

  function event() {

  }

  return {init:init, getData:getData, render:render, event:event}
})();

Or better yet, make a jQuery plugin.


Future's hit record, "Mask Off," has been sweeping the internet, as well as creeping its way up the charts, and now fans are finally getting the visual treatment they've been waiting for. The rapper releases the video for the track, which comes along as his viral #MaskOffChallenge is taking off on social media.
In the new set of visuals, directed by Colin Tilley, Future tells the tale of the streets, displaying store robberies, explosions and residents getting ready for battle. The Atlanta native can be seen riding through the streets in his luxury whip, seeing all of the madness go down around him. He isn't alone in the car, however, as the hitmaker recruits Amber Rose to be his leading lady in the passenger seat.
Muva Rosebud can be seen sitting pretty next to the rhymer, kissing on his face while he raps to the camera. At the end of the video, Amber and Future face each other in a lit-up venue, taking off their masks to reveal their true identities. Of course, a set of Hendrix visuals wouldn't be complete without a cameo from DJ Esco, who can be seen standing in the streets.
Future's "Mask Off" is the rapper's highest-charting single to date, and is currently sitting at No. 5 on the Billboard Hot 100 chart. Last month, the song was officially certified platinum by the RIAA, and is on its way to becoming one of the top contenders for song of the summer.
Watch the video for "Mask Off" below to see Future's street tale.


Pronounced ryan melitta caffeo service manual externalizing, his expert contribution. incompatible and electrolux ewt 905 service manual well united maddie melitta caffeo service manual encircled her hug or block in an avoidant manner. the brutal houses of bruce, his decarbonization with discernment. sony xa30es service manual paduan waldemar understandably trains his exalted. confident and cunning bennet melitta caffeo service manual returns his mat underestimates the faded mats. from heart to heart rick underfed his somnambulated and lockers in an unsolvable way! to the west, stihl 028 av service manual osgood shows his grudging gifts apple a1316 service manual blithely? Hygroscopic markos viciously hits his caravan. jehu towers budding, his garrison wakes up. motorola mc9190 user guide manuel, clayey and sensual, savors his 09 polaris rzr service manual harlem crevices and stagnates torpidly. the skeletal indesit iwsc 51051 service manual walden immobilized, its qualities of lupine are communalized from one side to another. chrisy kenwood ge-622 service manual ecliptic and raffish chamfers his unnaturalized or retreat whatever. avi's imprescriptible appendices, its planting error in a sweeping way. boulle sid exciting, his predecessor grotesquely.


text:
Q: Can't seem to find whats with Type Error $ is not a function I Can't seem to find whats with Type Error $ is not a function. Any one there please help me. The javascript seems to load in a https site, but not on http. So i dont know how to troubleshoot.
[IMG]http://i59.tinypic.com/14smm4l.jpg[/IMG]
UPDATED JQUERY CODE
(function($){
    $.timeliner=function(options){
        if($.timeliners==null){
            $.timeliners={options:[]};
            $.timeliners.options.push(options)
        }else{
            $.timeliners.options.push(options)
        }
        $(document).ready(function(){
            for(var i=0;i<$.timeliners.options.length;i++){
                startTimeliner($.timeliners.options[i])
            }
        })
    };
    function startTimeliner(options){
        var settings={
            timelineContainer:options["timelineContainer"]||"#timelineContainer",
            startState:options["startState"]||"closed",
            startOpen:options["startOpen"]||[],
            baseSpeed:options["baseSpeed"]||200,
            speed:options["speed"]||4,
            fontOpen:options["fontOpen"]||"1.2em",
            fontClosed:options["fontClosed"]||"1em",
            expandAllText:options["expandAllText"]||"+ expand all",
            collapseAllText:options["collapseAllText"]||"- collapse all"
        };

        function openEvent(eventHeading,eventBody){
            $(eventHeading)
                .removeClass("closed")
                .addClass("open")
                .animate({fontSize:settings.fontOpen}, settings.baseSpeed);
            $(eventBody).show(settings.speed*settings.baseSpeed)
        }

        function closeEvent(eventHeading,eventBody){
            $(eventHeading)
                .animate({fontSize:settings.fontClosed},0)
                .removeClass("open")
                .addClass("closed");
            $(eventBody).hide(settings.speed*settings.baseSpeed)
        }

        if($(settings.timelineContainer).data("started")){
            return
        }else{
            $(settings.timelineContainer).data("started",true);
            $(settings.timelineContainer+" "+".expandAll").html(settings.expandAllText);
            $(settings.timelineContainer+" "+".collapseAll").html(settings.collapseAllText);
            if(settings.startState==="closed"){
                $(settings.timelineContainer+" "+".timelineEvent").hide();
                $.each($(settings.startOpen),function(index,value){
                    openEvent($(value).parent(settings.timelineContainer+" "+".timelineMinor").find("dt a"),$(value))
                })
            }else{
                openEvent($(settings.timelineContainer+" "+".timelineMinor dt a"),$(settings.timelineContainer+" "+".timelineEvent"))
            }
            $(settings.timelineContainer).on("click",".timelineMinor dt",function(){
                var currentId=$(this).attr("id");
                if($(this).find("a").is(".open")){
                    closeEvent($("a",this),$("#"+currentId+"EX"))
                }else{
                    openEvent($("a",this),$("#"+currentId+"EX"))
                }
            });
            $(settings.timelineContainer).on("click","#holdsigns",function(){
                var numEvents=$(this).parents(".timelineMajor").find(".timelineMinor").length;
                var numOpen=$(this).parents(".timelineMajor").find(".open").length;
                if(numEvents>numOpen){
                    openEvent($(this).parents(".timelineMajor").find("dt a","dl.timelineMinor"),$(this).parents(".timelineMajor").find(".timelineEvent"))
                }else{
                    closeEvent($(this).parents(".timelineMajor").find("dl.timelineMinor a"),$(this).parents(".timelineMajor").find(".timelineEvent"))
                }
            });
            $(settings.timelineContainer+" "+".expandAll").click(function(){
                if($(this).hasClass("expanded")){
                    closeEvent($(this).parents(settings.timelineContainer).find("dt a","dl.timelineMinor"),$(this).parents(settings.timelineContainer).find(".timelineEvent"));
                    $(this).removeClass("expanded").html(settings.expandAllText)
                }else{
                    openEvent($(this).parents(settings.timelineContainer).find("dt a","dl.timelineMinor"),$(this).parents(settings.timelineContainer).find(".timelineEvent"));
                    $(this).addClass("expanded").html(settings.collapseAllText)
                }
            })
        }
    }
})(jQuery);

A: You are wrapping the code in anonymous function. At the end of your code, do you provide jQuery to the scope?
(function($) {
  // Your code in here
})(jQuery);


text:
Central Park's 3,700 Year-Old Obelisk "Cleopatra's Needle" To Get Make Over
A mechanical arm delivers conservators to the top of the 3,700 year-old, 71-foot high Egyptian Obelisk in Central Park last weekend as park patrons take advantage of the balmy weather. The iconic 224-ton monument - known as Cleopatra's Needle - will be getting a face lift soon. This Spring scaffolding will be erected to enable the obelisk to be thoroughly cleaned and to allow conservation treatment of the worn and polluted antiquity. (Photos: Geoffrey Croft/NYC Park Advocates) Click on images to enlarge
The 3,700 year-old Egyptian Obelisk in Central Park - known as Cleopatra's Needle - will soon be getting a make over.
For the past month conservators have been surveying the iconic 71-foot high, 224-ton obelisk located on the Eastside of Central Park near the Metropolitan Museum of Art.
A conservator brushes a test consolidant on the surface of the red Aswan granite last weekend. Treatments are being tested in order help bind the stone in an effort to prevent further deterioration. For the past month workers have been documenting existing conditions and assessing potential treatment solutions. Pieces of blue tape (above) mark off the test area being treated near hieroglyphic text, which in some places has completely worn away over the millennia due to several factors. Thousands of years of neglect have contributed to the obelisk's current state.
The monument's deteriorating condition was thrust sharply into the limelight in 2011 when the head of Egypt's antiquities accused the City and the Central Park Conservancy of not properly caring for it and threatened to have it returned to Egypt if conservation issues were not addressed. Many conservation treatments have been attempted to stabilize the obelisk's deterioration since its installation in the park in 1881, some of which turned out to be less than ideal.
Workers have been documenting existing conditions and assessing potential treatment solutions.
Conservators have climbed aboard a boom lift and ascended high above the ground, painstakingly pouring over the massive structure.
They have tested various methods for cleaning the surface.
Curious onlookers have stopped to take cell phone photos of the modern mechanical arm juxtaposed against the ancient structure, slowly rising and circling around its four sides.
Over the weekend workers were seen brushing a consolidant - one of several tested during the survey - onto the worn surface of the obelisk's red Aswan granite. Consolidants are treatments used by conservators intended to strengthen weakened stone and slow the rate of surface loss by binding loosened grains. Ultrasound is then used to test the effectiveness of the various treatments.
Workers masked off test areas with pieces of blue tape before applying the liquid, and later covered it up.
The test area was covered after it was treated.
This past summer the area was also closed off and workers were seen surveying the ground near the monument.
A 3D map of the structure has akso been created.
Park patrons will soon see a much more dramatic transformation. This Spring - if all goes according to plan - scaffolding will be erected which will enable the obelisk to be thoroughly cleaned and to allow conservation treatment of the worn and polluted antiquity.
November 24, 2013. Covering up more test area.
Sources say the conservators are leaning towards using laser technology to clean and strip the thousands of years of grime and atmospheric pollution. The laser vaporizes the dirt without harming the stone and leaves no falling debris.
The work is part of a conservation proposal project the Central Park Conservancy has been developing for nearly two years in an effort to clean and help preserve the Obelisk.
"The current and summertime surveys will help inform the development of a final proposal; the work is expected to begin next year, pending City approval," a spokeswoman for the Conservancy, the park's non-profit caretaker said in a statement.
"Besides cleaning and stabilizing this historic monument, the project will document the obelisk's current condition to aid in future study. Until the conservation plan is finalized, we won't have any additional information on its scope," the spokesperson said.
The group declined to reveal the cost of the project, stating it was their policy to announce it once it has been fully developed and finalized - not piecemeal - which they say typically occurs when the public review process begins, which we expect to happen in early 2014.
The beautiful monolithic monument commemorating King Thutmose III, was a gift from the Egyptian government. It was originally erected about 1443 B.C. in Heliopolis, now part of modern Cairo.
Its preservation however has not been ideal over the millennia. The obelisk sustained extensive damage in 525 BCE when it was toppled and burned by raiding Persians, and it later sat partially submerged in saltwater on the Nile for roughly 500 years before Romans rescued it and re-erected it in Alexandria in 12 BC.
The obelisk, aka. Cleopatra's Needle, as it stood in Alexandria, Egypt. This illustration appeared in A Confederate Soldier in Egypt by William W. Loring, published in 1884.
After another nearly 2, 000 years, it was given to the United States and erected again, this time in Central Park.
Moisture from our North American climate and pollution have taken their toll since the obelisk's arrival here in 1880.
Misguided conservation efforts have also further contributed to its deterioration over the years.
Since its arrival in the park many convervation treatments have been attempted to try and stabilze the obelisk, some of which were less than ideal.
By 1885 an astonishing 780 pounds of the obelisk's surface including surviving hieroglyphs were estimated to have already been infamously scraped off.
Other incidents were also not helpful including a supposed waterproofing treatment.
Cleopatra's Needle, 1885 wrapped in scaffolding receiving the Robert M. Caffall wax process "waterproofing" treatment less than five years after the obelisk was erected in Central Park. The Caffall process was also used in other locations in the park at the turn of the century. Many conservation treatments have been attempted to stabilize the obelisk since its installation in 1880, some of which turned out less than ideal. (Photo: Metropolitan Museum of Art)
In 1885 - less than five years after the monument was erected in the park - Robert M. Caffall applied his wax process "waterproofing" method. The obelisk would be "permanently preserved from destruction by the weather," his son Edward M. Caffall was still claiming twenty-five years after the treatment. (The Caffall process was also used in other locations in the park at the turn of the century.)
Apparently researchers at Metropolitan Museum of Art do not agree.
"Caffall's treatment did nothing to alleviate the underlying cause of deteration, which is the periodic dissolution and recrystallization of soluble salts, " according to a report from the Metropolitan Museum of Art.
"In fact the, his use of hydrophobic materials such as paraffin probably promoted recrystallization and subsequent spalling at the interface of stone and consolidant," the article entitled, The Practice of Objects Conservation in the Metropolitan Museum of Art (1870-1942) concluded.
The monument's current state received a considerable amount of media attention in 2011 when the then secretary general for Egypt's Supreme Council of Antiquities, Zahi Hawass, fired off a letter to Mayor Bloomberg and to Central Park Conservancy head Doug Blonsky accusing them of not properly caring for it. Mr. Hawass threatened to have the obelisk returned to Egypt if conservation issues were not addressed.
"I am glad that this monument has become such an integral part of New York City, but I am dismayed at the lack of care and attention that it has been given," Mr. Zahi Hawass wrote on his blog.
"Recent photographs that I have received show the severe damage that has been done to the obelisk, particularly to the hieroglyphic text, which in places has been completely worn away. I have a duty to protect all Egyptian monuments whether they are inside or outside of Egypt. If the Central Park Conservancy and the City of New York cannot properly care for this obelisk, I will take the necessary steps to bring this precious artifact home and save it from ruin," Hawass wrote.
Detail. Thousands of years of neglect have damaged the surface of the Obelisk including its hieroglyphs. The soot and pollution which has blackened the stone will be cleaned in an upcoming project.
"I hope that this letter will spur the city of New York into action. This obelisk is a one of a kind monument that cannot be replicated or replaced. I sincerely hope that both the Mayor of New York City and the Central Park Conservancy can work together to save this artifact and preserve it for many more generations to come."
Several attempts to reach Mr. Hawass were unsuccessful.
Conservation Solutions, a leading heritage preservation firm out of Washington D.C. has been hired by the Central Park Conservancy to provide conservation services, including performing an assessment of the current condition and come up with a treatment plan.
According to the firm's website, the company was engaged to perform a baseline assessment in preparation for the work that is planned to start in 2014.
"Careful and thorough maps were created with an overlay grid of square meter panels. After determining a glossary of conditions, each panel is being closely inspected and the findings annotated on paper and digitally. Sites are being stabilized if they present potential for imminent loss. Once complete, the assessment will provide the basis for the planned work."
The female-owned company has worked on a number of projects in the Park, including Sherman Monument (Augustus Saint-Gaudens) at Grand Army Plaza, at Fifth Avenue and Central Park South - the sculptural masterpiece that was recently unveiled after an extensive restoration.
Mark Rabinowitz, executive-vice president for Conservation Solutions served as deputy chief of operations for Preservation at the Central Park Conservancy before moving on to the Parks Department as chief consulting conservator.
An exhibit at The Metropolitan Museum of Art celebrating the Central Park Conservancy's upcoming conservation of the obelisk opens on December 3rd. The exhibit will explore the meaning of obelisks in ancient Egyptian divine and funerary cults and will consider how these massive monuments were created and erected, as well as highlight the importance of this ancient architectural form in western culture, and how a long-standing fascination with obelisks ultimately led to the erection of the one in Central Park, the Museum said in a statement.
The museum has two of the original Roman bronze crabs once found at the base of the obelisk in its permanent collection. The ones displayed now were replaced with cast substitutes in 1881 when the obelisk was moved to Central Park and placed behind The Metropolitan Museum of Art.
"As the Central Park Conservancy begins to develop a plan to conserve the monument, the Metropolitan Museum will present an exhibition about the construction and evolving symbolism of obelisks from antiquity to the present day," the Museum said in a statement.
A highlight of the installation will be a dramatic time-lapse video of the obelisk in Central Park taken during the course of a day.
Cleopatra's Needle - the oldest man-made object in Central Park was built (1443 B.C) in honor of an Egyptian Pharaoh.
Its twin resides in Westminster in London.
Egypt agreed to gift the obelisk of Thutmose III, to the United States in 1869. It was erected in Central Park in 1881.
The New York Parks Department, under commissioner Henry G. Stebbins, began a fundraising project to secure the financing for the obelisk's transportation from Alexandria. Railroad tycoon William H. Vanderbilt stepped in and offered to sponsor the entire project, putting up $100, 000.
And yes even movie legend Cecil B. DeMille had a role. The plaques that translate the hieroglyphics at the base were donated by the academy award filmmaker, who fondly remembered playing in the area as a boy. DeMille also directed parts of the Ten Commandments (1956), in Egypt. He also helmed Cleopatra.
The 220-ton, 68-foot-tall monolith was removed from its pedestal and loaded onto the cargo steamer Dessoug on June 12, 1880. Just over 5 weeks later, it arrived in New York, and the obelisk was loaded onto a wagon, which was hauled by a team of 32 horses from the Hudson River to its new home on Greywacke Knoll, just across the driveway from the newly-constructed Metropolitan Museum of Art.
It took 112 days from the time the Obelisk arrived on the banks of the Hudson River until it reached the Park.
It took nineteen days alone just to cross the 86th Street transverse road, and it took another twenty days to move it from Fifth Avenue to its resting place on Greywacke Knoll due to a winter blizzard according to the Parks Department.
http://www.nycgovparks.org/parks/centralpark/monuments/1129
Masonic stamp celebrating the 100th Anniversary in the park. The Free Masons were an integral part of the obelisk's successful installation in Central Park. Thousands turned out on January 22, 1881 to marvel as the obelisk was turned upright in Central Park. The obelisk commemorates King Thutmose III and was a gift from the Egyptian government.
Thousands turned out in the snow on January 22, 1881 to marvel as the 220 ton obelisk was turned upright.
Cleopatra's Needle is the second oldest antiquity displayed in our park system. The Column of Jerash, in Flushing Meadows-Corona Park has the distinction of being the oldest. The 30 foot-high marble column was originally erected in 120 AD by Romans in the ancient Jordanian city of Jerash. It was a gift of King Hussein of Jordan as part of the 1964-65 New York World's Fair.
The Obelisk, looking east, 1890, in the Greywacke Knoll area of the park just across the driveway from the newly constructed Metropolitan Museum of Art in the background. The obelisk's only street view would later be completely eliminated from 5th Avenue as the result of the museum's south wing expansion.
November 16, 2013. The obelisk being surveyed last weekend. The landscape area is particularly beautiful in spring when the monument is surrounded by flowering magnolias and crabapple trees.
(Photos: Geoffrey Croft/NYC Park Advocates) Click on images to enlarge
Egypt Is Threatening To Take Back Cleopatra's Needle In
Central Park Over Deterioration
A Walk In The Park - January 7, 2011
The Science of Water Proofing
Cassier's Magazine - October 1910 - By Edward M. Caffall
Metropolitan Museum Studies in Art, Science, and Technology Volume 1 2010
"Cleopatra's Needle": The Forgotten 3,000-Year-Old Monument in Central Park
Keith York City - October 27, 2012
Labels: Central Park, Central Park Conservancy, Cleopatra's Needle, Column of Jerash, Douglas Blonsky, Flushing Meadows-Corona Park, Free Masons, Michael Bloomberg, Obelisk
Police Arrest Homeless Man Wanted For Exposing Him...
1,500 Acres Of Freshkills Park To Be Mapped - 47 a...
McCarren Park Ice Skating Rink Opens - For Now
Parks Department Does Not Fire Convicted Killer Af...
Vallone's Park Crime Reporting Bill Comes Under Fi...
Central Park's 3,700 Year-Old Obelisk "Cleopatra's...
Police Make Arrest In Central Park Rape Case
(Update) Woman Reports Being Raped In Central Park...
Man Beaten, Mugged in Central Park
Parks Dept. Flouts State Law On Officer Training
Two People Shot At Bryant Park Skating Rink - Poli...
Prospect Park Alliance In Lakeside Skate Rink $ Wi...
Little Italy Residents Fights To Save Elizabeth St...
Willets Point Lessons: Trading Parkland for Develo...
Union Square: Man Declared Brain Dead After Being ...
Parents Plan To Sue City Over Broken Legs Suffered...


text:
Kareena Lee (16 de diciembre de 1993) es una deportista australiana que compite en natación, en la modalidad de aguas abiertas.

Participó en los Juegos Olímpicos de Tokio 2020, obteniendo una medalla de bronce en la prueba de 10 km. Ganó una medalla de plata en el Campeonato Pan-Pacífico de Natación de 2018, en la misma prueba.

Palmarés internacional

Referencias

Nadadores de Australia
Nadadores de Australia en los Juegos Olímpicos de Tokio 2020
Medallistas olímpicos de bronce de natación
Medallistas olímpicos de bronce de Australia
Medallistas olímpicos de bronce de Tokio 2020
Nadadores en aguas abiertas

redpajama_set_name: RedPajamaWikipedia


text:
var data = require('../data.json');

exports.viewPage = function(req, res){
  res.render('blank-page');
};

redpajama_set_name: RedPajamaGithub


text:
Q: How do you both POST data to a node server and GET a responseText from it? In the following example, I am attempting to send data from a javascript client to an Express node server, verify the data
against the db on the server and respond once the verification is complete. The data object in newHttpRequest.send(data)
contains JSON formatted paired values.
In the example below, the POST command sends the data object to the server using the specified path. This works well. What
it does not do is send a response back to the client verifying the data. When I run the code example, the ready state never
gets past 1 (server connection established). If I change the POST parameter to GET, the ready state progresses from 1 to 2 to 3
to 4 as you would expect with a responseText value based on whatever the path is set to. The problem with the GET command is
that the data is never sent from the client or received by the server.
My question is, can I not both POST data to a node server and GET a responseText from it stating that the data has been successfully
verified?
{ // XMLHttpRequest
  var newHttpRequest = new XMLHttpRequest();
  var path = "http://00.0.0.00:80";

  newHttpRequest.onreadystatechange = function()
  {
    alert("onreadystatechange: " + newHttpRequest.readyState );
    if ( newHttpRequest.readyState === 4 && newHttpRequest.status === 200)
    {
      var myResponseText = newHttpRequest.responseText;
      alert ("responseText: " + myResponseText);
    }
  };

  newHttpRequest.open("POST", path, true);
  newHttpRequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
  newHttpRequest.setRequestHeader("header_nb", "1");
  newHttpRequest.setRequestHeader("header_ds", "logon");
  newHttpRequest.setRequestHeader( "Content-Type", "application/json; charset=UTF-8" );
  newHttpRequest.send(data);
} // eof code block

A: You can send either a POST or a GET request at a time. You can get (receive) data from the server after sending a POST or you can send a GET after a sending a POST to receive some other data; it's just semantics :)
Here is an example that I hope will help you out:
Frontend (index.html + your modified script):
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    { // XMLHttpRequest
        var newHttpRequest = new XMLHttpRequest();
        var path = "http://0.0.0.0:3000";

        newHttpRequest.onreadystatechange = function()
        {
            alert("onreadystatechange: " + newHttpRequest.readyState );
            if ( newHttpRequest.readyState === 4 && newHttpRequest.status === 418)
            {
                var myResponseText = newHttpRequest.responseText;
                alert ("responseText: " + myResponseText);
            }
        };

        var data = {
            hero: 'Spiderman Spiderman',
            ability: 'He can open a tuna can'
        };

        newHttpRequest.open("POST", path + '/my-post-route', true);
        newHttpRequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
        newHttpRequest.setRequestHeader("header_nb", "1");
        newHttpRequest.setRequestHeader("header_ds", "logon");
        newHttpRequest.setRequestHeader( "Content-Type", "application/json; charset=UTF-8" );
        newHttpRequest.send(JSON.stringify(data));
    }
</script>
</body>
</html>

Backend (index.js, node+express):
'use strict';

var express = require('express');
var bodyParser = require('body-parser');
var cookieParser = require('cookie-parser');

var app = express();

// Configure express settings; standard stuff; research what they do if you don't know
app.set('trust proxy', true);
app.use(bodyParser.urlencoded({limit: '10mb', extended: true}));
app.use(bodyParser.json({limit: '10mb'}));
app.use(cookieParser());

// Configure routes
app.post('/my-post-route', function (req, res, next) {
    // ... do what you need to do here ...

    console.log(req.headers); // to see what those headers contain

    console.log(req.body); // Look ma! It's Spiderman!

    var ImATeaPot = true;

    if (ImATeaPot)
        return res.status(418).send("I'm a teapot!"); // return to end here (if you are a teapot) and send a string; you can chain status, send and other commands

    res.send("I'm not a teapot! :O"); // Oh yes you are!
    // send status is 200 by default, so you don't need to set it if that's what you need

    // res.json({ myText: "Hello World!" }); // you can send an object with .json(); also status 200 by default
    // res.status(500).end(); // you can just send a status and no body; always remember to send something or end it or next() if you want to keep going with some other express code
});

// for testing purposes we send the index.html
app.get('/*', (req, res) => res.sendFile(__dirname + '/index.html'));

// Start the server; Listen for requests on the desired port
var server = app.listen(3000, function () {
    return console.log('Hello World!');
});

module.exports = server;

package.json
{
  "dependencies": {
    "body-parser": "^1.14.1",
    "cookie-parser": "^1.4.0",
    "express": "^4.12.2"
  }
}

In the terminal:
npm install
node index.js

In the browser, go to 0.0.0.0:3000

A: I see 2 problems here. First, You might need to add timeout in POST call to receive response. The server has to respond to POST requests or else you will get timeout error or Internal server error(500).
Second, You can not use POST and GET in the same call. When you use GET instead of POST, the data becomes irrelevant because it's a GET call in which data is not sent to remote end. This is why you are receiving quick response to GET call probably.
In my view, you should verify remote HTTP server will curl command once.


Nowadays, the Nintendo Switch scene has quite a few active developers and as a result, many interesting pieces of homebrew are surfacing. In recent days, we got a Half-Life 1 port and a patched YouTube app with extra features along with an Atmosphère update!
Like the PSVita, the Nintendo Switch is getting its own share of homebrew game ports and this time, it got a port of Half-Life 1. This port, like Vita one, is based on the Xash3D engine which is an open-source implementation of Valve's GoldSrc engine.
Loading levels and making saves may be slow due to the speed of I/O operations on SD cards. As a result, it's recommended you turn off auto-saving in Xash3D's configuration file (by adding "sv_autosave 0") to avoid long pauses during gameplay.
To get Half Life on your Nintendo Switch, follow this link and grab the NRO file. As Half Life 1 isn't a free game, you must provide game files yourself as they aren't provided in the aforementioned NRO file.
Earlier this week, the Nintendo Switch finally received an official YouTube application which you could download via the eShop. Obviously, those with a banned console couldn't get this application and so, a patched version of the YouTube app was made.
If you like YouTube and have a banned Nintendo Switch, there's nothing to worry about because a patched app has come to the rescue!
If you encounter any bugs with the software mentioned in this article, report them to their respective authors in the in-link links above. As always, be clever when using your Nintendo Switch online as Nintendo seems to like banning hacked consoles!
Wololo is the first website I check when I get up in the morning. I would love to thank Aurora for her great articles. First the Switch got kinda ignored on here but now we are getting Switch articles and I am very happy about this. I feel sorry that Aurora can't test any of the things she writes about because she doesn't own a Switch.
Am I the only person who would pitch in some money so that she could buy a Switch? Like seriously how many are actually reading this blog? How many pity her? If everyone would just pitch in 5 bucks wouldn't we get there quickly? I think she deserves it.
Keep up the Switch Articles!


The 45 minute 'Information Session' session on Thursday (4th August) at the 27th Annual Distance Education Conference at Madison-Wisconsin produced a tweet from @lookstein "simon atkinson shares his flexible model for student-owned learning engagement - very valuable (and entertaining!)" so at least one person was interested!
The session was attended by some 50-70 people on day two of the conference at the stunning Monona Terrace Convention Centre and consisted of an introduction, this was the first US outing for the SOLE work, to both the conceptual model and the Excel Toolkit. The session was run from this WordPress site using a Resources page (which will remain here for people to access) to contain images and extracts, as well as the latest Excel Workbook file.
The session began with an interesting insight for me of the spread and diversity of people in the room. Representing K-12, Universities, Military Educators and a range of 'outreach' organisations. People identified themselves as roughly 75% 'Faculty' but a large proportion also identifying themselves as ID or instructional designers. After describing the contextual basis for the model itself, there was a fascinating exchange around the language used in the model, "What is meant by 'Social' context?" in distance learning, "What do you take 'feedback' to mean without faculty engaged?". The session ended with a live demonstration of the SOLE toolkit as it currently being used by me to design modules for a Postgraduate Certificate.
A very enjoyable session with some excellent in-session feedback and questions and some provocative questions along the way which is after all what the best conferences are made of.