Boonedoggle

u/Boonedoggle


r/learnmath•

I'm probably missing something obvious, but I can't figure out why my answer to the last problem here is coming out wrong: http://tutorial.math.lamar.edu/Problems/Alg/Factoring.aspx

My process for factoring it:

2x^(14) - 512x⁶
(sqrt(2)x⁷)² - (16sqrt(2)x³)² // Exponent multiplication law
(sqrt(2)x⁷ - 16sqrt(2)x³)(sqrt(2)x⁷ + 16sqrt(2)x³) // Difference of squares
(sqrt(2))(x⁷ - 16x³)(x⁷ + 16x³) // Factor out sqrt(2)
(sqrt(2))(x³)(x⁴ - 16)(x⁴ + 16) // Factor out x³
(sqrt(2))(x³)((x² - 4)(x² + 4)(x⁴ + 16)) // Difference of squares
(sqrt(2))(x³)(((x-2)(x+2))(x² + 4)(x⁴ + 16)) // Difference of squares yet again

The correct solution is: 2x^6(x^4 + 16)(x^2 + 4)(x+2

12

r/archlinux•

I'm trying to create a PKGBUILD for a small Python app I made. I have no intention as of now to actually submit this to the AUR, I just wanted to get a feel for the process.

The PKGBUILD is (as far as I know) constructed except for the md5sums. When I try to add these with updmd5sums, I get the following error:

==> ERREUR : n’est pas disponible pour l’architecture « x86_64 ».

==> ERREUR : pkgrel ne peut pas être vide.

==> ERREUR : pkgver ne peut pas être vide.

Translation:

"Not available for x86_64 architecture."

"pkgrel cannot be empty."

"pkgver cannot be empty."

My PKGBUILD is here: https://paste.ubuntu.com/15023991/

There are no errors in it as far as I can te

15


r/languagelearning•

I'm getting back into Anki, and I like to add a "sentence" field - it helps me with remembering how the word is typically used and it's a good balance between just using sentences and single words. Typically I just copy the sentence I found the word in, but sometimes (mostly he review lists from class) I only have them individually.. Anything like the above exist? The language in question is Mandarin Chinese, but I was wondering if there is a multilingual option ala Forvo.

3224

r/gamingsuggestions•

Not concerned about genre. Papers Please and République are my favourite examples of this that I've played - I realize they're very different games, but I'm using them as examples since I found them both very effective at building the "Big Brother"/emotionless autocracy atmosphere that I'm looking for.

Future settings are fine, but I'd prefer to avoid outlandish SciFi and fantasy. PC or iOS.

Thanks!

1415


r/learnpython•

https://gist.github.com/anonymous/6df6ddc91977fa982b11

Context:

Numista is a catalogue website for coin collectors. An incomplete API for this site can be found here. The specific url in my example, http://qmegas.info/numista-api/country/{countryid}/coins/?page={pagenumber} is a JSON file containing a list of coins for countryid (in-program, I'm using a separate function to return a dict of all countryid options and allowing the user to choose from them, but some for manual testing are canada, france, and mexique). pagenumber is the page of coins which the API call returns - the maximum of which is given in every one of these API responses

105

r/codereview•

[Some of you might remember me submitting a very basic command line program with the same name as this a few months ago. Since then I have changed it into this.]

This is the first "real" program that I have written in Python. I had three main goals in writing it:

  1. Make something that is, at least in theory, actually useful - my previous programming experience consisted of exercises with little real-world use [i.e. reverse a string]

  2. Get started with Python and with wxPython (and GUI programming in general) - my previous programs had mostly been in C, and all CLI-based

  3. Get started with GitHub.

The code "works", but I get the feeling that it is

41

r/learnpython•

This is the first "real" program that I have written in Python. I had three main goals in writing it:

  1. Make something that is, at least in theory, actually useful - my previous programming experience consisted of exercises with little real-world use [i.e. reverse a string]

  2. Get started with Python and with wxPython (and GUI programming in general) - my previous programs had mostly been in C, and all CLI-based

  3. Get started with GitHub.

The code "works", but I get the feeling that it is repetitive and generally awkwardly written. I'm not experienced enough with Python to really see the flaws, and I would appreciate it greatly if someone could poin

138