KKPMW's comments

kkoncevicius | 5 years ago | on: R adds native pipe and lambda syntax

All %fun% constructs are just simple functions that can be created by the user and can be used as infix operators. Base R has a few of those: %in%, %o%, %*%, %x%, %%, %/%.

magrittr created %>% which, when used in infix: x %>% f() calls the function on the right side with the argument on the left side f(x).

There are package that provide tons more. For example: https://github.com/moodymudskipper/inops . And you can easily create your own:

    `%sum%` <- function(x, y) x + y

    1 %sum% 2
    [1] 3

kkoncevicius | 5 years ago | on: R adds native pipe and lambda syntax

There is a big difference between what is allowed from within a package and what is possible in native implementation. As an example - currently this pipe operator seems to be implemented at the parser level. The parser simply takes the pipe expression and translates it into standard nested function call f(g(x)). Which means - there will be almost no cost in speed (%>% was notoriously slow). In addition the user will get the usual error stack in case something within this pipe fails.

KKPMW | 5 years ago | on: Ask HN: What is the best edit/delete setup for Internet forum content?

Editing should be allowed for an hour or so in order to fix spelling mistakes, reformat text for easier flow, or even as a recovery after pressing "post" by accident. But long-term deleting and editing will hurt the content. This, for example, is visible on reddit where older threads sometimes have these big piles of deleted comments. Instead maybe I would try something new:

1) Ability to post anonymous comments 2) Instead of deleting a comment a user can choose to make it anonymous so that it is no longer associated with his/her account

kkoncevicius | 5 years ago | on: Ask HN: Why is the HN comments section no better than Fox News or NYT?

HN is working fine; different sub-groups segregate under different topics. People who care about Rust comment under threads about Rust, people who care about science-fiction post comments in threads about science-fiction. And people who care about politics post under threads about politics.

Then the question of "why threads about politics usually have lower quality of comments" is left as an exercise for the reader.

KKPMW | 5 years ago | on: Show HN: The NoJS Club

These clubs are a bit superficial. I wish there was one with requirements concentrated on user experience rather than technical details.

Maybe "no tracking + no ads + no low-effort content + no clickbait + no paid content" club.

KKPMW | 5 years ago | on: Herding Cats and Free Will Inflation (2020) [pdf]

To me it seems like you can have a state of mind, and use that state to predict the state of mind of others without being _aware_ of your state of mind at the same time - that is, without being conscious.

KKPMW | 5 years ago | on: Herding Cats and Free Will Inflation (2020) [pdf]

I fail to see why that would be true. I think there are different definitions of consciousness here that are being mixed up.

> Without consciousness you experience a single unified reality: your reality.

To me the word "experience" is what consciousness seems to be about. In that case without consciousness you can "step outside" and everything, but you would have no "internal experience" of any sort. i.e. be a "philosophical zombie" [1].

[1] https://en.wikipedia.org/wiki/Philosophical_zombie

KKPMW | 5 years ago | on: Interpretation of confidence intervals and Bayesian credible intervals

There are a few things intermingled in this election example.

1. The outcome of the election here is not a probability. It is the population value - the ratio of people voting for candidate X on the election date. It doesn't have to be repeated in the same way measurements of height for all people in United States would not have to be repeated, if instead of vote we were measuring heights.

2. Frequentist probability doesn't require to physically repeat things. It can reason about what would happen in the repeated sampling under certain conditions, and then draw inferences about those assumed conditions. With the election example: if you get a survey of 100 people with 70% voting for candidate "A" we don't need to repeat this survey in order to know the likelihood (frequency) of this result happening if the real proportion of people voting for candidate "A" across the US is 50%.

_fnhr | 5 years ago | on: Rapid Note-Taking with the Morse Code Method (2008)

> If you cease forward movement with your eyes so you can, for example, underline a few lines, or draw a bracket next to paragraph, or, dare I say it, highlight a sentence, it will require a large energy burst to get started once again. Too many such stops and starts and your brain will be fried.

For me that's not true. The biggest "energy drain" is when I rush reading something and get fuzzy about what is being said. Understanding the text becomes harder and harder and a lot of will power is required to keep reading the text that no longer makes sense. Re-reading a paragraph 2-3 times or stopping to think more about what was written helps. So the fewer times I stop the more my brain will get "fried".

kkoncevicius | 5 years ago | on: Ask HN: How to get rid of impostor syndrome?

Maybe an unpopular opinion but I think most people who think they have impostor syndrome don't. Instead they accurately estimate the gaps in their knowledge but are working under conditions that allow them to bypass those gaps by using machines / libraries / frameworks and other types of automation.

If you know you will not be able to answer some things when asked about them - then you know you lack a specific piece of knowledge. That is not impostor syndrome.

KKPMW | 5 years ago | on: Why are so many coders still using Vim and Emacs?

> Modern IDEs are magic. Why are so many coders still using Vim and Emacs?

The title answers the question to some extent - I prefer Vim over IDEs because I am allergic to "auto-magic". Also, unlike most IDEs, Vim will still be there after 5 years, 10 years, or 15 years.

KKPMW | 5 years ago | on: Ask HN: What's up with these Google search results?

One possible explanation would be to think what kind of pictures or photos would get labels with words "white woman" in them. If it was a single woman smiling it would probably be labelled "happy woman" or just "happiness". The word "white" is likely to appear when there are other people of different colors in the same picture. For example "Afro man and white woman happy at a pool" or something like that.

Same with European art. The prefix "European" would only be added when the author of the picture tries to contrast it with something else, or push some agenda about "European art". Otherwise it would just be under "art".

Case in point with another term: look at "American scientists" and "white American scientist". The second one will have more results of black people. This is again, in my opinion, because the addition of "white" is mainly added by those who concentrate and write about things related to race.

Another case in point - try looking for "thin woman" and observe how the proportion of pictures with obesity in them is bigger compared to searching for "woman" only.

page 1