Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

It seems intuitively obvious to me, which means that it might be wrong. -- Chris Torek


devel / comp.lang.go / quine.go

SubjectAuthor
* quine.goJack Ryan
`- quine.gorek2 hispagatos

1
quine.go

<20231231162356.2E8461005FC@tidalhost.archiade.net>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=11&group=comp.lang.go#11

  copy link   Newsgroups: comp.lang.go
DKIM-Filter: OpenDKIM Filter v2.11.0 tidalhost.archiade.net 2E8461005FC
From: jackryan@example.invalid (Jack Ryan)
Subject: quine.go
Message-Id: <20231231162356.2E8461005FC@tidalhost.archiade.net>
Date: Sun, 31 Dec 2023 11:23:54 -0500 (EST)
Newsgroups: comp.lang.go
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mail
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 2001::1/128
 by: Jack Ryan - Sun, 31 Dec 2023 16:23 UTC

package main

import "fmt"

func main() {
fmt.Println("Happy New Year 2024!")
q := "package main%c%cimport %cfmt%c%c%cfunc main() {%c fmt.Println(%cHappy New Year 2024!%c)%c q := %c%s%c%c fmt.Printf(q, 10, 10, 34, 34, 10, 10, 10, 34, 34, 10, 34, q, 34, 10, 10, 10)%c}%c"
fmt.Printf(q, 10, 10, 34, 34, 10, 10, 10, 34, 34, 10, 34, q, 34, 10, 10, 10)
}

Re: quine.go

<un1mvt$74m8$1@matrix.hispagatos.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=12&group=comp.lang.go#12

  copy link   Newsgroups: comp.lang.go
Path: i2pn2.org!i2pn.org!news.hispagatos.org!.POSTED!not-for-mail
From: rek2@hispagatos.org.invalid (rek2 hispagatos)
Newsgroups: comp.lang.go
Subject: Re: quine.go
Date: Tue, 2 Jan 2024 19:08:45 -0000 (UTC)
Organization: Hispagatos
Message-ID: <un1mvt$74m8$1@matrix.hispagatos.org>
References: <20231231162356.2E8461005FC@tidalhost.archiade.net>
Reply-To: ReK2 <rek2@hispagatos.org>
Injection-Date: Tue, 2 Jan 2024 19:08:45 -0000 (UTC)
Injection-Info: matrix.hispagatos.org;
logging-data="234184"; mail-complaints-to="abuse@hispagatos.org"
User-Agent: slrn/pre1.0.4-9 (Linux)
 by: rek2 hispagatos - Tue, 2 Jan 2024 19:08 UTC

On 2023-12-31, Jack Ryan <jackryan@example.invalid> wrote:
> package main
>
> import "fmt"
>
> func main() {
> fmt.Println("Happy New Year 2024!")
> q := "package main%c%cimport %cfmt%c%c%cfunc main() {%c fmt.Println(%cHappy New Year 2024!%c)%c q := %c%s%c%c fmt.Printf(q, 10, 10, 34, 34, 10, 10, 10, 34, 34, 10, 34, q, 34, 10, 10, 10)%c}%c"
> fmt.Printf(q, 10, 10, 34, 34, 10, 10, 10, 34, 34, 10, 34, q, 34, 10, 10, 10)
> }
>
>

Happy new years to all of you as well!
PD: Very neat!

Happy Hacking
ReK2

--
- {gemini,https}://{,rek2.}hispagatos.org - mastodon: @rek2@hispagatos.space
- [https|gemini]://2600.Madrid - https://hispagatos.space/@rek2
- https://keyoxide.org/A31C7CE19D9C58084EA42BA26C0B0D11E9303EC5

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor