Sunday, January 3, 2016

What should step one in writing a novel be?



I have had an interest in writing for years, but I don't know where to start or how to organize the process of "becoming a writer." I have plenty of time, but don't know what to do first.



This past week, I decided that I want to try to write thriller novels. I spent some time brainstorming my basic approach to how I'll do it, and am satisfied that I have some vague idea of how I want to write. The problem is, now I can think of a million reasons not to do it, and without a serious plan, I'm afraid I'll just end up doing what I've done in the past: nothing.


I've read parts of several books on writing, but none seem to address the question of what you do to actually get motivated and able to make progress as a writer. I know I should just dive in and start writing something, but every time I've done this before, the writing has been so bad that I get terrified of failure and stop writing altogether.


So, here are a series of related questions:




  • How can I overcome the fear of failure/being terrible?




  • How can I craft a plan for becoming a writer and actually getting things done beyond brainstorming? (What should "step one" be?)





  • How do you read masters of the genre (I started reading John Le Carre today) that interests you in a way that doesn't lead to the reaction, "I'll never be this good, so why try?"





Answer



There are myriad questions on this site that already address this issue, and the consensus is always the same.


Just write.


Write for yourself. Don't even read what you've written. Don't even look back as you're writing. Write until you're finished. Once you're finished, look back over your work. Only then can you begin to be critical of style, grammar, flow, etc.


The more often you write, and the more volume you write, the better your writing will get. As you look back on things you have written, you will see mistakes you have made and you will understand how not to make them in the future. You will improve over time. Nobody becomes a famous writer thinking about writing.


Just write.



Practice makes perfect.


Saturday, January 2, 2016

portfolio management - Calculating alpha and its meaning


According to wikipedia, CAPM model is described by:


$E(R_{i})=R_{f}+\beta _{{i}}(E(R_{m})-R_{f})$


And according to website such as http://investexcel.net/jensens-alpha-excel/,


$\alpha = E(R_{i}) - R_{f}-\beta _{{i}}(E(R_{m})-R_{f}),\,\,\,\, \beta = \frac{Cov(R_i,R_m)}{R_m}$


$E(R_i)$ and $E(R_m)$ are just averages of the times series of $R_i$ and $R_m$. Then alpha can be calculated by direct plug-in.


And my question is as follow:


Since we could also write the CAPM as $R_i-R_f = \alpha_i + \beta_i(R_m-R_f)+ \epsilon$, could we just run the OLS regression and get the alpha as part of the coefficients that way? If the answer is yes, is there a relationship between the two methods of calculating alpha and do we prefer one to another? And theoretically, how can one make money based on the alpha?


I am sorry if the questions sound silly. Thank you for advance.




Answer



Alphas from a time-series regression are error terms in the cross-sectional, linear relationship between expected returns and factor betas. If a factor model were correct those error terms (the alphas) would be zero.


Discussion


A carefully written version of a standard time-series regression of returns in excess of the risk free rate on market excess returns would be:


$$R_{i,t}-R^f_t = \alpha_i + \beta_i(R^m_t-R^f_t)+ \epsilon_{i,t}$$ This equation is NOT the CAPM. The CAPM is an economic theory that implies that the $\alpha_i$ for any security/portfolio $i$ in the above regression would be zero. Why is this the case?


The CAPM says that expected excess returns $\operatorname{E}[R_i - R^f]$ increase linearly in the regression beta $\beta_i$ of excess returns on market excess returns.


Below is a graph of what Prof. John Cochrane likes to call the cross-sectional implications of the time series regression. The intercepts $\alpha_i$ in time-series regressions are residuals in the cross-sectional regression. enter image description here


Each blue circle represents a different security/portfolio. For each return series $i$, the estimated $\alpha_i$ from a time series regression is the vertical distance to the black line. If the CAPM were true, all those $\alpha_i$ would be zero and every security would be on that line.


What actually happens? Why does the CAPM not work?


The test assets in the figure below are the 25 Fama-French book to market and size portfolios. If the CAPM were true, each blue circle should lie on the black line, but that's not what happens! enter image description here



The red line shows the estimated cross-sectional relationship between expected returns and market beta. If anything, the relationship goes in completely the wrong direction. (The last figure is an old one I made for a prior class.)


The intercept term $\alpha$ in a regression of excess returns on other excess returns (interpreted as risk factors) gives you an estimate of average returns that cannot be explained by those factors. Graphically, it's the vertical distance from the black line in the above graphs.



Let's say you run the following regression:


$$ y_i = a + b x_i + \epsilon_i$$


Your estimate of $b$ will be:


$$ \hat{b} = \frac{\hat{\operatorname{Cov}}(y,x)}{\hat{\operatorname{Var}}(x)}$$


