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

setting text color to transparent for hiding accessibility content?

I have a bunch of tags with background-images properties that I would like to give some content for screenreaders but I obviously can't give it an alt attribute since they are not tags. Would screenreaders be able to read the content as long…
Lisa
  • 43
  • 3
2
votes
2 answers

QRcode reader plugin working within HTML5 and cross browser

I've found a very simple yet working fine QRcode generator plugin that works in pure jQuery. The plugin's name is jquery.qrcode. Here is how it works when given a url: function showQR(url) { $('#qrcode').qrcode({ "width": 100, …
user3553401
  • 109
  • 2
  • 15
2
votes
3 answers

How to read URL in NFC in android

I used this code for integrating NFC reading in my android application. Write a plain text to the NFC tag and read using app it is perfectly working. Now my requirement is to read URL from the NFC tag.When reading value from NFC tag it automatically…
Renjith Krishnan
  • 2,446
  • 5
  • 29
  • 53
2
votes
2 answers

Many writers one reader without concurrency

I'm programming in java, and I have a List logwhich is shared between different threads. These "writers" threads are already synchronized between them, so only one thread at time can add or remove elements from log However, because of the…
justHelloWorld
  • 6,478
  • 8
  • 58
  • 138
1
vote
0 answers

How to read fields from csv with whitespaces and period in Spring Batch?

I am trying to read the entire column of a csv into my Spring Batch reader, however I am getting an error because one of my fields have an whitespace and period, so my code does not works as expect. How can I fix my lineMapper to work also with…
1
vote
1 answer

Copying all but last item in a row from csv file to different file

I have a csv with rows of data I need to parse through. I am checking for equality across different lines and sending lines that are the same into their own files. For instance: ABC ABC ABC ACB ACB ACB BCA BCA BCA All instances of ABC, ACB, and BCA…
1
vote
0 answers

How to distinguish smartcard reader from fingerprint reader using winapi (winscard.h)

In order to retrieve readers on my computer, I should use: SCARDCONTEXT SCardContext; if (SCardEstablishContext(SCARD_SCOPE_USER, NULL, NULL, &SCardContext)) { char ReaderNames[1000]; DWORD Length = 1000; if(Status =…
Nikola
  • 125
  • 1
  • 8
1
vote
0 answers

First row of csv file not printing

When printing the rows of my csv file, the first row of data is missing this is the code I have so far import csv with open('Data/inputdata_c950.csv', encoding='utf-8-sig') as csvfile: input_data = csv.reader(csvfile, delimiter=',') for…
Ainz71
  • 11
  • 2
1
vote
2 answers

TypeError: '_VirtualList' object is not callable

when ever i run this code my GUI show this error: _VirtualList' object is not callable where im wrong? import PyPDF2 pdf = open("the-alchemist-paulo-coelho.pdf", "rb") reader = PyPDF2.PdfReader(pdf) page =…
Ali Abdullah
  • 19
  • 1
  • 2
1
vote
2 answers

Switch between gzip and csv reader dynamically

i am using the following code snippet to unpack a zipped csv file and split it into even parts. func split(feed MerchantFeed, db *gorm.DB) { var merchant Merchant db.First(&merchant, feed.MerchantID) merchant.Title =…
DudiDude
  • 355
  • 3
  • 12
1
vote
1 answer

malformed MIME header: missing colon: "Friday, September "

I hope you guys are doing great. I've got a quick question. Is there a way to get that "Friday, September..." into the subject or another customized header? I'm getting this error "malformed MIME header: missing colon: "Friday, September "" whenever…
1
vote
1 answer

Golang: Read from STDIN and block until there is something being sent to STDIN

trying to figure out how to read from STDIN in a loop in Go / Golang and block while there is nothing there. I am trying to have a parent program execute this one as a child with a pipe to write to the child STDIN and read from child STDOUT. I get…
1
vote
0 answers

Handling line separators in shared reader library

I'm writing a PeekReader class that I plan to share as public available library. The question is how to handle correctly line separators. I plan to create a filter that transforms the line separators in new line. /* Not actual code, just to let…
Luca Scarcia
  • 208
  • 1
  • 11
1
vote
1 answer

How to remove the pre header line item of a CSV file using csv.DictReader

I would like to remove the first line from a csv file like below which comes with the encode type, so when I`m reading that file with csv.DictReader it is recognizing this word as a key from the dictionary. csv input:…
Celio Cruz
  • 13
  • 2
1
vote
1 answer

how to make in lisp a reader macro to read raw strings (ie backslash is a literal not an escape character)

In python you can write this r"c:\data" How do I the same in lisp? ie I want a reader macro that has the same functionality so I no longer need to escape backslashes in windows paths. I do not want to use forward slashes as plenty of commands in…
f l
  • 1,684
  • 2
  • 10
  • 11