Virtual Indian Independence Day / / No Comments Today is Indian Independence Day. On this day India celebrates its independence from the United Kingdom. On 15 August 1947 Jawaharlal Nehru, the first Prime Minister of India, raised the Indian flag above the Lahori Gate of the Red Fort in Delhi. Since then every year on Independence Day the incumbent Prime Minister repeats the ceremony by raising the flag over the Red Fort and by addressing Maps Mania… more → Posted in: Interactive Maps Tagged with: Independence, Indian, Virtual
A Quick Look at AI in Chrome / / No Comments Google announced a while back their intent to experiment with generative AI in the browser itself. Personally, I think this could be a really good idea, but I’m really unsure as to how many other vendors would support it. With Edge being a Chromium product, and Microsoft being pro-GenAI, it seems like a safe bet it would support it. Safari and Firefox… I honestly feel like they probably never would. That being said, initial support landed in Chrome Canary (the bleeding edge version of Chrome) and I thought I’d take a quick look. Here’s what I found. Setting it Up To test this new feature, you need either Chrome Canary or Dev. Enabling support requires tweaking two flags... more → Posted in: JavaScript Tagged with: Chrome, Look, Quick
Real-Time Radiation Maps / / No Comments Yesterday a fire broke out at the Zaporizhzhia nuclear power plant in Russian occupied southern Ukraine. On hearing the news of the fire I almost immediately rushed to the Real-Time Radiation World Map in search of any detected spikes in radiation in the area.The Real-Time Radiation World Map visualizes radioactivity levels from Geiger counters around the world. Luckily, as you can see from the Maps Mania… more → Posted in: Interactive Maps Tagged with: maps, Radiation, realtime
Next Code Break – August 6 / / No Comments Hey folks, earlier last month, I mentioned a tweak to my <Code><Br> schedule, and originally I was going to have one today, but that has been pushed out to August 6th. You can find out more here: Hacking Arduino Hardware as a Noob Pt. 2 My plan is to continue showing Arduino/web integration and I’ve got an interesting bug to share. (I love it when I make mistakes that are good lessons!) I hope to see you there! Raymond Camden… more → Posted in: JavaScript Tagged with: August, Break, code, Next
How to Add a Header to a curl Request / / No Comments curl is one of those great utilities that’s been around seemingly forever and has endless use cases. These days I find myself using curl to batch download files and test APIs. Sometimes my testing leads me to using different HTTP headers in my requests. To add a header to a curl request, use the -H flag: curl -X 'GET' \ 'https://nft.api.cx.metamask.io/collections?chainId=1' \ -H 'accept: application/json' \ -H 'Version: 1' You can add multiple headers with multiple -H uses. Header format is usually [key]: [value]. The post How to Add a Header to a curl Request appeared first on David Walsh Blog. David Walsh Blog… more → Posted in: JavaScript Tagged with: curl, Header, Request
Tripgeo Cities / / No Comments A few months ago Map Channels kindly offered to create a json feed for my Guess This City game. I had been complaining about having to add a new city to the game every day. Map Channels then volunteered to create a feed for the game which gives the name, coordinates, population and a description of a different city each and every day. The result is that Guess This City now updates daily without Maps Mania… more → Posted in: Interactive Maps Tagged with: cities, Tripgeo
Automating Background Removal with Firefly Services / / No Comments As a quick FYI, if you would rather skip reading my text and jump to a video, I’ve got one at the end of this post. Be my guest to scroll down and watch that instead. One of the most interesting aspects of Adobe Firefly Services is what it enables in the automation space. I think it’s fair to say that these automations will still be followed up by a human checking, tweaking, and adjusting results, but if the APIs can save a significant amount of time, that’s got to be a great benefit. Let me demonstrate one simple example of this – removing background images at scale. The Remove Background API The Remove Background API is part of the Photoshop API family and handles the... more → Posted in: JavaScript Tagged with: Automating, Background, Firefly, removal, Services
Pixel View / / No Comments I’ve created a simple game using images from Mapillary (and a couple of images from Wikimedia).Mapillary is a crowd-sourced ‘Street View’ service that allows users to capture, share, and explore street-level imagery from around the world. Developers are allowed to use images submitted to Mapillary under a CC BY-SA 4.0 license. Mapillary ‘street view’ images can be a great resource for Maps Mania… more → Posted in: Interactive Maps Tagged with: Pixel, View