@MathWizard's banner p

MathWizard

formerly hh26

0 followers   follows 0 users  
joined 2022 September 04 21:33:01 UTC

				

User ID: 164

MathWizard

formerly hh26

0 followers   follows 0 users   joined 2022 September 04 21:33:01 UTC

					

No bio...


					

User ID: 164

Small-scale shower thought, since I don't want to wait until Sunday

You do realize that you're allowed to post in the existing thread, right? It still exists, it doesn't expire on Monday, it expires next Sunday when the next thread comes out.

I've been doing it like that, where they're all together and reference each other, it's just that then when Agent has 15 methods because some of them are experimental variations on each other or niche things I wanted to do to see what would happen, then I make another class for graphing scatter plots, and I've got a bunch of methods for (Make a world, then modifier the parameters according to X, then execute Y, then graph the results, then repeat that N times) that would be nice to stick in their own class somewhere, and then I've got a bunch of useful static methods that do stuff like load and save data to CSVs that would be nice to have in their own class for organization purposes. And if I just lay them out linearly (which I mostly have, with a few rare exceptions that definitely have 0 recursive dependencies and I actually have moved them to their own .py file) then I have literally 2000 lines of code I have to scroll up and down just to find the right class whenever I want to check to see what the name of the method I want to call is or something, and then scroll back down to find the spot I'm working on.

Do you know if there's a way to.... I'm not even sure what the right language is here.... put different classes in different .py files, or at least different tabs, without running into recursive dependency issues.

Like, in Java, I can make a World class that contains a population from the Agent class, and models an epidemic going through them, and the Agents have a bunch of methods internally regarding how they function as they get infected and recover and stuff. And if I pass a copy of the main World to each Agent when it's created, then when they do stuff in their methods they can call back up to the World, usually for counting purposes, they say "hey I got infected, increment the total infection counter" or "hey someone was going to infect me but I'm already infected, increment the redundant infection counter".

As far as I can tell, in Python I can't do that nicely. If the World class imports Agent, then the Agent class can't import World. I can resolve this by defining both classes in the same .py file, but then all my code is arranged 1-dimensionally and I have to scroll through tons of stuff to find what I'm looking for (or use ctlr F). Whereas in Java each class has its own tab, I can open or close or switch to, so well-behaved ones that I'm not working on don't take up space or get in my way. I'm not sure if this is a Python issue or just a Eclipse issue. Is there a way to split a .py file into multiple tabs so I can organize better?

Partly a response, partly hijacking this to ask a question of my own to everyone else: what are you using as a editor/compiler?

I programmed exclusively in Java for years, but my new boss wanted programs in Python so I've been doing that this past year. Using Eclipse, which is wonderful as an editor, since it lets me organize everything and highlights typos that I make and stuff.

Aside a whole lot of friction involving different conventions and abilities, I was annoyed that all of the Python editors people recommended seemed way less functional until I discovered that I can program Python in Eclipse if I do the right stuff. So I've been doing that.

I'm not sure what the general consensus is, because I'm mostly self-taught and program on my own, making mathematical models for research purposes that nobody else has to use or collaborate with, so I've probably got all sorts of weird habits that would make more sophisticated programmers cringe. So I can't tell how much of this is objective and how much is just me being used to Eclipse for so many years and having little experience with anything else. But I tentatively recommend looking into PyDev for Eclipse, because in my opinion it's nice.

In the original construction, you win if you choose the absolute best partner, you lose if you do not, so the 75th percentile is a guaranteed loss, no different from the bottom 1 percentile. You only want to maximize the probability of getting the actual best, so it has to be better than anything you've seen so far or there's no chance and no point settling.

However, you are right that in this modified version trying to maximize utility this no longer applies, and a proper optimal strategy should probably be a function f(n,d) describing what percentile you're willing to settle on as a function of what time step it is (n) and what your estimate of the distribution is (d), depending on what you've seen so far and your meta knowledge.

It seems to me like the best way to model this would be to have some multiplicative scaling factor on utility that diminishes over time, since 50 years of your life with the second best suitor is (probably) going to be better than spending 20 years of your life with the best suitor. Perhaps a linear decay to simulate amount of lifespan remaining, so the utility of choosing the nth suitor is their actual quality multiplied by (1-0.01n). Or maybe weight it more towards the beginning to account for youth and childbearing years, like (0.99)^n or something.

