1,060 questions
1
vote
2
answers
95
views
Flutter Android build fails with checkDebugAarMetadata due to Media3 dependencies requiring compileSdk 35
I'm building a Flutter app and encountering a build failure related to Android dependencies.
❌ Error:
Execution failed for task ':app:checkDebugAarMetadata'.
A failure occurred while executing
com....
2
votes
1
answer
191
views
Is there a way to use ISO 3166-2 subdivision codes with Intl.DisplayNames?
I'm trying to dynamically convert a large batch of country ISO codes (taken from a set of files in a directory) to the names of their respective countries using the built-in Intl library. However, the ...
0
votes
0
answers
71
views
Parse date from lancedb formatted iso string to chrono in Rust
I'm working on an application that uses lancedb's Rust crate for storage. I'm saving dates as unix integers, but LanceDB formats them as iso strings with a trailing decimal... sometimes.
Last Read: &...
0
votes
1
answer
109
views
How to write an REQB function for ISO 14443 type B?
So the send_reqa is working fine but not clrc_reqb. The RF field is on but no card detection.
The chip is an clrc663 connected via spi to an nrf chip.
The registers and values are taken from NXP who ...
0
votes
0
answers
23
views
Handling ISO 639-2/3 codes in Phoenix's Gettext implementation?
I need help understanding the information found on Phoenix's Gettext documentation and Phoenix's Plural documentation. I understand the default is the two-letter ISO 369 language codes, but it doesn't ...
0
votes
2
answers
72
views
Listview does not scroll to the end but only to a certain point and i don't know why. flutter
I creating chatbot app, and i have a problem with listview when i send message listview scroll only to certain point but should to the end.
import 'package:ai_language_learning_app/features/chat/...
-3
votes
1
answer
94
views
Is there an ISO format which defines timezone aware datetime values with nanosecond precision?
I am aware of ISO 8601, which I believe defines a format for exchange of string formatted timezone aware datetime values with a precision of either seconds, or milliseconds.
The milliseconds component ...
2
votes
1
answer
91
views
Check if string only contains characters from a certain ISO specification
Short question:
What is the most efficient way to check whether a .TXT file contains only characters defined in a selected ISO specification?
Question with full context:
In the German energy market ...
0
votes
0
answers
80
views
JMeter iso8583 plugin - EMV data field 55 packing issue
I am following the instructions in https://github.com/tilln/jmeter-iso8583 for setting up the field 55
field 55 with ICC/EMV data in BER-TLV format can be defined as in the following example:
Field ...
1
vote
3
answers
67
views
fix Flutter drawer items
I'm trying to have a footer Widget align to the bottom of the Drawer but still not working Drawer Header and a list at the top of the Drawer. Here's what I'm trying:
//drawer class
class ...
4
votes
1
answer
322
views
What is the official C++ standard?
I thought the official C++ standard was 2023, but according to https://isocpp.org/std/the-standard it still points to 2020. Is this just an oversight of that document? It seems to be an authoritative ...
0
votes
1
answer
110
views
Denote timezone in ISO 8601 when using date only
We're working on system backups and want to use ISO 8601 dates on media labels. We're at a tossup between whether or not a date like 2024-01-11 is using local time or UTC (which is not local in our ...
0
votes
1
answer
235
views
Issues with Converting BIN to Bootable ISO for OS Development
I'm developing an OS and have been using a BIN file that contains both my bootloader and kernel. I’ve been running the BIN file using QEMU with the -drive option, and everything works as expected. ...
1
vote
1
answer
52
views
Encoding issue ISO-charset vs utf-8 [duplicate]
When I input data such as : Œ, œ, Ÿ, … , €, ≤, ≥, ∞, ≈, ≠, – , — , ‐ , ‑ , ‹ ›, “ ”, ‘ ’
And then try to access data from the $_REQUEST['some_value'] I get this as my output
¼, ½, ¾, … ,...
0
votes
0
answers
35
views
How do I know if a user has used a similar string when changing the password?
I see that there's a security requirement in some audit systems that says "the user cannot change the password to a similar string". For example, simply changing 123456 to 123456! should not ...
0
votes
1
answer
348
views
How to add a file to an existing ISO image using C# and save the updated ISO?
I am working on a project where I need to open an existing ISO file, add a specific file (e.g., an XML file) to it, and then save the updated ISO image. I've been using the DiscUtils library to read ...
0
votes
2
answers
76
views
convert timestamp with offset to utc timestamp in python?
I have a dataframe with a column in it -
date_col
2024-05-12T17:46:50.746922-07:00
2024-05-12T17:31:35.438304-07:00
2024-05-12T17:46:50.642095-07:00
2024-05-12T17:02:02.299320-07:00
I tried below ...
0
votes
1
answer
157
views
Some compilers print an error, some don't in C
The code below is a copy of an online resource about nested structure in C.
The program defines 2 structures, "Organisation" and "Employee", then in main function an object of &...
0
votes
0
answers
118
views
Knex not compiling Date to ISO string
I am using knex.js with a postgresql database.
I am looking into replacing moment.js with date-fns in my codebase and I am running into a really odd situation with the formatting of queries.
We are ...
2
votes
1
answer
115
views
Standard Pascal 7185 silent on reading strings from textfiles
In the ISO/IEC 7185:1990(E) Standard Pascal specification, in Clause 6.9.1 for the procedure read, subsection "a)" reads as follows:
a) For n>=1, read(f,v1,...,vn) shall access the ...
1
vote
2
answers
383
views
Mount .iso file with python
I am trying to mount iso file with python on Windows 10. Here is the code:
import ctypes
from ctypes import wintypes
ByteArray8 = wintypes.BYTE * 8
src = r'F:\Backup\ubuntu.iso'
class GUID(ctypes....
1
vote
1
answer
59
views
Is the alternative operator in ABNF match first or longest?
ISO 5234 says:
https://datatracker.ietf.org/doc/html/rfc5234#section-3.2
Elements separated by a forward slash ("/") are alternatives. Therefore,
foo / bar
will accept <foo> ...
3
votes
2
answers
790
views
How to change style/design of AppShortcuts in Shortcuts App (tiles vs circle group)
Addind the AppIntent of my app as AppShortcuts to the Shortcuts Apps was easy. This only required an AppShortcutsProvider. However, I am confused how the AppShortcuts are shown in the Shortcuts App. ...
6
votes
3
answers
415
views
Structure of MPEG-4 "©xyz" box
I am trying to parse out ISO/IEC 14496-12 based files (essentially MPEG-4 movies). There are a few boxes are not in the standards (or on the MP4 Registration Authority lists), but are in real-world ...
0
votes
3
answers
161
views
Is it ok to omit the void parameter in a C function definition?
I know that in modern C when we declare a function that has no parameter we must specify the void keyword like :
int fx(void);
However I have some doubts when it comes to function definitions. For ...
0
votes
0
answers
57
views
Reconstructing a date from year, isoWeek and day with MomentJS
I am working on an application which saves events to a NoSQL database which is separated into collections using the year, week and day of the event. The events are saved in such a way that all events ...
1
vote
0
answers
378
views
How can i use the qsort_s function in my c program?
I found qsort_s function in C Refenence, which can provide a another parameter, which offers context information, to the compare function that compared to the qsort function.
However, the signature of ...
0
votes
1
answer
188
views
How could I define a function `lookup_country_iso_codes` which returns the 2-digit and 3-digit ISO country code
Here is the question:
Define a function lookup_country_iso_codes which returns the 2-digit and 3-digit ISO country code given the name of country, based on countries.json in working directory.
def ...
0
votes
1
answer
214
views
cannot get the link to download win 11 ISO file it seems the link generated but not available to me
here is the result screenshot i got when I step through the process of downloading the iso file of win 11 in the official ms website please help me out downloading the file.
it seems the link to the ...
0
votes
1
answer
69
views
The SENSOR_SENSITIVITY and SENSOR_EXPOSURE_TIME settings are not applied when capturing
I'm trying to make a simple application. The SENSOR_SENSITIVITY and SENSOR_EXPOSURE_TIME settings are not applied when capturing.
`cameraManager.openCamera(cameraId, object : CameraDevice....
0
votes
4
answers
2k
views
External Dependency Manager in Unity installing Cocoapods succeeded but the pod tool cannot be found
I try to make build on iOs with Unity. But has problem with Branch.io and (Header.h in xCode) file.
To resolve dependencies, it is suggested to use External Dependency Manager. It runs the cocoapods ...
1
vote
1
answer
160
views
In isobmff library, how to write only moof and mdat (m4v) (MUXING)
I am using isobmff library https://github.com/MPEGGroup/isobmff.
My Goal is make m4v file.
I Know How to make mp4 and fmp4 using this library.
But, I do not know how to make only m4v(moof and mdat box ...
5
votes
3
answers
362
views
How do the C and C++ standards tell you to deal with situations that are not covered by them?
It is well known that in each of the C and C++ standards there were "blind spots" that did not describe certain cases in well-formed programs. It is obvious that in non-formal descriptions ...
1
vote
1
answer
740
views
Felica system codes and ISO 7816 identifiers for NFC on iOS
I am making a mobile application in flutter and ran into a problem.
In my app, you need to be able to scan an NFC chip using the phone's scanner.
It works fine on Android, but when I try to build it ...
0
votes
2
answers
319
views
How could I use the "CM" region in .NET 6?
I have a .NET 6 application. I am trying to run this code:
using System;
using System.Text;
using System.Globalization;
public class Program
{
public static void Main()
{
...
0
votes
1
answer
188
views
R - Why can't I match country codes to custom dictionary?
I'm working with gtap data and would like to combine it with other datasets. I am trying to find a way to use country ID's/codes, and it seems one option is to use the R package countrycodes. However, ...
2
votes
1
answer
585
views
Convert Fingerprint Image to Template with Java
I am trying to convert a fingerprint image with format jpg to a template using the library
SourceAFIS
https://sourceafis.machinezoo.com/
But I am receiving a few bytes that doesn't look like template (...
0
votes
1
answer
227
views
Is casting a pointer/address of object type T to void* and then back to the original type T always safe?
A lot of books say that it is safe and the ISO goes "A pointer to void may be converted to or from a pointer to any incomplete or object
type. A pointer to any incomplete or object type may be ...
1
vote
0
answers
36
views
Why datetime and time isoformat are differents? [duplicate]
from datetime import datetime, time
from zoneinfo import ZoneInfo
time(8, 37, 9, tzinfo=ZoneInfo("UTC")).isoformat()
# '08:37:09+00:00'
datetime.utcnow().isoformat()
# 2023-07-13T08:37:09....
1
vote
0
answers
126
views
What are the possible region codes in the Amadeus API?
I am working with the Airline Routes endpoint (/airline/destinations) of the Amadeus Self-Service API and want to figure out what the possible values for the regionCode property are to be able to ...
3
votes
1
answer
211
views
In the C++ standard, paragraph 6.7.3.5, what does "depends on the side effects" mean?
The paragraph in question:
A program may end the lifetime of any object by reusing the storage which the object occupies or by explicitly
calling a destructor or pseudo-destructor (7.5.4.4) for the ...
1
vote
1
answer
363
views
Parsing XML in teradata
I have this requirement where I am trying to build SQL queries on teradata and pull XML attributes/element data.
The dataset I am working on is a swift iso payment xmlsnlike PAC04,PACS08,etc.
I looked ...
0
votes
2
answers
175
views
How to eject iso based dvd drive on Windows
I'm trying to make a code that will eject the dvd drive created when an iso file is opened on windows 10. I would prefer it based on the name of the iso file, but I can also use drive letter if ...
1
vote
0
answers
253
views
multiple mounts of the same iso
I have a script that mounts an ISO file does some work and later unmounts the same ISO file.
I'm interested in running multiple instances of this script in parallel on the same machine.
Currently, to ...
0
votes
0
answers
212
views
How can I convert Excel date columns to ISO Dates using string manipulation?
I have been practising Excel as I have been applying to apprenticeships.
During this task I've been trying to figure out how to use string manipulation to convert each date column (I2 and K2) to ISO ...
1
vote
1
answer
958
views
Parse a datetime string that has no 'T' separator using java.time
I am trying to parse string "2023-05-10 09:41:00" to LocalTime using java.time library.
When I try LocalTime.parse("2023-05-10 09:41:00", DateTimeFormatter.ISO_LOCAL_DATE_TIME) I ...
0
votes
1
answer
149
views
Custom trailer in ISO message
I'm using Base24 channel in my jpos and I want to add extra characters after my trailer can anyone share your thought how to add it.
1
vote
0
answers
548
views
Second Generate AC command returns 6A86 after successful First Generate AC command in EMV transaction
I am currently implementing an EMV transaction and have encountered an issue where my Second Generate AC command is returning a "6A86" response code when called immediately after a ...
0
votes
1
answer
412
views
Convert ISO datetime to datetime and char for calculation
I have a dataset with a variable with a date ISO and I need to compare it with another date to calculation duration.
| ID | startdt | enddt
| -------- | -------- |
| US12 | 2012-05-01T14:34-...
0
votes
1
answer
696
views
Implementing CRC in Java for a hex string
I have been tasked with implementing a CRC using Java. I wasn't given a specs to follow, but I am following this PDF:
https://cdn.standards.iteh.ai/samples/6904/2c02d323a7ae41838de8b8b806cf3725/ISO-...