topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 2:27 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cyeb [ switch to compact view ]

Pages: [1] 2next
1
N.A.N.Y. 2011 / Re: NANY 2011 Release: Partial Download
« on: January 03, 2011, 09:55 PM »
@Cyeb, yes I have mentioned about wget on the web site, as similar but not with the partial option. I checked the curl web site but it also do not have this intentional partial download option. Please correct me if I am wrong. I did googled before developing "partial download" application, but could not find one.

Well.. Actually cURL does include a partial download, as stated in my comment up there.  I downloaded cURL from here:
http://curl.haxx.se/download.html
And tried both Partial Download and cURL on this image here:
https://www.donationcoder.com/cssimages/topbanner_website.png

Here's an example on getting 1500 bytes for both programs:
curl https://www.donationcoder.com/cssimages/topbanner_website.png -r 0-1500 > topbanner_website.png

"partial download" https://www.donationcoder.com/cssimages/topbanner_website.png 1500

Anandcoral, both programs have their own benefits, of course.  Partial Download has much easier syntax to understand as well as (hopefully in the future :D) the possibility of a partial Youtube video download.  cURL provides more flexibility, but is a bit harder to understand.

I hope I don't offend you by posting here, but you know.  The facts are the facts, and cURL did get there 12 years before you did.  ;)  But like I said, your software may open up the possibility for partial Youtube downloads, which cURL can not do, so it wasn't all for nothing!  Keep up the good work!

2
N.A.N.Y. 2011 / Re: NANY 2011 Release: Partial Download
« on: January 02, 2011, 07:14 PM »
Yeah, I'll agree, it's pretty nice nonetheless.

3
N.A.N.Y. 2011 / Re: NANY 2011 Release: Partial Download
« on: January 02, 2011, 06:10 PM »
My mistake...I meant to say cURL instead of wget.

-r/--range <range>

(HTTP/FTP/SFTP/FILE) Retrieve a byte range (i.e a partial document) from a HTTP/1.1, FTP or SFTP server or a local FILE. Ranges can be specified in a number of ways.


http://curl.haxx.se/docs/manpage.html

4
Very Important:

This application is not going to be useful to many people

You kidding me?  I'm definitely using this!  Maybe I should start my own "Boy Takes Picture of Himself Everyday for 10 Years" thingy.  :P

Edit:  First impressions:  Wow, I'm loving it.  It's pretty nice.  Could this program maybe be portable?
Edit2:  The scroll bar is messing up.  The theme disappears when you drag it.

5
N.A.N.Y. 2011 / Re: NANY 2011 Release: Partial Download
« on: January 01, 2011, 08:11 PM »
Haven't you heard of wget?  :P

6
http://www.hak5.org/..._Switchblade#Files_4

^ Read on it.  If you search around, there's an application to hack things onto the read-only part of any u3 drive.

Except the link I provided is for recovering information on an unsuspecting user's hard drive.  Fighting evil with evil?  :D

7
you could just use a program that can calculate hashes of the files.

