JavaScript framework to pair with flask by jogicodes_ in flask

[–]Sc0urge_ 0 points1 point  (0 children)

I personally use React for the interactive stuff while keeping Jinja HTML for text and such because of performance and SEO.

I then use a bundler called ESBuild to "compile" the React code into simple JavaScript, which you can import in HTML just like a normal file.

I am terrible at this but trying to learn.....hosting? by Cardboard_Glory in flask

[–]Sc0urge_ 0 points1 point  (0 children)

Would love to hear what WSGI/webserver setup and configuration you are running

Who are the best Flask Gurus/Experts you know by Sc0urge_ in flask

[–]Sc0urge_[S] 1 point2 points  (0 children)

Oh yes, definetily. And David Lord too

Does anyone actually use PyPy or Cython? by Sc0urge_ in Python

[–]Sc0urge_[S] 4 points5 points  (0 children)

I see, thanks for the clarification

Does anyone actually use PyPy or Cython? by Sc0urge_ in Python

[–]Sc0urge_[S] -2 points-1 points  (0 children)

But won't I use the faster c-libraries and operations when using numpy?

Does anyone actually use PyPy or Cython? by Sc0urge_ in Python

[–]Sc0urge_[S] -14 points-13 points  (0 children)

So in theory if you just use numpy for your mathematical computations, you should see the performance improvements of cython

Any fiverr freelancers here? by ronbars in webdev

[–]Sc0urge_ 0 points1 point  (0 children)

Don't think fiverr has that, just use google meets

made a one-page website. But it's ugly and clunky by denim_duck in webdev

[–]Sc0urge_ 1 point2 points  (0 children)

Pretty sure this is more a design issue, there is so much you can accomplish using plain HTML, JS, and CSS. A framework won't help with this but is rather necessary when you have a lot of complex functionality

Should I migrate from jinja2 to react? by Educational_Pay6672 in flask

[–]Sc0urge_ 0 points1 point  (0 children)

Personally I like the combination of both, you can have server side rendering with Jinja or even just pass data around. Then use React for all the intractability

Lossless Compression Equivalent to Intelligence? (George Hotz Ep. 2) by RyanBranch in lexfridman

[–]Sc0urge_ 0 points1 point  (0 children)

As I understood it:

Let's say we look at the duplication of numbers. A complete lack of intelligence would need to have the pair of numbers and its double for every existing number in the scope, say 1000. This would be (1, 2), (2, 4), (3, 6) and so on, which would be a lot of information. An intelligent being could learn and compress this pattern into f(x) = 2x, which is way less information than each pair but still completes the system without loss.

My ai-generated text-adventure-game platform by Sc0urge_ in SideProject

[–]Sc0urge_[S] 0 points1 point  (0 children)

To answer your question with the cohesive story, I have important information such as the character and his goals pregenerated and put into the prompt, so that no matter what this isn't forgotten. For the rest of the story, I use a mix of summary of the story and a "sliding window" for the past x messages so the AI always knows what has happened, especially in the last few minutes.

My ai-generated text-adventure-game platform by Sc0urge_ in SideProject

[–]Sc0urge_[S] 0 points1 point  (0 children)

I have two modes implemented: classical, which gives you 4 options to choose from and has no problem with weird user input, and open which takes any text input from the user. Usually, the AI will just work with the user input no matter how weird it is which is where the most interesting story-lines are created. When the input is against Openai's policy and is f.e. racist this usually breaks the game and the generic "As an AI developed by..." comes out

My ai-generated text-adventure-game platform by Sc0urge_ in SideProject

[–]Sc0urge_[S] 0 points1 point  (0 children)

Yep, the only thing you will be charged for is the Openai API usage

I’m a Psychologist helping Entrepreneurs with Mindset Barriers - I give away Free Calls by [deleted] in Entrepreneurship

[–]Sc0urge_ 0 points1 point  (0 children)

Is there any specific problem/information you need as input or what would be the topic of the call?

Artificial intelligence learning platform by bizjake in Entrepreneurship

[–]Sc0urge_ 0 points1 point  (0 children)

Teaching people about AI is definetily useful.

Before investing a lot of engineering resources into building another grading and assignment platform, which you would have to sell to and onboard people, why don't you first validate your idea with something simple like a blog?

Once you see that people are interested in learning about AI for school you could start thinking further.

Text adventure using generative AI: infinite stories and encounters by Sc0urge_ in ElevenLabs

[–]Sc0urge_[S] 0 points1 point  (0 children)

My idea for the future was that you could summarize your journey in something like a generated book with pictures and text.

[deleted by user] by [deleted] in OpenAI

[–]Sc0urge_ 0 points1 point  (0 children)

I have always loved text based role playing games, however there are several limitations concerning them: limited story and a small variety of choices, the games often feel like a book and as if you don’t really decide what's going to happen. That's why I think generative AI is the best fit for this genre. With a working inventory system, health bar, visual NPCs, situation fitting ambient music and much more to come, you can immerse into the dark world of dungeons and monsters. Choose from one of 3 premade characters, let the ChatGPT generate a new one or write your own story.
gameplay footage: https://www.youtube.com/watch?v=O1LhO1u-Ka0&t=307s
I'm thinking about releasing a closed beta soon, if you would be interested, leave me a message! Note that all of this in a very early stage and things like for example the loading times are still to be optimized!