profile
viewpoint

dzmitry-lahoda/NRegFreeCom 32

Load native libraries, call native functions, create COM objects without registration, do COM registrations in runtime, in .NET

dzmitry-lahoda/NetStack 5

Code for creating concurrent networking systems for multiplayer games

dzmitry-lahoda/awesome-fsharp-projectional-coding 4

projectional coding (or projection driven development) in f# 🍵💊

crey-games/azure-cosmos-table-dotnet-core-getting-started 1

This .net core sample demonstrates how to perform common tasks using Azure Cosmos DB Table API with .NET Standard SDK including creating a table, CRUD operation, batch operation and different querying techniques.

dzmitry-lahoda/rustlings 1

:crab: Small exercises to get you used to reading and writing Rust code!

starteddotenv-rs/dotenv

started time in 4 hours

starteddtolnay/dyn-clone

started time in 5 hours

startedpritunl/pritunl-client-electron

started time in 7 hours

startedjonasmr/microprofile

started time in 2 days

pull request commentrust-lang/rustlings

fixed creating non pdb temps

Possible root cause I abort via CTRL+C or like. So need to clean not only temp_PROCID, but any other temp_* from previous run.

dzmitry-lahoda

comment created time in 2 days

issue commentrust-lang/rustlings

exercise::test::test_exercise_with_output ... FAILED

I have same error on windows rust nightly. Need to switch to master and check.

alexxroche

comment created time in 2 days

pull request commentrust-lang/rustlings

fixed creating non pdb temps

I see. Checked test exercise::test::test_clean ... ok works for me, but that seems not called properly during run (if called at all). I am tentative for now a litter. Need to check spare time split.

dzmitry-lahoda

comment created time in 2 days

starteddtolnay/thiserror

started time in 2 days

pull request commentrust-lang/rustlings

Introduce fibonacci exercise

@au-phiware could you please update pr to mainstream?

au-phiware

comment created time in 2 days

PR opened rust-lang/rustlings

fixed creating non pdb temps

On rust nightly on windows 10 x64 i see rustling produced files like temp_7120 with no *.pdb which were not ignored



    Directory: D:\src\learning-rust\rustlings


Mode                 LastWriteTime         Length Name                                                                                                                                                                                                                                     
----                 -------------         ------ ----                                                                                                                                                                                                                                     
d-----        10/11/2020   9:33 AM                .ionide                                                                                                                                                                                                                                  
d-----        10/18/2020  10:09 AM                exercises                                                                                                                                                                                                                                
d-----         9/26/2020  10:05 AM                src                                                                                                                                                                                                                                      
d-----          9/7/2020   5:18 PM                target                                                                                                                                                                                                                                   
d-----         9/26/2020  10:05 AM                tests                                                                                                                                                                                                                                    
-a----         9/26/2020  10:05 AM          15859 .all-contributorsrc                                                                                                                                                                                                                      
-a----          9/7/2020   5:06 PM             88 .clog.toml                                                                                                                                                                                                                               
-a----          9/7/2020   5:06 PM            102 .editorconfig                                                                                                                                                                                                                            
-a----        10/18/2020  10:18 AM            117 .gitignore                                                                                                                                                                                                                               
-a----         9/26/2020  10:05 AM            175 .gitpod.yml                                                                                                                                                                                                                              
-a----         9/26/2020  10:05 AM            104 .replit                                                                                                                                                                                                                                  
-a----          9/7/2020   5:06 PM            147 buildkite.yml                                                                                                                                                                                                                            
-a----         9/26/2020  10:05 AM          42395 Cargo.lock                                                                                                                                                                                                                               
-a----         9/26/2020  10:05 AM            460 Cargo.toml                                                                                                                                                                                                                               
-a----         9/26/2020  10:05 AM          18704 CHANGELOG.md                                                                                                                                                                                                                             
-a----          9/7/2020   5:06 PM           4145 CONTRIBUTING.md                                                                                                                                                                                                                          
-a----          9/7/2020   5:06 PM            691 default_out.txt                                                                                                                                                                                                                          
-a----         9/26/2020  10:05 AM          29313 info.toml                                                                                                                                                                                                                                
-a----         9/26/2020  10:05 AM           3022 install.ps1                                                                                                                                                                                                                              
-a----         9/26/2020  10:05 AM           3787 install.sh                                                                                                                                                                                                                               
-a----          9/7/2020   5:06 PM           1095 LICENSE                                                                                                                                                                                                                                  
-a----         9/26/2020  10:05 AM          25200 README.md                                                                                                                                                                                                                                
-a----        10/18/2020  10:18 AM              0 temp_.txt                                                                                                                                                                                                                                
-a----        10/17/2020   8:02 PM         180736 temp_10284                                                                                                                                                                                                                               
-a----        10/17/2020   8:02 PM        2355200 temp_10284.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   4:23 PM        2355200 temp_12252.pdb                                                                                                                                                                                                                           
-a----        10/14/2020   9:24 PM        2297856 temp_13620.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   9:56 PM        2355200 temp_13884.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   2:19 PM        2355200 temp_15200.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   8:01 PM        1093632 temp_15460.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   7:52 PM        1093632 temp_1572.pdb                                                                                                                                                                                                                            
-a----          9/9/2020   6:12 PM        1069056 temp_16216.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   9:11 PM        2297856 temp_16972.pdb                                                                                                                                                                                                                           
-a----        10/14/2020   5:20 PM        2297856 temp_17128.pdb                                                                                                                                                                                                                           
-a----        10/14/2020   5:20 PM        2297856 temp_17368.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   8:13 PM        2355200 temp_17572.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   8:25 PM        1118208 temp_17632.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   8:18 PM         180736 temp_1772                                                                                                                                                                                                                                
-a----        10/17/2020   8:18 PM        2355200 temp_1772.pdb                                                                                                                                                                                                                            
-a----        10/17/2020   8:25 PM        1118208 temp_18348.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   8:27 PM        1118208 temp_18528.pdb                                                                                                                                                                                                                           
-a----        10/17/2020  11:26 AM        2355200 temp_22368.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   8:18 PM         180736 temp_22660                                                                                                                                                                                                                               
-a----        10/17/2020   8:18 PM        1110016 temp_22660.pdb                                                                                                                                                                                                                           
-a----        10/17/2020  11:28 AM        2355200 temp_23140.pdb                                                                                                                                                                                                                           
-a----        10/14/2020   5:18 PM        2297856 temp_23272.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   8:26 PM        1118208 temp_23540.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   8:11 PM         180736 temp_23808                                                                                                                                                                                                                               
-a----        10/17/2020   8:11 PM        2355200 temp_23808.pdb                                                                                                                                                                                                                           
-a----        10/17/2020   8:19 PM        1110016 temp_24816.pdb                                                                                                                                                                                                                           
-a----          9/9/2020   6:15 PM        2256896 temp_24964.pdb                                                                                                                                                                                                                           
-a----        10/11/2020  11:47 AM        2297856 temp_25124.pdb                                                                                                                                                                                                                           
-a----        10/18/2020  10:08 AM        2355200 temp_25172.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   9:23 PM        2306048 temp_26980.pdb                                                                                                                                                                                                                           
-a----        10/15/2020  10:25 PM        2355200 temp_27868.pdb                                                                                                                                                                                                                           
-a----          9/7/2020   7:28 PM        2273280 temp_27888.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   3:04 PM        2297856 temp_28168.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   8:14 PM        2297856 temp_28188.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   7:54 PM        2297856 temp_28756.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   8:08 PM        2297856 temp_29364.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   7:49 PM        2297856 temp_29512.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   8:07 PM        2297856 temp_30272.pdb                                                                                                                                                                                                                           
-a----        10/15/2020  10:29 PM        2355200 temp_31708.pdb                                                                                                                                                                                                                           
-a----        10/15/2020   7:59 PM        1093632 temp_3632.pdb                                                                                                                                                                                                                            
-a----        10/15/2020   3:37 PM        2297856 temp_5712.pdb                                                                                                                                                                                                                            
-a----        10/15/2020   7:45 PM        2297856 temp_6768.pdb                                                                                                                                                                                                                            
-a----        10/15/2020   7:57 PM        1093632 temp_6948.pdb                                                                                                                                                                                                                            
-a----        10/17/2020   8:19 PM         180736 temp_7120                                                                                                                                                                                                                                
-a----        10/17/2020   8:19 PM        1110016 temp_7120.pdb                                                                                                                                                                                                                            
-a----        10/17/2020   8:18 PM         180736 temp_8976                                                                                                                                                                                                                                
-a----        10/17/2020   8:18 PM        1110016 temp_8976.pdb                                                                                                                                                                                                                            
-a----        10/14/2020   9:16 PM        2297856 temp_9072.pdb                                                                                                                                                                                                                            
+1 -0

0 comment

1 changed file

pr created time in 2 days

create barnchdzmitry-lahoda/rustlings

branch : ignore

created branch time in 2 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha 597629fbd13290b65d9362cee9f9661fdcb71399

done

view details

push time in 2 days

startedwithoutboats/fehler

started time in 2 days

startedmicrosoft/winget-cli

started time in 2 days

startedfutile/enet-rs

started time in 2 days

startedruabmbua/enet-sys

started time in 2 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha 26445fe1c351e624498b3ad570855dde03bfcad9

into from threads

view details

push time in 3 days

issue commentrust-lang/rust

Tracking issue for eRFC 2497, "if- and while-let-chains, take 2"

any actual syntax for this in nightly rust? just cannot type it to work.

Centril

comment created time in 3 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha dff2264d13a2fb2379aa6ed0d928a5dfa18a6d30

generics

view details

push time in 3 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha 06ff127e8861c4b6467a723843578cd9d2bbdb64

last iter

view details

push time in 3 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha 36216f197a8f66c66a7c15bc0fff8c1b5cc017e7

iters

view details

push time in 3 days

startedTimelyDataflow/timely-dataflow

started time in 3 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha 4b0bc9f2e36d68d290ea9b1cf8eba62dac5b5200

clean up

view details

push time in 3 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha 60a6786b89c2ee77b2648a7c4b9764ac2fe1fdf5

options

view details

push time in 3 days

issue openedMikaelGRA/InfluxDB.Client

allow to build insigned with no attempt to build or publish nuget

to allow ref influx as git submodule

created time in 4 days

push eventcrey-games/InfluxDB.Client

dzmitry-lahoda

commit sha 602140fae999425fea3f1b4b0db907523b981fa4

fix

view details

push time in 4 days

create barnchcrey-games/InfluxDB.Client

branch : hacking-build

created branch time in 4 days

PR opened MikaelGRA/InfluxDB.Client

Proper get

our provider disabled post and i was able to get only with these changes

+22 -19

0 comment

4 changed files

pr created time in 4 days

create barnchcrey-games/InfluxDB.Client

branch : proper-get

created branch time in 4 days

PR opened MikaelGRA/InfluxDB.Client

handle proxy 405
+3 -0

0 comment

1 changed file

pr created time in 4 days

create barnchcrey-games/InfluxDB.Client

branch : post-error

created branch time in 4 days

issue closedMikaelGRA/InfluxDB.Client

Succeeded has wrong semantics

HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Tue, 26 May 2020 09:27:39 GMT
Content-Type: application/json
Content-Length: 33
Connection: keep-alive
Request-Id: |c5c9713592d3b043814baf867dd3bc9b.391783d0b8924345.
X-Influxdb-Build: ENT
X-Influxdb-Version: 1.8.0-c1.8.0
X-Request-Id: |c5c9713592d3b043814baf867dd3bc9b.391783d0b8924345.
X-Upstream-Addr: 10.15.0.103:8000
X-Upstream-Status: 200
X-Upstream-Response-Time: 1590485259.160

{"results":[{"statement_id":0}]}

Gives:

image

Actually that is success, but with zero data.

closed time in 4 days

dzmitry-lahoda

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha 7a7f09780baac94f2147143fe0cdf22862ff3ab5

errors

view details

push time in 5 days

startedOrleansContrib/Announcements

started time in 5 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha bcc29a351e15e971886b256fbab3ac1987c2d20c

errr

view details

push time in 5 days

issue commentrust-lang/rfcs

Syntax for one-line if-else operator

may macro can help if!(condition, if_t, if_b). or other proposal to allow:

if a b else c
XX

comment created time in 5 days

startedDanielKeep/tlborm

started time in 5 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha f82263a91c5db20b3bd2620156208bedb77db226

more

view details

push time in 5 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha f2fbed798e2008f5265d832151ae9794df65eb71

doing greate. vote for trump

view details

push time in 6 days

