Let's get programmy!

If you have some randomness to share that you can't post elsewhere, this is the place to do it.

Is Assembly the best programming language?

Yes
3
9%
Oh God my eyes
3
9%
Oh God my brain
12
38%
I perform unholy incantations to keep Assembly at bay
4
13%
Real men write binaries by hand
10
31%
 
Total votes: 32
Callid
User avatar

Ratio vincit omnia.

Posts: 1433

Re: Let's get programmy!

Postby Callid » November 28th, 2012, 5:23 pm

Akonyl wrote:of course it works, but only because "5.23" doesn't result in any trailing empties when you split on the period. I was using that as an example of invoking the method to get trailing empties back (since you were wondering why no empties were returned), and when you call it on "5.23", of course there aren't any trailing empties.
Now you're confusing me - why should 5.23 behave differently than 0.23?
If  ;), :D, ;D, ::), :P, :-X, :o or >:D are attached, that paragraph may not be 100% serious. Seriously.
This link provides further information.


Callid Conia Pact - Petitions - Archive
Akonyl
Community Hero
User avatar
Posts: 4200

Re: Let's get programmy!

Postby Akonyl » November 28th, 2012, 5:48 pm

I just misremembered the number you used and thought it was 5.23, not 0.52, doesn't change anything in what I said though.
Callid
User avatar

Ratio vincit omnia.

Posts: 1433

Re: Let's get programmy!

Postby Callid » November 28th, 2012, 6:00 pm

In this case, I don't understand you at all. What I said is that splitting something like "5.23".split(".") used to result in [[5][23]] whenever I called that method. Why, I have no idea (but 2 guesses), it just did.
If  ;), :D, ;D, ::), :P, :-X, :o or >:D are attached, that paragraph may not be 100% serious. Seriously.
This link provides further information.


Callid Conia Pact - Petitions - Archive
ranger
Community Villain
Posts: 3588

Re: Let's get programmy!

Postby ranger » December 11th, 2012, 5:36 am

woop woop, just finished my last MP of the year, andprobably the hardest of my educational career - wrote a godamn operating system.

If i program another context switch ever again it would be too soon...

Now I'm going to go to sleep and pass out
Image
Image
monsi
User avatar

I love sarcasm

Posts: 145

Contact:

Re: Let's get programmy!

Postby monsi » December 11th, 2012, 10:35 am

ranger wrote:woop woop, just finished my last MP of the year, andprobably the hardest of my educational career - wrote a godamn operating system.

If i program another context switch ever again it would be too soon...

Now I'm going to go to sleep and pass out

SERIOUSLY? That's awesome! :D

[me=Monsi]builds a shrine for ranger where anyone can worship him.[/me]

Can you show us some screenshots?
Last edited by monsi on December 11th, 2012, 10:54 am, edited 1 time in total.
Image
Image
Akonyl
Community Hero
User avatar
Posts: 4200

Re: Let's get programmy!

Postby Akonyl » December 11th, 2012, 10:39 am

luckily, in my OS class we just had to make another scheduling algorithm for linux (weighted round robin), not an entire OS, so we didn't have to go through all the trouble. But yeah, OS is definitely the hardest comp sci class (especially in my case when the lecture material, projects, and tests were all on different material :V), so everything else should be pretty easy.

and I doubt screenshots would really be that exciting  :-X
monsi
User avatar

I love sarcasm

Posts: 145

Contact:

Re: Let's get programmy!

Postby monsi » December 11th, 2012, 11:14 am

Akonyl wrote:luckily, in my OS class we just had to make another scheduling algorithm for linux (weighted round robin), not an entire OS, so we didn't have to go through all the trouble. But yeah, OS is definitely the hardest comp sci class (especially in my case when the lecture material, projects, and tests were all on different material :V), so everything else should be pretty easy.

Same here. For our laboratory exercises, we need to simulate the scheduling algorithms. And as for our project, it's either we make a REAL OS, or just a mock-up.

Akonyl wrote:and I doubt screenshots would really be that exciting  :-X

Hmm...seems that you want the installer itself. :V
Last edited by monsi on December 11th, 2012, 11:35 am, edited 1 time in total.
Image
Image
Akonyl
Community Hero
User avatar
Posts: 4200

Re: Let's get programmy!

Postby Akonyl » December 11th, 2012, 11:24 am

:I

more like "unless you like text output, I don't imagine an OS made for a class would be very fun to look at".
Kogorou
User avatar

*drinking beer and playing guitar*

Posts: 1131

Contact:

Re: Let's get programmy!

Postby Kogorou » December 12th, 2012, 3:09 pm

Akonyl wrote::I

more like "unless you like text output, I don't imagine an OS made for a class would be very fun to look at".


