Die Suche ergab 87 Treffer

von pmueller
18. Mai 2018 09:08
Forum: Software Engineering - Design and Construction
Thema: Questions regarding exercise 2
Antworten: 12
Zugriffe: 653

Re: Questions regarding exercise 2

Hi, Does that mean for the previous example, that when you got to sheet number 2 by pressing Alt+5, you should not be able to modify the displayed sheet? Because selectedSheetNumber is 5(not adjusted to number of sheets), but currentSheet.sheetNumber is 2, the events would not be forwarded to the cu...
von pmueller
17. Mai 2018 15:11
Forum: Software Engineering - Design and Construction
Thema: Questions regarding exercise 2
Antworten: 12
Zugriffe: 653

Re: Questions regarding exercise 2

Hi,

it is allowed, the 'n' (which i've edited out of my previous answer) was not intentional. Sorry.

Best,
Patrick
von pmueller
17. Mai 2018 14:40
Forum: Software Engineering - Design and Construction
Thema: Questions regarding exercise 2
Antworten: 12
Zugriffe: 653

Re: Questions regarding exercise 2

Hi,

using Vars/Signals/Events of these respective Types is correct.

Best,
Patrick
von pmueller
16. Mai 2018 15:01
Forum: Software Engineering - Design and Construction
Thema: Questions regarding exercise 2
Antworten: 12
Zugriffe: 653

Re: Questions regarding exercise 2

Hi,

1) Please use the upper left corner as (0,0). In your example this means that 6 is at position (0,0).
2) With your current solution and my answer to 1), you easily can access the respective cells, so this seems sensible.

Best,
Patrick
von pmueller
15. Mai 2018 10:42
Forum: Software Engineering - Design and Construction
Thema: Questions regarding exercise 2
Antworten: 12
Zugriffe: 653

Re: Questions regarding exercise 2

Hi, Task 1: A. You can use Var. B. In Scala you can retrieve values directly with the apply method, i.e. just (). Task 2: A. This is fine. B. Please pass them the filtered events. Please make sure that the Cell constructor only takes 1 Parameter. C. This terminal creation issue should not happen on ...
von pmueller
14. Mai 2018 10:56
Forum: Software Engineering - Design and Construction
Thema: Questions regarding exercise 2
Antworten: 12
Zugriffe: 653

Re: Questions regarding exercise 2

Hi, I'm not really sure why this does not work from sbt and intellij, from the stacktrace I see that you use cygwin, I guess the problem lies there somehow. You can change the terminal creation in line 31 from val terminal = defaultTerminalFactory.createTerminal() to val terminal = defaultTerminalFa...
von pmueller
4. Mai 2018 12:33
Forum: Software Engineering - Design and Construction
Thema: Deadline extension for ex01
Antworten: 2
Zugriffe: 145

Re: Deadline extension for ex01

Hi,

since there is no new Exercise this week and there was a problem with the grading of the previous exercise, we will extend the Deadline to Tuesday, May 9 o'clock.

Best,
Patrick
von pmueller
3. Mai 2018 11:17
Forum: Software Engineering - Design and Construction
Thema: Submission Advice
Antworten: 0
Zugriffe: 110

Submission Advice

Hi All, since I have encountered some problems in some solutions for already submitted solutions: 1. Make sure that your solution compiles without any modifications to the provided build.sbt. 2. Do not modify the interface of the interface, if not indicated otherwise. In particular for this weeks' e...
von pmueller
3. Mai 2018 10:06
Forum: Software Engineering - Design and Construction
Thema: Exercise 00 not graded
Antworten: 1
Zugriffe: 165

Re: Exercise 00 not graded

Hi,

the grading results should be visible now.

Best,
Patrick
von pmueller
2. Mai 2018 10:15
Forum: Software Engineering - Design and Construction
Thema: No Exercise on Friday, May 4th
Antworten: 4
Zugriffe: 271

No Exercise on Friday, May 4th

Hi,

since there was no lecture this week because of a publich holiday, there will be no exercise this week.

Best,
Patrick

Edit: Fixed Date
von pmueller
2. Mai 2018 10:14
Forum: Software Engineering - Design and Construction
Thema: Exercise # 2 - Task # 1 - DSL Syntax confusion
Antworten: 4
Zugriffe: 308

Re: Exercise # 2 - Task # 1 - DSL Syntax confusion

AizazZaidee hat geschrieben:
1. Mai 2018 15:00

1) What does "you can insert them together in one step"
This just concerns Any and AnyRef.
AizazZaidee hat geschrieben:
1. Mai 2018 15:00
2) resolution of the » operator ... How do I provide linearization for this operator?
Maybe you could have a look at the other thread, which contains examples from another student.

Best,
Patrick
von pmueller
2. Mai 2018 10:07
Forum: Software Engineering - Design and Construction
Thema: E1, Task 1, DSL
Antworten: 1
Zugriffe: 211

Re: E1, Task 1, DSL

Hi,

yes you can insert another Lin(...) call in this case.

Best,
Patrick
von pmueller
30. Apr 2018 10:13
Forum: Software Engineering - Design and Construction
Thema: Ex. 01 Task 1: Parentheses for multiple >> operations
Antworten: 1
Zugriffe: 181

Re: Ex. 01 Task 1: Parentheses for multiple >> operations

Hi,

in our DSL, the >> operator is modeled using a class, and you only can use it in a prefix way, i.e.:

Code: Alles auswählen

Lin(Bar) >> Lin(FooBar)
is written as:

Code: Alles auswählen

>>(Lin(Bar),Lin(FooBar)) 
As a consequence, you cannot omit the parentheses.

Best,
Patrick

Zur erweiterten Suche