Newest 'converters' Questions - Stack Overflow

Questions tagged [converters]

Converters can change data from one type to another, translate data based on cultural information, or modify other aspects of presentation.

0
votes
2answers
23 views

How to convert hexadecimal to decimal recursively

I need to do this convertion but have no clue. Can someone help me? I need this to complete a calculator of base convertion. I also need that the function return a integer to convert to use in my ...
0
votes
1answer
21 views

Convert huge linked data dumps (RDF/XML, JSON-LD, TTL) to TSV/CSV

Linked data collections are usually given in RDF/XML, JSON-LD, or TTL format. Relatively large data dumps seem fairly difficult to process. What is a good way to convert an RDF/XML file to a TSV of ...
2
votes
2answers
49 views

Can't use converter on list of tuples

First of all, my code references System.ValueTuple. I have a list of tuples: List<(string, string)> theme and I would like to convert the first string of the tuple to a DateTime in one sweep, ...
-3
votes
0answers
16 views

is there a way to convert flash into silverlight, shockwave, java and vice versa? [on hold]

so basically, I wanted to convert flash files to Silverlight, java, shockwave, and vice versa for fun, but I have no way to do so. I've tried using SilverX, but I had no way to download it. I couldn'...
1
vote
0answers
23 views

How To Sort WPF ListView Column by MultiConverter Output

I would like to sort a ListView Column by MultiConverter Output I am using a ListView and its GridViewColumns to display data from a Binding. A handler "SortClickUniversal()" was added to the ...
0
votes
2answers
44 views

Converter for list of objects that have as unique id a tuple of 2 member variables

