HackerTrans
TopNewTrendsCommentsPastAskShowJobs

McUsr

no profile record

comments

McUsr
·anno scorso·discuss
You're right I think.

Though some High school kid with interest might grasp the parts he/she is interested in.

There is a big lap from there to "Could be taught in High School".

The sheer amount of work is the main obstacle in addition to the lack of specialization in the courses is one of the obstacles I think, apart from the obvious one which is the lack of foundational skills.
McUsr
·anno scorso·discuss
I found the way of counting the number of permutations useful.

The Hockey stick identity was something long forgotten and fun re-discovering.

The way they are generated not so much.

So, Sedgewick has an algorithm for generating permutations that are highly efficient, and ijust as difficult to grasp. But there is a paper out there where he explains the algorithm graphically, which makes it understandable.

So I haven't worked through the way to get the composition that is the n'th permutation yet, but I guess I will suffer.

It is not well written, and for instance the wrong term for partition, versus composition is made in the explanatory graphic at the top of the article.

Still, I think it was worth reading, I have made several programs utilizing permutations, and I might improve one or two of them after having read this, with some new knowledge.
McUsr
·anno scorso·discuss
I look forward to the next blog post implementing the actual parser.
McUsr
·anno scorso·discuss
Thanks. I wasn't aware of this channel. :)
McUsr
·anno scorso·discuss
I'm glad you're fond of Sublime Text.

Personally I'm totally sold on 'Vim' I have lsp through 'YouCompleteMe', which works great for C-languages, and I have Automatic update of tags with 'GutenTagsPlus', And I also use 'c-scope', 'Git' and 'Id-utils', and I have 'ulti-snips' which I probably use too little. So yeah, this and the GCC toolchain, is pretty much the ultimate for me, and I have tried a lot of Editors through the years.
McUsr
·2 anni fa·discuss
A cast iron skillet doesn't evolve.

The nice thing about Vim is that it evolves to your needs as you configure and reconfigure and tweak as you go along, exploring different itches.

I change my .vimrc ever so often, and the changes usually rewards me.
McUsr
·2 anni fa·discuss
Using ed interactively, so you can work out some complex operation step by step, is a valid point for using ed instead of sed. Sometimes however, awk is the correct solution. (Why sit and mess with it, if awk provides a straight forward solution.)
McUsr
·11 anni fa·discuss
And if you don't be sure to have at least a good book on discrete mathematics handy.
McUsr
·11 anni fa·discuss
On my Mac it opens directly in preview, after I clicked the link in Safari. I have not done anything for that functionality, so I'm pleased.