Re: Fabric as a WebApp

2024-10-03 Thread Jonah Katz
You should try using the Django AI Chat Assistant in VS Code. Can be pretty 
helpful with these kinds of things  
https://marketplace.visualstudio.com/items?itemName=buildwithlayer.django-integration-expert-Gus30

On Monday, September 30, 2024 at 8:13:26 PM UTC-4 Abdul Qoyyuum Haji Abdul 
Kadir wrote:

> I still don't understand. Can you explain with a code example?
>
> On Mon, 30 Sept 2024 at 23:46, Hernan Gustavo  wrote:
>
>> To resolve the task to apply async calls on this app using celery it's 
>> more easy. You can use the apply_async method to resolve this issue.
>>
>> El lun, 30 sept 2024 a la(s) 10:03 a.m., Abdul Qoyyuum Haji Abdul Kadir (
>> abdul@gmail.com) escribió:
>>
>>> Thanks. Can you explain a little bit more on how celery can help stream 
>>> the output prompts from Fabric commands for me to input them, so that it 
>>> continues its process?
>>>
>>> E.g. of a Fabric task where we need to get the latest git commit of a 
>>> puppet configuration (this will prompt for the root password):
>>>
>>> from fabric import task
>>>
>>> @task
>>> def get_latest_git_commit_puppet(context):
>>> context.run("su -c 'cd /etc/puppet && git rev-parse --short HEAD~2'"
>>> )
>>>
>>>
>>> On Mon, 30 Sept 2024 at 19:09, Obodoma Uzondu Vincent <
>>> uobod...@gmail.com> wrote:
>>>
 Use celery. It is easy to implement. 

 On Monday, September 30, 2024, Abdul Qoyyuum Haji Abdul Kadir (Agent Q) 
  wrote:

> Hi all,
>
> I'm working on a Django project that puts Fabric into a webpage. The 
> idea is simple, make a Fabric task that automates remote code execution 
> from a webpage to authenticated/connected/authorized 
> servers/machines/switches with a click of a button on a webpage with 
> Fabric.
>
> Example usage and quick tutorial on how to use the Fabric package: 
> FabFile 
> Tutorial — Qoyyuum (buymeacoffee.com) 
> 
>
> This idea works but up to the point where I really need to respond to 
> the commands executed on server-side (e.g. confirmation or it awkwardly 
> re-prompting for sudo password). The webpage doesn't get this prompt for 
> me 
> to respond to, or rather, it won't stream the output from server side to 
> django view side, enabling interactivity.
>
> Some suggested to use Async but I have no idea how to apply this: 
> Asynchronous 
> support | Django documentation | Django (djangoproject.com) 
>  
>
> If anyone can explain how to apply Async (or other solution) to enable 
> interactivity to an automation script, I appreciate it. Thanks. 
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to django-users...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/21c986b4-0eb9-4454-86ea-fd0486973843n%40googlegroups.com
>  
> 
> .
>
 -- 
 You received this message because you are subscribed to the Google 
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to django-users...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/CACsKspmYA9xsX_O0joMewFAP-03gyceFn1EhGx-a5vTdyK6UPQ%40mail.gmail.com
  
 
 .

>>>
>>>
>>> -- 
>>> Abdul Qoyyuum Bin Haji Abdul Kadir
>>> Nickname: Q
>>> More about me: https://buymeacoffee.com/qoyyuum
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to django-users...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CANVqoJ-heprf2%2Bb0NcwqWuF%2BjMKaxApJ7ZqH%3D7uyirpagDxnow%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAH6XLKi3kyHVcO30F7mJ4wzRax_8cgh9hpR52fk7XZNU2VY_Qg

Re: Replay your Django app

2024-10-03 Thread Henry Yates
Hi Abdul, Retrace gives you a comprehensive recording of your application's
execution

It captures the entire execution of your application, including code
execution paths, variable states, network requests, DOM changes, and user
interactions.

You can then use Time-Travel Debugging to step forwards and backwards
through the recorded execution to inspect the state of the application at
any point in time.

The deterministic replays provides an exact replay of what happened,
eliminating guesswork.

Hope that helps. Happy to give a demo.


On Thu, 3 Oct 2024, 02:56 Abdul Qoyyuum Haji Abdul Kadir, <
abdul.qoyy...@gmail.com> wrote:

