October 25, 2024
Chicago 12, Melborne City, USA
python

rdflib converting a complex CSV to a Graph – chained objects

I’m fairly new to OWL and RDFlib, so my apologies if any of my terminology is off. I have a CSV that I’d like to convert into a knowledge graph, where each row becomes a sort of top level subject, and then has properties linked to it. While not important for the problem, the knowledge

Read More
GPL

Free GPL Age Checker for WordPress

Age Verification for WordPress Age Checker is an age verification plugin for WordPress. This popup asks users to verify their age on page load. Once a user confirms that they are above the minimum age, the page content is made accessible. Age restriction is useful for a variety of industries such as alcohol, gambling or

Read More
javascript

Using OpenAI's real-time api with server-vad mode

I’m trying to setup the real-time api, but I’m a little confused on how the audio to audio events are suppose to work in server_vad mode. Currently I do the following: setup the real-time client const client = new RealtimeClient({ apiKey: process.env.OPENAI_API_KEY }); set the client session: instructions: "be nice and helpful", input_audio_transcription: { model:

Read More
pdf

Python pdf to docx

I have a lot of pdf files that have images and tables and I have to convert them to word (.doc or .docx) files. The main problem is that pdf2docx is very slow, but it’s the only library that I have found that is able to convert pdf with images. Do you, guys, know any

Read More
SQL

MsAccess SQL updating tables

I have an old tool that I’m trying to update to a new data source. Everything on the tool seems to be working other than when I try to update specific records based on a load number. Now, this column changed from a NUMBER format, to now a STRING format. That is the only difference.

Read More
CSS

Carousel as a background in my hero section

How do I use a carousel as a background in my website using html and css? I also want to have texts overlaying the carousel.. I have trying using the url option in adding the background but i can’t link the carousel I would really appreciate your assistance on this. Thank you You need to

Read More
HTML

When changing the width of an image with a display: flex everything breaks

I am making a website for trains and i want to add three images but when adding them everytime i want to scale them down everything just breaks the images overlap the text, they go everywhere etc. i just started coding html and css and have little knowledge and also flexboxes are still a new

Read More
Android

How do I automatically connect to all discoverable devices over Bluetooth that are within n RSSI range and running the same application?

I am creating an app on android that automatically connects to other devices running the same app over bluetooth(e.g. no prompts whatsoever) within n RSSI range. It then proceeds to send a file. I currently have the devices successfully "advertising" and "discovering" simoultaneously, but the application does not discover itself and never connects. Here is

Read More
PHP

Error with upload MySQL database to xampp

When I try to add .sql file of an already made PHP script I wasn’t the developer, it says: Error ----------------------- Database: Jack #1050: A table "admins" already exists. Any Solutions on how I can solve the issue? You need to sign in to view this answers

Read More
C#

ESP32TimerInterrupt example doesn't compile for ESP32

I tried to compile TimerInterruptTest.ino example from library ESP32TimerInterrupt. I’m not sure but it looks like that because of library update. But, when I try to compile it throw me this error: In file included from /home/nikola/Arduino/libraries/ESP32TimerInterrupt/src/ESP32TimerInterrupt.h:60, from /tmp/.arduinoIDE-unsaved202491-5718-1ecd3ef.m2hi/TimerInterruptTest/TimerInterruptTest.ino:45: /home/nikola/Arduino/libraries/ESP32TimerInterrupt/src/ESP32TimerInterrupt.hpp: In member function 'bool ESP32TimerInterrupt::setFrequency(const float&, bool (* const&)(void*))': /home/nikola/Arduino/libraries/ESP32TimerInterrupt/src/ESP32TimerInterrupt.hpp:347:23: error: 'TIMER_BASE_CLK' was not declared

Read More