Friday, March 23, 2018

usability - Can I make double-clicking on a table row to open a details view intuitive?


We have tables with data where double clicking a row switches the table with corresponding row details. Currently a user can select a row and click a button to view details as well.


Is there a way to get rid of the view details button and make it intuitive so that the user knows double clicking a row will display the details?



Answer




Is there a way to get rid of the view details button ? and make it intuitive so that user knows double clicking a row will show him details ?




Intuitive? I very seriously doubt it.


The difference between the two approaches is that the button is discoverable: it sits there, visible, ready to accept some sort of action on the part of the user. Nothing (in most cases, anyway) short of explicit mention of the possibility indicates that double-clicking will do anything in particular, let alone what it will do.


Now; left without another alternative, it's quite likely that people would try to double-click, either on the off chance that it does something useful, or because they intend to invoke some other behavior (like whole word selection in a text field). Then they would discover that double-clicking takes them to a details view. But unless there is something explicit in the user interface that indicates that double-clicking on a part of the row will even do anything, let alone lead to a details view for the row that was double-clicked, the double-click option counts as non-discoverable behavior.


Non-discoverable behavior should generally be avoided in user interface design for functionality that normal users are likely to use. It can however be used to invoke advanced functionality, or provide shortcuts (and be documented in a manual or help text). A good example of this might be Windows' tendency to use the action of holding down Shift while right-clicking to give access to more advanced options, including for example in Explorer "Open with" and a delete command that bypasses the recycle bin; this isn't something that a beginner user is likely to do at random, but it also isn't options that those same users are likely to want or need to use. Another example of discoverable versus non-discoverable behavior is that even the very early Mac OS Finder allowed you to open a file by clicking on it and choosing File -> Open through the menu; double-clicking on the file's icon was provided as a shortcut. In contrast, I don't think Microsoft ever did anything similar to this in Windows (the right-click menu introduced in Windows 95 doesn't count because right-clicking also counts as non-discoverable since there is nothing on the screen to indicate it will do anything, let alone what it will do).


If the button takes so much screen real estate as to be a problem from that perspective, I suggest considering other possibilities. For example, you might consider making it possible for the user to choose to hide the button through some sort of settings interface, once they are familiar with the double-clicking approach. Or, like Franchesca mentioned in a comment, reduce it in size and hide it after the user has used the non-discoverable behavior for some period of time (but do be careful to not pull it out from under their feet).


adobe illustrator - Wrong Size when I export. Exports way off


Why is it that when I export an image in illustrator that is supposed to be 1500x500 it exports as 6520x2394 or some weird size and the image has no visible whitespace


I DONT WANT TO US THE SAVE FOR WEB. I am making a twitter header and it makes quality bad unless I am doing it wrong...




creative writing - How much time should you devote to learning the craft?



When is enough, enough?


Some writers argue that you don’t need how-to books, just practicing writing. Yet, many writers write beautifully but are incapable of producing a publishable novel, while mediocre writers sometimes sprout best-sellers . Some great lirerary writers seem to lack knowledge of essential story craft techniques.


while writing is an art, the dramatic form is a technical art. A technical art implies learning the techniques first.


@ what argues in Are 'how-to write fiction' books full of it?



Buying and (maybe) reading how-to-write books is a symptom of procrastination. Wannabe writers have shelves of them. And every time they feel afraid of starting to write and making mistakes, they go and buy another one (or post questions on forums such as this one), thinking that before they can begin their masterwork, they need the secret knowledge that all writers share and that will enlighten them and turn them into a writer. But they are mistaken. There is no secret to writing, just as there is no secret to walking or speaking, only that
you have to do it until it becomes second nature. And that is all the truth there is to it. You learn writing by writing. And by making mistakes.



and in Pirating books, taboo?




reading how-to books can be a sign of procrastination and an obstacle to actually writing your book. Recommending a download (and possible reading) of hundreds of books seems counterproductive to me.



@John Smithers makes a similar point in What are some online guides for starting writers?



If you read about starting writing, you are reading, not writing. Because you are still not writing, you'll decide you should read more about it, and well, you are still reading. There is interesting stuff out there to improve your writing, but that means you have to start. Grab your pen/keyboard and start. Just write. If you have filled your first three pages with "I do not know what to write" it will become boring and you will write something meaningful.



I do to some extent agree with @what that procrastination and going overboard are real dangers, yet some learning seems required. Some writers seem clueless about structure, tension, plot, dynamics, or climax.


For a “pantser” who writes junk and rewrites, rewrites, rewrites, and reformat it later into a coherent story whose final draft bears no resemblance whatsoever with the initial draft, writing as a technical occupation may seem anathema.


Yet, for “plotters” lacking even one tool or technical advice before finishing the story can be counterproductive and greatly damaging.


On one hand, yes most writing books say the same things in different ways; on the other there is often a snippet of information that is original and enlightening in each book.



Another arguments for reading as many how-to books is also that while the same info may be paraphrased, a different version can bring sudden clarity to a nebulously vague concept and click everything into place.


Also, being a writer is a profession, for most specialized profession going to college to get a degree is needed. Sure most classes are useless and redundant, but there is some need of formal education.


Maybe writing can not be taught, but techniques and style certainly can.


So, I am a believer in reading as many how to books as you can get your hands on. Yet, to validate @what point, I am also a procrastinator who much prefer developing stories ideas, structured outlines, and detailed scenes in sumary form rather than writing books.


So, is there a good balance between learning and doing, dreamer and writer, procrastinator and author?


I understand this may be subjective, but is there evidence of an optimal length of time or volume of books, as in no more than 6 months or less than 30 writing books.


P.S.


for book choices, i just "found" this SE Q/A What are good reads about writing?


EDIT


the debate continues In Answers that are off-topic @what resates a succinct version off his answer here about writing books:




I used to believe in how-to books, but have found that they don't work for beginners. That is both my personal experience and what I gleaned from reading what other, professional writers wrote or said about their career. I am absolutely convinced that you can only learn writing by writing a lot, and that trying to learn writing from books is in fact detrimental to your goal of mastering writing. You have read many fiction books (I guess), so you know what a book must be like, and all you need to do is try to write such a book.



here is a longish comment


What you say about writing books is full of wisdom, yet i don’t feel it is the whole of it. Drawing books are mostly for people who don’t know how to draw; they are stylized, proportionated, ideal versions of human beings. They are there to be a crutch supplemented by live drawings and observation.


Writings books are not the same, mostly they are not a bunch of do it like that, "paint by number", formulaic types. They give suggestions, concepts, methods, and then your own writing style and preferences determines what you write.


Yes, you are right that many people trying to make a quick buck try to copy, or fill in structures, i saw that a lot with movie scripts, but i don’t think it is the case for genuine wanabe authors.


About just learning by writing, i can’t agree. When i was a teen i wrote a lot of prose and poetry and started several novels. I was an avid reader, and had already read hundreds of books. These writings never became anything because i had no clue on how to dramatize, how to build tension, how to build characters, how to work on dialogues…..


Later in college i meet a lot of literary types and their writings never amounted to anything either, because they were clueless about craft and though you could sprout a novel from the sheer brilliance of your writings. Worse, some tried to emulate classical styles that they loved and read about, with disastrous effects.


Now that i am more mature, i am humble enough to admit i don’t know what makes a book tick, so i believe in learning all you can about technique.



here the issue is not about learning how to write but about crafting a good novel. To craft an entrancing narrative dream you need to meticulously plan, tap here and there, chisel this facet, polish that, to make a good novel emerge from your imagination. Yes, some great writers can do without, but that’s because they have an intuitive grasp of the same techniques.



Answer



