7 ms·
Show HN: Live map of “good morning/night” tweets
- OmarShehata 6y agoTweet thread with timelapse from running it over night: https://twitter.com/Omar4ur/status/1315325135990202369 https://twitter.com/Omar4ur/status/1315325135990202369
- kseistrup 6y agoSee also https://twitter.com/soltempore https://twitter.com/soltempore
- OmarShehata 6y agoOh cool - tweets from that account show up 28 times in my timelapse I made of tweets since last night (out of 13,976 tweets): https://twitter.com/Omar4ur/status/1315325135990202369 https://twitter.com/Omar4ur/status/1315325135990202369
- politelemon 6y agoNote - you may need to disable your adblocker for this site to function
- zamadatix 6y agoThanks, was just waiting there like an idiot haha.
- OmarShehata 6y agoI'm surprised adblocker is breaking this. Any idea what component/library it's blocking here? This is using socket.io to get tweets from the server.
- cmeacham98 6y agoAt least one of the built in uBlock lists (I have almost all enabled, probably one of the anti social media ones) blocks js files with the name "tweets.js".
- dane-pgp 6y agoClearly all these tweets are fake and added by Twitter who are part of the conspiracy to make people believe the Earth isn't flat. /s
- umaar 6y agoRelated: WebGL globe showing live Wikipedia edits https://umaar.com/globe/ https://umaar.com/globe/
- londons_explore 6y agoPlease stop using WebGL without a fallback... Plenty of devices don't support it or immediately crash...
- runawaybottle 6y agoWhat are they supposed to fallback their 3D implementation to? It’s not for you, just turn the channel.
- HuangYuSan 6y agoI like this a lot
- dddddaviddddd 6y agoInteresting how 'night' seems to start well after sunset, at least right now in the Northern Hemisphere. 'Morning', however, seems to be happening more at sunrise.
- deleted 6y ago[deleted]
- Waterluvian 6y agoI love the idea. I think it would be a really cool idea for some IoT picture frame. I think a 2D map would be more effective.
- OmarShehata 6y agoI have this in the about page in the app, but this is actually based on a 2D version: http://wakingandsleeping.glitch.me http://wakingandsleeping.glitch.me I just wanted to be able to see the day/night part (which now that I think about you can do with Cesium).
- Waterluvian 6y agoThat’s awesome. I’m on mobile and can’t tell what tech you’re using but I bet you can just calculate day night geometries and draw them onto a Leaflet or OpenLayers map. I can’t commit atm but I might poke at this and I’ll flag you if I come up with something or find an existing solution. A leaflet plug-in for this sounds like a fun little project.
- OmarShehata 6y agoYeah I'd love to see if you build off this! FYI all you gotta do to switch to 2D in this viewer is type this in the console: ``` viewer.scene.morphTo2D() ``` It might be fun to regenerate this timelapse I did with the 2D view since you can see the whole world at once: https://twitter.com/Omar4ur/status/1315325135990202369 https://twitter.com/Omar4ur/status/1315325135990202369
- modeless 6y agoThere's a flag you can pass to Cesium to show a button in the UI to switch between 2D and 3D.
- atulvi 6y agoAnother interesting twitter related project: http://alltheminutes.com/ http://alltheminutes.com/
- OmarShehata 6y agoThis is pretty amazing, I'm surprised there's enough tweets with the exact time but I guess "It's X time and I'm Y" is a pretty common phrase
- userbinator 6y agoI think this is an interesting example of how what you post publicly can indirectly give away information, but then again, I suspect people wouldn't be tweeting such things if they wanted their (even approximate) locations to remain private.
- luxurytent 6y agoThis actually reminds me of the early days of twitter, when people would do this more often in my feed. Don't really see it anymore, but I guess it still happens in more niche circles!
- tomglynch 6y agoGlitch is an amazing tool. Before the recent changes they made in terms of projects sleeping, I have run a collection of telegram bots [1] servicing a few thousand telegram groups / millions of users on there for free, with minimal downtime over a 2 year period. I've had to switch to the paid plan now, but the ease in getting a project live on the internet with glitch is second to none. [1] http://telegrambotcollection.glitch.me/ http://telegrambotcollection.glitch.me/ (and even this website is hosted on glitch)
- tomglynch 6y agoIf you'd like to make it show tweets on different topics you can 'remix' it here https://glitch.com/edit/#!/wakingandsleeping-globe https://glitch.com/edit/#!/wakingandsleeping-globe . In app.js you just need to change the following to the terms you would like: const morning = ["Good morning", "Buenas dias", "صباح الخير", "সুপ্রভাত", "शुभ प्रभात", "Доброе утро", "Bom Dia", "おはようございます", "Guten Morgen", "Sugeng enjang", "좋은 아침", "Bon matin", "Günaydın", "Chào buổi sáng", "శుభోదయం", "शुभ प्रभात", "காலை வணக்கம்", "Buongiorno", "صبح بخیر", "સુપ્રભાત", "Dzień dobry", "Доброго ранку", "സുപ്രഭാതം", "ಶುಭೋದಯ"]; You will need to have your own twitter access keys though, which you add to the env file. Dobranoc
- luisfmh 6y agohmmm, doesn't seem to work in firefox for me? Realy cool though!
- jerrre 6y agoah I thought it was just down, but it was FF (on macOS) related, Chrome works
- OhHiMarkos 6y agoDude, add the Greek versions of good morning and goodnight. I was wondering why my country was empty in a vast field of good mornings.
- rectangleboy 6y agoSome kind of local time zone vertical line overlay option might be a nice addition. Why I thought about this: I'm using a ~12 year old monitor that occasionally has a broken column of pixels about 2/3 of the whole monitor width away from the left edge and thought it was trying to align with the ever-moving map on the site. It confused me why the actual location wasn't lining up until I realized it was my monitor's fault.
- fatruchir 6y ago@OmarShehata - do you use the Twitter API to get this data? Is it a simple process to get access?