597 karma · joined April 12, 2013
[1]: https://blogs.scientificamerican.com/guest-blog/what-does-mi...
- 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
> 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?
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.
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.
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.
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?
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.
\newcommand[3]{\triangle}{{}_{#1}\overset{#3}{\Delta}_{#2}}
That's why the GP is saying Thunderfoot's science stuff.
- 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).