Questions tagged [iso]

The International Organization for Standardization is a union of national standardization organizations out of more than 150 countries elaborating standards in nearly all sectors excepted electrics and telecommunications.

1064 questions
8
votes
1 answer

Anyone with a C#, Delphi or FreePascal implementation of the PRESENT Ultra-Lightweight Block Cipher encryption?

A short while ago a paper got published on PRESENT: An Ultra-Lightweight Block Cipher by Andrey Bogdanov et al becoming ISO standard 29192-2:2012. Is there anyone that has a C#, Delphi or FreePascal implementation with unit tests? This was asked…
Gustavo Carreno
  • 9,499
  • 13
  • 45
  • 76
8
votes
2 answers

Locale.UK and country code

According to the ISO 2 character codes uk = United Kingdom. But Locale.UK.getCountry() is returning GB. Am I missing something?
Aravind Yarram
  • 78,777
  • 46
  • 231
  • 327
8
votes
3 answers

What are the examples of non-ISO practices, which are not found by -pedantic?

https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html : Some users try to use -Wpedantic to check programs for strict ISO C conformance. They soon find that it does not do quite what they want: it finds some non-ISO practices, but not all—only…
pmor
  • 5,392
  • 4
  • 17
  • 36
8
votes
1 answer

how to pass capture information in image reader camera2

I am using camera2 API to capture images with manual exposure and ISO. But sometimes the image captured has different values for ISO and exposure then the one I have specified. Is there any way I could pass the information of the values that I set…
Shivam Pokhriyal
  • 479
  • 4
  • 14
8
votes
1 answer

Python: The opposite of `datetime.date.isocalendar()`

The datetime module provides a method date.isocalendar that, given a date, returns it in the format ([year], [week], [weekday]). How do I go backwards? Given a ([year], [week], [weekday]) tuple, how can I get a date object?
Ram Rachum
  • 84,019
  • 84
  • 236
  • 374
8
votes
2 answers

How to print the current time and date in ISO date format in java?

I am supposed to send the current date and time in ISO format as given below: '2018-02-09T13:30:00.000-05:00' I have written the following code: Date date = new Date(); SimpleDateFormat formatter = new…
azaveri7
  • 793
  • 3
  • 18
  • 48
8
votes
2 answers

Would this union work if char had stricter alignment requirements than int?

Recently I came across the following snippet, which is an attempt to ensure all bytes of i (nad no more) are accessible as individual elements of c: union { int i; char c[sizeof(int)]; }; Now this seems a good idea, but I wonder if the standard…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
8
votes
2 answers

What is the difference between 'de' and 'de-DE' language codes?

I notice that i can choose in some places* between those languages: de - German - Deutsch de-DE - Deutsch(Deutschland) - German(Germany) *Android initial device setup, chromium browser in language settings. if one selects de-DE in chromium, it…
bhelm
  • 695
  • 1
  • 7
  • 14
8
votes
2 answers

iOS Custom Tab Bar

I am looking to implement a custom Tab Bar in iOS where selected item is bigger size than the rest of the tabs and peeks out over the content similar to this screenshot. Could someone point to a tutorial of how to accomplish this preferably in…
AlexVPerl
  • 7,652
  • 8
  • 51
  • 83
8
votes
3 answers

javascript Date.parse assumes 31 days in February and all months?

It seems to me that Date.parse assumes all months have 31 days. Including months with 30 days and including February(which should only ever have 28/29 days). I checked this question 31 days in February in Date object But the answer there suggested…
barlop
  • 12,887
  • 8
  • 80
  • 109
8
votes
5 answers

C++ declare 'main' as a reference to function?

What if I define main as a reference to function? #include #include using namespace std; int main1() { cout << "Hello World from main1 function!" << endl; return 0; } int (&main)() = main1; What will happen? I tested…
AnArrayOfFunctions
  • 3,452
  • 2
  • 29
  • 66
8
votes
5 answers

CultureInfo and ISO 639-3

I'm searching a way to construct a CultureInfo object from a ISO 639-3 language code. I didn't find anything in the MSDN about that and trying to get it from the list of all cultures didn't work... CultureInfo cInfo =…
Bidou
  • 7,378
  • 9
  • 47
  • 70
8
votes
2 answers

Standards for smartcard communication

What is the difference between ISO 14443-3 and ISO 7816-4 APDUs? I'm asking this because seems some cards use former to communicate with reader, some latter. I'm confused with this, would like to get a good understanding about this. For example, I…
user2568508
8
votes
3 answers

7zip ISO extraction

I have been trying to extract an ISO image through 7zip and WinRar. Here is the command line that I used: 7z x -y "%Isocontents%\ISO.iso" -o%Newfolder% WinRar.exe x -y -ow "%Isocontents%\ISO.iso" "%Newfolder%" Entire project uses generic batch /…
minu
  • 117
  • 1
  • 1
  • 6
8
votes
4 answers

Spanish characters in Android Studio

I've got a problem with Android Estudio, i'm trying to develope an application but the characters like "¿" or "ñ" and "á,é,ó,í,ú" don't appear correctly when i run the application. I've tried to solve the problem changing the encoding to UTF-8 but…
Dv Apps
  • 153
  • 2
  • 9