drenvuk's comments

drenvuk | 4 years ago | on: A pipe operator for JavaScript: introduction and use cases

This is pretty disgusting to me. It just looks messy.

    const testPlus = () => {
       assert.equal(3+4, 7);
    } |> Object.assign(%, {
        name: 'Test the plus operator',
    });
The previous code is equivalent to:

    const testPlus = () => {
      assert.equal(3+4, 7);
    }
    Object.assign(testPlus, {
      name: 'Testing +',
    });
We could also have used the pipe operator like this:

    const testPlus = () => {
      assert.equal(3+4, 7);
    }
    |> (%.name = 'Test the plus operator', %)
    ;

I don't really see the point in general purpose chaining. I don't really see the point of flatmapping tons of nested function calls. Instead we can abstract it and start another nested stack if necessary. I thought we moved away from utilizing promises towards async await because of the chaining issue. It feels like it's being repeated.

The example from TC39 is also fairly insipid:

    console.log(
      chalk.dim(
        `$ ${Object.keys(envars)
          .map(envar =>
            `${envar}=${envars[envar]}`)
          .join(' ')
        }`,
        'node',
        args.join(' ')));
I don't think it should have been written like that. The Object.keys().map().join() should've been assigned to an appropriately named variable before being used in another function. There are better ways to avoid writing code this way.

drenvuk | 4 years ago | on: Stray bullet kills English astrophysicist visiting United States

this is heart breaking. just a while ago there was a child shot while being driven down 880 in the bay area when some people were shooting at each other while driving. he wasn't even on the same side of the highway.

these kinds of incidents shouldn't be possible.

drenvuk | 4 years ago | on: Let's Settle This

straws have two holes. let's say you had a y split straw. does that have one hole or two holes or three?

drenvuk | 4 years ago | on: I feel dumb(er) when typing, and smart(er) when writing

I have wondered if it's the lack of manipulation and input ability that computers have in comparison to paper that makes it superior. by manipulation I mean right down to being able to crumple the paper, throw it across the room then go and pick it up again to check something.

I use a notebook as well btw, for leetcode as well. it's simple better. limited in it's distractions, requires a greater amount of lingering on thoughts rather than quickly typing in whatever words have come to mind, freedom of input and manipulation. it does one thing slowly, not everything fast and the interaction it requires is beneficial to then thought process.

even tablets are not as good. anyways, I agree with you.

drenvuk | 4 years ago | on: Ask HN: How to continue to be gracious about the good fortune of rich friends?

All I hear from you is whining, from the first sentence to the very last.

Either suck it up and utilize your anger and envy as impetus for changing your situation into one that you're satisfied with, detach your own self worth from that of your friends or continue to be a baby and keep crying in your slum.

my mother came from a family of cotton pickers, I got a leg up and my children will be getting an even bigger leg up.

This might seem unnecessarily harsh but crying will get you nowhere.

drenvuk | 4 years ago | on: Ask HN: What’s the most outrageous belief you’re confident is true?

The reason I chose to measure curse words rather than vocabulary size is that I believed that people with an adequately sized vocabulary would be able to accurately utilize words rather than relying on curse words which are more flexible. To me, curse words seem like easy placeholders for feelings that the speaker or writer isn't willing to take the time to describe.

Testing vocabulary size is similar but penalizes people with a limited but accurate vocabulary, regardless of whether they use curse words as a crutch.

But again, assumptions and flaws, etc, etc.

drenvuk | 4 years ago | on: Ask HN: What’s the most outrageous belief you’re confident is true?

Just a simple ratio: curse words/normal words over a period of time. There was some study that said smarter people are more likely to curse or something to that effect but every experience with the smartest people I've come into contact with has shown me otherwise. Their vocabulary, positions in their line of work, logical arguments and grades when we were back in school are what make me think I'm right.

I'm willing to believe I'm wrong again because there could be any number of other factors. But we're talking about outrageous beliefs so here we are.

drenvuk | 4 years ago | on: Ask HN: What’s the most outrageous belief you’re confident is true?

I was confident that the users of news.ycombinator.com were getting dumber in aggregate. But yesterday I decided that the feeling in the back of my mind had been there long enough so I ran some simplistic data measurement. Turns out that based on my methodology the influx of people "dumber" than those who were here first started between 2011-2013. I was among them. Also the level has been consistent since those years so not much has changed.

I'm going to attempt to get data more often to confirm my assumptions outside of this one circumstance. Seeing my beliefs disproven was a bit of a wake up call. Also, I need to stop being a dick.

drenvuk | 4 years ago | on: $30 Drawing Could Be a Renaissance Work Worth Millions

I don't really understand why any drawing of the virgin mary could be worth millions regardless of whom it's by. There's so many renditions. At this point it feels like biblical fan art and the Louvre is filled with it.

I'd rather see art that hasn't been repeated ad infinitum like stuff by osman bey or charles curran or something else. I guess it's just taste? I probably don't know anything, just talking.

drenvuk | 4 years ago | on: How to Set Low Expectations at Your Two Remote Jobs

this happens when you ride along rather than drive the meetings and schedules. if you stay ahead you have control. it's when deadlines become an issue that other people start acting out of line with your predicted work windows.
page 2