
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
History is littered with hundreds of conflicts over the future of a community, group, location or business that were "resolved" when one of the parties stepped ahead and destroyed what was there. With the original point of contention destroyed, the debates would fall to the wayside. Archive Team believes that by duplicated condemned data, the conversation and debate can continue, as well as the richness and insight gained by keeping the materials. Our projects have ranged in size from a single volunteer downloading the data to a small-but-critical site, to over 100 volunteers stepping forward to acquire terabytes of user-created data to save for future generations.
The main site for Archive Team is at archiveteam.org and contains up to the date information on various projects, manifestos, plans and walkthroughs.
This collection contains the output of many Archive Team projects, both ongoing and completed. Thanks to the generous providing of disk space by the Internet Archive, multi-terabyte datasets can be made available, as well as in use by the Wayback Machine, providing a path back to lost websites and work.
Our collection has grown to the point of having sub-collections for the type of data we acquire. If you are seeking to browse the contents of these collections, the Wayback Machine is the best first stop. Otherwise, you are free to dig into the stacks to see what you may find.
The Archive Team Panic Downloads are full pulldowns of currently extant websites, meant to serve as emergency backups for needed sites that are in danger of closing, or which will be missed dearly if suddenly lost due to hard drive crashes or server failures.
Trying to implement another cause of use, a block with a Custom Qwidget, I have found a memory problem that it is present in all the examples.
In the examples when a new block(Node) is created, a custom destructor is created. This destructor normally is empty. So nobody frees the Qwidget pointer. The curious here is that this problem is only present at the beginning when we run the application.
I have verified that when the scene is created, also an instance of each Node that we have set in the function “registerDataModel()” is created but immediately these instances are deleted. Here is the leaking problem, the Qwidget pointer of each node is not free.
If we try to solve this problem adding in the destructor adding the correspondent code “delete Qwidget”, we solve the problem but another worse problem it is created, a CRASH is produced when we delete (key Supr) a Node manually in our scene. This crash is due to that when we push the key Supr to delete a Node in the scene, first is deleted the pointer to the Qwidget and after the destructor of the Node, it is called. When the destructor tries to delete the pointer to the Qwidget, a crash in the application is produced because it is trying to delete a pointer(QWidget*) that already have been deleted.
I have found a way to solve both problems, but it is not the best solution. I have created a destructor with memory. The code for each destructor is the following:
`virtual ~CounterModel() override {
`
I think that this could be fixed in two ways:
1. When the keyword “Supr” is pressed, only delete the Node(Model), so the same model will make the action of cleaning the pointer of Qwidget.
2. Make an overload function as follow:
std::shared_ptr<QWidget*> embeddedWidget() override { return _window;}Here an link to a video to explain better the error:
https://www.dropbox.com/s/wbdn8ooghyhoglc/Example?dl=0
Also it is possible that I am doing something wrong… In that case sorry for the inconvenience.
The text was updated successfully, but these errors were encountered: