A friend recently was asked to give a presentation on their career to a group of 12 year olds. It was a challenge to engage the students, and my friend was surprised that very few of the kids were interested in technology. I was disappointed as well since I think this is a great career choice, and worth a little investigation, especially at that age.
It’s hard to convince people to enter this business if they don’t have any interest, but if they do, I’m wondering what you might tell them. Today I’d like you to think about your words of wisdom to someone interested in your job.
What would you tell someone that you wish you knew early on in your career?
You might impart some hints about how to approach technology. You might give them ideas on how to build skills faster or better? However for me, I’d tell them two things.
First, you can’t underestimate the value of networking, no matter what field you enter. Whether that’s technology, medicine, law, or anything else, networking will help you. Learn to make contacts and interact with people.
Second, learn what you don’t like to do. Experiment with the technologies, practice the jobs, and understand what you don’t like. You might not find something you have a passion for, but I’d certainly encourage you not to enter a field that you just don’t enjoy.
I’m heading back to SQL Bits for the third time and I’m excited to be going again. I think that this is my favorite conference, hands down. The large mix of people, the incredibly welcoming hosts and the casual atmosphere make this one of the events I look forward to every year. It also means I get to swing by the Red Gate office without making a special trip.
This year the event is in Telford, near some racetrack that’s supposed to be famous. I’m not sure if they is any tie in with the event, but who cares. Chances are you won’t want to leave SQL Bits because you’ll be alternately excited by the content and charmed by the hosts and other attendees.
I’ll be delivering two talks at the event:
- Continuous Integration for Databases
- Branding Yourself for a Dream Job
I’ve done both of these a few times and they are very popular and thought provoking. I’m hoping that the crowd enjoys them as much as I do.
If you can make it to the UK, register today and I’d love to see you there. This is a great event, and I’m sure you’ll learn a ton and enjoy yourself while doing so.
This is what you build to juggle 6,000 tweets a second. That’s the headline that caught my eye and it’s about the challenges of Twitter and the data that they handle. Twitter definitely has a tough problem, one that few of us have, but perhaps they can help us learn to better deal with our own data from their experiences on an edge case.
The story is journalistic, not so technical, but it is interesting. Twitter has struggled with a blend of data that is partially crucial and must be consistent now (usernames) and other data that can be a bit out of date (tweets). They also have lots of unstructured data (photo/video) that is combined with more traditional, structured data. They’ve used a few different database platforms to store this data and assemble it with their application. That’s the same things that most of us also do when we deal with many different types of data.
However Twitter is trying to find away around dealing with disparate systems. They’ve had a number of engineers working on Manhattan, their database designed to handle both structured and unstructured data. And because they work for Twitter, this platform is designed to manage all of this data with very high workload demands at scale.
It will be interesting to see if they come up with any innovative ideas. Certainly SQL Server already has options for managing structured and unstructured data, though perhaps not at the scale Twitter needs.
At my Filestream/Filetable talk yesterday at SQL Intersection, someone asked me about programmatically adding a file to a Filetable. Easy enough, I thought, since I’d seen someone do this in .NET and was thinking this has to be simple. Turns out it’s not quite so simple.
I was assuming that I could use the GetDescendent method of the hierarchy ID for the path_locator field to get the path you needed and insert that. It turns out that’s not correct.
I searched around when that didn’t work and found this post from Bob Beauchemin and a question on StackOverflow. If the two, Bob’s post explains things better. He actually dug into the Filetable, looking at the constraints and defaults in the schema. If you do that, you can find this constraint on the path_locator field:
The code in this constraint looks like this, which matches with what Bob and SO show as the way to calculate the path.
ALTER TABLE [dbo].[Explorer] ADD CONSTRAINT [DF__Explorer__path_l__6477ECF3] DEFAULT (CONVERT(HIERARCHYID, '/' + CONVERT(VARCHAR(20), CONVERT(BIGINT, SUBSTRING(CONVERT(BINARY(16), NEWID()), 1, 6))) + '.' + CONVERT(VARCHAR(20), CONVERT(BIGINT, SUBSTRING(CONVERT(BINARY(16), NEWID()), 7, 6))) + '.' + CONVERT(VARCHAR(20), CONVERT(BIGINT, SUBSTRING(CONVERT(BINARY(16), NEWID()), 13, 4))) + '/')) FOR [path_locator] GO
This means that your insert statement needs to perform this calculation. For me, I decided to insert a jpg of a circle into the table, under the folder “books”. The folder looks like this:
Since I have the binary values for a circle image, I’ll use those, and then the code below. The first part of this code calculates the new path that’s needed, basing this on the path_locator value for the “Books” folder, and then building a NewID(). From there, it’s a simple insert.
If I now look at the folder, I see this:
An insert into the folder of a file.
I could easily adapt this to stream in the binary values from a .NET application, or OPENROWSET, but this works well enough.
As of right now, my United account has no flights booked. My Hilton Honors account has no hotel rooms reserved. My National account has no car rentals to pick up.
For now. I suspect things will change soon, but it’s a good feeling for now.
It is becoming more and more important to protect your data from anyone that should not access it, including the DBA. Learn how you can use column level encryption as well as TDE to protect your data files, with minimal performance impact to your SQL Server instance.
This session will look at securing data
- in flight
- at rest
- inside the database
We do this with
- IPSec/SSL Communications
- Transparent Data Encryption
- Partial Hash Bucket values with symmetric encryption.
- SQL Intersection Spring 2014 – EncryptionPerformance.pptx
- SQL Intersection Spring 2014 - EncryptionPerf.zip
I saw this post on what a smartwatch should look like and it got me thinking. I’ve got a Kreyos watch coming (I hope) and it fulfills some of the things I was looking for, and a few that the Pebble didn’t.
However I wonder where we’ll go with gadgets in the future. My son and I sometimes dream, trying to decide what we’d like to see built in the future. One of the main things we talk about is how we might wear things. A bracelet of some sort seems to be the consensus. Getting something larger that we can see better, but more convenient then a smart phone. Already I think the 5″ ones are a bit large and cumbersome to use. One of my complaints about the Galaxy S4 was that I couldn’t easily use it with one hand.
Glasses are an interesting idea. Google Glass has some good ideas, though I think the idea of including the camera was one that caused a lot of concern from people, and rightly so. Even though cell phone cameras haven’t caused too much of a problem, there certainly have been privacy incidents. I think I’d like the idea of getting some information in my field of vision, and I’d like to try some “smart glasses” at some point.
I found this post on gadgets out there, and most of them aren’t revolutionary and a few aren’t interesting. A USB drive in cuff links or a necklace? Doesn’t seem that interesting to me. What I’m looking for is perhaps some type of mix of gadgets that can work together.
Could I get a phone that connects with various devices that can run for a long time? Perhaps a belt buckle that provides power and also tracks movement like my Fitbit flex? It can connect to my watch as well, providing me with information from a device in a pocket. Ultimately I’m not sure what would be enhance the phone much. Any jewelry might not provide much more than notification of information through vibration, or possible light, and you’d still need a device.
Ultimately I think I’d like to have more ways to connect devices together. Easily get my phone to project on a larger monitor when it’s available, like in the kitchen or car, perhaps even using a camera there to communicate with others.
My hope is we’ll get gadgets that communicate, but with the separation of platforms and the reluctance for many to work together on common APIs, I’m not sure we’ll get there.
It’s not in the language I would write it in and it’s not necessarily safe for work, but it gets the point across.
One reason I do support Women in Technology, and other groups opposing discrimination. Apart from it’s poor behavior, it’s often just not even valid.