Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 412 413 [414] 415 416 ... 637

Author Topic: The small random questions thread [WAAAAAAAAAAluigi]  (Read 686864 times)

Maximum Spin

  • Bay Watcher
  • [OPPOSED_TO_LIFE] [GOES_TO_ELEVEN]
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6195 on: September 18, 2020, 06:57:06 pm »

It's ridiculous to say "nobody looked at that". You didn't look at it, that doesn't mean industry professionals don't look at optimizing things all the time. The type of optimizations shown in those papers you showed are just idiotic from any sort of reasonable engineering standpoint, that's why people didn't bother with that.
He means "nobody's written any mathematical papers on it".

Which I don't think is true, but the problem is kind of trivial so there probably aren't a whole lot. Rectangle packing isn't really a growth field.
Logged

Reelya

  • Bay Watcher
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6196 on: September 18, 2020, 07:17:53 pm »

Yeah sorry I realized my error.

BTW came across this big list of packing <thing> in <other thing> research.

https://web.archive.org/web/20160304034446/http://www2.stetson.edu/~efriedma/packing.html

It feels like packing the most <random thing> into <random other thing> mainly became a field after the 1970s. But it's one of those things that's almost meme-level; rather than general research it's about getting published as the guy who one-upped everyone else by getting slightly more of the thing into the other thing, so basically it's a type of game they came up with in the 1970s.
« Last Edit: September 18, 2020, 07:28:10 pm by Reelya »
Logged

bloop_bleep

  • Bay Watcher
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6197 on: September 18, 2020, 09:21:24 pm »

But it's one of those things that's almost meme-level; rather than general research it's about getting published as the guy who one-upped everyone else by getting slightly more of the thing into the other thing, so basically it's a type of game they came up with in the 1970s.

But that's a lot of math research today, isn't it? Like with the Twin Primes Conjecture. Everything's so developed nowadays even small improvements are rather notable.
Logged
Quote from: KittyTac
The closest thing Bay12 has to a flamewar is an argument over philosophy that slowly transitioned to an argument about quantum mechanics.
Quote from: thefriendlyhacker
The trick is to only make predictions semi-seriously.  That way, I don't have a 98% failure rate. I have a 98% sarcasm rate.

Maximum Spin

  • Bay Watcher
  • [OPPOSED_TO_LIFE] [GOES_TO_ELEVEN]
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6198 on: September 18, 2020, 09:40:32 pm »

But it's one of those things that's almost meme-level; rather than general research it's about getting published as the guy who one-upped everyone else by getting slightly more of the thing into the other thing, so basically it's a type of game they came up with in the 1970s.

But that's a lot of math research today, isn't it? Like with the Twin Primes Conjecture. Everything's so developed nowadays even small improvements are rather notable.
Math was always just a type of game. Geometry is just a type of game ancient Greek philosophers came up with to try to win prestige by making shapes using a compass and straightedge. Everything that actually serves a purpose is just an accident of the fact that the rules of math were based on physical observations of the real world.
Logged

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6199 on: September 18, 2020, 10:02:56 pm »

Ugh, I don't know enough about science or math or really much of anything to learn what I need to learn to help pick at the loose edges to help unravel any real mysteries, and that's kind of frustrating. Like, I want to help push the boundaries of knowledge, but I wouldn't even know what classes to take to get to the point of knowing what I need to learn. (It's not like I have anything else to do right now. I'm on crutches and stuck in a chair for the foreseeable future.)
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

Reelya

  • Bay Watcher
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6200 on: September 18, 2020, 10:13:58 pm »

But it's one of those things that's almost meme-level; rather than general research it's about getting published as the guy who one-upped everyone else by getting slightly more of the thing into the other thing, so basically it's a type of game they came up with in the 1970s.