My guess, extrapolating from my own similar albeit weaker feelings, is that it's something along the lines of corruption of virtue. Taking what should be positive qualities and wasting them or subverting them. Similar to a beautiful delicious barbecued pig falling into the dirt and feeding the flies and germs instead of a person. Turning from something nourishing and healthy to people into something that only feeds rot and disease.

That is, kindness has the potential to do good things and have value and make the world a better place. But misplaced kindness that rewards bad behavior will incentivize them and make them more prevalent. The vast majority of toxic behaviors we see in society are there not because the people who do them are stupid people who can't figure out how to be kind, but because they have been systematically rewarded for those behaviors in some way or another. Being toxic works, at least on some level for some people. To the extent that toxic behaviors are analogous to disease, systematically feeding them with misplaced kindness is comparable to someone going out and feeding expensive high quality meat to a wild rat colony, or a beautiful woman allowing mosquitoes and hookworms to feast on her blood. Not only are they wasting something good, but they are actively allowing badness to reproduce for everyone else to have to deal with. It's disgusting.

I feel less scorn and revulsion for people who do this accidentally than I would for someone doing this on purpose. And less for people doing this on a social level than with literal diseases. But it's still gross in a similar way.

1: Outlaw abortion, provide free non-abortive birth control for everyone, which is mandatory for heterosexuals until they get married, or at least sign some sort of contract with their long-term partner about how potential children will be raised.

2: School vouchers, which includes subsidies for homeschooling, provided said schools and homeschools pass certain accreditation procedures so they are actually providing a legitimate education and aren't just scamming for money.

Actually.... you asked for things out of left field, and 2 seems too normal. So to play more into the thought experiment here, let's ramp it up beyond what I'd normally advocate. Massively subsidize homeschooling. Provide free teacher training for parents, with a specialization towards teaching in small classroom sizes of children who you get to see repeatedly year after year, in every subject, and teaching kids to teach themselves. Pay enough that families can go from living on a two-working-parents income to a two-working-parents-but-one's-job-is-homeschooling-their-own-kids income. It won't even cost money, just divert it from the public schools who don't need as much because many kids have moved to homeschools. Have economists figure out every possible way that bad-faith-actors could exploit the system and figure out how to prevent it.

In terms of scale it involves more people, but in terms of perceived threat and actionable measures it seems less threatening.

Like, JFK was assassinated. This is immediately violent. Believing that the government/CIA assassinated the president makes them dangerous bad guys who are willing to assassinate people they don't like, and potentially justifies violence against them in retaliation and/or self defense. 9/11 likewise killed lots of people, making the perpetrators dangerous and worth retaliating against (even ordinary non-conspiracists can get behind this, which is why there was so much support for military intervention in the middle east after 9/11).

The most likely response to threats of violence are accumulating weapons to defend oneself and possibly pre-emptively strike using violence. If someone points a gun at you, you point one back.

Vaccines and Flat Earth are about scientific lies. They say that the leading scientists and media are corrupt and in the pocket of the government or whoever is leading the conspiracy, and the things they say cannot be trusted. Nobody needs to die to cover up the truth, because they can be paid off instead. Now, maybe some of the variants of vaccine and Flat Earth conspiracy theories do involve the government murdering people to cover up, and those ones are potentially dangerous, but I have never heard a Flat Earther talking about assassinations, so I think it's uncommon.

The most likely response to media and scientists lying is to not trust them, and possibly have this mistrust bleed into other domains. If they're lying to you about X, why should you trust them about Y? Now this can lead to some harms such as people refusing to vaccinate themselves or their children, but this is significantly less dangerous than actual violence. If someone lies to your face, you lose respect for them and possibly try to avoid them, but very few people would respond with violence (except in weird edge cases, where it's probably not about the lie itself but about the underlying thing they were lying about).

Hence the word "relatively". All conspiracy theories carry some risk, via this sort of chaining, but the Flat Earth ones are indirect like this, while others like "the FBI is stalking me" have a much more direct path towards danger.