Why not?
It depends solely on what you define funny:
My OS class actually HAS and OS for itself. Ported by the professor for it's own processor.
We got the source and had to see how it worked ~ totally awesome.

OS the most difficult?
I beg to differ:
It could be the most complex one for sure because there is a bit of everything.
Last edited by Kogorou on December 12th, 2012, 3:12 pm, edited 1 time in total.
ranger
Community Villain
Posts: 3588

Re: Let's get programmy!

Postby ranger » December 12th, 2012, 6:11 pm

Aesthetically screen shots would be really ugly.  It's nothing but a terminal box, that can support up to 3 different terminals.

Even giving you a runnable copy would be a pain in the ass, since we used virtual emulators (QEMU) to debug, test, develop, and run because of the constant bugs where we crash our kernel.

We implemented pretty much everything - loading up the GDT, the IDT, Paging, Syscalls, keyboard driver, multiple terminals, RTC driver, PIT driver, PIC driver, file system, and round-robin scheduling.

A lot of things you take for granted is so complex - by far the hardest thing to do was to do our execute and halt to run a program.  So many godamn context switches, pcbs, kesps, aaarrgh.  We implemented in C and x86.

Kogorou wrote:
Akonyl wrote::I

more like "unless you like text output, I don't imagine an OS made for a class would be very fun to look at".


Why not?
It depends solely on what you define funny:
My OS class actually HAS and OS for itself. Ported by the professor for it's own processor.
We got the source and had to see how it worked ~ totally awesome.

OS the most difficult?
I beg to differ:
It could be the most complex one for sure because there is a bit of everything.



Every 4 students in our class has their own OS, that they personally built from scratch.  Systems OS programming is by far the hardest class I've taken, and is probably the hardest I'll take in my undergrad career.  I do have to make my own processor in another class, but it's a lot easier conceptually IMO.

Also, lolz CS. ECE get on my level. 
Image
Image
Akonyl
Community Hero
User avatar
Posts: 4200

Re: Let's get programmy!

Postby Akonyl » December 12th, 2012, 8:14 pm

ranger wrote:Also, lolz CS. ECE get on my level. 

I'll just stick with the major that puts me through less courses I'll never use :V
monsi
User avatar

I love sarcasm

Posts: 145

Contact:

Re: Let's get programmy!

Postby monsi » February 8th, 2013, 4:53 am

So, Conia has requested me before if I could make an Uno IRC bot. However, I declined since, first of all, I don't know how to play. Second of all, there's already an Uno IRC bot on #kienai.

But just now, I've changed my mind--I'm gonna attempt to create my own Uno IRC bot in C#.

I'll just post here again when I'm finished. :)
Image
Image
Akonyl
Community Hero
User avatar
Posts: 4200

Re: Let's get programmy!

Postby Akonyl » February 8th, 2013, 11:17 am

I dunno why you'd really want to (unless it's just an exercise to see if you can), since I'm pretty sure you can find irc uno bots pretty easily via google  :-X
Callid
User avatar

Ratio vincit omnia.

Posts: 1433

Re: Let's get programmy!

Postby Callid » February 8th, 2013, 12:40 pm

ARM assembler programming for 8 hours straight -.-

We originally wanted to d0 that next week, but we SUBenly were informed that the d3ad1ine was tomorr0w, which forced us to improvise a bit. s0 we assemBLEd in the university tod6y (well, two of us did, the thir6 one was nowhere to BEQ FUITOS), got onto the CMPuters and DIVed in. My job was mostly to ADD the comments to the code I had wr1tten pr3vious1y. Kind of hilar10us7y, it turned out the library log2-function MULfunctions in just the s6me way as our5.
If  ;), :D, ;D, ::), :P, :-X, :o or >:D are attached, that paragraph may not be 100% serious. Seriously.
This link provides further information.


Callid Conia Pact - Petitions - Archive
monsi
User avatar

I love sarcasm

Posts: 145

Contact:

Re: Let's get programmy!

Postby monsi » February 10th, 2013, 6:36 am

Akonyl wrote:I dunno why you'd really want to (unless it's just an exercise to see if you can), since I'm pretty sure you can find irc uno bots pretty easily via google  :-X

Well, that's surprising. There are a lot, indeed.

Anyhow, it seems that there are no Uno bots written in C#. So, I guess I'll just get an available source code of it and convert it to C#, instead of creating one from scratch.
^ Nah, totally not gonna happen for now. I'll just use instead the mIRC script I found for now. :V
Last edited by monsi on February 10th, 2013, 8:40 am, edited 1 time in total.
Image
Image

Who is online

Users browsing this forum: MSN [Bot] and 11 guests