1,604 karma · joined February 4, 2016
Could you expand a little bit on your experience? Like, was all the course divided in 3-4 week-long projects, was there theoretical classes, how were the students graded (i.e., did they have exams as well, homework, etc.)? What were the other projects?
The way I see the post you're replying to is either you learn to cope with these things or you'll burn out faster.
Since there's no accountability, if you want to do things the right way, you'll have to do it by yourself and be prepared to swim against the tide..
I've since installed and reinstalled macOS X from scratch at least two times, and it always takes lots of time to start.
Profound changes in life are not easy, and feeling miserable is a sign that you probably have to change something.. Personally, I believe that people that are willing to change their lifes when circunstances ask for it are courageous. Most people will keep feeling miserable by inertia and fear of change.
As a little bit of more practical advice, have you considered going freelance or teaching? Something similar to what you're feeling now also happened to me, then I went freelancing and am currently teaching. I'm immenselly happier and get to learn lots of new things so I can be a better teacher..
Wish you good luck!
Interesting site, didn't knew about it!
I've checked it out, and as I wake everyday at 7am, it suggests me four different hours: 10pm, 11:30pm, 1am and 2:30am. What I find interesting is that none of it matches exactly the 8h average sleep value. As you say that you have had great results, could you comment a little bit on that?
Thanks!
Others have already commented on this sentence, but I would like to add that the real problem is context switching. For instance, because I know I take too much time switching contexts on my mind, I always have to plan accordingly, like reducing the number of different tasks everyday, or plan some time between very different tasks..
Basically, if you're studying to be an electronics engineer, I say that C is a good first language to learn the constraints of electronic devices. But if you're studying to be a mechanical engineer, I guess you want to learn programming to solve "data" problems (equations, graphical plots, etc). For the latter ones, something like Python with packages like numpy, matplotlib, etc., is probably more adequate.
In a nutshell, I think of learning C first as the bottom-up approach, and learning something like Python the top-down approach. Choosing one or another depends on how down or up you want to go..
Same for me. Nowadays when I get bored and have some unproductive time to kill, I usually surf hacker news because I can't think of any other website to read as I quit other social media websites.
It's the same happiness/sadness you mention, although the lack of options on the internet has been turning out to be more positive than negative as I've been reading much much more.
Any other suggestions?
Edit: typos
I used to play a little bit with the nerdkits (http://www.nerdkits.com) and really enjoyed their approach but they seem to have gone out of business and their content has not been updated for some years..
My reasoning is that if someone is very good in his line of work, some of that work starts to spill out to the public, either by research, teaching, articles, blog posts, etc.. If a person is not a pure introvert, working all by himself, and is quite good, invariably someone will notice it..
So, although 10K seems too few to me, I would say that the magnitude may be right..
Also, when I come across algorithms such as the Sieve of Erathostenes which was discussed recently here on HN (https://news.ycombinator.com/item?id=15408506), I do them to keep my skills and reasoning up to date..
Other times, I do some project euler problems, etc.. In even other times, if a blog post is interesting I try to implement the algorithms or examples there. For instance, there was quite recently a discussion about the little book of Operating Systems, and I've built the bootloader example and learned a little bit more about 2nd stage bootloaders and NASM Assembler.. Things like that..
I find that it is more efficient to learn lots of small things and join them with what you already know previously in your brain, than trying to learn bigger things..
You are absolutely right as the original method seems to specify that. I've edited my answer to show it.
So the function would be something like (untested):
void sieve()
{
for (int i = 2; i*i < n; i++)
if (p[i] == 1)
for (int j = i*i; j < n; j += i) p[j]++;
}
There's the problem, as other posters are saying, that if p[j] == 1 is because it was cleared as non-prime, but I've just tested p[i] == 1 for primality for coherence with the original author.