HNHacker News
TopNewBestAskShowJobs

vlasev

597 karma · joined April 12, 2013

submissionscomments
vlasev··on Nutella 'Hired' an Algorithm to Design New Jars. And It Was a Sell-Out Success
It was tongue-in-cheek haha. That's why I said "relative", because they are not algorithms.
vlasev··on Nutella 'Hired' an Algorithm to Design New Jars. And It Was a Sell-Out Success
I think the average person knows algorithms by their close relative - the "recipe"
vlasev··on The future of education is plain text
Well, plain LaTeX is quite readable, so IMO, it's good enough of a compromise. It does get difficult with a lot of parentheses though.
vlasev··on Alex Honnold Scales El Capitan Without Ropes, and the Climbing World Reels
This stuff is not so that you'd go out there and live a life like Alex. It's more of a, face some of your own irrational fears, sort of thing.
vlasev··on Alex Honnold Scales El Capitan Without Ropes, and the Climbing World Reels
And that's the point. A lot of us walk around with certain fears that would be best to be put behind us. This kind of thing helps, indeed.
vlasev··on Alex Honnold Scales El Capitan Without Ropes, and the Climbing World Reels
Apparently, meditation can reduce the size of your amygdala [1], and this reduces your fear response, so yea. I'm not saying you can become like him, but you can make some headway in that direction.

[1]: https://blogs.scientificamerican.com/guest-blog/what-does-mi...

vlasev··on Paul Allen's new rocket-launching plane
Combine that with the tyranny of the rocket equation and it becomes sensible.
vlasev··on Tallest Lego building with 4 pieces?
Or recast as one long one and cut it up.
vlasev··on How to Sleep
Mine is

- Good sleeping mask that doesn't press on my eyeballs

- Good earplugs

- Not doing anything crazy for a few hours before sleep

- No coffee/caffeine if possible

vlasev··on What if jobs are not the solution but the problem?
It's a curious fact then that the author is James Livingston, a 67-year old professor of history at Rutgers, who has also written numerous books.

> all you need to say is "Robots are going to replace us, jobs are going to go away and we need basic income"

Each of these points would need to be expanded upon for this to work. A lot of people don't believe that robots are going to replace us, or that jobs are going to go away, or that we need basic income. Also, there are a ton of issues with the process involved in this transition. How big of a change? How fast? How disruptive?

vlasev··on The Etiquette of the Victorian Ballroom: Twenty Tips for Single Gentlemen
We already dress up in ballroom dancing, whether it's for social dancing or for competition.
vlasev··on Root – Programmable bank account for software developers
The kind of thing that I would like to be able to do is have a bunch of different virtual accounts that I can use for various different things. Pretty much the envelope spending system, but with cards.

I'd be able to take in paychecks and other income into a primary account, pay bills and distribute the rest into various accounts (for example, Eating out, Entertainment, Books, Learning, etc) according to some budget. Then I'd like to be able to see how much money I have left on any of these in pretty much real time.

Once you go up to the limit of one of these cards, then you know you've gone over budget. Half-way through the month, you have no more money for Entertainment? Too bad. I think this kind of thing would make it easier to practically stay within your budget.

Wanna go on a holiday? Boom, make a Holiday account, put a certain amount of money on it, and then you know you can spend that much on whatever, while everything else remains constant.

Holiday gift season? Make a budget, make a card, and spend from there, knowing that it's just a bigger hassle to use another card if you run out of gift money.

vlasev··on Programming as a Way of Thinking
The letter "e" is often used as a generic edge name in a graph. Usually "v" is for vertex in that context.
vlasev··on Programming as a Way of Thinking
So let me get this straight...You are mainly a software developer who has an issue with math notation that is meant for mathematicians? Could it perhaps be that you haven't taken enough math to become in tune with how it's done/studied/read?

I come from the other direction. I studied math first. And yes, at first I had an issue with the long variable/function names. But soon enough I realized that programming is done quite differently than math. With IDEs and autocompletion, long variable names are not really a problem.

One could argue that variable names should be descriptive in programming, because there is a lot more reading involved. Whereas in math, there is a lot more writing/doing involved. I might manipulate a math variable name 1000 times in my head in the process of working on a problem. I might even WRITE it down that many times! In programming, I might READ a variable name 1000 times in debugging.

vlasev··on Programming as a Way of Thinking
A mathematician doing math is more akin to a processor executing instruction than a developer doing programming. When you have to reference a variable X in your head 1000 times (an underestimate) in the process of working on a problem, it makes immense sense to name it X rather than DescriptiveVariableName.

In fact, in my own research for my Master's degree, I only made breakthroughs once I simplified the notation. And we're talking about a change like Q(x,y,z) -> Q, Q(x,0,y) -> Q_2^0, dQ(0,y,0)/dx -> Q_{1,3}^{1,0}. The power of concise notation can be quite a bit greater than that increase in opaqueness it creates.

The way math is communicated suffers from this, for sure. However, you gotta think about what will happen once you read a paper that has more descriptive variable names. You sit down to prove a few results. You start manipulating concepts and symbols. You end up shortening the names until you basically come up with your own concise notation. The thing is that how math is read is very much linked to how math is done.

vlasev··on Programming as a Way of Thinking
> whether/how scalars and vectors are distinguished

This becomes less of an issue once you go through some abstract algebra. But typically, constants would come from the start of the English alphabet, and vectors, from the end.

> I will note the worst code I've ever read was written by a control theorist that used only single letter variables. I later found out the variable names were the same as a paper, but the paper was not provided in the program comments.

Did the code remain "worst" after you found out the names came from a paper?

vlasev··on Teller Reveals His Secrets (2012)
DO N tricks of that sort in a row for a chance of 1 - 1/2^N of fooling them!
vlasev··on In Sweden, Happiness in a Shorter Workday Can’t Overcome the Cost
If we twist things the other way - this shows that you can buy happiness...
vlasev··on Prime Number Spiral
How exactly do you generate those "fractal" caves, "echoes" and sequences?
vlasev··on 2017 is not just another prime number
The oddest one of them all
vlasev··on Tips for Success in Undergraduate Math Courses (2002)
One summer after I had already done a group theory class, I went through most of the exercises in the textbook, and there were many. And after that, I understood the material much better than before. One could probably just do number 3 if and only if the textbook has a good progression of exercises from easy to difficult.
vlasev··on The Deconstructed Standard Model Equation
Your assessment is somewhat unfair and kind of misguided. The differences between math and programming are quite large. I think there are two main reasons for why we have symbols in math and more verbose expressions in programming.

1. Medium. Math is mainly done with pen/pencil on paper, or chalk on a blackboard, or marker on a whiteboard. Programming is mainly done with keyboard on a computer. Those media are quite different. In a way, it's about ease of input - it's easier to write out a longer name with keyboard than with a pen.

2. Nature of the activity. A lot of math boils down to manipulating expressions given rules. It involves a lot of scratch work with a lot of backtracking and trying new things. A lot of programming boils down to easily reading and writing code and reasoning about how things work. Imagine writing "integral from a to b of f(x) dx" or "integral(f(x), x, a, b)" by hand a hundred times vs in an IDE and you'll see what I mean.

vlasev··on Maths notation is needlessly complex [video]
A variation of this should do the trick:

\newcommand[3]{\triangle}{{}_{#1}\overset{#3}{\Delta}_{#2}}

vlasev··on Maths notation is needlessly complex [video]
Let's see how this notation holds up to nesting...
vlasev··on Folding Paper with a Hydraulic Press
> (Thunderfoot seems to be a feminism/politics/atheism channel?)

That's why the GP is saying Thunderfoot's science stuff.

vlasev··on Lead Water Pipes in 1900 Caused Higher Crime Rates in 1920?
An important question is - do your peers also suffer from similar things?
vlasev··on CV of Failures [pdf]
For the lazy: https://www.princeton.edu/~joha/Johannes_Haushofer_CV.pdf
vlasev··on The driverless truck is coming, and it’s going to automate millions of jobs
We are. We have our very own driver-less light rail in Vancouver: https://en.wikipedia.org/wiki/SkyTrain_(Vancouver)
vlasev··on The driverless truck is coming, and it’s going to automate millions of jobs
Just a thought: What if they only replace retiring/stopping/dying drivers with a driver-less alternative and close off the profession for others?
vlasev··on MathML is a failed web standard
The syntax is pretty much the same in Mathematica:

- ToExpression[string, TeXForm] for expressions coming from TeX

- ToExpression[string, MathML] for expressions coming from MathML

But how do you grab the TeX formula? TeX'd up formulae usually have the TeX form in the alt-text portion for the image. For example, the first formula in https://en.wikipedia.org/wiki/Calculus#Fundamental_theorem has the alt-text \int_{a}^{b} f(x)\,dx = F(b) - F(a).

← PreviousPage 5 of 12Next →