You Are in a Box
71–80 of 138 posts
Re: You Are in a Box
#72[flagged]
Re: You Are in a Box
#73I feel this the most on mobile platforms where the phone really should be acting as your agent but instead we're stuck with all these apps.
Re: You Are in a Box
#74Earlier quoted context omitted.
> Factotum seems, at best, to be bolted on after the fact. What gives you this impression?
It literally was, it didn't exist until the 4th edition of Plan9. That isn't to say it isn't a good idea (or implementation), but security is very clearly not a primary concern in Plan9.
That is a myth that keeps getting propagated. https://plan9.io/sys/doc/auth.html
Re: You Are in a Box
#75Earlier quoted context omitted.
It literally was, it didn't exist until the 4th edition of Plan9. That isn't to say it isn't a good idea (or implementation), but security is very clearly not a primary concern in Plan9.
> but security is very clearly not a primary concern in Plan9. That is a myth that keeps getting propagated. https://plan9.io/sys/doc/auth.html
Re: You Are in a Box
#76This really reminds me of what Plan 9 was aiming for — breaking out of the 'box' by making everything a file, using per-process namespaces, and cleanly exposing system and network resources with proper permissions. It had that same idea: your environment shouldn't be a prison, it should be a flexible, composable space. ( https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs ) ( https://fqa.9front.org/fqa0.html )
Re: You Are in a Box
#77 POST /api/users
|> validate: `
name: string(3..50)
email: email
age?: number(18..120)
team_id?: number
`
|> jq: `{ sqlParams: [.body.name, .body.email, .body.age] }`
|> pg: `INSERT INTO users (name, email, age) VALUES ($1, $2, $3) RETURNING *`
|> result
ok(201):
|> jq: `{ success: true, user: .data.rows[0] }`
validationError(400):
|> jq: `{
error: "Validation failed",
field: .errors[0].field,
rule: .errors[0].rule,
message: .errors[0].message
}`
I'm generally curious as to how jyn thinks this would fit in to their box-based framework.Re: You Are in a Box
#78Computers are boxes, therefore all software is literally (and figuratively) "in a box", are they not? This might seem like a frivolous jest, but it is not. For example, the author points out that clojure, java, kotlin can interoperate, but notes they are stuck in the same jvm 'box'. This generalizes and recurses, so you must find a specific place to stop, and then motivate that. One likely place to stop is at "proces…
It's not long now until we re-invent SOAP and pretend it's a productivity breakthrough.
Re: You Are in a Box
#79Earlier quoted context omitted.
It is worse on phones, but most desktop computing feels like this too, at least when you're not at a command line. I've been trying to puzzle out what I'd like computing to look like instead, but I don't get far beyond a concept of "objects" and "actions" as fundamental building blocks. How to actually expose this... yeah, it's tough.
have you seen https://pharo.org/ by chance? it's a smalltalk IDE built in smalltalk, which means that the whole thing is editable at runtime. it's hard to describe before you see it, https://pharo.org/features has some demos.
https://www.cincom.com/blog/smalltalk/smalltalk-programming-...
Re: You Are in a Box
#80Earlier quoted context omitted.
have you seen https://pharo.org/ by chance? it's a smalltalk IDE built in smalltalk, which means that the whole thing is editable at runtime. it's hard to describe before you see it, https://pharo.org/features has some demos.
I tried pharo, its an interesting thing but I don't see it as a particularly practical solution. Yes its editable in runtime, but not the whole thing and not reliably so: I remember changing some low level array methods that broke the whole image. Even in pharo your data has to be organised in some way and if you add new code to existing image you have to know how to reach the data you need. And the biggest downside…
> data has to be organised in some way
Yes it does.