A bad example of university work

Just a small rant about bad work at university.

In this course all materials we had to learn was transcribed in the slides itself. Learning got really annoying. Sometimes we did not even know what the author intended to express with some word as far as it is used in a different context in difference to eg. Wikipedia. Yes, I attended all (except one) lectures and yes, I did not recognize that this word on the slide will raise some question in future times. However, the thing I am most annoyed at: The only thing the professors have to care about are the slides and they still suck. In conclusion, there were 10 lectures with 617 slides. Following is a list of errors excluding errors with capitalization and “BE vs AE”:

  • “the ability of employees to use their knoweldge for actions”
  • “Fore each Knowledge Area:”
  • “How much of this in Internet?”
  • “Needs of the Information Scociety”
  • “Effect of data errors? sensitiv / insensitiv”
  • “Knowledge spaces represent common characteristis of a set…”
  • “Models based on Set Theory: Boolian Retrieval”
  • “Formulation of a the need for information”
  • “struktur, layout, content”
  • “Imput with a microphone”
  • “Intuitiv & easy to understand”
  • “Transitivity? Assymetrie?”
  • “… better enbaling computers and people to work in cooperations”
  • “Publikation of data together with underlying structures”
  • “Bottom-up approch”
  • “What are the differences Tags and Semantic Annotations?”
  • “Semantic Web für Social Software”
  • “How do organizational sturctures fit together?”
  • “Properties/Capabilities of particular von learners and goals.”
  • “Learning methods to achieve the goald”
  • “Core of adaptiven systems”
  • “implicit wiht log-data only”
  • “about the design of adaptiven learning systems”
  • “Work-integrated larning is part of knowledge management”
  • “Web-bases learning environments”
  • “administration of examiniation tools”
  • “Is learning itself really in the forground?”
  • “Resource that can be used”
  • “Spectrum of properties (e.g. file formats, color sprectrum)”
  • “requires access to a wider range of ongoing activitiey”

</rant> Sorry.

Product review: Samsung P2770 27″ TFT

I would just like to make a product review since I am using this TFT since more than 1 year, I think I have a objective opinion about it.

  • Good image & colors
  • No shadows at display borders
  • Inch / size
  • Nice menu access (invisible buttons at the front)
  • no angle adjustment
  • absorbing dust
  • claw marks can be made easily at material
  • DVI cable was too short for me (1.5m)

The Big Bang Theory Relationship Diagram


The Big Bang Theory Relationship Diagram

Today I finished my Relationship Diagram of The Big Bang Theory. In recent times when watching the episodes I logged the relationship status of each character. Using this data, I thought of a way to visualize it. It’s quite difficult, because there is a timeline axis, a 2-entity relation and different modes (relationship, had slept with, only date). In the end, I skipped the modes (dates have been removed, everything else is the same) and here is my diagram approach.

First of all, the circle defines the timeline. There are 5 phases (1 “before”, 4 seasons). The end of each phase is indicated by a pink arrow. Secondly, each person has an assigned segment of the blue (thick darkblue) circle. Btw, segments of main characters have a yellow shadow. Inside this circle, there are 2 dots for each relationship (dot is at angle corresponding to the person-segment) and a line indicating the duration and position of the relationship corresponding to the timeline.

For example we want to check out all relationships of Penny. Therefore we look out for her angle (below the “P” of Penny is a blue segment at about 12°). We can now see all dots at this angle describing different relationships. We can look for dots (with the same color) at the same radix to see which she was in relationship with. The large orange line indicates that Mike was her boyfriend between S02 E12 and S02 E17 (in this particular case: the start of the relationship is not mentioned explicitly, but its existence is approved in S02 E14).

Damn complex stuff :-/ Any ideas for other ways to visualize it? Eventually I will just create versions with reduced font sizes and remove some unimportant relationships. This might simplify the diagram. Check out the bigbang folder for future development and data.