Where $\hat{\operatorname{Cov}}(y,x)$ is the sample covariance between $y$ and $x$ and $\hat{\operatorname{Var}}(x)$ is the sample variance of $x$.


So basically, your "two methods" of calculation are exactly the same thing.


managing fonts in illustrator



Is there a better way to manage fonts in Illustrator instead of the default drop-down? I am on CS6 and Windows7


I have several hundred fonts and I wish there was a more intuitive way to browse through my fonts.


Any suggested add-ons or extensions ?




time - What original sources have research on how long it takes a visitor to decide whether to stay on the site?


I've seen many statistics referenced along the lines of:



Visitors decide where to stay on or leave a website within [7, 2, 11, 0.8 seconds] of seeing it.



Typically the statistic is used when talking about the importance of appealing design, clear navigation, prominent display of relevant content, etc. Unfortunately the articles I've found aren't citing sources.


Where's the actual research to back this up? What seems to be the actual amount of time visitors are taking to determine if a site is relevant to them or not?



Answer




There's a few studies that show sub-conscious reactions to the aesthetics of a page are made within 50ms, and that these reactions then impinge on the user's sense of usability, satisfaction, and the credibility of the site.




  • Attention web designers: You have 50 milliseconds to make a good first impression! (PDF), Lindgaard G., Fernandes G. J., Dudek C. & Brown, J.
    Tested subjects by displaying web pages (saved to disk) for 500ms or 50ms for "visual appeal." The report concludes that "...visual appeal can be assessed within 50 msec suggesting that web designers have about 50msec to make a good first impression." Behaviour and Information Technology, 25:115 - 126 (2006).




    1. Web Users Judge Sites in the Blink of an Eye, Hopkin, M.
      Nature first reported on the study online on Jan. 13, 2006.





    2. First impressions count for web, BBC News, Jan. 16, 2006
      Early news report of the "blink" study after the Nature story. "My colleagues believed it would be impossible to really see anything in less than 500 milliseconds." -- Gitte Lindgaard et al






  • Carleton University, HOT Lab
    Human Oriented Technology Lab at Carleton University in Ottawa, Ontario Canada researches "interactive technologies for human endeavors with an emphasis on human computer interaction and a user-centred design approach." Dr. Gitte Lindgaard and her colleagues work at the HOT Lab.





  • "A second chance for emotion", Damasio, A. R.
    In Cognitive Neuroscience of Emotions edited by R. D. Lane and L. Nadel (New York: Oxford University Press, 2000).




  • Stanford Guidelines for Web Credibility, Fogg, B.J.
    Persuasive Technology Lab. Stanford University, 2002 (revised November 2003). In two surveys of over 2600 people Fogg found that a "clean, professional look" was cited by 46.1% of participants when evaluating sites for web credibility. Information Design/Structure was cited 28.5% of the time, while Information Focus was cited 25.1% of the time. While the factors varied for different types of sites, disguised advertising and popup ads, stale content, broken or uncredible links, difficult navigation, typographic errors, popup ads, and slow or unavailable sites were found to harm credibility the most.




  • Blink: the power of thinking without thinking, Gladwell, M.

    A fascinating book about how accurate our first impressions can be, especially among those with a lifetime of experience (art appraisers for example). (New York: Little, Brown, and Co., 2005)




  • Response Time: Eight Seconds, Plus or Minus Two, King, A.
    In Speed Up Your Site: Web Site Optimization), Indianapolis: New Riders Publishing, 2003. The consensus among HCI researchers is to deliver useful content within 1 to 2 seconds (navigation bar, search form) and your entire page within 8 to 10 seconds (8.6 seconds was the figure most cited).
    This article has further reading.




  • Flow in Web Design, King, A.
    In Speed Up Your Site: Web Site Optimization, Indianapolis: New Riders Publishing, 2003. Fast, well-designed sites can actually create a flow state in users. In fact, according to a recent study, over 47% of users have experienced flow on the Web.





  • The Emotional Brain: The Mysterious Underpinnings of Emotional Life, Ledoux, J.
    1996, Simon & Schuster, 1998 Touchstone edition: ISBN 0-684-83659-9




  • Understanding web browsing behaviors through Weibull analysis of dwell time, Chao Liu, Ryen W. White, and Susan Dumais, 2010. In Proceedings of the 33rd international ACM SIGIR conference.
    Jakob Nielsen provides a good summary of the study, stressing the importance of surviving the first 10 seconds.





  • The role of visual complexity and prototypicality regarding first impression of websites: Working towards understanding aesthetic judgments, Tuch A.N., Presslaber E, Stoecklin M, Opwis K, Bargas-Avila J; 2012.
    This paper experimentally investigates the role of visual complexity (VC) and pro- totypicality (PT) as design factors of websites, shaping users’ first impressions by means of two studies. Results reveal that VC and PT affect participants’ aesthetics ratings within the first 50 ms of exposure. In a second study presentation times were shortened to 17, 33 and 50ms. Results suggest that VC and PT affect aesthetic perception even within 17ms, though the effect of PT is less pronounced than the one of VC. With increasing presentation time the effect of PT becomes as influential as the VC effect.




