?

Log in

No account? Create an account
Andrey [entries|archive|friends|userinfo]
Andrey

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

(C)opied from Reddit [Mar. 24th, 2019|09:35 pm]
Andrey
Very nice!

linkpost comment

(no subject) [Mar. 24th, 2019|09:13 pm]
Andrey
I realized only recently that the RT show Redacted Tonight was named this way because it’s an alliteration on the channel name, RT.
linkpost comment

(no subject) [Mar. 20th, 2019|11:42 pm]
Andrey
From a blog post Why I believe Rails is still relevant in 2019:



This bit of reasoning ("notoriously difficult to configure", really?) would probably make every frontend developer cringe.
linkpost comment

(no subject) [Mar. 17th, 2019|11:43 pm]
Andrey
An example of how the phrase "The king is dead, long live the king" is misunderstood and reads as paradoxical nonsense, without realization that the king in the first clause and in the second one are two different kings:

link1 comment|post comment

(no subject) [Mar. 17th, 2019|09:10 pm]
Andrey
Saw a book titled "White Fragility". Got curious and looked up the author. Here she is giving a detailed presentation of her book at Seattle Public Library:



I am intrigued by her arguments and frustrated that this is not a two-way conversation where I could examine them in more detail by asking questions. White people, she says, even progressive white people, get very defensive when they are being lectured/instructed about race and racism. — Well, yeah, because the words racism and racist function as a slur, like the word nazi does. — We should get rid of the binary thinking that racist means a bad person and non-racist means a good person, she says (obviously, not in order to exonerate racism, but to prevent knee-jerk defensive reactions from the white folks). The definition of a racist as an individual who consciously does not like people based on race and is intentionally mean to them is harmful, she says, because it implies intentionality that can be easily denied. — OK, why don’t you come up with a different term then, instead of changing the definition, and stop talking about racism when you mean something else? See how the "minority" communities are changing or banishing words ("homosexualism" in the Russian polite circles, and Negro probably universally?) in order to avoid stigma and advance conversation.

Here’s a curious way of developing an argument (at about 37 minutes):

Probably the number one color-blind racial narrative is: "I was taught to treat everyone the same"... Let me tell you, when I hear this from a white person, and I hear it frequently, there is a bubble over my head. And it has a few things in it. The first thing is, Oh, this person doesn't understand basic socialization. This person doesn't understand culture. Ooh, this person is not particularly self-aware. And I need to give a heads-up to white folks in the room, when people of color hear us say this, they are generally not thinking, All right, I am talking to a woke white person right now. Usually some form of eye-rolling. I recently co-facilitated with a black woman who said, That is the most dangerous white person to me... There is a question that never failed me in my efforts to uncover how we pull this off. And this question is not whether this is true or this is false, because if we apply this question we are going to argue and argue and argue. The question that has never failed me is, how do these narratives function in a conversation. And if we ask that question, we can see that all these narratives function to exempt the person from any part of the problem. All of them take race off the table, all of them close rather than open the exploration, and in doing that all of them protect the current hierarchy and the white position in it.

This reasoning has a noticeable postmodernist tang to it ("this question in not whether this is true or this is false", "how do these narratives function in a conversation"). Which, in a way, is interesting and exciting (I haven’t been exposed to coherent postmodernist reasoning much), but at the same time is deeply unsatisfying, because instead of addressing the question of whether people who think of themselves that they "treat everyone the same" (which, taken literally, is of course impossible, but is a useful shorthand for saying that race is not a factor in their interactions with others) delude themselves or not, it changes the question to how this claim functions in discourse.

Perhaps I should go ahead and just read her book... But then again, judging by her presentation, I am apprehensive that I will find it deeply unsatisfying.
link3 comments|post comment

(no subject) [Mar. 13th, 2019|10:29 pm]
Andrey
Couple of things that mystify me in the debate of enzyme vs react-testing-library.

1) Insistence that Enzyme does only shallow rendering of a component:

> In short, where Enzyme only “shallow” renders a component, react-testing-library actually renders the component that you are testing.
(link)

This is pure nonsense: user of Enzyme has liberty to choose between shallow rendering, full DOM rendering or static rendering for a particular test.

2) Complaints that Enzyme does not support React hooks:

> The error above means that Hooks are not yet supported in Enzyme as seen in this issue here.
(link)

Again, what is not supported is shallow rendering with hooks. Other types of rendering work fine (as can be seen in the sample codesandbox when shallow renderer is changed to a different one).

3) Suggestion in react-testing-library docs that finding DOM elements by CSS selectors for making assertions is a bad practice, because:

> users can't see or identify these attributes.
(link)

Why should a test depend on visual powers of the users (when even end-to-end tests with Selenium, headless Chrome, etc. happily rely on unique CSS selectors) is quite beyond me.
linkpost comment

(no subject) [Mar. 9th, 2019|04:37 pm]
Andrey
Wow, the lady in the Russian Doll (season 1, episode 5, around 11 min) quotes the "wax on, wax off" scene from The Karate Kid. I first came across that quote a couple of years ago, when Erik Meijer (Microsoft, big on functional programming) made that reference, and at first thought it his particular quirk (a favorite childhood film; who doesn't have those), but was amazed to learn since then how well-known this quote from a trashy film is in the American culture. The scene from Russian Doll demonstrates that not only is it popular, but it is not even just a boy thing.
linkpost comment

(no subject) [Mar. 7th, 2019|10:38 pm]
Andrey
Bad Voltage is a fun podcast about tech (with a slight slant towards free and open-source, because its hosts were or still are active in the Linux community).

They have a tradition of making tech predictions for the coming year. These predictions rarely turn out to be correct, but what I thought was interesting was that for this year two of the three hosts independently predicted that Zuckerberg will step down from his CEO position at Facebook over the course of the year. It’s surprising how perception of Facebook has suddenly changed.
linkpost comment

(no subject) [Mar. 7th, 2019|09:33 am]
Andrey
Shocked to see this (from a well-known developer, too):





These popped up as a response to another developer's take on reduce (again, completely foreign to mine; I am happy to use reduce anywhere):

linkpost comment

(no subject) [Mar. 6th, 2019|08:54 pm]
Andrey
Lindsay’s talk, starting with his hilarious recollections of publishing the paper on conceptual penis, is beautiful!

link2 comments|post comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]