Kanako 59 Posted August 15, 2021 Popular Post Share Posted August 15, 2021 (edited) Heyo, I had insomnia this night and I didn't come up with anything better than to code a little omorashi program for myself. Then I thought someone else will find it useful too, so here we are. What's it about: 1. Imagine you're holding it in a line to the bathroom. You don't know how much time you will wait and how much time each person will occupy. You're forced to wait, anxiously recounting people left each time someone frees the room. It's hard to recreate something like this only by yourself. If you decide to "just hold it till I can" you don't have an aim in your mind ("I only have to wait for 2 more people!..") and it's not that fun already. On the other hand, if you set concrete goals (I need to wait for 30 minutes) it's not that fun because you know exactly for how long you need to hold it. 2. So basically I tried to create an automatic tool which will help me with this. I attached a miniature program which does the following: - You're asked how much time you're going to hold roughly. For example, from 5 to 15 minutes, from 10 to 30 - you can set any time you want. - You don't know exactly how much time left until you're allowed to go. The program randomly chooses the waiting time within the timeframe you predefined earlier. - When the time runs out, you will receive a pop-up, informing you that you're allowed to go. 3. There's also a "line to the bathroom" simulator. In addition to the roughly defined time of waiting, you can also define the number of people in the line. In this case the program will notify you when the next person frees the bathroom and informs you about the number of people left in the line until you're allowed to go. 4. Installation: there's nothing to install, it's a primitive html file with a miniature script. Just unpack it and open html file in any browser, the rest should be user-friendly (I hope). Maybe some day I will improve it, add features and make it prettier, but I'm not so sure. Anyway, let me know if you found it useful too. WaitingInLine.zip Edited August 15, 2021 by Kanako (see edit history) Noby, BeeCat, b12345215 and 7 others 7 1 2 Quote Link to comment
Stanley79 636 Posted August 15, 2021 Share Posted August 15, 2021 Thank you. It's a good idea. I would like a time I've been waiting indicator so I could verify it's updating. Kanako 1 Quote Link to comment
Kanako 59 Posted August 15, 2021 Author Share Posted August 15, 2021 56 minutes ago, Stanley79 said: Thank you. It's a good idea. I would like a time I've been waiting indicator so I could verify it's updating. Good idea, will do that when I work on it again. Quote Link to comment
DesperateJill 3,781 Posted August 15, 2021 ✨ Legendary Member Share Posted August 15, 2021 @Kanako "- You're asked how much time you're going to hold roughly. For example, from 5 to 15 minutes, from 10 to 30 - you can set any time you want. - You don't know exactly how much time left until you're allowed to go. The program randomly chooses the waiting time within the timeframe you predefined earlier." I find this to be a rather interesting idea and an interesting program, and I could see how you want to set it within a specific timeframe, the bathroom line is often highly unpredictable and doesn't go according to your needs and desires, so maybe you could include an option that throws a wildcard in there. Like although you will set it between 15 or 30 minutes maybe here and there it will just occasionally throw you a 45 or 50 minute line making you forced to wait a lot longer than you were planning on to factor in that uncertainty about how you really can't plan for when things don't go the way you want! As I was going to say in a thread that I plan to write later hopefully today the bathroom line can be very unpredictable and sometimes impossibly long. Sometimes you think I will go to the bathroom at the end of this thinking that the line will be 15 minutes long and then you find it much much longer and you might not be able to wait that long or you might find it uncomfortably long having to wait that long. Or if you really wanted to include a wildcard maybe you could include a situation where occasionally the bathroom ends up breaking down from all of the use so the person is left not getting to go at all! kenn, Kanako and light150 2 1 Quote Link to comment
Kanako 59 Posted August 16, 2021 Author Share Posted August 16, 2021 On 8/15/2021 at 2:26 PM, DesperateJill said: @Kanako "- You're asked how much time you're going to hold roughly. For example, from 5 to 15 minutes, from 10 to 30 - you can set any time you want. - You don't know exactly how much time left until you're allowed to go. The program randomly chooses the waiting time within the timeframe you predefined earlier." I find this to be a rather interesting idea and an interesting program, and I could see how you want to set it within a specific timeframe, the bathroom line is often highly unpredictable and doesn't go according to your needs and desires, so maybe you could include an option that throws a wildcard in there. Like although you will set it between 15 or 30 minutes maybe here and there it will just occasionally throw you a 45 or 50 minute line making you forced to wait a lot longer than you were planning on to factor in that uncertainty about how you really can't plan for when things don't go the way you want! As I was going to say in a thread that I plan to write later hopefully today the bathroom line can be very unpredictable and sometimes impossibly long. Sometimes you think I will go to the bathroom at the end of this thinking that the line will be 15 minutes long and then you find it much much longer and you might not be able to wait that long or you might find it uncomfortably long having to wait that long. Or if you really wanted to include a wildcard maybe you could include a situation where occasionally the bathroom ends up breaking down from all of the use so the person is left not getting to go at all! Thanks! You got the idea right. I’ll think about the wildcard feature, maybe I’ll implement it a bit later. Quote Link to comment
Kanako 59 Posted August 16, 2021 Author Share Posted August 16, 2021 (edited) Update! What's new: - Fixed the logic a little (now it works exactly as described in the first post) - Added a sound when someone frees the bathroom (so you wouldn't miss the notification) - Added a stopwatch as requested @Stanley79 If there'll be more people interested in this project, I'll also make it prettier. Upvote or comment to show you need it 😉 EDIT: Stopwatch appears to be laggy when you minimize the browser window or switch to another tab. Don't really know how to fix it now, I'll look into it later. Meanwhile, stay at the same tab if you want it to work correctly every time. It only affects the stopwatch though, the rest of the program should be working correctly in any case. EDIT2: Stopwatch is fixed in the newer version (see below). WaitingInLine_v1.1.zip Edited August 16, 2021 by Kanako (see edit history) WetCathy, Drip and WatchMeWiggle 3 Quote Link to comment
WatchMeWiggle 112 Posted August 16, 2021 Share Posted August 16, 2021 I don't know anything about JavaScript. Would It be possible to add a visual to see how many people are in line? Also, when I tried it out the timed went way past the upper limit I selected. Maybe I did something wrong? idk, but I wanted to let you know! Kanako 1 Quote Link to comment
Kanako 59 Posted August 16, 2021 Author Share Posted August 16, 2021 9 minutes ago, WatchMeWiggle said: I don't know anything about JavaScript. Would It be possible to add a visual to see how many people are in line? Also, when I tried it out the timed went way past the upper limit I selected. Maybe I did something wrong? idk, but I wanted to let you know! Thank you for trying it out and for the feedback! Hmm, interesting, I just tested it with these settings, and it worked. Did you try it with a smaller timeframe? If yes, did it work? If no, could you please set "from 1 to 2" and try again? If it didn't work even with a smaller timeframe, could you please open a console while being in the page (fn+F12 or cmd+option+J on Mac, Ctrl+Shift+J on Windows) and check if it says something in console when you click "Submit"? Also try out the new version (attached). I fixed the timer in it. I can add some visual, but it won't be breathtaking 🙂 Just a simple 2d visual representation of the line. WaitingInLine_v1.2.zip Quote Link to comment
WetDave 650 Posted August 18, 2021 Share Posted August 18, 2021 On 8/16/2021 at 11:19 PM, WatchMeWiggle said: I don't know anything about JavaScript. Would It be possible to add a visual to see how many people are in line? Also, when I tried it out the timed went way past the upper limit I selected. Maybe I did something wrong? idk, but I wanted to let you know! If the visual were even just stick figures it would be good especially if they could be crudely animated to simulate varying degrees of desperation. Quote Link to comment
Kanako 59 Posted August 19, 2021 Author Share Posted August 19, 2021 (edited) Update! What's new: - I added some simple CSS, and now it looks much better 🙂 - Rewrote UI to make it more clear and user-friendly - Now you can start it with random settings. No need to fill in the form if you don't want to - you only need to click the button. I would really recommend you to try this out - this way you truly feel the cruel randomness of the situation you happened to be in 🙂 Stay tuned for more updates in the future 😉 WaitingInLine_v1.3.zip Edited August 20, 2021 by Kanako (see edit history) Explorermonkey, OmoL, lsn1 and 1 other 4 Quote Link to comment
Kanako 59 Posted August 30, 2021 Author Share Posted August 30, 2021 Hey, was it useful for someone? I thought of porting it to iOS / Android, but I’m not motivated enough to do it only for myself. KrisAbyss, Varys and OmoL 2 1 Quote Link to comment
NotDusty 182 Posted August 30, 2021 Share Posted August 30, 2021 Worked very well for me! As other posters have said, it would be good to have some more 'wildcard' elements (oops, someone took a bit longer than you had anticipated etc.) but as a basic platform for holds it works very well. Kanako 1 Quote Link to comment
KrisAbyss 82 Posted August 31, 2021 Share Posted August 31, 2021 13 hours ago, Kanako said: Hey, was it useful for someone? I thought of porting it to iOS / Android, but I’m not motivated enough to do it only for myself. I haven't tried it yet cause I don't use my computer much but I would love for it to be ported to android! Varys and Kanako 1 1 Quote Link to comment
univgirlkelsie 495 Posted September 2, 2021 Share Posted September 2, 2021 how do u get the audio to work Kanako 1 Quote Link to comment
Varys 191 Posted September 2, 2021 Share Posted September 2, 2021 I'll also admit to being interested in an android port, to be honest,if the OP is still interested in updating it. Kanako 1 Quote Link to comment
holdinggirl94 27 Posted September 2, 2021 Share Posted September 2, 2021 I also like it, I don't need the app, but improvements on the webbased one would be nice :) Kanako 1 Quote Link to comment
Varys 191 Posted September 3, 2021 Share Posted September 3, 2021 (edited) Tried this out the other night, it's certainly not bad, certainly adds something! But it could use a few tweaks. When you're the last person in line it says "there are 0 people in line", which is unclear. I'd replace that with "you're next in line", because I didn't realise it meant there was still someone 'in the bathroom' that I was waiting for. Next idea of course is a constant counter to show how many people are still in the line, displayed on the page. Third, the message "someone else came in" should be "someone else came out of the bathroom" for clarity, I thought the app was adding people to the lineup when I read that first! Edit: also sount effects! The door knob is a nice touch, but I'd say go further and add a toilet flushing and a sink running as well (I know this idea is the most difficult of the lot to implement, but thought I'd suggest it!) Edited September 3, 2021 by Varys (see edit history) Kanako 1 Quote Link to comment
Kanako 59 Posted September 4, 2021 Author Share Posted September 4, 2021 Hello everyone! Thank you for the feedback, it was very valuable ❤️ @Varys Thanks for the suggestions, they all do make sense. They're also not so hard to implement, so I'll do that in the next release 🙂 @DesperateToes Hmm, the audio should be working automatically when someone frees the bathroom (it's just the sound of the door opening to alert you about the line moving). If it doesn't work, it should be the issue on your side. Maybe try another browser? @holdinggirl94 Any ideas for improvements? 🙂 @NotDusty Thanks for trying it out! I'll think of ways to make it more random. @KrisAbyss and everyone else interested in the Android version - I'm glad you also find this idea useful 🙂 It will take some time to implement it though. But I'll do that! Stay tuned 😉 Quote Link to comment
univgirlkelsie 495 Posted September 4, 2021 Share Posted September 4, 2021 i wish you would include a toilet flushing sound 🙂 Quote Link to comment
Kanako 59 Posted September 4, 2021 Author Share Posted September 4, 2021 1 hour ago, DesperateToes said: i wish you would include a toilet flushing sound 🙂 Will do! Quote Link to comment
Shawnie 144 Posted September 4, 2021 Share Posted September 4, 2021 That way rocks!!!!! With my small bladder it will be way fun to use this. I'll like soooo never have dry jeans again. 😉 Kanako 1 Quote Link to comment
Mr Pops Alot 9 Posted September 5, 2021 Share Posted September 5, 2021 Very good idea and a pretty good execution as well; although I have a few suggestions that would make it better: More sound effects like peeing, toilet flushes, and sinks running which would make it harder to hold (and make it more immersive). I know a lot of people want this Multiple stalls which allows 2 or more timers to be on at once, again giving it more realism as no bathroom would just be one toilet Unexpected elements like random malfunctions which can cause a stall to be broken (and repairs that can repair the stall); people leaving the line; and people that cut through you in the line Have the latest version be on the first post so you don't have to scroll down to look for the latest update The code is just Javascript and HTML so it was easy for me to add some stuff to it (screenshot below is just a mock up and most do nothing) Quote Link to comment
Kanako 59 Posted September 22, 2021 Author Share Posted September 22, 2021 (edited) Long time no see! New version coming in. What's new: - Rewrote notifications a little, so it's more clear what's going on. - Added new sounds! Now when someone leaves the bathroom you'll hear a toilet flushing, followed by running water (and then the door sound from the previous version is played). - Added a counter which shows the amount of people left in the line. Enjoy! ✌️ Bonus story for those who read my posts: I code this project when I have a mood for holding it 🙃 I usually set goals I need to finish before I can go - this time it was all the updates above and writing this post. Line counter was trickier than I thought! I was fixing the last bug with shaking hands standing in the shower. I managed to finish the work, but then I heard the sounds I added in this update (because I was testing them too) and lost it completely. I was wearing a swimsuit 😉 WaitingInLine_v1.4.zip Edited September 22, 2021 by Kanako (see edit history) Hamr and FLUID 2 Quote Link to comment
Kanako 59 Posted September 22, 2021 Author Share Posted September 22, 2021 @NotPops Hah, thanks for running through my code, I appreciate it 😄 - I added sounds it the latest release (see above). - Nice idea with multiple stalls, it would also be nice to make it along with the visual representation of the line. But it will take too much time and effort to implement. Maybe in the future (if at all). - Yeah, it would be great to implement all this (especially people leaving and / or cut through you). But it is harder than it seems, I hope I'll have time and energy for this. - Is there a way to add the latest release to the top? I tried to do that, but it seems you cannot edit the post after so much time has passed. FLUID 1 Quote Link to comment
TimmyTrihard69 366 Posted September 22, 2021 Share Posted September 22, 2021 Is there a way to get it to work on Android? Sorry if I missed any updates on this, I've been trying to keep up univgirlkelsie 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.