|
Is it germane to discuss hydrides of germanium in Germany?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Lawrencium
Germanium
Boron
Titanium
Quagga
Iodine
Astatine
Can the above be best tested by a Gayger Counter?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Hi all, I have about a dozen or more external USB / SATA / SSD drives that I use for my backups. I currently use yellow postits to lable them but obviously they don't last very long - anyone gor any suggestions as to what I could use ? ideally something I can write on and be removable ( keep it clean please )
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
White athletic tape and a sharpie?
|
|
|
|
|
Depending on how often you'd need to relabel the drives, 3M makes a no-residue duct tape that removes cleanly for up to six months after application.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
I permanent mark them with an ID code (using one of these: Brother P-Touch 65 Labelling Machine: Amazon[^] and then record usage / location in a spreadsheet (which one day I'll get round to databasing, but it's a low priority).
Since I also include my USB sticks*, it's just easier as a spreadsheet has more space than a label would.
* Windows recovery, AOMEI restore bootable, Win 10 fresh install bootable, that kind of thing.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I've gone the cheap route with masking/painter's tape and a sharpie. It has suited my needs.
|
|
|
|
|
pkfox wrote: I currently use yellow postits to lable them but obviously they don't last very long - anyone gor any suggestions as to what I could use ?
Blue ones.
|
|
|
|
|
|
It's less of a joke than you might think. We now use 32GB SanDisk Flash drives as our distribution medium for all software: OS images, products, etc. It's cheaper and faster than burning DVD's and such.
I personally use paper tags just like the one you showed for items I submit to manufacturing. Of course, they turn around and make fancy-schmancy printed tags that the customer sees .
Software Zen: delete this;
|
|
|
|
|
I write the on a square of paper and sellotape the paper, along each edge, to the drive.
This has worked well for me for the past 12 years.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I was just about to suggest engraving them
|
|
|
|
|
Back in my lab days I used a rapidograph to write on flasks and other things. They're a type of drafting pen and write with india ink.
On glass, although it sticks and is 100% immune to any solvent (even strong acids/bases) once dry (that's why I used it) it can be wiped off.
I wouldn't gurantee removal from a label but you can write directly on the drive's metal. Wipe it off when you want. It must be clean (i.e., wetable, non-greasy)
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
You can still buy diskette labels (Avery code L7666-25) on Amazon.
Other removable labels (smaller or larger, cheaper or more expensive) may be found there as well.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
@SanderRossel I believe you've used them before. Do you know anything that will let me do like Expression<t>.Parse("1 + x"); or similar?
Anyone? Bueller?
Basically, I already have the code to parse C# expressions and turn them into trees. I'd simply have to modify it to make expression trees instead of codedom expression trees.
The question is, am I reinventing the wheel?
Real programmers use butterflies
|
|
|
|
|
|
Thanks. I may create it anyway since it's not part of microsoft's framework, but it depends if their input language is a C# subset like mine is.
Real programmers use butterflies
|
|
|
|
|
Are you looking for something like that?
var product = CSScript.CreateFunc<int>(@"int Product(int a, int b)
{
return a * b;
}");
int result = product(3, 4);
The solution (cs-script) is based on Roslyn engine.
|
|
|
|
|
How about the following?
static void Main()
{
Expression<Func<int, int>> exp = x => 1 + x;
} exp.Body is now of the type SimplyBinaryExpression , with a ConstantExpression for Left and PrimitiveParameterExpression for Right , etc.
That's the only way I can think of turning code into Expressions.
If you can parse an actual string in .NET, I don't know.
Apparently there's a library that does it: Dynamic Expressions · zzzprojects/System.Linq.Dynamic Wiki · GitHub[^]
|
|
|
|
|
Cool, maybe I'll write it then. I already have a C# subset parser.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: Cool, maybe I'll write it then. Me: "There's a library that does that."
You, a typical programmer (in this regard): *Sigh* "Fine, I'll do it myself!"
|
|
|
|
|
LOL
I've been looking at one, I'm just not sure if I like it.
Real programmers use butterflies
|
|
|
|
|
Here's one simple trick and developers hate it!
string theCodez = "1 + x;";
var exp = (Expression)theCodez; True story.
|
|
|
|
|
wow. just... wow.
Real programmers use butterflies
|
|
|
|
|
I just thought of something.
If you could ever find that eval-like function, you could do something like Eval($"Expression<Func<int, int>> exp = {myCode};"); and the exp variable would be available outside the Eval function in your current scope
I remember the context in which I saw that function.
The customer wanted to do stuff like enter "amount * 10", sort of a calculator utility inside the application.
My coworker was like, "I could write a parser and spend a few days, or I can do it like this and be done with it"
I should mention it was VB.NET though and I think it was somewhere inside a VB specific namespace (although I'm not sure).
I think I saw it work with C# once too.
The fact that I can't find this function anywhere is really pissing me off (not that I'd want to use it)
I did find some smart guy who just compiled a string using reflection (using ICodeCompiler.CompileAssemblyFromSource) and then simply invokes it
|
|
|
|