actually that would make a very nice portable app -- a program which when run scans the drive and creates hashes of all files found, and compares to previous set of saved hashes, reporting any differences and new files.  bonus if it also did this on boot records.  goal would be to make it super easy to use with no real options, just run it and wait for it to tell you nothing has changed most of the time.. or report on new files.  on rare malware infection it will report the changing of some files.  (be smart if it flagged changed exe's more dramatically than changed .txt files).

could be extremely useful for portable file use.

in fact, it might very well make sense to run it immediately after inserting a drive to see if any malware wants to try to infect any executables on your usb, kind of like a honeypot.

this would make a great NANY 2011 project for someone..

Oh, I wasn't worried about the hash-checking program intentionally having it's checking functionality disabled - but along the lines of the program getting infected on one machine, and when running on the next spreading the infection. If the infection was with a nasty piece of self-hiding code, the hash-checking would be ineffective without having been explicitly targeted.

I know this is a week-old thread, but aren't you guys missing something?  Just put the hash checker on the read-only part of the drive!  Tell me if my idea is flawed..But I'm pretty sure it's doable.  You just have to preload the hashes into the read-only part of the USB before you go anywhere.

8
+5 for DBAN (Darik's Boot and Nuke).  Noticing a trend here?   ;D

9
If you want to, ah, shall we say, back up somebody else's data without them knowing, you can always go for Switchblade or Hacksaw.  I stumbled upon it quite by chance, and thought it was interesting.

10
I see.

11
N.A.N.Y. 2010 / Re: NANY 2010 Release: Twigatelle
« on: March 28, 2010, 02:12 PM »
Ahh, I haven't commented in a while.  I switched out my age-old Windows XP for Ubuntu, lost all of my bookmarks, and just about forgot about Twigatelle for a few weeks.  Gonna download that right now and check out the new levels!

12
I didn't like it. It's like a beggar's version of Eufloria, only Big Tree Defense sucks and Eufloria is kind of cool.

Eufloria (click for fullsize LARGE image): (see attachment in previous post)
Though Eufloria isn't really a tower defense... It's more of a GalCon/TowerDefense mix.

Eufloria?  I thought it was called Dyson!  Hold on, I'm looking for the link...There!

http://www.freewareg...bient-strategy-game/

Or did Dyson become Eufloria?  Well, no matter, if you want to try out Eufloria without paying for it, there's a download link on the site provided.

13
N.A.N.Y. 2010 / Re: NANY 2010 Release: Twigatelle
« on: February 06, 2010, 08:29 PM »
I like how every level is unique and not just "harder".  :)

14
N.A.N.Y. 2010 / Re: NANY 2010 Release: Twigatelle
« on: January 30, 2010, 09:08 PM »
Okay, just asking.

If you get ball duo, trio, or frenzy and the catcher gets some, at the very top it only displays up to six.

15
N.A.N.Y. 2010 / Re: NANY 2010 Release: Twigatelle
« on: January 29, 2010, 06:42 PM »
New Twiggly-Wiggly uploaded - 0.6

1. There's now a level 7 in place for those advanced players. Unfortunately it still says "Level 6" when it starts up, but take it from me - it's level 7.
2. Negative gravy should affect all balls in play.


Mmm, gravy... :drinksmiley:

Now, I'm just wondering, are you going to release the source?  I'm no java expert, so I don't care anyways, but just want to know.

16
N.A.N.Y. 2010 / Re: NANY 2010 Release: Twigatelle
« on: January 26, 2010, 09:31 PM »
Hum hum, I forgot to say, done with the SAT on Saturday!  Aced the math, everything else...ehh, 50% right at best.  Anyways, in my free time, I modified the buttons a bit!  I made the edges rounded!  Ha ha...Which one is better?

17
N.A.N.Y. 2010 / Re: NANY 2010 Release: Twigatelle
« on: January 26, 2010, 08:47 PM »
I see that the aiming is fixed, and the 0.4 is showing.  Oh, and the assassin balls are also an iron ball.   ;D

18
N.A.N.Y. 2010 / Re: NANY 2010 Release: Twigatelle
« on: January 23, 2010, 07:24 PM »
Level 4 runs very slowly on a netbook.  I blame it on the particles when the bumpers explode.

How does the jnlp know when to update?

19
General Software Discussion / Re: AVAST! 5 released
« on: January 22, 2010, 05:33 PM »
Ah, I hate avast.  I've recently switched, though I'm not very sure about my current one either...Avast tried to make it "appealing" to the more inexperienced, what with the funky skins and speaking after every time it updated.  Then I read a few reviews about how low it's detection rates are.  And THEN it crashed my computer every time it updated.  That was the last straw, and I got rid of it.  Did I mention that I hate it?

Here's the review about it's low detection rates:  http://www.pcworld.c...ssional_edition.html  only that was version 4.8.  I'm not sure how version 5 performs, but it's doubtful that it's any better.

20
Developer's Corner / Re: Random bmp generator
« on: January 21, 2010, 07:24 PM »
Meh.  Ignore.  This thread is dead.  I killed the project.  There are just some things one must learn first before attempting to do other things.  I tried to learn, really!  But oh well.  Source is up there.

21
N.A.N.Y. 2010 / Re: NANY 2010 Release: Twigatelle
« on: January 20, 2010, 04:52 PM »
There are just a few minor bugs...And they are that when you're aiming with the dotted white line, towards the sides, it becomes inaccurate.  Also, the bumpers still do not start off-screen..

Edit:  I've also found that the assassin balls only target red ones.  It hit the last red one, and would not move away to the blue ones.  Plus, I have a suggestion, and the powerup that reverses the gravity should have the top "roof" a bit more bouncier, as it only hits the top row after a while.

22
Developer's Corner / Re: Random bmp generator
« on: January 16, 2010, 09:53 PM »
Err...UMMMMM....Idon'tknow.  I have no idea what you're saying, I'm sorry. :stars:  How about showing you my extremely inefficient code?  Feel free to laugh.

Spoiler
#include <iostream>
#include <string>
#include <fstream>



using namespace std;

int main()
{
    int a,b,c,d,f,g,h,i,j,k;
    const char e = NULL;

    a=66;
    b=77;
    c=102;
    d=117;
    f=54;
    g=40;
    h=100;
    i=1;
    j=24;
    k=48;

    ofstream bmp;
    bmp.open ("random.bmp");

    char header[54];

    header[0]=a;
    header[1]=b;
    header[2]=c;
    header[3]=d;
    header[4]=e;
    header[5]=e;
    header[6]=e;
    header[7]=e;
    header[8]=e;
    header[9]=e;
    header[10]=f;
    header[11]=e;
    header[12]=e;
    header[13]=e;
    header[14]=g;
    header[15]=e;
    header[16]=e;
    header[17]=e;
    header[18]=h;
    header[19]=e;
    header[20]=e;
    header[21]=e;
    header[22]=h;
    header[23]=e;
    header[24]=e;
    header[25]=e;
    header[26]=i;
    header[27]=e;
    header[28]=j;
    header[29]=e;
    header[30]=e;
    header[31]=e;
    header[32]=e;
    header[33]=e;
    header[34]=k;
    header[35]=d;
    header[36]=e;
    header[37]=e;
    header[38]=e;
    header[39]=e;
    header[40]=e;
    header[41]=e;
    header[42]=e;
    header[43]=e;
    header[44]=e;
    header[45]=e;
    header[46]=e;
    header[47]=e;
    header[48]=e;
    header[49]=e;
    header[50]=e;
    header[51]=e;
    header[52]=e;
    header[53]=e;

    bmp << header;
    bmp.close();


    bmp.open("random.bmp", ios::app);
    char random[30000];
    int jay=55;
    char jj=jay;

    for (int ii=0;ii<30000;ii++)
    {
        random[ii]=jj;
    }
    bmp << random;

    bmp.close();







    system("pause");
    return 0;
}



Haven't gotten the random part finished yet.  That big long list of header[0-53] is the decimal value of the order of the header when the bmp was opened up in a hex editor.

23
N.A.N.Y. 2010 / Re: NANY 2010 Pre-Release: Twigatelle
« on: January 16, 2010, 09:14 PM »
Cool, it's great to be able to have input on a game one enjoys. Off to try to get to level 5... :D

- Oshyan

I can't get past level 4!  Soo hardddd...  I think the ones containing the blocks should be first, as they are larger targets, and very easy to beat.  Here's my highest score.

24
Developer's Corner / Re: generic form designer
« on: January 16, 2010, 09:01 PM »
What language is this for? :D  Didn't really look around the site.  I'm pretty sure you didn't mean any languages like Visual Basic, did you?  Otherwise somebody else would have posted it?  If a VB.net kind of thing is what you're looking for, why not try C#?

Edit:  No wait wait, I see now that it is for C++, XRC, and python.  SharpDevelop and Visual Studio are IDE's for C#, and they come with form designer type of things, which are very easy to use...Not sure how it compares to wsFormBuilder, but it's nearly as easy as Visual Basic.

25
Developer's Corner / Random bmp generator
« on: January 16, 2010, 08:53 PM »
I'm creating a random bmp generator just for the sake of learning in C++.  As I've come to understand, bmp files have a header at the top that says that it's a bmp, and how large it is, correct?  And now when I want my C++ code to write the header for a 100x100 file to a new file created by C++, and then the following 30,000 characters to be random.

Problems:
1.  I can't write null characters to a file?
2.  My code for some reason writes the header at the beginning and the end.

Everything else:
I've probably got figured out! :)

The source can be released for any other beginners, but there's really no point for anybody else.

*Edit* that is, once it is finished, if it is finished.

Pages: [1] 2next