Skip to content

Commit

Permalink
Update links (#3)
Browse files Browse the repository at this point in the history
* Update about.md

* Update overview.md

* Update size-aosp14.md

* Update footer.html

* Update size-aosp.blog
  • Loading branch information
derdilla authored Sep 25, 2024
1 parent 23dbfcf commit 072fa0c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions components/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<address>
<a href="https://derdilla.com">Homepage</a>
<a href="mailto:[email protected]">[email protected]</a>
<a href="https://github.com/NobodyForNothing">GitHub</a>
<a href="https://github.com/derdilla">GitHub</a>
</address>
<p><i>Except where otherwise noted, content on this site is licensed under a <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0</a> International license.</i></p>
</footer>
</footer>
4 changes: 2 additions & 2 deletions pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ the German pronoun "der" nor with any of the other [things wikipedia suggests](h
Currently, I'm a computer science student and as many people with a custom-made
website I like to code for fun. Unlike many people with a custom-made
website, *[I don't like websites](https://suckless.org/sucks/web/)*.
I'm more interested in making [simple, correct programs](https://github.com/NobodyForNothing?tab=repositories&q=&type=&language=rust&sort=stargazers),
but ended up being successful with [my complex Android app](https://github.com/NobodyForNothing/blood-pressure-monitor-fl).
I'm more interested in making [simple, correct programs](https://github.com/derdilla?tab=repositories&q=&type=&language=rust&sort=stargazers),
but ended up being successful with [my complex Android app](https://github.com/derdilla/blood-pressure-monitor-fl).
2 changes: 1 addition & 1 deletion pages/blog/size-aosp.blog
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ I count the lines by counting the amount of newline characters in the file("\n")

The analysis breaks down to manually selection some interesting file types (the ones you see in the table) and printing out there respective line counts as well as the sum of them.

If you want to have take a look at it, the <a href="https://github.com/NobodyForNothing/aosp-analyzer">code is public on GitHub</a>
If you want to have take a look at it, the <a href="https://github.com/derdilla/aosp-analyzer">code is public on GitHub</a>

What I found helpful to determine wether and how to count a specific directory was this <a href="https://stackoverflow.com/a/9047693/15581412">2012 Stackoverflow answer</a>.
6 changes: 3 additions & 3 deletions pages/blog/size-aosp14.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ If you want to be extremely liberal in your definition, you can consider android

<aside><img src="/assets/android-levels.svg" alt="Diagram ilustrating the different levels of android" title="Levels Android" width="300" height="300"></aside>

As a middle ground this counting examines the contents of the main [AOSP repo](https://source.android.com). A current checkout of the repo is roughly 168 GiB large this is however on only code but also documnetation, developer tools and other ecosystem components. To break down this code I created [aosp-analyzer](https://github.com/NobodyForNothing/aosp-analyzer) a set of scripts and a program that produces a handy HTML file (a slightly modified version is used for the interactive statistics at the end of this article). Let's break it down some more:
As a middle ground this counting examines the contents of the main [AOSP repo](https://source.android.com). A current checkout of the repo is roughly 168 GiB large this is however on only code but also documnetation, developer tools and other ecosystem components. To break down this code I created [aosp-analyzer](https://github.com/derdilla/aosp-analyzer) a set of scripts and a program that produces a handy HTML file (a slightly modified version is used for the interactive statistics at the end of this article). Let's break it down some more:

It depends on androids `repo` tool to obtain the source code and [tokei](https://github.com/XAMPPRocky/tokei) to do the heavy line counting work. During line counting I do a preliminary categorization of line data based on the top level directories. After those first two slow steps it begins its actual analysis work: It seperates test code and documentation from the rest *([1](https://github.com/NobodyForNothing/aosp-analyzer/blob/main/visualizer/src/extractor.rs#L16-L66))*, removes data only files (mainly random test data) *([2](https://github.com/NobodyForNothing/aosp-analyzer/blob/main/visualizer/src/extractor.rs#L71-L73))* and assembles the html *([3](https://github.com/NobodyForNothing/aosp-analyzer/blob/main/visualizer/src/format.rs#L57-L62))*. In case you are curious about the details, I think the code is more explicit than this text could ever be.
It depends on androids `repo` tool to obtain the source code and [tokei](https://github.com/XAMPPRocky/tokei) to do the heavy line counting work. During line counting I do a preliminary categorization of line data based on the top level directories. After those first two slow steps it begins its actual analysis work: It seperates test code and documentation from the rest *([1](https://github.com/derdilla/aosp-analyzer/blob/main/visualizer/src/extractor.rs#L16-L66))*, removes data only files (mainly random test data) *([2](https://github.com/derdilla/aosp-analyzer/blob/main/visualizer/src/extractor.rs#L71-L73))* and assembles the html *([3](https://github.com/derdilla/aosp-analyzer/blob/main/visualizer/src/format.rs#L57-L62))*. In case you are curious about the details, I think the code is more explicit than this text could ever be.

{{ aosp-data }}

[android-levels]: /assets/android-levels.svg "Levels of android"
[android-levels]: /assets/android-levels.svg "Levels of android"
6 changes: 3 additions & 3 deletions pages/overview.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
This website and my [GitHub](https://github.com/NobodyForNothing) host all the
This website and my [GitHub](https://github.com/derdilla) host all the
stuff I want to recklessly publish and a tiny bit more that is actually useful.
I have a [**blog**](./blog) and if you dig deep enough into my unlisted pages you may
find a little app or game (or you look at [how this website is build](https://github.com/NobodyForNothing/personal-website),
find a little app or game (or you look at [how this website is build](https://github.com/derdilla/personal-website),
but where is the fun in that).

If you just wanted to reach out to me and read through all of that: have a look
at the footer :).
at the footer :).

0 comments on commit 072fa0c

Please sign in to comment.