startedHellBrick/NoCapture

started time in 6 days

startedcpsusie/DotNetVault

started time in 6 days

startedmnbeer/Tangl

started time in 6 days

startedcezarypiatek/CSharpExtensions

started time in 6 days

startedfluxcd/flux

started time in 6 days

starteddotnet/tye

started time in 6 days

pull request commentnessos/Eff

unit to task, statements to expressions -> shorter declarations of ef…

was not able to find any lib which wrap all voids into Unit to use

dzmitry-lahoda

comment created time in 7 days

issue commentnessos/Eff

IEffect interface with default implementation (.NET standard 2.1)

I postponed trying to use Eff until .Net Standard 2.1 (which is DIM required AFAIK) than :) The idea is to make Eff typing as less as possible so it would not be hard rejected by team.

dzmitry-lahoda

comment created time in 7 days

startedEpoque/Mimick.Fody

started time in 7 days

startedbmjoy/BenchmarkNet

started time in 8 days

startedets-labs/python-dependency-injector

started time in 8 days

issue openedPeternator7/service-bus-rs

port code to be merged to azure sdk

https://github.com/Azure/azure-sdk-for-rust

created time in 8 days

issue openedPeternator7/service-bus-rs

upgrade to new rust

created time in 8 days

startedseanmonstar/pretty-env-logger

started time in 8 days

startedMindFlavor/azure_service_bus_sdk

started time in 8 days

startedPeternator7/service-bus-rs

started time in 8 days

startedctaggart/autorust

started time in 8 days

startedwebrtc/samples

started time in 8 days

startedflosse/rust-web-framework-comparison

started time in 8 days

push eventdzmitry-lahoda/rust-web-framework-comparison

Dzmitry Lahoda

commit sha 313766aaaf26353d6632ddac5045b6222f619215

as per warp site it does http2

view details

push time in 8 days

fork dzmitry-lahoda/rust-web-framework-comparison

A comparison of some web frameworks and libs written in Rust

fork in 8 days

startedSergioBenitez/Rocket

started time in 9 days

push eventdzmitry-lahoda/rustlings

dzmitry-lahoda

commit sha 7b12e2bd650b18dce7d1010fb925933e7d04eaad

rust

view details

push time in 9 days

issue openeddmolokanov/appinsights-rs

port build/naming/layout to azure rust sdk

pr into https://github.com/Azure/azure-sdk-for-rust/

created time in 10 days

startedpiotrpalarz/vscode-gitignore-generator

started time in 10 days

issue openedAzure/azure-sdk-for-rust

access to vault to have better error message

try next with wrong az account:

    let mut key_vault_client = KeyVaultClient::new(&creds, "lahodapro");
    println!("list secrets for");
    let secrets = key_vault_client.list_secrets().await?;

Expected: error message about wrong auth usage Actual: error about some value is missing Notes: that is very important that entry point to azure via auth to have guiding errors, not cryptic

created time in 10 days

PR opened Azure/azure-sdk-for-rust

Update README.md
+1 -1

0 comment

1 changed file

pr created time in 10 days

push eventdzmitry-lahoda/azure-sdk-for-rust

Dzmitry Lahoda

commit sha dc92850af6cfa335b6b0401a7a75e3243a9c4e98

Update README.md

view details

push time in 10 days

fork dzmitry-lahoda/azure-sdk-for-rust

This repository is for active development of the *unofficial* Azure SDK for Rust. This repository is *not* supported by the Azure SDK team.

fork in 10 days

startedGridProtectionAlliance/openHistorian

started time in 10 days

starteddmolokanov/appinsights-rs

started time in 11 days

startedAzure/azure-sdk-for-rust

started time in 11 days

startedAzure/azure-sdk-for-rust

started time in 11 days

startedjguadagno/JosephGuadagno.AzureHelpers.Cosmos

started time in 11 days

push eventdzmitry-lahoda/learning-rust

dzmitry-lahoda

commit sha f0793047f76cb2db6b887a6071605287dcd61abb

solved more

view details

push time in 12 days

pull request commentnessos/Eff

unit to task, statements to expressions -> shorter declarations of ef…

can put if to ConsoleF example, but i find this is more idiomatic

dzmitry-lahoda

comment created time in 13 days

issue commentnessos/Eff

IEffect interface with default implementation (.NET standard 2.1)

