profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ryukzak/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.
Aleksandr Penskoi ryukzak ITMO University / LMT Ltd. Russia, Saint-Petersburg https://ryukzak.github.io/

itmo-cse/itmo-cse.github.io 1

Faculty of Software Engineering and Computer Science

ryukzak/clojure-misc 1

Miscellaneous Clojure Stufff

ryukzak/dired-sync 1

sync directories within dired

ryukzak/mep 1

Working with mathematical expressions. Build ast, optimisation and evaluate

ryukzak/mess 1

Erlang claster for controll some embedded system.

ryukzak/pmvm 1

Small virtual machine for event management in embedded systems. Configuration is represented as JSON or JSON-like format, which are allowed by jsmn (http://zserge.com/jsmn.html).

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 57224de1d1a29db34f7932ec67dcf38c79f396a1

Hot fix

view details

push time in a day

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 2d24bfd666c094bf58817cc6426921a2033f4986

Small fixes

view details

push time in a day

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 21e55160af3668935bc200f14a1f0c8d01d565e7

Refactoring.

view details

push time in a day

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha d3687996ee75d801a10bb86eb0c400ab94c7db1e

Add talk module with dropstudent-talk - With transaction - With more conventional semantic - With more flexibility

view details

Aleksandr Penskoi

commit sha 5c95868050f3bf2fa86c0df7e17f95a670262956

Refactoring. Extract tests. Small fixes.

view details

Aleksandr Penskoi

commit sha 4b19d582a85bf5ee91fe905e6ef77d34251a01ba

Add lein test to actions

view details

push time in a day

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 5c95868050f3bf2fa86c0df7e17f95a670262956

Refactoring. Extract tests. Small fixes.

view details

Aleksandr Penskoi

commit sha 4b19d582a85bf5ee91fe905e6ef77d34251a01ba

Add lein test to actions

view details

push time in a day

PullRequestReviewEvent

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha d3687996ee75d801a10bb86eb0c400ab94c7db1e

Add talk module with dropstudent-talk - With transaction - With more conventional semantic - With more flexibility

view details

push time in 6 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 499d650d6ffe55a8969cb319611dc626eb00b4de

Add talk module with dropstudent-talk - With transaction - With more conventional semantic - With more flexibility

view details

push time in 6 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha ac0d860192bce62f4c489722fd4a33cf984ac418

Small fixes

view details

push time in 6 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha cc44d42e7a3d4f14bfe78276d62175bbe0812ad2

Fix working with codax transaction

view details

push time in 6 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha b326a2e659e737d4e3969c3789d9dba3a6a5d2f2

Fix talk processing with command on input

view details

push time in 6 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha b45b396a02e33e1f8a14fd42f78fca38b671ed4b

Remove test example.

view details

Aleksandr Penskoi

commit sha d01059410cf1ba3803447acf6e2b97b6e0784a96

Add user existence check for dropstudent-talk

view details

Aleksandr Penskoi

commit sha f50636c9f91b6d6249dafe99aaf7049b52619a46

Change database naming by default.

view details

push time in 6 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 086a3de171b14b16286fac02608cac7157cdbfba

Update lab1 score calculation.

view details

Aleksandr Penskoi

commit sha df9702ca0d121d51278d784b1a7b54713ee751cf

Revert "Remove gen-class" This reverts commit 0d6c16bc07c88a9ab6c83e2c5e9ea553bdab5cb4.

view details

Aleksandr Penskoi

commit sha 2b3f628107b20632d0de2511b62c75023e69a087

Add talk module with examples - With transaction - With more conventional semantic - With more flexibility

view details

Aleksandr Penskoi

commit sha 6f6595ba69c34b221866bd482f682626a412acd6

Fix return value for talk

view details

Aleksandr Penskoi

commit sha 243946a6292b23cba6ffef3b352156f5e2ea165f

Update .gitignore

view details

Aleksandr Penskoi

commit sha 913f7c731fbfe3e4a943db08ba860ef34441c76b

Add dropstudent talk (disabled right now).

view details

push time in 10 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha df9702ca0d121d51278d784b1a7b54713ee751cf

Revert "Remove gen-class" This reverts commit 0d6c16bc07c88a9ab6c83e2c5e9ea553bdab5cb4.

view details

push time in 10 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 086a3de171b14b16286fac02608cac7157cdbfba

Update lab1 score calculation.

view details

push time in 10 days

push eventryukzak/nitta

Aleksandr Penskoi

commit sha 71fcf2967f1677a0712ecd4659faded187cd2d6d

Prototype RefactorStep and its assertion in tests.

view details

push time in 12 days

push eventryukzak/nitta

Aleksandr Penskoi

commit sha 34fd48d225803a7be2893355fd5cfa21f3509f2e

Code style

view details

Aleksandr Penskoi

commit sha 658d11215becf92894830dd1ca77daf93b56dc16

Remove traceBus.

view details

push time in 13 days

push eventryukzak/nitta

Aleksandr Penskoi

commit sha 5374c5042b4a7e87cd76a2bbf969282ebb685970

Fix errors, which prevent building.

view details

push time in 13 days

PullRequestReviewEvent

Pull request review commentryukzak/nitta

new LuaFrontend implementation

 Copyright   : (c) Aleksandr Penskoi, 2019 License     : BSD3 Maintainer  : aleksandr.penskoi@gmail.com Stability   : experimental++This module analyzes an abstract syntax tree of the Lua language source code, provided by Language.Lua module,+and stores it into a NITTA's data flow graph.++Supported Lua costructions are:+ - simple math operators (addition, subtraction, multiplication and division);+ - variable assignments;+ - bitwise left and right shifts;+ - recursive calls. -} module NITTA.LuaFrontend (     lua2functions,     FrontendResult (..),     TraceVar (..),++    -- * Internal+    LuaAlgBuilder (..),+    LuaStatement (..),+    LuaValueInstance (..),+    findStartupFunction,+    getLuaBlockFromSources,+    processStatement, ) where -import Control.Monad.Identity import Control.Monad.State-import Data.Bifunctor import qualified Data.HashMap.Strict as HM-import Data.List (find, group, sort)+import Data.Hashable import qualified Data.Map.Strict as M import Data.Maybe import Data.String import Data.String.ToString-import qualified Data.String.Utils as S-import Data.Text (Text, pack, unpack) import qualified Data.Text as T import Language.Lua import NITTA.Intermediate.DataFlow import qualified NITTA.Intermediate.Functions as F-import NITTA.Utils (modify'_)+import NITTA.Utils.Base import Text.Printf +getUniqueLuaVariableName LuaValueInstance{luaValueInstanceName, luaValueInstanceIsConstant = True} luaValueAccessCount = "!" <> luaValueInstanceName <> "#" <> showText luaValueAccessCount+getUniqueLuaVariableName LuaValueInstance{luaValueInstanceName, luaValueInstanceAssignCount} luaValueAccessCount+    | T.head luaValueInstanceName == '_' = luaValueInstanceName+    | otherwise = luaValueInstanceName <> "^" <> showText luaValueInstanceAssignCount <> "#" <> showText luaValueAccessCount++data LuaStatement x = LuaStatement+    { fIn :: [T.Text]+    , fOut :: [LuaValueInstance]+    , fName :: T.Text+    , fValues :: [x]+    , fInt :: [Int]+    }+    deriving (Show, Eq)++-- | Stores information about a particular version of a variable. The version of a variable changes after assigning a new value to it.+data LuaValueInstance = LuaValueInstance+    { luaValueInstanceName :: T.Text+    , luaValueInstanceAssignCount :: Int+    , luaValueInstanceIsConstant :: Bool+    }+    deriving (Show, Eq)+ data FrontendResult v x = FrontendResult     { frDataFlow :: DataFlowGraph v x     , frTrace :: [TraceVar]     , frPrettyLog :: [HM.HashMap v x] -> [HM.HashMap String String]

Looks like I make some mistake in the comment. I will fix issue.

ArturGogiyan

comment created time in 15 days

Pull request review commentryukzak/nitta

new LuaFrontend implementation

 Copyright   : (c) Aleksandr Penskoi, 2019 License     : BSD3 Maintainer  : aleksandr.penskoi@gmail.com Stability   : experimental++This module analyzes an abstract syntax tree of the Lua language source code, provided by Language.Lua module,+and stores it into a NITTA's data flow graph.++Supported Lua costructions are:+ - simple math operators (addition, subtraction, multiplication and division);+ - variable assignments;+ - bitwise left and right shifts;+ - recursive calls.

If I don’t mistake, that list will be squashed into one paragraph. Please, check it.

ArturGogiyan

comment created time in 15 days

PullRequestReviewEvent

delete branch ryukzak/nitta

delete branch : 154-reorganize-ma-builder-to-direct-work-with-network

delete time in 15 days

create barnchryukzak/course-bot

branch : talk

created branch time in 15 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 0d6c16bc07c88a9ab6c83e2c5e9ea553bdab5cb4

Remove gen-class

view details

push time in 15 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha f55f8f0f21132526dba72e012d866c8d029b014f

Import clojure.string as str

view details

push time in 15 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 8f8fe4f15fee783b41e27e5799f45c307cbc290c

Fix immortal app

view details

push time in 15 days

push eventryukzak/course-bot

Aleksandr Penskoi

commit sha 1dbeefa0a340d376276a7335d59466bff8c98711

Protect from double lab1fix

view details

Aleksandr Penskoi

commit sha 161281516f35f3d03e811439439ab44c73e2a30c

Decline /restart without my known

view details

Aleksandr Penskoi

commit sha 1fc3e947403b3bfcc47d5a8c4a42ab6b3ba6d2c5

Small improvments

view details

Aleksandr Penskoi

commit sha b966cf554d1a43c19323b404e382217af9bcfcc2

Add drop-lab1-function.

view details

push time in 15 days

Pull request review commentryukzak/nitta

Resolves 'Reorganize microarchitecture builder to direct work with BusNetwork #154'

 maBroken brokenPU = defineNetwork "net1" ASync $ do     add "accum" AccumIO     addCustom "broken" brokenPU BrokenIO -marchSPI ::-    ( Integral x-    , Val x-    ) =>-    Bool ->-    Proxy x ->-    BusNetwork T.Text T.Text x Int-marchSPI isSlave _proxy = defineNetwork "net1" Sync $ do-    add "fram1" FramIO-    add "fram2" FramIO-    add "shift" ShiftIO-    add "accum" AccumIO-    add "spi" $-        if isSlave-            then-                SPISlave-                    { slave_mosi = InputPortTag "mosi"-                    , slave_miso = OutputPortTag "miso"-                    , slave_sclk = InputPortTag "sclk"-                    , slave_cs = InputPortTag "cs"-                    }-            else-                SPIMaster-                    { master_mosi = OutputPortTag "mosi"-                    , master_miso = InputPortTag "miso"-                    , master_sclk = OutputPortTag "sclk"-                    , master_cs = OutputPortTag "cs"-                    }---- FIXME: Support code like this in NITTA.Model.Microarchitecture.Builder. Such--- functions should apply to modification of the target processor model at--- synthesis-time, so it should keep the model state.---- withSlaveSPI net = modifyNetwork net $ do---     add "spi" SPISlave---         { slave_mosi = InputPortTag "mosi"---         , slave_miso = OutputPortTag "miso"---         , slave_sclk = InputPortTag "sclk"---         , slave_cs   = InputPortTag "cs"---         }---- withMasterSPI net = modifyNetwork net $ do---     add "spi" SPIMaster---         { master_mosi = OutputPortTag "mosi"---         , master_miso = InputPortTag "miso"---         , master_sclk = OutputPortTag "sclk"---         , master_cs   = OutputPortTag "cs"---         }---- marchSPI True proxy = withSlaveSPI $ basic proxy--- marchSPI False proxy = withMasterSPI $ basic proxy+withSlaveSPI net =+    let tag = "spi"+     in modifyNetwork net $ do+            add tag $ spiSlavePorts tag

Or maybe first...

BasicEC

comment created time in 18 days

PullRequestReviewEvent