SQL Games

I have just created a GitHub repository called sql_games. It contains games implemented as stored procedures, that can run on MariaDB or (with some changes) on Percona Server or Oracle MySQL.
You play the games via the command-line client. You call a procedure to make your move, then a text or an ASCII image appears.
Of course the same call should produce a different effect, depending on the game’s current state. To remember the state I use both user variables and temporary tables.
Why did I do that? Mainly because it was funny. I can’t explain why. And I can’t tell that it is funny for anyone: perhaps, where I’ve found interesting challenges, someone else would find a cause a frustration. But yes, it has been funny for me.
Also, I did it because I could. This means that others can do it. Stored procedures are not a useless and nasty feature that users should ignore – they are useful tools. Yes, several times I’ve complained that they need important improvements. But I complain because I like them.
Currently, three games are implemented:
Anagram – The anagram game. See a randomly generated anagram and try to guess the word. You can choose a language, and a min/max word length.
Bulls And Cows – If you don’t know the game, take a look at the Wikipedia page.
Hangman –  Try to guess letters and see an ASCII hangman materializing slowly while you fail.
Each game will be installed in a different database. CALL help() in the proper database to see how to play.
via Planet MySQL
SQL Games

The New X-Files Featurette Reveals New Monsters

The New X-Files Featurette Reveals New Monsters

As a teaser for the X-Files revival, which premieres January 24, Fox has put a 21-minute featurette online called “Re-Opened” which gives a primer on the original series for new viewers and a tantalizing look at the six new episodes for the old fans.

Not everything is new. For example, we knew that the first and last episodes of the revival are mythology episodes and the middle four are standalone episodes. Although we now know that the reason both episode one and six are called “My Struggle” is because the first one is about Mulder’s struggle and the last about Scully’s. We also hear that they play with the original mythology for the show and will explain how the Cigarette Smoking Man could appear in the revival after what looked like his demise at the end of the original run.

There’s a ton of new footage in this. Four people on fire, Mulder flung down a hallway, a teary Scully promising to be by Mulder’s side, a description of a horned beast attack, a lizard creature running away from the FBI… there’s a lot here.


Contact the author at katharine@io9.com.

via Gizmodo
The New X-Files Featurette Reveals New Monsters

Make a Bacon and Egg Bread Wreath for a Great Holiday (or Anytime) Breakfast

It’s bacon and eggs stuffed into buttery bread. It cooks in under 15 minutes. It’s shaped like a wreath and can feed eight people. What more can you ask for in a breakfast treat?

Crescent rolls are the MVP of this dish, which you can assemble the night before for a quick bake in the morning. (You do need to have scrambled eggs and cooked bacon before you toss this in the oven.) Perfect for post-holiday mornings when the kitchen is the last place you want to be but you do want a hot dish to serve your whole family. I’m going to stock up on crescent rolls for this and mini apple pie bites all year round.

Bacon and Egg Bread Wreath | YouTube


via Lifehacker
Make a Bacon and Egg Bread Wreath for a Great Holiday (or Anytime) Breakfast

TFBTV: USMC Rifle Range Qualification

On this episode of TFBTV, Miles Vining takes a look at how the U.S. Marine Corps goes about the annual rifle qualification process that every Marine undertakes every year. Qualification is not only important for keeping up the fundamentals of marksmanship, but also plays into a Marine’s cutting score, or a number that is calculated, […]

Read More …

The post TFBTV: USMC Rifle Range Qualification appeared first on The Firearm Blog.


via The Firearm Blog
TFBTV: USMC Rifle Range Qualification

If You’re Launching A Tech Startup In 2016, Focus On Privacy And Fast Data

private Enterprises over the last decade have devoted large portions of their IT budgets to collecting, securing and analyzing huge volumes of big data. Or at least trying to. But heading into 2016, the increasing complexity of networks, and the sheer number of connected devices that are constantly streaming data over those networks, will create a paradigm shift in how enterprises secure and manage… Read More


via TechCrunch
If You’re Launching A Tech Startup In 2016, Focus On Privacy And Fast Data

Today’s Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

Apple’s new set top box, a cheap VR headset, and the smallest Jambox highlight today’s best deals. Commerce Content is independent of Editorial and Advertising, and if you buy something through our posts, we may get a small share of the sale. Click here to learn more.

