Search found 354 matches

by akashra
Thu Mar 05, 2009 10:31 pm UTC
Forum: The Help Desk
Topic: Okay what the hell Telstra?!!
Replies: 30
Views: 2601

Re: Okay what the hell Testra?!!

Remember that Telstra meter backchannel bandwidth as well - anything uploaded by you is also counted towards your quota. If you're seeding anything, or playing any games which fire a tx of data out, it can quickly eat through a few gigs. Americans have had it too good for too long, thinking it's the...
by akashra
Thu Mar 05, 2009 12:49 am UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 150938

Re: Project Euler

I've been playing around with CUDA lately, so I'll be taking a crack at a few of the Euler problems making use of a GPU. Some problems it's appropriate, others it's not worthwhile or suitable (it's *great* for bruteforcing problems like 7 and 11, but the dataset is a bit small for it to really be wo...
by akashra
Tue Mar 03, 2009 11:09 am UTC
Forum: Coding
Topic: best multi threaded language?
Replies: 16
Views: 1574

Re: best multi threaded language?

false if it times out; true if it's signalled.
by akashra
Mon Mar 02, 2009 9:22 pm UTC
Forum: Coding
Topic: best multi threaded language?
Replies: 16
Views: 1574

Re: best multi threaded language?

Let's start with the fact that object creation isn't atomic so thread synchronization in this regard is problematic at best. Worst of all though there's no return value on wait - therefore you don't know whether the return was due to a notify, or due to timeout. (Before anyone even thinks of suggest...
by akashra
Mon Mar 02, 2009 4:33 am UTC
Forum: Computer Science
Topic: Solaris?
Replies: 14
Views: 1306

Re: Solaris?

Well... I like to think it illustrates my point :)
by akashra
Mon Mar 02, 2009 4:01 am UTC
Forum: Coding
Topic: best multi threaded language?
Replies: 16
Views: 1574

Re: best multi threaded language?

I've been reasonably happy with the OpenMP functionality provided by modern C++ implementations, though I was most comfortable working with C#s threads. Java's threading is horrible.
by akashra
Mon Mar 02, 2009 3:58 am UTC
Forum: Computer Science
Topic: Solaris?
Replies: 14
Views: 1306

Re: Solaris?

I had more fun driving nails through my eyes and ramming bamboo reeds up my fingernails than the time I spent working with Solaris.
But that was just me.

I'm quite happy to stick with OSX for the time being.
by akashra
Thu Feb 26, 2009 4:20 am UTC
Forum: Serious Business
Topic: Tipping people
Replies: 150
Views: 15747

Re: Tipping people

Tipping goes to show the poor implementation of 'minimum wage' the US government has (as that's where it's predominant and more accepted the norm than elsewhere). If companies/waiters expect to be paid more for food, then the list prices should reflect that. Don't expect me to add some stupid amount...
by akashra
Thu Feb 26, 2009 3:21 am UTC
Forum: Computer Science
Topic: Better than both a linked list and a deque!
Replies: 64
Views: 5001

Re: Better than both a linked list and a deque!

Isn't what you've described just an AVLTree? Edit: Okay, it's not, I missed a kinda important detail :P However, probably the reason it's not done is because you're adding n bytes for every node. That might be more data than you want to store, when you're already storing sizeof(void *)*4 for each no...
by akashra
Thu Feb 26, 2009 3:17 am UTC
Forum: Computer Science
Topic: I need a problem
Replies: 2
Views: 577

I need a problem

So recently I acquired a new toy - an i7 system with a 9600GT. Lately I've been reading up on CUDA, and am keen to have a play around and see what I can achieve with it. Of course, this goes against the normal paradigm of "We have a problem, what tools can we use to solve it?" - in this ca...
by akashra
Thu Feb 19, 2009 5:30 am UTC
Forum: Hardware
Topic: i7
Replies: 52
Views: 6955

Re: i7

Axman wrote:
akashra wrote:Personally I went the route of "fast now" rather than intending to upgrade later.
What'd you spend more on, your video card or your processor?

AUD158 on the video card (9600GT), AUD469 on the processor (i7-920). It's a dev box, not a gaming box.
by akashra
Thu Feb 19, 2009 2:39 am UTC
Forum: Fit Club
Topic: cycling
Replies: 199
Views: 137239

Re: cycling

DH Hardtails don't exist, the closest you'd get is an All Mountain or A Dirt Jump bike, Sorry. I think maybe you should tell that to the people who are running in the 'Hardtail' category of the Australian National Championships (Downhill). Speaking of which, I'll be competing in the final round (XC...
by akashra
Thu Feb 19, 2009 2:33 am UTC
Forum: Computer Science
Topic: OR and XOR
Replies: 38
Views: 5864

Re: OR and XOR

This is what I would say if someone had just answered the standard version with "yes." Yeah. See, I'm the kind of smart-ass that when asked "Would you like cake or ice-cream" would answer "yes". It's like asking "do you know the time?". You need to be specifi...
by akashra
Thu Feb 19, 2009 2:31 am UTC
Forum: Hardware
Topic: i7
Replies: 52
Views: 6955

Re: i7

Personally I went the route of "fast now" rather than intending to upgrade later. It was between a Q9450 w/4GB or an i920 w/6GB - I went the latter. Yeah, it cost a bit more, but I think I'm happy with the decision - it's nice and fast, in theory I'll be able to upgrade the processor later...
by akashra
Wed Feb 18, 2009 11:38 pm UTC
Forum: Computer Science
Topic: OR and XOR
Replies: 38
Views: 5864

Re: OR and XOR

monroetransfer wrote:OR: would you like cake or ice-cream?
XOR: would you like cake, or ice-cream?

I agree with this.

Of course the alternative is that we all start going around asking things like "would you like cake xor ice-cream?"
by akashra
Wed Feb 18, 2009 3:33 am UTC
Forum: Coding
Topic: getting into Java
Replies: 12
Views: 1105

Re: getting into Java

If you understand Interfaces, Classes and Inheritance, AWT can be explained in less than a page. Everything else from that which you would need can then be found in the API javadoc. But I feel like I'd be wasting my time trying if you don't, so... do you? :)
by akashra
Wed Feb 18, 2009 3:26 am UTC
Forum: Coding
Topic: Internationalization of Programming Languages
Replies: 31
Views: 2131

