You can frequently tell when someone parrots the Discovwery Institute without a nanosecond of critical thought. Why is a bacterial flagellum like an “outbord” motor? The “motor” is inside the bacteria, with only the “propellor” outside. You don’t have to be very familiar with boats to know that this would be an “inboard” motor.
BTW, the motor analogy fails for other reasons as well. Ask a physicist, “What is a Reynolds number?”
Blimey, calm down its only a blog! … i’m merely having a brief wibble about something I find interesting and in reality I haven’t even made any comments either way. As for the outboard motor analogy, again i’m merely quoting the scientists …
Re: “it’s only a blog.” Do you think that blogs are not important? I do. Why did I read yours?
The video is polished and professional. Too bad it’s wrong in so many ways. BTW, in the Pennsylvania ID trial last year, the star ID scientist, Michael Behe, testified that if ID is a science, then so is astrology. Think about that.
Depends on the blog … if I was pushing this as the last word on evolution then that would place my post in a different context, as it is its just the ramblings of an interested party. I do appreiciate you getting stuck in! 🙂
I don’t claim to be any kind of scientist or expert but I do know that I continually read about revolutions in scientific thought that were considered ‘impossible’. The 11th dimension issues running through string theory / super-gravity springs to mind. For years the string theory people refused to accept the inclusion of an 11th dimension in their theory only to find out that it was the very thing they needed to include …
scientific dogma is just as boring as religious dogma …
FWIW, I would’ve thought that the frequency band used by radio mics was too far down the spectrum to be of much use by companies like mobile phone companies.
Mobile phones are increasingly demanding more bandwidth as they clammer for more services, such a low point in the spectrum as radio mics use, would be of little use to such companies.
I agree though, that de-regulating something as important as frequency spectrum is a disaster waiting to happen.
Perhaps ofcom fail to realise that more and more people are using services that the internet provide rather than relying on things like local radio?
Privatizing public sector companies is a bad thing. Just look at the state of BT or the railways.
bad stuff. Aside from the fact that I really like honey, it’s worrying that yet again mankind seems to have found a new way of destroying a species on the planet, instead of living with it.
Part of the problem is that myspace is ‘open’. Anyone can see your account information and anyone can send you a message.
Another part of the problem is that there is a lot of very very sad people out there who think that just by mailing a young lady they’ll get attention.
The reason you get much less of a problem with facebook is that you need to be member before you can see anyones profile, great for a circle of friends or community, not so good if you’re trying to make new friends.
I’d also like to know how she managed to get 8500 page views in a month, I wish I could get that for our band (http://www.myspace.com/TenFifty)
Indeed MySpace is more open and so enables people to be a bit more ‘contactable’, but it really did go beyond a joke in this instance. One of the people said that she had been added to a list of ‘cool people’ somewhere on the web but i’ve been unable to find anything about such a site.
The 8500+ views is obviously as a result of this. i’ve not seen anyone elses profile get so much attention in such a short space fo time. Either way it was a completely wasted exercise all round really.
glad you like the new layout too … 😀
Must catch up soon chap! How’s the band work going?
Hello, Ramble Jam, I am a college student live and grow up in china since I was born. After looking at your opinion about what happens in Tibet, you really don’t kown much about china and the tibet, I think you just the one of the most people who follow the media. I promise you even don’t kown the chinese history a little bit. This riot may associat you with the Tiananmen square riot, but this two riots are so different, Do you kown why most of the chinese people oppose the communist party in 1989 but in this time, most chinese people including the people who live in the HONG KONG support the action of the communist government? In 1989 all chinese pepole demanded for democrocy and freedom, but in recently, some Tibetons needs the independence! In 1989 we marched on the streets organized and peacefully, but this time, the rioters are killing the han-chinese people and burning the buildings and the shops,even schools and hospitals! where is the human rights of the citizens who live under the fear of death? lots of video prove what I said if you don’t believe. I always appreciate the values that the western world advocate, especially love,freedom and the human rights. But this time l found the news about Tibet is so bias and subjective, it didn’t condemn what the rioters did, but criticised what the chinese did and boycotted the olympics for protecting the rioters’ “human rights”. The western media are so disappoint me this time.
This is a completely fair point. I have never been to either country and the media always have a lot to answer for. To be honest I haven’t even followed the news items on what is currently happening very closely at all. Whist you have some good points there is also some history to take into account like you say. Tibet is hardly known for its intrinsic violent past, China is. China occupied Tibet and that has resulted in its government being based in India since that time. Burning, looting, killing is wrong, end of story. At the same time it also has to be remembered that China is still the agressor in this instance since they occupied another country and systematically started to take it over. End of story.
I admit though I shouldn’t have made any analogy with the June Forth Incident, it is very different.
hmm…there is an issue of interpretation. They break up IE by versions, but they dont break up Firefox by its versions (there are still people out there using 1.0, 1.5, and 2.0..and a few using the RC of v3). If you take that into consideration, 60% of the internet is still using a microsoft browser….
Oh, you had to go and spoil it … I know, I know … its nice to dream though isn’t it …
Probably the most important thing to take away from this is that the trends are pointing in the direction of Microsoft Browsers declining in popularity. I wouldn’t find that such a good thing if I wasn’t constantly coding around issues introduced by IE not following standards.
I’ve even found scenario’s where Visual Studio 2005 was producing web site code that IE couldn’t deal with … THAT is plain ridiculous however you look at it. With the same code Firefox displayed it as per VS …
Ive been using subversion at work for years now. Its setup was easy and it just works. SourceSafe screwed me more than once by having its database go nuclear comletely breaking my projects. Ill never ever ever use that dog again.
For sure, we recently had a contractor leave the project to go and work for Microsoft. Naturally the IT department nuked his logon/account and he had left a stack of work checked out of SourceSafe … nightmare ensues. We’ve also had terrible problems with file version synchronisation since many contractors we use will take a copy locally and work on a machine not linked to our SourceSafe database, it just cannot cope with this scenario … it’s madness.
Basically, we are going to switch to a full on Server/Client solution using SubVersion when we have the time.
Hello! I am looking at the using the above mentioned code sample. The only thing different that I am doing is that instead of putting it in the constructor, I am overriding the OnStartUp(…) method. I was curious as to what feedback you got about it (security,…) Is this the best way to do this?
To be honest, this isn’t the best way of doing it. The best way to achieve this is by using a Mutex. In fact, since you have replied to this I’m going to update this post with a more robust method. Check back in a few hours and I’ll have that included in this post.
Thx. I found another Way without changing it to page.
public partial class App : Application
{
Mutex mutex = null;
protected override void OnStartup(StartupEventArgs e)
{
//Change Global to Local to allow application to start in different UserSessions on same PC (XP/Vista Quick User Change)
string mutexName = “Global\MyApp.SingleInstance”;
try
{
// Create a new mutex object with a unique name
mutex = new Mutex(false, mutexName);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + “nn” + ex.StackTrace +
“nn” + “Application Exiting…”, “Exception thrown”);
Application.Current.Shutdown();
}
if (mutex.WaitOne(0, false))
{
base.OnStartup(e);
}
else
{
MessageBox.Show(“Application already startet.”, “Error”, MessageBoxButton.OK, MessageBoxImage.Information);
Application.Current.Shutdown();
}
}
Took me time to read all the comments, but I really enjoyed the article. It proved to be very useful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! I’m sure you had joy writing this article.
I had my Motu Traveler hooked up to a Sony Vaio 64 bit system running Vista and it worked fine but the other day I upgraded the driver from Motu website and tried hooking it up to a Windows 7 32 bit system and it went crazy. I haven’t tried it on a 64bit Windows 7 system yet. I want to buy a new ASUS laptop …Windows 7 64bit. I’m afraid I’m going to have to buy a different Interface. PLease! let me know if you got your Traveler working on a 64bit Windows 7 system ?
Hi Rushin, Indeed my MOTU Traveler is working sweet on my 64bit Window 7 box now. I can totally confirm that it works, works better than it ever did on XP in fact. The new mixer is most welcome too.
What problems are you experiencing on that platform?
Thank you, I was tearing my hair out and was aware that precjot/target settings could get out of sync but somehow forgot to double check this time. I clicked the bold provisioning entries in target settings and deleted them. Now they inherit from the precjot settings and it finally just worked .
My god…thank you for this helpful post! I’ve searched everywhere on Parallel Desktop forum and VS developers were complaining everywhere about this problem. Using VS.NET without the F11 and F12 keys is like hoping on one leg trying to run a mile! Was starting to feel hopeless until I found your blog.
This work beautifully for me running VS.NET 2013 and Parallel Desktop 8.0!
I have to agree with Pat above. THANK YOU. The pain of debugging without this change got to me that I went search and quickly found you post and am now a very very happy coder. 🙂
Well, it is working only because of lazy loading I suppose. Your solution not quite helpful if I want to grab an object with navigation properties by one request – before lazy load will act.
Thanks for that. It turned out to be an issue with DotNetOpenAuth but I’ll look over this and see if there are any tips for when I do migrate to MVC5. Thanks.
hi Jammer,
i dont understand the JetBrains too. I feel like the youtrack not receive the attention that it needs.
I installed the youtrack in a new server and tried to move my configuration and issues to the new server, but the documentation did not help me (like you). I found your post and tried your method, but the result is that youtrack always redirected me to the old server. Have you ever seen this before? Have any clue or solution?? Thanks
I just got my first Mac and this post is very helpful and for a while I thought nobody had put out anything for this info, but you had us covered and thank you!
Thank you very much sir. Quick, easy and effective, even for a novice like me. Just a restart required and all worked as it should. I modified your suggestion slightly by putting an x ahead of the dropbox entries and a z in front of the remainder. That ensured that onedrive entries headed the list, dropbox entries came next, and the remainder came at the bottom. Now both onedrive and dropbox icon overlays are working fine. I looked all over for a solution to this problem, without success, but your suggestion cracked it.
@claudio: the YouTrack database contains the settings as well. You are being redirected to your old YouTrack installation because your new YouTrack installation thinks that this is the URL you are accessing. To get around this, you’ll have to manipulate your hosts file.
@jammer: thanks very much for this! I ran into this situation where it deleted all my blobs (aka file attachments) after restoring from backup. I would wager that YouTrack isn’t as an exciting product to work on so products like ReSharper and IntelliJ attract JetBrains’ A-team.
@Steve, I can’t but agree!! And you are right about the redirect. Personally this whole area of YouTrack needs a LOT of attention. It’s too error prone and considering that it is one of the systems they use publicly to capture problems I’m surprised they haven’t done more work on. It’s not like it’s a new product!
Really nice and easy explanation.
I used team city before in .NET server projects, but never for Xamarin apps.
I´m looking forward to get some time to integrate this plus a last build step that would be uploading the apk to hockeyapp. Also I need to learn how to actually write tests in client apps as I´ve never done that.
What kind of things do you test? logic? ui?
Glad you found it useful. Team City is one of my favorite CI systems I’ve used, really a big JetBrains fan I have to say. This will get expanded upon once my Xamarin apps start to be distributed and reach a level where we start beta testing. Including the iOS application as well. I really haven’t done any much more than Debug builds in CI for iOS so far.
As for tests at the moment they cover off mainly just the MvvmCross core project where most of the application logic and application flow resides. One of the core design goals of Mvvm when it was first devised (by John Gossman – the architect of WPF) was for unit testing. Since one of the core elements of WPF was composite UIs the idea was to achieving a design that would enable testing as much as possible, arguably any “higher” testing and you would actually start to test the .NET framework itself which is far from a “unit test”.
I do plan on also making use of the UITesting framework from Xamarin but that is also a little way off yet.
I have had nothing but problems in the past 7 days with restoring a backup! I have a tarball that I’m trying to get going on a new version of YouTrack and their site says to do it as if you’re upgrading but it doesn’t work that way at all. I managed to put my data in the new running version but my Projects are not there and my google auth is also missing. All I can do is look at my issues that were created.
Indeed, it is probably the most ridiculous process I’ve ever seen in my 25 years as a software engineer. Hugely frustrating and seem like a pot luck process that is renowned for being extremely buggy and unreliable. I’m dumbfounded frankly. I just updated the article with a useful System Status link.
I am too having issues. I am upgrading from YouTrack 6 build is 12223 to the latest version. I created new virtual machine, this creating fresh install then the idea to restore the database to the new server. The person who installed the current version installed the server in a way I wouldn’t want to upgrade to. The new server there is separation of the data drive etc. Followed you’re instructions and all I get is HTTP 404 error when copying over the files. Like you mentioned I am shocked of the lack of materials from Jetbrains. I am wondering if you know what I am missing out. Luckily enough I can go back to before I restore point of the import of the backup as I have taken snapshot of the virtual machine.
Are you sure you are using the same URL as the previous installation? There can be issues like this as the backed up files also include a kind of root URL and there can be issues when you try to access a page and the server and client are trying to do the OAuth token exchange. What is the URL that gives you the 404 error?
Quite possibly its where the 404 is coming from. The OAuth process actually bounces the browser around a little in order to get tokens and I expect you might be seeing this 404 since it’s trying to redirect based on the value stored in the database you have restored but due to the host changing this can longer be found … 404 error.
The VirtualBox NAT view is empty, there isn’t any need for NAT configuration to get this scenario working. The complete configuration for the VirtualBox adapters are:
#1
IP v4: 0.0.0.0
IP v4 Mask: 15.0.0.0
Address: 192.168.56.100
Server Mask: 255.255.255.0
Lower: 192.168.56.101
Upper: 192.168.56.254
#2
IP v4: 10.71.34.1
IPv4 Mask: 255.255.255.0
Address: 10.71.34.2
Server Mask: 255.255.255.0
Lower: 10.71.34.101
Upper: 10.71.34.199
After havin’ seen that ‘2241-try later’-screen 10 times or more the upload worked – but apple refused the app because of ‘poor user experience’. So we improved the app and are trying to upload the new build – 10,15… times – doesn’t work! very “poor user experience” – zum Kotzen!
Indeed liplan. it is a terrible process that appears to be very error prone from many angles. Whichever method you are currently attempting, try the alternative method. Apploader or Xcode. Trying the alternative seem to sometimes aid the process. Which is inexplicable in and of itself.
Like AOL and Blockbuster, I will not feel sad to see such a seemingly unlimitedly powerful company fail. eBay no R.I.P. eBay burn in hell, criminal enterprise. May Paypal fall with it.
Very simple to follow and straightforward explanation.
This is the only place I could find something valuable for Xamarin.Android build automation.
Could you please help me understand what all parameters are required and what do they exactly mean, in the MSBuild command.
Like, /t:PackageForAndroid (Here what is the package for android and is it a required parameter.)
Would be awesome for a novice developer like me.
Does not work for me, always get 404.3 error. Have reinstalled IIS 10, made sure all asp.net aspects configured. Cannot get .asp pages to load as localhost. Can run .htm, .php etc. Have spend days on this – must be possible to host .asp website on windows 10 for development.
Well this process has worked for every machine I have had to perform web development on and also for everyone else so I would say that the registration of IIS is not your issue.
.asp is VERY VERY old, I’m not sure .asp is still listed as a standard MIME type on IIS 10 … worth checking.
Great article. Thanks! But where’s the PHP and web server? No images for them were loaded. It looks like the WordPress image may include PHP. But the web server? Apache? NGINX?
Hi, Yes the whole structure of the iOS side of this has changed a lot since I wrote this article. I will endeavour to update this when I have time. Sorry!
ShitBay is dead- really. We’ve spent HOURS at work on ‘listings’ and there’s just no sales anymore, despite penny prices. DON’T do auctions, no one goes for that anymore. EVEN IF you do get a sale, the jerk will ask to cancel. TERRIBLE site. NO MONEY. Furthermore, the items as a buyer, they are garbage or not as described. Dishonest sellers. Dishonest company, shitBay.
in Ubuntu:
cd ~/.mozilla/firefox
cat profiles.ini. the name of your default profile is in there.
also there may be only one [random string].default, in which case thats your profile.
cd into it
mkdir chrome
cd chrome
nano userChrome.css
add css listed above ^^
save, exit, restart firefox!
I am currently having an issue like this. My issue is that Visual Studio 2013 is using my [asset#].[domain].[country] as my “localhost” setting. I have to somehow correct Visual Studio to select “localhost” as localhost instead of my asset#. This was caused by VS installed before IIS.
Anybody know if this solution will fix for this issue??
Hey, I just wanted to know how your Razer Blade 15 is running now. I just bought one and it came in 2 days ago. Since you seem really adept with technology, I wanted to some tips on making my Razer Blade 15 last as long as possible. I’m a pretty heavy gamer, and a student that uses it for classes. I also have an RTX 2060 as my GPU and I’m running the base model because I NEEDED the Ethernet port, I don’t feel like carrying a dongle around.
Hey Sherif, It’s actually going really well. I love it.
As for longevity the only real thing you can do is treat it will physically and keep on top of the tempuratures. I have a little stand to elevate it a little when gaming to make sure there is adequate air flow around the machine.
I also use this tool to keep on top of what the CPU is doing. Well worth spending a bit of time with to get to use properly.
To be honest, I honestly cannot remember the last time I encountered *ANYONE* using SVN any more.
I haven’t seen it professionally in over 10 years and I stopped using it myself entirely shortly before I made this utility. I just had some old repos hanging around before porting the projects to my own personal Gitlab instances running on my Synology.
The tail of the comet Comet McNaught was still seen in the Northern hemisphere after the comet itself was long gone. The picture also shows the Moon and Venus.
I’ve been running OSX on my Razer Blade that I got in 2018 and I love it, I mean the battery isn’t no where as good as an original Macbook but my CPU isn’t being throttled or neutered. But the Operating System runs flawlessly on it and I love having the Matte Screen with OSX. My system is dual booting so if I have the urge or desire to switch to Windows for games I can do that as well.
You can frequently tell when someone parrots the Discovwery Institute without a nanosecond of critical thought. Why is a bacterial flagellum like an “outbord” motor? The “motor” is inside the bacteria, with only the “propellor” outside. You don’t have to be very familiar with boats to know that this would be an “inboard” motor.
BTW, the motor analogy fails for other reasons as well. Ask a physicist, “What is a Reynolds number?”
==Olorin
Blimey, calm down its only a blog! … i’m merely having a brief wibble about something I find interesting and in reality I haven’t even made any comments either way. As for the outboard motor analogy, again i’m merely quoting the scientists …
Re: “it’s only a blog.” Do you think that blogs are not important? I do. Why did I read yours?
The video is polished and professional. Too bad it’s wrong in so many ways. BTW, in the Pennsylvania ID trial last year, the star ID scientist, Michael Behe, testified that if ID is a science, then so is astrology. Think about that.
==Olorin
Depends on the blog … if I was pushing this as the last word on evolution then that would place my post in a different context, as it is its just the ramblings of an interested party. I do appreiciate you getting stuck in! 🙂
I don’t claim to be any kind of scientist or expert but I do know that I continually read about revolutions in scientific thought that were considered ‘impossible’. The 11th dimension issues running through string theory / super-gravity springs to mind. For years the string theory people refused to accept the inclusion of an 11th dimension in their theory only to find out that it was the very thing they needed to include …
scientific dogma is just as boring as religious dogma …
FWIW, I would’ve thought that the frequency band used by radio mics was too far down the spectrum to be of much use by companies like mobile phone companies.
Mobile phones are increasingly demanding more bandwidth as they clammer for more services, such a low point in the spectrum as radio mics use, would be of little use to such companies.
I agree though, that de-regulating something as important as frequency spectrum is a disaster waiting to happen.
Perhaps ofcom fail to realise that more and more people are using services that the internet provide rather than relying on things like local radio?
Privatizing public sector companies is a bad thing. Just look at the state of BT or the railways.
bad stuff.
Aside from the fact that I really like honey, it’s worrying that yet again mankind seems to have found a new way of destroying a species on the planet, instead of living with it.
BLOODY HELL!!!!!!!!!!!!!!!!!!!1
Part of the problem is that myspace is ‘open’. Anyone can see your account information and anyone can send you a message.
Another part of the problem is that there is a lot of very very sad people out there who think that just by mailing a young lady they’ll get attention.
The reason you get much less of a problem with facebook is that you need to be member before you can see anyones profile, great for a circle of friends or community, not so good if you’re trying to make new friends.
I’d also like to know how she managed to get 8500 page views in a month, I wish I could get that for our band (http://www.myspace.com/TenFifty)
Paul
P.s. like the new funky layout.
Indeed MySpace is more open and so enables people to be a bit more ‘contactable’, but it really did go beyond a joke in this instance. One of the people said that she had been added to a list of ‘cool people’ somewhere on the web but i’ve been unable to find anything about such a site.
The 8500+ views is obviously as a result of this. i’ve not seen anyone elses profile get so much attention in such a short space fo time. Either way it was a completely wasted exercise all round really.
glad you like the new layout too … 😀
Must catch up soon chap! How’s the band work going?
It’s a shame to see it happen to people who don’t want it though.
The band is going well, check out the website – http://www.TenFifty.co.uk
We need to come and do some recording *REAL* soon, we’re upto 11 tracks and I reckon we’re ready to record an album.
Hello, Ramble Jam, I am a college student live and grow up in china since I was born. After looking at your opinion about what happens in Tibet, you really don’t kown much about china and the tibet, I think you just the one of the most people who follow the media. I promise you even don’t kown the chinese history a little bit. This riot may associat you with the Tiananmen square riot, but this two riots are so different, Do you kown why most of the chinese people oppose the communist party in 1989 but in this time, most chinese people including the people who live in the HONG KONG support the action of the communist government? In 1989 all chinese pepole demanded for democrocy and freedom, but in recently, some Tibetons needs the independence! In 1989 we marched on the streets organized and peacefully, but this time, the rioters are killing the han-chinese people and burning the buildings and the shops,even schools and hospitals! where is the human rights of the citizens who live under the fear of death? lots of video prove what I said if you don’t believe. I always appreciate the values that the western world advocate, especially love,freedom and the human rights. But this time l found the news about Tibet is so bias and subjective, it didn’t condemn what the rioters did, but criticised what the chinese did and boycotted the olympics for protecting the rioters’ “human rights”. The western media are so disappoint me this time.
This is a completely fair point. I have never been to either country and the media always have a lot to answer for. To be honest I haven’t even followed the news items on what is currently happening very closely at all. Whist you have some good points there is also some history to take into account like you say. Tibet is hardly known for its intrinsic violent past, China is. China occupied Tibet and that has resulted in its government being based in India since that time. Burning, looting, killing is wrong, end of story. At the same time it also has to be remembered that China is still the agressor in this instance since they occupied another country and systematically started to take it over. End of story.
I admit though I shouldn’t have made any analogy with the June Forth Incident, it is very different.
hmm…there is an issue of interpretation. They break up IE by versions, but they dont break up Firefox by its versions (there are still people out there using 1.0, 1.5, and 2.0..and a few using the RC of v3). If you take that into consideration, 60% of the internet is still using a microsoft browser….
Yeah, but if you add IE6 and IE7 together 😉
Oh, you had to go and spoil it … I know, I know … its nice to dream though isn’t it …
Probably the most important thing to take away from this is that the trends are pointing in the direction of Microsoft Browsers declining in popularity. I wouldn’t find that such a good thing if I wasn’t constantly coding around issues introduced by IE not following standards.
I’ve even found scenario’s where Visual Studio 2005 was producing web site code that IE couldn’t deal with … THAT is plain ridiculous however you look at it. With the same code Firefox displayed it as per VS …
Ive been using subversion at work for years now. Its setup was easy and it just works. SourceSafe screwed me more than once by having its database go nuclear comletely breaking my projects. Ill never ever ever use that dog again.
For sure, we recently had a contractor leave the project to go and work for Microsoft. Naturally the IT department nuked his logon/account and he had left a stack of work checked out of SourceSafe … nightmare ensues. We’ve also had terrible problems with file version synchronisation since many contractors we use will take a copy locally and work on a machine not linked to our SourceSafe database, it just cannot cope with this scenario … it’s madness.
Basically, we are going to switch to a full on Server/Client solution using SubVersion when we have the time.
txtSetterColor.Background = (Brush)new BrushConverter().ConvertFrom(ci.Colour);
Indeedy! Nice …
Hello! I am looking at the using the above mentioned code sample. The only thing different that I am doing is that instead of putting it in the constructor, I am overriding the OnStartUp(…) method. I was curious as to what feedback you got about it (security,…) Is this the best way to do this?
Hi,
To be honest, this isn’t the best way of doing it. The best way to achieve this is by using a Mutex. In fact, since you have replied to this I’m going to update this post with a more robust method. Check back in a few hours and I’ll have that included in this post.
Your second way is currently not working, cause there is already method Main generated by Visualstudio.
How do worked around this?
Hi Christopher,
What you need to do is right-click on your App.xaml file in your solution, this will show you the properties for the App.xaml file.
If you look at the first property in the list, called Build Action, change this from “ApplicationDefinition” to “Page”
Hope this helps.
Thx. I found another Way without changing it to page.
public partial class App : Application
{
Mutex mutex = null;
protected override void OnStartup(StartupEventArgs e)
{
//Change Global to Local to allow application to start in different UserSessions on same PC (XP/Vista Quick User Change)
string mutexName = “Global\MyApp.SingleInstance”;
try
{
// Create a new mutex object with a unique name
mutex = new Mutex(false, mutexName);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + “nn” + ex.StackTrace +
“nn” + “Application Exiting…”, “Exception thrown”);
Application.Current.Shutdown();
}
if (mutex.WaitOne(0, false))
{
base.OnStartup(e);
}
else
{
MessageBox.Show(“Application already startet.”, “Error”, MessageBoxButton.OK, MessageBoxImage.Information);
Application.Current.Shutdown();
}
}
Great post, thanks Jammer. Your comment has indeed perked my interest
No bother chap … now, stop reading the net and got on with it! 😉
Jammer: any particular reason why isNew is static instead of local to Main()?
Only if you want to use it outside of the main() method really.
Brush myBrush;
myBrush = new SolidColorBrush ( Color.FromArgb ( 255, 255, 0, 0 ) );
This one works too.
Or the fastest way:
myTextBox.Foreground = new SolidColorBrush ( Color.FromArgb ( 255, 255, 0, 0 ) );
myTextBox.Background = new SolidColorBrush ( Color.FromArgb ( 255, 0, 255, 0 ) );
Happy Coding
I like Christopher’s approach. But any special reason to use the Mutex.WaitOne method instead of the three argument contructor of Mutex that’s used here:
http://codelog.blogial.com/2009/05/24/creating-a-single-instance-application-in-c-wpf/
More advanced solution: http://blogs.microsoft.co.il/blogs/maxim/archive/2010/02/13/single-instance-application-manager.aspx
Hi Maxim, thanks for this link, nice solution.
Took me time to read all the comments, but I really enjoyed the article. It proved to be very useful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! I’m sure you had joy writing this article.
Thanks, I just ran into this so it is good to know what the problem is.
No problem, caught me out for a while. This is also in my Code Project article http://www.codeproject.com/KB/windows/SQLCompactGotchas.aspx
I had my Motu Traveler hooked up to a Sony Vaio 64 bit system running Vista and it worked fine but the other day I upgraded the driver from Motu website and tried hooking it up to a Windows 7 32 bit system and it went crazy. I haven’t tried it on a 64bit Windows 7 system yet. I want to buy a new ASUS laptop …Windows 7 64bit. I’m afraid I’m going to have to buy a different Interface. PLease! let me know if you got your Traveler working on a 64bit Windows 7 system ?
Hi Rushin, Indeed my MOTU Traveler is working sweet on my 64bit Window 7 box now. I can totally confirm that it works, works better than it ever did on XP in fact. The new mixer is most welcome too.
What problems are you experiencing on that platform?
It`s really nice article. Thank u a lot
In Release Mode its not working
Absolutely love these guys! They are so much fun live, always put on a great show.
Awesome article.
Thank you, I was tearing my hair out and was aware that precjot/target settings could get out of sync but somehow forgot to double check this time. I clicked the bold provisioning entries in target settings and deleted them. Now they inherit from the precjot settings and it finally just worked .
[…] I blogged about the appalling quality of the IWANTIT(to fuck off) case I’ve […]
My god…thank you for this helpful post! I’ve searched everywhere on Parallel Desktop forum and VS developers were complaining everywhere about this problem. Using VS.NET without the F11 and F12 keys is like hoping on one leg trying to run a mile! Was starting to feel hopeless until I found your blog.
This work beautifully for me running VS.NET 2013 and Parallel Desktop 8.0!
Glad it helped.
This is a nice round general roundup on the printer, thanks! Are there any negatives you’ve come across so far? Would be interested to know.
I’ve updated the post with a couple of “negatives” on the printer. There isn’t much wrong with this unit to be honest.
I have to agree with Pat above. THANK YOU. The pain of debugging without this change got to me that I went search and quickly found you post and am now a very very happy coder. 🙂
Matt, no problem chap! Glad it helped, drove me crazy so decided to nail it.
Well, it is working only because of lazy loading I suppose. Your solution not quite helpful if I want to grab an object with navigation properties by one request – before lazy load will act.
Thanks a lot. You save my day. I have been searching around for a few hours for this.
Great, glad it’s helping folks.
please check http://mvc4all.com/mvc/category/mvctutorial/ for more details on this thread….might be useful
Thanks for that. It turned out to be an issue with DotNetOpenAuth but I’ll look over this and see if there are any tips for when I do migrate to MVC5. Thanks.
Fantastic! you save my time!
That did the trick. Thank you!
Great post. Searched the internet far and wide to find out how to do this. Big Help!
hi Jammer,
i dont understand the JetBrains too. I feel like the youtrack not receive the attention that it needs.
I installed the youtrack in a new server and tried to move my configuration and issues to the new server, but the documentation did not help me (like you). I found your post and tried your method, but the result is that youtrack always redirected me to the old server. Have you ever seen this before? Have any clue or solution?? Thanks
Indeed a lot of their documentation is a bit lacking as far as I’m concerned. Or it’s plain wrong.
I have seen the issue you’re reporting when I first restored mine but it only happened once and then all was well again which is a bit odd.
I’m not sure I can offer any advice on this one. I’ll have a think about it though and see if I can find a solution for you.
You selected android version what is?
I’m not sure I understand the question, although at the moment this is compiled against API 21 with a minimum version of API level 15.
I just got my first Mac and this post is very helpful and for a while I thought nobody had put out anything for this info, but you had us covered and thank you!
Hey Ray!
Glad it helped! Also, nice work on f12 … bookmarked.
Thank you very much sir. Quick, easy and effective, even for a novice like me. Just a restart required and all worked as it should. I modified your suggestion slightly by putting an x ahead of the dropbox entries and a z in front of the remainder. That ensured that onedrive entries headed the list, dropbox entries came next, and the remainder came at the bottom. Now both onedrive and dropbox icon overlays are working fine. I looked all over for a solution to this problem, without success, but your suggestion cracked it.
@claudio: the YouTrack database contains the settings as well. You are being redirected to your old YouTrack installation because your new YouTrack installation thinks that this is the URL you are accessing. To get around this, you’ll have to manipulate your hosts file.
@jammer: thanks very much for this! I ran into this situation where it deleted all my blobs (aka file attachments) after restoring from backup. I would wager that YouTrack isn’t as an exciting product to work on so products like ReSharper and IntelliJ attract JetBrains’ A-team.
@Steve, I can’t but agree!! And you are right about the redirect. Personally this whole area of YouTrack needs a LOT of attention. It’s too error prone and considering that it is one of the systems they use publicly to capture problems I’m surprised they haven’t done more work on. It’s not like it’s a new product!
Really nice and easy explanation.
I used team city before in .NET server projects, but never for Xamarin apps.
I´m looking forward to get some time to integrate this plus a last build step that would be uploading the apk to hockeyapp. Also I need to learn how to actually write tests in client apps as I´ve never done that.
What kind of things do you test? logic? ui?
Hey Chap,
Glad you found it useful. Team City is one of my favorite CI systems I’ve used, really a big JetBrains fan I have to say. This will get expanded upon once my Xamarin apps start to be distributed and reach a level where we start beta testing. Including the iOS application as well. I really haven’t done any much more than Debug builds in CI for iOS so far.
As for tests at the moment they cover off mainly just the MvvmCross core project where most of the application logic and application flow resides. One of the core design goals of Mvvm when it was first devised (by John Gossman – the architect of WPF) was for unit testing. Since one of the core elements of WPF was composite UIs the idea was to achieving a design that would enable testing as much as possible, arguably any “higher” testing and you would actually start to test the .NET framework itself which is far from a “unit test”.
I do plan on also making use of the UITesting framework from Xamarin but that is also a little way off yet.
Best,
Jammer
I have had nothing but problems in the past 7 days with restoring a backup! I have a tarball that I’m trying to get going on a new version of YouTrack and their site says to do it as if you’re upgrading but it doesn’t work that way at all. I managed to put my data in the new running version but my Projects are not there and my google auth is also missing. All I can do is look at my issues that were created.
at this point I am ready to hire someone with YouTrack experience to get this thing working.
That does seem pretty odd. Are you getting any errors that might highlight any deeper issues?
Thanks 🙂
I feel you, been facing exactly the same problem for the past 2 days, getting extremely frustrated…
Indeed, it is probably the most ridiculous process I’ve ever seen in my 25 years as a software engineer. Hugely frustrating and seem like a pot luck process that is renowned for being extremely buggy and unreliable. I’m dumbfounded frankly. I just updated the article with a useful System Status link.
I’m want to die!! After 3 months of coding it’s impossible to upload my App. This is disgusting seriously.
Hi Jammer,
I am too having issues. I am upgrading from YouTrack 6 build is 12223 to the latest version. I created new virtual machine, this creating fresh install then the idea to restore the database to the new server. The person who installed the current version installed the server in a way I wouldn’t want to upgrade to. The new server there is separation of the data drive etc. Followed you’re instructions and all I get is HTTP 404 error when copying over the files. Like you mentioned I am shocked of the lack of materials from Jetbrains. I am wondering if you know what I am missing out. Luckily enough I can go back to before I restore point of the import of the backup as I have taken snapshot of the virtual machine.
Are you sure you are using the same URL as the previous installation? There can be issues like this as the backed up files also include a kind of root URL and there can be issues when you try to access a page and the server and client are trying to do the OAuth token exchange. What is the URL that gives you the 404 error?
Hi Jammer,
No it is different URL to the previous server? Is this where I am going wrong?
Quite possibly its where the 404 is coming from. The OAuth process actually bounces the browser around a little in order to get tokens and I expect you might be seeing this 404 since it’s trying to redirect based on the value stored in the database you have restored but due to the host changing this can longer be found … 404 error.
This file does not exist with the latest Xamarin and Visual Studio 2015 Update 2
Quite possibly, I haven’t checked on this recently so it may well have changed.
I had to put dism /online /enable-feature /all /featurename:IIS-ASPNET45
(added /all) but it worked then! thank you much.
Hi Jammer,
could you please tell me which settings you used for the network adapters? LocalHost/NAT/ etc?
I fear I messed up my basic inatsllation when trying to connect to an Ubuntuserverimage in VirtualBox.
Best
Thomas
Hi Thomas,
The VirtualBox NAT view is empty, there isn’t any need for NAT configuration to get this scenario working. The complete configuration for the VirtualBox adapters are:
#1
IP v4: 0.0.0.0
IP v4 Mask: 15.0.0.0
Address: 192.168.56.100
Server Mask: 255.255.255.0
Lower: 192.168.56.101
Upper: 192.168.56.254
#2
IP v4: 10.71.34.1
IPv4 Mask: 255.255.255.0
Address: 10.71.34.2
Server Mask: 255.255.255.0
Lower: 10.71.34.101
Upper: 10.71.34.199
Hope this helps!
You should try getting a Unity app to work through this process. Even more hair pulling!
I dread to think what that process is like if it’s worse than my experience!! Urgh!
Great!
Thanks! This has been killing me.
Totally agree, so embarrassing. I am continuously getting the “Operation failed” error and it does not say what is the error. Terrible service.
That’s arguably the worst bit, no real error information.
After havin’ seen that ‘2241-try later’-screen 10 times or more the upload worked – but apple refused the app because of ‘poor user experience’. So we improved the app and are trying to upload the new build – 10,15… times – doesn’t work! very “poor user experience” – zum Kotzen!
Indeed liplan. it is a terrible process that appears to be very error prone from many angles. Whichever method you are currently attempting, try the alternative method. Apploader or Xcode. Trying the alternative seem to sometimes aid the process. Which is inexplicable in and of itself.
Thanks for sharing! 🙂
Thanks!
Yep! it worked for me as well. Also had to use the /all option.
Thanks a lot 🙂
Thank you!
Thank you so much for this!
Wow!!! Thanks a lot, I’ve been searching the net and this is the real answer.
Like AOL and Blockbuster, I will not feel sad to see such a seemingly unlimitedly powerful company fail. eBay no R.I.P. eBay burn in hell, criminal enterprise. May Paypal fall with it.
did not work returned Error: 740
Elevated permissions are required to run DISM.
Use an elevated command prompt to complete these tasks.
in vs2015 developer command prompt
Very simple to follow and straightforward explanation.
This is the only place I could find something valuable for Xamarin.Android build automation.
Could you please help me understand what all parameters are required and what do they exactly mean, in the MSBuild command.
Like, /t:PackageForAndroid (Here what is the package for android and is it a required parameter.)
Would be awesome for a novice developer like me.
Thanks again for thr article. 🙂
Thanks for the feedback, unfortunately I just don’t have the time to go over all this in detail at the moment. Maybe one day … glad it all helped.
Great post!
Solved my problem (using Umbraco) as well.
Does not work for me, always get 404.3 error. Have reinstalled IIS 10, made sure all asp.net aspects configured. Cannot get .asp pages to load as localhost. Can run .htm, .php etc. Have spend days on this – must be possible to host .asp website on windows 10 for development.
Well this process has worked for every machine I have had to perform web development on and also for everyone else so I would say that the registration of IIS is not your issue.
.asp is VERY VERY old, I’m not sure .asp is still listed as a standard MIME type on IIS 10 … worth checking.
Great article. Thanks! But where’s the PHP and web server? No images for them were loaded. It looks like the WordPress image may include PHP. But the web server? Apache? NGINX?
These are loaded as depedencies of the images you want to use so no need to load them explicitly.
Hello, I found that “You can see the code here on GitHub.” link no longer works
Hi, Yes the whole structure of the iOS side of this has changed a lot since I wrote this article. I will endeavour to update this when I have time. Sorry!
Thank you! This also worked in Windows Server 2016. I am running VS2012.
So awesome!
Just bought an old Mac Book Pro to do some coding in Xamarin and this issue was killing me. I am a beginner to OSX and parallels 13 so….
Great work and keep up.
This helped me a bunch and I’m not even on windows. 🙂
Thanks
ShitBay is dead- really. We’ve spent HOURS at work on ‘listings’ and there’s just no sales anymore, despite penny prices. DON’T do auctions, no one goes for that anymore. EVEN IF you do get a sale, the jerk will ask to cancel. TERRIBLE site. NO MONEY. Furthermore, the items as a buyer, they are garbage or not as described. Dishonest sellers. Dishonest company, shitBay.
in Ubuntu:
cd ~/.mozilla/firefox
cat profiles.ini. the name of your default profile is in there.
also there may be only one [random string].default, in which case thats your profile.
cd into it
mkdir chrome
cd chrome
nano userChrome.css
add css listed above ^^
save, exit, restart firefox!
thanks so much for this!
I am currently having an issue like this. My issue is that Visual Studio 2013 is using my [asset#].[domain].[country] as my “localhost” setting. I have to somehow correct Visual Studio to select “localhost” as localhost instead of my asset#. This was caused by VS installed before IIS.
Anybody know if this solution will fix for this issue??
Thanks!
That is an odd situation. I don’t have any information on that as I’ve never seen that particular issue. Sorry.
Hey, I just wanted to know how your Razer Blade 15 is running now. I just bought one and it came in 2 days ago. Since you seem really adept with technology, I wanted to some tips on making my Razer Blade 15 last as long as possible. I’m a pretty heavy gamer, and a student that uses it for classes. I also have an RTX 2060 as my GPU and I’m running the base model because I NEEDED the Ethernet port, I don’t feel like carrying a dongle around.
Hey Sherif, It’s actually going really well. I love it.
As for longevity the only real thing you can do is treat it will physically and keep on top of the tempuratures. I have a little stand to elevate it a little when gaming to make sure there is adequate air flow around the machine.
I also use this tool to keep on top of what the CPU is doing. Well worth spending a bit of time with to get to use properly.
https://www.techpowerup.com/download/techpowerup-throttlestop/
Let me know if you have any specific questions.
This problem still persists in 2020! But I’ve created feature request (or better to say bug report) to disable this annoying behavior: https://www.dropboxforum.com/t5/Dropbox-ideas/Add-option-to-disable-icon-overlays-in-Windows-Explorer/idi-p/412106
Sorry for spam but I’m trying to achieve justice by all means.
I respect your commitment to the cause brother!
To be honest, I honestly cannot remember the last time I encountered *ANYONE* using SVN any more.
I haven’t seen it professionally in over 10 years and I stopped using it myself entirely shortly before I made this utility. I just had some old repos hanging around before porting the projects to my own personal Gitlab instances running on my Synology.
The tail of the comet Comet McNaught was still seen in the Northern hemisphere after the comet itself was long gone. The picture also shows the Moon and Venus.
I’ve been running OSX on my Razer Blade that I got in 2018 and I love it, I mean the battery isn’t no where as good as an original Macbook but my CPU isn’t being throttled or neutered. But the Operating System runs flawlessly on it and I love having the Matte Screen with OSX. My system is dual booting so if I have the urge or desire to switch to Windows for games I can do that as well.
Sounds like a great situation. I’ve not tried to run OSX on mine as I’m still a major Windows user.
Interesting that you can though. How did it handle the NVidia driver situation?