Jump to content

ALine

Senior Members
  • Posts

    403
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ALine

  1. Hey, I am currently having problems with the .grid() function in python. Can someone help? import tkinter as tk from tkinter import ttk LARGE_FONT = ("Verdana", 12) class funapp(tk.Tk): def __init__(self, *args, **kwargs): tk.Tk.__init__(self, *args, **kwargs) ## tk.Tk.iconbitmap(self, default="testicon.ico") container = tk.Frame(self) container.pack(side="top", fill="both", expand = True) container.grid_rowconfigure(0, weight=1) container.grid_columnconfigure(0, weight=1) self.frames = {} # creating a dictionary for F in (StartPage, Page1): frame = F(container, self) self.frames[F] = frame frame.grid(row=0, column=0, sticky = "nsew") self.show_frame(StartPage) def show_frame(self, cont): frame = self.frames[cont] frame.tkraise() def qf(param): print (param) class StartPage(tk.Frame): def __init__(self, parent, controller): tk.Frame.__init__(self, parent) label = tk.Label(self, text="Home", font=LARGE_FONT) label.pack(pady=10, padx=10) button1 = ttk.Button(self, text = "Page 1", command = lambda: controller.show_frame(Page1)) # can change to home page button1.pack() class Page1(tk.Frame): def __init__(self, parent, controller): tk.Frame.__init__(self, parent) label = tk.Label(self, text="Page 1!!!", font=LARGE_FONT) label.pack(pady=10, padx=10) button1 = ttk.Button(self, text = "Back to Home", command = lambda: controller.show_frame(StartPage)) button1.grid(row = 0, column = 0) app = funapp() app.geometry("1280x720") # changes the size and shape of the entire app.mainloop() not sure if I should put this directly into the message or should have uploaded a file. I can change it to a txt file if there is a problem.
  2. Question: Why is it hard to store renewable energy? Can't you just hook it up to a rechargeable battery grid?
  3. Soo update. I have gone through 3 iterations of the device, trying to improve form because there is only so much I can do to make it run faster besides overclocking it. However, right now I am having an overheating issue so that would break probably melt the battery because it is right underneath the raspberry pi. I am up for suggestions on how I can improve it. From hardware attachments to software add-ons. I still have not done the server connecting thing because I have to have another device to send the files over to. Plus I want to get everything organized first before sending files over from one server to the next.
  4. So quick question, are our models of reality based on probability because we cannot observe the universe at certain scales due the thing that we need to observe messing up measurements like light and atom particles. Or is it the other way around? Being that we cannot observe things at such small scales because of the probability and uncertainty of the universe as a whole?
  5. How can you understand the thoughts that you are having to try and understand the mind with thoughts which come from the mind that you are trying to understand? Seems kind of paradoxical to me.
  6. I am not sure that you can generally connect metaphysics with physics. Physics is derived from a mathematical representation and metaphysics is more of a philosophical interpretation.
  7. I am not exactly sure, If the definition I derived from a quick search in dynamic similarities, should have gone more in depth with this, but if the definition that Google gives. That being the comparison between a prototype or model vs. the fully scaled up version then maybe you could say that the size of the system would be a factor as well. So very small systems inside very large systems would need to consider where the position of the system is in respect to its size. So if you have a model car vs an actual car then the model car would experience different scaled down forces vs. the larger car. I can also presume that because the smaller car is smaller it's individual systems within the model car system would be different than the larger car system. I probably also say that I could just take the larger car system and just make it smaller and then just use the same calculations for the larger car system as for the smaller car system. Not exactly sure about the latin squares experiment I would need more time to think about that one. Maybe this box inside box idea could be used to represent energy instead of lightning mequeen. Ok so I have been thinking about it and here is what I came up with. So maybe the systems all have a smaller and smaller grid which represent their probability of actually being in that position. I don't know, not sure.
  8. What if I were to model it in layers, like making the model smaller and smaller, zooming in on each component of the thing that is being modeled and then after this looking at each subsection and finding which variables are similar? Maybe something like this. I guess something like this. So if I were in system 2 and the leaf was in system 1 on the I could determine its relative orientation whereas because both I and the leaf were in system 0 then we would not know our orientation in respect to system 0. Maybe this does not just apply to orientation but instead to any variable or function. So if system 0 is applying gravity to both me and the leaf then we are both going to experience it along with all systems that are inside of our separate systems.
  9. Ok so my raspberry pi and Arduino just came in yesterday and I decided to combine the 2 together into a single "raspberry pi / Arduino" sandwich with a 128 GB SSD sandwiched directly in between the two. I also got a wireless handheld keyboard but it came in the mail broken so I am returning it tomorrow to get a new one. This will allow me to make Arduino programs and send them directly to the Arduino on the other side in order to do fun stuff like programming and building things on the go.
  10. Is there an easy straightforward way to produce a mathematical model for anything that I can imagine? The more that I think about it the more and more that I see that maybe everything could be written as a function with distinct variables. I just want to know how I can make mathematics seem extremely intuitive so that if I see a leaf fall on the ground I could fully model that falling in all case scenarios with either a simple algebra equation or with a more complex differential and multi-variable calculus equation. I have had the urge for years so if anyone could help that would be great.
  11. Brah what is this mad scientist making?
  12. Ok so if there is a set amount of money inside of a community and there are people who store currency instead of spending it then wouldn't more money need to be printed in order to allow everyone to be able to have money. Thus causing the general value of the money as a whole to decrease. And if this is true then wouldn't that mean that all currencies connected to that communities currency would be directly affected by the value of the communities money as well? Probably wrong about this
  13. Why would I date a woman who is on fire vs. one who was nice things? I mean my god if she is hot then just take her to a colder place. Why would you sit there and watch her burn on a date and stuff?
  14. Ohhh ok that makes sence. Thanks for the help
  15. How can a electron, being a single point in space, have mass? If it has an infinitely small volume while having a certain mass then wouldn't that mean that it would have infinite density? I don't know I am probably wrong, maybe missing something.
  16. The scientific ideology is generally design to filter ideas from being based upon either reality or imagination. Things based in reality are observed being repeatable and things based in imagination are considered to be non-repeatable.
  17. I believe that starting off it would be very difficult to develop all possible occurrences and then developing a certain method of handling that situation, however one can after a while begin to make connections. One can make the argument that you need food, water, and shelter. Once you have the core components of what you need to survive then you can begin to expand from there. So you do not know exactly where you will be living in the future but you know that you need to live someone in the future. So you can start limiting the options and possibilities from being a large group to a very small group. I also recommend that once you obtain an idea for what you want to do with your money be flexible with the idea. Do not obsess over it. Simply use it as a guideline and then continue trying to find more efficient methods for using your money wisely.
  18. Yep, you right. I get the same results each time now. Thank's Senpai.
  19. Ok, so I was making a simple python program that mimics simple evolutionary processes. When I run it multiple times I keep getting different results and I have no idea what is happening. Please help. BasicEvolutionProgram.txt
  20. Your best bet is to sit down and plan out EVERYTHING with a central desire or goal. Like what is your end game in terms of where exactly you want to live and what exactly you want to be doing for the rest of your life. Then start using that as an end goal and start working your way up to that.
  21. Ok sorry about that, was not trying to change the thread. Just trying to lighten the mood.
  22. Why are any of us here.....this requires more thinking. Your right strange, it is STRANGE that any of us were even born. I mean just think about that level of improbability. If I can exist then anything is possible. Well except god, that's a rabbit hole that I do not want to go down and get bigger and smaller in.
  23. I do not remember commenting on this, why am I getting notifications? Better yet why am I here.
  24. Ok so you have "X" amount of currency right now and you are trying to obtain "X+n" amount of currency. So one of the main principles that would allow for anyone to turn a little bit of money into a lot a bit or money is the "Short-term pain, long-term pleasure" aspect. If you saved up that amount of money by yourself then CONGRATULATIONS!! You have most likely passed the Short-term pain part and are now starting to go into the long-term pleasures section of your life. You have successfully passed a majority of Americans who want to be free of financial worry in the future. The next step is to try and plan on, as I have mentioned before, how to make more money. So you can go a few options with this. You can invest in stocks and bonds, start a business, or simply save the money and let the 1.x% bank thing increase the value of the amount of money that you are in. What I suggest doing it sitting down in a room by yourself without any distractions and basically planning out your entire future. What passions do you have, what is someone thing that you can do to obtain resources in order to turn this hobby into a full-time career. You could use some of the money to obtain online courses, good and cheap ones, in order to learn how to perform a specific skill. If you do not know it yet then I would suggest learning how to program and then create something new like an invention or something. What having money basically means is that you now have access to 3 key aspects of our society; Social Status, Knowledge Resources, Material Resources. Anyone of these 3 things can get you more money, you just need to come up with a creative solution of on how to make more money.
  25. ALine

    hope

    so 3*(false hope) = hope - 1 so hope = 3*(false hope) + 1 ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.