HN user

stoeckley

818 karma
Posts13
Comments27
View on HN

I used an iPhone 4s from 2011 until end of 2018. Probably most remarkably, I never put a case or any kind of screen protector on it. The thing was still practically scratch free when I stopped using it. It’s still sitting in a drawer next to me.

Blending Modes 4 years ago

I don't know the history, but there is supposedly a fixed set of Porter Duff blend modes, specific algorithms. For example, this C++ library:

Blend2D supports all Porter & Duff compositing operators

https://blend2d.com/

Also, the link shared by one of the sibling comments can be searched for "Porter" to see how they are referenced:

https://drafts.fxtf.org/compositing/

Blending Modes 4 years ago

They are typically referred to as Porter Duff blend modes, so I assume that these algorithms were invented mainly by those guys. (by Thomas Porter and Tom Duff)

Same. I've written probably more C++ than any other language, and I have a lot of respect for the language overall, but I recently had to use only C for something, and I found it rather refreshing. My use case didn't hit a lot of the pain points of C, but it did feel refreshing as there are fewer ways of doing things, fewer options, compared to C++, and my code ended up feeling more straightforward and readable as a result.

And here I thought you were looking for help understanding how normal vectors work to define the reflectiveness of a 3D surface, and I thought, that’s a rather specific item for guidance!

An English link to the same topic on the same site:

https://www.president.gov.ua/en/news/treba-zvilnyati-vid-ros...

It starts:

Dear Ukrainians!

An important decision was made today. It's fair. Legally perfect. Historical.

Ukraine confirmed its respect for the sovereignty and territorial integrity of Japan, including its Northern territories, which are still under Russian occupation.

Today, I signed the relevant decree. There is a corresponding statement of the Verkhovna Rada of Ukraine. And we call on everyone in the world to make similar decisions.

Russia has no right to these territories. Everyone in the world knows this well. And we must finally act.

We must de-occupy all the lands that the Russian occupiers are trying to keep for themselves.

The drawings are amazing, but the reason he is so well-known is his process, which you can only see in the videos.

He was certainly very busy, always traveling. This happened (from what I read) as he was leaving a show in Paris for a flight to New York.

He is all over YouTube and did exhibitions around the world -- I'd check out his drawing show videos.

for me, main thing is turning on the (now native) vim emulation which is decent though missing some things (dot operator please!), and learning the keyboard shortcuts for the various UI panes

for "prettier" all I've ever needed is just auto indentation of a block, which works fine

other than that, I just submit to what Xcode is and live with it

C++ by Example 4 years ago

I remember once telling a friend of mine, after I'd spent several years writing Clojure full-time, that upon getting back into writing C++, the feeling was like "sculpting with electricity." There is a strange sense of power you feel from harnessing the language in a creative way, unlike any other language I've used.

We order a lot of meals for delivery and one of the restaurants always includes a handwritten note thanking us and wishing us a nice meal. It's such a simple thing to do and really makes a nice touch, I'll have to admit.

I watched the Willem Dafoe movie (At Eternity's Gate) about van Gogh recently and there appear to be a few subtle hints at this theory of him as colorblind; a few scenes that show something off with his sense of color, without directly saying anything about it. It was rather interesting, which made me search for more on this topic, which took me to this article.

My thought is, if you peel back the first layer of music theory, you discover a chaotic, lawless world.

That's because some people think the theory comes first, and the music is based on it. But music is just art, like any other art. The rules are soft and broken and hardly gospel. And music theory is an attempt to have some way to communicate about music using ordinary language. It isn't math, it isn't science, it's just some basic terminology and observations, none of which have much to do with the actual artistic act of making music.

[dead] 8 years ago

After having my own child, the gravity of stories like this, as well as those in the current news, are as alien to my understanding as reading about the seemingly vicious behavior of, for example, prides of lions and their interactions with their young [0].

I wish for a better human race. We still live in primitive times.

[0] https://www.livescience.com/41572-male-lion-survival.html

I normally just lurk here on HN but your post hits a lot of empathy from me, so I've logged in finally to share my thoughts.

Businesses come and go and they are not more important than your life. And money is not more important than your life.

First, you should congratulate yourself on taking such an impressive personal risk by moving to a vibrant, different place -- you sound like a very interesting person. Be glad that you are experimenting in life because that's all we really get during our time here -- a chance to try new things. Many people never find the courage to do that, and those who do quickly learn what you have learned, that experiences are unpredictable when you stray from the norm. This is a good thing and it means you are putting yourself out there in the universe to see what is on offer. Now it's time to deal with the next step.

I feel your pain. I know exactly what it is like to feel backed into a corner when the short-term view is a combination of stressful and terrifying.

But it's only the short-term view. When I look back on those moments in my own past, the details are long forgotten, the misery is remembered and I remain glad it is in the past.

Wise man once said: This too, shall pass. And it will. I promise you that. Get through the darkness, there is light on the other side -- guaranteed.

What you need to do is minimize the stress in your life and take responsibilities off your plate -- starting with the business, the work, the overall lifestyle, all of it needs to be reduced or minimized or removed entirely for awhile.

Put yourself in a position where you can do nearly nothing for awhile, except reflect, get some positive interactions with whoever you are close to in your life, whether it is friends or family (or no one, if you are truly comfortable being alone), and don't ask anything of yourself except to take a life pause with no other demands.

During that downtime, give yourself permission to do nothing, to explore your creativity and interests with no pressure to make anything come from them. In the absence of pressure, life has a way of illuminating the real goals.

Japan is always going to be there. You will enjoy it more and perhaps even prosper well if you first learn to relax and enjoy life again without so much pressure.

It's fine if you end up losing a little money to close the business, and maybe even leave Japan for awhile. It can be very stressful to live abroad, and Japan is arguably one of the most challenging because of how different the culture is (assuming you are coming from somewhere in the West).

I have lived all over the world and done so without much money, and it has not always been easy. Feel free to contact me if you need someone to talk to.