profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ericsink/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.
Eric Sink ericsink SourceGear Illinois, Colorado https://ericsink.com/

ericsink/SQLitePCL.raw 341

A Portable Class Library (PCL) for low-level (raw) access to SQLite

ericsink/wasm2cil 220

A "compiler" that can take a WebAssembly/WASI module and convert it to a .NET assembly

ericsink/LSM 51

Nothing to see here. Move along...

ericsink/DrawnDataGridFramework 14

A framework for drawn grids.

ericsink/demo-llama-aspnet-swift 13

Demo of a simple ASP.NET Core web API written in Swift

ericsink/demo-llama-termgui-swift 6

Demo using Terminal.Gui with Llama Swift

ericsink/blog 1

Content and scripts for my blog

ericsink/ILSupport 1

A Visual Studio extension that provides syntax highlighting for the IL (Intermediate Language) and project templates for C#, F# and Visual Basic that support embedding and calling IL code.

issue commentdotnet/efcore

Exception when creating SQLite DB in when targetting osx-arm64 / .Net 6 (preview)

The Apple Silicon support for SQLitePCLRaw is currently only available in the 2.0.5 pre-release versions.

Webreaper

comment created time in 3 days

issue commentericsink/SQLitePCL.raw

Add support for linux-s390x target

I will take a look at this as quickly as I can. I don't plan to object, as long as it doesn't seem to break OTHER things, but I should state the obvious: I won't be able to provide much help to maintain this in the future.

uweigand

comment created time in 3 days

pull request commentericsink/SQLitePCL.raw

Add GitHub Actions run to build and test changes, fix macOS builds

Sorry for the delay on this. I haven't forgotten it. :-)

filipnavara

comment created time in 3 days

pull request commentericsink/SQLitePCL.raw

Add GitHub Actions run to build and test changes, fix macOS builds

OK so this is very cool.

I haven't setup GitHub Actions for this project because I haven't taken the time to understand it.

Now I have two choices:

(1) Merge this without understanding it. (2) Understand it, and then merge it.

And then there are two sub-choices:

(2a) Understand it by reading (2b) Understand it by asking @filipnavara clueless questions.

So, er, yeah, some of (2b) might happen.

filipnavara

comment created time in 6 days

issue commentmicrosoft/terminal

Tab key yields an extra keypress

And I couldn't shake the worry that "clink" (1) was the problem, so I uninstalled it. No change.

(1) https://github.com/chrisant996/clink

ericsink

comment created time in 9 days

issue commentmicrosoft/terminal

Tab key yields an extra keypress

More things that made no difference: I updated all the drivers and BIOS for my laptop. And I updated to Windows 21H1 (10.0.19043).

ericsink

comment created time in 9 days

issue commentmicrosoft/terminal

Tab key yields an extra keypress

FWIW, I ran another experiment, wherein I removed Windows Terminal from my machine and re-installed it.

No change.

ericsink

comment created time in 9 days

issue commentmicrosoft/terminal

Tab key yields an extra keypress

(Darn it! Sorry for the slow reply, I missed the notification on this.)

No, this is not a touch screen. It's a regular keyboard on a Lenovo ThinkPad P53 laptop.

The keyboard layout? Er, whatever the default is. Lemme check...

Looks like it's "US QWERTY".

ericsink

comment created time in 10 days

issue commentmicrosoft/terminal

Tab key yields an extra keypress

(Thanks for the reply!)

The forceVT setting did not seem to make a difference.

I added the debugFeatures setting and followed the steps toward:

What shows up in red when you press TAB?

resulting in:

image

ericsink

comment created time in 12 days

issue openedmicrosoft/terminal

Tab key yields an extra keypress

Windows Terminal version (or Windows build number)

1.8.1521.0

Other Software

Windows Version 10.0.19042 Build 19042

Steps to reproduce

(I'm not sure this is the right place to post this, but I'm at the end of my rope. The problem is likely very uncommon, perhaps even special to my machine, but it is very specific to Windows Terminal, so I'm posting here to see if this looks familiar to anyone. Perhaps I'll get a clue to help diagnose this.)

The problem: Inside Windows Terminal, whenever I press the TAB key, I get two of them.

