Previous Page | Next Page

by Captain Ron at 6:31 PM EDT on August 21, 2011
You can't readily return 2 values in C or C++, but...

http://www.dreamincode.net/forums/topic/26506-return-multiple-values-in-a-function/

That should help you.
by SmartOne at 7:59 PM EDT on August 21, 2011
Thanks!
by nensondubois at 9:27 PM EDT on August 22, 2011
Been working on a music hacking document for the SGB versions of the Pro Mahjong Kiwame songs. A little more is written on my notepad then there is present on the thread:
http://luigiblood.0fees.net/board/thread.php?id=29

I have eventual plans to create custom songs with MML, but not until I at least map out the first song, which is coming along nicely.

Here is a small example: http://www.youtube.com/watch?v=l-fe9UA2ei4
by hcs at 12:04 AM EDT on August 27, 2011
Ran across this anecdote in an essay in The Art of Human Computer Interface Design:

A few years ago I was at the annual Siggraph film show, the largest of these events, standing next to a young security guard in a mobbed colosseum. After a couple minutes a shot of a (fractal) mountain scene appeared on the screen and the audience applauded. I noticed the security guard getting tense. Shortly after that, (ray traced) shiney steel balls were shown hovering over a chessboard. More applause. Then a (atmospheric) foggy outdoor forest scene appeared and the audience exploded. At this point the security guard snapped. He grabbed my arm ("something weird is going on here man") and demanded an explanation.
by hcs at 11:47 PM EDT on September 2, 2011
Let's see if I can describe this with text.

I was walking home from Trader Joe's, down through the strip mall in front of the buildings. The building is L-shaped, and my apartments are on the other side, so I have to walk to the inner corner, turn right, and go all the way to the end and loop back around. Which has always struck me as kind of a pain, even though it's just 200 feet or something.

Well, I was almost to the corner, when I saw a guy on a bike coming along the other way. I assumed he would be making the turn and coming towards me, so I prepared to avoid him. Instead, he went straight into the wall.

It turns out that there is a gap between the two buildings that I had never noticed despite making a right turn there a dozen times. It's easy to notice if you're coming the other way and making a left turn, but for whatever reason I always came around from the other direction. It was a magic moment to see this guy completely defy physics as I understood it. And I get to cut some distance off my route.
by snakemeat at 12:05 AM EDT on September 3, 2011
awesome, just awesome. I can only imagine the mind f**k that provided.
by Mouser X at 3:41 AM EDT on September 3, 2011
I had a similar experience a few years ago. I was at work (I had been working here for a few months by this time), and the supplies are way clear in the back. About half way towards the back, on my way to get supplies to refill the shelves, my supervisor walked out of a solid wall. I stopped, and went back to look again. It turns out there was a door there I had never seen before. It wasn't hidden, it had a doorknob, and everything. I just somehow had never seen it before. It seriously blew my mind (for one thing, seeing someone walk out of a solid wall will do that to you, and secondly, I was amazed that I'd been working there for months, without ever noticing a door before). It turns out they were doing a lot of remodeling at the time, and previously, the room had stored all kinds of computer equipment (which had absolutely nothing to do with my job, so I had never had a need to go to the room before). They were moving the computer stuff to a new room, and this room which previously didn't exist (in my reality) was being converted to a stock room.

One of the weirdest moments of my life.... Though, I did once have a dream where MacGyver was shooting a handgun (he wasn't very good at it). That was pretty weird too (since MacGyver never uses guns, except as a wrench). More likely though, is that my NCIS and Transformers crossover dream was weirder.... The characters from NCIS (it's a TV show. Look it up. It's pretty good) were fighting off a zombie apocalypse, which had been brought to earth by the Transformers. Optimus Prime felt really badly about that, so he was helping the NCIS people out (they had really big, awesome, energy weapons). Seriously, if my dreams were heavily analyzed by some quack doctor, I'd probably be committed. Mouser X over and out.
MacGyver dream by Yoshinkeru at 3:20 PM EDT on September 3, 2011
@ Mouser X: Sure your MacGyver dream wasn't just this comic?

edited 8:09 PM EDT September 3, 2011
by Mouser X at 1:28 AM EDT on September 4, 2011
1000% certain. For one thing, you got the link wrong (put your mouse over the link), and for another , it was Richard Dean Anderson (mullet and leather jacket and all), not a stick figure. Also worth noting - I knew what the link was, without even looking at the link. There was no dialogue involved in my dream. Just MacGyver shooting a gun (and not doing well at it). I'm sure there was more, but that's all I remember. There is an episode where MacGyver tries to use a gun (he has amnesia), but he can't get himself to pull the trigger. It's possible my dream took that episode, and embellished/twisted it. Honestly, that's much more likely, than the XKCD comic being the possible origin.

That said, it is a funny comic. It made me laugh. Mouser X over and out.
by SmartOne at 12:49 AM EDT on September 30, 2011
Multiple Jobs – buffering and spooling

Tape to Disk transfer – code for job one 0

Tape to Disk transfer – code for job one 50



Disk to memory transfer – code for job one 100

Disk to memory transfer – code for job one 105

Disk to memory transfer – code for job one 110

Disk to memory transfer – code for job one 115

Code for job one in memory 120



Start executing job one 120



Tape to Disk transfer – data for job one 120

Data for job one on Disk 170



Disk to memory transfer – data for job one 170

Input buffer full for job one 175



Tape to Disk transfer – code for job two 175

Tape to Disk transfer – code for job two 225



Tape to disk transfer – data for job two 275



Job one done 320



Data for job two on Disk 325



Disk to memory transfer – code for job two 325

Disk to memory transfer – code for job two 330

Disk to memory transfer – code for job two 335

Disk to memory transfer – code for job two 340

Code for job two in memory 340



Start executing job two 345



Disk to memory transfer – data for job two 345

Input buffer full for job two 350



Tape to Disk transfer – code for job thr 350

Tape to Disk transfer – code for job thr 400



Tape to Disk transfer – data for job thr 450

Data for job thr on Disk 500



Disk to memory transfer – code for job thr 500

Disk to memory transfer – code for job thr 505

Disk to memory transfer – code for job thr 510

Disk to memory transfer – code for job thr 515

Code for job thr in memory 520



Disk to memory transfer – data for job thr 520

Input buffer full for job thr 525



Job two done 545



Start executing job thr 545





Job thr done 745



All jobs done 745



Time to complete all jobs 745

Time spent executing user jobs 600

Time spent by the system 145

Previous Page | Next Page
Go to Page 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source