Re: Internationalization of Programming Languages

Spolsky has an Olllllld article titled "The bare minimum every programmer should know about unicode (no exceptions)" - google it. It outlines issues with many of the languages you've just used as examples.
by akashra
Wed Feb 18, 2009 3:23 am UTC
Forum: Coding
Topic: CRC32 calculation in x86 asm
Replies: 6
Views: 1733

Re: CRC32 calculation in x86 asm

If you'll let me use SSE4.2, I'll do this for you in 16 bytes :D
by akashra
Thu Feb 12, 2009 1:01 am UTC
Forum: Computer Science
Topic: Computer Scientists
Replies: 51
Views: 6379

Re: Computer Scientists

Those who code in notepad seriously need beating over the back of the head with a 2x4. It's not cool, it doesn't make you look cool, and seriously, you're just kidding yourself. I could compare writing code with notepad to me walking to work (over taking the train). Yeah, I CAN do it if it's an abso...
by akashra
Thu Oct 02, 2008 4:35 am UTC
Forum: Coding
Topic: Plugins
Replies: 11
Views: 1531

Re: Plugins

The .NET way of handling assemblies is pretty nice for that - with teh code below you should just be able to have a delegate on a class you pass in at the time you load, and when your DLL needs to fire events call via that delegate. That should be enough to also give you a reference to the calling o...
by akashra
Thu Oct 02, 2008 4:28 am UTC
Forum: Coding
Topic: The ultimate in exception handling...
Replies: 7
Views: 1393

Re: The ultimate in exception handling...

An extension to this (which btw, should give you a good idea that I plan to completely ignore your advise of "do not do this") would be: - Convert the stack track to a string. - convert the string to a byte array - stream the byte array to an input stream wrapped by the audio reader. Net r...
by akashra
Sun Sep 14, 2008 9:15 am UTC
Forum: General
Topic: Money-saving ideas
Replies: 66
Views: 5164

Re: Money-saving ideas

Bike instead of driving when it's a possibility. It keeps you in shape and is very cheap, especially with gas prices these days. As a cyclist, I want to dispute this one. Cycling will generally cost you *more*. You end up eating more to make up for the energy you burn, and if you're taking care of ...
by akashra
Sun Aug 24, 2008 11:45 pm UTC
Forum: Fit Club
Topic: Cycling Training
Replies: 10
Views: 1379

Re: Cycling Training

Start small. I stated in Nov 06 doing 8km each night after work, which was about 25 minutes - work up to bigger numbers as you're more comfortable. These days I can bring that down to about 15 minutes, but regularly do 200+km rides. My advice would be while you're starting out stretch properly and y...
by akashra
Mon Aug 18, 2008 11:39 pm UTC
Forum: Coding
Topic: When are different reaction orders acceptable? e.g. O (2^n)
Replies: 12
Views: 2174

Re: When are different reaction orders acceptable? e.g. O (2^n)

EvanED wrote:On many cycles more than one instruction will be issued, and on many cycles no instructions will be issued.

Think about what you've just said here for a moment.

Then consider operations like CJNE...
by akashra
Mon Aug 18, 2008 11:36 pm UTC
Forum: Coding
Topic: Java inheritance
Replies: 9
Views: 1784

Re: Java inheritance

I'm considering writing an inheritance tutorial using JUnit as the base (after all, what is a JUnit test), as I believe there's two much beating around the bush with unhelpful examples a lot of the time. Two birds with one stone.
by akashra
Fri Aug 15, 2008 1:27 am UTC
Forum: Coding
Topic: Funniest/Most Annoying Code Comments
Replies: 662
Views: 135117

Re: Funniest/Most Annoying Code Comments

A colleage of mine just came across this code comment: * This code is full of potential buffer overruns, null pointer derefs, * and cases where data is taken from the network and either printed or * stuffed into a buffer with next to no sanity checking. If this were * a daemon and not an exploit, th...
by akashra
Wed Aug 13, 2008 5:31 am UTC
Forum: Coding
Topic: Pointers: what's the point?
Replies: 24
Views: 2565