On MY machine (tm), the "steps to reproduce" are:

  1. Open Windows Terminal
  2. Open a tab with WSL
  3. type 'ls' and press the TAB key

The bash completion behaves as if the TAB were pressed twice.

For a while, I thought this was a problem in my bash configuration. But the problem happens in cmd.exe or PowerShell, if they are running in Windows Terminal. I have 3 different Ubuntu versions in wsl, and they all exhibit the behavior when under Windows Terminal.

If I open cmd.exe or Powershell the old fashoned way, without Windows Terminal, the behavior does not appear.

Running WSL from an old-fashioned cmd.exe window results in bash tab completion working the normal way, ie, the double-keypress problem is not seen.

The following C# test program simply echoes keystrokes. Running it from within Windows Terminal (WSL, cmd.exe, powershell, whatever) yields two lines for each press of the TAB key. No such problems running it in regular cmd.exe.

    class Program
    {
        static void Main(string[] args)
        {
		while (true)
		{
			var x = Console.ReadKey();
			Console.WriteLine($"{x}");
		}
        }
    }

I have checked my settings.json, and I see nothing that seems likely to cause this. As an experiment, I deleted my settings.json completely and restarted Windows Terminal, and the problem persists (with a newly created settings.json file). I could post my settings.json if it would be helpful.

I have rebooted my machine, no change. I have installed updates, no change.

I cannot report when this problem appeared. IIRC, the problem was happening when I first tried Windows Terminal, quite some time ago, probably shortly after its initial release. Because it's so annoying, I gave up on Windows Terminal and went back to something else. Now I'm trying again, and I'd like to try harder to get Windows Terminal to work without this "rock in my shoe".

Thanks in advance for any assistance. :-)

Expected Behavior

Just one tab keypress.

Actual Behavior

Two tab keypresses (see above).

created time in 12 days

issue commentdotnet/efcore

[.Net Framework 4.8]Library e_sqlite3 not found

I understand.

The recent changes in 2.0.5 prerelease builds are related to

ericsink/SQLitePCL.raw#389

and

ericsink/SQLitePCL.raw#419

When I made the code changes related to those issues, I worried that there would be cases that I broke. Your situation appears to be one such case.

I'll try to find a fix that addresses the concerns without causing breakage.

dyoalie

comment created time in 12 days

issue commentdotnet/efcore

[.Net Framework 4.8]Library e_sqlite3 not found

@PredatH0r The question here is whether you can tweak your project files to use the RuntimeIdentifiers stuff shown above instead of relying on AnyCPU.

I have the impression that this is considered by Microsoft folks to be the new proper way to accomplish things, but I've been trying to find a definitive and clear piece of documentation that says that.

dyoalie

comment created time in 12 days

create barnchericsink/swift

branch : mine

created branch time in 23 days

fork ericsink/swift

The Swift Programming Language

https://swift.org

fork in 23 days

push eventericsink/blog

Eric Sink

commit sha fa7b22171a174ceb890dcbd6b22d35b57c1bc1c6

github copilot entry

view details

push time in 25 days

issue commentericsink/SQLitePCL.raw

SQLitePCLRaw.bundle_e_sqlite3 using old System.Text.JJSON

Looks like maybe this has been resolved over in the sentry repo...

huyvuskedulo

comment created time in a month

pull request commentericsink/SQLitePCL.raw

Add implementation for sqlite3_db_config, sqlite3_[soft/hard]_heap_limit64 and sqlite3_limit

This has been merged. All tests passed. Thanks!

filipnavara

comment created time in a month

push eventericsink/SQLitePCL.raw

Filip Navara

commit sha c35a21987e04bb15cc76b4c886226fd92e40efef

Add implementation for sqlite3_db_config, sqlite3_soft_heap_limit64, sqlite3_hard_heap_limit64 and sqlite3_limit Co-authored-by: Vladislav Richter <shutdown256@gmail.com>

view details

Filip Navara

commit sha ea7828a3459447bbcb202f3d15defebfd7552987

Update todo.txt

view details

Pavel Faltynek

commit sha 4c1b2d16068bda7302456b89a6bf5ad422356f9a

