Text
How to empower designers to code
For some originators the most ideal approach to learn front-end advancement is at work. Numerous organizations need to pull in planners who code, yet may miss the mark concerning sufficiently giving help.

Amusingly, a considerable measure of originators who could code, don't do it as part for their activity ā not on account of they would prefer not to, but rather on the grounds that their work environments don't find a way to help them in doing as such.
So what helps transform a working environment into a domain that enables architects to code?
01. Set up advancement conditions from the earliest starting point
Get new workers set up to contribute code as early conceivable. At Etsy we do this as a component of our onboarding procedure. Planners experience an instructional exercise in the initial couple of days and push a little code refresh to Etsy.com. They need to set up their advancement condition and comprehend our work process -, for example, how to take a shot at code locally, how to utilize Git, and how to run tests before sending. Starting here on there is no hindrance to them coding on generation.
Regardless of whether you permit everybody to convey or not, ensure you educate new fashioners your procedure right on time, before plans get occupied with venture work.
02. Enable creators to manufacture connections as they locally available
There's normally significantly more to learn than setting up the improvement condition, and even at little organizations there will be in excess of one individual that can help with preparing. Blending originators up with various colleagues all through the onboarding procedure gives them a more extensive system of help, and causes them begin building associations with their partners.
03. Make it simple for planners to construct certainty
It's harder for new coders to assemble certainty on the off chance that they fear breaking things. While administrations like JS Bin and CodePen can be incredible spots to work on coding and rapidly model thoughts, it's better if creators can hone with a similar code they'll work with on generation.
Most associations utilize Git for variant control. Show fashioners how to function with Git branches. Branches are a decent method to try different things with generation code while keeping it far from the fundamental codebase.

