Topics - Deozaan [ switch to compact view ]

Pages: prev1 ... 9 10 11 12 13 [14] 15 16 17 18 19 ... 93next


68
If you launch the Battle.net client you can claim Destiny 2 for free between now and November 18.

69
Living Room / Backup Power for USB device -- does it exist?
« on: September 25, 2018, 03:01 PM »
I have a USB device that I need to keep powered. It is connected to a Raspberry Pi type device that itself is connected to a UPS, but it seems when the RPi reboots, it shuts off power to the USB ports momentarily, which resets the USB device.

I need something that will keep a steady supply of power to the USB device, but still allow a data connection to the RPi.

Does such a thing exist? Would an ordinary USB Y-cable (such as for external hard drives) do this? Or is there some kind of special Y-cable (or anything) that will provide power but still allow data to be sent/received to/from another device?

70
Hi all,

I've been thinking about writing a little utility for myself that could probably benefit from using a database of some kind. My needs will honestly be simple enough that I can probably just write everything out to a text (XML or JSON) or binary file, but on the chance that this is something that gets released and used by others who have a lot more data to wade through than I will, I figured I'd look into options of some sort of simple database system that might help keep things relatively speedy compared to parsing and iterating through plaintext to get all the relevant details.

The hard part about answering my request is that I'm not sure what language I'll be using for this utility. I'm most familiar with C# (but by no means an expert), so my inclination is to use that, but lately I've been tinkering with Python and Go and am considering using one of those if it would suit this project better. Also, cross-platform compatibility is somewhat important to me, at least between Windows and Linux. Ideally I'd like for my utility to have a GUI, but I'm pretty inexperienced with GUI frameworks and they tend to not always be very cross-platform friendly, and I'm not looking to make this a huge project that will take over my life for the next year. So for now I'd be satisfied with a command-line utility that can read, write, search, and display the pertinent information on demand.

Oh, and I'd like to be able to include the database with the utility in a portable manner, so the end-user can just run everything on a thumb drive or whatever without having to worry about installing things.

Maybe that was more information than needed. Anyway, can anyone recommend a simple and easy to integrate/use, portable database-type system that would be more efficient for parsing and looking things up than a plaintext (JSON/XML) alternative?

Thanks in advance

Pages: prev1 ... 9 10 11 12 13 [14] 15 16 17 18 19 ... 93next
Go to full version