From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f42.google.com ([209.85.210.42]) by ewsd; Sat Jul 18 16:49:14 EDT 2020 Received: by mail-ot1-f42.google.com with SMTP id e90so9418470ote.1 for <9front@9front.org>; Sat, 18 Jul 2020 13:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=F1aEsM3L/Fsrqkm4qs7F4eJ6B1NaElwnHZqbWU7pgPI=; b=tk3KJsgvoqhTnFJPY1ePIujT8wqc/9I66jEd2iM1KOy9TWTenl84ukCAllZB9CeCC2 xEb6l0+3PY2FV7D0Pj3h4TsG6X+D/3dINVS0bgxl37/ndk9fz21pJalLGnMQLR8qXLnd oEWMN87opzzHwVy697GwvsQyIbBtc6oMTROjx/c9re4i4086akttrCo5KatHXY7X2cBA NY6dHiBLs+cUFMtpA/sCFpHjWj6T+KG34v3rqBHQon9ozw1FT/nkC/+BG953pb4Sai63 zIxDDl7Z+GSc+2LhGHKMWe4Boovi29hkSBrODChNF2wp+USTH7vaSY6aFQ5DyvY/uKok IDaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=F1aEsM3L/Fsrqkm4qs7F4eJ6B1NaElwnHZqbWU7pgPI=; b=HyGRbUPb3DZpobUaVR0rYDKncdFmj4CNbA0WXaOgvGLjhDW6K559mawjxfE7bgYTTB PVMba45YxDiheVfDAZfGtq9XcJYiRq9WfvE/9YCOGOxBVdt5bUY9bta072jsH0+K4YSK uXp1jOudwndzHdaQsqdXvEQGxuR/NAV2mfDy1akx5A3HUxROnLhdMwQO0++7bkGIpqES 5ilPiRlUhmT4YUBO4DrmI8sK7gNjYQbHJxYAp0OHcZeOHdXqw0ArfTk47IP1/KoNzkR3 R5RiD6H3DqeRBFg2pyj2zvvl5xEh9V3jBqWQBIZBdFtRvqr/FOgXnEQBKyVCcFmUlI4n OP1g== X-Gm-Message-State: AOAM533maxQkzKaYeYRBrFkF/LoYvoj5mFZ6BK+1GRVHCj6tRslPl3+n 6soeWW8Mvj8BLkIA8yZ1MQhnNUbzlkU= X-Google-Smtp-Source: ABdhPJyorEXunWxFqisdH4qdy8zbOASxtdXdzw/d03gyBLPUAGWNKXdZ0NWLEOhpd4E3spp76RwoWg== X-Received: by 2002:a05:6830:441:: with SMTP id d1mr12972446otc.6.1595105351105; Sat, 18 Jul 2020 13:49:11 -0700 (PDT) Return-Path: Received: from ?IPv6:2600:1700:8170:e391:295b:5c75:28eb:943? ([2600:1700:8170:e391:295b:5c75:28eb:943]) by smtp.gmail.com with ESMTPSA id u19sm2831402oic.10.2020.07.18.13.49.09 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jul 2020 13:49:10 -0700 (PDT) From: William Gunnells Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [9front] package install Date: Sat, 18 Jul 2020 13:49:06 -0700 References: <6AC170A303C52E0C0E4C86F3C04C264C@eigenstate.org> To: 9front@9front.org In-Reply-To: <6AC170A303C52E0C0E4C86F3C04C264C@eigenstate.org> Message-Id: <29266269-7B53-4539-861D-72B3C435ADC2@gmail.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: map/reduce-aware metadata general-purpose backend Wow thanks.=20 I feel like i=E2=80=99m cheating. Sure I got this thing up and running. = But I have no idea how to run it. Let me rephrase. While I love my = MacBook and it's a requirement for work at apple. I=E2=80=99m sick of = linux and docker and amazon linux AMI=E2=80=99s and All the different = flavors of linux that are broken, not sure how to express that right. It = seems like I waste a lot of time doing the same thing? I don=E2=80=99t = know. I stopped gaming also and erased windows (the perfect gaming = platform) and installed or tried to install Ubuntu. That whole = experience brought back horrible memories and went down the various = Debian flavors with no such luck. Then I installed OpenBSD and was blown = away. Brought back so many memories. I had it installed on a Toshiba = Libretto back in the day and had to spend a lot of time in UKC for the = Orinoco wifi drivers.=20 This whole experience was super refreshing and I vowed not install linux = on any of my own personal stuff. OpenBSD was very clean and simple. The = package management system was a delight. But it got me thinking. Because = I remember. I had an interest in Plan9. I installed it a few times but = never really did anything significant perhaps my children and marriage = got in the way.=20 I thought for sure plan9 was dead. I sent mail to somebody named = Colombier a few years ago. Not even sure if that person is around. I = started asking around if plan9 was still alive and they responded with = 9legacy. The documentation was the same and just as horrible as before. = Perhaps it was just me and the documentation was fine. I just didn=E2=80=99= t understand it. I would get it up and running then say now what. Why am = I slave to a browser. Ed seemed fine, not a fan of sam, acme was = strangely hopeful. But then I wasn=E2=80=99t doing anything really. I gave up and watched Tron and Tron Legacy. Who knows why? That was = where my brain was at the time. Remembering the past, remembering that = things could be different. Why follow the crowd. These new young = programmers suck anyways. Not saying I'm a great programmer by any = means. But I noticed that they only know some small little slice of what = they are doing. They can code an app but know next to nothing about = networking, automation, data pipeline, dev ops etc... So here I am again. Hopeful and determined not to let this go for some = silly reason. My kids are grown up and I=E2=80=99m happily divorced. I = just can=E2=80=99t let the MC (movie reference tron) take over for some = reason. Can I use acme as my new IDE for my day job programming some sort of = automation tool that I have to do anyways its in 9ports. Most of my work = ends up in pie compute or AWS. I don=E2=80=99t use browser for any of = that work. This should be a cake walk.=20 Most of the Unix tools are the same. Find is gone or replaced with some = sort of cumbersome du with different flags. But awk is here. rc is = strange as apposed to bash. But then I feel silly. Why did I restrict = myself. I spend most of my time writing python because its the best tool = for automating AWS resources, troposphere, for generating cloud = formation templates, or just using boto3 to get move change some AWS = object. I did do a couple of tasks in c# a few months ago for image = manipulations. Python was simply too slow for the task.=20 Plan9 was all about C. Just C and i noticed Go. So as you can imagine by = this short novella I=E2=80=99m writing my brain is buzzing.=20 I feel like I need to write better documentation. Not to burst the = bubble of the author for FQA which so far is the best I have seen. But = maybe plan9 for dummies such as myself who let kids take over my life = and now I=E2=80=99m wanting to immerse myself in matrix again.=20 What to do after you installed CPU/Auth + FS and make a successful = Drawterm session. Do you split-up the FS or keep those 3 things = together. If you need another CPU for speed just add it. Should I gut my = mac mini and install plan9 on it. That would be a pain in butt, also a = learning experience if I can get it done. What=E2=80=99s the benefits of = splitting them up. Honestly I don=E2=80=99t see any at this point. It = seems like if you have FS on some other server it needs to have a fast = connection. Perhaps authentication since you only need to do that once = and briefly.=20 Then I though why have it installed at home. My business cable = connection is slower than AWS. Can this be installed on AWS? How = difficult would it be to build an AMI. I guess in the progress of = building the AMI I would have to setup auth/keyfs and all of that stuff = including making SSH v2 work with AWS keygen. So it's a lot of services = to think about. But really that=E2=80=99s the same for everything else. = Or would it be cheaper to host this on rat shack or something similar.=20= In chapter 2 William shares his favorite plan9 productivity tool.=20 Regards- > On Jul 18, 2020, at 12:39 PM, ori@eigenstate.org wrote: >=20 >> little confused. How about an example >>=20 >> I=E2=80=99m logged in as glenda. I guess it would be=20 >> 9fs 9front=20 >> mkdir /usr/glenda/inst >> cp /n/extra/links* /usr/glenda/inst >> tar xvzf links*.tgz >> cd links_version/ >> mk install=20 >> or am I all wrong.=20 >> I do get errors >> initializer is not constant: plan9_driver >> pcc: cpp: 8c5510: error >>=20 >> maybe I should get mail working on this first? >>=20 >=20 > FWIW, this change fixes the build: >=20 > --- plan9.c.orig Fri Jul 17 19:27:00 2020 > +++ plan9.c Sat Jul 18 12:36:54 2020 > @@ -913,7 +913,11 @@ > return sz.x; > } >=20 > -extern long (*color_pass_rgb)(int); > +long > +plan9_color_pass_rgb(int c){ > + extern long (*color_pass_rgb)(int); > + return color_pass_rgb(c); > +} >=20 > Gfxdrvr plan9_driver=3D{ > (uchar *)"plan9", > @@ -930,7 +934,7 @@ > plan9_unregister_bitmap, > plan9_draw_bitmap, > plan9_draw_bitmaps, > - color_pass_rgb, > + plan9_color_pass_rgb, > plan9_fill_area, > plan9_draw_hline, > plan9_draw_vline,