But that's a lot of math research today, isn't it? Like with the Twin Primes Conjecture. Everything's so developed nowadays even small improvements are rather notable.
Math was always just a type of game. Geometry is just a type of game ancient Greek philosophers came up with to try to win prestige by making shapes using a compass and straightedge. Everything that actually serves a purpose is just an accident of the fact that the rules of math were based on physical observations of the real world.

Yeah, but my point is that someone has to be the first to come up with a specific way of playing the game, and in this case working out the smallest shape of type X that N-number of things of type Y can fit in was that game. Every possible permutation of that is then a different way to play that specific game.

Things like tesselations and space-packings go back millenia. This thing about what's the smallest circle that 27 unit-squares can fit in isn't something that you really think of automatically as a problem you'd need to solve.
« Last Edit: September 18, 2020, 10:15:33 pm by Reelya »
Logged

TheSteppeWolf

  • Bay Watcher
  • Надад чонын сэтгэл байна
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6201 on: September 18, 2020, 11:49:38 pm »

I'm going to try to learn French, any tips?
Logged
Those who stomp on Mongolian land, will leave their lives on Mongolian doorstep.

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6202 on: September 19, 2020, 03:52:15 am »

I'm going to try to learn French, any tips?

My mom said to pucker your lips like you're going in for a kiss when speaking French.

...can't comment on how helpful that is  :P

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6203 on: September 19, 2020, 04:09:17 am »

Ugh, I don't know enough about science or math or really much of anything to learn what I need to learn to help pick at the loose edges to help unravel any real mysteries, and that's kind of frustrating. Like, I want to help push the boundaries of knowledge, but I wouldn't even know what classes to take to get to the point of knowing what I need to learn. (It's not like I have anything else to do right now. I'm on crutches and stuck in a chair for the foreseeable future.)

May I recommend 3Blue1Brown? He makes very intuitive videos on math, and they're amazing. I watched this guy, and I came away with a strong interest in math that only faded away because I had to focus on other things. Even if math isn't really your thing, his way of approaching problems leaves you curious about math, and dare I say, the world. To start, I'd suggest watching his video on the unexpectedly hard windmill question. This is one of those channels where you need to be paying attention to get anything from it, so do keep that in mind.

I'm sorry I don't have anything for science. I was more of a math person myself.
Logged

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6204 on: September 19, 2020, 02:57:47 pm »

Ugh, I don't know enough about science or math or really much of anything to learn what I need to learn to help pick at the loose edges to help unravel any real mysteries, and that's kind of frustrating. Like, I want to help push the boundaries of knowledge, but I wouldn't even know what classes to take to get to the point of knowing what I need to learn. (It's not like I have anything else to do right now. I'm on crutches and stuck in a chair for the foreseeable future.)

May I recommend 3Blue1Brown? He makes very intuitive videos on math, and they're amazing. I watched this guy, and I came away with a strong interest in math that only faded away because I had to focus on other things. Even if math isn't really your thing, his way of approaching problems leaves you curious about math, and dare I say, the world. To start, I'd suggest watching his video on the unexpectedly hard windmill question. This is one of those channels where you need to be paying attention to get anything from it, so do keep that in mind.

I'm sorry I don't have anything for science. I was more of a math person myself.
Hey, this is a great start, and is exactly what I was lamenting I didn't have. Thank you so much.
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

Iduno

  • Bay Watcher
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6205 on: September 19, 2020, 03:08:57 pm »

I'm going to try to learn French, any tips?

I've heard that something like a video game or a comic makes it easier to learn things, because the entertainment value keeps you trying to learn.
Logged

dragdeler

  • Bay Watcher
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6206 on: September 19, 2020, 06:57:13 pm »

-
« Last Edit: November 23, 2020, 01:06:21 pm by dragdeler »
Logged
let

methylatedspirit

  • Bay Watcher
  • it/its
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6207 on: September 26, 2020, 10:31:44 am »

I have this odd math question from my brain's archives that I keep thinking about, so I'd like to put this thing to rest. Start with:
Code: [Select]
            n 1 2 3 4 5 6 7 8 9

 n   mod 10 = 1 2 3 4 5 6 7 8 9
n^2  mod 10 = 1 4 9 6 5 6 9 4 1
n^3  mod 10 = 1 8 7 4 5 6 3 2 9
n^4  mod 10 = 1 6 1 6 5 6 1 6 1
n^5  mod 10 = 1 2 3 4 5 6 7 8 9
n^6  mod 10 = 1 4 9 6 5 6 9 4 1
n^7  mod 10 = 1 8 7 4 5 6 3 2 9
n^8  mod 10 = 1 6 1 6 5 6 1 6 1
n^9  mod 10 = 1 2 3 4 5 6 7 8 9
n^10 mod 10 = 1 4 9 6 5 6 9 4 1
n^11 mod 10 = 1 8 7 4 5 6 3 2 9
n^12 mod 10 = 1 6 1 6 5 6 1 6 1

If I were to restrict myself to, say, n = 3 and then go down the table, this sequence appears:
a(x) = 3x mod 10 = 3, 9, 7, 1, 3, 9, 7, 1, 3, 9, 7, 1
(I'm underlining the repeating section)

If I change it to mod 7 and just restrict myself to n = 6 and going down a table similar to that one (so n, n^2, n^3....), this happens:
b(x) = 6x mod 7 = 6, 1, 6, 1, 6, 1...
repeats (or to give the more formal term, "is periodic")

Then if I go to mod 13 and n = 11:
c(x) = 11x mod 13 = 11, 4, 5, 3, 7, 12, 2, 9, 8, 10, 6, 1, 11, 4, 5, 3, 7, 12, 2, 9, 8, 10, 6, 1, 11...
is also periodic.

This family of sequences (which I'll define later) sometimes fails to be periodic if the values of n and the modulus aren't coprime:
d(x) = 6x mod 12 = 6, 0, 0, 0, 0, 0, 0, 0...
It is eventually periodic with a period of 1 (just remove the first term), so that's something.

And as for "sometimes", I'll just steal from the table:
e(x) = 5x mod 10 = 5, 5, 5, 5, 5...

Why does it seem to be the case that, given a sequence f(x) = nx mod a (x is an integer => 0, a and n are integers => 1, a => n), f(x) is periodic if a and n are coprime for all a and n? And on top of that, the period of f(x) under those conditions seems to be at most equal to a. Are my suspicions true, and if so, how would you go about proving it? If they are false, give counterexamples.

(This feels like one of those problems that would be blindingly obvious with some knowledge of modular arithmetic, which I don't have.)
Logged

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6208 on: September 26, 2020, 10:39:51 am »

...

I see MOD, and think the MODULO operator.


This is the cognate of integer division;  Where with integer division you divide, then discard any remainder, with modulo, you discard the factor, and keep the remainder as the result.

EG, 3 MOD 2 = 1


I am pretty sure this is NOT what you are trying to do here.
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: The small random questions thread [WAAAAAAAAAAluigi]
« Reply #6209 on: September 26, 2020, 11:06:24 am »

...

I see MOD, and think the MODULO operator.


This is the cognate of integer division;  Where with integer division you divide, then discard any remainder, with modulo, you discard the factor, and keep the remainder as the result.

EG, 3 MOD 2 = 1


I am pretty sure this is NOT what you are trying to do here.

Looks like it is? It's being used as part of a function to give a sequence.

See the line from the table:
Code: [Select]
n^2  mod 10 = 1 4 9 6 5 6 9 4 1
12 mod 10 = 1
22 mod 10 = 4
32 mod 10 = 9
42 mod 10 = 6
52 mod 10 = 5
...

The main table can also be traversed vertically to have a function from the exponent instead of the base.
« Last Edit: September 26, 2020, 11:20:49 am by Bumber »
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?
Pages: 1 ... 412 413 [414] 415 416 ... 637