Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L lab03
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cs2-19wi
  • lab03
  • Issues
  • #2

Something went wrong while setting issue due date.
Closed
Open
Created 6 years ago by Anirudh Mathukumilli@amathukuDeveloper
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Spec 2 comments

Closed

Spec 2 comments

This lab took me about ~1 hour 15 min, but most of my time was spent figuring out why rotation didn't work(I didn't have the transpose changes) and not realizing that the characters were stored in little endian format in the image. Here's my feedback:

  1. The example code to iterate through a 2d array uses the syntax array.length[0] which should be array[0].length
  2. I think the phrasing "snake through the array" in the description for decodeText() is a bit misleading. For some reason, I thought this meant go right to left on the first row, left to right on the second, and so on. I think it would be much simpler just to say "iterate through the array"
  3. It took me a while to realize that the characters are stored in little endian format (least significant bit first) in the image, and I think it would help if the spec mentioned that, because it wasn't super obvious to me at first that I would have to flip bit ordering (why is it stored in this order in the first place?)
  4. This is pedantic, but the description of transpose() should say "which is a reflection of," not "which is a reflect of"
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information

Linked issues
0


  • Anirudh Mathukumilli
    Anirudh Mathukumilli @amathuku · 6 years ago
    Author Developer

    Additionally, my repo wasn't able to find spaceElephants.hidden.png when running the B level tests.

  • Adam Blank
    Adam Blank @blank · 6 years ago
    Owner

    @ddimino these are all valid imo

  • Adam Blank
    Adam Blank @blank · 6 years ago
    Owner

    @ddimino and 'reflect' should still say 'transpose' in the spec

    Edited by Adam Blank 6 years ago
  • Dessie A. DiMino
    Dessie A. DiMino @ddimino · 6 years ago
    Developer

    @amathuku was you 3rd bullet in reference to hide text or decode text?

  • Anirudh Mathukumilli
    Anirudh Mathukumilli @amathuku · 6 years ago
    Author Developer

    @ddimino Technically it's in reference to both, but I ran into the issue when writing decode text. Once I realized the characters were little endian, it wasn't too bad to change hide text to behave the same way.

  • Adam Blank
    Adam Blank @blank · 6 years ago
    Owner

    @ddimino if these are all fixed now, please close this issue -- if not, what is left to fix?

  • Dessie A. DiMino
    Dessie A. DiMino @ddimino · 6 years ago
    Developer

    @blank sorry yes it's done!

  • Dessie A. DiMino @ddimino closed 6 years ago

    closed

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
Assign to
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Due date
None
None
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
0
0 participants
Reference:

Menu

Projects Groups Snippets
Help