It will break implicit cast, but as per docs it can be removed with C# covariant returns (which are in 9) as I see

dzmitry-lahoda

comment created time in 13 days

issue openednessos/Eff

IEffect interface with default implementation (.NET standard 2.1)

I believe next is possible if to have IEffect(same as Effect) with implementation:


    public struct ConsoleReadEffect : IEffect<ConsoleReadEffect , string>
    {
    }

    public static class ConsoleEffect
    {
        public static ConsoleReadEffect Read() => default;
    }

So stateless effects can be modeled as as structs.

created time in 13 days

create barnchdzmitry-lahoda-forks/Eff

branch : unit-value-task-switch-return

created branch time in 13 days

issue commentnessos/Eff

Better looking dependency injection?

this leads me to the idea that instead of interface DI samples could(should) show example with 2 different effect handlers injected with stuff from DI and it will look more idiomatic/clean/systematic. that is what i want to try. i guess can simplify writing (sugar/shortucts) DI enabled effects.

dzmitry-lahoda

comment created time in 13 days

issue commentnessos/Eff

Better looking dependency injection?

// i dislike this
await IO<IUserService>.Do(svc => svc.CreateUser(newUserName, password));

// i like more this
await IO<IUserService>.CreateUser(newUserName, password);// is this possible?
await IO<IUserService>().CreateUser(newUserName, password)); // is this possible?
await UserEffect.CreateUser(newUserName, password); //  `UserEffectHandler` created via DI (and other handlers)

if to consider full program than Do may be fine:

await IO<IUserService>.Do(svc => svc.CreateUser(newUserName, password)).To(NextStep).OrElse(Bad); 
await IO<IUserSerive, ILogger>.Do((svc, logger) => ... ) ; // up to 16 generics params? but that does not support named or tagged resolutions

I am trying imaging writing real program with effects in production (read my PRs should be accepted). And thinking what is best way to express these.

dzmitry-lahoda

comment created time in 13 days

issue openednessos/Eff

Better looking dependency injection?

I see next

 if (await IO<IUserService>.Do(svc => svc.CreateUser(newUserName, password)))

Anyways to improve? I think of:

  1. inject dependencies via async locals in static classes. So may be (await IO()).CreateUser` or like to look less alient?
  2. use fluent combinatorics interfaces so that delegates are Ok. Examples
        public async Task DeallocatedStop(ushort poolId, DistributedLock mutex) {
           await settings_
                .GetSettings()
                .ToAsync(poolId, GetServersForDeallocation)
                .TapAsync(mutex.Lease)
                .ToAsync(DeallocateStopServers);
        }

If I will port it to Eff tasks than Do will look in place (actually I want to call mutex.Lease and logger automatically). I have (part is here https://gist.github.com/dzmitry-lahoda/78bd89c3aa804aa0467dcba0a2e1defd#file-system-threading-tasks-funextensions-cs) combinators for Tasks, could do same for Eff and see how it looks. I was able imitate partial application with fluent combinators either. 3. Use https://github.com/dadhi/SharpIO or LanguageExt to write interpreters via LINQ DSL.

Other ideas or suggestions to try?

created time in 13 days

startedactions-rs/example

started time in 14 days

startedshadowmint/rust-starter

started time in 14 days

startedgothinkster/rust-realworld-example-app

started time in 14 days

startedIKende/FastHttpApi

started time in 14 days

startedIKende/XRPC

started time in 14 days

push eventdzmitry-lahoda/learning-all

dzmitry-lahoda

commit sha 2b555f2d72e13385be49fabb54691f23b4de999e

aks

view details

push time in 14 days

push eventdzmitry-lahoda/learning-rust

dzmitry-lahoda

commit sha f300ff3cf5f283b8f420de236060587f1a72eae6

rustlings solved some

view details

dzmitry-lahoda

commit sha 3c26ff7d8e3563c99066b867ff512620d2d60a78

fun with sorting

view details

push time in 14 days

startedpalladin/idris-snippets

started time in 15 days

startedhaskell/vscode-haskell

started time in 15 days

startedrylmovuk/zt

started time in 16 days

startedtensor-programming/rust_git_live_stream

started time in 16 days

startedbrianberns/AlgEff

started time in 19 days

startedmadelson/DistributedLock

started time in 19 days

more