HNHacker News
TopNewBestAskShowJobs

vlasev

597 karma · joined April 12, 2013

submissionscomments
vlasev··on Procrastination is driven by our desire to avoid difficult emotions, says expert
I felt this comment!

I racked up plenty of debt during my school years and it only increased after that for no good reason. I felt overwhelmed most of the time and the marginal increases in debt didn't feel like much. So my debt grew another 30%, which for me was a lot.

I've finally got a handle on my debt and I'm paying it off, but this turn of events only came about after a lot of suffering and feeling awful about my debt. It took years to smarten up and realize the pain of limiting myself in my purchases is less than the pain of having the debt hanging over my head.

vlasev··on We can no longer ignore the potential of psychedelic drugs to treat depression
Perhaps you lack imagination, perhaps you lack dose, setting, mood, etc. Have you tried different kinds of music to go along with these? Have you tried to isolate from most of your senses like sight? It's a very different experience to trip fully awake and out and about vs headphones in, eyes closed, lying down.
vlasev··on We can no longer ignore the potential of psychedelic drugs to treat depression
I think it's a pretty good analogy. I was experiencing a personal paradox of mine for over a year and no amount of writing or thinking about it helped. Then after a single experience with weed, the next day I was able to piece things together and resolve this paradox. It's been about 9 months since and the solution still holds up to my own scrutiny. I believe this would not have been possible without the weed. It's funny how a single day can help you resolve something that bothered you for hundreds of days.
vlasev··on Ideas That Changed My Life
Physics does have something to do with it. It takes less energy to leave a food plate on your night stand than to get up and bring it to the sink. It takes less energy to throw your clothes in a mess on a chair than to fold them and put them away. Then when you eventually clean everything up, you expend less energy than the sum of energies that it would have taken to keep it tidy. For example, you can make 1 trip with 4-5 plates and cups to put them away as opposed to 1 trip per item. So you turn an energy profit. Messiness is energy expenditure minimization.

You might ask why clean up at all. For most people there comes a time when the mess starts being distracting and once they start having to look for items, they start to expend more energy per action. So it makes sense to clean everything up and start over.

vlasev··on Mental Wealth
What I rarely see, if ever, is writing and guides on what to do with yourself when life throws a wrench at you. I find it's not difficult to eat well, sleep well, exercise well when times are alright. But then if something bad happens to me, all of that goes out the window and it can be quite difficult to go back. I think most of us have difficulty with these things on smaller or larger scales.
vlasev··on Mental Wealth
Regarding 3), maybe it's just a small exception, but in Toronto's Chinatown you can see that a lot of the houses have gardens with vegetables. It's just that the overall lots are small and the gardens are small. But they are still there.

In Vancouver, even downtown, there are a number of community gardens with various vegetables growing.

vlasev··on SpaceX successfully launches two humans into orbit
That's quite normal. It happens on pretty much every launch to some extent. Something to do with vibrations causes by the landing burn and directional dishes
vlasev··on Tell HN: Interviewed with Triplebyte? Your profile is about to become public
Dude, I turned off the public profile thing. It appears to be off. BUT when I hard refresh the page and click again, it appears to be ON again! Am I going crazy?
vlasev··on The Liskov Substitution Principle (2019)
Mathematically the set of squares and the set of rectangles have the same cardinality as there is a bijection between them.

To see this, a square can be described by a single number, putting the set of squares in 1 to 1 correspondence with the real number line. A rectangle can be described by two numbers, so the set of rectangles is in 1 to 1 correspondence with the plane.

The line and the plane have the same cardinality, so this means the sets have the same size. For example: https://math.stackexchange.com/questions/243590/bijection-fr...

vlasev··on Doordash and Pizza Arbitrage
When my parents brought me to Canada, my dad briefly worked as a pizza delivery driver and me and my mom would often ride with him just to keep him company. Not sure if that's the case here, but they might just be spending time together.
vlasev··on A 2020 Vision of Linear Algebra
It's applied pretty much everywhere. Most numerical problems have some linear algebra component to them. Physics uses it a lot too. A lot of non-linear problems have a linearization on which you can use linear algebra to obtain approximations. Ideas from linear algebra are used a lot in things like signal processing, quantum mechanics, etc.
vlasev··on A 2020 Vision of Linear Algebra
Take a 3x3 matrix A for example. Then det(A) is the volume of the parallepiped formed by the row vectors. If one vector is a linear combination of the other two, this means that the vectors lie in a plane, which has volume 0 in 3D, so det(A) = 0. Since we have a plane in 3D, this means A can't express all vectors in 3D, so it's not invertible. This generalizes to any dimension.
vlasev··on A 2020 Vision of Linear Algebra
I whole-heartedly agree. Axler's book is a great stepping stone to more abstract linear algebra.
vlasev··on A 2020 Vision of Linear Algebra
I believe this is largely because in the field of mathematics, Linear algebra is just the seed that sprouts the growth of other very very useful mathematical subjects like Abstract Algebra, Functional Analysis and so on. Linear Algebra is used as a stepping stone to more general theories that are also super useful.

