Questions tagged [reader]

Reader specifies a software that can read files of a specific format or a hardware gadget that can read some memory card or similar device.

Reader specifies a software that can read files of a specific format or a hardware gadget that can read some memory card or similar device.

554 questions
2
votes
1 answer

Screen reader skipping content

I am using a screen reader (Chrome Vox) to test my site's accessibility. The problem is that after reading the menu, the reader skips all the content and goes direct to the footer. What's the main cause for this behavior?
user7700687
2
votes
1 answer

Python Regular Expression with escape, quote, and delimiter characters

I am new to python and trying to solve the below with regular expression or with CSV reader. My Input string is in the below format: "some text"|"sample\" name|place\\""|"some other text\\"" Expected output is: 'some text','sample"…
sriks
  • 65
  • 1
  • 10
2
votes
1 answer

How does <*> work with Function Applicative?

I am trying to figure out with lambda calculus why the function result of the following code (,) <$> (+1) <*> (+1) has type Num a => a -> (a, a) instead of Num a => a -> a -> (a, a) This is what I have got, am I doing something horribly wrong or is…
D. Amoroso
  • 170
  • 2
  • 10
2
votes
0 answers

Put a default value to stdin while reading with Golang

I am coding a sort of configuration-editor. My goal is to allow a user to edit a complicated config file with a cli. Every thing works well on creation but I have a little question on the edition part. When the user makes an edit, I want to read…
2
votes
2 answers

Using function in c# to return database values index by field names

I am trying to use a function to return values from a table and I cannot decide what's best way of doing this. Using SqlDataReader, dictionary, string array? When calling the function I need to reference the data with field name string. public…
Karim Ali
  • 97
  • 1
  • 10
2
votes
1 answer

Golang excel file reading

I'm using tealeg xlsx library to read an excel file https://github.com/tealeg/xlsx . They have documentation here https://godoc.org/github.com/tealeg/ . It works perfectly fine if I call the OpenFile() by local directory, but I wanted to use an…
user3125693
  • 870
  • 11
  • 24
2
votes
1 answer

Lifting a computation from the State monad into the RWS monad

I structure a computation around the use of the RWS (Reader+Writer+State) monad: newtype Problem a = Problem { unProblem :: RWS MyEnv MyLog MyState a } deriving ({- lots of typeclasses -}) The computation is built step by step…
Arek' Fu
  • 826
  • 8
  • 24
2
votes
1 answer

MySQL Reader closing immediately

I have a method that is recursively populating a list. First it selects the Parent items, then it selects any children it may have using foreign keys. It selects the Parent items fine, but when it starts picking the children, that's when the Reader…
Ben
  • 2,433
  • 5
  • 39
  • 69
2
votes
1 answer

C# - Write in Smartcard using PCSC-Sharp

Good day everyone, I would like to ask on how to write in Smartcard. I just rely on the example given on the documentation but it only has read tag. I follow the examples here in…
Paulo Basilio
  • 23
  • 1
  • 1
  • 4
2
votes
0 answers

PHP reading XLSX files with spreadsheet-reader: issue with the scale of percentage decimals

Issue with the PHP Excel spreadsheet-reader When reading XLSX files that contain percentage decimals with a scale of more than 2 digits the reader will always round up the decimal to up to the second digit on the right side of the decimal point.…
Vlado
  • 3,517
  • 2
  • 26
  • 24
2
votes
0 answers

Reading a CSV file in C# correctly for a print preview

First of all, I'm using a csv file to store data from a DataGridView into it. Now I'm trying to show a printPreview with the data in the csv file. I'm using this: public void ReadDocument() { string docName =…
user4664405
2
votes
0 answers

While Loop output data live (VB.net) XML Reader

Background Story: I have a huge XML file (about 57 GB and increasing about 250 MB / week) which i need to read through and parse data to a database. So far I've been able to setup a XML reader in a while loop which can read each element at a time…
TobiasKnudsen
  • 527
  • 2
  • 9
  • 29
2
votes
0 answers

React - 'Uncaught TypeError: Cannot read property in reader.onload

When I run code below console display: Uncaught TypeError: Cannot read property 'component' of undefined but the test code can display: ReactDOM.findDOMNode(this.refs.component).innerText = 'ddd'; What's problem? var reader = new…
Mazs Li
  • 161
  • 6
2
votes
1 answer

Execute multiple commands in command line using Java

I'm working on a chess program in Java. To calculate the best move (when a person plays against the computer) I use a UCI (universal chess interface). That's a Terminal application (I'm using Mac OS X). With Java I want to execute some commands to…
user4910782
2
votes
1 answer

What's the difference between input/output streams and ordinary reader and writer and what's the difference between their types?

Now I don't seem to get the difference between those streams (Input/Output) and the ordinary writer and reader or even the scanner and formatter ... and why does the InputStream have a lot of sub classes like DataInputStream and…
Amr Saber
  • 988
  • 10
  • 26