video - Open Source software for 2D graphic animation like this:


Can someone suggest me a good software of graphic 2D animation, for animating images, and also a software for insert some more or less static text during a video? I'll post an example of my animation what should looks like, it start at 1:05 minutes in the video; while the text is for example the name of the people who are speaking :)


https://www.youtube.com/watch?v=mmQl6VGvX-c


Thank you



Answer





  • NodeBox


  • Processing

  • Your browser (serioulsy, you can do this with css and javascript easily)

  • Blender (2d is just a subset of 3D)



A simple example of using NodeBox to make text appear, I had not used NodeBox 3 before so it took me 15-20 minutes to get up to speed (tough i have used shake and nuke which are very similar). Its a good alternative if you abhor code, but still needs some polish.


NodeBox animation


Image 1: Simple example animation made with nodebox3.


NodeBox graph


Image 2: The NodeBox3 graph.







adobe photoshop - make an image that appears transparent (but has a background) actually transparent


I have an image that has a white background but its also semi transparent so the white background seeps through. now if i remove the background it will still have the white parts where the original background was seeping through making it look really strange on any other background but white... Is there a way to remove the "white" parts in the image...


arrows


The bottom of the img is exactly like something i have in mind (where the arrow is reflected and the arrows shadow as well)


As you can see when i remove background and change it to black it looks horrible: has white background


Update: I actually made a mistake by voting the first answer up. I want to know how to remove the background completely. I know how to save images so they are transparent



Answer



thanks to skids89 suggestion i figured it out. To remove a background from an image that appears transparent you need to:



cut out all the background that is not overlapping with the img. (magic wand select then del) delete bg then you need to cut out all the places in the img that overlap with the background (using magic lasso tool or something similar) and paste them into a new layer new layer with overlapping afterwards you need to apply the mask to the new layer and use the gradient tool just as skids89 suggested.(yet the img will still have the background behind it it will just be with a gradient and transparent) (changing opacity of the layer will also work) mask and gradient


now you need to create a background layer with a color opposite to the previous background color opposite bg and then you need to select the layer with the mask (not the mask the actual layer) go to image->adjustments->levels and move the bottom slider up adjust levels (that is if your color was white, otherwise first change channel setting to the most similar of your colors first--from RBG to blue for example if your bg was blue) this will make your original background disappear :)


results (yours should look nicer if you applied gradient to it): final bg


And this is how your final image will look like the bottom part having a truly transparent background so you can place any background behind it and it will look nice: final result


Tip: If you have any jagged edges or dots left behind after the cutout do the fallowing things to the layers with those problems: create a mask for them go to Filter->blur->Gaussian Blur mess with the value until the all the jagged edges are underlined (this might simply make it a tiny bit darker or transparent and might be hard to see but usually value somewhere around 2.0 works) then go image->adjustments->levels move the bottom slider up until the jagged edges are gone and move the top slider down until you are satisfied with the results. click ok and it should look wonderful (if you not getting result expected you probably selected the layer instead of the mask undo all you've done and select the mask of that layer then try again)


adobe photoshop - How to achieve a wet and dark outline like this


I'm using adobe illustrator and I am putting watercolor effect on my elements. I want it to look like this:
original art


I have added a watercolor background to the element, but then my art looks very plain and flat:



my art


I want to add a thick outline to the art to make it look like the original. Or here are some more examples:


enter image description here


enter image description here



Answer



None are perfect, but I can think of a few options...


You can add an inner glow effect (Effect → Stylize → Inner Glow...) to your shapes, just set your glow to a darker color and a more appropriate blend mode...


This is a dark grey filled shape, set to "Multiply" at 80% opacity over a texture image, with a black inner glow also set to multiply:


enter image description here


The same shape with a gradient fill, a colored inner glow and the texture clipped to that shape:



enter image description here


Another option is to use a custom brush stroke:


enter image description here


Another option is to use the Appearance panel...


Add two fills, the bottom one set to the color of your "outline", the top one to your desired fill, then add two effects to the top fill; an "Offset Path" with a negative value to bring it in, this will give the appearance of a stroke; then a "Roughen" effect to add the rough details.


You could take it further by adding a slight blur or whatever else, the "Offset Path" and "Roughen" is a good start though:


enter image description here


technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...