Better HN
topnewbestaskshowjobs
Log inSign up

strudey

44 karma · joined Dec 8, 2011 (14y ago) · 16 submissions

Submissions

comment 11mo ago · link · parent

I think there’s a version of the Malthusian trap that has explanatory merit - the idea that as population increased, you got diminishing returns from more people farming the same land. Population would therefore increase until famine, after which there would be good times until the cycle repeated. This cycle was broken by the industrial revolution.

comment 1y ago · link · parent

aw thanks, glad you like it! more good Ruby AI libraries is a good thing IMO

comment 1y ago · link · parent

There's a channel for this on the Ruby AI Builders Discord: https://discord.gg/HZTsjFKyy3

comment 3y ago · link · parent

True for our minds too I think ;)

comment 3y ago · link · parent

Yeah, added :)

  bin/rails generate migration CreateChats user:references
  bin/rails generate migration CreateMessages chat:references role:integer content:string
Will need to add null: false and default: 0 on the enum manually if you so desire as Rails apparently doesn't support generating with those options.

https://gist.github.com/alexrudall/cb5ee1e109353ef358adb4e66...

6.

Easily Stream ChatGPT Responses with Rails 7, Turbostream, Tailwind and Sidekiq(twitter.com ↗)

2 points · by strudey · 3y ago · 2 comments

comment 3y ago · link · parent

Can use https://github.com/alexrudall/ruby-openai to do this sort of thing also :)

comment 3y ago · link · parent

Added to the Ruby library here if any Rubyists interested! https://github.com/alexrudall/ruby-openai

9.

Show HN: Peaceterms – Chat to people you disagree with

2 points · by strudey · 8y ago · discuss

comment 8y ago · link · parent

I would suggest the answer is: if it was easy, it wouldn't be ethics.

comment 9y ago · link · parent

The chicken assumes that the human will always care for it. Nature has not equipped it to deal with an intelligent predator.

comment 10y ago · link · parent

"Note well"

comment 10y ago · link · parent

There's a great book called 'Planet Narnia' (by Michael Ward, "the foremost living Lewis scholar") that argues (to me, very convincingly) that Lewis wrote the Narniad based around Medieval cosmology. Not the easiest read but, in my view, very rewarding and really provides insight into some beloved stories and how they relate to Lewis' religion.

comment 14y ago · link · parent

Oh really, might read that. I read Black Man and enjoyed it. (possibly called something else if you're in the US, by the same author as Altered Carbon)

comment 14y ago · link · parent

These kids developed something similar: http://www.diabetesmine.com/2011/04/kids-get-innovative-with...

comment 14y ago · link · parent

"Learning to be me" by Greg Egan is a short story that covers this very ground, it's good.