Topics
-
I calculate volume and liters of a cylinder
by Guest Metaconta- 0 replies
- 387 views
Hi: I want to do exactly this same code in F #. Just transform from C# to F# from the code below. using System; namespace Calculo_agua_sencillo_consola_INGLES_01_cs { class Program { static void Main(string[] args) { // Show window title. Console.Title = "Calculation liters of water"; // Window size. 55 X and 16Y. Console.SetWindowSize(55, 16); #region Variables. // Variables. const double Pi = 3.14; double radio = 0; double altura = 0; double volumen = 0; double litros = 0; …
-
Is F#/WPF still being actively used?
by Guest PeterWilson262- 0 replies
- 421 views
I have just finished a WPF/C# based time recording system. We were plagued by null pointer exceptions and other problems which could have been designed out using F# data modeling. I would really like to do our next project using F#, but I have misgivings that the F#/WPF combination is dead. 1. The FsXaml type provider project seems to be the most mature, but the last commit was 3 years ago. Other support libraries have never left the "Here's a nice idea stage" e.g. FSharp.Desktop.UI 2. Many F#/WPF blogs have started a series of posts with promises of more to follow - which never materialized. e.g. F# and WPF part two - functional models, decoupled views.. Why the su…
-
How To Drill Into Problems with Xamarin Insights
by Guest Code Download- 0 replies
- 259 views
Here's a nifty tool that can help you get to the heart of issues in your mobile apps that aren't easy to track down. Continue reading...
-
Program-Defined Functions in R
by Guest Code Download- 0 replies
- 282 views
The three most common open source technologies for writing data science programs are Python, SciLab, and R. Here's how to write program-defined functions in R. Continue reading...
-
Text Processing, Type Definition, I/O and Visualization in F#
by Guest Code Download- 0 replies
- 270 views
What you can do with most programming languages can be accomplished in F#'s functional programming paradigm. Here's how to handle some simple operations, which might look familiar to you already. Continue reading...
-
Don't Cast Away Const
by Guest Code Download- 0 replies
- 270 views
Too few C++ developers use const properly, or enough. A seemingly-strange guideline, suggesting you never use a particular language feature, leads to some insight about const and some good practices for you. Continue reading...
-
Classic Stats, Or What ANOVA with R Is All About
by Guest Code Download- 0 replies
- 332 views
New to this type of analysis? It's a classic statistics technique that is still useful. Here's a technique for doing a one-way ANOVA using R. Continue reading...
-
Choosing the Right Constructors to Write
by Guest Code Download- 0 replies
- 284 views
In part 3 of this series on the C++ Core Guidelines, we explore constructors and why, rather than writing a default constructor, you should use in-class member initializers, a feature added in C++ 11. Continue reading...
-
Build Interactive Tiles for Microsoft Band
by Guest Code Download- 0 replies
- 282 views
Now that you know how to communicate with the Band apps, here's another twist. Let's get interactive. Continue reading...
-
How To Programmatically Customize iOS Keyboards with C#
by Guest Code Download- 0 replies
- 282 views
Developers will always look to customize everything, and keyboards aren't out of bounds. Here's how to customize the iOS keyboard that pops up in your mobile apps to address any shortcomings. Continue reading...
-
Initialize Member Variables in the Order You Declare Them
by Guest Code Download- 0 replies
- 314 views
In part 4 of this series on the C++ Core Guidelines, Kate Gregory reminds you of an oddity in C++ when it comes to initializing member variables, and shows you a best practice that will make sure this oddity never hurts you. Continue reading...
-
Using the not_null Template for Pointers That Must Never Be Null
by Guest Code Download- 0 replies
- 344 views
Null pointer exceptions can get downright annoying, so who needs that? Continue reading...
-
How the R Language Does OOP
by Guest Code Download- 0 replies
- 335 views
It's not quite like C# or Python, but the R language's object-oriented programming capabilities are getting better with each iteration. Let's take a look at what .NET developers are able do now with OOP in R6. Continue reading...
-
How To Write a Function That Returns More Than One Value
by Guest Code Download- 0 replies
- 292 views
Like magic, tuples make the impossible possible. Yep, we're talking here about one little corner in the Standard Template Library that will make it simple to return multiple values from a single function, without "out" parameters -- and it has other uses, too. Continue reading...
-
Permutations Using R
by Guest Code Download- 0 replies
- 298 views
R has limited support for mathematical permutations, but it's there. Here's what R is capable of accomplishing. Continue reading...
-
LINQ Query Enters the Age of Big Data
by Guest Code Download- 0 replies
- 277 views
Integrating distributed, in-memory computing with distributed caching can easily extend LINQ semantics to create important new capabilities for real-time analytics on fast-changing data. Continue reading...
-
R Language Basic Data Structures
by Guest Code Download- 0 replies
- 319 views
Vectors, lists, arrays, matrices and data frames -- a look at five of the most fundamental data structures built into R. Continue reading...
-
R Language Searching and Sorting
by Guest Code Download- 0 replies
- 289 views
A language that's data-intensive naturally should have a way to dig into the data effectively. Here's a look at some of the R functions for searching and sorting through it all. Continue reading...
-
Results Are in -- the Sign Test Using R
by Guest Code Download- 0 replies
- 273 views
The R language can be used to perform a sign test, which is handy for comparing "before and after" data. Continue reading...
-
Browsing Objects with IndexedDB
by Guest Code Download- 0 replies
- 345 views
Peter shows how to browse a set of objects in an IndexedDB ObjectStore and, along the way, finishes up his TypeScript/IndexedDB utilities for storing and retrieving large amounts of data on the client. Continue reading...
-
Who's Online 0 Members, 0 Anonymous, 50 Guests (See full list)
- There are no registered users currently online