Readit News logoReadit News
coxmi commented on Payload 2.0: Postgres, Live Preview, Lexical RTE, and More   payloadcms.com/blog/paylo... · Posted by u/mfru
p2hari · 2 years ago
Nice, is it something you can share? If not could you briefly mention the steps. Even high level would be helpful
coxmi · 2 years ago
Yep! There are probably issues with this setup, but I wrote a small plugin to allow them to work in the same repo, sharing the same express instance: https://github.com/coxmi/astro-payload-plugin

Because of various ES module/CJS issues I had to bundle payload with esbuild and change the extension to cjs. The config wasn't being properly found/parsed by their webpack/ts-node setup, and because payload loads its own config in dev mode, it's all a bit complicated. This was the easiest fix I could find.

My example repo can be found here: https://github.com/coxmi/astro-payload-example

Which was sort-of based on Payload's own custom server example here: https://github.com/payloadcms/payload/tree/main/examples/cus...

coxmi commented on Payload 2.0: Postgres, Live Preview, Lexical RTE, and More   payloadcms.com/blog/paylo... · Posted by u/mfru
moltar · 2 years ago
Has anyone tried running it in a Lambda? Bundled with esbuild or similar?
coxmi · 2 years ago
I bundled it with esbuild for an astro/payload monorepo setup and it worked fine.
coxmi commented on Payload 2.0: Postgres, Live Preview, Lexical RTE, and More   payloadcms.com/blog/paylo... · Posted by u/mfru
coxmi · 2 years ago
Great to see 2.0 launching, there’s some really great stuff in here!

Very exciting to see open source alternatives to the other headless content management systems that put developer experience as highly as editor experience, like Sanity, DatoCMS, or Contentful.

We’ll be switching to Payload very soon for all of our new internal and client projects after we’ve had a chance to play around with this release.

coxmichael commented on Organization probably doesn't want to improve things   ludic.mataroa.blog/blog/y... · Posted by u/l0b0
Shaanie · 2 years ago
Skimmed the first report and it seems like employee-owned companies perform better up until around 75 employees, after which there's no benefit? That would explain why they aren't outcompeting the larger companies - their advantage disappears when they grow.
coxmichael · 2 years ago
I’d wager that’s more to do with raising finance than organisational productivity, but I’m not aware of any actual research on something of that scale or even how to accurately study those effects without it turning into more of a qualitative theory.

Still, it’s quite an interesting possibility worth pursuing in my opinion. (Full disclosure, I work for a small nominally employee-owned company, and have mixed thoughts about how it works in practice).

coxmichael commented on Organization probably doesn't want to improve things   ludic.mataroa.blog/blog/y... · Posted by u/l0b0
depr · 2 years ago
If you have no explicit hierarchy then an implicit hierarchy will start to form in most cases, which can be even worse. In many cases you have both.
coxmichael · 2 years ago
I’m not convinced this is inevitable, but it certainly feels it within the current system. Co-ops exist and can be very successful.

Hierarchies can be time-limited, or democratically limited, it just depends on the legal and organisational framework.

coxmi commented on Organization probably doesn't want to improve things   ludic.mataroa.blog/blog/y... · Posted by u/l0b0
tilne · 2 years ago
What should come to mind when communism comes up then?
coxmi · 2 years ago
Something along the lines of: A socioeconomic order centered around common ownership of the means of production, distribution, and exchange that allocates products to everyone in the society based on need.

I guess the point of the poster above is that the word communism just confuses things in the initial statement — it’s just a dictatorship. Socialists and communists fairly uniquely believe in workplace democracy.

coxmichael commented on Organization probably doesn't want to improve things   ludic.mataroa.blog/blog/y... · Posted by u/l0b0
Shaanie · 2 years ago
It's interesting then how cooperatives aren't more popular or more successful. You'd think that if they were significantly more efficient than the typical dictatorship companies then they'd outcompete them, but as far as I'm aware that doesn't happen.
coxmichael · 2 years ago
It’s harder to get finance as a co-operative, so it’s hardly a fair competition.

Also, in most studies, co-ops and employee ownership models do actually end up being more profitable and sustainable in the long term [0, 1].

