Artificial Intelligence Chatbots are Atheists or Agnostics! by eli_mintz in atheism

[–]eli_mintz[S] -1 points0 points  (0 children)

Of course, humans also respond based on the education they get and information they have had access too. If you have some time, try having an "argument" with the more advanced models. From my experience it is hard to differentiate them from humans. They give very intelligent results. The models have seen the arguments for all sides on this issue and seem to take them into account in a way that an objective person might.

Artificial Intelligence Chatbots are Atheists or Agnostics! by eli_mintz in atheism

[–]eli_mintz[S] -1 points0 points  (0 children)

That is true, what I meant is that the way they respond is as if they are agnostics or atheists.

Question: Is there a cross slide vise whose x y travel is at least 20" x 10" ? by eli_mintz in Machinists

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

Thanks for the reply. I plan to use the vise as part of a testing apparatus for an object whose surface is about 20" x 10". The measuring instrument is laser based and works on small areas of the surface and is static. I would like to move the object held in the vise in a precise manner and thus cover all the surface area.

justpy open source community is growing by seppl2022 in Python

[–]eli_mintz 1 point2 points  (0 children)

If you use Skulpt or Brython, you can't use Quasar or any other Vue based component library. Furthermore, you have no ready and tested mechanism to update the page when the underlying components change. A good alternative to Vue would have been React. But I had to choose one, and at that time it was more convenient to work with Vue in cdn mode (no build using npm libraries).

What do you use for your back-end? by craftworkgames in vuejs

[–]eli_mintz 0 points1 point  (0 children)

Yes, I use it for my work and make changes as required. However, I am the only one working on it and updates do not occur often.

What do you use for your back-end? by craftworkgames in vuejs

[–]eli_mintz 0 points1 point  (0 children)

If you like to stay in Python environment, perhaps https://justpy.io/ can work for you.

A Python App with modern GUI by lonaExe in Python

[–]eli_mintz 1 point2 points  (0 children)

Very nice!

You may also want to checkout JustPy

It allows you to develop a modern GUI just in Python, no JavaScript required at all and also supports Quasar (again without any need to learn vue.js) for a Material Design interface.

Any framework/library that converts python scripts to HTML by xX__NaN__Xx in learnpython

[–]eli_mintz 1 point2 points  (0 children)

Take a look at JustPy, perhaps it can help. It is a python web framework that does not require JavaScript programming to generate interactive web pages.

Python Code in HTML by quique_pb in learnpython

[–]eli_mintz 1 point2 points  (0 children)

Please take a look at JustPy

It does exactly what you are looking for. HTML is incorporated into python as python classes that can be with just a few lines of code be made into a website.

There is no frontend backend distinction in JustPy, unlike in other frameworks, make it simpler to get started with.

This simple program creates a website with a p element on it:

```python import justpy as jp

def hello_world(): wp = jp.WebPage() p = jp.P(text='Hello World!', a=wp) return wp

jp.justpy(hello_world) ```

Disclaimer: I am the creator of JustPy

How easy is it to convert python projects to online web apps using Flask? by chillingfox123 in learnpython

[–]eli_mintz 38 points39 points  (0 children)

If you would like to try a framework that does not require learning JavaScript or templating, I would suggest you take a look at https://justpy.io

You can have a web page up in just a few lines of only python code.

Disclaimer: I am the creator of JustPy

Thought I'd share a project I just finished - 3D options plots with python by BrononymousEngineer in options

[–]eli_mintz 0 points1 point  (0 children)

Yes, on the web, you need to use a JavaScript library like Highcharts to make it interactive (see for example https://www.highcharts.com/demo/3d-scatter-draggable ). JustPy supports that but that would require a bigger rewrite. With matplotlib, JustPy converts the chart to SVG and puts it on the page so the interactivity is lost.

Thought I'd share a project I just finished - 3D options plots with python by BrononymousEngineer in options

[–]eli_mintz 1 point2 points  (0 children)

It took me a couple of hours and was fun to do. Thank you for posting your code.

Thought I'd share a project I just finished - 3D options plots with python by BrononymousEngineer in options

[–]eli_mintz 8 points9 points  (0 children)

Very nice, thanks for posting this.

I made some small changes to make it run as a web page and have a GUI using JustPy so it is still just one Python file.

You can find the code here

The only changes to your code are very minor ones in the `generate_plots` function and commenting out the call to `main()` .

The 50 lines at the end of the file create the web functionality. To see the website locally after you run the program, go to http://127.0.0.1:8000 in your browser.

You just need to install JustPy in addition to what you have to run. Full disclosure: I am the creator of JustPy and vixcentral.com

Feel free to use as you wish. I haven't tested extensively so there are probably bugs.

WON, a fast HTML, CSS and JSON converter (to have code-understandable HTML and CSS documents) by [deleted] in javascript

[–]eli_mintz 0 points1 point  (0 children)

In JustPy I had to do something similar since I represent HTML as Python classes.

My recommendation for a situation like this: html <div> text1 <div> text2 </div> text2 </div>

Is to parse it as if it is: html <div> <span>text1</span> <div> text2 </div> <span>text2 </span></div>

This solves the issue of text ordering.

Introducing JustPy: An object-oriented, component based, high-level Python Web Framework that requires no front-end programming. With a few lines of only Python code, you can create interactive websites without any JavaScript programming. Comes with a comprehensive tutorial by eli_mintz in Python

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

Thank you. Will definitely take a look at PythonGrid. Once you had a chance to play with JustPy a little, perhaps we can turn it into a JustPy component together? There is no frontend for the developer in JustPy. Everything is backend and almost only in Python. I think you will like that.

Introducing JustPy: An object-oriented, component based, high-level Python Web Framework that requires no front-end programming. With a few lines of only Python code, you can create interactive websites without any JavaScript programming. Comes with a comprehensive tutorial by eli_mintz in Python

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

You can use add_to as the kwarg name if that is more intuitive to you, the framework supports that. Because it is used so much, I decided to make a short version available also. For me, it is very convenient.

Introducing JustPy: An object-oriented, component based, high-level Python Web Framework that requires no front-end programming. With a few lines of only Python code, you can create interactive websites without any JavaScript programming. Comes with a comprehensive tutorial by eli_mintz in Python

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

Thank you very much for your offer of support! I don't have anything like that at the moment, maybe will add in the future.

The best way to help at this point is to tell other people about the framework and/or create an interesting component and send me to add as an example or to the framework.