Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
henesy
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
henesy
5y ago
The other comments are correct that there's value in returning a value even if it was passed in to make chaining functional calls easier. This can get a little tricky when ownership comes in to play since you don't want to end up
2.
▲
by
henesy
5y ago
The first version I implemented did allocate and return the allocated output buffer, but I scrapped that design I never changed the return value after I did this and didn’t see an issue at the time For the record, this program was written c
3.
▲
by
henesy
5y ago
Author here. While the other comments are correct, the exact reason for this use of providing in/out is that the reversal is called on a subset of the incoming array. line = Brdstr(in, '\n', 1); will give us a null-ter
4.
▲
by
henesy
6y ago
Love this
5.
▲
Go's History in Code
(seh.dev)
2 points
by
henesy
6y ago
|
0 comments
6.
▲
Go's History in Code
(seh.dev)
2 points
by
henesy
6y ago
|
0 comments
7.
▲
by
henesy
7y ago
Yes, /bin is a directory where the bind[1] command can be used to multiplex/union other directories on top. The / directory in general is built this way as a virtual top directory, with the disk root being stored on /roo
8.
▲
by
henesy
7y ago
Used by sysfatal(2): https://github.com/0intro/plan9-contrib/blob/master/sys/src/... Also mentioned in sysfatal(2)'s manual: http://man.cat-v.org/9front/2/perror
9.
▲
by
henesy
7y ago
s/o to unionfs for plan9 by kvik: http://code.a-b.xyz/unionfs Userspace implementation of union directories with control of which half of the union made gets precedence for certain operations such as file creation, etc
10.
▲
by
henesy
7y ago
I generally prefer mk to make, I just find the way multiple mkfiles compose and some of the syntax changes pleasant. A small change, but being able to just do $foo instead of $(foo) is so nice.
11.
▲
by
henesy
7y ago
It's a really early draft, but here's the base for an awesome-inferno repository: https://github.com/henesy/awesome-inferno
12.
▲
by
henesy
7y ago
Inferno instances are really meant to be compartments for individual programs more than a desktop OS in and of itself. Dis VM instances are super light… you wouldn't really be needing to worry much about running a large number of them.
13.
▲
by
henesy
7y ago
Yeah zones especially, I agree.
14.
▲
by
henesy
7y ago
This exists and to a pleasant effect! http://doc.cat-v.org/inferno/4th_edition/styx-on-a-brick/ The ev3dev project is partially inspired by everything is a file and I've used it in the past for education
15.
▲
by
henesy
7y ago
Linux containers feel like a very weak imitation of what they could be under an environment like Plan9 imo. Linux lacks a lot of core abstraction properties that would make containers elegant to implement under something like the Plan9 mode
16.
▲
by
henesy
7y ago
As long as your processor supports vmx ofc Just ask aux/icanhasvmx :) Manuals: - http://man.cat-v.org/9front/1/vmx - http://man.cat-v.org/9front/3/vmx
17.
▲
by
henesy
7y ago
s/o to the wip 9front ports tree, too: http://code.9front.org/hg/ports
18.
▲
by
henesy
7y ago
The concept here is fairly profound and you could make the analogy of power to something like Lisp. Lisp everything is a symbol, in Plan9 everything is a file and all namespaces are mutable. This concept is combined in the Interim OS experi
19.
▲
by
henesy
7y ago
Yeah idk why people have this notion. Last 9front commit was… 3 days ago: http://code.9front.org/hg/plan9front/
20.
▲
by
henesy
7y ago
Source: http://code.9front.org/hg/purgatorio/ Purgatorio 64-bit is a ways away, but is a goal. It'll happen eventually, but the more eyes the better.
21.
▲
by
henesy
7y ago
Yeah Richard Miller just put out tentative support for the Raspberry Pi 4 for his pi port. https://9p.io/sources/contrib/miller/9/bcm/
22.
▲
by
henesy
7y ago
Nice to see Inferno posted! Some Inferno related stuff: - Limbo by Example: https://github.com/henesy/limbobyexample - The Inferno Shell: http://debu.gs/entries/inferno-part-1-shell - Try Inferno
23.
▲
by
henesy
8y ago
Make one a Plan 9/9front terminal :)
24.
▲
by
henesy
8y ago
Great to see RISC-V news make it public. Always glad to find more Plan 9 hobby projects to learn from :)
25.
▲
by
henesy
8y ago
Plan 9?
26.
▲
by
henesy
9y ago
A fun tidbit from the Plan 9 compilers only really able to be found by reading the source: https://groups.google.com/forum/#!msg/comp.os.plan9/uMF7A4gk...
27.
▲
by
henesy
9y ago
One of the best parts of the Plan 9 system is that all of the kernel/command/library source is on hand and readily available to consult at any given time. Jointly, an important detail is that the complexity of said source is kept
28.
▲
by
henesy
9y ago
Being able to browse the Go source so easily and clearly is a fantastic way to both learn and grow in understanding of the language. It's definitely helped me as I've learned and written in Go over the years.
29.
▲
The Myrddin Programming Language
(eigenstate.org)
1 points
by
henesy
9y ago
|
0 comments
30.
▲
by
henesy
9y ago
This is the real answer.
More ›