Fun Stuff > CLIKC
A programming thread!
Schwungrad:
OK, I just learnt that -l options are indeed supposed to go after the object files where they're referenced, though some linkers might not care (but cygwin-gfortran seems to care). Explained here: http://www.network-theory.co.uk/docs/gccintro/gccintro_18.html
cesium133:
Now I'm apparently running into a bug in gfortran that according to the bug tracker was fixed in 2006. Apparently the maximum record length is 10000, and I'm trying to output a record length of 25000. The bugfix is supposed to raise the limit to 1 GB, and there's no way I'm exceeding that... :psyduck:
edit -- D'oh! The OPEN command was overriding the system default and setting the maximum record length to 10000...
ankhtahr:
So I'm supposed to write a program for a theoretical architecture our lecturer has developed, called MiMa (minimal machine), which sorts an array of numbers. I feel tired, and don't feel like optimising anything here. The task didn't specify that it's supposed to be efficient, so I'm implementing bubblesort. And not even in a very effective way. But well, it should work. And this architecture is far from effective anyway. It's an extremely inefficient CISC architecture with less instructions than AVR. I want AVR back. That was great.
Here's a bit of documentation about the MiMa, written by a friend of mine (who has written the MiMa assembler mimasm and the MiMa simulator mimasim)
ankhtahr:
Have I ever told you how much I despise UML? :-(
Once again it's midnight, and I didn't even get to the programming part of the exercise sheet yet.
snalin:
Oh lawd, UML.
I TA'd a course that was... I'd say 50% UML, 50% actual software development. It was a real power trip to make the students sweat over bad diagrams, but I really, really see why they didn't want to put much effort into it. Knowing the basics of how to draw class diagrams on a whiteboard is a great way to communicate what you want, and I guess that if you start making complicated structures and can't really keep the overview, some informal UML can be great to express the important parts of the system. You need to be able to draw how classes interact in a pseudo-standard way, so I like that.
But the fucking standard is just such unhelpful pile of shit that I can't even begin to describe it. Software is an ever evolving beast, and diagrams just doesn't have the agility to keep up, and you keep getting stuck and having to go back to keep them in order. UML exists to help you with developing software, but that scenario is just not helpful at all.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version