DEV Community

Cover image for SE Internship Log[3]
Ruheni Alex
Ruheni Alex

Posted on β€’ Edited on β€’ Originally published at ruheni.dev

6 1

SE Internship Log[3]

Hello there internet stranger, πŸ‘‹πŸ½

This is the 4th installment of the Software Engineering(SE) Log.

Technical Skills

Toolbox 🧰

This week, I'll share a some libraries/ tools I discovered that I found helpful:

ts-node --require flag

ts-nodetransforms TypeScript into JavaScript, which is executed in Node.js.

A useful flag I discovered is the -r/ --require that enables you to execute a file with an export (aka a module):

For example:

// path to file on your computer: /src/hello.ts
export function sayHello(){
  return "Hello there"
}
Enter fullscreen mode Exit fullscreen mode

You can execute this file by running:

npx ts-node -r ./src/hello.ts
Enter fullscreen mode Exit fullscreen mode

Reading and writing files with fs-jetpack

fs-jetpack is a utility library that makes interacting with the file-system delightful.
This can be the CRUD of files and directories - creating, reading, updating and deleting.

Soft Skills

Consistency

Sometimes – or most times – software engineering gets tough. Tasks may be daunting, issues may be vague, or sometimes getting help/ feedback on a task may take a little longer than expected.

It's frustrating. The feeling sucks!

The frustration is part of the learning/ growth process.

There will be days you will crush it!

And sometimes, the simplest of tasks can seem impossible.

What matters the most is showing up and making an attempt to fix and a bug, close an issue, or just give feedback on a project.

A hack that I use to "trick" my brain to getting it done is starting with the simplest task to build up some momentum. For example, opening VS Code, starting the app server, and breaking something to try fix it.

Or, take a break. It's totally fine.

I've discovered that I get most of my eureka moments when I take a walk, I'm in the shower or lying on the bed – thinking about the finality of death and how life is meaningless and we're all going to die someday and nothing we do matters.

πŸ’‘

Till next week. ✌🏽

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay