From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AFDA013933E for ; Wed, 21 Jul 2021 06:24:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC653E09EE; Wed, 21 Jul 2021 06:24:36 +0000 (UTC) Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97E09E09EE for ; Wed, 21 Jul 2021 06:24:36 +0000 (UTC) Received: by mail-vs1-xe2b.google.com with SMTP id a22so876517vso.1 for ; Tue, 20 Jul 2021 23:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=0AMLt1cKUlZP5cpUKsIKsWORXqsT1mL5T2YFpk4qA8s=; b=U+mCHAnte79GxpVp+kZri3tX5ge3f3mDKyK9iP/EAWEZMmlFNisW50iEcl4kEtD34t A+w5RaXqN3OyShFvi+tRWxmHmGoPuts8iz6EerBm+r597b/059gO+NicV/1nE/RTRwDH r272q2z8B0Pcna10KElbVXw6Ce5Qn1rC7UKE/SlzEWcVsmSjlz5ZX92UqrJdjtLiNYNW y/6tVWQR3RJ3+sP/Bbc8IC8c1SRxeVV/+0VKbRL0kgjKx+zOwNSCxI22VzxtF2/ZZwmW +GnJ3U8LSCZID7nt/ME7xmPfmeDxEF97HePJ6B/qYdwWwXpKEPfYSVF2Jqy4rAbiB1VB XUsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=0AMLt1cKUlZP5cpUKsIKsWORXqsT1mL5T2YFpk4qA8s=; b=cxQFsyMCnPyXcAKZs8ZK79AWPivWsJ1m3Ud/YC+FLwot3FnoXJ/C39A3WCUrerxtRt /C0JnT/sOKBn+T4XmNst5OIjlsJT82YLjQL27WLaLp5SU1/gGSJtGSWH1C3KomGgXBTT hpP9N2KhC3NiaFBzDuN7byMXUxI7Rid4Vy85VQEGRqxoS7SGG4LNTXpU0zC2xgpjJSFG E3C6Q4+gKKDetp+iG8I84oBIO1LFOTocJW8UD2nBhlM0gWOyOvvhvi7efBG31c+ukXgl y9cb8iBSf6RJBXRmJPfwWktG2CvrCQ1Q4F015/gwtPiosJuYkjlrrGHbr3BnA3YuxGya 6UYw== X-Gm-Message-State: AOAM533JkAqyKrMAn8BcjEptdKZFJVc8PdOM8UX1YG9i9mJaiyXlEt0w 0/DGtvprrO9zA+s/OcRDx2DWTPdC5yJeO+F1CpwKVO39CJ3Lqg== X-Google-Smtp-Source: ABdhPJygm4DyYObjpoiRWTuTQlpgQjOzi+dqG9EVAdtmPvjeXNukZaSh/5WvRwM8UiCCXG36VQsZFc7N0El7biSWLXY= X-Received: by 2002:a67:7142:: with SMTP id m63mr33290138vsc.8.1626848675329; Tue, 20 Jul 2021 23:24:35 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: "Yuan Liao (Leo)" Date: Tue, 20 Jul 2021 23:23:59 -0700 Message-ID: Subject: Re: [gentoo-soc] Week 6 Report for Big Data Infrastructure and H2O ebuilds Project To: gentoo-soc@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 0710e586-0ab9-440e-80ab-a56d13b5e9a9 X-Archives-Hash: 6486b34ccb6e5b8f533b3f59094077e3 > Thanks! We actually don't really care much about Java (haven't used it > seriously since College), and haven't even been involved in Gentoo GSoC > in a decade, but we're glad we stay on this list for things like this. > It's really nice seeing someone who still has that spark of interest in > computer things. We do happen to like graph theory and network analysis > and time complexity and such, but haven't really been able to apply it > in "the real world" of tech companies. Every time we try to do things > "the right way" with real computer science, coworkers and bosses just > say "just hack something together". > > > Oh well, thanks for what you're doing, > > -A It is wonderful to hear from people who have been involved in Gentoo GSoC before! Thanks for sharing this with us. I guess it would be reasonable to say that little of the knowledge pertaining to low-level details taught in the classroom could have a chance to be applied in solving a real-world problem. I was wrecked by a self-balancing tree implementation problem in my midterm exam for a data structure class, but that would not affect my ability to write a working program which uses self-balancing trees because I can just borrow an existing implementation of the data structure built by others. That said, knowing how things happen under the hood is still useful in programming and optimizing for efficiency. Thanks, Leo On Tue, Jul 20, 2021 at 10:39 AM A Schenck wrote: > > On 7/18/21 10:52 PM, Yuan Liao (Leo) wrote: > > Hi folks, > > > > > > > > As per my original project proposal, I am also adding a test case for > > the ebuild installation tests which will ensure every package in the > > Spark overlay can be installed at least once. Adding every package to > > the emerge command theoretically works, but the command would be too > > long. Invoking emerge separately for each package would resolve this > > problem, but the overhead of emerge's dependency calculation would > > seriously impact the test runtime. I came up with a solution that > > could address both issues: write a script to compute a list of leaf > > packages in the Spark overlay and pass the packages in the list to > > emerge, so every package in the overlay would be installed, and the > > emerge command can be simplified to have a shorter length too. The > > script can also act as a helpful tool for any ebuild repository's > > maintainers to find out all leaf packages in the repository for > > maintenance tasks like last-rite and package clean-up. After some > > initial optimization and tuning, the script (written in Python) can > > compute a list of leaf packages among about 500 packages in the Spark > > overlay within only a few minutes. The optimization and tuning is > > also the topic for this week's blog post of mine [1]. This post > > covers some knowledge and topics from computer science, including > > graph theory, graph algorithms, data structure, and time complexity. > > If you are interested in any of those subjects, make sure you don't > > miss it! > > Thanks! We actually don't really care much about Java (haven't used it > seriously since College), and haven't even been involved in Gentoo GSoC > in a decade, but we're glad we stay on this list for things like this. > It's really nice seeing someone who still has that spark of interest in > computer things. We do happen to like graph theory and network analysis > and time complexity and such, but haven't really been able to apply it > in "the real world" of tech companies. Every time we try to do things > "the right way" with real computer science, coworkers and bosses just > say "just hack something together". > > > Oh well, thanks for what you're doing, > > -A > > > > > > > > > This concludes my work during the past week and this report. Thank > > you for reading it (and my blog post in case you are checking it out)! > > > > Best regards, > > Leo > > > > [1]: https://leo3418.github.io/2021/07/18/find-leaf-packages.html > > [2]: https://wiki.gentoo.org/wiki/User:Leo3418/Kotlin/Package_Maintainer_Guide > > >