11 ms·
Why should I put my website to sleep?
- neckardt 5y agoUnfortunately I use Firefox with privacy.resistFingerprinting set to true. This disables leaking time zone information, so when javascript tries to query the time of day it gets a time 7 hours ahead of my actual time zone. In other words, this function would break websites for me, the demo thinks it's night even though I haven't even had dinner yet.
- hexane360 5y agoI love resistFingerprinting, but I really wish it had a whitelist for certain data on certain sites. Maybe I want my calendar app to know what time zone I'm in!
- captn3m0 5y ago+1. I don’t like being all or nothing. I want to disable Timezone and System Theme anti-fingerprinting but FF gives no option.
- throwawayfb996 5y agoI think the demo always thinks it's night though, by design, because that's the demo.
- atatatat 5y ago...the same way? Each time? In an almost...fingerprintly unique fashion?
- npteljes 5y agoAll Firefoxes report UTC when that's turned on, so it's not that unique.
- atatatat 5y agoPoint is, in conjunction with the other 12+ data points you're giving up, obfuscating the timezone doesn't do much for anti fingerprinting.
- npteljes 5y agoI think they work because of the conjunction. If lots of Firefox users give up these options, then they're not distinguishable from each other. Of course I know this is a cat and mouse game. But I'm siding with the mouse.
- paxys 5y agoTrying to define or prescribe a standard sleep schedule for everyone is pointless. There are people sleeping 9pm-5am and others 2am-10am, sometimes in the same household. Some people sleep fewer hours at night and take naps during the day. No single habit is "correct". Semi-related – I have had so many frustrating experiences with government websites which only operate during business hours.
- deleted 5y ago[deleted]
- alphachloride 5y agoInteresting how a non-latin Top Level Domain renders in the address bar(.みんな) vs how the author writes it in the <script> tag in his article (.xn--q9jyb4c).
- tW4r 5y agoYou can even have emojis in your domain using the same technique https://en.m.wikipedia.org/wiki/Punycode https://en.m.wikipedia.org/wiki/Punycode
- dillondoyle 5y agoI was going to ask about that domain because when I looked into it ICANN doesn't allow unicode/emoji gTLDs? Which seems to discriminate against non latin languages? http://domainincite.com/18035-why-you-cant-register-emojis-in-gtlds http://domainincite.com/18035-why-you-cant-register-emojis-i...
- CydeWeys 5y agoICANN does allow non-Latin TLDs. The very link under discussion in this comments section uses one. Emojis are something else though.
- ChrisArchitect 5y agothis is common, just how the unicode vs text writing everywhere as a fallback since unicode not always available as much as it is now
- CydeWeys 5y agoYeah that's punycode. The UTF8 version of it doesn't work in all contexts. https://en.wikipedia.org/wiki/Punycode https://en.wikipedia.org/wiki/Punycode
- deergomoo 5y agoIt’s pretty condescending to be told to go to sleep by a website. It’s 22:44.
- itisit 5y agoSeriously. Many of us access sites when we can, not necessarily when we want. I know there's a bypass feature, but being greeted by this kind of nannying reminder can come across as annoying, at the least, to a certain nocturnal group of folks (ex. hospital staff, parents of newborns, security guards, etc.).
- geoah 5y agoI don't think this is meant for such sites but I can def see a benefit for social, news, or other "addictive" sites that might be detrimental to people's mental health. IOS, Android, and at least Macos have the ability to help users restrict the time they spend on an application, but doing so on the web is not as simple. In chrome I'm using "Intention" which is a nice extension that does something similar but for only the sites I've added to a list. As long as the site has a way to allow me to still browse the site or even give me 15m more or something and then fade to black again I'd welcome this from many sites.
- itisit 5y agoAnd I'd equally welcome the browser extension that bypasses this sort of thing. :) It's good in theory, but thankfully lacks the contextual information it would need to be appropriately enabled for a given user's sleep schedule.
- deleted 5y ago[deleted]
- simonblack 5y agoBedtime? Where in the world is it bedtime at this moment? This policy is only workable if your country uses a little-used language and takes up only a single timezone. Dumb idea. Unnecessary complexity in a website.
- solox3 5y agoThe script uses the device time.
- dheera 5y agoThat doesn't work well for me because I use UTC as my device time regardless of where I am in the world. IP geolocation isn't a good idea either because I often access pages through a VPN in another timezone. In short, nice thought but no thanks.
- asadlionpk 5y agoYou want websites to cater to a stupid outlier usecases like yours?
- dang 5y agoPlease don't call names in HN comments. This is in the site guidelines: https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html. I'm sure you can make your substantive points thoughtfully. That will both represent them better and enhance the community rather than damaging it.
- sneak 5y agoThe page mentions it uses the local clock/time zone in the browser viewing the page.
- simonblack 5y agoWhy would you go to the bother of producing a website and then shut other people out of it just because you're asleep. Even worse is assuming that because it's their bedtime, they have no right to think they can use the website. So many assumptions. It reminds me of my ethnic mother's command, "I'm cold. Go and put a jumper on."
- jorgesborges 5y agoAside from being instructed to sleep, which is a little juvenile, there’s something charming about the idea of a website being “closed” for the day. It has the feel of a living, dynamic thing. Definitely not suitable for all types of websites but it’s a neat idea for personal a page. I don’t think I’d ever use a third-party to implement something like this either. I like the clean margins and typography there.
- simon1573 5y agoUp until recently the Swedish tax office only permitted you to login during extended office hours.
- 542458 5y agoThe B&H photo video website won’t accept orders or payments during Shabbat and most Jewish holidays (except for Hanukkah).
- schoen 5y agoIt looks like they only close for seven Jewish holidays (Purim, Passover, Shavuot, Tisha B'Av, Rosh Hashana, Yom Kippur, and Succot) https://www.bhphotovideo.com/find/HelpCenter/StoreInfo.jsp https://www.bhphotovideo.com/find/HelpCenter/StoreInfo.jsp That's a lot more than any other business I can think of, but it might not be a majority depending on how you count: https://en.wikipedia.org/wiki/Jewish_holidays https://en.wikipedia.org/wiki/Jewish_holidays
- uyt 5y agoA lot of government websites are Monday to Friday only. I like to joke that they don't even have one 9 of availability. (e.g., https://www.irs.gov/payments/view-your-tax-account https://www.irs.gov/payments/view-your-tax-account see the "Hours of availability" section)
- viraptor 5y agoYou scared me with the Mon-Fri, but actually irs is mon (morning)--sat (night) and sun (morning)--mon (unless maintenance happens). Which sounds fairly reasonable.
- Baeocystin 5y agoI really, really dislike the 'for your own good' impetus that seems to be a common current design trend. We're already dealing with information-density loss and the Fisher-Pricification of the GUI, and maybe this is the next step in overwrought 'we know what you want to do better than you'. I have no ire for the creator of this. But respect boundaries, people. You are not your user's parents.
- dheera 5y agoExactly. This page which uses device time doesn't work well for me because I use UTC as my device time regardless of where I am in the world. IP geolocation isn't a good idea either because I often access pages through a VPN in another timezone. In short, nice thought but no thanks. Also, great way to get your page downranked if a search engine comes prowling around your website at night.
- enneff 5y agoYou’re probably one of about 100 people in the world who set their device time to UTC. I don’t think it’s reasonable for any designer to cater for this use case.
- easton 5y agoEvery time I set up a server I set it to UTC, since who knows where I’m accessing it from anyhow. Maybe OP thinks similarly of their PC?
- dheera 5y agoPart of it is for log file continuity, but the bigger reason is that I actually manage my entire life in UTC. All the clocks, watches, phones, and even rice cooker in my home read UTC. I tried timezones and DST for a while and hated it, and decided to do away with it.
- deleted 5y ago[deleted]
- edoceo 5y agoThis isn't a new trick. Some US Gov sites have hours of operation. From memory the IRS has one, and recently I noticed one of the gov sites for LA had "hours" for some parts, so I could only do forms when they were open.
- chrismorgan 5y agoA remark for JavaScript developers: for injecting its content into the body, this script creates a dummy div (it has no attributes and is targeted by no styles), sets its innerHTML, then appends it to the body. That dummy div is actually unnecessary: Element.insertAdjacentHTML lets you achieve the same effect without it: document.body.insertAdjacentHTML('beforeend', '<div class="nightnight">…</div>'); Browser support is universal. (Firefox was last to the game, getting it in Firefox 8, 9½ years ago. IE introduced it, in version 4.) I have more remarks I could make, but I’ll leave it at that one. It’s the most interesting.
- sushid 5y agoWhat are some other remarks? Please do tell!
- throwaddzuzxd 5y agoInteresting, I've never heard of insertAdjacentHTML before. Thank you for sharing :)
- ShakataGaNai 5y agoNo. Just no. Don't make assumptions about your users. Maybe it's important to them. Maybe they have insomnia. Maybe they are staying up late. Maybe they work early/late in concert with someone elsewhere in the world. Maybe they're sleep schedule is different from yours Or maybe they just work the night shift.
- sodality2 5y agoThere is a "I’ll sleep later, I really need to use this site right now →" button, by the way.
- me_me_me 5y agoI'll give you an advice I wish I learnt earlier in my life. Don't think how something does not work, how it will be broken from the get go. Don't come up with negative use cases - its easy. Do the opposite, its much. much harder. But as the result you can arrive at new ideas (be it business or art). After and only then you can work on workaround for the negatives.
- new299 5y agoI’m a bit confused by the name, what’s the Japan connection? The developer seems to be called Masamichi Souzou (正道想像) but doesn’t seem to have any connection to Japan? Is there something I’ve missed? Just seems odd to me.
- krisroadruck 5y agoCulture fetishization.
- danellis 5y agoWhat's the difference between appreciating something and fetishizing it?
- krisroadruck 5y agoAppreciation: "This burrito is amazing" Fetishization: "This burrito is so amazing I'm going to start using a Cholo accent, drive a low rider, do up my apartment like the inside of an Azteca, and rename my business to some obscure Spanish phrase"
- tkiolp4 5y agoI thought that the webserver would be actually in sleep mode, like a laptop. That would be interesting though.
- busymom0 5y agoThat won’t work as visitors from many other time zones still need to see it.
- Breefield 5y agoNo!
- dimva 5y agoIf anyone is motivated to do this for some weird reason, please self-host the code instead of exposing your users to potential hacking.
- jokocide 5y agoThis is dumb. If any site does this to me I'll immediately move to a competitor or just stop using it entirely.
- lainga 5y agoCompare to HN's sentiment the last time this was posted! https://news.ycombinator.com/item?id=11777562 https://news.ycombinator.com/item?id=11777562
- dang 5y agoThose comments don't look organic to me, and the vote data seems to confirm that. So while it was someone's sentiment, I doubt it was HN's.
- rozab 5y agoApparently the DVLA got this memo. They've disabled all their web forms outside of working hours.
- chapium 5y agoThis should be opt-in.
- RicoElectrico 5y agoThis kind of reminds me of the Wojciech Cejrowski's (Polish TV and YT personality who gradually turned far-right) online shop that is closed on Sunday due to religious reasons [1][2] [1] https://www.wykop.pl/wpis/34034367/wchodze-na-strone-cejrowskiego-sklep-kolonialny-bo/ https://www.wykop.pl/wpis/34034367/wchodze-na-strone-cejrows... [2] https://buzz.gazeta.pl/buzz/7,156947,11419434,zakupy-w-niedziele-nie-u-cejrowskiego-zarzadzenie-pana-boga.html https://buzz.gazeta.pl/buzz/7,156947,11419434,zakupy-w-niedz...
- imgabe 5y agoWebsites can be accessed from anywhere in the world. You don't know that it's nighttime where your users are. I guess you could use geolocation and figure it out, but that is an awful lot of trouble to go to just annoy your users.
- deleted 5y ago[deleted]
- not2b 5y agoSome people work the night shift and sleep during the day. Others have odd schedules. Just don't do this. It's paternalistic, ill-advised, and not helpful.
- deleted 5y ago[deleted]
- kirykl 5y agoThis would work much better as a configurable browser extension
- ntht8 5y agoAre they implying that みんな is pronounced similar to night night? I don't think it is... is it?!
- guavaNinja 5y agoI think it means "everyone". Read it as "night night, everyone"
- donio 5y agoThanks for deciding what's good for me!
- ChrisArchitect 5y ago(2016)
- ChrisArchitect 5y agosome old discussion about this concept/site: https://news.ycombinator.com/item?id=11794024 https://news.ycombinator.com/item?id=11794024
- ChrisArchitect 5y agoJennifer Garner reading Go the F*k to Sleep was the suggested promotional video for this on PH back in 2016 https://www.youtube.com/watch?v=U08XWOx3XYM https://www.youtube.com/watch?v=U08XWOx3XYM
- tengbretson 5y ago1984 part 1 chapter 3
- ChrisArchitect 5y agoSaw someone propose recently shutting off twitter_com for a bunch of days, or a few weeks, to give the entire globe a break. Now this from 2016 resurfaced. Maybe it has a better fit in today's world.