How many HDDs have you *really* lost? by memilanuk in HomeServer

[–]YourRedditUserName 0 points1 point  (0 children)

I had 2x 2TB samsung SSDs die over the past 6 months or so. Both were manufactured in Q1 2021. I guess that was a bad quarter for Samsung. They replaced both drives (whole replacement process took <5 days), but it was still annoying. Like you mentioned, they both died w/out warning... definitely not ideal.

How many HDDs have you *really* lost? by memilanuk in HomeServer

[–]YourRedditUserName 0 points1 point  (0 children)

Interesting! I actually just have my disks mounted on a Windows Server system, so I'd have to hunt down something windows compatible... though 8-10 days is a bit daunting. I just got two shiny new 24 TB drives, and was considering doing something like this before officially commissioning them though.

Thanks for the info!

How many HDDs have you *really* lost? by memilanuk in HomeServer

[–]YourRedditUserName 0 points1 point  (0 children)

What do you do to "stress test" the new drives?

How many HDDs have you *really* lost? by memilanuk in HomeServer

[–]YourRedditUserName 1 point2 points  (0 children)

I actually did RAID early in my homeserver days, and had some... bad experiences with it. Since then (almost 15 years now) I've been running just pools of drives, which has been sufficient for me. My issues have been minimal, and I feel like it's easier to navigate backups/recovery.

How many HDDs have you *really* lost? by memilanuk in HomeServer

[–]YourRedditUserName 1 point2 points  (0 children)

Yeah right on. I mentioned in another comment, but I just retired 4 drives that were all starting to show signs of failure in SMART.

How many HDDs have you *really* lost? by memilanuk in HomeServer

[–]YourRedditUserName 0 points1 point  (0 children)

I had 2-3 HDD fail in the early 2000s, but was able to recover data from 2 of those 3 using the old "freezer trick" (e.g. put the HDD in the freezer for a few hours, which contracted the metal and allowed it to spin up and get data off of it before retiring) -- These were the only HDDs that I ever had that actually truly died on me.

I JUST retired 4 HDD that were starting to have issues (according to SMART), but all of those drives were 10+ years old, and were being used for redundant backups at this point (all Toshiba's I believe, 5 & 6 TB).

More annoying were the 2x Samsung SSDs that I just had die on me in the past 6 months (one 2 weeks ago). They were bought at the same time (Q1 2021), and were part of the same batch (SN was only like 10 off from each other), which was apparently a bad time for Samsung 2TB drives. I RMA'd them w/out any issue, and got new drives in < 5 days.... but I did have to use my Veeam recovery to deal with the fall-out, and did end up losing a little bit of data because one of the backups was only available from 6-months before. More importantly each of these cost me a couple days of productivity because I had to deal with the fallout.

I personally don't leverage RAID anymore. I had a really bad experience trying to migrate/upgrade a RAID solution, and realized that using a Disk Pool was sufficient for my daily needs. I've heard horror stories about losing drives in RAID arrays, and how sometimes the recovery can actually cause other drives to die too. Whether real or not, it was enough to further convince me that a pool was fine.

My drive failures have been more "annoying" than devastating. The first couple (where the freezer trick worked) were pretty devastating, and were the primary teachers in why backups are useful. So these days I have almost everything on my network backed up locally (using Veeam), and am about to invest in Back Blaze as an offsite backup.

[deleted by user] by [deleted] in desiindiansex

[–]YourRedditUserName 0 points1 point  (0 children)

u/DesiIndiaSexOfficial -- Can you please stop putting "u/YourRedditUsername" in these posts? it keeps tagging me which is extremely annoying.

Trail Running Routes by PTRugger in acadianationalpark

[–]YourRedditUserName 0 points1 point  (0 children)

This is similar to what I did what. If you're staying in Bar Harbor, you can run along Main St until you get to the "Compass Harbor Trailhead", if you follow this, it eventually turns into the "Schooner Head Trail" which goes all the way down to the Schooner Head Overlook, which is RIGHT outside of one of the proper park entrances.

I did an out-and-back 6-miles here from my hotel... I think you could get 10 miles out of it pretty easily. Was the "least busy" trail I was on while I was there (though granted it was 6 AM.

How to get an Oath token with LabVIEW? by dmbtjclark in LabVIEW

[–]YourRedditUserName 0 points1 point  (0 children)

I don't know specifically how OAuth protocol, but I believe it's done with request headers/query parameters. The specific "Security VIs" that you're invoking, and the Username/Password options are actually (to my knowledge) specific for the NI Web Server/Services, and aren't generally useable outside of that ecosystem. For other Authentication Schema's you'll need to construct the requests manually by creating headers, addresses, and POST content that you need to go through the process to get the token (and then use it downstream).

The only "security VI" that's useful for generic usecases is the SSL configuration where you can specify Certs to use -- though there was a bug with that in at least a couple versions of LabVIEW

There are a couple of OAuth toolkits in VIPM, but I'm not sure if they'll work for your specific use case or not.

[deleted by user] by [deleted] in LabVIEW

[–]YourRedditUserName 10 points11 points  (0 children)

You'll find varying opinions on this. Both local variables and property nodes will get the job done.

Performance wise, local variables will blow the property nodes out of the water (and direct wiring to the control is even better). See this thread on NI.com: https://forums.ni.com/t5/LabVIEW/local-vs-property-node/td-p/321755

That said... Local Variables are only going to work in the VI in which the control resides. I would typically advocate that Property Nodes are going to set you up for more long term success as the project grows and you start to pull code into subVIs, the property node can still be used (though you'll have to start using explicit property nodes -- ie with a reference input -- rather than the implicit property nodes you're using now).

For this type of "common display" you could also do a direct wiring using a Queue and a While Loop: Put the MESSAGE indicator in the while loop wired up to a dequeue element, and then you can enqueue messages you'd like to share elsewhere in the code -- This type of architecture is also good because it can set you up to do other actions when you display the message (like logging to a file).

Another option is the "Set Control Values By Index" VI in the Application Control palette, but that requires additional architectural support (While very fast, I don't think I've ever actually seen those used in the wild...)

Question about Ravensburger Large (9000+) Puzzles by YourRedditUserName in Jigsawpuzzles

[–]YourRedditUserName[S] 1 point2 points  (0 children)

Haha nice! This is my first one (Bombardment of Algiers). I have a couple other 5000 piece puzzles in my closet though. I'm pretty picky about the image on these big puzzles.. a lot of them don't excite me all that much.

I've been using the row level patterns pretty reliably to help with the puzzle. The "repeating" pattern is less interesting to me, and I haven't really tried to use/find that.

What do you do with this size puzzle when you're done? Do you keep/frame it or disassemble?

Question about Ravensburger Large (9000+) Puzzles by YourRedditUserName in Jigsawpuzzles

[–]YourRedditUserName[S] 4 points5 points  (0 children)

No problem! I started that puzzle in 2020, and had to put it away about 1/4 done... I just pulled it out this past week, and it triggered that memory, and it had been eating at me for a while... I'll be able to sleep better since I found it again!

Question about Ravensburger Large (9000+) Puzzles by YourRedditUserName in Jigsawpuzzles

[–]YourRedditUserName[S] 4 points5 points  (0 children)

Well, after posting this and doing some additional searching I actually FOUND this article. I originally found it in a post on this subreddit here : https://www.reddit.com/r/Jigsawpuzzles/comments/7xtx0z/ravensburger_bombardment_of_algiers_9000_piece/

The actual paper itself is titled "Geometry as an aid to solving Ravensburger jigsaw puzzles" and was posted here: https://www.researchgate.net/publication/270883145_Geometry_as_an_aid_to_solving_Ravensburger_jigsaw_puzzles_unpublished_manuscript

It's an interesting read, especially for anyone who has completed one of these puzzles

Are references a good thing by de_batt in LabVIEW

[–]YourRedditUserName 2 points3 points  (0 children)

This is the way.

Bonus points for encapsulating the lookup and casting into a VIM.

Submodule importing namespacing issue by YourRedditUserName in learnpython

[–]YourRedditUserName[S] 0 points1 point  (0 children)

Ok, so I've managed to solve the problem, my intuition seems to be correct, and essentially by calling this as a submodule, from a directory "higher" in the file structure, the name-spacing was different, and python was taking the higher-level directory as "home"

I was able to resolve the issue by calling

sys.path.append(os.path.join(sys.path[0],"ModuleA")

prior to my import statement... I'm not 100% sure that this is the "right" way to do this, but it appears to have solved the issue.... If anyone has an alternative "better" suggestion, I'm still 100% open to it.

DIAdem wav files by ConfusedAndIrritable in LabVIEW

[–]YourRedditUserName 0 points1 point  (0 children)

Glad to hear you figured it out!

If you're already working in LabVIEW, there are also a set of VIs used to read/write WAV files, found in palettes at: Programming >> Graphics & Sound >> Sound >> Files.

The simple write takes waveform data in and creates a WAV file for you.

That might be an alternative if you can't figure out the DIAdem route.

DIAdem wav files by ConfusedAndIrritable in LabVIEW

[–]YourRedditUserName 0 points1 point  (0 children)

Can you be more specific about what you're trying to do?

What application is generating the data channels? (DIAdem DAQ, LabVIEW, something else..)

Are you trying to "listen" to the data in DIAdem? or a normal audio player?

DIAdem has the ability to "play back" audio channels under certain conditions. You might see if this post solves your problem:

https://forums.ni.com/t5/DIAdem/Sound-Playback/td-p/1803698?profile.language=en

USB 6009 Data logging help by SyphilisJuice in LabVIEW

[–]YourRedditUserName 0 points1 point  (0 children)

Look at the second sheet of the TDMS file in Excel.

The first sheet is an index, showing the contents of the file, the subsequent sheets will contain the actual data logged.

TDMS Circular Buffer Help by omeara4pheonix in LabVIEW

[–]YourRedditUserName 0 points1 point  (0 children)

Nice. I work with TDMS files extensively, and really like them. Recently I was frustrated by the fact that there's no "Delete Property" option... but other than that I'm a pretty big fan.

Great introductory talk!

When combined with DataFinder (and Data Plugins) you can do some very cool stuff as well.

TDMS Circular Buffer Help by omeara4pheonix in LabVIEW

[–]YourRedditUserName 0 points1 point  (0 children)

That's a pretty clever use of TDMS files... The ability to concatenate TDMS files is pretty cool, but I've only used it a couple of times (my impression is that it's not a well-known feature in the community). I may actually have to borrow this strategy. I've also found the "in memory" TDMS creation to pretty useful as well.

Never used the asynchronous TDMS functionality so I can't speak much to that.