Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
1 replies
24 views

The code below is real dirty. I need a best practice for using fumadocs built-in prose Would someone please help and send the best practice for this peace of code? .prose { --tw-prose-body: var(--...
SaliNa's user avatar
  • 1
Best practices
1 vote
2 replies
61 views

I am trying to create a full SwiftUI Document app (using swift 6, as it matters). Apple doc says that the Document init(configuration:)and fileWrapper(configuration:)are called on a background thread -...
AirXygène's user avatar
  • 3,061
0 votes
0 answers
42 views

I'm building a document-based app using SwiftUI's DocumentGroup with a custom ReferenceFileDocument. Everything works well when documents are created in the "On My iPhone" directory — they ...
rizwana desai's user avatar
1 vote
1 answer
178 views

I cannot resolve the following error: "DOMException: Permission denied to access property "document" on cross-origin object" when i do this :: const iframeELE = document....
iAlfonso's user avatar
1 vote
0 answers
61 views

I'm building a RAG-based document QA system using Python (no LangChain), LLaMA (50K context), PostgreSQL with pgvector, and Docling for parsing. Users can upload up to 10 large documents (300+ pages ...
Anton Lee's user avatar
1 vote
1 answer
38 views

a constraint requires me that. "the value of B, present in table B1, must always be less than that of A present in table C1". is it correct to implement two triggers to do this? one that is ...
dok's user avatar
  • 469
-1 votes
1 answer
124 views

I am looking to display a list of available documents to the user that they can choose to either view in browser or download to their device. The downloading part is already done and working, however ...
user30266210's user avatar
0 votes
0 answers
207 views

I have a requirement where different documents are saved as a xstring on a database table. These documents should now be displayed. For this I use the SAP Document Viewer. I got it to work with PDFs, ...
SBECK1's user avatar
  • 266
-1 votes
1 answer
77 views

I try to understand The PostgresHook in Airflow. Here is the documentation: https://airflow.apache.org/docs/apache-airflow/1.10.6/_api/airflow/hooks/postgres_hook/index.html Now for example if I wanna ...
Super_Programmer's user avatar
0 votes
1 answer
40 views

we use document library webpart in kentico 12 portal engine and the folder structure and files are placed inside the content tree. I am looking for options to export the whole folder structure with ...
Rakesh Pinnamaneni's user avatar
0 votes
0 answers
79 views

I've a simple html document, with header, main Area and footer. The main Area contains content like Texts and Tables. I would like to print the document only with html and css to pdf. The header and ...
MiKre's user avatar
  • 1
1 vote
1 answer
64 views

I have this code: $(document).keyup( function(e) { console.log($(this).attr('id')); }); When typing in an HTML input tag with an id, the output in console.log is: undefined How then to use $(this) ...
Cymro's user avatar
  • 1,484
0 votes
1 answer
272 views

I am new to Neovim, and I have written some plugins. I want to learn how to write documentation. As far as I know: *tag* - Defines a tag |link| - Links to other help topics. Press `K` (...
Carson's user avatar
  • 8,938
0 votes
0 answers
32 views

I am using grapecity.document.gcExcel (7.2.1) and for few columns, data is not getting populated. So I want to populate the data in column C, D, F, G, I, J but the data is getting populated in only ...
Vipul's user avatar
  • 35
2 votes
1 answer
100 views

A quick help here, I was reading the library's manual but couldn't find any help. I have the below code where I used the alignment BOTH in order to achieve the justified alignemnt that Word has, but ...
user avatar
-1 votes
1 answer
103 views

I have a problem with my code since it allows creating documents which have Strings with measurements defined by the code itself. When I try to display them on the screen, the program gives me the ...
chamorro's user avatar
1 vote
0 answers
82 views

Task: The task is to insert a string of any length into a new .doc (not .docx) file. This means creating a new .doc file and writing my string into it. I tried using the NuGet package NPOI.HWPF for ...
ev.shevnun's user avatar
0 votes
0 answers
47 views

I am using zegocloud voice and video service to build video calling app. I have use nextjs framework and while building stage this page is occurring a document is not defined error in server side ...
Bhavesh Choudhary's user avatar
1 vote
1 answer
66 views

Bigquery suggest me 'EXTRACT' funtion syntax: extract(datetime_part FROM timestamp_expr [AT TIME ZONE tz_spec]) However, Bigquery notice "Unexpected keyword AT". Moreover, it's syntax in ...
Minh's user avatar
  • 11
0 votes
1 answer
799 views

I am importing UnstructuredPDFLoader from langchain.document_loaders and trying to load a pdf file using the following command. from langchain.document_loaders import UnstructuredPDFLoader loader = ...
gopakumar sivanpillai's user avatar
-1 votes
1 answer
59 views

In XCode 13.3, I create a brand new Document-based MacOS application, called OpenTextDoc. It immediately runs, and when I choose the app's Open... menu command, the Open File dialog shows all files ...
jsbox's user avatar
  • 328
1 vote
2 answers
50 views

I am trying to load two ontologies using OWL-api in Java. They way I load them is this: String onto1_iri = "http://purl.obolibrary.org/obo/psdo.owl" String onto2_iri = "http://purl....
Costas's user avatar
  • 11
0 votes
1 answer
49 views

I would like to use an open source image to text converter to populate text fields with in Drupal. I tried setting the tesseract executable path in settings.php and thought that the document_ocr ...
user282623's user avatar
0 votes
1 answer
75 views

I have this collection public class Notification { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string Id { get; set; } [BsonElement("Text")] public string ...
DevMD's user avatar
  • 39
0 votes
1 answer
50 views

I have some questions about generating a dissimilarity matrix of a bunch of text documents using word vectors. Here I tokenise the text, remove OOV and then sum the word vectors of each word to use as ...
D. Zammit's user avatar
1 vote
1 answer
177 views

My company recently implemented this as a requirement before saving a document: In this case, the options are: But I'm guessing that's specific to my company, not an Excel thing. I could be wrong. ...
Hambone's user avatar
  • 16.5k
0 votes
1 answer
156 views

Here going to create versions (version history) of a document using this type of curl POST /v1.0/drives/{drive-id}/items/{item-id}/versions Content-Type: application/json { "content": { ...
Abhishek Dheeman's user avatar
2 votes
1 answer
523 views

I am creating an angular library that has a root-level service class that references document. I'd like to add SSR support, but of course document is not defined in SSR context. It seems that Angular ...
Jake Loew's user avatar
  • 225
0 votes
1 answer
40 views

I wonder what the license of the pandas document is. Is it permitted to redistribute it? I would like the local readers to have fast and stable access to the document. I have tried to find the license ...
Wei's user avatar
  • 13
0 votes
1 answer
474 views

Future<void> readFile() async { final Directory directory = await getApplicationDocumentsDirectory(); final File file = File('${directory.path}/preset_test.txt'); try { final contents = await ...
İrem Kürekçi's user avatar
0 votes
2 answers
2k views

I'm currently developing a React Native app that incorporates a document scanning feature using the react-native-document-scanner-plugin. While the plugin functions flawlessly on iOS devices, I've ...
ABIKANNAN E's user avatar
1 vote
1 answer
346 views

I have a JSON file. How can I create a word document from JSON data. Using templates, I can only fill in one variable. How do I create dynamic word template based on number of values inside JSON list? ...
Kitty's user avatar
  • 167
0 votes
0 answers
62 views

I'm using the following code to create a document and write to a file. However, when I view the created pdf file, all the views have been drawn except for images. I tried to set the layout as the ...
Salma KD's user avatar
  • 231
0 votes
0 answers
41 views

I need a pdf file where it must contains borders on all side with some text content on top and table under the text, when the table exceeds the border, it must continue in the next page, Im using ...
Varun Teja's user avatar
1 vote
0 answers
123 views

I want to sort bounding boxes in a way that a human would read a document using python. Context: I have a PDF document and I am using unilm DiT (Document image Transformer) to know which parts are ...
Sebas Fernández's user avatar
0 votes
0 answers
31 views

Addition of the words YES and NO to Korean documents without association with the document's context. enter image description here 2.Encounters challenges in precisely translating documents ...
Manjula Chandra's user avatar
1 vote
1 answer
276 views

Executing the following code return this error "Bad Request: there is no document in the request" const FILE_PATH = path.join(__dirname, "test.txt"); const document = fs....
Amine Deflaoui's user avatar
1 vote
3 answers
267 views

Background: Our product includes a document management system that allows users to save and retrieve various document types (.PDF, .DOC, .JPG, .PNG, .TIF, etc.). Currently there is a record in the ...
Homer Jones's user avatar
-1 votes
1 answer
50 views

My requirement is to create a embedded document in mongodb collection through Java and here's the structure folder { _id: String, // location id documentVersion: int, locationDisplayName: String; ...
Amala Kalyanasundaram's user avatar
0 votes
0 answers
35 views

I have javascript on my page which opens a different page every hour of the day. This example uses a text link in the code. It opens in the same window it is displayed on. Works fine except I need it ...
rma45's user avatar
  • 1
0 votes
0 answers
165 views

I have written a scrip to create a pdf using dompdf using a simple textarea post to collect the code to be converted. When I download the document, it doesn't render correctly. The pdf displays ...
tard's user avatar
  • 3
1 vote
1 answer
131 views

I am encountering issues with text copying in the Syncfusion Document Editor for Angular. In the attached document, when I attempt to copy the second sentence and paste it elsewhere, some text are ...
Santhakumar Ajith's user avatar
0 votes
2 answers
79 views

I am trying to create a combination docx file that will be the concatenation of 2 docx files. I have the following python code: from docx import Document files = ['Doc2.docx', 'Doc3.docx'] def ...
Roffy's user avatar
  • 33
2 votes
1 answer
2k views

I am trying to code a document chat bot using langchian. I installed the following first using : $ pip install langchain langchain-openai pypdf openai chromadb tiktoken docx2txt* When I run try to ...
tahera fahimi's user avatar
1 vote
1 answer
425 views

I need to set up document viewing in the browser. The documents could be either in PDF or XPS formats. I attempted to use an iframe. While PDF documents are being displayed, XPS ones are being ...
Лев Герасимов's user avatar
0 votes
1 answer
518 views

I am wondering if it is possible to retrieve a newly created document revision number through the Polarion API. Currently I am trying to branch a source document to a new one but I can't get the ...
Alicemirror's user avatar
0 votes
0 answers
137 views

When I inspected and in console I wrote window.document = null; or window = null;. This do not assign null for respective props, why such behaviour? If so, then can I explicitly disable any object or ...
Prajval Gahine's user avatar
1 vote
0 answers
52 views

Docx file has a paragraph where a work has hyperlink to internal (in same docx file) section. I am trying to use python-docx library but stuck at finding the section using hyperlink found with a word. ...
user4571139's user avatar
1 vote
1 answer
408 views

In h2ogpt I am unable to add document to collection to chat. https://docs.h2o.ai/h2ogpte-docs/guide/collections/add-documents-to-a-collection states to click on "Add documents" however I do ...
Sameer Mahajan's user avatar
1 vote
0 answers
113 views

I am currently grappling with the technical challenge of automating the download process for spreadsheets associated with sale order lines in odoo. The objective is to streamline the workflow by ...
Jack Sparrow's user avatar

1
2 3 4 5
66