Re: [9fans] equality sign in Rc

2017-05-16 Thread Giacomo Tesio
d extend till the end of a single command: ; & && and || should stop it. Note that it's the first time I use yacc, so probably there is a better way to code this and there are probably bugs. For example I was unable to make this works: % $ echo ./configure --prefix=`{cat /env/

Re: [9fans] Blocking on write

2017-05-17 Thread Giacomo Tesio
In Jehanne, I decided to test both: if the queue is not closed there's no need to check up->errstr. Thanks for your help! Giacomo 2017-05-15 18:12 GMT+02:00 Charles Forsyth : > > On 15 May 2017 at 16:46, Giacomo Tesio wrote: > >> Shouldn't the waserror code c

[9fans] double lock in proc.c

2017-07-24 Thread Giacomo Tesio
x27;m a paranoid - presotto. */ (see https://github.com/0intro/plan9/blob/master/sys/src/9/port/proc.c#L882-L887) I'd like to know a bit more about Miller's solution as I'd like to simplify postnote. Any hint or source code? Giacomo

Re: [9fans] The Case for Bind

2017-09-15 Thread Giacomo Tesio
lot for your free and (really) useful work. And as long as you align with their purposes they will threat you as a peer. It's not that those developers are evil but there's a large amount of politics inside these companies they have to cope with. And ultimately, the companies that pay them are not pursuing values, just long term profits. Giacomo

Re: [9fans] The Case for Bind

2017-09-18 Thread Giacomo Tesio
2017-09-17 23:06 GMT+02:00 Marshall Conover : > Giacomo - While thinking on your advice, I realized most of what I've done > so far is just a fix for a bug in their current exposed version of the > 'bind' command. > Just read carefully https://fuchsia.googleso

[9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
tween the two conventions, so maybe I'm just missing something obvious... Do anyone know what considerations led to such design decision? Giacomo

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
Really? Just aesthetics? :-o I supposed it had some practical goal I was missing, since for example the original Rc paper still referred to $IFS. This would flips the question a bit: I wonder why the same designers chose uppercase variable names while designing Unix... :-) Giacomo 2017-10-17

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
taste changes with age, but costs accumulate... :-) BTW, thanks for your answers! Giacomo 2017-10-17 17:18 GMT+02:00 Charles Forsyth : > since for example the original Rc paper still referred to $IFS. > > > really? the only references to IFS I can find are in comparisons of $ifs

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
Also, why NPROC has been left uppercase? :-) Giacomo 2017-10-17 17:45 GMT+02:00 Giacomo Tesio : > In *rc* you use quotation marks when you want a syntax character to >> appear in an argument, or an argument that is the empty string, and at no >> other time. IFS is no longer u

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
2017-10-17 18:00 GMT+02:00 Skip Tavakkolian : > On Tue, Oct 17, 2017, 8:05 AM Giacomo Tesio wrote: > >> Really? Just aesthetics? :-o >> > > >> This would flips the question a bit: I wonder why the same designers >> chose uppercase variable names while desig

[9fans] rc: $* != '/env/*'

2017-10-18 Thread Giacomo Tesio
I have been a bit surprised to see that $* does not always contains the same as '/env/*': % echo $* % cat '/env/*' % lc bin/ lib/ tmp/ % echo $* % cat '/env/*' /bin/lc% Not really an issue, but why this happens? Giacomo

Re: [9fans] rc: $* != '/env/*'

2017-10-18 Thread Giacomo Tesio
ce -d is a no-op (why?) and -r for this early rfork, but I have no idea of what it would broke. Giacomo 2017-10-18 19:25 GMT+02:00 Skip Tavakkolian : > yes. lc -- an rc script -- shares the environment with the rc that starts > it; so env is updated with arglist of lc. $* is the arglist th

Re: [9fans] rc: $* != '/env/*'

