Now you're confusing me - why should 5.23 behave differently than 0.23?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.
Let's get programmy!
- Callid
- Ratio vincit omnia.
Posts: 1433
Re: Let's get programmy!
If
,
,
,
,
,
,
or
are attached, that paragraph may not be 100% serious. Seriously.
This link provides further information.
Callid Conia Pact - Petitions - Archive








This link provides further information.
Callid Conia Pact - Petitions - Archive
-
- Community Hero
Posts: 4200
Re: Let's get programmy!
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
- Ratio vincit omnia.
Posts: 1433
Re: Let's get programmy!
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
,
,
,
,
,
,
or
are attached, that paragraph may not be 100% serious. Seriously.
This link provides further information.
Callid Conia Pact - Petitions - Archive








This link provides further information.
Callid Conia Pact - Petitions - Archive
-
- Community Villain
Posts: 3588
Re: Let's get programmy!
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
If i program another context switch ever again it would be too soon...
Now I'm going to go to sleep and pass out

-
- I love sarcasm
Posts: 145- Contact:
Re: Let's get programmy!
SERIOUSLY? That's awesome!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

[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.
-
- Community Hero
Posts: 4200
Re: Let's get programmy!
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
and I doubt screenshots would really be that exciting

-
- I love sarcasm
Posts: 145- Contact:
Re: Let's get programmy!
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: 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.
Hmm...seems that you want the installer itself. :VAkonyl wrote: and I doubt screenshots would really be that exciting :-X
Last edited by monsi on December 11th, 2012, 11:35 am, edited 1 time in total.
-
- Community Hero
Posts: 4200
Re: Let's get programmy!
: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".
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
- *drinking beer and playing guitar*
Posts: 1132- Contact:
Re: Let's get programmy!
Why not?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".
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.
-
- Community Villain
Posts: 3588
Re: Let's get programmy!
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.
Also, lolz CS. ECE get on my level.
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.
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.Kogorou wrote:Why not?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".
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.
Also, lolz CS. ECE get on my level.

-
- Community Hero
Posts: 4200
Re: Let's get programmy!
I'll just stick with the major that puts me through less courses I'll never use :Vranger wrote: Also, lolz CS. ECE get on my level.
-
- I love sarcasm
Posts: 145- Contact:
Re: Let's get programmy!
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.
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.

-
- Community Hero
Posts: 4200
Re: Let's get programmy!
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 

- Callid
- Ratio vincit omnia.
Posts: 1433
Re: Let's get programmy!
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.
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
,
,
,
,
,
,
or
are attached, that paragraph may not be 100% serious. Seriously.
This link provides further information.
Callid Conia Pact - Petitions - Archive








This link provides further information.
Callid Conia Pact - Petitions - Archive
-
- I love sarcasm
Posts: 145- Contact:
Re: Let's get programmy!
Well, that's surprising. There are a lot, indeed.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
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.