I really like MTG Arena, because I am addicted to screens. In particular:

  1. It's free to play. If you want to get all the fancy cards you have to pay real money, or play the game regularly in order to complete enough daily quests to get card packs, or be good enough at drafts that you can win more stuff than you lose. But if you're okay with being slightly-underpowered, or if you scrape together enough to make one good deck and keep playing that deck, you don't have to pay a cent. And I never have. Back when I played physical magic I had to pay real money AND be underpowered compared to my friends who paid more than me.

  2. You can just pick up and play with someone, instantly, at home. As someone without a lot of friends, and who doesn't like going out and doing things, it's convenient to just feel like playing Magic on a whim and then a few minutes later after the game boots up I have someone to play against, and then I can stop when I'm bored, and then play another match a few hours later. It's really convenient. I guess if you and your son are playing together that's less of an issue.

But everyone is different and your situation is quite different from mine.

As a side note, how do you make things fair when playing against your son? Do you just go easy on him? Do you give him a way better deck than you and then trying to overcome the difference? My fiance and I have not had much success playing together because I've played a ton and she's played almost none and I'm too much of a tryhard I can't figure out how to avoid utterly destroying her except with incredibly patronizing handicaps, and it ends up no fun for either of us.

I read a comment on Reddit by someone who talked about posting Flat Earth stuff as a creative writing exercise. You get to think up clever arguments and find loopholes when arguing against people who are objectively correct, and not worry about getting your ego hurt if you're proven wrong because you're not actually taking it seriously. I browsed the Flat Earth sub for a bit after that and tried to figure out who was serious and who wasn't, though with no way to test that I have no idea how successful I was.

I think the main issue I'd have with actually participating is the propensity to delude naive and mentally ill people into joining unironically. The more people who are involved and having fun and aren't lunatics, the more legitimate the movement seems. Although on the other hand it's a relatively harmless conspiracy for people to believe, so maybe it helps steal thunder away from more dangerous conspiracies that mentally ill people might fall into, so maybe it's useful, I dunno.

Me: Comfort. The motte: sorry, I read everyone else's comments before replying.

/

Similar to the last super power thingy I saw here, all of them have really obnoxious downsides except one which is basically just free good things. The downside of comfort is basically that the upside isn't as strong as the others. Realistically I think all of the others would be awful (pleasure from an existential standpoint. It would be pleasurable to experience but I'm not convinced that the person in it would still be "me" in a meaningful way), at least done long term. I'd probably enjoy them for a few years, but then end up going insane from the horrible constraints they impose. Comfort is the only one where I could basically live an actual normal human life and do stuff I like doing, just with some extra advantages.

Because the test wasn't supposed to be painful, and if he did show his pain, that would be interpreted as an intentional clinical sign by the examinees, who not having access to the script, would then promptly jump to the wrong diagnosis and thus immediately fail the station.

Is that a bad outcome? If the examinees are conducting the test incorrectly such that it caused pain, and then jumping to incorrect conclusions as a result, that is something that will lead to incorrect conclusions when done in the real world on real patients, and deserves to be flunked.

Unless what you mean is that the test "officially" doesn't cause pain despite frequently causing pain in practice even when done correctly, such that the students are not to blame for the inevitable mis-diagnosis because the expected exam answers are flawed.

Nope. Controversial opinion here, I think coffee is a flavor not a real beverage. I absolutely love coffee-flavored desserts, ice cream, mocha, stuff like that. The only time I'll drink actual coffee is if it's in a super-sweet latte or something, with more milk and sugar than actual coffee. Essentially a warm coffee-flavored milkshake.

Or, if I'm trying to be responsible and not drink a meal's worth of calories in a cup, I'll just drink water.

I just don't get proper coffee just brewed in water with nothing or very little else. I don't think it tastes good, it's like stirring spoonfuls of cinnamon or nutmeg into your water. They taste good when combined with the right stuff, but not by themselves.

This seems like a flaw with the most pure form of anti-classificationism that could be addressed by a minor adjustment to a tit-for-tat strategy, which is mostly where my position is. It would be ideal if people mostly just didn't talk about race. Other people do talk about race, and therefore it makes it very difficult to communicate or model them if you just naively pretend that race doesn't exist while everyone else does. If you just let all the racists run around being racist but don't acknowledge their motivations then you can't even talk about them coherently, let alone come up with strategies to combat them.