FYI 2 bugs: Lisa is never linked. She dated Howard in S02 E08. When finishing the diagram, I omitted her, because there was not enough space for her and I generally skipped dates. The top-most darkblue line (for a person) is not assigned to anyone. Who cares ;-)

Update: Flo did an awesome work and improved it. Cool! :-)

The XOR issue

In discrete mathematics, you often define chains of logical operations. XOR has an issue, not everybody is aware of. If it’s used with 3 variables, it loses its most important behaviour: Indicating that only one value is set to True.

A B C A ⊕ B ⊕ C
True True True True
True True False False
True False True False
True False False True
False True True False
False True False True
False False True True
False False False False

In the end, the XOR keeps associative for 3 variables: (A ⊕ B) ⊕ C = A ⊕ (B ⊕ C). For any greater number of variables the behaviour is in no intuitive relation with 2-var-XOR any longer:

A B C D A ⊕ B ⊕ C ⊕ D
True True True True False
True True True False True
True True False True True
True True False False False
True False True True True
True False True False False
True False False True False
True False False False True
False True True True True
False True True False False
False True False True False
False True False False True
False False True True False
False False True False True
False False False True True
False False False False False

If you want to experiment with XOR, I want to refer to my article Truthtable with python and XOR is in python a caret “^”.

Advertisments not for everybody

Advertisement showing source code instead of content

Probably such advertisements are not attractive for everybody :-/

HowTo subscribe to the (non-existent) twitter user RSS feed

I will explain it for Mozilla Thunderbird since this is my current feed reader. Just leave out steps 3, 4, 6 and 7 for any other feed reader.

  1. Get the name of the twitter user.
  2. Get the ID of the twitter user by name.
  3. Open Thunderbird, select the top-level element containing your RSS feeds.
  4. Select “Manage subscriptions” and click “Add”.
  5. The feed URL is http://twitter.com/statuses/user_timeline/<userID>.rss (with the placeholder replaced)
  6. Click “Ok” to subscribe and move the RSS-Feed to any subfolder you would like to place it.
  7. Prefer “View” > “Feed Message Body As” > “Plain Text” and “Summary”

Why “non-existent”? Because Twitter has dropped support for user RSS feeds some time ago. The feeds still exist, but should not be used. However I like RSS and was using this feature for the last 2 years continuously. This decision annoys me :-(

Verilog assign command

I was unhappy the way Verilog’s assign command was described online. Therefore I would like to share my way to explain it. It’s actually damn simple

assign is described as ‘continuous assignment statement’. Therefore, when you assign a register to a wire, it keeps bind forever. Assigning a to b and changing b means changing a. Be aware, that the left term has to be a wire and the right one has to be some sort of value container (eg. reg). So assigning a value to a is not possible.

module assign_test();
  wire [7:0] a;
  reg [15:0] b = 'h3;
 
  // a reads bits 7 to 0 of b
  assign a = b[7:0];
  // modify b 5 time units later
  always b = #5 b + 'hA;
 
  always #10 $display("reg b is %h", b);
  always #10 $display("wire a is %h", a);
  initial #21 $finish();
endmodule

The output is:

reg b is 000d
wire a is 0d
reg b is 0021
wire a is 21

Männer mit Bärten

Das waren so junge Leute wie ihr jetzt. Die haben sich Bärte wachsen lassen. Dann sind sie reich geworden. Dann haben sie die Bärte abgeschnitten. Dann sind sie steinreich geworden.

Uni-Prof. über Jobs, Wozniak und die UNIX-Leute

PHP Accessing elements by reference

Input:
$a = array();
$b = $a['a'];
var_dump($a);

Output:
array(0) { }

Input:
$a = array();
$b = &$a['a'];
var_dump($a);

Output:
array(1) { ["a"]=> &NULL }

Accessing elements modifies state. I hate this.

Sagemath plot fail


Sagemath Plot fail

I think mathlibplot is responsible :-(