Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Notices by Srevin Saju (srevinsaju@mstdn.io), page 3

  1. Srevin Saju (srevinsaju@mstdn.io)'s status on Sunday, 29-Jan-2023 05:05:11 UTC Srevin Saju Srevin Saju
    in reply to

    After several hours of debugging and a hundred open tabs, I present: Hello World in a Bootloader.

    In conversation Sunday, 29-Jan-2023 05:05:11 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/653/664/028/381/028/original/331396bbf45ddb90.png
  2. Srevin Saju (srevinsaju@mstdn.io)'s status on Sunday, 29-Jan-2023 05:05:11 UTC Srevin Saju Srevin Saju
    in reply to

    Looks okay.
    #bootloader #assembly #university

    In conversation Sunday, 29-Jan-2023 05:05:11 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/653/208/691/720/323/original/17e34cd682ae7fd1.png
  3. Srevin Saju (srevinsaju@mstdn.io)'s status on Sunday, 29-Jan-2023 04:59:33 UTC Srevin Saju Srevin Saju
    in reply to

    Re: [BITS 16], the most reasonable explanation I could find was that, when Intel introduced 32-bit CPU, it wanted to maintain backward compatibility with its older 16-bit bootloaders. So it made, the 32-bit mode of processing as a protected on-demand mode. Due to this convention, CPU's start processing the code in 16 bit mode, which then can transfer to 32 bits or 64 bits.

    In conversation Sunday, 29-Jan-2023 04:59:33 UTC from mstdn.io permalink
  4. Srevin Saju (srevinsaju@mstdn.io)'s status on Sunday, 29-Jan-2023 04:56:01 UTC Srevin Saju Srevin Saju

    So it suddenly occurs to me that I have a pending #assignment on by Operating Systems course. The assignment seems to be trivial: it is to create a bootloader which prints 'Hello World' on the console. Thought it would be interesting to understand this with some help from my mastodon folks 😄

    #university #operatingsystems #bootloader #nasm #assembly

    PS: future me, if you happen to be reading this post after you have forgotten about this, you can thank me later.

    In conversation Sunday, 29-Jan-2023 04:56:01 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/652/819/926/360/791/original/3b858db11e34951e.png
  5. Srevin Saju (srevinsaju@mstdn.io)'s status on Sunday, 29-Jan-2023 04:55:56 UTC Srevin Saju Srevin Saju
    in reply to

    So looking at what has been provided to me, I have this in the material:

    #assembly #bootloader #university

    In conversation Sunday, 29-Jan-2023 04:55:56 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/652/840/014/406/960/original/a3b9d219bcd6d575.png
  6. Srevin Saju (srevinsaju@mstdn.io)'s status on Sunday, 29-Jan-2023 04:55:52 UTC Srevin Saju Srevin Saju
    in reply to

    Here is the code after a bit of good formatting(?) but at least its more readable. I have a lot of questions, but we will go through it line by line.

    #assembly #bootloader #university

    In conversation Sunday, 29-Jan-2023 04:55:52 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/652/880/209/832/886/original/45bc6884be30cdf8.png
  7. Srevin Saju (srevinsaju@mstdn.io)'s status on Sunday, 29-Jan-2023 04:55:51 UTC Srevin Saju Srevin Saju
    in reply to
    • Bernie

    Meanwhile, a question, I see `PrintCharacter` which seems to be called a 'procedure' in #assembly (I wrote function call 🤦♂️), but does Assembly have any good style guidelines? For example, preference of snake_case over CameCase, or something like that? and what about indentation? cc @codewiz

    In conversation Sunday, 29-Jan-2023 04:55:51 UTC from mstdn.io permalink
  8. Srevin Saju (srevinsaju@mstdn.io)'s status on Sunday, 22-Jan-2023 11:32:26 UTC Srevin Saju Srevin Saju
    in reply to
    • Bernie
    • Martín Abente Lahaye

    @codewiz I guess it does have some @tchx84 ‘s flatseal magic in it. I vaguely recall a conversation about the same.

    In conversation Sunday, 22-Jan-2023 11:32:26 UTC from mstdn.io permalink
  9. Srevin Saju (srevinsaju@mstdn.io)'s status on Thursday, 12-Jan-2023 08:31:37 UTC Srevin Saju Srevin Saju

    Trying out NixOS today!
    #nix #linux

    In conversation Thursday, 12-Jan-2023 08:31:37 UTC from mstdn.io permalink
  10. Srevin Saju (srevinsaju@mstdn.io)'s status on Thursday, 12-Jan-2023 08:31:36 UTC Srevin Saju Srevin Saju
    in reply to

    I'm here!
    #nix #nixos #linux

    Have been pretty amazing so far, detailed review soon!

    In conversation Thursday, 12-Jan-2023 08:31:36 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/415/245/724/120/640/original/bb7c4395e4f62d8d.png
  11. Srevin Saju (srevinsaju@mstdn.io)'s status on Thursday, 12-Jan-2023 08:31:32 UTC Srevin Saju Srevin Saju
    in reply to

    Coming from Fedora Kinoite (KDE edition of Fedora Silverblue), which features immutability and multiple versions of the OS which you can revert to in case something goes wrong, #nix exceeded my expectations, since, with Nix, you can now have multiple versions of your main OS `/` , and your `/home` too.

    In conversation Thursday, 12-Jan-2023 08:31:32 UTC from mstdn.io permalink
  12. Srevin Saju (srevinsaju@mstdn.io)'s status on Friday, 06-Jan-2023 03:05:10 UTC Srevin Saju Srevin Saju
    in reply to
    • Bernie

    @codewiz How about “your pudding only” or “your only pudding” 🤔

    In conversation Friday, 06-Jan-2023 03:05:10 UTC from mstdn.io permalink
  13. Srevin Saju (srevinsaju@mstdn.io)'s status on Wednesday, 21-Dec-2022 01:53:00 UTC Srevin Saju Srevin Saju
    in reply to
    • Bernie

    @codewiz here it is: https://codeberg.org/forgejo/forgejo, and here is their roadmap https://codeberg.org/forgejo/forgejo/issues/59

    In conversation Wednesday, 21-Dec-2022 01:53:00 UTC from mstdn.io permalink

    Attachments

    1. forgejo
      from forgejo
      Beyond coding. We forge. (Code of Conduct: https://codeberg.org/forgejo/code-of-conduct)
    2. [FEAT] implement federation
      from forgejo
      This issue tracks the progress of implementing [federation](https://nlnet.nl/project/Gitea/) in Forgejo and Gitea. We're planning on merging federation into Forgejo first, then upstreaming it to Gitea. # Task list ## Discovery This is done. - [x] Nodeinfo endpoint [go-gitea@github.com/gitea#16758](https://github.com/go-gitea/gitea/issues/16758) [#19561](https://github.com/go-gitea/gitea/pull/19561) - [x] WebFinger [go-gitea@github.com/gitea#19462](https://github.com/go-gitea/gitea/pull/19462) [go-gitea@github.com/gitea#19133](https://github.com/go-gitea/gitea/pull/19133) - [ ] Delegation? (WebFinger responses to a different domain, kinda like what Mastodon does with its WEB_DOMAIN variable) - [ ] Gitea federation for instances using a subdirectory? ## Actors This is almost done. - [x] Create public/private keypair [go-gitea@github.com/gitea#17071](https://github.com/go-gitea/gitea/pull/17071) - [x] HTTP signature middleware [go-gitea@github.com/gitea#19133](https://github.com/go-gitea/gitea/pull/19133) - [x] Mapping Gitea's concepts ("People", "Teams") into AP "Actor" concepts - [x] Mapping Gitea's actor concepts into the ontology - [x] Assign Actor IRIs [go-gitea@github.com/gitea#19133](https://github.com/go-gitea/gitea/pull/19133) - [x] Manage inbox and outbox - [x] Generate user outbox from actions table - [ ] Send out activities to followers - [ ] Render followed user updates in your user feed - [ ] Periodically fetch and update cached remote users' data - [ ] Clean out avatar cache ## ForgeFed - [x] Adapt Commit forgefed vocabulary for the needs of Gitea - [x] Adapt Repository forgefed vocabulary for the needs of Gitea - [x] Figure out the best way to represent pull requests in ForgeFed [ForgeFed@codeberg.org/ForgeFed#88](https://codeberg.org/ForgeFed/ForgeFed/issues/88) - [ ] Merge [F3](https://forum.forgefriends.org/t/about-the-friendly-forge-format-f3/681) and ForgeFed - [ ] Issue state changes [ForgeFed@codeberg.org/ForgeFed#98](https://codeberg.org/ForgeFed/ForgeFed/issues/98) - [ ] Add milestones to ForgeFed - [ ] Add project board federation to ForgeFed - [ ] Add migrations to ForgeFed spec [ForgeFed@codeberg.org/ForgeFed#149](https://codeberg.org/ForgeFed/ForgeFed/issues/149) ## go-ap We need to add ForgeFed types to go-ap. [Mastodon discussion](https://social.exozy.me/@ta180m/108466642486831048), [mailing list discussion](https://lists.sr.ht/~mariusor/activitypub-go/%3C6aivY9YmilsvQ6CauRoaXbvXX2bdZEXOEv-xnaTD0JLvodqKPZ2FMdQHmXYKmEOdzrPZU9Ipro5sOynfe-hJbi5f31MiqOV8EI4rDOw88wg%3D%40proton.me%3E), [current code](https://gitea.com/Ta180m/gitea/src/branch/main/models/forgefed) - [x] Implement Commit type - [x] Implement Repository type - [x] Implement Branch type - [x] Implement Push type - [x] Implement Ticket type - [ ] Tests - [x] Export more JSON functions from go-ap/activitypub (solved by using a fork https://gitea.com/Ta180m/activitypub) ## Serving ActivityStreams - [ ] Addressing (currently we just send to the IRI in the `To` field which is a bad hack) - [x] Transport (HTTPS with HTTP signatures) [go-gitea@github.com/gitea#19133](https://github.com/go-gitea/gitea/pull/19133) - [ ] Retry sending activities to servers that are down or have an outgoing activity queue - [x] Serve AS representation of users - [ ] Use F3 to serve AS representation of repos and repo contents - [ ] Serve AS representation of organizations ## Processing ActivityStreams - [x] Verify that actor or `attributedTo` matches HTTP signature. - [ ] sharedInbox? (not necessary) - [ ] C2S ActivityPub? (not necessary) - [x] Process Follow and Undo Follow activities - [ ] Process Like and Undo Like activities - [ ] Use F3 to process repo-related activities - [ ] Process organization-related activities - [ ] Cross-instance Git push - [ ] Federated private repos (use HTTP signatures for auth) - [ ] Federated discussions? (like GitHub discussions?) ## Database representation of remote data - [x] Remote federated users - [ ] Remote organizations - [x] Remote repositories - [ ] Database field for storing IRIs - [ ] External issues (and reference in comments) - [ ] External PRs (and reference in comments) - [ ] External projects (and reference in comments) ## User eXperience and User Interface See https://gitea.com/xy/gitea/issues/8 for discussions - [ ] Use cases ([federated issues](https://forum.forgefriends.org/t/forgefriends-full-description/13#presentation-1) etc.) - [ ] Drafting UX in PenPot - [ ] Remote interactions pop-up UI (like Mastodon) - [x] `authorize_interaction?uri=` page (like Mastodon) - [x] Federation handling for Gitea internal functions for creating issues, starring repos, etc - [ ] Global search bar - [ ] Discoverability (See https://sepiasearch.org/, https://github.com/forgeflux-org/northstar) ## Migrations See https://gitea.com/xy/gitea/issues/9 - [ ] Username or repo renames - [ ] Moving a user or repo to a different instance - [ ] Official way to migrate entire GitHub account to a Gitea instance - [ ] Official way to migrate entire GitHub organization to a Gitea instance - [ ] Configurable cooldown period in which usernames cannot be claimed ## Interoperability - [x] Federated following with Mastodon, Pleroma, etc - [ ] Federated commenting on issues from Mastodon, etc [mastodon@github.com/mastodon#18806](https://github.com/mastodon/mastodon/issues/18806) - [ ] Handle Mastodon delegation - [ ] Federation with GitHub by redirecting github.com resources to a different domain that generates AS representations of GitHub data and can proxy issues and PRs via a bot account on GitHub, something like Forgeflux or Forgefriends? ## Moderation See https://gitea.com/xy/gitea/issues/10 - [x] Disable all federation features by default - [ ] Blocking a user - [ ] Blocking a server - [ ] Moderation UI - [ ] Limited federation mode where your instance only federates with whitelisted instances - [ ] Rate limit federation requests - [ ] Rate limit user signups - [ ] Rate limit issue creation/commenting in UI # Contributing If you'd like to help out with forge federation but don't know where to start, the links below might be helpful. ## General Some high-level links for learning about forge federation and the bigger picture - https://matrix.to/#/#general-forgefed:matrix.batsense.net General forge federation chatroom - https://matrix.to/#/#forgefederation:matrix.batsense.net Forge federation Matrix space - https://forum.forgefriends.org/ ForgeFriends forum - https://forgeflux.org/ Forge federation using forge APIs - https://coding.social/ Social Coding movement - https://forgefriends.org/blog/2022/06/30/2022-06-state-forge-federation/ The state of forge federation, 2021-2023 ## ActivityPub Resources for learning ActivityPub (AP) - https://activitypub.rocks/ Official ActivityPub website - https://www.w3.org/TR/activitypub/ ActivityPub specification - https://socialhub.activitypub.rocks/pub/guide-for-new-activitypub-implementers Guide for AP implementers - https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/ Tutorial for implementing a very basic AP server - https://blog.joinmastodon.org/2018/07/how-to-make-friends-and-verify-requests/ Tutorial for federated following - https://docs.joinmastodon.org/spec/activitypub/ Mastodon's AP subset - https://tinysubversions.com/notes/reading-activitypub/ How to read the AP spec - https://flak.tedunangst.com/post/ActivityPub-as-it-has-been-understood Lots of AP resources - https://delightful.club/delightful-activitypub-development/ AP developer resources ## ForgeFed Forge federation protocol based on AP - https://forgefed.org/ ForgeFed website - https://codeberg.org/ForgeFed/ForgeFed ForgeFed repo - https://matrix.to/#/#forgefed:libera.chat ForgeFed chatroom - https://vervis.peers.community/browse Reference ForgeFed implementation ## Go-Ap A lightweight AP library in Go that Gitea is using for implementing federation - https://github.com/go-ap/activitypub Lightweight Go implementation of AP - https://github.com/go-ap/fedbox Reference implementation of a AP server using go-ap - https://github.com/mariusor/go-littr Federated link aggregator using go-ap - https://man.sr.ht/~mariusor/go-activitypub/go-ap/index.md go-ap docs - https://lists.sr.ht/~mariusor/activitypub-go go-ap mailing lists # Running federated Forgejo You can also help federation development by running federated Forgejo and reporting bugs and regressions. - Make backups: This code will make possibly unexpected changes to your database. - Compile: Clone this repo and checkout the `forgejo-federation` branch. If you would like to build a Docker image, there is a `Dockerfile` in this repo. If you would like to build a binary, install Go and Node.js and then run `TAGS="bindata" make`. - Configuration: Set `ENABLED=true` in the `[federation]` section of your config file.
  14. Srevin Saju (srevinsaju@mstdn.io)'s status on Monday, 19-Dec-2022 12:04:12 UTC Srevin Saju Srevin Saju
    in reply to
    • Bernie

    @codewiz I am interested to see how Gitea’a fork, “Foregejo” will be implementing federation of Git repositories

    In conversation Monday, 19-Dec-2022 12:04:12 UTC from mstdn.io permalink
  15. Srevin Saju (srevinsaju@mstdn.io)'s status on Monday, 19-Dec-2022 10:23:53 UTC Srevin Saju Srevin Saju
    in reply to
    • Bernie

    @codewiz I always thought 私のせいalways meant “it’s because of me”, but didn’t know that if we use a different kanji, it would be “it’s my fault”, but both of them make sense.

    In conversation Monday, 19-Dec-2022 10:23:53 UTC from mstdn.io permalink
  16. Srevin Saju (srevinsaju@mstdn.io)'s status on Monday, 19-Dec-2022 06:51:41 UTC Srevin Saju Srevin Saju
    in reply to
    • Bernie

    @codewiz I will go for a ‘no’ because I am here for the drama. And yes, we have mastodon 😛

    In conversation Monday, 19-Dec-2022 06:51:41 UTC from mstdn.io permalink
  17. Srevin Saju (srevinsaju@mstdn.io)'s status on Tuesday, 13-Dec-2022 20:50:49 UTC Srevin Saju Srevin Saju

    Our first task in the microprocessor and microcontroller lab was to 🥁🥁🥁….
    Add two numbers on the intel 8086 microprocessor
    #university #assembly #cse #processor #intel8086

    In conversation Tuesday, 13-Dec-2022 20:50:49 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/505/226/514/867/062/original/bf4a61f9094dd96f.png
  18. Srevin Saju (srevinsaju@mstdn.io)'s status on Thursday, 08-Dec-2022 18:47:23 UTC Srevin Saju Srevin Saju
    in reply to
    • Bernie

    Our professor started off the lecture by giving an example of the Intel 8086’s segmented memory: code, stack, extra and data. It was interesting to see Intel 8086 discussed here, something I recently saw on Mastodon, being taught at university.
    cc @codewiz
    #university #compsci #cse #Intel8086

    In conversation Thursday, 08-Dec-2022 18:47:23 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/479/455/093/901/974/original/d1a3ca83f2596d57.png
  19. Srevin Saju (srevinsaju@mstdn.io)'s status on Thursday, 08-Dec-2022 18:47:22 UTC Srevin Saju Srevin Saju
    in reply to
    • Bernie
    • Ken Shirriff

    Apparently this post by @kenshirriff was my introduction to the Intel 8086 chip. Not sure if these chipsets are going to be an important part of the syllabi.
    https://oldbytes.space/@kenshirriff/109412325323089208
    And… we have these Carl Hamacher’s Computer Organization, 5th edition as a reference material.
    @codewiz

    In conversation Thursday, 08-Dec-2022 18:47:22 UTC from mstdn.io permalink

    Attachments

    1. Ken Shirriff (@kenshirriff@oldbytes.space)
      from Ken Shirriff
      Attached: 1 image The Intel 8086 was released in 1978, starting the x86 line that still dominates computing. I'm reverse-engineering the chip by studying the silicon die, and I think I've spotted a bug fix in the silicon. They didn't have microcode updates then so they patched the silicon. 🧵
  20. Srevin Saju (srevinsaju@mstdn.io)'s status on Thursday, 08-Dec-2022 18:41:57 UTC Srevin Saju Srevin Saju

    Today we had our first lecture on Computer Architecture and Organization
    #university #computer #cse #compsci #engineering #assembly

    In conversation Thursday, 08-Dec-2022 18:41:57 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/479/426/282/401/657/original/7eb22cf304f55574.png
  • After
  • Before

User actions

    Srevin Saju

    Srevin Saju

    DevOps Engineer & Open sourcerer 👨‍💻 ✨Developer by ❤️Trying to make Linux :linux: more user friendly, and constructionist education more powerful.#sysadmin and #developer @sugarlabs #developer @AppImage, #developer @KDEGitHub: https://github.com/srevinsaju

    Tags
    • (None)
    ActivityPub
    Remote Profile

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          24668
          Member since
          28 Aug 2021
          Notices
          111
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • Privacy
          • Source
          • Version
          • Contact

          Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.