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.


Topics - Nate

Pages: [1] 2
1
General Programming / Semaphores using pthreads
« on: March 04, 2009, 11:48:14 pm »
Ok so I need to pick some brains.

Basically, I have a programming assignment to implement semaphores using pthread condition variables and a spin lock.  Now the problem I have run into is that in order to block/signal threads my professor is looking for us to use pthread_cond_wait/timedwait and pthread_cond_broadcast/signal.  But pthread_cond_wait requires the locking mutex as its second argument, and well we aren't allowed to use pthread_mutexs because we are using a spin lock.  How would you fine gentle man suggest i work around it?   

2
General Programming / Verilog(VHDL)
« on: April 20, 2008, 04:23:24 pm »
It is the ugliest, most horrible thing I have ever touched.  Does anyone have any experience in it, or suggestions that may prove useful?  Half the syntax seems to be optional in most cases and the only help we get in from a grad student who speaks little english.

3
Math and Other Problems / Umbrellas
« on: April 13, 2008, 01:58:34 pm »
You have 2 umbrellas.
If you are at home and it is raining and you have an umbrella you take it with you.
If you are at work and it is raining and you have an umbrella you take it with you.
If it is not raining you do not take an umbrella with you.
If you do not have an umbrella at you current location you do not take one with you.

It rains with probability P.  What is the probability you get wet?

4
Math and Other Problems / Retardedly Poor Physics Problem
« on: March 02, 2008, 01:35:07 am »
It took me an hour just to read it right, I am not even sure how to solve this, its for NON calculus based Physics 2.  Its for my friend and I am too lazy to look at my Physics book...I think Digital Logic replaced physics in my brain.

http://img89.imageshack.us/img89/4348/jiggawiggawi8.png

5
General Discussion / Don't put Vista on a Mac.
« on: September 12, 2006, 01:01:48 pm »
I saw an article about how Mac's run hot using Vista which is whimpy because i saw a Mac running Vista fry a 300 GB external HDD.  Oh but wait, who would have thought it was the USB hub on that brand new MacBook Pro running Vista...gg second external.

6
General Discussion / Hardware v Software
« on: August 26, 2006, 11:50:50 pm »
Do you guys think that in the next decade we will have computers that are so powerful that software won't be able to consume all the resources(excluding calculating pi and other math intensive computations), honestly what is going to require a 64Ghz processor 50 Gigs of RAM 10Tb HD and 10Gid video card?  Numbers assume Moore's Law and everything keeps up with processor speed more or less.

7
General Discussion / Backgrounds?
« on: August 26, 2006, 12:59:50 am »
Reading through some of these topics I come to wonder what religious background some of you have.  Care to enlighten me?

8
General Programming / File Type Specifications
« on: August 21, 2006, 06:12:51 pm »
Does any one have the information on .doc or .xl, or a website that has file type info?  Ive looked around on google but i cannot find anything.

9
Trash Can / Torrent sites
« on: August 11, 2006, 09:43:32 pm »
Does anyone know of a good UK torrent site?

10
General Discussion / Retards, they walk among us.
« on: August 01, 2006, 09:12:21 pm »
Does anyone else see the most idiotic thing about this story?
http://www.cnn.com/2006/LAW/08/01/bar.id.ap/index.html

11
Code: [Select]
[BITS 16]
[ORG 0x7c00]

main:
xor ax, ax ;Sets ax = 0
mov cs, ax ;All I know is that ds needs
mov ds, ax ;to be offset to 0x00 but Joe did 
mov es, ax ;them all so i followed his lead,
mov fs, ax ;bad idea i know.

mov si, Helloworld ;Moves the location of Helloworld to SI

Call putSTR

jmp $ ;big ass loop, how do i get to the next stage?

PutSTR:
mov ah, 0x0E ;Set TTY mode, no idea what 0x10 is in Joe's
mov bh, 0x00 ;sets page = 0
mov bl, 0x09 ;blue screen, white text iirc
.next ;label to get to next character
lodsb ;Pretty much mov al, si
int 0x10 ;Runs BIOS video interrupt
or al, al ;Determines if al = 0
jz .end ;GoTo label .end if al = 0
jmp .next ;GoTo .next
.end ;Label to bypass loop if end of STR
ret ;Return to main
;Data

Helloworld db 'Hello World', 13, 10, 0

times 510-($-$$) db 0
dw 0xAA55

May be some suggestions or you could completely rip it apart if im not even close that would also be helpful.

12
General Security Information / eBooks
« on: July 03, 2006, 10:06:34 pm »
Does anyone have any eBooks to share on the topic of security.  I was really sad when IRC wouldn't connect to tehnetwork.

13
Unix / Linux Discussion / NSA Distro
« on: July 01, 2006, 11:05:48 am »
Anyone ever tried it? http://www.nsa.gov/selinux/

14
I'd like to join! / I just got to do this
« on: April 28, 2006, 08:59:56 pm »
I announce my lust for membership, I think i need two leader approvals but I got to get my campaign message out there, "NEWBY CHEATS AT THE IDLE RPG!?!?!".  Feel the passion, Feel the love, Newby is probably one of the people who needs to give me approval.  But you know I'm pretty much down for some of the kinky shit I know you guys are into, like being Canadian.  Oh and yes, what is this?...I might quite possibly be the best Joe hater round these parts, I mean who isn't up for some hard core hatred, ya know, See a crip Kill a crip, Bloods 4 life, White Power, BLack Power, Peace Love and the American Way, which includes Homemade Apple Pie and Warm chocolate chip cookies.  Vote for me, anything is possible where ever a fat man dreams.  One more thing my pwngramming skillz make everyone elses look so much better, Im like the ugly girl in a room full of super models.

15
Unix / Linux Discussion / Desktop Environment
« on: April 19, 2006, 06:22:36 pm »
What is really small and low usage?  I have GNOME and have also used KDE.

Pages: [1] 2