Boston

So this morning the question finally hit my head: do I love Boston? If yes, why? If no, is there a reason to stay? A reason strong enough for me to love Boston?

I guess it’s lying on my heart for very long time. Longer than I know. Until this morning, the awakening of Spring time, might activated it floating to surface, or that my memories are smashed during burning out, making it to awareness.

Should I say, I love that Boston slapped me when I tried to embrace it with my full heart, when I landed here 23 years old, from the lighthearted San Francisco, hoping to start a fresh new life? That people are cold and indifferent, when I was not yet a grown up, when I still fully believed the sunny side in everyone? I was a little afraid of the new city, yet excited for the unknowns. When I was afraid and appeared weak, people attacked me by being rude. I was still not good at accurately expressing myself in cultural aspects, or in New England way. Does that mean, I did not deserve to be respected, as a west-coaster, a Mainlander from top university, a CG lover and researcher with a master degree from top CG school in the US? Why is it more important to appear high end than being respected? Should I say that I love to receive a supercilious look when I visit a local sandwich stop as a fresh visitor, just because I’m too smiley, because I had many many easy little joys in west coast adventuring food? That would prove I’m a full stupid, correct?? Now I can live decently and comfortably in Boston. Because I built a fucking shell in my heart to protect myself. Unconsciously, instinctively. I hate it. This shell prevents myself from getting close to anybody.

Yes. Boston has the strength – when friendship builds, it doesn’t easily break. Maybe in California, it would always feel like floating, not rooting. Some day, the Boston way may grow the root towards a sense of home. Maybe this slow warmth in Boston has helped me grow stronger. It’s out of awareness and it strongly protects me from feeling pale.

I guess that, I should, let it go. And, start to love Boston. In the easy way, not changing any bit of myself. For the strength. Let the hatred go. Otherwise, it would overwhelm myself to be irrational. I will, however, remove the hard shell in my heart. I will never close my heart towards the fresh-visitors from anywhere. Never treat them like how I was treated. I will, let all it go. I will bring the SF, LA Sophie, SLC Yang, back.

But you don’t know why you cry

The lover you can’t forget

The shades that mix

Tiring heart

How to set free

Too young to stand the wild

Too stubborn to know the loss of cutting love

Too often to evoke the shouldn’t

Too vertigo to distinguish the truth

Maybe just

It will never leave

Maybe

It’s part of you

It’s nothing else

It’s just, part of you.

But you don’t know why you cry

Run Ionic App on iPhone via Public Wifi

Problem: `iOS DevApp` stucks at “Listening for apps on your network”

Cause: public wifi is not local network, which is the requirement of detecting the app running on machine via “Listening for apps on your network”

Solution: use `ngrok` to route a public URL for the `iOS DevApp`:

爱的感觉

是平静的 像永恒的感觉

像摘取一些简单纯粹的果实

于是

坚持一件事情

像爱一个人一样

守护永恒的感觉

GLSL: Two Shader Programs in Three Viewports

119 013- 0 039

Steps to render the above sunrise rendering from one viewport to three viewports, to compare three elements of sunrise – Rayleigh, Mie, Rayleigh and Mie:

  • In fragment shaders of the skydome and the area light, set three outputs
  • In CPU, configure three textures for a framebuffer, each of which is rendered from a color attachment [1]. The three color attachments take values of the three outputs from the fragment shaders [2]
  • In the framebuffer, render the two fragment shaders of the skydome and area light to the three textures
  • Render the three textures to three viewports on the screen [2]
image from ios

References

[1] Fragment Shader Output Buffers. https://www.khronos.org/opengl/wiki/Fragment_Shader#Output_buffers

[2] Render To Texture. http://www.opengl-tutorial.org/intermediate-tutorials/tutorial-14-render-to-texture

GLSL Debugging Trick: Version Control

Small mistakes could be time-consuming to find out in GLSL shaders. But found a good way to figure out:

If the shader is not working after some change, check the code change in version control tools, compare line by line change, from which figure out what change broke the shader.

In this example, I deleted the left parenthesis, then the shader broke. But figured out immediately with the help of version control comparison:

capture

Boston

I am getting too comfortable in Boston

Like melting..

Unlike jumping and leaving in the past

This time, I can stay

After all, it’s the people that matters

Thought, Salt Lake City is lover

Her beauty is not comparable