profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/lehins/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Alexey Kuleshevich lehins @input-output-hk Minsk, Belarus https://alexey.kuleshevi.ch Software Engineer at IOHK

haskell/vector 296

An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework .

lehins/Color 50

Extensive collection of color spaces and color models

input-output-hk/cardano-base 33

Code used throughout the Cardano eco-system

idontgetoutmuch/random 4

Random number library

commercialhaskell/all-cabal-tool 3

Update the various all-cabal-* repos

ChristinaKuleshevich/ZooFriend 1

Mobile application "ZooДруг"

push eventlehins/massiv-io

Alexey Kuleshevich

commit sha 5c55b330e917872207fcbab8e2486ff54f8006aa

Update license year

view details

push time in 10 hours

created taglehins/massiv-io

tagmassiv-io-1.0.0

Read and write images as massiv arrays

created time in 11 hours

delete branch lehins/massiv-io

delete branch : compat-massiv-1.0

delete time in 11 hours

PR merged lehins/massiv-io

Switch to massiv 1.0

Please include this checklist whenever changes are introduced to either massiv or massiv-io packages:

  • [x] Bump up the version in cabal file
  • [x] Any changes that could be relevant to users have been recorded in the CHANGELOG.md
  • [x] The documentation has been updated, if necessary.
  • [x] Property tests or at least some unit test cases been added for all new functionality.
  • [x] Link to any issues that might be related to this Pull Request.
+284 -410

0 comment

25 changed files

lehins

pr closed time in 11 hours

push eventlehins/massiv-io

Alexey Kuleshevich

commit sha 2d1541cb9c41dec7ed3c656f6ee24e0c1ed527fc

Fix compatibility with massiv-1.0

view details

Alexey Kuleshevich

commit sha eeca48534c66e5509445c9808e49603bf6397d49

Switch to Github Actions from Travis

view details

Alexey Kuleshevich

commit sha c083925beb7cb8e85f5697bd963be0d57abf7c74

Disable doctests on CI for newer ghc

view details

Alexey Kuleshevich

commit sha 2f047e0f126277e3338a195db9afb42998449e15

Merge pull request #2 from lehins/compat-massiv-1.0 Switch to massiv 1.0

view details

push time in 11 hours

push eventlehins/massiv-io

Alexey Kuleshevich

commit sha c083925beb7cb8e85f5697bd963be0d57abf7c74

Disable doctests on CI for newer ghc

view details

push time in 12 hours

push eventlehins/massiv-io

Alexey Kuleshevich

commit sha a40266846817c3a9951283c7dc6fbf2d76221fbf

Get rid of Azure

view details

push time in 14 hours

push eventlehins/massiv-io

Alexey Kuleshevich

commit sha 8cfb3a23fe7c7d09e3e7497a3c59e7ff3d39dc52

Disable doctests on CI for newer ghc

view details

push time in 14 hours

created taglehins/massiv-compat

tagmassiv-serialise-1.0.0

Packages that provide interoperability of massiv arrays with Haskell ecosystem

created time in 14 hours

created taglehins/massiv-compat

tagmassiv-persist-1.0.0

Packages that provide interoperability of massiv arrays with Haskell ecosystem

created time in 14 hours

push eventlehins/massiv-io

Alexey Kuleshevich

commit sha eeca48534c66e5509445c9808e49603bf6397d49

Switch to Github Actions from Travis

view details

push time in 14 hours

push eventlehins/massiv-compat

Alexey Kuleshevich

commit sha 562bbd50e467b3013bb9a36f38241ef7e1e31651

Remove a few tests. CI can't handle the ghc emory usage

view details

push time in 15 hours

push eventlehins/massiv-compat

Alexey Kuleshevich

commit sha 3393918b062ef341336414cdf5c4ccf256f1770f

Separate build into its own step. add BL instance.

view details

push time in 20 hours

push eventlehins/massiv-compat

Alexey Kuleshevich

commit sha 3e46f9860c5b734ada03f788afb03a930d618f87

Fixup some CI

view details

push time in a day

push eventlehins/massiv-io

Alexey Kuleshevich

commit sha a63e4c689c045e406e29a53b8b29dd5d12dd5510

update stack.yaml

view details

Alexey Kuleshevich

commit sha 2d1541cb9c41dec7ed3c656f6ee24e0c1ed527fc

Fix compatibility with massiv-1.0

view details

push time in a day

PR opened lehins/massiv-io

Switch to massiv 1.0

