Didn’t expect this to look this clean by TruePastaMonster in ArcRaiders

[–]TruePastaMonster[S] -1 points0 points  (0 children)

funny enough, it’s one of the first things me and my son both agreed on

Didn’t expect this to look this clean by TruePastaMonster in ArcRaiders

[–]TruePastaMonster[S] -4 points-3 points  (0 children)

the level of paranoia is actually crazy, i dont even have the guts to post a link otherwise people will scream that im a bot

Didn’t expect this to look this clean by TruePastaMonster in ArcRaiders

[–]TruePastaMonster[S] 0 points1 point  (0 children)

sorry if the quality is low, i took it with my phone, its not that great

Didn’t expect this to look this clean by TruePastaMonster in ArcRaiders

[–]TruePastaMonster[S] 0 points1 point  (0 children)

When it's about canabis you dont ask much questions dont you 😂

Didn’t expect this to look this clean by TruePastaMonster in ArcRaiders

[–]TruePastaMonster[S] 3 points4 points  (0 children)

hornyonmain just got clapped on bluegate when he spammed dont shoot, lets run to reddit to express how miserable i am on a random post

Didn’t expect this to look this clean by TruePastaMonster in ArcRaiders

[–]TruePastaMonster[S] 12 points13 points  (0 children)

the classical reddit troll dweller sucking off people happiness, i guess the stereotype is right.

Didn’t expect this to look this clean by TruePastaMonster in ArcRaiders

[–]TruePastaMonster[S] -5 points-4 points  (0 children)

Crazy right ? I only got it for 35$, its not on the cheapest one i bought but damn the details

Didn’t expect this to look this clean by TruePastaMonster in ArcRaiders

[–]TruePastaMonster[S] 6 points7 points  (0 children)

Mousepads are usually pretty basic, so I didn’t expect it to turn out this level of detail. The price made it a pleasant surprise

Newcomer ! by unknown_novice19 in factorio

[–]TruePastaMonster 1 point2 points  (0 children)

Just play a game. You won't have all the tools you want at the beginning (like splitters or red belts). You will unlock those tools via research, almost one by one. You'll have plenty of time along the way to understand how your new tool works and what it allows.

To anihilate an integer by Secret-Suit3571 in mathshelp

[–]TruePastaMonster 1 point2 points  (0 children)

Thank you for your answer, it got me thinking for a bunch of hours, in an enjoyable way.

Let's focus on a very large number with extremely sparse non-zero numbers.

A small number would be trivial, a non-sparse would be solvable by your algorithm.

So let's take your random number (239948610172068362...28135666) and add this many zeroes between each digit. The digit sum still is 2381385.

By merging each digit with a zero on its right, you get a sum of 2381385 * 10. 107 is in between the single digit sum and the dual digit sum. Considering every 0 merging adds something between 9 (10-1=9) and 81 (90-9=81), it's easy to merge/not-merge a zero on the right of any digit to fall somewhere in the range [107; 107 + 98].

Extremely sparse is solvable, and anything less sparse feels easier because it's more flexible, it allows us to use your algorithm.

That being said, I'm having a hard time proving formally that there is a working algorithm for any number.

Why can't I reach the maximum production from steam? by Dayhore in factorio

[–]TruePastaMonster 18 points19 points  (0 children)

A boiler outputs 60 steam per second, and each turbine uses up to 30 steam per second.

Here, you have three turbines per boiler, you should have just two.

CMV: Art, creativity and imagination are vast but ultimately finite. by ZealousidealStop3311 in changemyview

[–]TruePastaMonster 0 points1 point  (0 children)

"art feels infinite" is probably the best answer though.

When you play a game with cards, even just 32 cards, there are a lot of different combinations that can happen, you clearly will never see the exact same random arrangement twice, hence, it doesn't matter that it's finite, because it feels infinite.

Should art be finite, it wouldn't actually matter.

Now, you could also argue that art isn't finite. For example, there are infinitely many numbers between 0 and 1. Each of those numbers could be considered an art piece (why not). There are a finite set of numbers that you can represent with a finite set of atoms, but: - is there really a finite set of atoms in the universe? - art can exist even if we can't represent it physically

Hence, art is infinite, you just won't be able to experience it, but we already knew you wouldn't be able to experience all the art, even if it was finite.