I am trying to map a list of objects into a <p:selectOneMenu (code shown below): Attribute.java public class Attribute implements Serializable { private String name; private String type; ...
1
vote
1answer
41 views

How to output IBM-1027-codepage-binary-file?

My output (csv/json) from my newly-created program (using .NET framework 4.6) need to be converted to a IBM-1027-codepage-binary-file (to be imported to Japanese client's IBM mainframe), I've search ...
-3
votes
0answers
7 views

Convertion of .arf file to .mp4 in ubuntu

i am not able to convert .arf file to .mp4 in ubuntu. nbr2_mp4 seems like not working. Please provide me a method to open a file this extension to watch the video.
-2
votes
0answers
7 views

Tiff conversion to PDF produces (mostly) blank file in case multiple files in image

while converting tif image to pdf most of the times generate blank pdf file. some tif images have multiple pages. unable to generate proper pdf in same case
0
votes
1answer
47 views

How can I convert .txt to .csv in Python? [closed]

I have a text file that's content is like bellow(I think it's a JSON object): {"t":[1322352000,1322438400] , "o":[123,123], "h":[123,123], "l":[123,123], "c":[123,123]} The problem is, I don't know ...
-4
votes
1answer
76 views

How to convert a few lines of code from vb.net to its c# equivalent

I'm tasked with converting some older VB.net code to C#. Been slowly chipping away at the errors -went from about 100, down now to ~10. The first vb.net code that needs to be converted is: Try My....
-1
votes
0answers
12 views

how to convert a wav file to pcm file using MATLAB [closed]

how to convert a WAV file to a pcm file using MATLAB 2014. I want exactly one conversion program that runs on multiple files as a loop thanks
-3
votes
1answer
36 views

How to convert csv into xml where each column in csv = xml attribute of tag

How to convert csv to xml, where each column in csv is attribute in xml tag via C#? Let me show you what I mean: This is CSV: 1;A;a;b;c;d; 2;B;e;f;g;h; This is Xml: <section> <row code="...
-1
votes
0answers
22 views

How can I wirte the input of a .dat file into a human readable .txt file?

I want to convert a .dat file into a human readable .txt file, which should then be inserted into a database. I tried to convert the .dat-file, but without success so far. Example: [original .dat ...
1
vote
0answers
41 views

How do I build a (working) custom converter with opencsv

I'm using OpenCSV with a nested bean structure. However, I need a custom converter to pull this off (currently focussing on the writing to csv part). I've looked around but I've not found any examples ...
1
vote
1answer
39 views

How to convert json to tree array in JS?

I would like to convert this json / object to this specific structure below to allow me to use a treeList component. I've tried to build a recursive function but I didn't find the solution yet. ...
1
vote
3answers
57 views

How to populate a custom attribute in ProdctData JSON?

I am trying to fetch product data based on some request criteria. When I am converting the productmodel to productdata using convertors and populators i am getting all the product data in response. I ...
-2
votes
2answers
99 views

How to retrieve specific HTML information from a given website

I'm trying to program an API for discord and I need to retrieve two pieces of information out of the HTML code of the web page https://myanimelist.net/character/214 (and other similar pages with URLs ...
0
votes
1answer
26 views

WPF – Converter as DependencyObject

It is not possible to bind a value to ConverterParametr of Binding. Binding can be only set on a DependencyProperty of a DependencyObject. I'm curious about implementing IValueConverter converter as ...
0
votes
0answers
9 views

use of PANDOC to convertation latex to docx: equation numbering is not saved

I use the utility PANDOC for converting the LATEX document to DOCX document. pandoc --pdf-engine=pdflatex myarticle.tex -o article.docx Everything is great, sections, equations and graphs are ...
0
votes
0answers
23 views

VBA Macro that creates three csv files

I have the following VBA code that creates four files .csv csv.sha512 csv.sha256 and .csv.gz based on the excel table I have created. Private Sub Export_Click() Version = "1.0" MyFileName = ...
0
votes
1answer
40 views

How to convert 3 times int in MYSQL datareader?

How can I convert BestellingAantal ToString because I get an error whats says cannot convert type string to bool even I made it a int? It is for a loginsystem with C# String strSQL; strSQL = ...
0
votes
0answers
81 views

I need help to translate a virtual address into a physical address in xv6

(I'm coding on a fork of the public xv6). I am just not being able to find a way to translate them with the fuctions/sc that xv6 has, and neither understand how they work. I just want some simple ...
0
votes
1answer
67 views

How to convert TCanvas->Arc value to SVG Arc

I write a converter for my Company from Metafile to SVG (TCanvas->arc). I already finished to convert rectangle or some other elements but i dont get it how i can convert the arc. I write my Code in ...
-2
votes
0answers
21 views

Problem in converting elements of array to binary and Find a float input number after decimal point

First I Apologize for the Previous Question, that was incomplete and I correct my question. I have a dataset contains 4 columns of data, and we need to convert all of them to binary. Each of the ...
0
votes
1answer
49 views

In CKEditor5, In a downcast converter, how to insert a view element at the beginning of another view element?

I want to add "decoration" (non semantic) elements into the editing view at specific positions. I made a small change in the Block-Widget Plugin given in the CKEditor5 tutorial https://ckeditor.com/...
0
votes
0answers
24 views

Getting Oracle Outside In running on C# failes with “System.IO.FileLoadException: … Strong name validation failed.”

I'm attempting in getting a sample code of Oracle's Outside In library working, which is a library for converting documents like PDFs to HTML. When I run the sample code provided by Oracle I receive ...
0
votes
1answer
27 views

How to turn mp4 with only audio into numpy array

I want to: Download audio files from Youtube which I have done with pytube, however, it is formatted in mp4 even though I set only_audio to True. then turn the audio files to numpy arrays ...
0
votes
0answers
25 views

Custom message converter for spring jms for reading xml type TextMessage

I am reading trying to read TextMessage's from IBM MQ in my consumer. I am getting XML as data. what is the best way to convert xml to POJO. I kind of read we can use Object-XML Mappers. How can I ...
0
votes
0answers
22 views

How to convert a pandas string variable to float without rounding or down-casting?

I have 5000 rows of prices as a pandas object, which I want to transform into two numerical columns of minimum and maximum and get the average.The prices look like this($0.89-1.5, $1.75-2.86). When I ...
-1
votes
1answer
31 views

SQLite: Create blobs table from SELECT WHERE query

Is there a reasonably fast way to convert an sqlite database table into another table where all rows sharing the same value in one of the columns are appended into one string and stored as a blob? ...
0
votes
0answers
11 views

Why can't EclipseLink can't find static class enum converter?

I'm trying to create a static inner class converter that accesses a static mapping array inside an enum so I can store enums as fixed values (the ordinal value is not acceptable as it can ...
-2
votes
3answers
43 views

Temperature Converter is giving me NaN

I need to make a temperature converter using forms and it has to have the ok button display the information and a clear button to clear all information. This is what I have tried to do but it gives ...
0
votes
1answer
79 views

Hexdecimal to String Convert - Ruby

I'm trying to convert hexadecimal to string using Ruby and it does not work with some Chinese characters. I am new to Ruby. Current code is working fine with non-Chinese characters but now code ...
0
votes
0answers
24 views

Can't write/read a string text extracted from a PDF

I have extracted the whole text from a PDF and saved in a variable "CCR". I can print and it shows me the text fine. But when i try to read its lines or save in a txt file, it just show me/save blank/...
0
votes
1answer
23 views

Mapping multiple textures when converting files from .obj to .usdz

I want to convert an .obj file with multiple materials to an .usdz file. When running the command it only applies the last material in line to the whole object. The .usda file it creates shows that ...
-1
votes
0answers
35 views

How to convert cell to double?

I am working on a matlab project. And I did a definition like the one below. Xval = cell (1,1); I want to use the values ​​I get here as a double. str2double was not a solution for me. I will be ...
0
votes
5answers
37 views

How to convert/change date format from MM/DD/YYYY to Month Date, Year?

I'm trying to convert/change my blog date from MM/DD/YYYY to Month Date, Year. For example, this date 11/12/2018 convert to November 12, 2018. Is there a way to do this correctly? I've tried a code ...
0
votes
3answers
34 views

How to store weight values and converting to standard/metric weights?

I'm working on a Vue application, and one of the features deals with weight values. I'm currently storing them in my database as grams, and then converting them to pounds. Eventually I'd like to be ...
0
votes
0answers
32 views

How to convert a lot of data from binary file to string of ones and zeros fast

I try to convert the data in binary file to string of ones and zeros. The size of the binary file is about 2MB which right takes a lot of time to convert it all, how can I make it faster I have tried ...
-6
votes
0answers
41 views

How to convert the following SQL Server query to an MS Access query

I Solved My Problem Latter. Thanks for Guiding me about the policies of StackOverFlow Here Is my full researched Questions and my part of Solution. I wanted to use the following SQL-SERVER Procedure ...
0
votes
1answer
62 views

Convert LINQ stored procedure to SQL inline query

I'm new to LINQ and I would like to convert code execution of stored procedure (executed in C#/LINQ) into SQL code. I want to execude those in SSMS. try { using(var context = new ...
-1
votes
0answers
29 views

how to convert colored multitif to wb?

I have a colored multi tiff file, and I want to convert it a white - black, in vb.net. Thanks!
0
votes
1answer
29 views

How can I convert ASCII 323534 into decimal 254

I have ascii data 323534, which is 254 in decimal. How do I write this in python, so I have as input 323534 and as output an int with 254 thanks in advance. This did not work DistanceP1 = chr(32) ...
1
vote
2answers
48 views

Convert Python3 to Python2

I am trying to use finviz package (written for python 3) in my codes in Python 2. When importing I get SyntaxError: values = f'tickers: {tuple(self._tickers)}\n' \ ...
0
votes
0answers
41 views

WPF: Binding Line values to TextBox values

I have a line and textbox in my WPF project as below: <Line Fill="Red" X1="{Binding ElementName=TxtStartLine1, Path=Text, Converter={StaticResource PointConverter}}" /> also to code c# code ...
0
votes
1answer
35 views

Payara MicroProfile 5.191 intermitted “converter not found” after clean, compile, package, run

I've a Java EE 8 web project (war) with a JSF page that uses a converter. When I try to load that page (after mvn clean compile package and java -jar payara-micro-5.191.jar --deploy rbooking.war) "...
0
votes
1answer
25 views

How to fix USDZ model that are too dark in AR Quick look

I'm trying to convert an obj model to usdz but the model looks too dark when viewing in AR Quick Look on iPhone. To convert the model I'm running. xcrun usdz_converter Kudde_v03/Kudde_v03.obj ./...
0
votes
0answers
12 views

Converting Watsons framework into Apple

Should I still use Watson's Natrual Language Understanding service/enrichments if im going to be converting my Watson app's framework to Apple's iOS and using their Natural Language Understanding ...
0
votes
0answers
13 views

How to convert hexadecimal base into decimal number using python3? [duplicate]

I tried to convert all bases into decimal base. But I was failed to convert hexadecimal base into decimal base.