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 - shmibs

Pages: 1 ... 13 14 [15] 16 17 ... 126
211
Site Feedback and Questions / Re: Updating the Site Banner
« on: July 10, 2013, 03:45:27 am »
ok, i think it's basically done and am heading to bed

212
Site Feedback and Questions / Re: Updating the Site Banner
« on: July 09, 2013, 12:35:10 pm »
hokay, it's almost done. i'll come back and finish it up tonight

213
Site Feedback and Questions / Re: Updating the Site Banner
« on: July 09, 2013, 01:07:32 am »
i had a bit of free time just now and decided to work on this again (or, rather, remembered that i was supposed to be doing it :P)
check out the first post and tell me what nspire/casio games i should add! ...and what i should do to take up that last bit of black space on the left! ...and anything else you can think of!

214
Computer Usage and Setup Help / Re: Looking for a desktop computer...
« on: July 05, 2013, 02:50:23 am »
Well Intel HD are not even cards, they're just chips so they won't help you with gaming. Like Streetwalker said, the best you can do is gather parts and build it yourself.

that is not at all true. ivy bridge's hd4000 can handle his mentioned games, and haswell has improved on that performance again, with the high-end iris chips nearly doubling performance. yes, there are plenty of dedicated cards that are much better, but it is no longer true that intel's integrated graphics are "worthless" (and they're a particularly nice choice for linux/bsd/etc users)

as for putting together your own computer, that is definitely the best way to lower prices, but it takes a lot of patience and experience to find the right parts at good prices and make sure everything fits together properly in the end. that's not to say that you shouldn't try =)

215
Gaming Discussion / Re: The LEGO of Zelda
« on: July 03, 2013, 12:50:05 am »
i'm not sure if i should be confused or terrified :P

216
Computer Programming / Re: I'm learning C++!
« on: June 28, 2013, 09:16:45 pm »
Indeed, C++ has fewer, and different, abstractions than TI-BASIC has. They tackle different use cases and learning curves.

they're definitely different, but i'd say that it abstracts to a far greater degree than any form of BASIC. what comparison is there to be made to a language with function and class templates?

also, if we're handing out tutorial links, i'd point to this XD.

217
Miscellaneous / Re: Post your desktop
« on: June 27, 2013, 12:20:37 am »
from whence cometh the scenery?

218
Other Calculators / Re: How are we even supposed to beat that? O.O
« on: June 23, 2013, 02:55:03 am »
that looks amazing. i want to try making something like it now =D

219
Axe / Re: Simplest menu needed
« on: June 17, 2013, 09:39:38 pm »
the actual code depends on what you want your menu to do. should it take up the whole screen? should it only show up on a smaller section? should it scroll smoothly? should the selector move or stay in place?

you'll be a lot better off if you write the code yourself, as you can choose exactly how you want it to look and you'll end up learning things in the process that you'll absolutely need when writing anything more complex. the basic idea, though, is to have a list of names. if you want the selector to be able to move on its own, you will then need two values, one for indicating the offset to the first item that's on the screen and one indicating the current position of the selector. then adding those two values together will give you the offset in the list to the currently hilit menu option. if you want the selector to be stationary and have the menu options scroll behind it, then you only need one indicator, the offset of the item currently hilit.

i know that may sound a bit complex, but if you can't figure that much out on your own you'll have a very hard time writing anything substantial, so give it your best shot =)

220
Miscellaneous / Re: Post your desktop
« on: June 16, 2013, 09:07:21 pm »
Who needs that much ram and that much space O.O

people who watch and listen to lots of things and also like to keep backups of stuff. i have about 6TB of storage, and it's ~75% full. when dealing with huge chunks of storage, your RAM gets filled up to be used as cache very quickly, so the more you have the faster things work.

221
Miscellaneous / Re: What is your avatar?
« on: June 12, 2013, 08:34:35 pm »







< me on most days

222
Computer Programming / Re: please help
« on: June 12, 2013, 11:37:17 am »
if you already have one thread dedicated to you asking for python help (here), please don't open a duplicate. that being said, i'm glad people were able to help you out =)

