177 karma · joined March 21, 2016
He says that is impossible and you need B's key to impersonate B when talking to A.
Could anyone that knows more about this than I do step in to clarify? Thanks!
Edit: fixed wrong link
I think OP missed entirely the point of learning a new language. When I learn a new language, I try to use the language the way it was built to be used, instead of trying to adapt it to what I already know. That's why you'll often see me asking questions like: "What is the Rubyist way to solve this?". I do adapt the language, but only after I've tried their way first.
I started programming by learning C, which taught me how the computer 'thinks'. Oh, and the absolute basics of programming.
I learned C++, where I was firstly introduced to objects and reliable ways do handle resource allocations without leaks (hopefully :).
I learned Ruby, where I was firstly introduced to functional programming and a wonderful implementation of the language using objects. I also learned what expressive your code can be.
I learned JavaScript, which didn't teach me much, but I've used it extensively to practice what I had learned before. JavaScript does everything.
I learned Haskell, which taught me more functional programming, and how problems go away when you use the correct types (or containers).
I learned Scheme, which showed me how simple a language's syntax can be, while still effective. It confirmed what I knew all along: all those different syntaxes mostly don't matter.
Sure I could have learned all those things without learning a new language. But I had no idea they even existed. Now, what will I learn next? Any suggestions?
Firstly there is simply the `i++`, which is redundant with `i+=1`, but it's also very easy to understand syntactic sugar. Keep it or leave it, no big deal.
Then there is the more advanced and very subtle use of the return value:
int i = 3;
while (i--) {
printf("%d, ", i); // What does this print?
}
This one is very controvertial. On one side, it simplifies and shortens code by a lot, but it also makes the code say too much at the same time. Can you tell by glance what this code would do? Personally, I prefer longer code and more expressive code, but I can also cut corners with the short version from time to time, when quickly testing something out.EDIT: Fixed code formatting
https://www.khanacademy.org/computer-programming/papercut-2d...
Another thing that JS is great at is the flexibility it provides: objects are very general and you can do almost anything with them.
Anyone would care to explain why does JS take so much hate?
Solving a man-made puzzle for me feels completly arbitrary, where either you think the same way the guy who made it and can solve it quickly, or you don't and get stuck forever.
Instead, I prefer to think about nature's puzzles, things that don't work the way I expect them to, or just trying to explain why they do. Usually they're just as arbitrary, but even if you take the wrong path, they're so deep that you'll end up learning a lot either way.
But I don't think that should apply to the browser. Firefox already gives you extensions, which means you can add to it whatever you need.
Would you say the browser should come with a painter program by default? Maybe a file manager too? What about a specific program to print for a specific printer?
At what point should you stop reinventing the wheel?
In my opinion, it doesn't make any sense. We should keep separated tools that do different jobs, and make each one general enough that it can be used in every situation.
Now, if you define 'lazy' as someone who will go to great lenghts to not do boring tasks in the future, yes, I completly agree :)
Soon enough computers will be able to check every possibility for passwords as big as we can remember them. With good algorithms predicting what is likely to be a valid password, maybe they already can.
Even though I agree fingerprints aren't a good solution, passwords aren't either. Any ideas?
Maybe we could have some kind of card that would have big keys stored on it.
EDIT: Fixed missing word
Same thing with currency, as long the threshold is met, the rest is worthless (IMO).
It's not that I don't value my work, but instead that more money doesn't mean more value for me, so even if a company wanted to reward me more they couldn't add more value through money.
Don't you think having a peaceful life doing what you like to do in exchange for your work is a fair deal? I think it is ^ ^
I don't care how much do I get nor how much time I have to put into it as long as I like doing it and have something to eat.
I don't care if suits call me stupid behind my back or take advantage of that. They can keep their money, while I keep my passion: I think I get the better end of the deal.
And I'll try to stay that way :)