Re: Pointers: what's the point?

I started learning C++ the other day, and have just reached a chapter on pointers. I see how they work - it's a variable that points to the memory address of another variable. But why not just use that original variable in the first place? I don't understand why pointers are needed. Or am I just be...
by akashra
Wed Aug 13, 2008 5:28 am UTC
Forum: Coding
Topic: Coding Professionally
Replies: 37
Views: 4360

Re: Coding Professionally

The difference between a programmer and a developer is that a programmer literally converts use-cases and specifications into code; a developer has to actually know what he's doing and be able to think. If you're not familiar with all the development like tasks - writing use-cases, specifications, t...
by akashra
Wed Aug 13, 2008 5:07 am UTC
Forum: Coding
Topic: Funniest/Most Annoying Code Comments
Replies: 662
Views: 135117

Re: Funniest/Most Annoying Code Comments

I've just implemented Checkstyle on our entire Java codebase, and one of the blocks of code it complained about was this:

Code: Select all

} catch (LeadNotificationException le) {
       //Eat
}


Well... actually checkstyle wasn't the only one who complained about it :)
by akashra
Sat Jul 26, 2008 4:34 am UTC
Forum: Coding
Topic: Help Wanted
Replies: 36
Views: 75809

Re: Help Wanted

We're looking for a Graduate QA Engineer, and a Junior Application Support Engineer, based in Hawthown (Melbourne), Australia. If you're interested PM me, and I'll get you a job description.
by akashra
Sat Jul 12, 2008 11:18 am UTC
Forum: Coding
Topic: What should i wrote Java in?
Replies: 27
Views: 4103

Re: What should i wrote Java in?

I'd absolutely give Eclipse a go. I've used it for the last ... I want to say 7 years but that just sounds too long. But a long time anyway. I've tried NetBeans, JBuilder, and a few other IDEs, but none really stack up. The only IDE I've found better than Eclipse, ever, was Visual Studio, but that d...
by akashra
Sat Jul 12, 2008 11:13 am UTC
Forum: Music
Topic: Song Identification!
Replies: 458
Views: 178872

Re: What song is this?

I've been trying for years to identify this song, but have had no luck. Perhaps someone else here will be able to identify it. Australians: It has also been used by Channel 10 and RPM for Formula 1 qualifying highlights footage. The below clip is from a competition SBS are running for the Tour de Fr...
by akashra
Thu Jul 03, 2008 11:01 pm UTC
Forum: General
Topic: xkcd sightings in your hometown (and other places)
Replies: 384
Views: 111427

Re: xkcd sightings in your hometown

Spotted at Glenferrie Station (Melbourne, AUS) around 8:30am thismorning: a person with a laptop waiting for a train wearing the "Stand back, I know regular expressions" tee.

I almost walked up to him and said "nice shirt", but had smoothies to collect :P
by akashra
Wed Jun 18, 2008 6:27 am UTC
Forum: General
Topic: I want to see
Replies: 40
Views: 3434

Re: I want to see

Here. http://www.googlefight.com/index.php?la ... 3.14159265

Happy now?

Edit: You have to go to 3.141 before pi wins.
by akashra
Wed Jun 11, 2008 5:39 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0435: "Purity"
Replies: 649
Views: 184054

Re: "Purity" Discussion

Bahahaha, I used to be exposed to the fights/arguments between the chemistry and physics teachers at high school, and know a few Maths/Physics PhDs, so immediately found this hilarious :)
by akashra
Tue Jun 10, 2008 10:43 am UTC
Forum: General
Topic: How bad would a mugging be...
Replies: 201
Views: 12948

Re: How bad would a mugging be...

And when you decide to take on that guy who, unbeknown to you, does happen to have much better aim than the average?

It's a bloody dumb idea.
by akashra
Tue Jun 10, 2008 7:16 am UTC
Forum: General
Topic: How bad would a mugging be...
Replies: 201
Views: 12948

Re: How bad would a mugging be...

If they have a gun, rush them. They'll panic most of the time and miss. And the noise will alert others. If they have a knife, you're fucked. If they have a knife, I grab the wrist, break it, and continue from there. Wow. The two of you are utter idiots, and just asking to get seriously injured or ...
by akashra
Tue Jun 10, 2008 4:59 am UTC
Forum: Computer Science
Topic: XOR crypting
Replies: 22
Views: 12248

Re: XOR crypting

I would suggest you use a salt to create a much larger version of the key and some kind of mathematical equation on the key, to give you a very large key - perhaps in the order of 2048bits. The only important factor here is that it isn't easily reversible. Then use that key for XOR. I'm not saying t...
by akashra
Tue Jun 10, 2008 12:55 am UTC
Forum: Coding
Topic: JAVA Casting, Anyone?
Replies: 17
Views: 2244

Re: JAVA Casting, Anyone?

Ignoring the debate on whether or not it's "good design", use of any Factory pattern often ends up requiring specific casting. I'd disagree heavily with this. If you need to take different action depending on whether you got a Foo object out of your factory, push that functionality into a...

Go to advanced search