~pixelherodev

~pixelherodev/knightos

Last active 1 year, 6 months ago

~pixelherodev/cyclopropatriene-devel

Last active 1 year, 8 months ago

~pixelherodev/cyclopropatriene-announce

Last active 2 years ago

~pixelherodev/public-inbox

Last active 2 years ago

~pixelherodev/zany80-discuss

Last active 2 years ago

~pixelherodev/zany80-devel

Last active 2 years ago

~pixelherodev/zany80-announce

Last active 2 years ago

~pixelherodev/coyote-discuss

Last active 2 years ago

~pixelherodev/coyote-devel

Last active 2 years ago

~pixelherodev/coyote-announce

Last active 2 years ago
View more

Recent activity

[PATCH 2/2] strings::template: reject left braces 2 months ago

From Noam Preil to ~sircmpwn/hare-dev

Signed-off-by: Noam Preil <noam@pixelhero.dev>
---
 strings/template/README      | 2 +-
 strings/template/template.ha | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/strings/template/README b/strings/template/README
index 98a95f45..d693d45b 100644
--- a/strings/template/README
+++ b/strings/template/README
@@ -7,7 +7,7 @@ names must be alphanumeric ASCII characters (i.e. for which [[ascii::isalnum]]
returns true). A literal "$" may be printed by using it twice: "$$". Variables
may also be used with braces, i.e. ${variable}, so that they can be placed
immediately next to alphanumeric characters; such variables may include
[message trimmed]

[PATCH 1/2] strings::template: fix typo in README 2 months ago

From Noam Preil to ~sircmpwn/hare-dev

Signed-off-by: Noam Preil <noam@pixelhero.dev>
---
 strings/template/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/strings/template/README b/strings/template/README
index 30d8d68f..98a95f45 100644
--- a/strings/template/README
+++ b/strings/template/README
@@ -7,7 +7,7 @@ names must be alphanumeric ASCII characters (i.e. for which [[ascii::isalnum]]
returns true). A literal "$" may be printed by using it twice: "$$". Variables
may also be used with braces, i.e. ${variable}, so that they can be placed
immediately next to alphanumeric characters; such variables may include
non-alphanumeric characters other than '_'.
[message trimmed]

re: Plan 9 "containers" 2 months ago

From to ~sircmpwn/public-inbox

Hi,

> Even if you unmount them from your namespace - the "sandboxed" program 
> can mount them right back, by e.g. running the commands as listed in 
> ns's output.
> As far as I can tell, the only way to prevent that is the noattach flag 
> (set by RFNOMNT), which completely disables mount(). Obviously, that 
> breaks a lot of programs.

9front has features for more advanced sandboxing, including
auth/box, which allows specifying a full list of allowed drivers, and
constructing an arbitrary sandbox.

Moreover, quoth rfork(2):

Re: In praise of Plan 9: Plan 9 doesn't have true "mv"! 2 months ago

From to ~sircmpwn/public-inbox

Quoth Ember Sawady <ecs@d2evs.net>:
> On Tue Nov 22, 2022 at 1:31 AM UTC,  wrote:
> > Renames are supported, but only within the same file system. They're not supported in _every_ case by mv(1) (currently, only within the same folder), but in principle it can be done. The main problem is that it's hard to know if two different folders are on the same file system.
> Seems to me that you could just try the fast rename and fall back to a
> copy if it fails, what's the reason that doesn't work?

Imagine you have this directory structure:

foo/
	bar/
	baz/
		a.c

and foo/ is bound over foo/bar, such that foo/bar/baz etc is equal to foo/baz, and the real, on-disk directory foo/bar *cannot* be accessed.

Re: In praise of Plan 9: Plan 9 doesn't have true "mv"! 2 months ago

From to ~sircmpwn/public-inbox

Quoth Ember Sawady <ecs@d2evs.net>:
> On Tue Nov 22, 2022 at 1:31 AM UTC,  wrote:
> > Renames are supported, but only within the same file system. They're not supported in _every_ case by mv(1) (currently, only within the same folder), but in principle it can be done. The main problem is that it's hard to know if two different folders are on the same file system.
> Seems to me that you could just try the fast rename and fall back to a
> copy if it fails, what's the reason that doesn't work?

