I recently started working on an Unity game again and I needed to configure the project structure. I wanted Visual Studio as my main environment since I’m used to the ReSharper goodness it offers and working in Unity is much slower, not to mention the clamped project structure (Assembly-CSharp-vs.proj) – there are many benefits to having many smaller projects.
I use git as my version control system and I followed the instructions on Unity’s website for my first commit and to decide which files to ignore in git. I created some game objects in Unity until I needed some backend classes.
I wanted to work with every class except the ones deriving from MonoBehavior in Visual Studio. So I created a folder named Source beside the Assets folder of the Unity project. Then I created a separate Visual Studio solution in this new folder. The projects in this purely Visual Studio solution will be named similar to the following fashion: GameName.Map, GameName.Randomization, etc. These new projects in the Visual Studio solution need to use .NET 3.5 as target framework so change it in Project Settings -> Application -> Target framework.
The classes in the Visual Studio solution do not need to refer to the classes in the Unity solution and thus will be independent of Unity making them easier to be tested.
The classes in the Unity solution need to be able to use the classes in the Visual Studio solution though. Since the new Visual Studio projects are not inside Unity’s Asset folder, they will not be visible in Unity. Which is a good thing since Unity created meta files for each and every file and folder inside Asset folder in order to track connections between different classes and properties made inside Unity.
To solve this issue, change the build path of the Visual Studio projects that need to be referenced from Unity to a folder inside Unity’s Asset folder, for example “..\..\Assets\Build\Debug\” for Debug configuration (done via Project Settings -> Build -> Output -> Output path). You only need to change the projects that need to be referenced from Unity, so the build path of your utility projects and test projects can be set to outside Assets folder.
After configuring the Visual Studio projects, we need to edit the .gitconfig file so that sln and csproj files for the Visual Studio solution are included in the source control. Here is my latest .gitignore file:
# Created by https://www.gitignore.io
### Unity ###
# Autogenerated VS/MD solution and project files
# Unity3D generated meta files
# Unity3D Generated File On Crash Reports
As this awesome TV show comes to an end, it’s cool to remember some of the old patients and thus old episodes House had.
But I suppose these are just the famous patients that were in the show and not the best episodes. As I recall, “All In” was a really good episode, as well as the “Last Resort” episode that’s already mentioned in the previous link. I guess, for me, what counts as a better episode is whether or not the episode has a good story that revolves mainly around a diagnostic with lots of medical terms flying around.
So maybe “intriguing” would be a suitable adjective for these episodes. Sure, fun and games and jokes are also an important part of every House episode – but they don’t make an episode as memorable as all the mind-boggling differential diagnoses scenes that a single episode offers.
Oh well, who am I kidding, House M.D has just too many awesome moments / episodes. yarp. Best anti-hero ever.
Even though there are countless awesome jQuery plugins, not all of them visually enhances the page in a way that is meant for the end-user.
Here are some that I’ve found recently:
- Experimental Flipboard layout: A demo page that uses CSS3 transforms to simulate page flipping. Though it’s not in a jQuery plugin format, it results in a pretty neat effect. The page also has a responsive design which means it will collapse to a list if the screen/window width is less than a threshold (690 pixels)
- Real Shadows: A jQuery plugin that updates box-shadow CSS property when the mouse moves to create a realistic shadow effect.
That’s all folks!
A quick search shows that some great deal of people are having this problem. And it included me, until now.
After being plagued by this very problem this evening (around 10 disconnects in a row), I decided to end this menace. Especially since I often had the same problem in the past.
So I was searching for a solution on the Internet, skipping very old or trivial ones (such as reinstalling MSN or deleting some roaming appdata folder of MSN Messenger), when I stumbled on a solution that worked for me.
So if you’re reading this and are having the same problem AND using AVG Antivirus, you can stop MSN Messenger from signing you out by simply disabling AVG’s “Instant Messaging protection” (located in Overview->Online Shield->Instant Messaging OR Tools->Advanced Settings->Online Shield->Instant Messaging). Optionally you can only disable MSN Protection.
I’ve put together a GitHub profile today and uploaded some Windows programming and DirectX 11 code that I’ve been working on recently. Also uploaded are an old Java project with a ME wrapper that implements Hangman and a collection of solutions to a few Project Euler problems that I wrote recently.
Just found this and this on 8tracks. Some cool stuff to listen to while installing stuff and whatnot.
Good enough to listen to for the moment as a refreshment from all the classical music I’ve been listening to, until I get my old applications up and running. (reinstalled Win 7 yesterday, it was getting a little too cluttered) And maybe fix some decent playlist afterwards.
I have used this for a few days now, so I decided to share it.
Gmail has a plethora of different themes and color styles that you can choose from (through Settings -> Themes). Last week, Google added two new themes to this list as a sneak peek, which are called “Preview” and “Preview (Dense)”.
The new themes look pretty sleek. Here are some images from Gmail’s blog, showcasing the new theme.
The view of Inbox with Gmail's new theme. "Dense" version looks more condensed.
Viewing a conversation in Gmail's new theme.
After playing around with them a bit, I chose to have the dense version of the new theme since it is a lot more compact. Which allows you to see more stuff at the same time.
Did you like the new themes? Or which other theme do you prefer?
Last.fm is great. It is a music website that allows you to scrobble your played tracks in various music players either with the music player itself or by a plugin. This enables you to check which songs you’ve previously listened to and see various charts after some time.
I have scrobbled in Last.fm for exactly 1800 days today (4 years, 11 months and 4 days, not including today). Even though I wasn’t able to scrobble the tracks I’ve listened to with my portable music player, I scrobbled over 84 thousand tracks that I listened to using my computers. And now, the time for some statistics has arrived. Or, you know, a list of 10 songs. For starters.
- Radiohead – No Surprises: A whopping 501 plays of this marvelous song, great lyrics and melody. I used to listen to this song for hours.
- Lily Allen – Littlest Things: Another song that I used to listen to repeatedly. Calming with nice lyrics that can bring up a variety of moods. 185 plays.
- Depeche Mode – Enjoy the Silence: I most sincerely believe that this song needs no explanation. 146 plays of awesomeness.
- Jimi Hendrix – Little Wing: This song has such a good intro that it blows me away anytime I hear it. Also its guitar solo. Also its lyrics. You get the idea. 135 plays.
- Air – Cherry Blossom Girl: A song that I’ve listened to so many times that I can’t listen to it as often anymore, so I didn’t link to the normal version. Still, a pretty addictive and magical song of its time. 122 plays.
- George Baker Selection – Little Green Bag: Great old song that is pretty much synonymous with the movie Reservoir Dogs of Tarantino, obviously. Highly repeatable and more addictive than most songs on this list. 120 plays.
- Coldplay – Don’t Panic: Another calming song filled with happiness indeed. And inscribed in large friendly letters. 112 plays.
- Yelle – Je Veux Te Voir: Great French song that I still listen quite often now. Pretty good for running or exercising. Also 112 plays.
- Queen – Don’t Stop Me Now: Awesome uplifting song from Freddie, not to mention addictive. Probably listened to it a lot more after hearing it in a Shaun of the Dead scene which was immensely funny. 105 plays.
- The Proclaimers – (I’m Gonna Be) 500 Miles: Great song that I discovered in the TV series How I Met Your Mother, where it is proved to be the greatest driving song ever in more than one episode. 103 plays. probably 5 at a time, and then 3. It’s that addictive.
Hope you enjoyed this list as much as I enjoyed putting it together. You can also visit my Last.fm profile
to see what other free stuff I have there. You can also make a list of your own and make me know about it. Hurray!
This is pretty fun, the friendly walrus people on GrooveWalrus’ website featured the review I wrote today about exporting Spotify playlists to GrooveWalrus and another review I wrote earlier about GrooveWalrus’ features in general on their website. Here’s what they wrote:
Submitted by groovewal on Sun, 07/03/2011 – 16:59
Another exceptionally intelligent GrooveWalrus user wrote couple of nice articles introducing you to GrooveWalrus. The first offers a general introduction to GrooveWalrus, the second details GrooveWalrus’ mysterious ‘list sifting’ capabilities. Check them out:
I can only hope that they weren’t being sarcastic.
Also, as a bonus, I’ve uploaded the current revision of my Spotify-exported GrooveWalrus playlist to Google Docs as I did before with a playlist around 150 songs. This time however it’s a playlist of over 2000 hand-picked songs. Awesome. Assuming you have similar music taste.
GrooveWalrus is a great streaming music player application that plays songs through Grooveshark and Last.fm. It also offers lots of Last.fm features since it has a great deal of Last.fm integration. I wrote a review for GrooveWalrus before which you can read here.
To compare, GrooveWalrus is a great alternative to Spotify (since it is ad-free) and a great alternative to the Grooveshark website or Wingrooves (which is basicly the same thing as Grooveshark, except on your desktop) since they are both image-heavy and use 2-3 times more memory. They also have ads that ruin the experience, and take a lot of desktop or browser tab space.
Now, more to the point. Since I started using GrooveWalrus I had trouble to export my Spotify playlist to the application. Naturally, GrooveWalrus can import Grooveshark playlists. So if I exported my Spotify playlists to Grooveshark using Groovylists, I would be able to export them to GrooveWalrus with a flash. However the problem is two-fold.
- Groovylists only allows exporting 200 songs at a time. Since I have dozens of playlists in Spotify, one having over 1500 songs, this is a lot of work.
- More importantly, once Groovylists is done exporting your playlist of 200 songs to Grooveshark, some of the songs are plain wrong.
Keeping these in mind, I held off trying to export my Spotify playlist to GrooveWalrus for a couple of weeks. However, after a while, it became pretty boring to listen to the 150+ song list I created in GrooveWalrus (by copying Last.fm recent tracks from inside GrooveWalrus, which is a really fast way to populate your GrooveWalrus playlists)
So today I tried to find another way to export a Spotify playlist to GrooveWalrus, especially my huge 1500 song list. And I came up with an excellent way using the GrooveWalrus List Sifter. Here are the steps you should take to export your playlist to GrooveWalrus:
- Open Spotify and select the playlist that you want to export to GrooveWalrus.
- Select all the songs in the playlist. (Type “Ctrl+A” to select all the songs in the playlist, or select the first song and while pressing Shift, click the last song)
- If you have Microsoft Word, open a new Word file. Google Docs also work. (Notepad doesn’t)
- Drag the songs you have selected in Spotify into the Word file (or the Google Docs document)
- Optionally, press Ctrl+Alt+F9 in MS Word to clear all the links in case you want to backup your playlist without all the links.
- Open GrooveWalrus and select the List Sifter tab.
- Copy and paste the list you have in Word or Google Docs into the List Sifter’s Text Pastebox as seen in the image below.
- Type ” – ” with the spaces into the “Sep:” field under the Text Pastebox to let GrooveWalrus know how to separate the artist and track title information found in the text.
- Press “Sift List”. Now your text is converted to a list of artists and tracks. Great! You can also try to do another Sift using ” – ” as separator, I was able to process some extra songs that way.
- Press the second “+” button in the right bottom to add the new list to your existing playlist.
- Enjoy your Spotify playlist in GrooveWalrus :)
Exporting a huge Spotify playlist into GrooveWalrus is easy with List Sifter.
Another method you can use as a last-ditch for such purposes is to capture the text by other means, when you can’t just copy and paste the text. You can use the application Capture Text to capture a screen part where your playlist resides and it will automatically transform the screen area into a text file.
Grooveshark + Last.fm = Love