Update the sqlite3_db_config variable argument definitions

view details

Pavel Faltynek

commit sha e8ef043dfaae283c89f701f7f20fc25563625618

Add tests for sqlite3_limit, sqlite3_soft_heap_limit64, sqlite3_hard_heap_limit64, sqlite3_db_config

view details

Eric Sink

commit sha f07440e91d738de29fc367de22226519fc34c9da

Merge branch 'new_apis' of https://github.com/emclient/SQLitePCL.raw into emclient-new_apis

view details

Eric Sink

commit sha 7aa98cb8390a849ce7cff422756ef42af54e6594

build and run the tests, everything passes

view details

Eric Sink

commit sha 5b98d85c575225fefba782d91022fa5d147d00f9

Merge branch 'emclient-new_apis'

view details

push time in a month

push eventericsink/SQLitePCL.raw

Eric Sink

commit sha 1fd5f514f449228a2094b66deec19ced72e6b1d3

comment out cil stuff from the build

view details

Eric Sink

commit sha 66733e84f58fdf1738a25a1c31b88f16784bb757

experimental change. switch the bundles to use dllimport providers for netcore. #419

view details

push time in a month

issue commentericsink/SQLitePCL.raw

Consider bringing back dllimport

Note to self:

The previous comment from @jeromelaban appears to contradict the following sentence I wrote a bit further up:

FWIW, the dynamic provider is used on .NET Core, and it doesn't seem to be causing any trouble there (that I can remember). There is probably little reason to change this case to use dllimport.

ericsink

comment created time in a month

issue commentericsink/SQLitePCL.raw

Add `[UnmanagedCallersOnly]` to `scalar_function_hook_bridge_impl` for WebAssembly support

At first glance, we need UnmanagedCallersOnly in exactly the same places that we use the MonoPInvokeCallback attribute.

jeromelaban

comment created time in a month

issue openeddotnet/runtime

Preview 5 has two identical copies of System.Security.Cryptography.Cng.dll

In .NET 6 preview 5, there are identical copies of System.​Security.​Cryptography.​Cng.dll in two different targeting packs, one in Microsoft.​NETCore.​App.Ref and another in Microsoft.​AspNetCore.​App.Ref.

I first mentioned this in a Tweet:

https://twitter.com/eric_sink/status/1405727524194242566

to which @davidfowl replied "That sounds like a bug...", so I figured it should be logged, and hopefully this is the right place.

created time in a month

issue openeddotnet/aspnetcore

Preview 5 has two identical copies of System.Security.Cryptography.Cng.dll

In .NET 6 preview 5, there are identical copies of System.​Security.​Cryptography.​Cng.dll in two different targeting packs, one in Microsoft.​NETCore.​App.Ref and another in Microsoft.​AspNetCore.​App.Ref.

I first mentioned this in a Tweet:

https://twitter.com/eric_sink/status/1405727524194242566

to which @davidfowl replied "That sounds like a bug...", so I figured it should be logged, and hopefully this is the right place.

created time in a month

issue openeddotnet/sdk

Preview 5 has two identical copies of System.Security.Cryptography.Cng.dll

In .NET 6 preview 5, there are identical copies of System.​Security.​Cryptography.​Cng.dll in two different targeting packs, one in Microsoft.​NETCore.​App.Ref and another in Microsoft.​AspNetCore.​App.Ref.

I first mentioned this in a Tweet:

https://twitter.com/eric_sink/status/1405727524194242566

to which @davidfowl replied "That sounds like a bug...", so I figured it should be logged, and hopefully this is the right place.

created time in a month

startedcompor/llvm-ir-cmake-utils

started time in 2 months

push eventericsink/blog

Eric Sink

commit sha 86bec7549a71238477bee3f103503304d97e29ed

swift aspnet blog entry

view details

push time in 2 months

push eventericsink/demo-llama-aspnet-swift

Eric Sink

commit sha c6d4115be73e0aaa677ad2ca38db2f9bceb01ce5

initial commit

view details

push time in 2 months

create barnchericsink/demo-llama-aspnet-swift

branch : main

created branch time in 2 months

created repositoryericsink/demo-llama-aspnet-swift

created time in 2 months