Quantcast
Channel: Grant Winney
Browsing all 348 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

I can't find my logs in AWS Lambda! (they might not be enabled...)

I setup an AWS Lambda job the other day, for cleaning up comments on SO, and then added a trigger to run it every morning. I checked it this morning and realized:The job failed for some reason.I had no...

View Article


Image may be NSFW.
Clik here to view.

Jumpin' on the Docker train (better late than never...)

If you're in a technology field, it's easy to develop the feeling that you need to know every concept out there. As if we aren't being paid to learn new things as business needs arise, but to somehow...

View Article


Image may be NSFW.
Clik here to view.

SO Vault: Hidden .NET Base Class Library Classes?

StackOverflow sees quite a few threads deleted, usually for good reasons. Among the stinkers, though, lies the occasionally useful or otherwise interesting one, deleted by some pedantic nitpicker - so...

View Article

Image may be NSFW.
Clik here to view.

What is the opposite method of Any in LINQ?

If you are (or hope to be) a .NET developer, knowing LINQ is a huge time-saver. It's a syntax that allows you to manipulate data in a fashion that'll be familiar to anyone who's worked in a...

View Article

Image may be NSFW.
Clik here to view.

How can I find the state of NumLock, CapsLock or ScrollLock in WPF?

If you're writing a WPF application and need to find the state of the Num Lock, Caps Lock, or Scroll Lock keys, you can use the Keyboard.IsToggled method (introduced in .NET 3.0):var isNumLockToggled =...

View Article


Image may be NSFW.
Clik here to view.

What's the difference between Tuple.Create() vs new Tuple?

tl;dr - There is none. It's a matter of preference! Keep reading if you want to learn a little something though. 😉When writing a story, it helps to be able to express a concept in a variety of ways,...

View Article

Image may be NSFW.
Clik here to view.

How do I assign C# code to a variable?

It'd be ridiculous for a language to not have a way for you to reference a particular value, so you could pass it around in your application.string name = "Grant"; int height = 71; bool isMale = true;...

View Article

Image may be NSFW.
Clik here to view.

Only assignment, call, increment, decrement, await, and new object...

This error might look a little cryptic at first glance, but it's actually very descriptive in explaining what's wrong. You're likely to come across this one when you're starting out with C# ... or...

View Article


Image may be NSFW.
Clik here to view.

SO Vault: What are your favorite Vim tricks?

StackOverflow sees quite a few threads deleted, usually for good reasons. Among the stinkers, though, lies the occasionally useful or otherwise interesting one, deleted by some pedantic nitpicker - so...

View Article


Image may be NSFW.
Clik here to view.

What is (err.. was) the Amazon Early Reviewer Program?

I was paging through reviews this evening for new phones, a process I both love (new tech yay) and hate (I get lost in the minutiae, researching specs I didn't know existed and actually don't care...

View Article

Image may be NSFW.
Clik here to view.

SO Vault: What issues carry the highest risk in a software project?

StackOverflow sees quite a few threads deleted, usually for good reasons. Among the stinkers, though, lies the occasionally useful or otherwise interesting one, deleted by some pedantic nitpicker - so...

View Article

Image may be NSFW.
Clik here to view.

Docker - Peeling back the layers

After a few weeks, I'm back on the Docker train. Or is it the Docker whale? Who trains whales to haul cargo anyway? And why don't we see more protests about this? Where's PETA?? So many important...

View Article

Image may be NSFW.
Clik here to view.

Thanksgiving 2019

It's nearing the end of Thanksgiving, so before it gives way to Black Friday, commercialism, and the inevitable story of people beating each other up at a Walmart, here's a short list of some of the...

View Article


Image may be NSFW.
Clik here to view.

How do I add seconds, minutes, or hours to a DateTime structure in Erlang?

Some languages, like Ruby, give you 12 ways to do the same thing. Other languages, like Erlang, make it tough to find 1 way to do something. Awhile back, I was trying to add a period of time to an...

View Article

Image may be NSFW.
Clik here to view.

SO Vault: What are some funny loading statements to keep users amused?

StackOverflow sees quite a few threads deleted, usually for good reasons. Among the stinkers, though, lies the occasionally useful or otherwise interesting one, deleted by some pedantic nitpicker - so...

View Article


Image may be NSFW.
Clik here to view.

The MOST EVER usefullest Docker commands (as determined by some guy on the...

After taking my first look at Docker and then playing around with building images, I've now progressed into other proprietary work stuff, so... won't be sharing that on here. I like having a job.That...

View Article

Image may be NSFW.
Clik here to view.

Can I use background.html and background.js in the same Chrome extension?

tl;dr - No, pick one.Alright, thanks for stopping by! Have a great rest of th....What?Oh, you expected a better explanation than that? Point taken, you probably ended up here because of an error, and...

View Article


Image may be NSFW.
Clik here to view.

The command “eval git fetch origin +refs/pull/8/merge:” failed

Like any decent dev shop, we employ continuous builds for our projects. I even use it for one-off projects like GhostSharp, to make sure any code I'm committing compiles correctly (when applicable) and...

View Article

Image may be NSFW.
Clik here to view.

SO Vault: What are Code Smells? What is the best way to correct them?

StackOverflow sees quite a few threads deleted, usually for good reasons. Among the stinkers, though, lies the occasionally useful or otherwise interesting one, deleted by some pedantic nitpicker - so...

View Article

Image may be NSFW.
Clik here to view.

Replacing Gmail with Mailbox.org (and calendar and docs too!)

Google provides some amazing tools, but at what cost to our privacy? One of the biggest blockers in eliminating the grip Google has on me has been to find a reliable and affordable replacement for...

View Article
Browsing all 348 articles
Browse latest View live