Profile

Cover photo
Ukiah Supermighty Smith
Works at Doe-Anderson
Lives in Louisville
324 followers|73,264 views
AboutPostsCollectionsPhotosYouTube+1's

Stream

Ukiah Supermighty Smith

Shared publicly  - 
 
Woh! Twitter to remove 140 character limit for direct messages only. Will raise it to 10,000 characters. 
1
Add a comment...

Ukiah Supermighty Smith

Shared publicly  - 
 
 
For the last 30 months we have been working to create a REST framework in Go that's actually good. And yes, we took the time to study, evaluate, use and disagree with about 20 others :-)

I think the biggest reason it's good is that it is minimalistic.

https://vividcortex.com/blog/2015/06/01/siesta/
Siesta is a small, flexible REST framework for Go with middleware and composition.
6 comments on original post
1
Add a comment...
 
gb is a new dependency management and build tool for golang
gb is a new build tool for Go created by Dave Cheney. It address the problem of reproducible builds. Building the same functional binary anywhere at any time is a problem of dependency management. Of knowing exactly which library version to use, and having it at hand. gb is a radical tool compared to current dependency solutions, which work with the existing Go toolchain and idioms. gb takes a different approach, it replaces not only dependency m...
24
9
Mauro Risonho de Paula Assumpção's profile photoAndy Huang's profile photo
Add a comment...

Ukiah Supermighty Smith

Shared publicly  - 
 
Well said.
 
This is my response to the recurrent meme that +The Go Programming Language is crude. 

Just like a good musician can play wonderfully with a basic guitar, or a good photographer can take a well composed photograph with even a simple point and shoot instant camera, good programmers don't let themselves be distracted by new shiny features or architecture astronomy when delivering good software.
When I was younger, I wanted to learn to play the guitar (this was the 90's after all). So I cracked open my piggy bank, bought a decent beginners guitar and took some lessons. I regularly bought the guitar magazines that appeared in the local newsagent and practised along to my favourite songs.
3 comments on original post
1
Add a comment...

Ukiah Supermighty Smith

Shared publicly  - 
 
 
Stripping out file-paths from Go binaries.

The default Go compiler keeps the full paths of the sources in the binary. This aids in debugging. However, sometimes it is desireable to have these removed from the final output, and sometimes you only really want a relative path to be in there.

There's no official support to let us do that at the moment, maybe I'll file a feature request (or patch) to Go if there are enough people wanting the capability.

It's relatively simple to achieve this, for example to remove the directory names, but keeping the filenames:

src/cmd/ld/pcln.c:
  in pclntab(), replace
     setuint32(ctxt, ftab, start + s->value*4,
                   ftabaddstring(ftab, s->name));
  with
     setuint32(ctxt, ftab, start + s->value*4,
                   ftabaddstring(ftab, basename(s->name)));

src/cmd/ld/dwarf.c:
  in writelines(), replace
    strnput(files[i]->name,
                  strlen(files[i]->name) + 4);
  with
    strnput(basename(files[i]->name),
                strlen(basename(files[i]->name)) + 4);

The debug section of the executable also contains some paths. To tell Go not to compile with debug symbols and strip the binary, use `go build -ldflags "-w -s"`.

I've tested this with my program and it's been running ok. Not sure if any problems may be triggered by doing this (Go authors should know). But this is just a quick hint for others who might want to do something similar.
2 comments on original post
1
Add a comment...
 
Understanding Go Dependency Management  http://wcty.hk/92 Where I talk about the changes being discussed on the mailing lists.
Right now there is a discussion thread on the golang-dev mailing list about formalizing how Go manages dependencies. The Go Team is putting forward that Go use vendoring to manage dependencies, and asked the community to formalize a configuration format that tools can use to manage vendored code.
5
1
Paul Swanson's profile photoLitixsoft GmbH's profile photo
 
Thanks for the update.
Add a comment...
In his circles
302 people
Have him in circles
324 people
Dan Impact's profile photo
Aaron Fautz's profile photo
Button Masher Films's profile photo
Ben Wilson's profile photo
Ty Belisle's profile photo
Jerome Turner's profile photo
Scott Schroeder's profile photo
Mark Biek's profile photo
Markus Heibø's profile photo

Ukiah Supermighty Smith

Shared publicly  - 
 
Helpful information.
 
Training on Empty
The debate of whether or not it’s good to train on an empty stomach also represents the divide between what science can tell us about fitness and what tradition accepts as being ‘true’.

To answer the question of whether it’s possible to train on an empty stomach we need to understand that every time our muscles are asked to exercise a number of complex, overlapping systems kick in. These systems intertwine which only adds to the confusion. To simplify and untangle them and get to a definitive answer we will look at this from the perspective of three simple elements that are involved in the process of muscle activation, every time:
- Muscles
- Fuel (in the form of Adenosine Triphosphate or ATP)
- Oxygen

Every time that our muscles work these three  elements combine to power several different chemical processes the efficiency of which is determined by a person’s cardiovascular and aerobic fitness, diet, body fat composition and the quality of the muscles they carry.

Without oxygen of course, nothing happens, yet sufficient oxygen for things to happen is not always readily available within the body which is why there is an anaerobic response.  

Anaerobic Activity
Ask your body to run away from a zombie horde, lift heavy weights or jump over a collapsing bridge and your muscles kick into high gear and respond. This instant response is made possible because there is glycogen stored in the muscles that can be broken down through a process called glycolysis to produce pyruvate which is then converted into Adenosine Triphosphate (ATP), carbon dioxide and water. ATP is what powers the muscles.

Unless you have been hyperventilating beforehand, at that point there is insufficient oxygen in the bloodstream to power the process so the Cori cycle, also known as the lactic acid cycle, kicks in and the body works anaerobically (i.e without the need for oxygen). Lactic acid is produced during this process and it enables the muscles to continue to work past the stage where their ATP supply is exhausted. The muscle fibers that are activated to do all this are Type IIB, they are extremely fast in action, can produce great force but can operate only in short bursts before they get fatigued.

These are muscles that are great at helping you get away from the brain-eating zombies and taking action that helps you survive in an emergency but they cannot continue to power your workout past the first few minutes.

Aerobic Activity
As you continue to work out your body’s temperature goes up due to the thermic effect of muscle activity. You take deeper, ragged breaths, your lungs expand and more oxygen from each breath is delivered into the bloodstream which the heart then pumps to the muscle groups in the body that need it most.

The moment oxygen arrives on the scene the Krebs cycle, also known as the citric acid cycle, kicks in. The Krebs cycle takes carbohydrates, fats and proteins and converts them into glycogen which can then be broken down into pyruvate through glycolysis to produce the now familiar ATP, water and carbon dioxide. One of the byproducts of this cycle is lactate which is then used by the body to transport glucose out of the liver, where it is stored, and into the muscles.

The muscle fibers that make this possible are Type I. These are slow twitch fibers that have a slow response rate, do not produce tremendous force but are highly resistant to fatigue. If you were busy running away from the zombie horde, by the time these muscles kicked in you’d have put some distance between it and you, rounded the corner and slowed down a little, gulping in air as you’re out of breath and your muscles are now burning aerobically.

The presence of oxygen in the bloodstream means that the body is now beginning to use fuel stored in the liver (glycogen) which is essentially carbohydrates. Should you continue to run a little longer and that fuel source runs out the body would then go to the stored fat reserves and use them as its next available fuel source.

More Anaerobic Activity
Suppose that having escaped the clutches of the zombie horde you decide that your best bet is to just get out of town so you just keep on running. At that point your breathing changes. The rate at which you ingest oxygen becomes less rugged and your breathing gets more even. Your breaths continue to be deep but now are measured. Runners and martial artists call this “second wind”. At this point the body continues to ingest large quantities of oxygen but the muscles are working mostly anaerobically.

The muscle fibers employed now are Type IIA. These are moderately resistant to fatigue, can work anaerobically for a long time and can produce a high level of force which is why you can suddenly speed up again when you’re running, after having slowed down to catch your breath a little. At this stage both the Cori and the Krebs cycle are in effect.

The body is looking for larger sources of fuel and these are the fat deposits that are converted into glycogen that can be turned into ATP, lactate, lactic acid, water and carbon dioxide. If your running away from the zombie horde entails running a marathon and your fat deposits are not enough then your body will look to protein to convert into glycogen to fuel its run.

This is a case of last resort. Protein (i.e. muscle) is not a great fuel source for the body as it takes between 20% and 30% of its energy value just to break it down plus by doing so the body cannibalizes its own muscle which makes its long term survival less likely. The body is only likely to look to protein as a source of fuel if the starvation response kicks in. Seeing how this also slows down the metabolic rate which makes vigorous exercise virtually impossible, it is unlikely that you will experience it in the gym or running away from a zombie horde.

Can You Train on Empty Or Not?
This is the question we set out to answer and seeing the processes that go into powering the muscles the answer is a definitive yes. Studies show that you can run for 2 hours at marathon pace before your body runs out of glycogen  and a 2010 study published in the Journal of Science and Medicine in Sport showed that cyclists who completed exercise early in the morning without eating breakfast (fasted state) improved muscle glycogen stores by as much as 50% over the group that ate breakfast before their exercise.

There is additional research that shows that training on empty sensitizes the body to the insulin response allowing it to utilize glycogen in the bloodstream better. Plus, for athletes, there is the added benefit that on an empty stomach there is no diversion of the blood supply to anything but the muscles that need it.

So, why all the confusion? Well, there is a little more.

Timing is important
A study, published September 2008 in the Journal of Physiology and Pharmacology found that those who trained on an empty stomach and then went to bed, without eating, exhibited slowed muscle repair and growth, even though they consumed enough calories after they woke up. This is because human growth hormone (HGH) an anabolic, which is elevated during sleep is adversely affected by catabolic hormones like cortisol, glucagon and adrenaline that flood the system when training on empty. The same study also showed that people who are new to exercise, as a whole, should not exercise on an empty stomach because they experience lightheadedness, dizziness and even nausea as a result of low blood sugar which is usually the result of inefficiency in fat and glycogen breakdown in their bodies.

Showing just how important timing is, the most recent study from Northumbria University, in the UK, showed that you can lose as much as 20% more body fat by exercising in the morning before breakfast.

The 'Bulk and Cut' Question
What about the large body of empirical evidence that shows bodybuilders lose some muscle during their 'bulk and cut' phase? Well, let's look at some of the studies on this front. A 1996 study on bulk and cut without exercise found that the diet itself caused hormonal changes to take place in the body which helped in creating more muscle even as they also added to the fat content of the body. There is a complex process of hormonal changes that take place as a result of diet that directly impact upon the muscles' ability to work thermogenically. In other words during the cut phase of their training bodybuilders do not train at the same level of intensity. The body, being an adaptive machine optimizes itself so that it does not have to carry muscle it does not need, plus it now has the added impetus of fewer calories coming in. For bodybuilding which is all about building muscle for show a bulk and cut phase is a delicate balancing act between dropping body fat (which does happen) and losing some muscle, which also occurs.

Summarizing
So, absolute beginners who are looking to jump-start their fitness by training on empty, shouldn’t. Body builders who need to build muscle, also shouldn't train on empty. Trained athletes who train on empty and then go to bed without having eaten are not gaining much in their performance. For everyone else, training on empty in the morning, before breakfast or a little later in the day, and then having something to eat, is fine and it is likely to deliver faster results in reducing body fat and increasing muscle mass.

 

Journal Reference
1. Javier T. Gonzalez, Rachel C. Veasey, Penny L. S. Rumbold, Emma J. Stevenson. Breakfast and exercise contingently affect postprandial metabolism and energy balance in physically active males. British Journal of Nutrition, 2013; 1 DOI: 10.1017/S0007114512005582
2. Barr SB and Wright JC.Postprandial energy expenditure in whole-food and processed-food meals: implications for daily energy expenditure. Food Nutr Res. 2010 Jul 2;54. doi: 10.3402/fnr.v54i0.5144.
3. Berg, J. M., Tymoczko, J. L., & Stryer, L. Biochemistry. New York: W.H. Freeman and Company. 2007.
4. Robergs, R. A., Ghiasvand, F., & Parker, D. Biochemistry of exercise-induced metabolic acidosis. American Journal of Physiology. 2004
5. Chatham JC, Gao Z-P, Forder JR. American Journal of Physiology. 1999;277:E342–351.
6. Drake AJ, Haines JR, Noble IM. Cardiovascular Research. 1980;14:65–72.
7. Gertz EW, Wisneski JA, Stanley WC, Neese RA. Journal of Clinical Investigation. 1988;82:2017–2025
8. Costill, D.L., Miller, J.M. Nutrition for endurance sport: Carbohydrate and fluid balance. Int. J. Sports. Med. 1980;1:2-14.
9. Coyle, E.F., and Coyle, E.L Carbohydrates that speed recovery from training. Phys. Sportsmed., 1993;21:111.
10. Esbjornsson-Liljedahl, M. Sundberg, C.J., Norman , B., and Jansson, E. Metabolic response in type I and type II muscle fibers during a 30-s cycle sprint in men and women. J Appl Physiol 1999;87:1326-1332.
11. Felig, P. and Wahren, J.: Fuel homeostasis in exercise. N Engl. J Med. 1995;293:1078.
12. Gaitanos, G.C., Williams, C., Boobis, L.H., and Brooks, S. Human muscle metabolism during intermittent maximal exercise. J Appl Physiol 1993;75:712-719.
13. GSSI. Are you eating enough carbohydrate? Sport Science Exchange 2000;13(4)
14. Guezennec, C. Oxidation rates, complex carbohydrates and exercise. Sports Med 1995;19:365-372.

By DAREBEE Team
permalink: http://darebee.com/nutrition/training-on-empty.html
99 comments on original post
1
Add a comment...

Ukiah Supermighty Smith

Shared publicly  - 
 
Microsoft announced yesterday they were publishing an IDE dubbed Visual Studio Code that works on MacOS X and, surprise, Linux. It would seem Linus Torvald's "I won" is now past due. Not so fast. N...
1
Add a comment...

Ukiah Supermighty Smith

Shared publicly  - 
 
 
Mystery meat of mobile navigation: the hamburger & kebab.
6 comments on original post
1
Add a comment...

Ukiah Supermighty Smith

Shared publicly  - 
 
 
Why are Apple Stores the only place one can hold a demo phone without being made to feel like a would-be criminal?

The S6 Edge here feels absolutely awful in my hand. Putting aside the obtuse bulk that prevents me from holding it properly, the retractable cord is so strong as to keep pulling the device back to its stand. All I want to do is put this phone down.

This horrible experience can't be helping sales right?
44 comments on original post
1
Add a comment...

Ukiah Supermighty Smith

Shared publicly  - 
 
 
Good overview on use of (and requirements for) TLS in HTTP/2: http://bit.ly/1aZ1Via - tl;dr: spec doesn't require it, in practice you need it, and now is the time to go and HTTPS all the things.
7 comments on original post
1
Add a comment...
Ukiah Supermighty's Collections
People
In his circles
302 people
Have him in circles
324 people
Dan Impact's profile photo
Aaron Fautz's profile photo
Button Masher Films's profile photo
Ben Wilson's profile photo
Ty Belisle's profile photo
Jerome Turner's profile photo
Scott Schroeder's profile photo
Mark Biek's profile photo
Markus Heibø's profile photo
Collections Ukiah Supermighty is following
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Louisville
Story
Tagline
[Official] Stream of consciousness from a web programming, art admiring, lovable rogue.
Work
Occupation
I make websites.
Employment
  • Doe-Anderson
    Senior Developer, present
    I make websites.
Basic Information
Gender
Male
Other names
Supermighty
Ukiah Supermighty Smith's +1's are the things they like, agree with, or want to recommend.
Yo
market.android.com

The simplest & most efficient communication tool in the world.Yo is a single-tap zero character communication tool. Yo is everything and any

Winamp
market.android.com

The Ultimate Media Player for Android. Play, manage and sync music from your Mac or PC to your Android device -- Pro Bundle Now Available!.

golang: My introduction to the Go programming language - Supermighty - W...
walledcity.com

Walled City is a world for you to engage in political intrigues, discussions, form alliances, broker treaties and fight for power with your

Amazon Mobile
market.android.com

The Amazon Mobile App allows Android users to browse and “Shop by Department”, quickly search, compare prices, read reviews, share products

HTML5
dev.w3.org

HTML5. A vocabulary and associated APIs for HTML and XHTML. Editor's Draft 1 July 2011. Latest Published Version: http://www.w3.org/TR/h

ROM Manager
market.android.com

Must have app for any root user. Make backups, flash ROMs, and own your device.ROM Manager is THE MUST HAVE APP for any Android root user. (

Triple Town
market.android.com

An original puzzle game in which you try to grow a great city!"I had to force myself to quit playing Triple Town in order to write this revi

One thousand steps - Supermighty - Walled City
walledcity.com

Laozi. Large projects can seem overwhelming at times. There are so many moving parts headed in a lots of directions. It can become confusing

Camera Launcher for Nexus 7
market.android.com

This very simple application simply adds a launcher icon for the Camera application. This allows you to use the Camera and Video Camera appl

POCO相机 (POCO Camera)
market.android.com

“POCO相机”是针对手机拍照用户群推出的多镜头拍照及视频、美化处理、一键多平台分享的超级手机拍照工具。 “POCO相机”是针对手机拍照用户群推出的多镜头拍照及视频、美化处理、一键多平台分享的超级手机拍照工具。 ● iPhone版上线一周内,相继荣登大陆/港澳台/新马泰等华语国

Memo Widget (Note Widget)
market.android.com

Write a note on your homescreen by MemoWidget! Memo Widget is an application which enables users to place the Memo(note) widget on Home scre

Why "mobile first" isn’t enough - Developing a better user experience
www.slideshare.net

"Mobile first," is a concept that serves us well as a design tool, putting constraints on our messaging, layout, etc. But to use "mobile fir

Improving the DOM — Anne’s Blog
annevankesteren.nl

Improving the DOM. 18th November 2011. Since we gained control of the DOM specification (by working on it) we are starting to improve the DO