I have been drawing for thirty years and published a few comic books. I draw reasonably well. When I was beginning to learn to draw – you can always get better, so you are never "accomplished" – I bought a whole lot of how-to-draw books. Strangely enough, following their advice to construct human figures by following their schemas of proportion never worked. The figures I drew looked like they were drawn by someone who had never seen a human being: stiff, disproportionate, and lifeless. Then I started drawing from life. I visited a nude figure drawing class and drew the people I saw on the bus. My drawings were awful scribbles at first, but even those scribbles looked powerful and vigorous. And with time my lines began to resemble my models more and more. Until I was able to draw so well that people began to accuse me of tracing photographs (which I didn't). At that time I began to go over my how-to-draw books again, and at that time I was able to profit from them and implement some of their advice into my process. With the help of the how-to-draw books, I began to detach myself from my models and learned to draw from my imagination by abstracting the implicit knowledge about human anatomy I had gained during the years of life drawing.


From the experience I have gained through my own writing, and from what I have read and heard from published professional writers, writing works the same.


Stephen King did not study how-to-write books. You might contest that he is not such a technically brilliant writer. But I will counter that he developed his own style, and that his style works for his readers, and that is all that counts. A technically brilliant writers who is not read is no proof of anything.


In any art, if you try to learn by following how-to-books, the result will be something flat and lifeless. Some of the most intense stories I read where badly written amateur writings. Why is that so? Because these amateurs wrote. They did not try to construct a plot by following the three act structure or the hero's journey or any other advice expounded in how-to-write books. They wrote from the center of their own being, completely ignorant of any craft, simply using what they had learned about stories by reading stories and by being experiencing the "stories" of life.


Sure, those amateur writings had plot holes and bad grammar, just as my scribbles did not look beautiful at all. But they had a story that was true and that touched me (and, as you can see from all those amateur writing sites, that touches others). All they needed to get good was to train their writing, and you only get better at doing something by doing it.


How-to-write books are bought and used almost exclusively by people who are afraid of failure. When I was beginning to draw, I wanted my drawings to be perfect. I did not want to learn, I wanted to skip that step, and I bought and read those books searching for the secret knowledge that would magically transform me into a master draughtsman. But there is no such secret, neither in drawing, nor in writing, nor in music or sports or any other ability. The secret, if there is one, are diligence and perseverance. You have to turn out a lot of bad writing or bad drawings or awful sounding tones before your writing or drawing or making music gets good. Sure, how-to-write books do contain useful advice. But it is about as useful as telling someone who learns riding a bike to keep their balance. That is, it is useful to discuss the craft among advanced learners, but not useful if you have no feeling at all for what balance is. You must first make some writing experiences that help you understand and apply the advice, and those experiences can only be gained by writing.


So write.


Learning to write does not mean that you have to go to school before you are ready to go out into the real world and take up a job. In writing, you learn on the job. Everything you write is meant for publication. You do not do exercises for your professor, you always write to submit to an agent or publisher. Of course you should get feedback from peers so evaluate your writing and not actually submit anything that is not ready for submission. But you should write for submission nonetheless.



Getting published is not a decision you make when you feel ready. It is something that happens when an agent or publisher notices that you are ready. This readiness will likely take time (see the notes below), but there is no curriculum of core knowledge that you objectively know when you have learned it, no exam in writing that will get you hired as a writer.


To answer your question:



You are ready to write now. You will get better as you keep writing. If you keep at it, eventually you will get published.




Notes.


Also read my answer to How does the 10,000 hour rule apply to writing?, where I interpret statistical data.


Jim C. Hines went a bit further and actually asked authors how much they had written before their first professional publication. The following is taken from his summary of his findings.


On average, professionally published authors had been writing for more than eleven years, before they made their first professional novel sale. Before their first professional sale, they had written an average of three to four unpublished novels. 58 of 246 authors sold the first novel they wrote (but the survey does not ask wether these authors had experience writing non-fiction, e.g. academic papers or newspaper journalism, so we don't know what this number means).


In all, while there are overnight successes, the majority of professionally published writers need to learn their craft, and the better approach is to assume you are one of them.



adobe photoshop - What is the easiest way to have a better quality image from a given image


I am a novice for graphic design.


I have a low quality image which is given by my friend, its size is really small, but we want to make it bigger and clearer so that we can use it as a banner or logo or etc.


enter image description here



So my question is what is the easiest way to get a better quality image from a given(smaller, low quality) image?




  1. Should I manually draw it, and how, what tools to use?




  2. Or is there a way which I can easily convert it to a vector and then increase the size and then save it back as a png?





Answer




In order to turn your low-resolution graphic into a high-resolution (or vector) version, you'll need to trace over it in a program like Adobe Illustrator.


Illustrator also has the "Live Trace" feature, which can quickly turn that sort of black-and-white icon into a vector instantly.


Once the image is vector, you can stretch it infinitely large or small and not lose any quality.


For your second item about the heart, I really don't have any idea. You should post your questions as separate anyways, it becomes really confusing trying to answer two different things at once.


website design - Is it okay to open a help link in a new window?


I have read Jacob Nielson's usability book and he says links should never open in a new window. Here are some of his reasons:



  • Novice users cannot manage multiple windows and become disoriented.

  • The back button in the new window doesn't take them back to their original window.

  • When people want a new window, they'll do it themselves with a keyboard/mouse shortcut.



He says the only exception is links that open in an application, such as Microsoft Word DOC and Adobe PDF. May I propose a new exception? Consider the case when the user is several minutes into a complex web application. There's a link on this application that leads to some advanced help files. So as to not wipe out all of the user's work, that help link opens in a new window. Is this a legitimate exception? Will power users get pissed if the link is forced to open in a new window?



Answer



I'd suggest there is a distinction between a web site and a web application - a distinction that very well didn't exist when Jacob Nielson wrote his book.


When you click a web link from within Microsoft Word, a new browser page opens and your word document stays in place.


Equivilently, when you click a link from within a Web Application, the user will expect a new browser page to open and for their work to remain.


For help files, there's another precedent: Help almost always (*) opens in a separate window and leaves the users work intact.


(*) I can't think of an application where it does't do this, but there are always exceptions.


Photoshop - how to save just one layer?


I guess many webmasters create layouts in Photoshop before coding, my layouts are full of different elements, buttons, icons, headers etc.


When I need to save a icon, I'm selecting it on layers list, right clicking, Duplicate, New, and here we are... The newly created tab with my icon has dimensions of the whole layout, not the icon, so when I'm having 1680x1050px layout and 20x20px icon then I'm getting 1680x1050 file with small icon in the middle, or somewhere else, and I have to drag the item to upper left corner of new image and cut the rest (I use crop tool usually).



Is there another way to save each layer (mostly rasterized) as a .jpg/.png transparent file without all this cropping? Or just open duplicated elements in new "tabs" with proper width/height?




Thursday, March 22, 2018

inkscape - How to z-rotate a rectangle in perspective using inskcape?


I have managed to draw a limited perspective sketch in Inkscape. My aim is to add rectangles in perspective (like the black one already in the picture) but rotating on the z axis (xy plane) to illustrate that this figure moves along a pivot that runs along this axis. The rotation should be from the intersection with the axis, so I’ve tried to move the rotation center and then rotate the object but it’s not producing the desired result.


Here is a PNG of my sketch:



enter image description here



Answer





  1. Create something like this:


    enter image description here


    The black lines on the left are your axes. The cyan object on the left is a perfect rhombus that is parallel to your bottom axes. The red object on the right is a perfect square. The rectangles on the right are what I understand that you want to put into perspective with the black spot marking the intersection of the axes.




  2. Apply path → object to path to all objects in the right half.




  3. Group all objects in the right half.


  4. Select the group and then the rhombus. Apply extensions → modify path → perspective. You should get something like this:


    enter image description here




  5. Remove the red and cyan rhombus.





  6. Align the transformed rectangles on the vertical axis using the black dot:


    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...