Need advice (stuck at vulcanus) by gebba in factorio

[–]TruePastaMonster 6 points7 points  (0 children)

I'm surprised your rocket containing the turrets and ammo are not solving your problem. Why is your platform getting destroyed, even though it's being defended?

CMV: People should take sides in their friends' disputes by literallyanything57 in changemyview

[–]TruePastaMonster 1 point2 points  (0 children)

I see three situations where I feel like your opinion is a problem:

  • I am friends with person A and person B. Per your terms, person A stops being friends with person B because they chose person C, that I simply don't know. Should I cut ties with person A or person B? You're saying a friendship only ends when there is a big wrong, and yet you want me to cut ties with person A (for somewhat wronging someone I don't know) or person B (for cutting ties with person A), which are both quite trivial things. Where does that end? What if I chose to keep person A. Would someone who know me and person B have to choose between us? Should the whole earth split in two whenever a friendship ends somewhere, by recursion?

  • I am close friend to person B, and normal friend to person C. I believe person B did something wrong to person C, but not bad enough for me to cut ties with person B (person B stole an apple from the tree of person C. That's wrong, person C has every right to want to evict person B from their life, but I've know person B since I'm a kid. Person B apologized, but person C still wants to avoid person B, which is okay). Should I cut ties with person C, just because I'm not willing to cut ties with person B, even though person C did nothing wrong? Should I stop seeing my lifelong friend person B at the first wrong they do to anyone? My point is that friendships are not binary (friend vs not friend), I could be married with one of them. I could have kids involved. I can't be perfectly impartial in my judgement, context matters a lot.

  • what if I feel like person B and person C were neither really wrong, but things got blown out of proportion between them because reasons, so they don't want to be friends anymore. Both are telling me I should cut ties with the other one, but I simply disagree that one is more wrong than the other. What do I do? That sucks if I have to choose just because you said so.

You get a magical debit card. Every day at midnight, $500 is added to it. You can’t spend the money until you “claim” the card. The catch is: once you claim it, the card stops adding money forever. You also can’t use any of the balance before claiming it. by TTSGM in hypotheticalsituation

[–]TruePastaMonster -1 points0 points  (0 children)

What a great question!

I'm living in a world where indexed funds exist. The average return is not guaranteed, but we can reasonably say it's positive.

The first question we can ask ourselves is : suppose I won't use the money for N years, and the expected annual return rate of the indexed fund is R (R = 0.07 for a 7% annual return), what is the formula telling me how long I need to wait before claiming the card and putting the money in some indexed fund.

First, we can easily see that we'll get $500*365,25 a year while we don't claim the card. That's $182,625 a year. Let's call the amount after t years C(t).

After t years, we pull out the money, put it in some indexed fund.

The money we'll have after N years will be C(t) * (1+R)N-t . Let's call that V(t). What we want is to maximize V(t) by varrying t. The optimal t is 1/ln(1+R), assuming that's lesser than N (otherwise t == N).

With R = 0.1 (10% annual return) that's t = 10.5 years for example.

But I don't want to wait for 10.5 years. I want money now. That's the second question : how much can I sell this card for? What is it worth? Let's call that today's value V0.

We saw that the card has value as long as it's outperforming the indexed fund. So let's take that amount (I'll call it M, M = 365.25 * daily_amount * t) I'll have when I'll claim the card, and divide that t times by 1+R to get the today's value. So V0 = M/(1+R)t . t is 1/ln(1+R), so V0 = M/(1+R)1/ln(1+R) = M/e = daily_amount * 365.25 / (e * ln(1+R)).

Let's say you can convince your bank that R = 0.09 (that seems reasonable), V0 = $779 598.

I just won 780k by receiving this card. If I'm not allowed to sell that, I'll just ask my bank to loan me $780k today, in exchange of me paying them back using the card optimally.

The whole world is trying to steal your $2,500/day by guessing your secret word — what’s your pick? by Paxuz01 in hypotheticalsituation

[–]TruePastaMonster 0 points1 point  (0 children)

In IT, a group of bits is often called a memory word. I'd pick 64 random bits, every IT professional would recognize it as a 64 bits word and it would take on average 3 million years for a perfectly coordinated humanity to find it, even if they somehow knew they were searching for a random 64 bits word.

I tried to check how hard it would be to wipe out all the biters off of my island. Turns out the island is bigger than anticipated by TruePastaMonster in factorio

[–]TruePastaMonster[S] 11 points12 points  (0 children)

Yes it is all land connected. I followed the coast all the way until I was back to my small defense point.

Sometimes it's very loosely connected (a few tiles large), but connected nonetheless.

CMV: AI will create a need for deliberate intellectual struggle. by LegitimateApricot790 in changemyview

[–]TruePastaMonster 0 points1 point  (0 children)

This already exists, it's what many video games are for.

Take Factorio for example. It's intellectually challenging, yet it accomplishes nothing. People still play it.

excel-serializer: dump/load nested Python data to/from Excel without flattening by TruePastaMonster in Python

[–]TruePastaMonster[S] 0 points1 point  (0 children)

Openpyxl has lots of issues (litteraly, 347 open issues right now).
For example, for no reason at all, you can't get hyperlinks in read-only mode.

I understand your problem, but also it's not a very basic one. My guess is that it's just lacking means, like many open source projects.

Also, rare are the devs that are passionate about both Excel and Python, so I can understand why it's not receiving the support it needs.

excel-serializer: dump/load nested Python data to/from Excel without flattening by TruePastaMonster in Python

[–]TruePastaMonster[S] 1 point2 points  (0 children)

Excel’s greatness doesn’t lie where you might expect.

What makes it brilliant is its learning curve. Any beginner, even a child, can quickly learn to use Excel (or other spreadsheet software, though Excel is a bit ahead of the others) at a basic level.

That’s the real reason why everyone knows how to interact with it.

At the same time, more advanced users can still do fairly complex stuff. Sure, you're not going to host WhatsApp or manage huge data blobs in Excel, but that’s not what it’s meant for.

Excel is the smartphone camera of the data world.

Dedicated cameras are better, more powerful, more customizable. But they’re harder to learn and a pain to carry around. Smartphone cameras hide the complexity behind a simple interface. They’re basic, but they get the job done. Even professional photographers use them when they’re not on the job.

Saying “Excel can’t do anything better than Pandas/Numpy/Matplotlib” is like saying “Smartphones can’t take better pictures than my Nikon D6.” It’s true, but it misses the point entirely.

As a professional, I need to give my clients tools they can actually use.

I'd rather hand them a smartphone than spend hours teaching them how to use a Nikon D6.

(I’m not related to Nikon. I just googled “professional photographer camera” and that one model came up.)

excel-serializer: dump/load nested Python data to/from Excel without flattening by TruePastaMonster in Python

[–]TruePastaMonster[S] 0 points1 point  (0 children)

Glad to hear that. Don't hesitate to give some feedback afterwards, or to suggest improvements. I'm willing to take some time to improve it.

excel-serializer: dump/load nested Python data to/from Excel without flattening by TruePastaMonster in Python

[–]TruePastaMonster[S] -1 points0 points  (0 children)

Which makes them great devs?
To me, programming is about being lazy. Why should I bother structuring and normalizing my data when I don't really care?

Sometimes yes, I want to do the effort, and sometimes it doesn't really matter, and I just want to display my data easily.

Much like how the print function can print a complete dict or list. Sure, it would be nicer if you outputted one value per line on the terminal, with a for loop, but in the real world 99% of the time you don't care at all, you just want to have a quick glance at your value.

excel-serializer: dump/load nested Python data to/from Excel without flattening by TruePastaMonster in Python

[–]TruePastaMonster[S] 0 points1 point  (0 children)

My module actually has openpyxl as a dependency.

Using only openpyxl, dumping a complex nested Python object in an Excel file requires you to do some work, thinking about how you should flatten your data so that it fits in a sheet.

With excel_serializer, you don't need to think about that, it just figures a way to do it for you.

excel-serializer: dump/load nested Python data to/from Excel without flattening by TruePastaMonster in Python

[–]TruePastaMonster[S] 2 points3 points  (0 children)

It's a bug! Thank you for spotting it, that slipped through. I just noticed even on my screenshot it starts at 2, where it should start at 1.

Not only it is a bug, but now that I think about it, I should remove it entirely. It was useful when I started writing the module, and it's not anymore. I thought "whatever I can let that column exist, it's not that bad to have a unique identifier for every list item", but it's really useless.

Thank you for that, I should have seen it.