profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/0xced/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.
Cédric Luthi 0xced Fribourg, Switzerland

0xced/ABGetMe 145

ABGetMe implementation for iOS using undocumented APIs (safely)

0xced/APELite-arm 8

Implementation of the APE Lite API for iPhone OS (ARM) using MobileSubstrate

0xced/AQGridView 5

An grid view for iPhone/iPad, designed to look similar to NSCollectionView.

0xced/afsctool 4

Command line utility for analyzing and managing HFS+ compression.

0xced/AppSales-Mobile 3

App Sales Mobile allows iPhone developers to download and analyze their daily and weekly sales reports from iTunes Connect.

0xced/AnyJSON 2

Encode / Decode JSON By Any Means Possible

0xced/AFDownloadRequestOperation 1

A progressive download operation for AFNetworking.

0xced/AFNetworking 1

A delightful iOS and OS X networking framework

0xced/AFUrbanAirshipClient 1

An API Client for Registering and Unregistering Devices with Urban Airship

0xced/AppAuth-iOS 1

iOS and macOS SDK for communicating with OAuth 2.0 and OpenID Connect providers.

starteddodyg/practical-aspnetcore

started time in 13 hours

starteddevlooped/dotnet-evergreen

started time in a day

startedSysinternals/SysmonForLinux

started time in 2 days

create barnch0xced/Loginator

branch : modernization

created branch time in 4 days

PR closed Mongo2Go/Mongo2Go

Reviewers
Fix #127

This commit should add ARM support. Somewhat relevant is that if you want to run on a pi, you will still have to manually download and unzip mongo v4 to get work on less than ArmV8.

I don't really know how to test that the mongobinarylocator would work the same because I don't really know how to build the nuget package from source

+35 -17

3 comments

4 changed files

balloman

pr closed time in 4 days

pull request commentMongo2Go/Mongo2Go

Fix #127

Thank you for your pull request, @balloman. We are not going to merge it as is because special-casing LinuxARM64 as a new platform is not the best way to handle the platform + architecture combination and is not really future-proof for macOS and Windows arm64 support.

Instead, I have improved the downloader tool in a932934998c298f0ea1386cc7b9cfbf7fdcc6f10 to support any platform/architecture combination very easily. When MongoDB adds support for macOS arm64, it will be as easy as going from

[Platform.macOS] = new[] { Architecture.X64 }

to

[Platform.macOS] = new[] { Architecture.Arm64, Architecture.X64 }

and the downloader will take care of downloading and extracting the tools for both architectures.

Now, adding yet another set of binaries is making the NuGet package grow in size and I think we should probably split the NuGet package into several packages, like SkiaSharp is doing with SkiaSharp.NativeAssets.Linux, SkiaSharp.NativeAssets.macOS and SkiaSharp.NativeAssets.Win32. I will try to open a new issue to discuss splitting the packages later today.

balloman

comment created time in 4 days

push eventMongo2Go/Mongo2Go

Cédric Luthi

commit sha d02cde287ccc30ca7e85033be5d395820a21aafa

[MongoDownloader] Update dependencies * SharpZipLib 1.3.2 → 1.3.3 * Spectre.Console 0.41.0 → 0.42.0

view details

Cédric Luthi

commit sha a932934998c298f0ea1386cc7b9cfbf7fdcc6f10

Add support for Linux arm64

view details

push time in 4 days

issue openeddotnet/efcore

The `dotnet ef dbcontext scaffold` command does not print all expected logs

This is a regression from EF Core 5.

With .NET 5 / EF Core 5

.config/dotnet-tools.json

{
  "version": 1,
  "isRoot": true,
  "tools": {
    "dotnet-ef": {
      "version": "5.0.11",
      "commands": [
        "dotnet-ef"
      ]
    }
  }
}

ef5scaffold.csproj

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net5.0</TargetFramework>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.11" PrivateAssets="all" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.11" />
  </ItemGroup>

</Project>

global.json

{
  "sdk": {
    "version": "5.0.402"
  }
}
$ dotnet --version
5.0.402
$ dotnet ef --version
Entity Framework Core .NET Command-line Tools
5.0.11