http://ift.tt/1fJjqpm…

http://ift.tt/1eY4qnc…


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

For a limited time, RadioShack (that’s not a typo) is selling a new Apple TV for $120, or $30 off its MSRP. They’ll also toss an HDMI cable in for good measure. Be sure to check out Gizmodo’s review if you’re on the fence. [Apple TV Next Generation – 32GB and HDMI Cable Bundle, $120]

http://ift.tt/1ThtgMI…


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

You have no shortage of options when it comes to Bluetooth speakers, but the Jawbone Jambox line started the entire trend, and its highly-rated mini model is just $60 today on Amazon. [MINI JAMBOX by Jawbone Wireless Bluetooth Speaker, $60]

http://ift.tt/1Thtjbl…


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

It’s not as advanced as a Samsung Gear VR or Oculus Rift, but if you have a smartphone and $19, you can experience VR with this View-Master VR starter set.

The View-Master is actually just a Google Cardboard-compatible VR headset, except, you know, it’s not made of cardboard. That means it’s cheap, but not too janky to give as a gift this holiday season. [Viewmaster VR With Google Cardboard Support, $19]

http://ift.tt/1fJjqpm…


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

We can all afford to be paranoid at this price. [Magicfly Stainless Steel RFID Blocking Credit Card Holder, $3 with code QNY3U45R]

http://ift.tt/1Rjwj8g


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

If your car is old enough to lack both Bluetooth and an AUX jack, this wireless FM transmitter will bring it up to code, no wires required. [Mpow Streambot Flex 2-In-1 Wireless Car Stereo Bluetooth FM Transmitter, $25 with code SJGSYZHL]

http://ift.tt/1O9Jck8


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

I dare say, even a footman could afford to buy the first five seasons of Downton Abbey on Blu-ray for $45. [Preorder Masterpiece Classic: Downton Abbey: Seasons 1-5, $45]

http://ift.tt/1fJjqpm…


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

Amazon just kicked off their end-of-year digital game sale, with big discounts on downloadable PC, PS4, and Xbox One titles. Highlights include Cities: Skylines for $12, Bioshock Triple Pack for $14, and Civilization V Complete for $13, but be sure to head over to Amazon to see all of the available discounts. [Amazon]

http://ift.tt/1c2r5VL…

http://ift.tt/1c2r5VL…

http://ift.tt/1c2r5VL…


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

Adobe’s Photoshop and Lightroom Creative Cloud photography suite normally costs $10 per month, but Amazon’s currently selling a 12-month plan for just $8 per month for the holidays. Creative Cloud plans don’t go on sale often, so if you’re a creative professional, or just want to make your own photos look better, this is a great opportunity to save on industry standard software. [Adobe Creative Cloud Photography Plan, $8 per month for one year]

http://ift.tt/1c2r5VL…


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

In just a few short years, App Santa has become one of my favorite holiday traditions, and it’s back today with great deals on popular iOS and Mac apps from some of the best indie developers in the business.

Personally, I use Tweetbot for Mac every single day, and Soulver, Drafts, Clear, and Deliveries also occupy space on my first two iPhone home screens. Every app in the promotion is popular and highly-rated though, so be sure to check out the full list below.


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

If you’ve got some cash to spend, and need a whopper of a last minute gift, Logitech’s Harmony Ultimate remote is marked down to just $195 today on Amazon, which is an all-time low, and more than $100 off its usual price. [Logitech Harmony Ultimate Remote with Customizable Touch Screen and Closed Cabinet RF Control, $195]

http://ift.tt/1LVAnrA…


Today's Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More

Order today, and you can still stuff everyone’s stockings with sub-$20 Bluetooth headphones. [Mpow Wolverine Bluetooth 4.1 Wireless Sports Headphones, $18 with code NXZ7GIVS]

http://ift.tt/1J356oN


More Deals


Tech

Home

Gaming

Media


Commerce Content is independent of Editorial and Advertising, and if you buy something through our posts, we may get a smallClick here to learn more. We want your feedback.Send deal submissions to Deals@Gawker and all other inquiries to Shane@Gawker

httpsDeals/status/630717684355694593


via Lifehacker
Today’s Best Deals: Apple TV, Virtual Reality, Mini Jambox, and More