Please include this checklist whenever changes are introduced to either massiv or massiv-io packages:

  • [x] Bump up the version in cabal file
  • [x] Any changes that could be relevant to users have been recorded in the CHANGELOG.md
  • [x] The documentation has been updated, if necessary.
  • [x] Property tests or at least some unit test cases been added for all new functionality.
  • [x] Link to any issues that might be related to this Pull Request.
+131 -184

0 comment

18 changed files

pr created time in a day

push eventlehins/massiv-compat

Alexey Kuleshevich

commit sha e28739d936e170e8d03ce370d8b89a385486f74c

Update deps

view details

push time in a day

push eventlehins/massiv-compat

Alexey Kuleshevich

commit sha 1e38c3c6fc2aecbf44ef024d732787d8019fe3b8

Update categories in cabal

view details

Alexey Kuleshevich

commit sha 4ea7005a54ca20eee8f1699a0642bd96172a8fcb

Switch to support massiv-1.0.0.0

view details

Alexey Kuleshevich

commit sha 931dd614061dd3f3ed02bf016183e8d488b19069

Update deps

view details

push time in a day

push eventlehins/massiv-io

Alexey Kuleshevich

commit sha 953bec94bacfc74fe51545acaa75190721237512

Update deps

view details

push time in a day

created taglehins/massiv

tagmassiv-test-1.0.0

Efficient Haskell Arrays featuring Parallel computation

created time in a day

created taglehins/massiv

tagmassiv-1.0.0

Efficient Haskell Arrays featuring Parallel computation

created time in a day

delete branch lehins/massiv

delete branch : v1.0-dl-switch-to-st

delete time in a day

push eventlehins/massiv

Alexey Kuleshevich

commit sha ebfab25c6be5e295293971345fbbc83dee0507f7

Improve speed of matrix multiplication by implementing a more cache friendly iteration Finish Matrix X Matrix multiplication: 20% speedup

view details

Alexey Kuleshevich

commit sha f8b582b5cdf9b338fd408b59d98c450d14a6eaa9

Redesign DL and other loaders to have access to efficient setting function: * Improve loading of push arrays by adding `loadArrayWithSetM` and deprecating `defaultElement` * Export `Scheduler` and `SchedulerWS` from `Core` * Add concat benchmarks

view details

Alexey Kuleshevich

commit sha d2214d6277978f3fe27aa3174bdf4454012f3dfc

Update changelog

view details

Alexey Kuleshevich

commit sha 53e55328119dd49fb3c1e96066688eae4387ff8c

Improve mutable array initialization: * Make `replicate` a function in `Construct` class * Add `newMArray`, `newMArray'` and deprecate `new` * Add custom implementation for `<$` in `Functor` instances for `BL` and `B`.

view details

Alexey Kuleshevich

commit sha 7f451b39d7af381674db253b6031c51fd8c0dfbf

Redesign DL and other loaders to have access to efficient setting function: * Improve loading of push arrays by adding `loadArrayWithSetM` and deprecating `defaultElement` * Export `Scheduler` and `SchedulerWS` from `Core` * Add concat benchmarks

view details

Alexey Kuleshevich

commit sha 32d4c039254e09eb6740af85a658e7d621b02ad5

Restructure of classes hierarchy and removal of is parameter: * Introduce `Shape`, the parent of `Size` * Move `size` from `Load` into new class `Size` * Removed `maxSize` and replaced it with `maxLinearSize` * Remove specialized `DW` instances that used tuples as indices. * Remove `OuterSlice L` instance * Add `Strategy` and move `setComp` (from `Construct`) and `getComp` (from `Load`) in there. * Remove `ix` from `Mutable` * Remove `ix` from `Manifest` * Remove `ix` from `Source` * Remove `ix` from `Resize` * Prevent `showsArrayPrec` from changing index type * Remove all deprecated functions: * `|*|`, `#>`

view details

Alexey Kuleshevich

commit sha a4622e7cb721c909fc870ddd0ae97be5be0fb6ad

Improve slicing by removing overlapping

view details

Alexey Kuleshevich

commit sha 67ab9df3fb7bd5cc6a0d01c449ff7e18a3d50475

Switch to major version bump of 1.0

view details

Alexey Kuleshevich

commit sha e68c410f4bc412841dbae6de6fecfdff3374bcae

Fix compilation after rebase on v0.6

view details

Alexey Kuleshevich

commit sha 270f4b1b102851ffd770c140394b56fff30aa7c6

Export withMassivScheduler_ and fix withLoadMArray loading

view details

Alexey Kuleshevich

