blockeduser
u/blockeduser
GUI step-by-step derivative calculator source code (C + JavaScript + custom rule language)
github.com/bl0ckeduser/easyderivstepsJust open-sourced this linux-compatible GUI calculus app
sites.google.com/site/stepderivcalc/classic-w...When I took COMP 360 it was quite hard. When I took COMP 310 the exams were very hard and the class average on the second midterm was reported to be around 40%. When I took COMP 303 the class average on the first midterm was 40% and the final class average was C+ and I think that quite a few people failed. It seems like in all these classes you have to put in crazy work and hours, it becomes quite stressful. I haven't done poorly, I have 3.8/4.0 GPA and mostly A/A- grades but I keep thinking I'm going to end up screwing up at some point. McGill CS seems like it's really make or break and they only keep really talented and dedicated people.
I'm a 22 year old computer science student at a big university in Canada, it can be an extremely nasty harsh competitive cut-throat demanding environment where class averages at exams are in the 40% range and lots of people fail. It is a lot of hard work, and by all means "make or break". Programming can be very intellectually demanding and take years of practice to become even somewhat good at.
I've always had great grades in the past but now I'm worried I'll fail and be doomed to spend the rest of my life doing some terrible idiotic dead-end useless unskilled job or be unemployed and poor. I have friends who have lived in unemployment and poverty and who have worked shit unskilled jobs li
EDIT: this is actually naive exponential bruteforce (I'm a noob), thewataru proposes a much more efficient version in the comments below
There is a card game called Gin Rummy. Part of the game is to match cards into 'runs' and 'sets' as described here.
2 years ago while taking a computer science class I programmed, in Python, a dynamic programming-based recursive algorithm for finding the optimal matching into sets and runs of a hand of cards. I wanted to share this in case it may be useful for anyone else. The python code is given below. Each card is implement a list ['rank', 'suit'], for example ['4', 'clubs']. The automatch algorithm takes a
About 2 years ago I read Norvig's book PAIP about Lisp and symbolic AI.
It talks a fair bit about data-driven programming which seems like a fine programming technique.
There is something that I am wondering about though and it is whether existing data-driven programming methods could be extended to be more powerful or expressive.
For instance in a computer algebra system I was programming there were algebraic simplifications like
A * U/A * FOO * BAR * XYZ --> U * FOO * BAR * XYZ
(A + W + (B * C * X) / U + (C * D * Z) / E) / C --> (A + W) / C + (B * X) / U + (D * Z) / E
Using the techniques presented in PAIP, I couldn't come up with a pattern to match cases like the
9.2 The Godfather (1972)
9.0 The Dark Knight (2008)
9.0 The Godfather: Part II (1974)
8.9 Pulp Fiction (1994)
8.8 Forrest Gump (1994)
8.7 Airlift (2016)
8.7 Andaz Apna Apna (1994)
8.6 Black Friday (2004)
8.6 Interstellar (2014)
8.6 The Intouchables (2011)
8.6 Life Is Beautiful (1997)
8.6 The Usual Suspects (1995)
8.5 The Departed (2006)
8.5 Django Unchained (2012)
8.5 Rear Window (1954)
8.5 Whiplash (2014)
8.4 American Beauty (1999)
8.4 Blood Brother (2013)
8.4 Braveheart (1995)
8.4 The Other Dream Team (2012)
8.4 To Kill a Mockingbird (1962)
8.3 Batman Begins (2005)
8.3 Scarface (1983)
8.3 Good Will Hunting (1997)
8.3 Hoop Dreams (1994)
8.3 Inglourious Basterds (200
If I'm using C#/WPF/XAML and I want to create a custom control which renders complex graphics, like this video editor timeline control or this airline planning GUI, how do I it? I looked at some existing tutorials but they were confusing and only allowed creating very simple controls with buttons and text fields.
Is there an interface where I can handle mouse events and do all the graphics rendering myself so I can create complex controls like that one?
If I'm using C#/WPF/XAML and I want to create a custom control which renders complex graphics, like this video editor timeline control or this airline planning GUI, how do I it? I looked at some existing tutorials but they were confusing and only allowed creating very simple controls with buttons and text fields.
Is there an interface where I can handle mouse events and do all the graphics rendering myself so I can create complex controls like that one?
I live in Canada. This is always something I wanted to know