AMA: Computer Specialist

Mundane & Pointless Stuff I Must Share: The Off Topic Forum

Moderator: Moderators

User avatar
RobbyPants
King
Posts: 5201
Joined: Wed Aug 06, 2008 6:11 pm

Post by RobbyPants »

RandomCasualty2 wrote:
Blasted wrote: It's a "Framework"; bunch of APIs, which Microsoft would like all programmers to use.
It has native implementations for C++,C#, whatever VisualBasic is called now, IronPython, IronRuby, F#. There are other implementations for a whole bunch of other languages and an opensource implementation called 'Mono'.

I concur with .NET being the corporate standard. Especially for medium/medium-large businesses and those who are MS exclusive.
Not quite sure I follow. Doesn't C++ create a self-contained exe file that doesn't require other stuff to run?

Or does .NET include a development kit (compilers and the like) that people can use?
I'm not sure about C++. I created a really small C# exe on one computer and moved it to another, and it complained that I didn't have the right version of .net to run the thing.

So, I know using C#, you need to make sure anyone running your exe has the right version of .net.
User avatar
Blasted
Knight-Baron
Posts: 722
Joined: Wed May 26, 2010 5:41 am

Post by Blasted »

This is because you're implicitly requiring the libraries that .NET provided when you compiled the program.

Getting the versions of your libraries right is a joy that all operating systems have. Windows happens to do it worst, in that it doesn't have a decent package manager and .NET changes regularly. Adding a 'marketplace' to windows 8 seems to be a reasonable way to mitigate this.
shirak
Knight
Posts: 468
Joined: Fri Mar 07, 2008 7:54 pm
Location: Thessaloniki, Greece

Post by shirak »

I own two HDDs, one split between NTFS5 for Win 7 and Ext4 for Mint. The second is a nearly full 1,5TB Seagate (NTFS5 too). My problem is that one day WinXP (changed to Win7 later, same results) stopped seeing the disk. No label, size showed up as zero and when I tried to access it it prompted me to format it, claiming it was RAW. I tried TestDisk and failed spectacularly (it showed the wrong size and the dev told me to give up or lose the disk).

Mint and NTFS-3G seem genuinely puzzled as to why i have a problem since they can access the damn disk just fine. And now for the scary part:

If I mount the drive under Linux and then restart the machine (but not shut it down) Windows can read it just fine!


The developer of TestDisk suggested I buy a new disk, copy my data and reformat the original. I am probably going to do that but my question to you is what the hell is going on?
Surgo
Duke
Posts: 1924
Joined: Fri Mar 07, 2008 7:54 pm

Post by Surgo »

That is really odd and to be honest I have no idea at all, I've never heard of that before.

At first I thought it was that Windows put it in some state that it screws up something when it tries to mount it, and Linux fixes that state somehow. But the fact that it works when you restart the machine but not shut it down...what the fuck?
User avatar
RobbyPants
King
Posts: 5201
Joined: Wed Aug 06, 2008 6:11 pm

Post by RobbyPants »

What's the difference between shut down and restart other than the machine not coming back on?
User avatar
Crissa
King
Posts: 6720
Joined: Fri Mar 07, 2008 7:54 pm
Location: Santa Cruz

Post by Crissa »

The machine doesn't come back on.

Originally there was a possibility of retaining memory glitches or whatnot with a 'soft' reboot, but that's really rare in modern computers. Shut down denies power to components so that they can't contain any information or bad settings while a soft boot doesn't actually pull the plug from them long enough for those settings to be refreshed.

On a Mac, this is instead dealt with a PRAM reset, as a soft boot actually does reset all components directly connected to the main board. On a PC, the components may not all be reset in a soft boot.

When you have a 'hard' boot (from a shutdown), the bios gives out new instructions to the components. In a soft boot, prior settings may interfere with this step.

-Crissa
krainboltgreene
Apprentice
Posts: 50
Joined: Sun May 30, 2010 6:15 am
Location: Eugene, Oregon
Contact:

Post by krainboltgreene »

Getting the versions of your libraries right is a joy that all operating systems have.
I found a nifty Ruby Gem that packs the software, Ruby, and whatever gems I required in the software, into a nice little EXE.
Post Reply