« first day (4960 days earlier)      last day (181 days later) » 
00:00 - 15:0015:00 - 00:00

I assume pythonaywhere will just cut off the site at some point
WebSockets would allow a lot more clicks for the same bandwith but IDK if PA supports them
There we go.
There is no hard limit on requests as far as I know.
But the more requests the more CPU seconds you use.
@mousetail surely as long as you have the proper handler in your python code it should work?
And the slower your program gets.
Anyways time to implement.
Okay need to implement a lambda which goes through each item in the milestones array and checks which one is bigger than the current points.
@Themoonisacheese It still needs to go through their uwsgi and nginx that need to be configured properly
Seems to fit into the category if things that require a premium account
15:10
Actually this might be better with a normal function.
I should probably implement something where it procedurally generates the milestones.
Every power of 2?
You sure? They get pretty far apart
Hmm.
I guess I'll go with powers of 2.
But the numbers are a bit clunky.
And not "solid" as 10k, 30k, 50k, etc.
Round powers of two to the nearest multiple of a power of 10? That would give you 1, 2, 4, 8, 20, 30, 60, 100, ...
CMC The above sequence
15:20
What is CMC by the way?
Chat mini challenge
Comment-made creation?
People can golf it and post their scores
@mousetail oh.
Alt-possibility:
initial milestone^2.
That could work.
So each milestone is the previous squared or the previous time the initial?
The first will grow very fast
Actually both will grow much faster than powers of two
15:25
The previous sqaures.
Then we won't really reach past the 5th or so milestone within the lifetime of the universe
@UnrelatedString Nice
@UnrelatedString wait you did range(10) as an argument.
TIo Supports Python expressions as arguments?
15:27
First time I've actually seen the "round to n significant figures" builtin used :P
@192927376337929292283737373773 Jelly does
Because Jelly literally just evals arguments before jellifying them
Oh.
Jellifying, I like the link of that.
(pun completely intended)
I need a Python solution for that. Though.
@192927376337929292283737373773 re.sub('(?<=.).','0',str(2**n))
I wanted to do it myself.
15:34
Sorry
My solution is terrible though
No need.
Anyways.
Wait problem.
Okay so first mentally work this out.
Get a power of 2, for example 32.
Then we loop through powers of 10,
until we find the nearest one.
It's the nearest multiple of a power of 10, which might not be the nearest one
Right.
We basically need to reduce all numbers after a certain point to zero.
Since every power of ten ends in zero.
Now where do we get that point.
I assume it would be after the first digit.
Since you did 128 -> 100.
15:40
Yes
x[0] + "0"*len(x)-1.
Highly inefficient but works.
Assuming x is str(power_of_2).
@192927376337929292283737373773 ...why does the entire page reload just to show an updated number
@192927376337929292283737373773 *used to use
It's at .pythonanywhere.com.
@Seggan because no reactivity.
@RydwolfPrograms that was a thing?
Anyways doing powers of 2 (simple) for now.
Because the rounding thing is unnecessary complexity.
15:46
@Seggan There is no JS, so the only way to push a new page is to reload the whole thing
Far outweighing the complexity of the powers of two.
@mousetail needs js then
Well.
That's secondary.
New juicy features is first.
I wonder if there is some cursed way to create a slow streaming HTML response without JS that makes it look like a number if updating
Everything is in motion...
15:49
Slowly loading more absolutely positioned divs that cover the old ones with new numbers?
@Ginger Discord.
GOOOOO!
And internal server error.
Great.
@RydwolfPrograms Good point. Honestly, let's all just merge into a point mass
External Server Error when?
15:53
Omg.
Okay I need to create a new protocol (HTTP+),
which supports 10xx External Server Error.
Star this if you like this idea.
You can already 600 status code in normal HTTP
There you go.
Btw the website works now.
what is this for anyway
Maybe add , formatting to the numbers to make them easier to read?
Such as what?
@Seggan wdym?
16:00
LIke 10,000 instead of 10000
Oh.
Will do.
This is simple.
@user :(
ctx.app.jinja_env.get_or_select_template(template_name_or_list),
  File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1081, in get_or_select_template
    return self.get_template(template_name_or_list, parent, globals)
  File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1010, in get_template
    return self._load_template(name, globals)
  File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 969, in _load_template
    template = self.loader.load(self, name, self.make_globals(globals))
@192927376337929292283737373773 whats your site for
Can anyone help debug?
@Seggan It's a game, as implied?
I plan to add more features.
16:10
yeah i didn't really get the game part
not really obvious
but nice
"Not really obvious"?
Could you clarify?
you said its a game, "as implied"
it wasn't really obvious to me that its a game
thats why i asked
it's a game in a very wide sense of the term
You know clicker games exist?
16:36
it's not got the things that make clicker games fun: idling and upgrades
here's an idea if you want to keep the community aspect: each player gets their own private pot they can spend on upgrades etc or they can transfer points to the community pot to get special upgrades or bonuses when global milestones are reached
might do that myself if you don't like the idea, seems simple enough
of course the issue is always making it balanced and fun
also would like to help but don't really know python
can help on game design i guess
for example currently the power of 2 goals make no sense since you're always incrementing by a constant amount
they'd make more sense if there was a way to up the point power or something
17:00
In most idle games the goals increase by 10x every step and your production about 5x, so the time is about 2x
I can already tell I'm going to fucking hate my chem 2 class
Bro does not know how to teach whatsoever
Just spent 50m writing math on the board with no explanation of what any of the symbols stood for, not a single example of what any of the formulas would be used for, no differentiation in presentation style between derivations of stuff we need to know and actual stuff we need to know, just a complete shit show that left everyone in the room knowing less about chemistry than before we walked in
Then some stupid car on the bike ride home cut me off then randomly slammed on its brakes, so I had to swerve out of the way twice 'cause of whoever it was
Today is not my day lol
And I can't even switch chem classes since this is the only guy teaching this version of the class, and the other version of it overlaps fully with my Russian class
Worst part is I'm pretty sure he's just been deriving the ideal gas law this whole time with some side quests
Which is unnecessary but like if you're going to do it, the point would be to give people a more rigorous or a more intuitive understanding of it, and this guy has accomplished neither
It's just the stolen aesthetics of instruction
Compare that to my diff eq prof whose lessons are both more rigorous than any math class I've had, and explained extremely intuitively and with well-crafted examples. I was thinking maybe this chem prof's way of teaching is just how college classes are but no it's just how shitty college classes are
17:21
@mousetail the difference is that other idle games get you hooked by starting with small goals; here if you join and the goal is 2B away there is zero incentive to play
17:33
A collective goal can work
A discord I'm in has a "counting" channel where people just count. We all work together, there is no goal
Or consider big team efforts like BB, even though a individual can't meaningfully contribute it's an extra big celebration when the collective reaches a goal
no, the incentive of counting channels is "how far can we get before someone ruins it?"
@mousetail what's a bb?
busy beaver
@RubenVerg Someone ruins it every day, we just ignore them
People enjoy continuing counting regardless
interesting, the counting channels i'm in are split between "we restart everytime someone ruins it" and "we find clever ways to spell the number sequence referencing mathematical functions or constants"
latter is obviously more fun
but there you don't really do it for the goal, it's more "look at this function i found" of course
but yeah, maybe it can work
still like my idea and might develop it, doesn't mean this project is worse because of that of course
ah, site is down, sad, wanted to contribute towards the next goal
Starting Gradle Daemon...
Gradle Daemon started in 33 s 155 ms
you love to see it
new wr: fastest time gradle loaded for someone
17:41
0
Q: Parse Minecraft's VarInt

ThePlaneGuy45If you look at the reverse-engineered Minecraft Java Edition server protocol, there is an interesting integer encoding method that is used quite often called VarInt. It works like this: You have an array of bytes. 7 bits of each byte is used to encode part of the integer, with the most significan...

@Ginger would you believe me if i told you it took 9 minutes once
my average daemon start is ~800 ms tho
18:15
0
Q: Stuck on Sokoban

JordanIn the classic game of Sokoban the player's character solves puzzles by pushing boxes around a warehouse onto designated targets. Take, for example, this ASCIIfied game level: ...x. ..2.. x.1.. ..... ..o.. This level could be solved by the player (o) pushing box 1 left two spaces onto the target...

i am officially a firefox user now
thanks google for manifest v3
excellent
Now to convince the rest of the world
18:48
0
Q: Pronoun Assistant Reloaded

Ginger Screenshot / Code Snippet About Based off of Glorfindel's excellent userscript, this userscript displays users' pronouns (as mentioned in their chat or main site bios) under their usernames in chat and in user cards on Q&A sites. Additionally, this revised version has a few new tricks that t...

@Ginger i'm famous
@Seggan WAIT YOU CAN INSTALL EXTENSIONS ON MOBILE?
NOBODY TOLD ME THIS I WOULDVE SWITCHED YEARS idk AGO
yeah it's really nice
att
att
@RydwolfPrograms condolences
19:33
@Seggan apparently google is the sole reason Firefox survives in more ways than one lol
google continues to have magical bullet-attracting feet
Earlier some scammer called me with one of those same-area-code spoofed numbers, while I was riding my bike, which was so fun since she kept trying to get info but I (legitimately) couldn't hear her and would be like "WHAT WAS THAT? I CANT HEAR IM ON A BICYCLE" until I finally heard what she was saying and hung up lmao
19:58
LMAO
@RydwolfPrograms My multivar calc prof once went on a half-hour tangent of deriving Kepler's first law of orbital mechanics, that was fun
20:38
@Seggan WHAT
I’ve BEEN a Firefox user as long as I can remember and I never noticed that
…And I still can’t find it
Is it only on Android
It’s probably only on Android 🙃
I Love™️ being trapped in iOS
Yeppppp
every browser on iOS is Safari because Apple considers JS runtimes to be ACE
yet another reason to not use iOS
s/considers JS runtimes to be ACE/wants to control as much as possible on their system/
that was the implication, yes :p
if you say it your way it might actually sound vaguely reasonable if you don't think too deep about it
btw did they say that as the official reason?
I don't know, but it's entirely possible
that rule is also why emulators aren't weren't allowed on the App Store
(iirc they either changed or were forced to change it a few months ago)
20:47
big step forward I guess, unless they just try and find as many dumb other reasons to reject them from the store as possible
that's effectively what they've been doing I think
like, google's effective monopoly on Android application distribution isn't great, but it could be so much worse
21:05
WHY IS COLLEGE SO EXPENSIVE
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
21:28
@Ginger Glorfindel replied to my issue today to say that they won’t be able to fix it until next year
att
att
u can always flee to germany
lmao
@Ginger they changed it because the EU forced them to allow third-party app stores and they wanted to give people a reason not to switch
ah
checks out
However, I think third-party app stores are region-locked, so this is mostly a benefit for people in the US, ironically enough
 
1 hour later…
22:56
@Bbrk24 same with USB C
...not exactly
Apple made the change to their own App Store to discourage people from using other app stores
they were required to allow other app stores, and required to use USB-C, but tmk they weren't forced to change the rules for their own App Store -- that part was done on their own accord
Poisoned apple.
23:14
Nov 25, 2023 at 8:29, by lyxal
Woah tampermonkey for Firefox Android is now real
23:28
Anyone else just really weird about the idea of hoodies
@Seggan I love not even being able to go into debt properly until I sort out how the fuck to apply for financial aid while I'm no contact with the parent who nominally supported me for the last year but may or may not have actually supported me at all depending on how you spin the accounting
00:00 - 15:0015:00 - 00:00

« first day (4960 days earlier)      last day (181 days later) »