From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Polyakov Newsgroups: gmane.lisp.guile.user Subject: Re: Web development without connections to external repl (in geiser) Date: Sun, 16 Oct 2022 09:49:20 +0500 Message-ID: <871qr8jru7.fsf@gmail.com> References: <874jw4ki0h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19760"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Oct 16 06:49:54 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojvaz-00052H-M2 for guile-user@m.gmane-mx.org; Sun, 16 Oct 2022 06:49:53 +0200 Original-Received: from localhost ([::1]:40388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojvay-0000Bu-A1 for guile-user@m.gmane-mx.org; Sun, 16 Oct 2022 00:49:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojvag-0000Bi-4m for guile-user@gnu.org; Sun, 16 Oct 2022 00:49:34 -0400 Original-Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:43729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojvae-0001gY-9l for guile-user@gnu.org; Sun, 16 Oct 2022 00:49:33 -0400 Original-Received: by mail-lf1-x12d.google.com with SMTP id d6so12937430lfs.10 for ; Sat, 15 Oct 2022 21:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=k4q4hOmUCQNBdDHm+UKskRRBjZgBannvMkceWjhBGrk=; b=jJsPM3Fk48is3XePSQvxo3cf3+kD0uoMBQWbCvsH8mclCAuW2SikMfv9Lr2M0Mi9Jq fmMZ3v4YYqoCjimlrh57hvQWpu74Wf/mfIRZwtSAUG15649ElfROuZG1wJ9kBuBymx+n xwMLan9IqXyyN41XkV4TyDXGGx4sKyHu4RO/TkV2OcbGbCKgzsrluuC/GzJJ25ty6EQh 9M2v1Z3IN7uoBLPGRkw4VcWhSbfWMcy9kQhNk+uMtbKyMvNSHFqh0qJD2YRNkBwSS1Wc 2pN4liBxpqNiSE2dbT6ArMvBYy1D3hLgbcuGqe5AQAYWFxlX4+i073l6ucPM7xPIQvLc KpRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=k4q4hOmUCQNBdDHm+UKskRRBjZgBannvMkceWjhBGrk=; b=HmckR7jUeGrZCc7YFUNeiJd2wG/UvfTU8JLxcT39p9upd4yxTMyK15LEus+i3JAg4Q OrQ6RNDPhAA4UvEn9LItKRRyow6cdsKS5FUaIeJkUb/ObRoLVCdyuPenu3Sc5y0kYKQt qnhNvDLqZOm2g/DdXYl6ghV7cyMocV0ChWE6U2UnQGavoX1BSKxn6OpwAPEcgi4oi4ho //aYYe4uy80E2o27+ltTwFT4uP/MjvQNESAtxzHn/WABxM+POxVn2d/3UlseqebWe+Qh 8B5PBOjix8gaaJpEMK4vidctLOf8JsgmCeMnvPg/31lD8lz3aKWtzeHuqblxvQHdE9y4 QGMA== X-Gm-Message-State: ACrzQf1MXBBnsAAy4Fm60NyFcYcmfuzRRHcREIsMAyoG4uPmp4OTbKXu c4mjPbUENzI+vi1eJGQS2po6TIM9+CTTSQ== X-Google-Smtp-Source: AMsMyM64EsITwuCbv4uhrYhD/YSNu7Sde8lhig8yafdVWc2kTSJLMl7UeCzSLLL8Vsl9TFFa0X9kJw== X-Received: by 2002:ac2:5b9b:0:b0:4a2:3c73:b5ec with SMTP id o27-20020ac25b9b000000b004a23c73b5ecmr1723361lfn.18.1665895762300; Sat, 15 Oct 2022 21:49:22 -0700 (PDT) Original-Received: from localhost ([109.195.103.71]) by smtp.gmail.com with ESMTPSA id y22-20020ac24476000000b0049493c14b17sm935635lfl.181.2022.10.15.21.49.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 21:49:21 -0700 (PDT) In-Reply-To: <874jw4ki0h.fsf@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=liltechdude@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18653 Archived-At: Dmitry Polyakov writes: > Hello guilers! > > As far as I can see, current method for interactive web development is > to connect to external guile-instance-with-listen-option with geiser. > > Using fibers, I thought I could run the web server in seperate thread > that dont block current one where, for example, I could rebind the > handler (via ice-9 atomics or something). But it's not, after eval > (run-server handler), repl get stuck. May be I misunderstood something? > This is code: May this is because of main thread is blocked by REPL?