Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Remember the "One Laptop Per Child" project, that developed a low-cost computer for children in developing countries?

Remember the "One Laptop Per Child" project, that developed a low-cost computer for children in developing countries?

Scheduled Pinned Locked Moved Uncategorized
88 Posts 34 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • blinry@chaos.socialB blinry@chaos.social

    You'd roughly need to:

    - Figure out which program is currently focused
    - Figure out the Git repo of this software
    - Clone it into a temporary directory
    - Set up the required tools to start hacking on it and compile it

    As a quick prototype, I wrote a li'l Bash script that does some of these things. It makes heavy use of #nix and #nixpkgs:

    Link Preview Image
    view-source-button

    view-source-button - A script that allows you to start tinkering with software

    favicon

    Codeberg.org (codeberg.org)

    I enters a "dev shell" with the required tools already in the PATH, and even sets up a Git remote to start contributing. 😄

    sounddrill@infosec.exchangeS This user is from outside of this forum
    sounddrill@infosec.exchangeS This user is from outside of this forum
    sounddrill@infosec.exchange
    wrote last edited by
    #77

    @blinry would be nicer to bundle the apps with the source itself in some way

    1 Reply Last reply
    0
    • blinry@chaos.socialB blinry@chaos.social

      Remember the "One Laptop Per Child" project, that developed a low-cost computer for children in developing countries? I was always amazed by a certain feature: The "View Source" button.

      When you pressed it, the source code for the currently running application would open. This was supposed to encourage tinkering with the software on your device! ❤

      I've been pondering what it would take to build that button on modern machines. Has anyone seen something like that?

      (Prototype in next toot.)

      ardubal@mastodon.xyzA This user is from outside of this forum
      ardubal@mastodon.xyzA This user is from outside of this forum
      ardubal@mastodon.xyz
      wrote last edited by
      #78

      @blinry Yes, see Lisp Machines, OpenGenera, Medley Interlisp, McCLIM, or almost any Smalltalk dialect. You can glimpse this in Emacs+SLIME »presentations«.

      The system is »live«, and you can inspect it directly. Typically, this goes down to individual widgets.

      »Modern« machines have lost the connection to their source, and trying to recover it with heuristics and remote repositories will necessarily be only a distant shimmer of that connection.

      1 Reply Last reply
      0
      • snaums@toot.kif.rocksS snaums@toot.kif.rocks

        @blinry If you limit it to python, it could be fun. C/C++ code has to be compiled and that can take _a while_. Maybe it would work better on something like Gentoo. Or maybe you'd have a system, where in a special environment, everything is built from package-source once, then can be edited and recompiled in seconds.

        schaf@netzkms.deS This user is from outside of this forum
        schaf@netzkms.deS This user is from outside of this forum
        schaf@netzkms.de
        wrote last edited by
        #79

        @snaums @blinry why not simply make a policy that every program must be a quine

        1 Reply Last reply
        0
        • korenchkin@chaos.socialK korenchkin@chaos.social

          @technomancy @dwardoric @blinry I'm lucky, I can use emacs all day :3

          dwardoric@chaos.socialD This user is from outside of this forum
          dwardoric@chaos.socialD This user is from outside of this forum
          dwardoric@chaos.social
          wrote last edited by
          #80

          @korenchkin @technomancy @blinry Aww... Lispmachines. *sigh*

          1 Reply Last reply
          0
          • blinry@chaos.socialB blinry@chaos.social

            Remember the "One Laptop Per Child" project, that developed a low-cost computer for children in developing countries? I was always amazed by a certain feature: The "View Source" button.

            When you pressed it, the source code for the currently running application would open. This was supposed to encourage tinkering with the software on your device! ❤

            I've been pondering what it would take to build that button on modern machines. Has anyone seen something like that?

            (Prototype in next toot.)

            lancejz@mastodon.socialL This user is from outside of this forum
            lancejz@mastodon.socialL This user is from outside of this forum
            lancejz@mastodon.social
            wrote last edited by
            #81

            @blinry my wife got kicked out of a computer class for tweaking the software in the 80s.

            1 Reply Last reply
            0
            • dwardoric@chaos.socialD This user is from outside of this forum
              dwardoric@chaos.socialD This user is from outside of this forum
              dwardoric@chaos.social
              wrote last edited by
              #82

              @eythian @blinry Well from certain viewpoints it is a terrible idea. 😅
              But it would be great to have something like this behind a toggle switch. My mind just pictures an old PC with a turbo button and pressing it enables that. 😁
              As mentioned in the other reply Lisp would also be a good choice. 😊

              1 Reply Last reply
              0
              • blinry@chaos.socialB blinry@chaos.social

                Remember the "One Laptop Per Child" project, that developed a low-cost computer for children in developing countries? I was always amazed by a certain feature: The "View Source" button.

                When you pressed it, the source code for the currently running application would open. This was supposed to encourage tinkering with the software on your device! ❤

                I've been pondering what it would take to build that button on modern machines. Has anyone seen something like that?

                (Prototype in next toot.)

                benpocalypse@mastodon.socialB This user is from outside of this forum
                benpocalypse@mastodon.socialB This user is from outside of this forum
                benpocalypse@mastodon.social
                wrote last edited by
                #83

                @blinry Negroponte took Epstein funding. Say what you will, but I'd rather have my hands be clean.

                1 Reply Last reply
                0
                • S shadsterling@mastodon.social

                  @raymaccarthy @agowa338 @blinry yeah, J++ was an attempt to EEE Java, especially for “applets” in IE, that got shut down by the court ruling. dotNET and C# were the subsequent attempt to build a better mousetrap, which largely succeeded in terms of capabilities, but failed to replace Java in adoption because it was closed-source and windows-only

                  raymaccarthy@mastodon.ieR This user is from outside of this forum
                  raymaccarthy@mastodon.ieR This user is from outside of this forum
                  raymaccarthy@mastodon.ie
                  wrote last edited by
                  #84

                  @ShadSterling @agowa338 @blinry
                  And if C# had been crossplatform and more liberally licenced, Android might have used it instead of Java. Then Oracle would not have sued Google.
                  But Symbian devs were using Mobile Java and Google wanted them.
                  Sun had the odd idea that Mobile Java was free-sh, Desktop Java was free-ish, but it was forbidden to use the Desktop version on anything else. It never made sense.

                  1 Reply Last reply
                  0
                  • th@social.v.stT th@social.v.st

                    @blinry I think the OLPC project failed because they foolishly rejected my implementation suggestion

                    blinry@chaos.socialB This user is from outside of this forum
                    blinry@chaos.socialB This user is from outside of this forum
                    blinry@chaos.social
                    wrote last edited by
                    #85

                    @th Aw 🙂 Still have it?

                    1 Reply Last reply
                    0
                    • heptasean@social.tchncs.deH heptasean@social.tchncs.de

                      @blinry Not sure if I'm thinking too complicated here, but doesn't it get ever more complicated what exactly to show there?

                      If I'm currently looking at a web app that shows some data retrieved from a server-side backend in a browser whose UI is written in (say) Python calling one of the dominant rendering engines and one of the dominant Javascript engines, which of the sources do I show on “View Source”?

                      It could be anything from the operating system kernel via the CPython or the Javascript runtime to the web app or its server-side counter-part that could be considered most interesting and answering the question: “Oh, I wonder how this works.”

                      clew@ecoevo.socialC This user is from outside of this forum
                      clew@ecoevo.socialC This user is from outside of this forum
                      clew@ecoevo.social
                      wrote last edited by
                      #86

                      it's both true that that's more complicated, but because of that more important that people understand where "it's coming from". And what "it" is. Yesno?

                      Well, this is why pedagogy is really hard!

                      I feel like the simplified, one-app-at-a-time Sugar style was meant to narrow down the possible contexts to make this easier, but also that limited screen space and trying to have a unified design language blurred it again.

                      @HeptaSean @blinry

                      1 Reply Last reply
                      0
                      • blinry@chaos.socialB blinry@chaos.social

                        It's been fun, it feels like a new superpower to "quickly fix something and send a PR". It's also a super dangerous rabbit hole generator, because now that it's easy to fix stuff, it's very tempting to do so… 🐇

                        My prototype has some rough edges:

                        It clones the latest commit, which doesn't always compile using the #nixpkgs setup (but it seems reasonable to check whether the bug is still there).

                        And invoking the phases of the nixpkgs stdenv manually can be tricky. https://nixos.org/manual/nixpkgs/stable/#sec-building-stdenv-package-in-nix-shell

                        benrutter@mastodon.greenB This user is from outside of this forum
                        benrutter@mastodon.greenB This user is from outside of this forum
                        benrutter@mastodon.green
                        wrote last edited by
                        #87

                        @blinry This is such an awesome idea! When I read your first toot I thought immediately "that'd be near impossible for non-interpetted language programmes" but I love this because you've converted it into essentially a search problem!

                        Such a clever way to take stuff from "almost impossible" to "super achievable" almost instantly!

                        1 Reply Last reply
                        0
                        • dwardoric@chaos.socialD This user is from outside of this forum
                          dwardoric@chaos.socialD This user is from outside of this forum
                          dwardoric@chaos.social
                          wrote last edited by
                          #88

                          @eythian @blinry Yes definitely awesome. Those glory days of goofing around in this new world of silicon. 😃

                          1 Reply Last reply
                          0
                          • pixelate@tweesecake.socialP pixelate@tweesecake.social shared this topic
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups