Category "web"

how to compare only date from a model's datetimefield with current date?

I want to use Model.objects.filter(datetime_lte=datetime.datetime.now.date()) How exactly can I achieve this? I am using django 1.6.5. I want only records of cu

TypeScript: problems with type system

I'm just testing typescript in VisualStudio 2012 and have a problem with its type system. My html site has a canvas tag with the id "mycanvas". I'm trying to dr

PHP | "The requested PHP extension bcmath is missing from your system."

Greetings fellow developers, I am trying to use composer for a PHP project of mine on a development server I recently booted up and for some reason I am unable

Uncaught Error: Based on the provided shape, [1024,3], the tensor should have 3072 values but has 30

I am trying to build a Tensorflow.js app, it works all good locally, but when I hosted it (I tried Netlify and Vercel on both Firefox and Chrome) I got this err

how to install Socket.io over node.js?

I will need any help i can get to install socket.io over node.js for server. I have already installed the node from the site. I am interested in step- by step(

How to exclude tagged posts from Facebook Graph API response

I'm using v 2.8 of the Facebook Graph API, and am trying to get a list of all posts from a Facebook page, but excluding all mentions of the page from random pub

How to select destination output device using Web Audio Api

I have been using web audio api and have created a context, and populated a source buffer with data. It plays fine over the default output device, but i don't

Is there a way to adjust Powerpoint chart inside of web application?

Current behavior: I'm generating PowerPoint presentation using Aspose Slides and I'm adding some charts (simple rectangles) with connectors in few slides. Wha

How to add Document with Custom ID to firestore in firestore 9

How to add a custom id to a firestore document instead of automatically generated id by firebase 9? i've problem transforming this code into firebase 9 version