57,637
questions
-1
votes
0
answers
21
views
Unable to parse --add exports <module>=<value>
In my VM options I have a line of code:
--add-exports java.base/java.lang=ALL-UNNAMED --add-exports java.desktop/su n.awt=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED
And am being ...
0
votes
0
answers
26
views
How to extract data from pdfs which are not in tables or containers into a column based table format in python?
I am trying to convert my pdf data into structured table format data. I have tried bunch of options but none of them have been able to separate fields into columns of table format. I am able to do ...
-1
votes
0
answers
31
views
Capturing Output of i7z command on Linux Server
Background
We use i7z command to check the performance of the Linux Server.
Here is the sample output
However, the output is dynamic/interactive in nature. It keeps on updating in real-time.
(Similar ...
0
votes
0
answers
9
views
Adding Kaitais "doc" to output
How do we access more of the data in Kaitai Struct KSY files in the parsed output of a target file?
I'm specifically looking to get access to the "doc" values for each attribute that has one ...
0
votes
0
answers
13
views
How to traverse the nodes in an Abstract Syntax Tree for a set of conditions?
How to traverse CEL AST and build condition stack in order?
I'm using celparser.py from the cel-python library to parse CEL expressions and generate an AST. After parsing, I need to traverse the AST ...
0
votes
0
answers
35
views
How to parse complex patterns for scheduling?
I implement parser for my university schedule (Innopolis University) from google spreadsheets to .ics files. It looks like this:
Header (1st and 2nd rows) is Course and Group. On the left side - ...
0
votes
0
answers
51
views
Extract SQL-query from string in Python [closed]
I have Power Query scripts in Power BI which contain SQL queries for connecting to database. Obviously, such a string always combines Power Query language and SQL language in it.
How do I extract SQL ...
-1
votes
1
answer
55
views
How to excute curl command string and get HttpResponse rightly in java? [closed]
I got a curl command string, how to get a httpclient response in java?
Put it simply, a function like this:
public HttpResponse<String> sendRequest(String curlStr){
....
}
String curlCmd = &...
-3
votes
0
answers
47
views
Unable to parse JSON due to format of numerical value [closed]
I am trying to convert JSON to an object via JSON.parse(`{${jsonStr.replace()}}`), is my case value of the {${jsonStr.replace()}} is
{ "MIA": 246, "liberty": 215, "...
-1
votes
0
answers
14
views
Access JSON object properties in java [duplicate]
I am trying to access my JSON object properties in java, but I am unfamiliar as how I would be able to access those properties.
This is how the current JSON look like:
"categoriesDetails": [
...
-1
votes
0
answers
88
views
How is variable reassignment dealt with in code generation in compilers?
I'm trying to build my own compiler with C++ for my own basic programming language. In the beginning, I was following a series of YouTube videos from the channel Pixeled, but after a while I decided ...
0
votes
1
answer
67
views
How can I parse text from a *.PG type file?
I have some configuration (backup) files of a Siemens S7-300 PLC with the extension *.PG. Some other files have the extension *.DBF and can be read with the OLEDB Connection. But it is not possible to ...
0
votes
1
answer
42
views
Are `elf.h` structures packed?
Quoting the man page:
All data structures that the file format defines follow the
"natural" size and alignment guidelines for the relevant class.
If necessary, data structures contain ...
0
votes
0
answers
55
views
VBA tool to extract data from large number of log files from a folder
1Extract data from logs and put on a Sheet(Column A and B) since other column already have formula
Apologies Im still noob in vba coding. Seeking help to improve vba code to extract data from large ...
0
votes
0
answers
36
views
how to parse java type com.oracle.truffle into list,string,object
the goal is to parse the inputed data into its correct format.
the issue is that the data type is of some sort of com.oracle.truffle
code::
private Object convertJSValueToJava(Object jsValue) {
...