> How is it any different from reading logs forwarded to  Papertrail -
> cloud-hosted log management, live in seconds  or
> getting error system alerts from  Application Performance Monitoring &
> Error Tracking Software | Sentry  or both?
> And they both have a free plan.
>
> On Wed, 2 Oct 2024 at 22:12, Henry Yates 
> wrote:
>
>> https://retracesoftware.com allows you to record and replay your Django
>> app. It is a massive time saver, enabling you to investigate bugs and flaky
>> tests with perfect reproducibility.
>>
>> We have an initial user group. Members get a free for life licence in
>> return for feedback. We have a couple of spaces that have come up. Let me
>> know if you are interested in joining, and we can get you set up (it is
>> very easy, with 5-10 min onboarding).
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/cedcc7e3-7f13-48ec-8db4-ebf661170910n%40googlegroups.com
>> 
>> .
>>
>
>
> --
> Abdul Qoyyuum Bin Haji Abdul Kadir
> Nickname: Q
> More about me: https://buymeacoffee.com/qoyyuum
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANVqoJ8TYtLqgsW6QdYk0npK2-qDkpiu08zSe8QiFXTLhuOQhw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKTQONXRTo8uLiUjfw-dpzNbN-MBsP2ZB3ZFoLW4XMTUdez_ZQ%40mail.gmail.com.


Re: Replay your Django app

2024-10-03 Thread Henry Yates
Hi Can,
You can see a demo here:
https://player.vimeo.com/video/913949251?h=5e420f85d4

Happy to take you through it on Zoom as well. Let me know
Henry

On Wed, 2 Oct 2024 at 21:10, Can Okay  wrote:

> Hi Henry, I am interested this project. Can you show a demo?
>
>
>
> Can Okay
> Best regards
>
> 2 Eki 2024 Çar 19:44 tarihinde Ravindra Magar  şunu
> yazdı:
>
>> Yes. Interested.
>>
>> On Wed, Oct 2, 2024, 7:37 PM Henry Yates 
>> wrote:
>>
>>> https://retracesoftware.com allows you to record and replay your Django
>>> app. It is a massive time saver, enabling you to investigate bugs and flaky
>>> tests with perfect reproducibility.
>>>
>>> We have an initial user group. Members get a free for life licence in
>>> return for feedback. We have a couple of spaces that have come up. Let me
>>> know if you are interested in joining, and we can get you set up (it is
>>> very easy, with 5-10 min onboarding).
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/cedcc7e3-7f13-48ec-8db4-ebf661170910n%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAHMymCBu%3D_R7n%3DgtCpJffaj8uvPt9Li3JXntnH%3Duy8GReR7cww%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHywbaWXrg9SuMjPpzVTq8iU0affdR%3DCZ8ysrPLU2d7Zyb58Rw%40mail.gmail.com
> 
> .
>


-- 
Henry Yates
https://retracesoftware.com

Come 🏃🏿‍♀️🏃🏻🏃🏿‍♀️ with us for 🇺🇦
https://seedrun.co.uk

T: +44 20 7183 9088
M:+44 7710 808 954

Imperial College
Scale Space
58 Wood Lane
London W12 7RZ

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKTQONXRhUnHF57GDMgQeKKms%3Dg7ih95DpNeYjEH2uw_vDDnOA%40mail.gmail.com.


Django AI Assistant for VS Code

2024-10-03 Thread Jonah Katz
Hey guys, our team just build a free VS Code extension to make it easier to 
use Django. It's basically an AI Chat (RAG) system trained on the Django 
docs that developers can chat with inside of VS Code: 
https://marketplace.visualstudio.com/items?itemName=buildwithlayer.django-integration-expert-Gus30

Also sharing this short explainer video:
https://www.loom.com/share/22693b82ec884bbb8f97a5170730284d?sid=f86cfb7b-bd0b-4503-99b6-31b5c0d636d3

-- 
The contents of this email are intended for the named addressee only. It
contains information that may be confidential and which may also be
privileged. Unless you are the named addressee (or authorized to receive 
for
the addressee) you may not copy or use it, or disclose it to anyone 
else.
If you received it in error please immediately notify the sender by
telephone or by electronic mail and then destroy it.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/de1c64ad-845b-4782-8845-b575c435c7e6n%40googlegroups.com.


Re: Replay your Django app

2024-10-03 Thread Paulo Ouana
Hi Henry,

I’m interested.

Cheers,

Paulo Ouana
E-mail: pauloc.ou...@gmail.com
Cel: +258 82 918 5494


Henry Yates  escreveu em qua., 2/10/2024 às
16:12 :

> https://retracesoftware.com allows you to record and replay your Django
> app. It is a massive time saver, enabling you to investigate bugs and flaky
> tests with perfect reproducibility.
>
> We have an initial user group. Members get a free for life licence in
> return for feedback. We have a couple of spaces that have come up. Let me
> know if you are interested in joining, and we can get you set up (it is
> very easy, with 5-10 min onboarding).
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/cedcc7e3-7f13-48ec-8db4-ebf661170910n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJKvH814q1b-%3De2mOMi94g%2BB-H_Wrk8CQGKbiW2a%3DAjNoN_Ztw%40mail.gmail.com.