commit sha 062b791684f6e2d8ff7afd7caa44950453010e21

Finished major slicing refactor

view details

Alexey Kuleshevich

commit sha ab3ab09b7a57c53597f513b9c4c4b31a95088016

Get benchmarks to compile with new version

view details

Alexey Kuleshevich

commit sha f4036ace9b4906c060f6d2ed8ffeb1f322287315

Add random as a dependency

view details

Alexey Kuleshevich

commit sha f986b40f6748c83b0cd38049ef950e4a10a9e98a

Consolidate `Construct` class into `Load` and get rid of `M` representation

view details

Alexey Kuleshevich

commit sha e8571173523cc2295493e92e18b1477f731d1c97

Fix examples and benchmarks

view details

Alexey Kuleshevich

commit sha 09b8d73c881bf8dbbb655640cab694919b181f85

Addition of `isZeroSz` and `isNotZeroSz`

view details

Alexey Kuleshevich

commit sha b6b5881ad2dd696f8e502c76567fc87968109dc3

Fix isNull for L and LN

view details

Alexey Kuleshevich

commit sha 908fc4ac84702fdda0b1858f728d7a4dd1fda542

Switch loadRagged to use scheduler

view details

Alexey Kuleshevich

commit sha 220fac9ccd3e7853618d4b501c754261d7f2ac67

Fix compilation error

view details

Alexey Kuleshevich

commit sha 90d88497b91951e35fc2b3c3c4a9559f63b1e4cf

Export Add `uniformArray` and `uniformRangeArray`

view details

push time in a day

issue closedlehins/massiv

Has Massiv.sum changed behaviour?

Hello again, I upgraded to massiv-0.5.2 (nightly-2020-05-10) and got some problems related to Massiv.sum (it used to work fine before). Here is the code:

intToMat :: Int -> Massiv.Matrix Massiv.D Double -- For each integer a 5x5-Matrix
intToMat i = Massiv.makeArray Massiv.Seq (Massiv.Sz 5) (const (fromIntegral i))

vecOfMat :: Massiv.Vector Massiv.D (Massiv.Matrix Massiv.D Double) -- A 3-Vector of 5x5-Matrix.
vecOfMat = Massiv.makeArray Massiv.Seq (Massiv.Sz 3) intToMat

sumMat :: Massiv.Matrix Massiv.S Double -- This should be a 5x5-Matrix but it is 1x1-Matrix!
sumMat = Massiv.compute $ Massiv.sum vecOfMat

-- vecOfMat has size Massiv.Sz1 3 (its elements are arrays of size Massiv.Sz (5 :. 5))
-- sumMat should have size Massiv.Sz (5 :. 5) but it has size Massiv.Sz (1 :. 1)

Have I done something wrong? Thanks for your attention.

closed time in a day

ilCasinista

issue closedlehins/massiv

odd behaviour of Sz1 when subtracting something

Hello again. There is something odd going on here. With Int it works OK but with Sz1 there is a problem. (GHC 8.10.4; massiv 0.6). Thanks!

import Data.Massiv.Array (Sz(..), Sz1)

f  :: Sz1 -> Sz1
f   = ($) (\ x -> x - 1)

f' :: Sz1 -> Sz1
f' = ($) (+ (- 1))


ok  = f  (Sz 10) -- 9
bug = f' (Sz 10) -- 10 <-- THIS SHOULD BE 9.

closed time in a day

ilcasinistareloaded

PR merged lehins/massiv

v1.0.0

Please include this checklist whenever changes are introduced to either massiv packages:

  • [x] Bump up the version in cabal file
  • [x] Any changes that could be relevant to users have been recorded in the CHANGELOG.md
  • [x] The documentation has been updated, if necessary.
  • [x] Property tests or at least some unit test cases been added for all new functionality.
  • [x] Link to any issues that might be related to this Pull Request.
+5402 -4970

0 comment

125 changed files

lehins

pr closed time in a day

push eventlehins/massiv

Alexey Kuleshevich

commit sha edf76c1f011a5a8cf63879678e03310b56d0cc2d

Disable older lts on CI

view details

Alexey Kuleshevich

commit sha 3a76215c79f7f5236b3c6592e1f8f212f5548ce7

Enable lts-16 on azure

view details

Alexey Kuleshevich

commit sha ebfab25c6be5e295293971345fbbc83dee0507f7

Improve speed of matrix multiplication by implementing a more cache friendly iteration Finish Matrix X Matrix multiplication: 20% speedup

view details

