Tag: c

60 votes
11 answers
1.4K views
Most efficient way to map function over numpy array

What is the most efficient way to map a function over a numpy array? The way I've been doing it in my cur

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
47 votes
30 answers
798 views
How to count the occurrence of certain item in an ndarray?

In Python, I have an ndarray y that is printed as array([0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1]) I'm trying

avatar
Lynette
0 1 0 9
asked 07 September, 2021
55 votes
22 answers
833 views
How can the Euclidean distance be calculated with NumPy?

I have two points in 3D: (xa, ya, za) (xb, yb, zb) And I want to calculate the distance: dist = sqrt((xa-xb)^

avatar
Vi
0 1 0 9
asked 07 September, 2021
47 votes
11 answers
454 views
Dump a NumPy array into a csv file

Is there a way to dump a NumPy array into a CSV file? I have a 2D NumPy array and need to dump it in human-rea

avatar
Joseph
0 1 0 9
asked 07 September, 2021
50 votes
4 answers
1.6K views
.NET Standard, .NET Core, PCL

.NET Standard has been a confusing concept. The idea of a standard .NET library format sounds great. But, it&a

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
52 votes
3 answers
1.4K views
How to speed up MonoTouch compilation time?

It is well known that If compiling takes even 15 seconds, programmers will get bored while the compiler ru

avatar
Jefferey
0 1 0 9
asked 07 September, 2021
59 votes
5 answers
644 views
Why the 20px gap at the top of my UIViewController?

The Problem Consider the following controller hierarchy: UINavigationController UIViewController UITableVi

avatar
Hilario
0 1 0 9
asked 07 September, 2021
63 votes
9 answers
2.4K views
Android - Correct use of invalidateOptionsMenu()

I have been searching a lot on invalidateOptionsMenu() and I know what it does. But I cannot think of any real

avatar
Basil
0 1 0 9
asked 07 September, 2021
63 votes
4 answers
439 views
How to create click event on label in xamarin forms dynamically

I am working on cross platform xamarin application and I want to create hyperlink label for "Forgot password?"

avatar
Suzan
0 1 0 9
asked 07 September, 2021
55 votes
1 answers
799 views
MarkerClick works but InfoWindowClick does not open ViewModel

The following MarkerClick implementation works, perfectly fine. I could be able to open other Views via ShowVi

avatar
Juliane
0 1 0 9
asked 07 September, 2021
61 votes
5 answers
1.9K views
Xamarin iOS memory leaks everywhere

We've been using Xamarin iOS for the last 8 months and developed a non-trivial enterprise app with many s

avatar
Rudolf
0 1 0 9
asked 07 September, 2021
54 votes
5 answers
2K views
How to update Xamarin for Android within Visual Studio Community 2015

I've recently installed Visual Studio Community 2015 and I've been following an MSDN tutorial "Build

avatar
Serina
0 1 0 9
asked 07 September, 2021
67 votes
2 answers
3.1K views
Difference between Xamarin and Telerik's native script

Xamarin Write the model in C# Write the views for each OS in their own native way Xamarin promises that t

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
55 votes
6 answers
2.2K views
How to use Push Notifications in Xamarin Forms

I have an app using Xamarin.Forms targeting IOS, Android and WP 8. I need push notification feature in my ap

avatar
Freida
0 1 0 9
asked 07 September, 2021
61 votes
4 answers
3K views
In Xamarin.Forms Device.BeginInvokeOnMainThread() doesn’t show message box from notification callback *only* in Release config on physical device

I'm rewriting my existing (swift) iOS physical therapy app "On My Nerves" to Xamarin.Forms. It's a t

avatar
Suzan
0 1 0 9
asked 07 September, 2021
60 votes
8 answers
3.1K views
GridLayoutManager - how to auto fit columns?

I have a RecyclerView with a GridLayoutManager that displays Card Views. I want the cards to rearrange accordi

avatar
Charis
0 1 0 9
asked 07 September, 2021
58 votes
6 answers
2.7K views
Xamarin Visual Studio IOS Development Without a Mac?

I'm a .NET developer and want to write an IOS & Android app in C#. I've had a read around Xamari

avatar
Brianne
0 1 0 9
asked 07 September, 2021
47 votes
9 answers
2.2K views
Getting OutOfMemoryException in Xamarin

java.lang.OutOfMemoryError. Consider increasing the value of $(JavaMaximumHeapSize). Java ran out of memo

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
55 votes
7 answers
830 views
Can you develop Linux applications with Xamarin?

Is it possible to develop and build Linux applications with Xamarin with the same code base? After a few year

avatar
Bryan
0 1 0 9
asked 07 September, 2021
53 votes
27 answers
1.4K views
ERROR ITMS-90164/90046: Invalid Code Signing Entitlements

Note: I'm developing using Xamarin. Similar question posted in Xamarin Forum here I'm creating an a

avatar
Lynette
0 1 0 9
asked 07 September, 2021