Imaginative individuals jump at the chance to propel themselves ā why dishearten that?
At Etsy, we set up sandbox conditions for prototyping plans. They utilize a similar style control we use on generation yet are isolated from the primary application to make it quick and easy to work in. Sandboxes have made it simple for creators to investigate formats in the program and are regularly utilized as a trade for normal outline instruments like Sketch and Photoshop. In the wake of coding up a model, fashioners can share a URL to their sandbox to get criticism or convey a code survey on the grounds that sandboxes are followed in Git.
04. Report everything and stay up with the latest
Numerous imaginative people get a kick out of the chance to attempt and make sense of things for themselves. Keeping everything recorded enables individuals to be self-ruling.
Apparently one of the greatest issues is staying up with the latest, and it can be hurtful in the event that you don't. While there's no silver shot, you can diminish inconsistencies by building documentation refreshes into different procedures.
In the event that you refresh code, influence refreshing the going with documentation to some portion of your training. Keep documentation with your code on the off chance that you can. It's less demanding to consider refreshing when it's in that spot with the code you're refreshing.
Utilize routine occasions, for example, preparing and onboarding to audit documentation and spot outdated material. Influence it to some portion of your procedure to:
check through documentation and make refreshes before running an instructional course
make notes amid the instructional course in the event that you discover things require upgrades
request input and work so as to make refreshes.
05. Enhance improvement work processes with tooling
Tooling can make outlining in an improvement situation significantly more agreeable. As your designing group develops, it's probable you'll begin to construct apparatuses that assistance with your improvement work process. Consider how they may likewise help fashioners.
Creators are energetic about the client encounter. Make it simple for them to see when their code impacts clients, and they'll begin to learn better practices. At Etsy we see a toolbar at whatever point we're signed into Etsy.com or our improvement condition. It indicates us data, for example, page execution and openness issues. It's exceedingly unmistakable with the goal that everybody can check whether they're decreasing the nature of the item while taking a shot at the site.
Robotized testing and CSS linting are extraordinary approaches to survey issues with code. Tests help architects (and everybody) be certain that their code won't break the assemble or decrease the nature of the item.
Lessening the input circle is critical for everybody. Planners are accustomed to seeing changes in a flash in outline programming. Seeing code changes progressively makes outlining in the program more pleasant, accelerates the plan procedure, and enables architects to pick up a more profound learning of how the code functions. Instruments that enable you to see immediate changes will be a creator's closest companion.
06. Influence coding some portion of your outline to culture
Building a culture where originators feel engaged to code requires some investment, so begin from the very beginning. Incorporate preparing amid onboarding and evacuate obstructions as prior as could reasonably be expected, be careful with your documentation, and manufacture tooling in light of originators.
Occasions, for example, hackathons, customary bug-killing revolutions, or noon talks are awesome approaches to help spread information, offer open doors for specialists and creators to manufacture a compatibility, and enable fashioners to end up more acquainted with building work.
Genuine cooperation isn't tossing outlines over the divider. It's planners, engineers, and whatever remains of the group sharing the obligation to manufacture a quality item. Decrease the hindrances, bolster and enable them, and originators who code will turn into the standard.
0 notes
Quote
āThere are the type of people who are going to live up to what they said they were going to do yesterday and then there are people who are full of shit. And thatās all you really need to know. If you canāt be bothered to show up, why should anybody show up. Itās just the end of the fucking world.ā
Anthony Bourdain, telling Menās Journal about the two types of people in this world.
0 notes
Text
The Golden Ratio
Ah, the Golden Ratio. No other number has ever received so much mystical devotion. Old texts on aesthetics even call this number the āDivine Proportion", such is its reputation in arts.
Also known by the Greek letter Ļ (phi), this curious irrational number has a closed-form given by:
Ļ = (ā5 + 1)/2 = 1.61803398875ā¦
Since it is one of the solutions of the polinomial equation x² - x - 1 = 0, this number is considered an algebraic number, as opposed to being trasncendental, like Ļ or e are.
From nautilus shells, the human body to spiral galaxies, the Golden Ratio seems to be everywhere in Nature, right?
Well, not really.
A very large portion of what you have probably heard about this number is just hype, widely propagated myths, extremely far-fetched analysis of data or, putting it mildly, just made-up nonsense.
Now, donāt get me wrong here. The Golden Ratio really is a very interesting number with a number of outstanding mathematical properties. This is why it saddens me to see so many people praising it for all the wrong (and wildly innacurate) reasons.
For instance, several spirals in nature are logarithmic spiralsbecause they are the same independent of the scale. This sort of thing is bound to show up whenever you have exponential growth in a circular fashion, two phenomena that are extremely common in nature. In the end, logarithmic spirals are really just exponential functions in polar coordinates.
However, not all logarithmic spirals are Fibonacci spirals. In fact, what it is known as the Fibonacci or Golden spiral, derived from the famous construction using nested squares and golden rectangles (shown below), is a very gimmicky geometric construction that really shouldnāt be expected to show up in nature at all. Nature doesnāt work with squares and rectangles!
n the study of aesthetics, the Golden Ratio is often praised as being the most beautiful ratio for things, a dogma that gets passed around a lot in design circles. Several studies have shown no correlation between the Golden Ratio and a sense of beauty or aesthetics. (check links at the end of the post for more on this)
I could list most of these myths here, but I would just be repeating what has already been said by many others. So if you want to find out whatās true and what isnāt about the Golden Ratio, I recommend that you watch this talk by Keith Devlin or read this article by Donald Simanek. More links and resources can be found a the end of the post.
With that usual Golden Ratio crap out of the way, I can now finally talk about why this number is REALLY cool.
Ļ - The most irrational of all numbers
Irrational numbers are numbers that cannot be expressed as the ratio of two integers. Note that the keyword here is integers. This little important detail gets a lot of people confused, usually because of Ļ.
While Ļ is usually defined as the ratio between the circumference of a circle by its diameter, you cannot have both of those quantities being whole numbers, because Ļ happens to be irrational. You can approximate an irrational number with rational approximations, such as 22/7 = 3.142857142857⦠or 3141592/1000000 = 3.141592, but no matter how large the two numbers of the ratio are, youāll never find a ratio that is exactly Ļ. The same is true for any other irrational number, Ļ included.
That animated infinite fraction you see at the top is an example of what we call an infinite continued fraction. Continued fractions are a powerful way to represent irrational numbers because they show you how good a rational approximation is: larger terms in the continued fraction mean you are adding smaller corrections, which tells you the approximation is good. Additionally, all irrational numbers have unique infinite continued fraction representations, a very useful property.
But since we know the larger terms mean ābetter approximations", we can think of what would be the worst approximation ever for any number. This would be the infinite continued fraction where the terms are the smallest integer available: 1.
And, it turns out, this infinite continued fraction represents the number Ļ! This is what the animation is representing.
Think about that for a second. There are an infinite number of irrational numbers, and of all of them, Ļ is the absolute worst number to approximate using a ratio of two whole numbers. In a sense, Ļ can be said to be the āmost irrational" of all irrational numbers!
This makes me wonder why we even call Ļ the āGolden Ratio" to begin with, as it is the one number that is as far from being a ratio as it is mathematically possible.
Ļ and Nature
This āsuper-irrationality" of Ļ can be pretty useful, and it is one of the reasons (if not the only one) why approximations of Ļ show up in Nature, for real this time.
Imagine you have a periodic process, such as leaves growing on a plant stem. If one leaf grows directly on top of another, the leaf below will not be exposed to the Sun due to the shadow cast by the leaf above, so the leaf below will be pretty much useless.
Evolution would favor plants that add an offset between leaves, perhaps by having the stem twist as it grows. This would improve the amount of sunlight each leaf is exposed to, making the plant more efficient and giving it an evolutionary advantage.
However, if the amount of twist between consecutive leaves is a nice ratio of full turns, say 2/3, you would get an overlap between every 3rd leaf. So in this case, you donāt really want nice ratios. You want the leaves to be as spaced as possible, that is, you want the worst ratio you can think of.
As we already know, Ļ would be that ratio. However, Ļ cannot really exist out there in the real world, so approximations are as good as we can get.
And guess what? The rational approximations available for Ļ are the ratios between two consecutive Fibonacci numbers. But you probably knew that already.
This explains why Fibonacci numbers may show up in Nature. Whenever you have a periodic process that would benefit from being āas irregular as possible", Fibonacci numbers are bound to show up as approximations for Ļ.
The āreal" golden spiral
Letās say you have a bunch of points that you want to distribute evenly on a disk, as efficiently as possible. This sort of problem shows up in Nature, like in the case of sunflower seeds.
The easiest way to do this, in terms of a set of basic rules, is by using a very special spiral known as Fermatās spiral, in which the radius is proportional to the square root of the angle, that is, r(Īø) = kāĪø, for some constant k.
Since the area of a disk grows with the square of its radius, this spiral has the property of ācovering" equal amounts of area for the same amount of rotation.
If you pair this property with the irregular spacing mentioned previously, by picking points along this spiral in multiples of Ļ (in terms of full turns), you have a very simple rule to achieve the goal of distributing these points along the disk.
You can play around with this idea in the applet below. Apart from the sliders, you can also change the ratio using the left and right keys. Hold shift and/or control to increase the rate of change. You can also type in a fraction like 22/7 in the ratio text box and hit enter.
Go nuts!
Youāll see that most irrational numbers produce some pretty obvious patterns right away. Ļ and its reciprocal (in fact, the entire family of numbers sharing that same fractional part) are the only numbers that get everything as evenly spaced as possible, no matter how large the spiral is or how many points you use. In fact, even tiny variations from these ratios already ruin the whole pattern.
Picking different functions for the radius will reveal how Fermatās spiral is special regarding the radial spacing between dots.
For fun, I also decided to plot lines connecting two consecutive points. You can get some pretty neat images with this, showing the patterns even more clearly. As expected, Ļ gets you the most messy and irregular of all images, as shown in the second image in this post. For comparison, I also included some other irrational numbers as ratios.
In three dimensions
Now imagine that instead of a disk, you wanted to distribute points uniformly on the surface of a sphere. This problem shows up every now and then, and it cannot be solved so easily. The usual algorithms to solve it involve physical simulations of repelling particles with friction. After a long simulation time, the system will achieve a somewhat decent equilibrium state. This method is particularly troublesome if weāre talking about thousands of points, as weād have to simulate the interaction between every possible pair of points.
However, we can do better than that. A spiral similar as the one for the disk can be used to distribute points across the surface of a sphere, in a way that makes them relatively uniform.
So thanks to Ļ and its irrational properties, we can tackle a hard problem in a relatively straightforward and direct way. Pretty clever stuff!
Find out more of the truth about Ļ
Well, thereās a lot of other cool stuff I could say about Ļ, but this post is already pretty long as it is and the links below are full of more stuff.
āMath Encounters ā Fibonacci & the Golden Ratio Exposedā by Keith Devlin. Accessible to all ages. (I liked it, though from the comments, a lot of people seem to hate this lecture.)
āFibonacci Flim Flamā by Donald E. Simanek, which criticizes most of the myths about the golden ratio
āThe golden ratio and aestheticsā by Mario Livio, a skeptic look at the claims about phi in arts
āThe Golden Ratio: The Story of Phi, the Worldās Most Astonishing Numberā by Mario Livio, if you are looking for all the real, no-nonsense mathematical coolness behind Ļ
āDoodling in Math: Spirals, Fibonacci, and Being a Plantā, ViHartās series on Fibonacci numbers in nature.
0 notes