Sat.Jul 30, 2016 - Fri.Aug 05, 2016

article thumbnail

Using Couchbase Server In A Golang Web Application

The Polyglot Developer

Not too long ago I wrote an article regarding how to create a RESTful API using the Go programming language , but in it I only used mock data rather than an actual database. What happens if we want to use a database with Golang? What database, or more importantly, what kind of database should be used? Most APIs transfer data in JSON format, so it might make sense to store data in the same format.

Servers 52
article thumbnail

How It Works: Session/SPID (–2) for DTC Transactions

SQL Server According to Bob

I have written on this subject before but it seems to come up from time to time, as it did again this week. The Session (SPID) = –2 is just a place holder used by SQL Server to indicate that the DTC transaction is still active but there are no sessions enlisted/propagated into the transaction. Here is how to reproduce the scenario. Client creates and owns a DTC Transaction Client connects to SQL Server, and enlists in the DTC transaction.

Servers 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Method, Part I

The Agile Manager

Last month, I went on a 6 day, 55 mile canoe trip with several friends. I last went canoe camping in the 1980s with the Boy Scouts. Being out of practice, I bought books from as far back as the 1950s to as recent as 2010 on canoe camping, studying everything from gear and technique to meal planning and water purification. Some things haven't changed much over the years: Duluth packs are still in fashion because of their low profile when placed inside a canoe and on your back while portaging one.

Energy 40
article thumbnail

Using SqlStorage Instead Of SQLite In An Ionic 2 App

The Polyglot Developer

When it comes to Ionic 2 there are many ways that you can store your data. For example you could use HTML5 local storage, Mozilla’s localForage library, or Ionic’s SQLite extension that is part of Ionic Native. With these options available, I get a lot of requests for information on Ionic’s less advertised SqlStorage option. We’re going to take a look at using SqlStorage in an Android and iOS application rather than the SQLite alternative.

Storage 40
article thumbnail

Connect To Multiple Wireless Networks With A Raspberry Pi

The Polyglot Developer

So I recently picked up some more Raspberry Pi 3 units. You’re probably thinking I’m building my own T1000 (Terminator reference) with these things. No, actually I got these units for work to play around with some IoT projects around the office at Couchbase. I have a few offices that I visit at Couchbase which brought up my need to have multiple possible wireless networks to connect to as I travel.