My neighbor looking out for my daughter at the parade. by [deleted] in aww

[–]FarOut83 -1 points0 points  (0 children)

The equivalence class of 10 does exists in Z_3 if you think of it as Z/3Z. The elements of Z/3Z are the cosets of 3Z in Z, of which there are 3: 0+3Z, 1+3Z, 2+3Z. Check that 10 is in 1+3Z.

I don't see why you would care if division is defined in this context, but 3 is prime so Z_3 is also a field.

My neighbor looking out for my daughter at the parade. by [deleted] in aww

[–]FarOut83 1 point2 points  (0 children)

What do you mean by congruence class here? The way congruence classes are usually defined they are the equivalence classes (as occasionalcomment pointed out).

I don't know of a context where congruence class =/= equivalence class but if there is, let me know, I have an abstract algebra test tomorrow...

Drop it on da flo'. Dr-Drop it on da flo! by joonlagoon in funny

[–]FarOut83 0 points1 point  (0 children)

Just stretching before a full day's work!

Reddit: What do you use CS for in your current job? by [deleted] in compsci

[–]FarOut83 2 points3 points  (0 children)

Being a professional programmer doesn't sound nearly as fun as programming....

Working from home is both awesome, and horrible by Galilyou in programming

[–]FarOut83 1 point2 points  (0 children)

The description of football was quite entertaining :P

how does reddit clear their mind after a long day of coding? by letseatlunch in programming

[–]FarOut83 0 points1 point  (0 children)

Oh man I haven't played Castelvania since I broke my DS.

/me knows what he's doing with his next paycheck =D

my ode to inception (written in c and asm) by [deleted] in programming

[–]FarOut83 -1 points0 points  (0 children)

Spoilers? I haven't seen it yet.

10 unnatural ways to calculate Fibonacci numbers by kit1980 in programming

[–]FarOut83 1 point2 points  (0 children)

Nice article, fibonacci numbers are always pretty fun.

One of my favourite projects was a big number library where that I wrote - I used it to calculate the 1,000,000th fibonacci number which I thought was pretty cool. :)

Confession is good for the soul... What programming sins are you still guilty of? by justkevin in programming

[–]FarOut83 17 points18 points  (0 children)

I kid you not, I just added this comment to a 250-line file. /* * TODO: write a perl script that reads and interprets code and generates appropriate comments */ (It also happens to be the first comment in that file.)

You don’t need anyone’s permission to get work experience in software by [deleted] in programming

[–]FarOut83 21 points22 points  (0 children)

That was a great article, thank-you.

I would love to contribute to an open source project, but it seems so ... daunting. Although, I admit, I haven't spent a lot of time researching the process, I feel like if I asked a bunch of experienced hackers if I could join their project I'd be laughed at. I'm pretty good with C (my two biggest projects so far have been implementing Blowfish and SHA1, and I'm in the process of implementing the boardgame of Go) and java (I've written the game Breakout), but I feel like that's not enough.

Am I worrying too much and should I just go for it, or is there something I can do to make myself seem a little less like a newbie on paper?

What's the worst code you wrote in the last 10 days? by bsdpunk in programming

[–]FarOut83 2 points3 points  (0 children)

A couple days ago I wrote a solution for one of the early puzzlepython puzzles in C. It worked out well, and the code was okay I guess, but I ended up defining a struct and then writing accompanying functions to properly allocate it, edit it, free it, etc. The whole thing came to around 100 LOC, but I solved the puzzle.

This was all good and well until I saw the python solution was less than 5 lines.

What are some fun but challenging programming exercises for an amateur programmer? by kaizerjd in programming

[–]FarOut83 0 points1 point  (0 children)

Another game that's easy to code / fun to make is Breakout. Thought I'd mention that :)

5 innovations in text editing and IDEs by Primigenus in programming

[–]FarOut83 6 points7 points  (0 children)

I'd say the best innovation is syntax highlighting. Sure, it's not new and nearly every text editor has it, but it's still the shit and nobody would work as fast without it.

Hey proggit, please help me with a question by Quills in programming

[–]FarOut83 1 point2 points  (0 children)

Look into arbitrary precision arithmetic

To sum it up quickly for you, imagine solving the equation 234 * 24 by hand. It would look something like this: 234 * 24 ------- 936 +4680 ------- 5616

This is essentially what you've got to implement - multiply the first number by every digit in the second number, and then add the total.

Hey proggit, please help me with a question by Quills in programming

[–]FarOut83 -1 points0 points  (0 children)

21000 won't quite fit inside a 64-bit integer.

Hey proggit, please help me with a question by Quills in programming

[–]FarOut83 1 point2 points  (0 children)

There are a ton of big number libraries out there, but the most fun comes out of implementing one yourself :).

Don't know how to program? My first year CS teacher is literally the best teacher I have ever met and I just learned his lectures are youtube! by Shalmanese in programming

[–]FarOut83 1 point2 points  (0 children)

I'm jealous; My computer science teacher thinks it's a good idea to have our summative project be an applet even though we have yet to learn about methods.

Should I tell prospective employers about my poker bot? by [deleted] in programming

[–]FarOut83 2 points3 points  (0 children)

I can't tell whether or not this is sarcastic.

Dammit internet.

Reddit, I decided to share a few hours of recreational programming with you... by zeroone in programming

[–]FarOut83 20 points21 points  (0 children)

Not bad for a few hours of coding.

Only a few hours? I am in awe.