@ThomasWard I see the (rare) case for a soldering iron, but I'm sure I never needed more than two or three screwdrivers and maybe a pair of tweezers ever... You should switch to a different brand to fix. :p
need torx bits for my HP workstation, hex bits for the rackmount server, weird proprietary screw bits for my friend's computer which I am working on upgrading parts in
@ByteCommander well, the good tools I just dropped about $63 on will never leave my home, or my bag. My workplace can reimburse me later for partial (from the missing screwdrivers from my other toolkit)
@NathanOsman , @Zacharee1 and @Mateo thank you very much for all the feature requests and suggestions, I've credited you guys on the release notes where appropriate
there's one thing that comes to mind in which C++ is better than C (with an OOP approach). Which is getting a parent object from a known object @Zacharee1, there are some workarounds for that though
In case anyone wants to see the changes, feel free to head over to github.com/SergKolo/udisks-indicator and check out the screenshots as well as updates README and release notes
@IanC C++ is object oriented,but it's not necessarily better. It's just different animal. Also, it has multiple inheretance, which is something for which it's been criticized a lot - Java doesn't allow inheriting from multiple objects
@Zacharee1 as far as I understand, if you inherit from multiple objects, their parameters may come into conflict somehow. I don't know enough of C++ to say why exactly though
it's more about the logic, I wanted a function to append a line in a file
and the best approach I found was creating a temporary file with the appended line then copying it to the original and then deleting it
I wanted to avoid creating this temporary file, but didn't figure a way to do it without having a big array of strings (that would have to be as big as any file opened, doesn't sound reasonable)
@IanC unlink and remove are actually the same, just defined in different libraries, and unlink is Unix/Linux specific. It may be alright to use either, i'd just prefer unlink()