heig-lherman / dai-practical-content Goto Github PK
View Code? Open in Web Editor NEWMy repo for the practical contents of DAI (23/24) at HEIG-VD
My repo for the practical contents of DAI (23/24) at HEIG-VD
Implement a command that can encode a file to base64
It seems the packaged JARs do not work as intended, due to the configuration not being inherited (was an attempt to avoid having to declare the configuration in every module).
There are a couple of things I noticed while investigating:
maven-assembly-plugin
should be declared under pluginManagement
and the plugin should be referenced in the modulesmaven-failsafe-plugin
is not needed, we probably won't write integration tests.maven-surefire-plugin
is parametrized, but the property isn't used in pluginManagement
After reading the instructions a couple of times, the fact that we are supposed to give charsets as parameters makes me think we are expected to use the Reader
and Writer
ecosystem. That is to say, we are expected to process text.
We should therefore refactor the existing base64 project to a text
CLI with the ability to apply some transformations on a text file.
For the first iteration, I think we should work on building a copy
, uppercase
and lowercase
commands.
I want this repo to be my only repository where I work on practical works. As such, this repository should become a well-managed monorepo with the practical works being on own modules.
Let's start simple by creating a module for dependency management and a common parent for packaging.
To test, we should have this working for the hello-world project currently in main.
Initialize the module for PW01 with a base picocli
command class
Start integrating picocli by setting up a top base64 command (the one called from main) with two subcommands (encode and decode).
The subcommands should be abstracted, the processing is the same.
As mentioned in this comment, a README should be added documenting the basic steps to build and run the project and its individual modules.
depends on #1
A basic CI action should be added to build the project on every commit and run the unit tests and make sure the project compiles.
It should also upload the artifacts so that we can fetch one and compile from there.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.