Take Hilbert spaces for example. They are based on linear algebra. They are quite general and you might argue that there's a lot of symbol twiddling there. However, Hilbert spaces are/were essential in the study of Quantum Mechanics, which we can argue is a very important topic.

And if you only stick with matrices and numerics, you're bound to get stuck in the numbers and details and miss the big picture. A lot of results are much cleaner to obtain once you divorce yourself from the concrete world of matrix representation.

Of course, we should probably have the best of both worlds. I'm not saying applications are unimportant. Take something like signal processing, which relies heavily on both numerics and general theory.

So I'd like to add something to your point. Math departments optimize the education of math students towards the more general, and perhaps students not interested in pursuing pure math should have course-work that reflects that.

vlasev··on A 2020 Vision of Linear Algebra
> For example, the derivative is a linear operator, so how do you write it down as a matrix?

Consider polynomials in X of degree up, but not including N. The powers 1,X,...,X^(n-1) form a basis. Then the coefficients of the polynomial can be put in a column vector. If D is the derivative operator, DX^n = nX^(n-1), so the derivative matrix can be expressed as a sparse matrix with D_(n,n+1) = n. Visually, it's a matrix with the integers 1,2,...,n-1 on the super-diagonal.

You can also see that this is a nilpotent matrix for finite N, since repeated multiplication sends the entries further up into the upper right corner.

You can extend this to the infinite case for formal power series in X, too, where you don't worry about convergence.

> Google's PageRank is a solution of a matrix equation, what does that matrix represent?

Isn't it just the adjacency matrix of a big graph?

Anyway, I agree with you. Matrices and linear algebra is a really good inspiration for higher level concepts like vector spaces and Hilbert spaces and so on. That's where the real power lies. But even in such general domains, matrices are often used to do concrete computations on them, because we have a lot of tools for matrices.