2017-10-19 Thread Giacomo Tesio
asked about the "dirty" /env/* because I thought it could have had a purpose I was missing. Giacomo

Re: [9fans] Backgrounding a task

2017-10-24 Thread Giacomo Tesio
age that make the plumber clone the name space of a target process. This should address both use-cases without issues for the processes running in the original name space. Giacomo

Re: [9fans] Backgrounding a task

2017-10-24 Thread Giacomo Tesio
y and add a ns/clone command that take a pid and a command to run so that ns/clone 256 rc would start a new rc in a copy of the name space of the process with pid 256. Giacomo 2017-10-24 21:18 GMT+02:00 Giacomo Tesio : > 2017-10-24 16:21 GMT+02:00 Alex Musolino : >> Creating a ch

Re: [9fans] Backgrounding a task

2017-10-24 Thread Giacomo Tesio
Here it is: https://github.com/JehanneOS/jehanne/blob/master/sys/src/cmd/ns/clone.c I'll leave the modifications to the plumber for another boring night... Giacomo 2017-10-25 1:00 GMT+02:00 Chris McGee : > >> Think about multiple processes owned by multiple users running on a

[9fans] Proc's dot after rfork(RFCNAMEG) (was: Backgrounding a task)

2017-10-25 Thread Giacomo Tesio
if this is an intended feature or a security issue. If it is an intended feature can you provide an usage example? Giacomo

[9fans] truly hidden files!

2017-11-02 Thread Giacomo Tesio
d be accessible to programs knowing their exact names but not visible to the poor user who ignore them. I wonder if this can be turned to a security issue. Eg an invisible pipe named "null" and bound before to /dev could receive top secret data you wanted to destroy. Giacomo PS: knowing

Re: [9fans] truly hidden files!

2017-11-02 Thread Giacomo Tesio
me name, so you know what you are going to open. But here you can open a file that is not actually visible in the containing folder. Giacomo 2017-11-02 17:39 GMT+01:00 : > what do you not understand about private namespaces? > > -- > cinap >

Re: [9fans] Spectre and Meltdown

2018-01-15 Thread Giacomo Tesio
oor understanding of how plan 9 and 9front already manage user memory. As far as I can remember plan9 flush tables very often and clearly separate kernel memory pages and user space memory. So my dumb question is: are plan9/9front and friends actually vulnerable to Meltdown? Giacomo

Re: [9fans] Talk by Charles Forsyth on Feb 1st at Imperial College London, 13:00 -14:00

2018-01-29 Thread Giacomo Tesio
Please share a link here, when ready! Giacomo 2018-01-29 11:36 GMT+01:00 Hugues Evrard : > Yes it should be recorded, and made available online later on (I needed > confirmation before answering here). > Thanks, > Hugues > > > On 24/01/18 09:32, Fran. J Ballesteros wrote:

Re: [9fans] There is no fork

2018-02-11 Thread Giacomo Tesio
ments). Jehanne is the project that diverged most from the original Plan9 design, with its own set of crazy decisions, but currently it's an unstable toy. Giacomo 2018-02-10 3:48 GMT+01:00 Benjamin Huntsman : > Just curious as to the state of the union. Is 9front pretty much the de > fa

Re: [9fans] There is no fork

2018-02-11 Thread Giacomo Tesio
n9-9k @Rui: Jehanne diverged a lot from Plan 9, in a pursuit for my vision of simplicity. While it's in no way a Unix, many won't even consider it a Plan 9 system. Still for anyone interested: http://jehanne.io Giacomo

Re: [9fans] There is no fork

2018-02-12 Thread Giacomo Tesio
? Probably C. But I wonder if a more high level language could make the job easier without increasing too much the project scope. So far candidates alternatives (that I still need time to evaluate deeply) are Wirth's Oberon-07 and Obi's Myrddin. Giacomo

Re: [9fans] There is no fork

2018-02-12 Thread Giacomo Tesio
2018-02-12 14:05 GMT+01:00 Ethan Grammatikidis : > On Mon, Feb 12, 2018, at 8:33 AM, Giacomo Tesio wrote: >> 2018-02-12 2:10 GMT+01:00 Ethan Grammatikidis : >>> linux-style package managers and bsd-style port trees facilitate and enable >>> coupling. >> >> W

Re: [9fans] There is no fork

2018-02-12 Thread Giacomo Tesio
before going crazy about security, consider that the shell running TeXlive will only see a limited namespace, containing only the file it has to work with and nothing else. But this is not going to happen soon... People do not hate Javascript enough, yet... :-D Giacomo

Re: [9fans] 9n

2018-05-02 Thread Giacomo Tesio
a mount is done, seems pretty complex and prone to deadlocks. > Don't you have a tricorder? > No... but usually I can get away with my sonic screwdriver... :-) Giacomo

Re: [9fans] 9n

2018-05-02 Thread Giacomo Tesio
uce? I can foresee some (eg bind semantics) but maybe I'm missing some of them. > Good luck and have fun. > Thanks! :-) Giacomo > > > On 2 May 2018, at 19:14, Giacomo Tesio wrote: > > > > 2013-06-17 21:06 GMT+02:00 Nemo : > > You should ask if anyo

Re: [9fans] PDP11 (Was: Re: what heavy negativity!)

2018-10-10 Thread Giacomo Tesio
le set of kernel abstractions that can support a distributed operating system able to replace the mainstream Web+OS mess. You know... heretics are crazy, too! Giacomo

Re: [9fans] PDP11 (Was: Re: what heavy negativity!)

2018-10-15 Thread Giacomo Tesio
/github.com/brho/plan9/blob/master/sys/src/cmd/fcp.c Giacomo

Re: [9fans] A heartfelt thanks... :-)

2018-11-15 Thread Giacomo Tesio
ke. http://jehanne.io/2018/11/15/simplicity-awakes.html Feel free to ask any question! Giacomo

Re: [9fans] A heartfelt thanks... :-)

2018-11-16 Thread Giacomo Tesio
rt: https://github.com/JehanneOS/jehanne/blob/master/sys/src/lib/c/9sys/sleep.c#L23 The blocking system call used in sleep is rendezvous that, in Jehanne, can never occur at tag ((void*)~0). Giacomo

Re: [9fans] Plan 9 64-bit?

2019-01-30 Thread Giacomo Tesio
Not sure if anybody cares, but Jehanne's kernel derives from a version of Charles https://bitbucket.org/forsyth/plan9-9k cherry picked from 2015. Giacomo

[9fans] Plan 9 on Xen 3.0

2008-10-27 Thread Giacomo Tesio
installing the last version of Plan 9 on XEN 3.0? If so, any suggestion? Thanks you all! Giacomo

[9fans] What about Haskell? [was: How can I use alef?]

2008-11-20 Thread Giacomo Tesio
k it could be useful on a Plan 9 grid/environment. Giacomo PS: stream of consciousness was: limbo -> erlang (which I took a look) -> haskell On Thu, Nov 20, 2008 at 4:47 PM, Sergey Zhilkin <[EMAIL PROTECTED]> wrote: > > > 2008/11/19 Nolan Hamilton <[EMAIL PROTECTED]> &

Re: [9fans] web-based plan 9?

2008-11-20 Thread Giacomo Tesio
uage itself... As the smarty template engine shown to php programmers, even easy programming language has to be put outside the "presentation layer". Actually I have to study factotum more since I could not understand how you want to use it in a web environment. Giacomo Giacomo

Re: [9fans] web-based plan 9?

2008-11-21 Thread Giacomo Tesio
totum and /srv/ could do this? > fyi, here's the rc version of 'save' that uses cgifs: > > Wondefully simple. The only issue is the programmer have to handle directly the protocol (as in any CGI). I'd like to abstract a little more. Thank you a lot if you read till here! :-D Giacomo

Re: [9fans] web-based plan 9?

2008-11-21 Thread Giacomo Tesio
> I'd like to know how do you would map the operations to the filesystem. Query result in a filesystem hierachy would be a pain... xml would be better, since you could transform it quickly. BTW, there should be an xmlfs project waiting somewhere... Giacomo

Re: [9fans] web-based plan 9?

2008-11-21 Thread Giacomo Tesio
will be readable > > Query result in a filesystem hierachy would be a pain... xml would be >> better, since you could transform it quickly. >> BTW, there should be an xmlfs project waiting somewhere... >> > > ah xml, the ultimate 2d grid ! I'm missing what you mean. xlmfs is bugged? Giacomo

Re: [9fans] web-based plan 9?

2008-11-22 Thread Giacomo Tesio
safe. And who pay me could accept a bug in the software if his data (suppose the contability of a bank) are kept ok. > would you put up with a file system > that required you to do the locking and inode allocation yourself? Why? The question is not clear to me... > > - erik Giacomo

[9fans] dbfs and web framework for plan 9 (was: web-based plan 9?)

2008-11-23 Thread Giacomo Tesio
ple was, but > that's a common source of irritation for online shopping. It was hypothetical. But, to keep back your cart you MUST be logged (some times adding to the shopping cart don't require authentication) and the cart status have to be saved somewhere (the database?). Note that such a strategy could lead to problems too: what about if you fill a shopping cart with discounted products and submit it a month later, when discounts disappear? Are you sure you would be check if the prices have changed? I think so... you use Plan 9... But customers, often, use Windows... they are not so smart! :-D Giacomo

Re: [9fans] dbfs and web framework for plan 9 (was: web-based plan 9?)

2008-11-24 Thread Giacomo Tesio
On Sun, Nov 23, 2008 at 11:06 PM, Enrico Weigelt <[EMAIL PROTECTED]> wrote: > * Giacomo Tesio <[EMAIL PROTECTED]> wrote: > > Hi, Hi! Thanks for your reply. A premise: I'm not talking about developing a web forum or the like. I'm talking about a framework to

Re: [9fans] dbfs and web framework for plan 9 (was: web-based plan 9?)

2008-11-24 Thread Giacomo Tesio
> > BTW, if you miss a post on a forum, you would be *hungry*. > LOOL! ! ! I was meaning... angry... :-D

Re: [9fans] dbfs and web framework for plan 9

2008-11-24 Thread Giacomo Tesio
hable results (SELECT, FETCH, SHOW...) require a tool to easily query such an output. It seem Plan 9 miss such a tool. xmlfs actually is unsuitable. (I'm thinking about an xpath command accepting xml in stdin and the xpath query as an argument, and return to stdout the results) Giacomo

[9fans] xml2 and APE

2008-11-25 Thread Giacomo Tesio
Hello list, I've found in http://netlib.bell-labs.com/wiki/plan9/Contrib_index/ the xml2 (libxml2-2.6.30 for APE) package from Federico G. Benavento. I was wondering if I have to use all the APE to use the library for writing a Plan 9 application. Giacomo

[9fans] libixp

2008-11-25 Thread Giacomo Tesio
Anyone know if with such a library I could write an application on linux mountable from Plan 9? I've understood it could be used for syntetic fs accessible from the local machine (as for wmii), but what about accessing such filesystem from outside? Giacomo

Re: [9fans] xml2 and APE

2008-11-25 Thread Giacomo Tesio
Ehm... Sorry... :-D As I knew libxml2, I directly searched "libxml2" in the contrib page... You're right... I'll use that. :-D Giacomo On Tue, Nov 25, 2008 at 9:40 PM, Federico G. Benavento <[EMAIL PROTECTED]>wrote: > hola, > > > I was wondering i

Re: [9fans] xml2 and APE

2008-11-25 Thread Giacomo Tesio
actually. But when client change (say from a browser to a flash or to a web service) your problem begins. Moreover those smart guys mix data and presentation. They are smart if their only need is to sell a web 2.0 site to someone actually need a blog. For anything more, they are chosing a da

Re: [9fans] xml2 and APE

2008-11-26 Thread Giacomo Tesio
hic designer) I aim to. Nor the speed, the security or the scalability. Sadly, 'till now, they are just ideas. Giacomo On Wed, Nov 26, 2008 at 3:01 AM, Nick LaForge <[EMAIL PROTECTED]> wrote: > hello, > > interfacing external languages should not often be hard, especiall

[9fans] FileServer grid

2009-02-06 Thread Giacomo Tesio
rs? Hoping to have been clear... Thanks for your help Giacomo

Re: [9fans] FileServer grid

2009-02-07 Thread Giacomo Tesio
(when one crash, the user sessions it was handling would be available to the others web server). But what if a node of the grid goes down? There would be a way to keep files in it replicated in other cpu node? Giacomo On Fri, Feb 6, 2009 at 11:41 PM, Roman V. Shaposhnik wrote: > On Fri, 2

Re: [9fans] FileServer grid

2009-02-08 Thread Giacomo Tesio
Sorry Uriel... I was meaning that I wouldn't be able to download it. BTW my main problem is to know if, in a grid of plan 9 fileservers, there could be any kind of replication, keeping files reachable when a node goes down. Giacomo On Sat, Feb 7, 2009 at 11:57 PM, Uriel wrote: > The

Re: [9fans] FileServer grid

2009-02-09 Thread Giacomo Tesio
(linux based), but I would like to use plan 9 in a prodution environment (to emancipate it to my collegue eyes...) > > Thanks > > ron > > Thanks you too! I will get a look to your suggestions! Giacomo

Re: [9fans] FileServer grid

2009-02-10 Thread Giacomo Tesio
m for the grid nodes (or a sintetic filesystem providing access to the grid and replicating writes among node) would require more than 3 weeks of man work probably I've no chance to get this solution approved. > Thanks, > Roman. > Thanks you! Giacomo

Re: [9fans] FileServer grid

2009-02-10 Thread Giacomo Tesio
is it too much for a syntetic filesystem 9P based? or too few? On Tue, Feb 10, 2009 at 5:37 PM, ron minnich wrote: > On Tue, Feb 10, 2009 at 12:06 AM, Giacomo Tesio wrote: > > > If a sincronization system for the grid nodes (or a sintetic filesystem > > providing acce

[9fans] p9f licensing question (u9fs)

2021-04-11 Thread Giacomo Tesio
Hello 9fans, browsing the 9p.io's sources of plan9 I have noticed that u9fs have a specific LICENSE file that is not MIT, while the page header says "Distributed under the MIT License". What's the actual license under which u9fs is distributed by the Plan 9 F

Re: [9fans] p9f licensing question (u9fs)

2021-04-11 Thread Giacomo Tesio
and the "free of charges" is clearly referred to the permission: https://opensource.org/licenses/MIT > You can ignore this file and consider u9fs is distributed under MIT. Thanks! But I think that to avoid future issues, the Plan 9 Foundation

Re: [9fans] Sponsoring a new Intro book by the Flan 9 Poundation

2022-01-27 Thread Giacomo Tesio
alls. Cancelling Nemo is not a political achievement. Building on the great work he donated to this community, is. My 2 cents. Giacomo [1] http://www.tesio.it/2019/06/03/what-is-informatics.html [2] http://www.tesio.it/2018/02/14/what-i-wish-i-knew-before-contributing-to-open-source.htm

Re: [9fans] Sponsoring a new Intro book by the Flan 9 Poundation

2022-01-27 Thread Giacomo Tesio
d approve its business model based on surveillance capitalism. On the other hand, RMS, Terry A. Davis or Phineas Fisher, Ola Bini are all very politically aware hackers, each in his own way. Sure, since ever, Power system try to get control of hackers. Sometime they manage to jail us. Someti

Re: [9fans] VCS on Plan9

2024-04-20 Thread Giacomo Tesio
ki> Also (tangential) did anybody tried to port Tiny-CC? Giacomo -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tab2715b0e6f3e0a5-M85b3f817edeaf49c1634b730 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] Returning to Plan 9: Virtualization, Distributions

2011-11-22 Thread Giacomo Tesio
Please, (b)log the path: I'd like to play again with plan9... but I completely forgot how I had configured qemu-kvm (and I remember that I had had some trouble with the network on my debian)... :-( Giacomo On Tue, Nov 22, 2011 at 11:50 PM, Joel C. Salomon wrote: > > On 11/22/2011 9:

<    1   2