West vs Asia education rankings are misleading
newscientist.com2 pointsby Dn_Ab1 comments
David Schaffer et al. Systemic attenuation of the TGF-β pathway by a single drug simultaneously rejuvenates hippocampal neurogenesis and myogenesis in the same old mammal. Oncotarget, May 201
I find that an incredibly useful service since,often, even press releases can't be bothered to link to or at least, write the name of the paper under discussion. #r @"../Fsharp.Data.dll"
open FSharp.Data
open System
type PersonsData = JsonProvider<"../data.sample.json">
let dateTriple (d:PersonsData.Root) = d.Timestamp.Year, d.Timestamp.Month,d.Timestamp.Day
let info = PersonsData.Load ("./data.json")
let uniqueDates = info |> Array.map dateTriple |> set
let createCsv (d : PersonsData.Root seq) =
d |> Seq.filter (fun p -> Option.isSome p.Creditcard)
|> Seq.map (fun p -> sprintf "%s,%s" p.Name p.Creditcard.Value )
|> String.concat "\n"
info |> Seq.groupBy dateTriple
|> Seq.iter (fun ((y,m,d), data) ->
IO.File.WriteAllText (sprintf "%d%02d%02d.csv" y m d, createCsv data))
With the below as a sample (though dataset itself could have been used since it's not so large): [{"name":"Quincy Gerhold","email":"[email protected]","city":"Port Tiabury","mac":"64:d2:17:ff:28:13","timestamp":"2015-04-25 15:57:12 +0700","creditcard":null},{"name":"Lolita Hudson","email":"[email protected]","city":"Port Brookefurt","mac":"2d:20:78:41:8e:35","timestamp":"2015-04-25 23:20:21 +0700","creditcard":"1211-1221-1234-2201"}]
Something that no one has mentioned yet is that F# is now among the fastest functional first programming languages. At least according to (take with a grain of salt) benchmarks like [1] and https://www.techempower.com/benchmarks/
[1] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...