vlasev··on Ask HN: What scientific phenomenon do you wish someone would explain better?
I don't see it mentioned, but I thought I'd chime in. Even if your crypto algorithm is perfect and works infinitely fast, there's still the problem of implementation. And that's usually not perfect and often leads to practical gaps that can be exploited. During WWII, the German Enigma machines were broken in part due to design errors (like letters wouldn't be encoded to themselves) and user error (like sending messages that start/end the same way). Even if crypto is some day perfect in a sense, it may still be used in imperfect ways that allow one to break it or circumvent it entirely.
vlasev··on Ask HN: What scientific phenomenon do you wish someone would explain better?
A radio station in the 1MHz range is transmitting in the 10s of kW range. The energy of a single photon is tremendously small. So if you divide out the large transmitting power by the energy of a single photon, you'll see that an unimaginable number of photons is being released, giving the impression of a continuous process.

More detail:

Say you have an AM station that transmits at frequency f = 650kHz and uses power P = 50kW.

The equation for a photon's energy is E = hf, where E is the energy, h is Planck's constant and f is the frequency. Here h = 6.6310^(-34) Js and f = 6.510^5 Hz. Thus the photon's energy is E = 4.3110^(-28) J. This is very tiny number.

The number of photons per second is n = P/E = 1.1610^32.

Let's try to visualize this. Avogadro's number is 6.022*10^23 for each mol of something, so if we divide it out from n, we see that there are almost 200 million mol of photons being released every second!

Water is 18g/mol, which takes up about 16 cm^3. 200 million moles of water is about a million gallons. If a photon was like a water molecule, a "water AM station" would be releasing about a million gallons of water per second.

vlasev··on Ask HN: What scientific phenomenon do you wish someone would explain better?
Yeah, you often send commands several beats in advance. And then there's some lag too, because muscles are fairly viscous and take a bit of time to start up. You're basically dancing in the future, because you are behind. I think we just run pre-baked programs (from a lot of practice) and adjust their timings on the fly every few beats or a bar.
vlasev··on A Third Solution
Waiting in line for a venue can easily take 20-30 minutes. So why not deploy this to places like this. You get the test done while waiting in line at no extra time cost to you. So you wouldn't even be waiting 10 min to get in. That's already something you do.
vlasev··on Tiers of answers to half-baked questions
Perhaps a good starting point would be to look at a "chord"[1], which is a line segment between two points on a circle. Then you'd look at a chord that is tangent to the inner circle of a set of two concentric circles. You can find the length of the chord from the radii of the circles.

But what you're asking about is more general. You are looking for some sort of shortest path between two parallel curves [2]. Which seems like it would be a tricky problem to solve. Are you considering physics here? If you are, you are basically looking at a "racing line" [3]. And that's a complicated problem since it involves a lot of physics and engineering. You can't look at a single turn in a track and determine the best racing line. That's because the best racing line for a specific turn depends on the best racing lines of the nearby turns. You'd have to look at the track as a whole. There are entire theses written on this topic [4].

But a highway road is not the same as a racing track. In highway engineering they often use the Euler Spiral [5] to construct the turns, because of its nice properties. Funny enough, Euler Spirals play a role in optimizing your entry into turns on a track [6]!

I think those might be some good jump-off points for further inquiry.

[1]: https://en.wikipedia.org/wiki/Chord_(geometry)

[2]: https://en.wikipedia.org/wiki/Parallel_curve

[3]: https://en.wikipedia.org/wiki/Racing_line

[4]: https://dspace.mit.edu/bitstream/handle/1721.1/64669/7068253...

[5]: https://en.wikipedia.org/wiki/Euler_spiral

[6]: https://en.wikipedia.org/wiki/Euler_spiral#Auto_racing

vlasev··on Our data centers now work harder when the sun shines and wind blows
Funny enough, on Mac, fn + down works, although the jumps are larger.
vlasev··on Ask HN: How to rediscover the joy of programming?
If 90% of the work is this repetitive, perhaps you could create methods and tools to make the process quicker?
vlasev··on Greensboro Man Creates Dating App Where He's the Only Guy Allowed
Tinder has points 1, 2 (if you use your phone number), the first part of 3 (but it's more like $20) and 6. Some apps have certain no-match criteria.
vlasev··on Greensboro Man Creates Dating App Where He's the Only Guy Allowed
The parent comment said nothing about being able to go on dates. I don't know where you read that. It could really be Tinder's fault. I've used it over the last few years and while my profile hasn't changed appreciably, I noticed way less success with the app over the past year alone.

As for self-development, I agree with you that men tend to be unwilling to learn a lot of the time. But from what I've seen from women, they also don't really want to learn. It's how people are.

Tinder is, for the most part, heavily reliant on first impressions with regard to looks. If you are a man and you are seeking women on Tinder, you better have your shit together when it comes to that, or you're not going to get anywhere.

This means high-quality photos, clothes, haircut and so on. I'm not saying this is a lot, because dating can be expensive anyway. It's more so that men are not really encouraged to invest in their looks and wardrobe as much as women are.

If you're getting matches and you're not converting them to dates, well, that's another thing entirely.

vlasev··on Slack’s new WYSIWYG input box is terrible
Well... WYTINWYG should do it
vlasev··on The Efficiency-Destroying Magic of Tidying Up
You gain back some efficiency by cleaning up all in one go at a later time! Think of trips to the sink with the dirty dishes.
vlasev··on The Unparalleled Genius of John von Neumann
In my graduate math research I had to find patterns, formalize them and eventually prove more and more little results that added up to bigger results. I went through a lot of iterations, calculations and "experiments". The thing that guided me the most was that I had a feeling that things could be simplified, streamlined and generalized. It was a feeling that didn't go away until I found what I felt like I needed to find.

I find myself in a similar situation with development. There's an unescapable feeling that things could be created or improved. The feeling doesn't go away until I've done the work.

So I think what you're talking about is more so dependent on the person's mind rather than what they're doing. Like Conway's law, I think usually systems grow to mimic the developers' way of thinking, whether those are mathematical systems or software systems.

vlasev··on The Matrix Cookbook (2012) [pdf]
Say you start with a small system of equations and you find out how you can solve them. Then you solve a bunch more, but then you start to notice that you don't like writing out the x, y, and z's, so you just keep the coefficients, in a box of sorts. Then you translate what you were doing into operations on the rows of this ... matrix you call it. After solving some more equations, you start to forget where these things come from. Surely they come from equations, but because the coefficients, plus signs and equal signs disappear, you are left with a box of numbers really.

What happens next is that different questions start to come to mind. The matrix attains a life of its own. You start to think questions like "Well, we have some x, y, z's and this box of numbers somehow transforms them into the right hand side's a, b, c's". Ok, the matrix is some kind of "transformation" now. You look at its properties. It appears that aX + bY can be computed entry-wise, so maybe this is a fundamental property and you call it linearity. Hmm. At some point you forget about the boxes of numbers and now you have bonafide transformations. From what? To where? You call these...vector spaces. And so on.

Further down the line you become preoccupied by questions of a different flavour, like what happens if you want something like Ax = cx. That is, we get x back with minimal distortion. Fairly simple question that leads to a lot of math.

It also just happens that when you consider mathematical functions of several dimensions, and matrices become apparent when you consider linear approximations. You've built this great theory for them and now that theory seems to really help in these kinds of problems. That is, a LOT of computational problems in this world.

vlasev··on International System of Units overhauled in historic vote
You might be thinking along the lines of natural units [1] or even Planck units [2], where you set some fundamental constants to 1 and take it from there.

[1]: https://en.wikipedia.org/wiki/Natural_units [2]: https://en.wikipedia.org/wiki/Planck_units

vlasev··on Ask HN: 40+ Career Advice?
It would have been much much better to just use the first letters, like A for Android, P for private office, H for working from home.
← PreviousPage 2 of 12Next →