223
tileIt! / Re: dev thread
« on: June 11, 2013, 10:06:12 pm »
this didn't support dynamic tiles because i couldn't think of a way to do it that would be sane and wouldn't require rewriting the whole thing yet again. it's already been a while, though, so maybe i should make a new version at some point that does (and isn't quite so slow to boot)

224
Computer Programming / Re: I'm learning C++!
« on: June 10, 2013, 04:53:39 pm »
this isn't at all the sort of thing that c++ is designed to do. c++ is a language made to work with complex, constantly changing projects in a way that remains both fast and reliable. furthermore, c++ is not at all a good language for a beginner, as it is jammed full of advanced features that are fantastic for professionals but make it very difficult to understand for anyone else. you have to approach the language holistically, learning basically everything at once, or you'll never get what things are doing.

if you really want to learn c++, my suggestion would be to first master c, so that you at least know how basic program flow, like loops, conditionals, breaks, and cases; basic pointers; scope; headers; functions; and data structures, like arrays, structs, enums, etc, work. if you don't understand all of those perfectly you'll never get anywhere with c++ and will end up abusing it in ways it's not meant to be used. (EDIT: if you happen to have a calculator, then axe is an even better place to start, from which you can move on to c and then to c++, because the simplified instruction set and easier to understand approach to pointers [possible because of the calculator's simpler memory layout] are more beginner-friendly) if you want to write a program like this one, though, that's mostly text manipulation, go use a high-level scripting language. i'd recommend perl, because i hate python, but most people disagree with that :P

EDIT: also, as a word of warning:
Code: [Select]
if (torch == 0)
{
            cout << "The tunnel is too dark to explore.\n";
            goto ex;
}
is the usual way of writing a statement like this, and
Code: [Select]
if (torch == 0) {
            cout << "The tunnel is too dark to explore.\n";
            goto ex;
}
is also acceptable (and the way i prefer it). even
Code: [Select]
if (torch == 0) { cout << "The tunnel is too dark to explore.\n"; goto ex; }is sometimes used for really small statements. if you ever send a program with
Code: [Select]
if (torch == 0)
{cout << "The tunnel is too dark to explore.\n";
goto ex;}
in it to another programmer, however, he will almost certainly label you as an idiot.

225
Humour and Jokes / Re: Making up code for you habits
« on: June 06, 2013, 02:05:07 am »
Code: [Select]
/*
 * life.c
 *
 * Copyright 2013 shmibs <[email protected]>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301, USA.
 *
 *
 */


#include <stdio.h>

typedef struct show {
video episodes[26];
video extras[4];
} show;

typedef enum p_type {
AXE,
C,
PERL,
BASH,
ASM,
DESKTOP_CONFIGS,
FIXING_ARCH_AFTER_HAVING_BROKEN_IT_YET_AGAIN
} p_type;

typedef struct project {
p_type type;
int difficulty;
} p_type;

typedef struct chan {
member member_list[40]; /* i never talk in channels with more than 40 people. they're too hectic */
topic current_topic;
} chan;

typedef struct amusement_node {
show current_anime;
video current_film;
book current_book;
album current_album;
chan current_channel;
project current_project;
amusement_node* next;
} amusement_node;

int main(int argc, char **argv) {
int depressed, busy=FALSE, day=0, age=0;
amusement_node* head=NULL, temp;

while(TRUE) {
while(schoolwork_check()) {
do_schoolwork();
depressed=TRUE;
busy=TRUE;
}

if(head != NULL) {
process_amusement(head);
if(!(rand()%3)) {
depressed=FALSE;
} else {
depressed=TRUE;
}
temp=head->next;
free(head);
head=temp;
busy=TRUE;
}

if(!busy)
depressed=TRUE;

day++;

if(!(day%365)) {
age++;
}

if(!(rand%( (100-age)*2000)))
break;
}

return 0;
}

Pages: 1 ... 13 14 [15] 16 17 ... 126