Instead, it seems like the best strategy is to only talk about race on the meta level. You do not define categories for people, you do not treat people differently based on what categories other people put them in. But when other people put people into categories, you acknowledge that they have done so and respond accordingly, and discuss the categories that exist in their minds. People are not forgiving Mike Tyson because he is black on the object level and his black skin causes him to emit forgiveness pheromones or something, people are forgiving Mike Tyson because they have categorized him as "black" in their minds and have allowed him to inherit all of the baggage about victims and oppressors that our society associates with that. This seems acceptable to mention and criticize.

Race does matters in the real world as a self-fulfilling prophecy because people treat it like it does. But if more people adopt this form of anti-classification then discussions about race become rarer and rarer since fewer people would bring it up in the first place on the object level, and thus the amount race matters would exponentially decay as it being discussed less would make it matter less which would make it be discussed less, back and forth.

Did you forget my first comment that you responded to? Virtually all of mathematics is technically tautological. Any valid logical argument or proof is tautological. I suppose it depends on how you define "most", but if we weight by how often people use them, then most tautologies are not at all trivial, you just don't notice that the non-trivial ones are in fact tautologies.

The word you're looking for is "trivial", as opposed to "tautology", which although slightly correlated, are quite distinct. I can just as easily cherry pick an uninteresting non-tautology like "this cat is black", which is just as undeep as your example tautology.

In my opinion, the interestingness of natural selection is not merely the tautology "things which are more likely to exist are more likely to exist", but the implication: "things which are more likely to exist are more likely to exist, therefore all of biology".

The fact that such a trivial-seeming tautology emergently leads to the huge diversity of life is highly nontrivial and interesting and profound.

The actual mathematical definition of a tautology is a logical statement which is always true. As opposed to a conditional statement which has some free variables and might be true or false depending on the inputs of those variables. It need not be "obviously" or "trivially" true: any mathematical theorem, if packaged together with its axioms and assumptions, is technically a tautology because it's always true.

In the context of science then, a tautology is a theory which is always true, not requiring conditional variables from the real world. Natural selection of some sort is true in every conceivable universe or system with reproducing and mutating life-forms. I think this makes it more profound as a theory, rather than less.

It's Easter. People talk about Jesus. Most of his life occurred in the Roman Empire.

This is the main reason why I find the question rather silly. The Roman Empire could have accomplished absolutely nothing of note other than been where Jesus lived and the prevalence of Christianity in the West alone would make it reasonable to think about them in passing at least once a day.

This assumes an infinite supply of potential sales. In practice I would expect to optimize over some denominator which combines time and sales, emphasized differently based on how saturated the market is.

Regardless, this doesn't address the main issue that the buyer's agent and seller's agent have near-identical incentives: have quick sales with high prices. The only distinction is that the buyer's agent's ability to market their services to future clients is correlated with low prices, but I'm not sure how strong of a correlation that is.

Oh hey, I've been playing a bunch of Warframe and Factorio as well. I can't get enough of games with in-depth crafting systems.

Do you know of any other games with similar progression systems to Warframe? Monster Hunter is kind of similar in crafting, but I'm more interested in the mastery system: "do all the things, collect one of every single weapon/armor/companion etc, and each thing you collect adds to your exp even if you never use it."

Ur, Amilia, and Marked are the easiest to avoid the taboos of passively if you want to just have a free power and not dedicate your life to advancing some cause.

I'd probably go with Amilia, become the head of a magical hospital where I heal people for money (and have enough EMTs and ambulances to keep people alive until I can get to them, and get obscenely rich while simultaneously helping people. I assume that charging money for healing is a lot less pleasing and would advance the agenda less than doing it for free, but it's not strictly taboo. I think as long as I don't turn away poor people, healing anyone who comes and simply charge them proportional to their ability to pay, it'll probably be fine. I assume that the existence of other Amilia users will drop demand to reasonable levels such it won't lead to absurdly high prices like it would if you were the only one who could cure otherwise incurable disease, but one in a million multiplied by the proportion of people who choose Amilia means this will still end up with a lot of money.

Alternatively, see if the Fae power can be munchkinned for absurd amounts of money by growing rare spices or something. Depending on the growth rate and quality/quantity it can be used on at a time, it might be more profitable to heal people entirely for free to boost your strength more and earn all your money from growing stuff. Though again, profits will be mitigated by other Amilia users.

I don't see why that would always be true. I would expect red-leaning judges to be biased towards the red states, while blue-leaning judges would be biased towards the blue states.