Comment on: What programming language is good for a beginner?
0 04 Sep 2016 10:36 u/0x5f3759df in v/programmingComment on: Today's date is 100/1000/10000 in binary
0 05 Aug 2016 07:01 u/0x5f3759df in v/programmingComment on: TIL: In a numeric system of base 'x', 10 is always equal to 'x'. Binary 10 = 2, Decimal 10 = 10, Hex 10 = 16.
The easier way to phrase is is "the highest power in the prime factorisation." For example: 28=7⋅22, so the highest power is 2. Indeed, 28 in binary is 11100. The highest number of ending zeros also always occurs in a prime number basis. Although that number does not need to be unique to one basis. For example 36=33⋅22, so it ends in two zeros in both basis two (3610=1001002) and basis three (3610=11003).
Comment on: TIL: In a numeric system of base 'x', 10 is always equal to 'x'. Binary 10 = 2, Decimal 10 = 10, Hex 10 = 16.
Well, yes. Integers only, and integer bases only.
Comment on: TIL: In a numeric system of base 'x', 10 is always equal to 'x'. Binary 10 = 2, Decimal 10 = 10, Hex 10 = 16.
Since 10x is by definition x1+0 this is indeed very obvious. This also implies that it is possible to write any number in such a way that it ends in a zero. Now, the more interesting thing to think about is, given an integer n, what is the maximum number of zeros you can make it end with by picking an appropriate basis?
Comment on: Policheck - Remove the term "whitelist"
The stupidity is almost palpable.
Comment on: List of 20+ free online programming/CS courses (MOOCs) with FREE certificates of accomplishments/transcripts/badges
Might want to add some of MIT's OCW course.
Comment on: List of 20+ free online programming/CS courses (MOOCs) with FREE certificates of accomplishments/transcripts/badges
Or make a bookmark. Do many people still make bookmarks?
Comment on: Model shows off her sick coding skills (X-Post from /v/funny)
After seeing this other post, I'm convinced she is.
Comment on: Does the Go programming language have any future?
Looks like a shitty version of C at this point
That's the tl;dr for many programming languages (including Go, indeed).
Comment on: Does the Go programming language have any future?
Trendy at the moment, certainly. But having a real future as a serious programming language? I doubt it.
Comment on: Insider comments on the state of affairs at Mozilla and predicts it's demise
I'm starting to get the impression that there will be a generation switch of browsers in the near future. The current generation of Firefox, Chrome, Opera, are all going down the drain right now. I can see in a couple of years Brave and Otter taking over (maybe some others too, like Iron).
Comment on: HOW TO: Move from github to BitBucket. I just moved 4 private repositories and it took me 10 minutes.
I thought "Feminist Software Foundation" and C+= were a parody?
Comment on: Most versatile language?
Where you should begin when learning programming is not the same as what the most versatile language is. In theory, any language that is Turing complete has exactly the same capabilities. What language is most suitable in a given situation always depends on the case. But even that is not the same as what the best first language is to learn. I'd say a good order is to start with Python, then C, Java, Perl, and end up learning the One True Language: LISP.
Comment on: These 'women are better programmers than men' articles everywhere aren't necessarily accurate
Did anyone think they were??
Comment on: I wrote a program to automatically transcribe music.
Well, you do give some explanation of how it could in theory be done, which I think is correct. This PhD thesis might be interesting.
Comment on: I hope one day I'll live in a country where I have freedom to write any code I like without fearing.
Wanting freedom while working with Apple products... right.
Comment on: C: An introduction for the high-level programmer
This has some nice explanations, but I don't think it's really "high-level" C programming.
That was going to to be my answer. There really isn't a language that is easier to learn than Python. I really don't understand what you would want to do before Python. Maybe something like javascript could be easier, but I consider that to barely qualify as a full programing language. It certainly isn't as useful as Python.