Profile

Scrapbook photo 1
Samuel Nelson
633 followers|152,218 views
AboutPostsReviews

Stream

Samuel Nelson

Shared publicly  - 
 
Separate GOPATHs

I have several projects that are using similar syntax (they have some functions with equivalent signatures), and while goimports is extremely nice, it sometimes chooses to import from the wrong repository.  The solution was obvious: set up a separate $GOPATH for each project - that way, goimports would only load libraries in the $GOPATH of said project.  Implementing that solution was ... less obvious.  Here's my specific implementation:

I've got both zsh and emacs set up to change the GOPATH and PATH variables based on the directory they're in.  Here's the code I've added to my .zshrc: https://gist.github.com/nelsam/c51cd8ce6919ccbcbba2

For emacs, I wrote a file (https://github.com/nelsam/prelude/blob/nelsam/gopath-dir-locals.el) to symlink to $GOPATH/.dir-locals.el, which effectively performs the same thing in emacs.

Of course, I had to write a quick script ([edit] my quick script: https://gist.github.com/nelsam/4a8359312c123abc4f0a) so that I can run `go-get-project github.com/user/repo` and it will automate creating the new GOPATH, setting up the symlink and .gopath files, and installing goimports, golint, and gocode.  Overall, though, not too bad - it's a working solution that's not going to create too many maintenance headaches (I hope).
1
Add a comment...

Samuel Nelson

Shared publicly  - 
 
HAHAHAHAHAHAHAHAHAHAHA!

HAHA!

*cough*

This is like Michael Bay giving free lessons on how to overcome budget restrictions with a good plot, script, and cinematography.
 
Not an article from +The Onion???

Is this the same Microsoft that complained when Google outed their failure to fix a security flaw within a 90 day window? Or the same Microsoft that to this day has bugs that originated more than 10 years ago? Or the same Microsoft that single-handedly caused the necessity for an entire industry dedicated to writing Anti-Virus software specifically for its OS?  That Microsoft?

I mean, I guess it's good that some cities will get access to additional training resources, but I can think of more than a few companies better qualified to give advice related to successfully hardening systems...
Cybersecurity isn’t just an issue for the feds and big companies like Google and Facebook. Cities of all sizes around the world are increasingly reliant on information systems that could be vulnerable to attack. That’s why Microsoft is volunteering its cybersecurity expertise, free of charge, to select city governments through 100 Resilient Cities, a non-profit…
2
Add a comment...

Samuel Nelson

Shared publicly  - 
 
I was trying not to think about it yesterday, so I didn't talk or post about it, but:

First Christmas present of the year?  $688 fee because my car was towed for "inoperability."  Thing is, it only has cosmetic damage - it operates just fine.

So yeah.  Great end to the year.
1
Samuel Nelson's profile photoBrian Turner's profile photo
4 comments
 
Seems reasonable to me. Good luck with getting it taken care of.
Add a comment...

Samuel Nelson

Shared publicly  - 
 
Ted Kirkpatrick's latest album, Onward to Freedom, is definitely among my favorite of his albums (including all Tourniquet discography, as well as things like In the Shadow of the Masters).  It may be my favorite thrash album, period.  Anyone who has any interest in thrash metal made by a guy who has a serious appreciation for classical music should check it out.
1
Add a comment...

Samuel Nelson

General Discussion  - 
 
And there goes $350.

I'm very excited for my gencon stuff to get here (in about two months, of course).  I'm going to be painting the logos of my favourite breweries on the Whiskey golem, for sure.  Avery, Surly, 3 Floyds, Grimm Brothers, and Delirium are all getting a spot, I think.

I should probably add some of my favourite scotch distilleries, too.
2
Add a comment...

Samuel Nelson

Shared publicly  - 
 
[A Quick Rant About the Term "PC"]

Game developers with linux releases: I know many of you are new to the linux world.  Many of us linux users stick to our linux-related circles and don't really interact so much with the Windows or OS X world.  Now, you're starting to write your games for linux, too, and everything is completely new to you.  So I understand why it's confusing for you; but STOP USING THE TERM "PC" WHEN YOU MEAN "WINDOWS"!

Really, I get it.  Apple encouraged the idiotic distinction between "PC" and "Mac".  While Apple computers technically are PCs, I can understand the distinction there - Apple encouraged it, so Apple PC owners are used to thinking that "PC" means "Not my computer."

That distinction never happened in the linux world.  I have a PC; my PC is running Funtoo Linux.  When you say something like, "The PC release will be first, with other platforms to follow," do you know what that translates to in my head?  "The OS X, linux, and Windows releases will be first; with consoles, iOS, and Android to follow."

If it were universal, I could just do a simple translation in my head: if isinstance(person, GameDev): sentence.replace("PC", "Windows").  No big deal.  You'd still be wrong, but at least I'd know what you meant.  But about 1/3 of you guys seem to have people on staff who know how confusing "PC" is in the linux world, which means that 1/3 of the time, "PC" actually does mean "PC".

Please, guys.  Follow the example of the 1/3 who are using the term correctly.  If you mean "Windows", say "Windows" or "Windows PC".  Or if that's too many characters for you to type, use "MSPC".

Also, if "Windows" is too many characters for you to type, I hope you're not actually writing code.
4
M Johnson's profile photo
 
that last paragaraph -- yes!
Add a comment...

Samuel Nelson

Shared publicly  - 
 
Mount&Blade: Warband (one of my favorite games, period) recently hit beta on linux.  Quick disclaimer: it is definitely true beta.  I've had it crash a couple of times, it sometimes won't quit without a kill -9, and every once in a while the graphics go insane and I have to restart the game (luckily, I can still save while the graphics are insane, and saving my game with insane graphics doesn't cause it to load with insane graphics).

I've been having a blast.  I have my complaints about the game, but overall, it's just so fun that my complaints kind of fade to the background.  Now, being a tabletop war gaming nerd, I love the Warsword mods (in this case, Warsword Conquest), so I'm almost always playing that game instead of any of the other mods, or the base game.

Quick summary of what I like and dislike:

Like:
- Simple combat system that creates complicated combat
- Mounted combat
- No quest line (you create your own story)
- Collect an army, join them on the battlefield, and gain skills and levels through success in combat.

Dislike:
- Tournaments (this deserves its own section, so I'm making a section for it).
- Randomness.  A lot of the game is based on luck.  Luckily (hehe), none of that is involved in combat.  However, you will occasionally get a quest to capture an enemy lord, and you'll usually struggle through many fights before either failing the mission or finally capturing a lord, because most of the time, the lord escapes.  This is purely a random chance.
- Unfortunately, the same is not true for you - if you lose in combat, you are captured.  Every.  Time.

Tournaments:
 - Most fights in a tournament, you're on a team.  If your team wins but some of your teammates were knocked out, your teammates advance to the next stage.  On the other hand, if you are knocked out and your team wins, you're kicked out of the tournament.
- You don't have any say in which items you start with.  This is really annoying if you're fighting a 1v1 match and happen to spawn with a (very slow) hammer, while your opponent spawns with a sword and shield.  The one handed sword is fast enough that you probably won't be able to swing your hammer at all.
- There is no balancing logic.  Say you happen to be fighting in a 3-way match, 5 units per team; you might get four peasants, while all five units on both of the other teams are lords.  Not remotely fun.

Once again, I play with Warsword Conquest.  The mod page is here: http://forums.taleworlds.com/index.php?topic=145937.0

If you want to get the mod running in the linux beta, ask me about it.  The linux beta currently has the main campaign overriding whatever you might choose when starting the game, but you can change that with a simple text file.

Here are some screenshots from a very proud moment - the time I put together an infantry of massive, monstrous beasts, and the aftermath of putting them in to combat: http://steamcommunity.com/id/valczir/screenshots/?appid=48700
1
Add a comment...
Have him in circles
633 people
Anthony Tucker's profile photo
Chris Perry's profile photo
Jakia Akter's profile photo
Nazeeruddin Ikram's profile photo
Kyle Souza's profile photo
sai siva sundar's profile photo
Theresa Webb's profile photo
Opi Um's profile photo
Kittikhun Somdech's profile photo

Samuel Nelson

Shared publicly  - 
 
I saw the first 10 seconds of the trailer for the new 12 Monkeys TV show from Syfy.  This is my knee-jerk reaction.

Syfy, stahp.  We really don't need more evidence that your name change is justified.  You've already shown us plenty of evidence that you're closer to an STD (syphilis) than a science fiction network, these days.  We nerds have already left.

You don't have to ruin everything we love just to get us to leave.  Really.  You don't.  We're gone.  You can have your mainstream audience all to yourselves.

Please stop?  Please?

.... please?
1
Add a comment...

Samuel Nelson

Shared publicly  - 
 
It's a start.
1
Brian Tomlinson (DarthLukan)'s profile photoSamuel Nelson's profile photo
2 comments
 
Why yes, it is.  In case you haven't heard the story, Avery was working on their latest batch of the Uncle Jacob's stout and ... forgot a step.  So they tried to salvage it.

Honestly, I love that beer - it turned out great.  A really smooth, rich beer, pretty mild on the hops.
Add a comment...

Samuel Nelson

Shared publicly  - 
 
Sigh.  This again.

Dear MPAA and RIAA (collectively MAFIAA): Please stop.  I think everyone's finally realized that you're not out to make things better for anyone but yourselves.  You're not helping the general public, you're not helping the artists (music, movie, or otherwise), you're not even helping the record or movie studios - your only interest is in helping yourselves to money gained through lawsuits.  Even some politicians are starting to realize this, and politicians are notoriously ignorant about technology and current events.

So just stop.  You're wasting everyone's time and money, and it's just getting exhausting at this point.
Movie industry lobbyists at the MPAA are trying to resurrect SOPA-style web censorship via a back door. Let's defeat online censorship again. Tell the MPAA to kill the #ZombieSOPA. https://takeaction.withgoogle.com/g-stop-mpaa
1
Add a comment...

Samuel Nelson

Shared publicly  - 
 
I finally have my replacement hood and bumper for my RX-8.  I had some minor damage to the front end a while back, and have been waiting for a consistent paycheck before getting the replacement parts.
6
Corey M's profile photofrank marzano's profile photo
2 comments
 
Looks sweet! I'm sure will look even better once installed
Add a comment...

Samuel Nelson

Shared publicly  - 
 
My problems with Watch_Dogs are summarized nearly perfectly by this snippet of the review from Rock Paper Shotgun:

From here, I tended to take it stealthily. Hitting a button sticks you to a nearby piece of cover, and you continue to use that to carefully skirt around corners, sprint across open spaces and remain unseen. Get close enough to an enemy and you can perform a swift take down move. Chain these moves together, get inside that server room, and your reward is a Pipemania-with-a-twist minigame, but even this relatively simple performance feels great, and the escape back out into the open world can be exhilarating.

But this is not how it goes. Here is how it goes: you press ‘hack’ to use the camera under your crosshair, but at that moment the game’s predictive targeting decides you’re actually looking at a guard in the middle distance. The guard explodes, because you hacked his grenade. Everyone on the level is now alerted.

You drop down and take cover behind an object and begin to move quickly towards the server room, still trying to avoid conflict. You press C to move behind a pillar, but in your haste didn’t have time to deal with the fiddly targeting here, either. You hide on the wrong side of the pillar, are too stuck to it to quickly disengage, and are spotted by a guard or six who begin firing at you.

You press 1 to bring out your weapon and nothing happens, I don’t know why, and press it a second time and now you have a machinegun in your hands. You rapidly press your left mouse button while aiming at the nearest guard, but this only causes you to awkwardly twitch your arms. You need to hold down the button for longer if you want him to lift his arms and then fire, a system that seems designed for analogue triggers more than digital buttons.

Now you’re dead. Reload, you’re back outside the compound. Start again.

This is Watch underscore Dogs’ missions at their best.

It's a game that is 90% finished, but the 10% that's broken is so fundamental to playing the game that I just can't put up with it.
One day you will purchase a multi-pack bag of assorted crisps. Maybe because you're going to a party, maybe because you're living on a budget. You won't be
1
Add a comment...
People
Have him in circles
633 people
Anthony Tucker's profile photo
Chris Perry's profile photo
Jakia Akter's profile photo
Nazeeruddin Ikram's profile photo
Kyle Souza's profile photo
sai siva sundar's profile photo
Theresa Webb's profile photo
Opi Um's profile photo
Kittikhun Somdech's profile photo
Basic Information
Gender
Male
Story
Tagline
I'm a linux fanatic, metalhead, and (according to a friend) scapegoatist. It's a new word. Just accept it.
Newegg used to be *the* place to buy computer parts. Their website made it easy to configure everything you'd need to build a computer; their prices were the best around; their RMA process was simple and fast; and their free or cheap shipping through FedEx was always matched so shipments from multiple warehouses would always arrive on the same day. However, the store has gone downhill over the past several years, starting around ... probably 2008. Their free shipping company changed, first switching to UPS, then to DHL. They no longer try to match shipments from multiple warehouses to get things to you on the same day. Their return policy is one of the worst on the 'net, requiring you to pay for shipping back to Newegg *and* with no option for cross-shipping. Their monitor return policy is particularly bad, and you'll be hosed if you order an expensive monitor that comes with a few dead pixels. The one thing that hasn't gotten notably worse is the website - for the most part, the newegg website is still as easy to navigate as ever. Unfortunately, a great website does not a good store make.
• • •
Public - 11 months ago
reviewed 11 months ago
1 review
Map
Map
Map