I have an application which counts my expenses, and I set a limit in it,and add also records with expenses.. On the Secondary Tile in BackContent I show how much money there left me.
In my application I also set a limit for a day.
I need to launch update a BackContent after midnight to show how much there left me for a current day.
Is it possilble, to have something like this?
I think it can be done with a Background Agent, i have never done this so i only can suggest you some links.
Live Tile Changes (BlogSpot)
BackgroundAgent MSDN
Related
I would like to know if someone has found a solution to counter this horrible calculation from tradingview:
when Calc on every tick is selected only, the numbers of trades in backtesting seems correct, BUT because it doesn't calculate a supplementary intra-bar it really often misses the correct stop loss price. It closes at the close of the next bar after entry. so it destroys the backtest results calc on everytick intrabar stoploss problem example image
when "calc after orders filled" is enabled, it solves the problem of the stop loss BUT it is starting to make completely WTF entries, sometimes on Wick or Open bars which is increasing the number of trades in an unrealistic way. entry on wick example image
if calc after order filled is enabled + Bar magnifier = LITERALLY THE HELL
It's starting to add an infinite number of trades on the same bar sometimes Calc after order filled + Bar Magnifier example image
So please if someone found a solution to these problems it would be incredible.
Same over here brother. I was just looking for help with limit entry orders getting activated on a signal and they seem to enter on bar close. I tried every combination of those settings too, sometimes they work sometimes they dont i guess. I dont know how to help you but if there's a solution would benice. Maybe place a support ticket to trading view.
I have a task to generate a file based on the data from several records (sources) that could be selected on UI. A user can select from 1 to 100 records. The generation (request processing) time depends on the number of selected records. It can be from several milliseconds to approximately 5 seconds.
I am planning to display the spinner component for this request. But as I mentioned above it might be processed too fast and the spinner will blink. So, is it ok from the UX standpoint to set some minimum displaying time for the spinner to prevent irritating blinks? If yes, then what is the best timeout? 1 second?
P.S. I have read a great Progress Indicators Make a Slow System Less Insufferable article on the Nielsen Norman Group website. But it does not fully answer my question.
Neilson's research would suggest that your guess of 1 second is in the right area - or more specifically, that the time needed is somewhere between 0.1 second and 1 second. I'd probably try 0.5 seconds and see how that feels for the users.
Note that as you can approximately tell in advance what the time will be, you know immediately weather or not to turn on your spinner. So, if the user has less than 10 selected when they press the button (based on the numbers given above, assuming a linear relationship, 10 would be about 0.5 seconds) DON'T display the spinner, but otherwise, IMMEDIATELY display the spinner. This is based on the principle that if the program knows something UX related in advance, that should be immediately shown to the user (the same principle that says you should simply not allow options that are impossible to be selected - i.e. disable them - rather than letting the user choose them and then saying "sorry, can't do that").
I want to be able to move all events within my mac calendar up one day, ideally with the ability to exclude weekends.
Use Case: A training program had 10 weeks of daily sessions. The calendar is uploaded via csv edited for start days and skipped days. If one were to miss a day they were able to simple push all the events forward one day.
I have looked at Automator and there doesn't appear to be a simple way to set this up with the exception of possibly a folder action option.
Anyone ever do something like this?
I'd be careful about AppleScripting Calendar.app in Catalina onwards, as it's now extremely buggy and very easy to incur data loss when something goes wrong.
However, a non-scripting solution would be to cut and paste the events whilst viewing them in Month view:
Select all the events that you wish to bring forward, which is best done starting with the last, so you end up at the first;
If you deselect all other calendars so that the only events visible are the ones in your training programme (I presume these are stored in their own calendar, right...?!), then you can ⌘A to Select All, being careful to deselect the ones that overlap from the previous month or into the next month. Individual events are selected/deselected by holding down ⌘ and clicking the event.
Hit ⌘X to Cut them to the clipboard;
Use the mouse to single-click the day previous to one that contained the first event;
Hit ⌘V to Paste the events, the first of which will be pasted into the day that you clicked in step ⓷, with the remaining events repositioned by the same relative amount as was the first.
what does Recalculate Layout Paint mean in chrome developer tool TimeLine records? and how to improve the page performance by reduce the page Recalculate,Layout and Paint's count? can give some suggestion?thanks
Basically, they're your browser figuring out how to draw the changes that you made to the page.
Don't worry about getting rid of them -- if you did that, your site would be static.
However... ...if you want to do something that IS useful for performance, which does have to do with reflows and repaints, then batch your changes together.
Lets say that you got a job at Twitter.
And your job is to write the next version of the window that adds each twitter post to the screen.
If a user gets 250 new tweets in their timeline, and you add each one in a loop, one after the other, the browser is going to slow way down, because every time you add one, it will have to reflow (move things around to make space for the thing you added) and repaint (style everything that was affected by the addition).
A better way of doing it would be to build the list of new tweets together off-DOM (ie: with elements that aren't actually on the page right now), and then add them all at once.
This cuts down on the number of times that a browser has to figure out where everything needs to go.
#Fabricio -- Micro-optimizing might not be great, but appending hundreds of browser elements in a loop, versus putting all of them in at the same time can make a big difference.
Just ask the Twitter guys, who weren't bothering to cache their jQuery objects.
Here's a very handy list of properties and methods that trigger the layout (reflow) of a page:
http://gent.ilcore.com/2011/03/how-not-to-trigger-layout-in-webkit.html
You want to minimize these calls as much as possible -- especially in situations where performance is critical, such as during the scroll event, or when animating large blocks of content.
You can use the "Profiles" tab and "Audits" tab to detect the performance of your code. The will give you a report about your codes.
You can reduce the page Recalculate,Layout and Paint's count by many ways.
Append many child at one time.
Hide elements before change them.
Give images and other elements height and width.
Our site, http://www.racedayworld.com has events that you can register for which are listed in an accordion control by each month ..
I've been getting feedback that says people aren't looking past the first open month as they are not too familiar with the whole accordion thing ..
Can anyone post any suggestions on what type of control I could use that would work - I wanted to do something which wasn't just a normal boring table, but I haven't been really able to think of anything as of yet .. let me know if you have any suggestions..
How about a tree view, or something like the MacOS Finder? On the left a scrolling pane with each month, saying "January: 12 Events" or similar on each line. Then clicking that updates the right pane to a scrollable list of the events...
Done with unobtrusive javascript of course so it degrades nicely. No clues in your tags if you're doing this in Flash...
You might want to consider keeping the control and just do something to draw attention to it. For example, add a "swoopy" arrow that points to the second month with the words "click here for more events!". Just make sure you can disable that once someone expands that second month.