Running dotnet ef dbcontext scaffold --verbose --no-onconfiguring "Server=sqlprosample.database.windows.net;Database=sqlprosample;User=sqlproro;Password=nh{Zd?*8ZU@Y}Bb#" Microsoft.EntityFrameworkCore.SqlServer prints many verbose logs. This is the expected behaviour.

Using assembly 'ef5scaffold'.
Using startup assembly 'ef5scaffold'.
Using application base '~/Projects/Experiments/ef5scaffold/bin/Debug/net5.0'.
Using working directory '~/Projects/Experiments/ef5scaffold'.
Using root namespace 'ef5scaffold'.
Using project directory '~/Projects/Experiments/ef5scaffold/'.
Remaining arguments: .
Finding design-time services for provider 'Microsoft.EntityFrameworkCore.SqlServer'...
Using design-time services from provider 'Microsoft.EntityFrameworkCore.SqlServer'.
Finding design-time services referenced by assembly 'ef5scaffold'...
Finding design-time services referenced by assembly 'ef5scaffold'...
No referenced design-time services were found.
Finding IDesignTimeServices implementations in assembly 'ef5scaffold'...
No design-time services were found.
Found default schema 'dbo'.
Found type alias with name: sys.sysname which maps to underlying data type nvarchar(128).
Found table with name: dbo.BuildVersion.
Found table with name: dbo.ErrorLog.
Found table with name: dbo.towns.
Found table with name: SalesLT.Address.
Found table with name: SalesLT.Customer.
Found table with name: SalesLT.CustomerAddress.
Found table with name: SalesLT.Product.
Found table with name: SalesLT.ProductCategory.
Found table with name: SalesLT.ProductDescription.
Found table with name: SalesLT.ProductModel.
Found table with name: SalesLT.ProductModelProductDescription.
Found table with name: SalesLT.SalesOrderDetail.
Found table with name: SalesLT.SalesOrderHeader.
Found table with name: SalesLT.vGetAllCategories.
Found table with name: SalesLT.vProductAndDescription.
Found table with name: SalesLT.vProductModelCatalogDescription.
Found column with table: dbo.BuildVersion, column name: SystemInformationID, ordinal: 1, data type: sys.tinyint, maximum length: 1, precision: 3, scale: 0, nullable: False, identity: True, default value: (null), computed value: (null), computed value is stored: False
Found column with table: dbo.BuildVersion, column name: Database Version, ordinal: 2, data type: sys.nvarchar, maximum length: 50, precision: 0, scale: 0, nullable: False, identity: False, default value: (null), computed value: (null), computed value is stored: False
Found column with table: dbo.BuildVersion, column name: VersionDate, ordinal: 3, data type: sys.datetime, maximum length: 8, precision: 23, scale: 3, nullable: False, identity: False, default value: (null), computed value: (null), computed value is stored: False
Found column with table: dbo.BuildVersion, column name: ModifiedDate, ordinal: 4, data type: sys.datetime, maximum length: 8, precision: 23, scale: 3, nullable: False, identity: False, default value: (null), computed value: (null), computed value is stored: False
[…]

With .NET 6 / EF Core 6

.config/dotnet-tools.json

{
  "version": 1,
  "isRoot": true,
  "tools": {
    "dotnet-ef": {
      "version": "6.0.0-rc.2.21480.5",
      "commands": [
        "dotnet-ef"
      ]
    }
  }
}

ef6scaffold.csproj

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.0-rc.2.21480.5" PrivateAssets="all" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0-rc.2.21480.5" />
  </ItemGroup>

</Project>

global.json

{
  "sdk": {
    "version": "6.0.100-rc.2.21505.57"
  }
}
$ dotnet --version
6.0.100-rc.2.21505.57
$ dotnet ef --version
Entity Framework Core .NET Command-line Tools
6.0.0-rc.2.21480.5

Running the same command dotnet ef dbcontext scaffold --verbose --no-onconfiguring "Server=sqlprosample.database.windows.net;Database=sqlprosample;User=sqlproro;Password=nh{Zd?*8ZU@Y}Bb#" Microsoft.EntityFrameworkCore.SqlServer does not print verbose logs anymore. Here is the full output:

