The weirdest thing to me about CORS is that you can't whitelist multiple sites in the same Access-Control-Allow-Origin header. It's either "*" or exactly one site.
So the standard solution is to echo back the referrer site, but only if it's whitelisted. "Ah yes foo.com, you are my one and only. I only allow requests from you." "Ah yes bar.com, you are my one and only. I only allow..." It's bizarre.
Dear Ruby devs and game devs. I have a crazy announcement I want to share. Please boost.
Last week I released A Dark Room to the Nintendo Switch. Within the game, I also shipped a Ruby interpreter and a code editor as an Easter Egg.
*This Easter Egg effectively turns every consumer spec-ed Nintendo Switch into a Ruby Machine.*
1. Download A Dark Room from the US/EU.
2. Connect a USB keyboard and press the “~” key.
3. Follow the onscreen instructions.
in 2008 we'd all crowd round the computer to see what the One Big New Thing was on the internet that week. there was only one thing that happened on the internet every week, by the end of the week news had reached all the outer forums and everyone knew about it. it was usually a flash game or a youtube poop. we'd all crowd round the computer. excited about what this week's new content was gonna be. the video loads. its luigi, and hes saying "SPAGHETTI" over and over again for eight minutes
Welcome to the 8th Layer of Madness
Most topics are related to Linux, Anime, Music, Software and maaaany more