Imagine you have this directory structure:

foo/
	bar/
	baz/
		a.c

and foo/ is bound over foo/bar, such that foo/bar/baz etc is equal to foo/baz, and the real, on-disk directory foo/bar *cannot* be accessed.

Re: In praise of Plan 9: Plan 9 doesn't have true "mv"! 2 months ago

From to ~sircmpwn/public-inbox

Quoth Askar Safin <safinaskar@gmail.com>:
> Hi. This letter is mostly not for Drew himself, but for everybody
> else. I hope that Drew's readers will read this mail and will know how
> bad Plan 9 actually is.

I use Plan 9 as my primary personal operating system, and am writing this within it.

> As you can see by carefully reading this source, "mv" always
> unconditionally COPIES file data (as opposed to Linux: Linux and all
> sane OS move files without copying when on the same file system)!

> As well as I remember I got this answer: this is because the 9P
> protocol (core file protocol in Plan 9) doesn't have move operation.

[PATCH harelang.org] intro: fix a typo 9 months ago

From Noam Preil to ~sircmpwn/hare-dev

Signed-off-by: Noam Preil <noam@pixelhero.dev>
---
 content/tutorials/introduction.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/tutorials/introduction.md b/content/tutorials/introduction.md
index dd22c3a..e3120cb 100644
--- a/content/tutorials/introduction.md
+++ b/content/tutorials/introduction.md
@@ -1303,7 +1303,7 @@ sections:
      is shown here as well: pointer arithmetic and conversions between pointer
      types. Using casts, you can instruct Hare to treat some memory as if it
      were a given type, regardless of if it actually is or not. Use with
      cation.
[message trimmed]

[PATCH hare] cmd/hare: bell the terminal when build completes 10 months ago

From Noam Preil to ~sircmpwn/hare-dev

Signed-off-by: Noam Preil <noam@pixelhero.dev>
---
 cmd/hare/subcmds.ha | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cmd/hare/subcmds.ha b/cmd/hare/subcmds.ha
index 60ad3d5..ac0bc15 100644
--- a/cmd/hare/subcmds.ha
+++ b/cmd/hare/subcmds.ha
@@ -179,6 +179,9 @@ fn build(args: []str) void = {
	case !exec::exit_status =>
		fmt::fatal("{} {}: build failed", os::args[0], os::args[1]);
	};
	if (tty::isatty(os::stdout_file)) {
[message trimmed]

[PATCH harelang.org] Blog/reflection: Fix a typo 1 year, 3 months ago

From Noam Preil to ~sircmpwn/hare-dev

Signed-off-by: Noam Preil <noam@pixelhero.dev>
---
 content/blog/2021-10-05-Reflection.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/blog/2021-10-05-Reflection.md b/content/blog/2021-10-05-Reflection.md
index cd1efc0..9ab1d28 100644
--- a/content/blog/2021-10-05-Reflection.md
+++ b/content/blog/2021-10-05-Reflection.md
@@ -9,7 +9,7 @@ I've just merged support for reflection to Hare. Here's how it works!
## Background

"Reflection" refers to the ability for a program to examine the type system of
its programming langauge, and to dynamically manipulate types and their values
[message trimmed]

[PATCH] README: freenode -> libera.chat 1 year, 5 months ago

From Noam Preil to ~sircmpwn/aerc

---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 323de86..5338dbf 100644
--- a/README.md
+++ b/README.md
@@ -4,8 +4,8 @@ aerc is an email client for your terminal.

A short demonstration can be found on [https://aerc-mail.org/](https://aerc-mail.org/)

Join the IRC channel: [#aerc on irc.freenode.net](http://webchat.freenode.net/?channels=aerc&uio=d4)
for end-user support, and [#aerc-dev](http://webchat.freenode.net/?channels=aerc-dev&uio=d4)
[message trimmed]