1 |
> Thanks! We actually don't really care much about Java (haven't used it |
2 |
> seriously since College), and haven't even been involved in Gentoo GSoC |
3 |
> in a decade, but we're glad we stay on this list for things like this. |
4 |
> It's really nice seeing someone who still has that spark of interest in |
5 |
> computer things. We do happen to like graph theory and network analysis |
6 |
> and time complexity and such, but haven't really been able to apply it |
7 |
> in "the real world" of tech companies. Every time we try to do things |
8 |
> "the right way" with real computer science, coworkers and bosses just |
9 |
> say "just hack something together". |
10 |
> |
11 |
> |
12 |
> Oh well, thanks for what you're doing, |
13 |
> |
14 |
> -A |
15 |
|
16 |
It is wonderful to hear from people who have been involved in Gentoo |
17 |
GSoC before! Thanks for sharing this with us. I guess it would be |
18 |
reasonable to say that little of the knowledge pertaining to low-level |
19 |
details taught in the classroom could have a chance to be applied in |
20 |
solving a real-world problem. I was wrecked by a self-balancing tree |
21 |
implementation problem in my midterm exam for a data structure class, |
22 |
but that would not affect my ability to write a working program which |
23 |
uses self-balancing trees because I can just borrow an existing |
24 |
implementation of the data structure built by others. That said, |
25 |
knowing how things happen under the hood is still useful in |
26 |
programming and optimizing for efficiency. |
27 |
|
28 |
Thanks, |
29 |
Leo |
30 |
|
31 |
On Tue, Jul 20, 2021 at 10:39 AM A Schenck <lane_andrew@×××××××.com> wrote: |
32 |
> |
33 |
> On 7/18/21 10:52 PM, Yuan Liao (Leo) wrote: |
34 |
> > Hi folks, |
35 |
> > |
36 |
> > <snip/> |
37 |
> > |
38 |
> > As per my original project proposal, I am also adding a test case for |
39 |
> > the ebuild installation tests which will ensure every package in the |
40 |
> > Spark overlay can be installed at least once. Adding every package to |
41 |
> > the emerge command theoretically works, but the command would be too |
42 |
> > long. Invoking emerge separately for each package would resolve this |
43 |
> > problem, but the overhead of emerge's dependency calculation would |
44 |
> > seriously impact the test runtime. I came up with a solution that |
45 |
> > could address both issues: write a script to compute a list of leaf |
46 |
> > packages in the Spark overlay and pass the packages in the list to |
47 |
> > emerge, so every package in the overlay would be installed, and the |
48 |
> > emerge command can be simplified to have a shorter length too. The |
49 |
> > script can also act as a helpful tool for any ebuild repository's |
50 |
> > maintainers to find out all leaf packages in the repository for |
51 |
> > maintenance tasks like last-rite and package clean-up. After some |
52 |
> > initial optimization and tuning, the script (written in Python) can |
53 |
> > compute a list of leaf packages among about 500 packages in the Spark |
54 |
> > overlay within only a few minutes. The optimization and tuning is |
55 |
> > also the topic for this week's blog post of mine [1]. This post |
56 |
> > covers some knowledge and topics from computer science, including |
57 |
> > graph theory, graph algorithms, data structure, and time complexity. |
58 |
> > If you are interested in any of those subjects, make sure you don't |
59 |
> > miss it! |
60 |
> |
61 |
> Thanks! We actually don't really care much about Java (haven't used it |
62 |
> seriously since College), and haven't even been involved in Gentoo GSoC |
63 |
> in a decade, but we're glad we stay on this list for things like this. |
64 |
> It's really nice seeing someone who still has that spark of interest in |
65 |
> computer things. We do happen to like graph theory and network analysis |
66 |
> and time complexity and such, but haven't really been able to apply it |
67 |
> in "the real world" of tech companies. Every time we try to do things |
68 |
> "the right way" with real computer science, coworkers and bosses just |
69 |
> say "just hack something together". |
70 |
> |
71 |
> |
72 |
> Oh well, thanks for what you're doing, |
73 |
> |
74 |
> -A |
75 |
> |
76 |
> > |
77 |
> > <snip/> |
78 |
> > |
79 |
> > This concludes my work during the past week and this report. Thank |
80 |
> > you for reading it (and my blog post in case you are checking it out)! |
81 |
> > |
82 |
> > Best regards, |
83 |
> > Leo |
84 |
> > |
85 |
> > [1]: https://leo3418.github.io/2021/07/18/find-leaf-packages.html |
86 |
> > [2]: https://wiki.gentoo.org/wiki/User:Leo3418/Kotlin/Package_Maintainer_Guide |
87 |
> > |
88 |
> |