Contributing to Open Source : Week 5

Issues and pull requests

  ╔═══════════╦═══════════════════════════════════╦═══════════════╗
║ project ║ issue ║ status ║
╠═══════════╬═══════════════════════════════════╬═══════════════╣
║ smug ║ Add `create` and `edit` commands ║ Doing ║
║ open-desk ║ New Site UI calling backend ║ Merged ║
╚═══════════╩═══════════════════════════════════╩═══════════════╝

How I was trying to contribute

{
"orgId": "string",
"id": "string",
"name": "string",
"location": "string",
"floors": [
{
"floorId": "string",
"name": "string",
"openDesk": "string",
"reservedDesk": "string"
}
]
}

Any positive or negative results

const onBlurFloor = (e, id) => {
console.log(floor)
if (floor.length > id) {
floor[id].name = e.target.value
}
else {
if (e.target.value != '') {
floor.push({
name: e.target.value
})
}
}
}
func (smug Smug) Edit(filename string) error {
editor := os.Getenv("EDITOR")
if editor == "" {
editor = "vim"
}
executable, err := exec.LookPath(editor)
if err != nil {
return err
}
cmd := exec.Command(executable, filename)
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
return cmd.Run()
}

What did I learn this week?

try {
firstFunction();
secondFunction();
thirdFunction();
} catch (e) {
console.error(e);
}
func Open(name string) (file *File, err error){
f, err := os.Open("filename.ext")
if err != nil {
log.Fatal(err)
}
// do something with the open *File f
}

--

--

--

26 yo. Self-Taught Software Developer. I write about Career Change, Women in Tech and anything exciting I’m working on.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Basic Data Structures and Time Complexity of their Methods

Software For This Iphone Is Not Currently Available Mac

BootCamp Experience

Journey of DLithe Bootcamp .NET Full Stack Developer | Week 5(Feb21-Feb26)

All You Want to know about Computational and Data Sciences (CDS, IISc)

Key advantages of No Code for complex decision support

Project Management with Pivotal Traker

Flutter Auth with Firebase Example

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alejandra Bricio

Alejandra Bricio

26 yo. Self-Taught Software Developer. I write about Career Change, Women in Tech and anything exciting I’m working on.

More from Medium

How to transfer block data using Zeus network?

Introducing Axie Dashboard for Guilds (by Tavern)

DragonMaster Weekly Data (May 9-May 15)

🤗 ALL YOU NEED TO KNOW ABOUT METAGEAR’S SYSTEM REWORK 🤗