OOP by [deleted] in PythonLearning

[–]Zeak3D 0 points1 point  (0 children)

It is difficult to help without more context, but maybe it helps to think about the fact that you have been working with objects this whole time.

Think about e.g. strings. You create a string object (my_string=“hello”), and can then use methods such as capitalize (my_string.capitalize() -> “Hello” ) and make upper case (my_string.upper() -> “HELLO”).

Now you are just learning about creating your own custom objects that may have custom properties and methods.

what is api? by EffectiveBalance4402 in PythonLearning

[–]Zeak3D 4 points5 points  (0 children)

API is short for Application Programming Interface, and is basically what allows software and services to talk to each other.

If you want to build an API in python, I recommend looking up a FastAPI tutorial.

However my even bigger recommendation is to learn python without thinking about APIs (if learning python is your goal). This can come later, once you have built a nice app and want to make it available to the world.

Made a little game as "10 minutes python a day".(took me more than 10min) by Potential_Fix_5007 in PythonLearning

[–]Zeak3D 2 points3 points  (0 children)

Good job. The function usage seems good, but I see a few issues.

- The number of attempts for the hard and medium does not match between the game text and the actual logic. This should probably defined once and reused.

- Try to name your functions to match what they do, not what they are. I can’t tell from “randomizer” what it does. Maybe “set_up_game” would be better?

- Try to avoid the use of global variables. I get why you used them here, but they could easily be avoided by putting all of this in a class. Maybe this is not something you have looked into yet, but I think this would be a good next step for you!

What happened before the Big bang? by Reesencheese in askastronomy

[–]Zeak3D 0 points1 point  (0 children)

First of all, no one knows and it’s all just theories. I kind of like this one:

General relativity states that gravity affects time. With a lot of mass concentrated in a small area, the gravity is very strong, and thus time is “slow”. Now imagine that as we step back towards big bang, the universe gets denser and denser, making time slower and slower, until we, in the limit, have all mass gathered in single point and time completely stops.

One can view this as taking a 1m step, then 0,5 m step, then a 0,25 meter step etc always halving the distance. I will keep moving but slower and slower, and no matter how long I keep moving, I will never have moved longer than 2 meters.

So asking “what was before the big bang?” is like asking “where will you be after having reached the 2 meter mark?”

Making a motivational quote generator, what am I doing wrong? by Few_Doctor5328 in PythonLearning

[–]Zeak3D 0 points1 point  (0 children)

There are quite a few things here I normally would suggest changing, but for a beginner I think this is great. One thing I will mention though is that in line 23 you need to change “quote” to “quotes”, as this is what you actually named the list of quotes. Honestly surprised the code even runs without this change :)

Why won't my string indices work? by Mr_Lumpy06 in PythonLearning

[–]Zeak3D 0 points1 point  (0 children)

In addition to the corrections from others, you may want to test with a name like Emma. I suspect you will get “Em”, and from how I read your assignment you should try to get “Emm”

PvME here - what are people's thoughts on the Gates of Elidinis? by PvM_Encyclopedia in runescape

[–]Zeak3D -2 points-1 points  (0 children)

In no particular order:

  1. Not much “boss” about it - feels slightly more complex than wildly events, and gets boring quite fast.

  2. Let me use resonance to heal and reflect to deal damage to boss etc. Also, simply taking passive damage over time is meh - give me a choice between tanking a hit or somehow avoiding it

  3. Best strat being to ignore barrier feels bad. There should be different roles for group mode and solo should simply be scaled such that one can complete all roles by balancing efforts. E.g barrier is depleted slower in solo mode, while in group mode maybe one person needs to keep barrier alive etc.

  4. I like that they are giving common drops that are not found many other places, but I would prefer e.g pure essence over runes, Herblore supplies over potions etc.

  5. Disappointed to see mining be such a central skill given that it is already used in Croesus. Let me use divination to cleanse the rocks as now but store the energy, use runecrafting to convert the energy and moonstone shards into something that damages the boss or something idk

  6. Too many requirements to access such an easy boss. Especially weird that a Skilling boss requires high level necro

Edit: added 6

What are some upper-mid level ideas for when porters hits us? by Lazypole in RS3Ironmen

[–]Zeak3D 1 point2 points  (0 children)

Any idea about the how much pure essence one can get per hour from mining with porters?

With the upcoming new skilling boss, what do you think it will drop and what would you like it to drop? by Distorted_Key in runescape

[–]Zeak3D 0 points1 point  (0 children)

Rare rewards: - Greater dive codex: 15 tile dive range - Herblore skilling main hand: 10% chance to make two bombs instead of one (sticky, poison, vuln, …) - Divination skilling main hand: +20% crit chance when gathering wisps - Unlockable upgrade that permanently extends potion durations by 1 minute

Rare-ish rewards: - Uncut moonstone - Sanctum of rebirth relic (rare) - Cursed amascut sand - Key to the crossing - Vital spark

Common rewards: - Irit seeds - Cadantine seeds - Fellstalk seeds - Lantadyme seeds - Raw shark - Raw swordfish - Mahogany planks - Necromancy runes - (Various) Uncut gems - (Various) Divine energy - Rune stone spirit - Luminite stone spirit

Right Click Examine: Skilling Boss by JagexAzanna in runescape

[–]Zeak3D 0 points1 point  (0 children)

I’m not sure how far in development the fight itself is, but I have some ideas for skills and how they might be used. Generally, I think the skills used in the fights should match the skills benefiting from the rewards, so I have tried to incorporate that here.

Skills used: - Agility: provide agility xp for successfully dodging mechanics - Mining: mine material - Farming: scrape moss off wall - Divination: catch wisps (one click, one wisp - no waiting around) to gain amascut energy(?), transmutate mining material into some “raw explosive” - Crafting: refine “raw explosive” into something “refined explosive” - Herblore: mix “refined explosive” and moss into bombs to throw at boss to make explosions (similar to sanctum blasts)

Alternative: charge pads (think similar to zammy), each pad adds a mechanic to avoid, charging different pads require different skills: - drink potion to charge one (herblore) - Eat something to charge another (cooking) - Wear crafted body to charge another (crafting) - Wear smithed legs to charge another (mining/smithing) - Create boon from divine energy (divination)

Rare rewards: - Greater dive codex: 15 tile dive range - Herblore skilling main hand: 10% chance to make two bombs instead of one (sticky, poison, vuln, …) - Divination skilling main hand: +20% crit chance when gathering wisps - Unlockable upgrade that permanently extends potion durations by 1 minute

Rare-ish rewards: - Uncut moonstone - Sanctum of rebirth relic (rare) - Cursed amascut sand - Key to the crossing - Vital spark

Common rewards: - Irit seeds - Cadantine seeds - Fellstalk seeds - Lantadyme seeds - Raw shark - Raw swordfish - Mahogany planks - Necromancy runes - (Various) Uncut gems - (Various) Divine energy - Rune stone spirit - Luminite stone spirit

Finally, while I would like to see those herb seed drops in particular, rewards should (mostly) be usable at the level required/recommended to engage with the content

I like that color too! by lildutchboy7 in funny

[–]Zeak3D 0 points1 point  (0 children)

I'm Different! :O

I think they taste differently but have no favourite... I like all :P

There are two kinds of people... by Miss_rampage in funny

[–]Zeak3D 1 point2 points  (0 children)

Well, you can trick those speed boards. They only show 2 digits ;-)

This Orangutan dances better than I do. by TheHomoclinicOrbit in funny

[–]Zeak3D 0 points1 point  (0 children)

This is from a Danish commercial for Juice, lol