Using assembly 'ef6scaffold'.
Using startup assembly 'ef6scaffold'.
Using application base '~/Projects/Experiments/ef6scaffold/bin/Debug/net6.0'.
Using working directory '~/Projects/Experiments/ef6scaffold'.
Using root namespace 'ef6scaffold'.
Using project directory '~/Projects/Experiments/ef6scaffold/'.
Remaining arguments: .
Finding design-time services referenced by assembly 'ef6scaffold'...
Finding design-time services referenced by assembly 'ef6scaffold'...
No referenced design-time services were found.
Finding design-time services for provider 'Microsoft.EntityFrameworkCore.SqlServer'...
Using design-time services from provider 'Microsoft.EntityFrameworkCore.SqlServer'.
Finding IDesignTimeServices implementations in assembly 'ef6scaffold'...
No design-time services were found.

All the Found default schema, Found table, Found column with table, Found primary key with name are not printed anymore at all.

Also, scaffolding on this particular database should produce warnings (see #25729 and #25748) but they are not printed at all, regardless of the --verbose option. It looks like the many different logging/diagnostics/reporter components at play during scaffolding are not properly hooked together.

created time in 5 days

create barnch0xced/AspNetCore

branch : Fix-CertificateManagerEvents

created branch time in 5 days

PR opened dotnet/aspnetcore

Fix CertificateManagerEventSource events 16 and 30

The Message property of the EventAttribute is required else the event can't be logged properly.

Before this commit:

[8] Filtered certificates: no certificates
[9] Excluded certificates: no certificates
[0] Event 16 was called with 1 argument(s), but it is defined with 0 parameter(s).
[16] 
[17] Generating HTTPS development certificate.

After this commit:

[8] Filtered certificates: no certificates
[9] Excluded certificates: no certificates
[16] No valid certificates found.
[17] Generating HTTPS development certificate.

/cc @javiercn

I hope this can make it into the ASP.NET Core 6 release. 🤞🏻

+4 -4

0 comment

1 changed file

pr created time in 5 days

delete branch 0xced/stryker-net

delete branch : find-project-under-test

delete time in 6 days

delete branch 0xced/stryker-net

delete branch : remove-newtonsoft

delete time in 6 days

startedphiliplaureano/MetaFoo

started time in 6 days

startedpgrho/phash

started time in 7 days

startedserilog/serilog-sinks-map

started time in 7 days

startedmgdm/htmlq

started time in 9 days

startedplausible/analytics

started time in 10 days

startedsubdiox/UnFairPlay

started time in 11 days

startedExtendedXmlSerializer/home

started time in 11 days

delete branch 0xced/Verify.DocNet

delete branch : Dispose-IDocReader

delete time in 11 days

push eventserilog-contrib/serilog-formatting-log4net

Cédric Luthi

commit sha fb8faca274c19d1ae85f2d6b5d89be75d38d68c5

Refactor how exceptions are written

view details

Cédric Luthi

commit sha 6eee322c3062514beea04c3d9b05aa30ad13ffd4

Fix very minor code formatting issue

view details

push time in 12 days

PR opened VerifyTests/Verify.DocNet

Dispose the IDocReader
+1 -1

0 comment

1 changed file

pr created time in 12 days

create barnch0xced/Verify.DocNet

branch : Dispose-IDocReader

created branch time in 12 days

delete branch 0xced/Verify.DocNet

delete branch : netstandard2.0

delete time in 12 days

startedCoreCompat/libgdiplus-packaging

started time in 12 days

push event0xced/Serilog.Enrichers.WithCaller

Cédric Luthi

commit sha d43bfb6402428b5e30ff95679f477ed4911ea066

Add option to include file information in the caller property

view details

push time in 12 days

create barnch0xced/Serilog.Enrichers.WithCaller

branch : IncludeFileInfo

created branch time in 12 days

pull request commentVerifyTests/Verify.DocNet

Target .NET Standard 2.0

I found about this when trying to integrate Verify.DocNet in a project targeting .NET Core 3.1. I didn't see this warning:

[NU1701] Package 'Verify.DocNet 0.4.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.

Then eventually I got this error when running the unit tests:

System.IO.FileNotFoundException Could not load file or assembly 'Docnet.Core, Version=2.3.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

I could probably have manually added Docnet.Core as a dependency in the unit test project but the proper solution is really to make Verify.DocNet target .NET Standard 2.0.

0xced

comment created time in 12 days