|
Considering that John is not dumb, I suppose that when he was using the USB Stick he should have a good reason.
The rest was just a mix between speculation and joke.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
As someone else suggested, I should use git (or something similar), but the reason I was using a thumb drive (actually a USB nVME drive) for source code is because:
0) I'm running Windows in a VM
1) I needed to be able to work on the code on both a laptop and my desktop
2) I might go weeks without working on one machine or the other
A thumb drive just makes sense (source control makes even more sense - grin). I have no idea what happened because I'm diligent about properly ejecting the usb drive before unplugging it from a given machine. It's been fine for almost two years (maybe I was just pushing my luck though).
As I stated earlier, it looks like I have a reason to use my Synchronicity article.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I agree with MadMyche... have you tried disc recovery?
I don't now if you remember two years ago, a relative of mine had a problem with an indian scam center and they deleted the HDD content. I tried a pretty old disc recovery app, and worked like charm. I could recover over 95% of the data. It needed a couple of days (the HDD was 1,5 TB) and then I had to merge 3 different versions of the folders but it was worth the effort.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Try Recuva or something similar to get the deleted file back.
|
|
|
|
|
Do you have the compiled exe or dll? You could use ILSpy to decompile it.
|
|
|
|
|
|
working from a usb drive without a backup is like living on the edge of tomorrow by tom cruise....
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
If the file ever was on the thumbdrive (you do not mention if it was never transfered or simply deleted), you should be able to recover it - or at least a part of it, by using a recovery tool.
/edit: just saw this has been proposed - I can warmly recommend Recuva - I used it in the past with success for pictures.
|
|
|
|
|
It's too late i think. I recreated the with the same name, and am soldiering on...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
OK, then, too bad. On the other hand, writing it the second time goes quicker
|
|
|
|
|
As I said in other message, when that happened to my relative I had to merge 3 different versions of some folders.
The recovery tool found 2 or 3 different versions of some files. Deleted by the !"$§$§%!", deleted by my relative, overwritten with another version...
they named by the old principle filetem~1.xxx, filetem~2.xxx and so on...
I don't know how much will it take to rewrite it but I would give a shot to the recovery tools.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
A Chinese man just asked me “have you seen my cocaine”
I said “ not since the Italian job”
|
|
|
|
|
Oh, that's bad.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
But sadly it got caught in the .NET
|
|
|
|
|
why we got BOTH types of platforms, microsoft AND windows.
pestilence [ pes-tl-uh ns ] noun
1. a deadly or virulent epidemic disease. especially bubonic plague.
2. something that is considered harmful, destructive, or evil.
Synonyms: pest, plague, CCP
|
|
|
|
|
|
Flutter-ing
|
|
|
|
|
I had hoped it would buck buck buck the trend.
|
|
|
|
|
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#).
I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions.
I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code.
Thanks In advance.
|
|
|
|
|
|
|
I have done Android development in both Xamarin using C# and Kotlin.
I am more familiar with C# so I would personally tend to err with something I am familiar with.
However there is a lot of support on SO and other forums, as well as from google for Kotlin.
So I can't really offer a recommendation other than saying go with something that has a lot of support and postings on forums like CodeProject and SO.
I say this because Android can be one massive PITA at times, I have just been spending the week battling with dates because a someone wants to use a version of Android released just over four and a half years ago and the older Java releases don't handle date locales particularly well.
So if you are like me I would say that go for something you are familiar with because Android is going to throw a lot of curve balls your way.
If you like adventure then go for something like Flutter, React or Kotlin.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
modified 7-May-20 14:22pm.
|
|
|
|
|
Xamarin is cool and easy, why do you even ask when there is a mandatory shared component?!
|
|
|
|
|
Maybe a web based app? With Electron it can run on Windows and there are other similar technologies available to bundle it to run on Android.
|
|
|
|
|
Hello,
if your objective is to share only the math component, then you probably can create a C++ DLL ( for the Windows side ) and .SO ( for the Android side ) and interface your existing C# and Java code (JNI) with this DLL. So only the math component needs to be ported (to C++).
If you really want to port everything (both apps) to the same language, then C# (Xamarin) is probably a good choice. I also propose a free open source C++ cross-platform framework ( https://Kigs-framework.org ).
Stéphane Capo
|
|
|
|