[0] Page 23+ in this UK government review on employee ownership: https://assets.publishing.service.gov.uk/government/uploads/...

[1] ONS report showing the rate of survival of cooperatives in the UK after five years was 80 percent compared with only 41 percent for all other enterprises https://www.uk.coop/sites/default/files/2020-10/co-operative...

coxmichael commented on Is Math Real?   maa.org/press/maa-reviews... · Posted by u/hhs
balder1991 · 2 years ago
You made me remember this article you might have read before: https://www.wired.com/story/our-machines-now-have-knowledge-...
coxmichael · 2 years ago
Thanks, I’ll give it a read
coxmichael commented on Is Math Real?   maa.org/press/maa-reviews... · Posted by u/hhs
RagnarD · 2 years ago
You might as well ask "Are ideas real?" in the broader philosophic sense. Yes, they (with math as a subset) are real existents within consciousness. The question of mathematical ideas' connection to reality is epistemological. "Real reality" pertains to metaphysics - the externally perceivable stuff of reality that exists independent of our minds (as in, eternally prior to, and subsequent to, the existence of any humans or other beings with conceptual consciousness.) Math is an epistemological tool to abstract the causality of existence into a simplified structure amenable to consideration and manipulation by human consciousness.

A quadratic equation can be used to approximate the coordinates of the trajectory of a thrown object in a gravity field. I think the really interesting question is why that particular equation reflects that trajectory. Arithmetic operators - multiplication and addition in that case - in a particular order, are approximating the causal operations of existence that are actually at work. I think of this as the philosophy of mathematics and much more should be done to investigate it.

coxmichael · 2 years ago
> Math is an epistemological tool to abstract the causality of existence into a simplified structure

The mathematics to accurately predict or relay reality is still complex enough that it’s often beyond us. You’re right in that it’s a tool to understand, but if we’re using simplified math for simplified reality, is it really epistemological?

As you suggest, math isn’t outside the boundary of philosophic investigation. It never was in the past, and I don’t think better approximations change that calculation.

coxmichael commented on Space After Periods (1993)   1997.webhistory.org/lists... · Posted by u/susam
vintagedave · 2 years ago
Guido van Rossum writing:

> I think it's mostly propaganda by Knuth and Kernighan (TeX and troff) that makes people want this.

> Let's keep HTML simple!

was unexpected. Knuth as propaganda!

The discussion noted some O’Reilly books sentence-spaced, and layout software had different levels of support with TeX notably supporting it. And that’s the key: it’s a typographical layout choice. For document input, for writers, it’s a matter of markup for the output typographical layout not double-spacing per se. It’s an aesthetic choice only, similar to the spacing we add between letters, around punctuation etc.

So the question is not, should we support double spacing, but: should we support this sentence spacing typographical technique?

Because double spaces are an hack used to achieve layout they should not be necessary, but word processors not supporting it leads to people implementing it themselves. (If you’re a product manager, this is the sort of thing you spot to indicate a missing feature.)

It gets worse on the web: because most white space is collapsed together the double-space trick doesn’t work, and it’s _very_ hard to do in CSS.

Marc Andreessen’s 1993 comment ‘how is a text widget supposed to know where a sentence ends and where it doesn't? That sort of syntactic analysis we can't do...’: yes, it’s hard. English parsing is hard. Other languages are hard. I don’t believe that’s a reason not to do it any more.

My website has sentence spacing [1] in CSS as a purely aesthetic choice based on a technique by Tom Fine [2, 3]. And it’s automated: I run the site text, single-spaced, through a Python script that understands sentences and marks up sentence spacing.

[1] https://daveon.design/about-dave-on-design.html#typography-&...

[2] https://hea-www.harvard.edu/~fine/Tech/html-sentences.html

[3] http://widespacer.blogspot.com/

coxmichael · 2 years ago
Nice site/typography!

The bold and italics look like they’re being applied in browser though, rather than specific faces.

And it’s calling out for some small caps for acronyms like ‘HTML’.

Nice to see sites with this style, it’s very rare nowadays!

u/coxmichael

KarmaCake day38May 15, 2020View Original