YOU ARE THE REASON

No title available

Product Placement
art blog(derogatory)
Cosmic Funnies

titsay

Kaledo Art
we're not kids anymore.

shark vs the universe
TVSTRANGERTHINGS
I'd rather be in outer space đ¸

Andulka
RMH
No title available

JVL
he wasn't even looking at me and he found me
wallacepolsom

â
Keni

blake kathryn
seen from Germany
seen from Argentina
seen from United States

seen from Brazil

seen from Iraq
seen from United States
seen from United States
seen from United States

seen from United States
seen from Brazil

seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from United States
seen from United States
seen from United States

seen from United States
seen from France
@advizer
{{metaTag.description}}
A little homework for university
Facial Anatomy
âYou can see many different structures including the parotis, sternocleidomastoid muscle, clavicle, buccalis muscle, trapezius muscle and so many moreâ. Author Unknown
Source:Â Daily Anatomy
A quick latex programming tutorial
So, I like LaTex. Itâs like programming a document and having (nearly) full control about what happens with lots of fancy packages. I came across the Tikz-Package (which allows you to even programprogram graphics) I also found this brilliant documentation (which you can find here, if youâre interested http://pgfplots.sourceforge.net/TeX-programming-notes.pdf ) So I got to the point where I was able to automatically attach the fraction labels with a foreach loop.Â
That was the point where I thought that it would be nice if I could write a little program to simplify the fractions and display integers where possible. As it seems not to be the most natural thing to do with LaTex (I spent some time on research) as you can use things like R and Sweave and whatever (Iâm just a newbie to LaTex - thatâs why I wanted something simple) it took me some time to figure it out. So, letâs get started!
1. Variables
As in any procedural language you find different types of variables you can use. However, by default, they seem to be limited and not changeable in their names. So if you want to store an integer you type \count0=1 where â\countâ tells LaTex that itâs an integer and the number 0 to use the first of the 256 available slots, followed by an equal sign and the value you want to store within (the length of the number you can store is 32 bit). There are also 256 \dimen (fixed point numbers which need a unit behind like pt or cm) and \toks (string), always followed by the number of their register.
You can display the value of these variables by adding a \the before their name. so
---
\count0=42
The answer to eveything is \the\count0 .Â
---
Will produce the output âThe answer to everything is 42.âÂ
Surprise! Well that was easy. Letâs move on to...
2 If and Else
Letâs suppose you want to compare your variable to another number. What you would type is:
---
\count0=42
\ifnum\count0>0
 This is a positive number.
\else
 This is a negative number. Or 0.
\fi
---
You can do the same thing with \dimen by typing \ifdim. You may say: âThatâs nice, but what about logical operators like âANDâ or  âORâ?â and the sad answer is, I donât know. There might be packages that implement an \or - but you have to find them yourself - I didnât. So what to do. At least you can nest the if statements, so that if you wanted to know if your number is greater than 10 and smaller than 20 it would look like this:
---
\count0=15
\ifnum\count0>10
  \ifnum\count0<20
    \count0 is smaller than 20 AND greater than 10.
  \fi
\else
Not in the range.
\fiÂ
---
Ok, but...what about booleans? Do I have to use integers and compare their value? Well you âonlyâ have 256 that all have the same name so luckily there are Booleans. I didnât mention them in the variable part - thatâs because they seem to be made explicitely for if statements (ok what other purpose would have a boolean). You can even give them names. You declare them by \newif\ifnameofthevariable and set them by \nameofthevariablefalse or \nameofthevariabletrue.Â
---
\newif\ifhappyboolean
\happybooleanfalse
\ifhappyboolean
 this will never happen.
\else
 this will be displayed.
\fi
---
Crazy stuff and not the language you want to program a rocket launcher with. Still some things left to cover. For example...
3 (Builtin) Arithmetical operations
Suppose you want to add 10 to your variable. You have to do this:
---
\count0=5
\advance\count0 by 10
---
same applies to division (\divide) and multiplication (\multiply). Ah yes. and there is no subtraction. You can however abuse the âadvanceâ operator and add a negative number.Â
Or you agree with me that this is poor and use a package. Like intcalc. So we declare \usepackage{intcalc} at the beginning of our document and can do nearly ârealâ math ;-) you can view the documentation here. There is also a nice function for Subtraction.
4 Comments
You can comment at any time in Latex by Starting with a %.
5 Functions
I donât know if the original idea behind this command was to allow functions, but it does. \newcommand{\nameoffunction}[2]{%stuffthatthefunctiondoesgoeshere} defines a function that is called ânameoffunctionâ and that has 2 arguments. The first function call is always behind the declaration of the function. Meaning that calling the function before its declaration wonât work. It is therefore a good idea to place the function declarations and its definition at the top of your document. An example of a function I will provide in the following chapter.
6 Loops
For my case of the simplification of fractions I needed to have a loop. There is no basic concept again, meaning you could use a construct like for (int i; i<10;i++) do something. You can create yourself loops to what you need. There is this pdf online to show you how (and which I used to learn most of the programming features of latex)
In my case, I simply did a recursion right away:
---
\newcommand{\euclid}[2]Â
%Returns greatest common divisor %#1 must be greater than #2
{
\ifnum#2=0
  #1
 \else
  \euclid{#2}{\intcalcMod{#1}{#2}}
 \fi  Â
}
The greatest common divisor of 256 and 96 is \euclid{256}{96} ---Â
7 Finished Result
With all that stuff learnt, I finally got my labeling to work :-)
The functions:
---
\usepackage{intcalc}
\newcommand{\fracOrNot}[2]
{
\newif\ifneg
\ifnum#1=\intcalcAbs{#1} %1 is positive
\ifnum#2=\intcalcAbs{#2} %2 is positive
\negfalse
\else %2 is negative
\negtrue
\fi
\else % 1 is negative
\ifnum#2=\intcalcAbs{#2} % 2 is positive
\negtrue
\else % 2 is negative
\negfalse
\fi
\fi
\newif\iflong
\longfalse
\ifnum\intcalcAbs{#1}<\intcalcAbs{#2}
%first number must be greater than 2nd number
\count0=\intcalcAbs{#2}
\count1=\intcalcAbs{#1}
\longtrue
%switched %debug
\else
\count0=\intcalcAbs{#1}
\count1=\intcalcAbs{#2}
\fi
\ifnum#1=#2 {
1
}
\else {
\iflong
\count3=\intcalcDiv{\count0}{\euclid{\count0}{\count1}}
\count2=\intcalcDiv{\count1}{\euclid{\count0}{\count1}}
\else
\count2=\intcalcDiv{\count0}{\euclid{\count0}{\count1}}
\count3=\intcalcDiv{\count1}{\euclid{\count0}{\count1}}
\fi
\ifnum\count3=1
\the\count2
\else
\ifneg
$-\frac{\the\count2}{\the\count3}$
\else
$\frac{\the\count2}{\the\count3}$
\fi
\fi
}
\fi
}
\newcommand{\euclid}[2]
{
\ifnum#2=0
  #1
 \else
  \euclid{#2}{\intcalcMod{#1}{#2}}
 \fi  Â
}
\newcommand{\simplify}[2]{
%if one of the arguments is 0, return 0
\ifnum#1=0
0\else
\ifnum#2=0
0 \else
\fracOrNot{#1}{#2}
\fi
\fi
}
---
Better Dashboard Design
So this series will be about how you can achieve a better Look and Feel for your data presenting dashboards. Weâll get startet with episode one:
General Tips
1.) Direction of Reading: Think of your dashboards as of the pages of a book. Then think of charts as the sentences on your page and as the contents of your charts (charts, legends, filters etc.) as words of such a sentence. And the word order is what is the âdirection of readingâ: placing important information first. That is, for example a legend that describes the colors you see in the chart:
2. Avoid Double Information:Â Letâs say you have multiple charts on your dashboard that are all treating the countries where you sell. Usually, You need legends for all of them. You donât, if you use the same colors all over the dashboard. A bar chart by the way can serve as legend - if you color the bars correctly and show the barsâ names:
Again, you want to consider reading direction - to set the bar-chart on the left.
3. Using Symbols can speed up the perception process:Â Symbols, if the viewers know their meaning (!) can be shortcuts for the thing they stand for. Then, you donât need a legend and the viewer doesnât have to look them up. Examples are flags or simple shapes of every day life things.
4. âTestâ your dashboard with unexperienced users: Youâve been working it out. As a consequence you are familiar with what you see and may forget a crucial label for understanding. Such thing can be avoided by asking others:Â âWhat do you see in my dashboard?â and carefully observing their way of interacting with your artwork.
5. Choose a style and stick to it: You use a color scheme for the whole dashboard? Great! A special font-type? Even better if itâs simple and easy to read. There are also symbol schemes and formatting styles (to highlight titles for example) you can think of to make your dashboard the iphone of all dashboards.
SNCF is doing a poll at Montparnasse, Paris. And giving an example of how you shouldn't do it. "Do you like the idea of a hamburger 24/24?" And as it's a question of yes or no, you await two equal opportunities to answer. But to express your negative attitude, you have to possess a smartphone with a qr-code-scanner installed and the motivation to pass a certain amount of time to do so.
Webanalysts work like NSA spies; Both are on the hunt to get most details off their targets and in every case a gain of profit is only accomplished by active verification of theory. The violation of webanalysts' targets' being however, relies exclusively in advertising campaigns.
Yeah! Bringing Scatterplots to the third dimension with Blender :-)Â
awesome vizualization technics where you maybe don't attend it: Cyber warfare.