GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    lamp (lamp@kitty.haus)'s status on Thursday, 18-Jan-2024 05:46:35 JST lamp lamp
    in reply to
    • KIRBY IN HELL
    @kirby How do u peek at the end of it without knowing the file size bro?
    In conversation Thursday, 18-Jan-2024 05:46:35 JST from kitty.haus permalink
    • Embed this notice
      iced depresso (icedquinn@blob.cat)'s status on Thursday, 18-Jan-2024 05:46:35 JST iced depresso iced depresso
      in reply to
      • KIRBY IN HELL
      @lamp @kirby the OS knows :blobcatpensive2:

      and.. it depends. in Nim the stream interface doesn't know the size of a stream, but the file handle does, so you have to ask the file handle what the size is. i think a similar situation existed in Delphi and some others. some frameworks you have to do a stupid thing like seek to the zeroeth offset from the end of the file.
      In conversation Thursday, 18-Jan-2024 05:46:35 JST permalink
    • Embed this notice
      KIRBY IN HELL (kirby@mashtodon.alterracloud.com)'s status on Thursday, 18-Jan-2024 05:46:36 JST KIRBY IN HELL KIRBY IN HELL

      is the most efficient way to get a file size seriously to just peek to the end of it and save the position somewhere

      In conversation Thursday, 18-Jan-2024 05:46:36 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.