Have FreeBASIC code on Github, DropBox, etc? Share it here!

For other topics related to the FreeBASIC project or its community.
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

Have FreeBASIC code on Github, DropBox, etc? Share it here!

Postby anonymous1337 » Jan 31, 2013 23:58

Hello, everyone.

It came to my attention a few years back when some community-owned file hosts went down that we're not very good at archiving. v1ctor tried doing us a favor with the FreeBASIC archive, but in all honesty, not a lot of people used that. It's no longer active.

Since asking prestigious members/supporters to archive everyone's files doesn't seem to be working out, I thought I'd start a thread to encourage everyone to upload their FreeBASIC projects to some sort of cloud storage or code repository. It doesn't take long at all, it's fun because you can sync, share and contribute, and it will really help us in the long-run.

Here's a list of free cloud-hosting services which support some kind of file-sharing, check-ins or syncing:

Currently, I recommend DropBox for personal use and GitHub for publicly released code.

Also, to start off, here are my FreeBASIC projects in Github. I'll try and add more as time goes on:

FreeBASIC Easing Library: https://github.com/anonymous1337/FB-Easing
FreeBASIC "Garbage Collector": https://github.com/anonymous1337/FB-Garbage-Collector

--------------------------

Thank you everyone for sharing your projects!
anonymous1337
Last edited by anonymous1337 on Feb 15, 2013 14:14, edited 1 time in total.
gothon
Posts: 224
Joined: Apr 11, 2011 22:22

Re: Have FreeBASIC code on Github, DropBox, etc? Share it h

Postby gothon » Feb 01, 2013 20:46

Hi anonymous1337. I've started a couple of FOSS projects on github myself:

Voxel Graphics Library: https://github.com/gothon/VoxelGFX
Voxel Drawing Program: https://github.com/gothon/CubeDraw
Sebastian
Posts: 131
Joined: Jun 18, 2005 14:01
Location: Europe / Germany
Contact:

Re: Have FreeBASIC code on Github, DropBox, etc? Share it h

Postby Sebastian » Feb 01, 2013 22:58

Hello!

anonymous1337 wrote:PS: If anyone has the time, think we can occasionally scrape all of the [ code] blocks off of the site and archive them on GitHub?

In my opinion, the main problem is the files stored on individually operated small home pages. They are referred to on the forums using external links. These home pages including their download packages usually live a few months or maybe even years, but after that time they vanish with all the valuable contents. This may be due to a shift in personal interests or other reasons. The external links referring to these files and pages persist on the forum. They become dead links, thereby rendering the topics meaningless (, as their subjects of discussion fade away to 404).

Contrasting to that, the contents of code boxes on the forum stay here permanently. Their availability is not dependent on the authors' willingness to go on maintaining their personal home pages. As long as the forum exists, the contents of the code boxes will stay available. So I don't think we really need some kind of backup archive for the forum code boxes.
Moreover, it's not reasonable to assume that everything between [ code] ... [/ code] is correct and fine example code, suited for a code snippet section. The code boxes might contain meaningless fragments of only a few lines, erroneous codes etc. So an automated CodeBox-->CodeSnippetArchive process might be inadequate.

But I absolutely share your basic intent. The contents hot-linked on the forum should really be perserved for the future. It is very sad that externally stored contents vanish after just a few months or years. So I agree to anonymous1337: Use reliable, future-proof and free code storage locations instead of personal homepages or so called one-click hosters.

If someone is interested, I can also offer free file storage opportunities on the servers of http://www.FreeBASIC-Portal.de. The maintainers of the German/Austrian/Swiss FreeBASIC community ensure a reliable and enduring operation of its services. We've been operating our forums since 2004 and the FreeBASIC-Portal since 2007. In 2012 we were happy to celebrate the 5th anniversary of our FB portal. And I'm sure, we'll still be online in 2017 for the 10th birthday. ;) So if someone here is looking for a durable storage location for his/her FreeBASIC related stuff, ask me for a hosting account on our server. The FreeBASIC-Portal team will be happy to support your FreeBASIC projects and community activities.
e-mail: sebastian {at} freebasic-portal.de

By the way, I've been thinking of a FreeBASIC file archive for years, but still had not the spare time to implement a prototype.
  • A crawler periodically reads all new postings on the forum.
  • Hyperlinks to external sources (e.g. http://mypersonalhomepage.trashyfreehoster.com/mygame-1.0.rar) are extracted.
  • The referenced files are downloaded to the archive server.
  • Meta information (posting link, thread ID, thread title, posting ID, posting title, time, author, ...) is stored along with the downloaded file in the database.
  • If the author updates the file later, the crawler will notice that by analyzing the HTTP "Last-Modified" header. In case of updates, the new version is fetched and also put into the database.
  • In order to avoid license issues, I thought of something like that: We open a special dedicated consent-thread here. Everybody, who agrees that their externally stored files are archived in the FB archive, posts a message like "I agree" using his forum account. The crawler would read the postings in this thread and determine that way, whose files can be made publicly available on the archive website.
If someone else would like to have such an archive, I'm happy to work together with you. :) I simply don't have enough free time at the moment to build/program such a system entirely on my own. Server operation / sponsoring will be no problem, as the FB portal has a few server systems available.

Yours,
Sebastian
-- one of the FreeBASIC-Portal.de guys
PAEz
Posts: 15
Joined: Feb 04, 2013 14:21
Location: Australia

Re: Have FreeBASIC code on Github, DropBox, etc? Share it h

Postby PAEz » Feb 15, 2013 15:08

[delete]
Last edited by PAEz on Jun 02, 2013 15:13, edited 1 time in total.
Sebastian
Posts: 131
Joined: Jun 18, 2005 14:01
Location: Europe / Germany
Contact:

Re: Have FreeBASIC code on Github, DropBox, etc? Share it h

Postby Sebastian » Jun 02, 2013 13:12

PAEz wrote:https://www.box.com/s/lvudfgk5b49gn33tcw3h

And this account is permanent. Even if I lose interest in FB I will never take this down and will always leave it available to FB.

haha, surprise, surprise... 404 Not Found -_-

And once more: If you want your files to stay online, please feel free to contact me by email for free enduring permanent web space (only for programming / BASIC related content): <MyNameInThisForum(InLowerCase)> at freebasic-portal.de

http://users.freebasic-portal.de/<YourName>/ can be yours.
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

Re: Have FreeBASIC code on Github, DropBox, etc? Share it h

Postby anonymous1337 » Mar 20, 2014 23:19

Hey, guys.

I haven't been able to keep any promises of archiving other people's code, sorry. I find that FreeBASIC is something I use under very peculiar circumstances. Then, I go back to complaining about it.

However, I have archived what code of mine I have been able to find in my FB-Misc package on GitHub. It contains miscellaneous code samples from throughout the years! It's amazing that asking a simple question would get a thread thousands of views back in FB's hay-day.

https://github.com/anonymous1337/FB-Misc

I put almost everything under "Graphics Demos" because most of what I did was graphical (even if it was interactive).

I am sad to find that many of my favorite threads/applications do not have source files at all, since our community-trusted hosts, FilePasta and CopyPasta were taken down by its maintainer years ago.

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests