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
3
votes
1 answer

Why does conn.Read() write nothing into a []byte, but bufio.Reader.ReadString() works?

I have a connection, created like this: conn, err = net.Dial("tcp", "127.0.0.1:20000") I have tried reading from this connection in two ways. I think they both must work, but the first option doesn't. Here is the first way of doing it: var bytes…
Parham Doustdar
  • 2,019
  • 3
  • 22
  • 41
3
votes
1 answer

Golang os.stdin as a Reader in Goroutines

Is it okay to use os.stdin as a Reader in a Goroutine? Basically what I would like to accomplish is to enable the user to enter a message without blocking the main thread. Example: go func() { for { consolereader :=…
linirod
  • 371
  • 3
  • 9
3
votes
3 answers

C# xml reader, same element name

I'm trying to read an element from my xml file. I need to read an string in an "link" element inside the "metadata", but there are 2 elements called "link", I only need the second one: visit-2015-02-18.gpx February 18,…
washichi
  • 57
  • 7
3
votes
1 answer

Does an html element require focus to be read by screen readers

If I show a modal somewhere on the screen, and I want the screen reader to read it at some point, does setting the aria-live to one of the values suffices, or do I also have to explicitly focus the element when I show it?
amy8374
  • 1,450
  • 3
  • 17
  • 26
2
votes
1 answer

Generate registration code on Simulated readers on stripe terminal

Is it necessary to have a physical reader to generate a new registration code every time we create a new stripe reader, or we can generate using simulated readers, if yes how can we generate the code on test device. Every time I need to create a…
2
votes
0 answers

Registration function isn't working because of problem connected to csv file

The main problem is that after inputting a login program just returns me back instead of working with row in my sorted dictionary. I have a function, that created for registration, Previously I worked with it because I have the full program with…
slsforme
  • 21
  • 1
2
votes
0 answers

CSV reader not functional when including Boolean

Does anyone know why my csv file is not being read when including a Boolean in the reader? It works without and gives no error when compiling, however it seems like the whole read instruction is being skipped, because the System.out.println also…
Benjamin Sas
  • 21
  • 1
  • 3
2
votes
1 answer

how to disable pandoc reader option

I've looked and looked but can't find the answer. (I have read the manual! Cover to cover. Many times. But I may still have missed it ...) How do I disable a pandoc reader option? The specific one I'm after is --file-scope. From Pandoc's behaviour…
user1625815
  • 65
  • 1
  • 7
2
votes
2 answers

Can I use Javacard without reader and physical card?

I'm working on a project related to smartcard security, and I wanted to conduct some tests. But I cannot acquire a card reader to test with at the moment. Is there a way to use Javacard toolkits without having a physical card and card reader? (e.g.…
2
votes
1 answer

OCR reader in reactjs

I am new in reactjs and I have a task in hand. I need to be build and application which is capable to scan a mykad(Malaysian ID card) through camera. Details like name, address, image can be extracted. I googled a bit about open source tesseract but…
user1295308
  • 425
  • 7
  • 20
2
votes
0 answers

NVDA screen reader freezes or not responding when android studio connected to usb debug mode

I am visually impaired and using screen reader. When I use NVDA to access android studio, it works fine, but when I am connected to USB debug mode, NVDA will freeze or not respond. Anyone know why and what the solution is for that? perhaps,…
Wilson
  • 36
  • 1
2
votes
1 answer

How to implement a Reader/Writer program using threads?

I have an issue with a Reader/Writer implementation. I'm supposed to write a Reader class that takes a String from the console and adds it to a Queue and a Writer class that removes the String from the same queue and outputs it onto the console,…
Raighley
  • 59
  • 7
2
votes
2 answers

deal with readtable case when building symbols inside a macro

I want to build a macro that defines several classes and methods based on symbols that would have a root string (I guess this is not an unusual thing to do in lisp ^^). dummy example : (defmacro define-my-stuff (term) would do such things as…
VinD
  • 119
  • 5
2
votes
2 answers

Processing a CSV File to Map using Java 8

I want to collect a CSV file into a map with the map key being the first string of the row (line[0]) and the map value as a string array of the rest of the row excluding line[0]. .collect(Collectors.toMap(line ->line[0], )); unsure what to input as…
2
votes
2 answers

Mp3 ID3 tags, confusing APIC frame structure

I'm working on a JavaScript (frontend side) ID3 tags reader for Mp3 files. I managed to parse text frames. Now, the APIC frame doesn't make sense to me. According to official specification, each frame starts with this: Frame ID $xx xx xx xx …
Alexander
  • 631
  • 1
  • 8
  • 19