Alexey Kuleshevich

commit sha f8b582b5cdf9b338fd408b59d98c450d14a6eaa9

Redesign DL and other loaders to have access to efficient setting function: * Improve loading of push arrays by adding `loadArrayWithSetM` and deprecating `defaultElement` * Export `Scheduler` and `SchedulerWS` from `Core` * Add concat benchmarks

view details

Alexey Kuleshevich

commit sha d2214d6277978f3fe27aa3174bdf4454012f3dfc

Update changelog

view details

Alexey Kuleshevich

commit sha 53e55328119dd49fb3c1e96066688eae4387ff8c

Improve mutable array initialization: * Make `replicate` a function in `Construct` class * Add `newMArray`, `newMArray'` and deprecate `new` * Add custom implementation for `<$` in `Functor` instances for `BL` and `B`.

view details

Alexey Kuleshevich

commit sha 7f451b39d7af381674db253b6031c51fd8c0dfbf

Redesign DL and other loaders to have access to efficient setting function: * Improve loading of push arrays by adding `loadArrayWithSetM` and deprecating `defaultElement` * Export `Scheduler` and `SchedulerWS` from `Core` * Add concat benchmarks

view details

Alexey Kuleshevich

commit sha 32d4c039254e09eb6740af85a658e7d621b02ad5

Restructure of classes hierarchy and removal of is parameter: * Introduce `Shape`, the parent of `Size` * Move `size` from `Load` into new class `Size` * Removed `maxSize` and replaced it with `maxLinearSize` * Remove specialized `DW` instances that used tuples as indices. * Remove `OuterSlice L` instance * Add `Strategy` and move `setComp` (from `Construct`) and `getComp` (from `Load`) in there. * Remove `ix` from `Mutable` * Remove `ix` from `Manifest` * Remove `ix` from `Source` * Remove `ix` from `Resize` * Prevent `showsArrayPrec` from changing index type * Remove all deprecated functions: * `|*|`, `#>`

view details

Alexey Kuleshevich

commit sha a4622e7cb721c909fc870ddd0ae97be5be0fb6ad

Improve slicing by removing overlapping

view details

Alexey Kuleshevich

commit sha 67ab9df3fb7bd5cc6a0d01c449ff7e18a3d50475

Switch to major version bump of 1.0

view details

Alexey Kuleshevich

commit sha e68c410f4bc412841dbae6de6fecfdff3374bcae

Fix compilation after rebase on v0.6

view details

Alexey Kuleshevich

commit sha 270f4b1b102851ffd770c140394b56fff30aa7c6

Export withMassivScheduler_ and fix withLoadMArray loading

view details

Alexey Kuleshevich

commit sha 062b791684f6e2d8ff7afd7caa44950453010e21

Finished major slicing refactor

view details

Alexey Kuleshevich

commit sha ab3ab09b7a57c53597f513b9c4c4b31a95088016

Get benchmarks to compile with new version

view details

Alexey Kuleshevich

commit sha f4036ace9b4906c060f6d2ed8ffeb1f322287315

Add random as a dependency

view details

Alexey Kuleshevich

commit sha f986b40f6748c83b0cd38049ef950e4a10a9e98a

Consolidate `Construct` class into `Load` and get rid of `M` representation

view details

Alexey Kuleshevich

commit sha e8571173523cc2295493e92e18b1477f731d1c97

Fix examples and benchmarks

view details

Alexey Kuleshevich

commit sha 09b8d73c881bf8dbbb655640cab694919b181f85

Addition of `isZeroSz` and `isNotZeroSz`

view details

Alexey Kuleshevich

commit sha b6b5881ad2dd696f8e502c76567fc87968109dc3

Fix isNull for L and LN

view details

Alexey Kuleshevich

commit sha 908fc4ac84702fdda0b1858f728d7a4dd1fda542

Switch loadRagged to use scheduler

view details

push time in a day

push eventlehins/massiv

Alexey Kuleshevich

commit sha dc8b00eb1f4f33c07942dc14f7e786e3ba4c4e37

Remove Azure CI

view details

push time in a day

push eventlehins/massiv

Alexey Kuleshevich

commit sha bf103777dccb538b692c9c96db4b5868b0e51dc1

Improve Readme. Haddock and doctest improvements. Export array constructors from unsafe module

view details

push time in a day

push eventlehins/massiv

Alexey Kuleshevich

commit sha 03b2000bae686e6a43b8d58c206da9f9848ef3e9

Spellfixes and doctest fix

view details

push time in 2 days