profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/Lichtso/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.
Alexander Meißner Lichtso Solana Frankfurt am Main, Germany Freelancer, Working on my project @Symatem in my free time

Lichtso/netLink 202

Socket and Networking Library using msgpack.org[C++11]

Lichtso/CCWT 135

Complex Continuous Wavelet Transform

Lichtso/curve_cad 97

Blender Addon: Bezier Curve CAD Tools for CNC Milling & Laser Cutting

Lichtso/DOS-Emulator 69

Emulator of the IBM PC running DOS written in Rust

Lichtso/hair_guides 35

Blender Addon: Particle Hair Guides

Lichtso/JSC-Standalone 30

Cross platform standalone binaries and build instructions of WebKit-JavaScriptCore

Lichtso/geometric_algebra 10

Generate(d) custom libraries for geometric algebras

KDD-OpenSource/fexum 9

Framework for Exploring and Understanding Multivariate Correlations

Lichtso/MacInject 9

Command line tool and library to inject and execute program code into another process

cginternals/openll-asset-generator 7

Font Asset Generator based on OpenLL Specifications

push eventLichtso/solana

Alexander Meißner

commit sha 7e80d068b3421c8a9f344f6a728e31a74418437b

Simplifies return_data accessors in InvokeContext.

view details

Alexander Meißner

commit sha c700b99f46920ac6d9c5f9c0c84c99d6d4f6caf2

Routes loader_id to register_syscalls().

view details

Alexander Meißner

commit sha f60e814175c75d92e8defc5f25f4a423631a97f8

Adds the new direct_mapping loader (feature gated).

view details

Alexander Meißner

commit sha f56030cae3fa768ae250db966922d3c42b1e2670

Implements new encoding and adds attribute enum.

view details

Alexander Meißner

commit sha 93162b029ddbc3f66be0f2fcd559a20dd725b33a

Implements TransactionContext, InstructionContext and BorrowedAccount.

view details

Alexander Meißner

commit sha 5f007236132fab892862d726a96714843ffcac8c

return data

view details

push time in 2 hours

push eventLichtso/solana

Alexander Meißner

commit sha 7e80d068b3421c8a9f344f6a728e31a74418437b

Simplifies return_data accessors in InvokeContext.

view details

push time in 5 hours

push eventLichtso/solana

Alexander Meißner

commit sha eb3252e44a326a57c507caa8f45aeea387416022

Simplifies return_data accessors in InvokeContext.

view details

push time in 6 hours

push eventLichtso/solana

Alexander Meißner

commit sha 984f384a187ae9c82b72a2852bf916fa49fbbf82

Simplifies return_data accessors in InvokeContext.

view details

push time in 6 hours

PR opened solana-labs/solana

Reviewers
Simplify return_data accessors in InvokeContext

Problem

Internally the handling of return_data in InvokeContext is more complex than it needs to be and it hinders integration in ABI v2.

Summary of Changes

  • Automatically retrieves program_id from invocation_stack
  • Removes the Option::None and instead use an empty data Vec for that
  • Syscall interfaces remain the same

Fixes #

+53 -69

0 comment

6 changed files

pr created time in 6 hours

create barnchLichtso/solana

branch : refactor/invoke_context_return_data

created branch time in 7 hours

push eventLichtso/solana

Jeff Washington (jwash)

commit sha d8f98b3dcbbc27a358bec8d7e02126d0d986f5c4

AcctIdx: avoid crazy #s on ms_per_age stat (#20184)

view details

Ted Robertson

commit sha af57bd3d48dd1f2b1c8ba7208ad69d7180b493b7

Fix grammar in conventions.md (#20236)

view details

Ted Robertson

commit sha f107aa296bfa7acd5a461e671ca29bdb0032008b

Wallet guide: fix grammar (#20228)

view details

Jeff Washington (jwash)

commit sha 833f7761d2f5e3ef489761b0ac45d9012992fb39

AcctIdx: upsert uses get from mem first (#20186)

view details

Jeff Washington (jwash)

commit sha 025261c05ef5ea600abdbbe6560f19fa8dd75132

AcctIdx: when no disk index, always wait for stats (#20248)

view details

Jeff Washington (jwash)

commit sha bc50fd4ad638b4161bcb1032df719f548ff9cc68

allocate threads for accounts idx based on cpus (#20118)

view details

Jeff Washington (jwash)

commit sha 46263d405e0380cc38442058177880fa3d898474

fix math error with stats calc (#20253)

view details

Brooks Prumo

commit sha 49e85afdcda769c0f1d989cdf255ce4958d10b5e

Make rpc_bootstrap() aware of local incremental snapshots (#20171)

view details

Kirill Fomichev

commit sha ac79ae6848e15f75006c660b7fb5fe5a4ee25187

Rpc: use rust convenient methods

view details

Brooks Prumo

commit sha 95fbc29500c916fa38a88be17f45e4c07096997d

Add stats when getting snapshot storages (#20234)

view details

drbh

commit sha e94b7984a1ab7077bad9c9e171e1911cecbeb029

fix Borsh typo changes `BORSH_IO_ERROR` from `unkown` to `unknown` error

view details

Jeff Washington (jwash)

commit sha 8266864adc2b26f33c94ea71d9cfa93872b1cd6a

AcctIdx: maybe advance age when a bg thread wakes up (#20250) * fix math error with stats calc * AcctIdx: maybe report stats when a bg thread wakes up

view details

Jeff Washington (jwash)

commit sha 9d91a6f1b71209b46cdfbc5bb259cfb4c753c40b

shrink slots at startup uses more threads (#20251)

view details

Brian Anderson

commit sha 082d5dc5b267f8b36d6669bb5900a0f9e44a42e0

Add more docs for RpcClient (#19771) * Add more docs for RpcClient * Use custom mocks in rpc_client examples * Move create_rpc_client_mocks into rpc_client module Signed-off-by: Brian Anderson <andersrb@gmail.com> * Update client/src/rpc_client.rs Co-authored-by: Tyera Eulberg <teulberg@gmail.com> * Update RpcClient docs per review feedback * Consistently link 'commitment level' in RpcClient docs Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

view details

Jeff Washington (jwash)

commit sha e4795ae7edb24199d857f16b9a9dab3aa22f13ad

AcctIdx: keep cached or multiple slot lists in cache (#20257)

view details

Jeff Washington (jwash)

commit sha 4f83818fdb3cd5631dfb31b4250f094373b24461

get rid of WriteAccountMapEntry instance (#19093)

view details

Jeff Washington (jwash)

commit sha bbd2f9672d3e492ea92c8beeb91b1f764a0cb6b3

clone -> Arc::clone to make cost clear (#20262)

view details

Jeff Washington (jwash)

commit sha f6812523cdaee03c2f1156f87a47f877726614ee

handle race condition with flush and delete (#20255)

view details

behzad nouri

commit sha 43ed727ba795c68f8b70a623cd1a700ac71beaad

reverts #17542 (#20259) https://github.com/solana-labs/solana/pull/17542 excludes caller's crds values from pull responses. Reverting that commit so that when a (staked) node restarts, it can obtain its crds values before restart from other nodes.

view details

Ted Robertson

commit sha f24fff8495e997f0d6e70295efbd077f1c427018

stake-accounts.md: fix grammar, link Solana Explorer (#20270)

view details

push time in 9 hours

push eventLichtso/solana

Alexander Meißner

commit sha 4ab668df59f70ac8bcf58bab3fdc34c6e5745df2

Implements TransactionContext, InstructionContext and BorrowedAccount.

view details

push time in 11 hours

issue commentsolana-labs/solana

Rename toolchain target triple to solana specific name

Another wish for SBF: Restrict the callx jump targets to only allow known symbols (e.g. registered functions in the ELF). Because currently a dynamic jump can enter a loop in-mid without going through the entry. And that prevents important optimizations like the hoisting of address translation out of loops.

dmakarov

comment created time in a day

issue closedsolana-labs/rbpf

Address Translation & Memory Model

The address translation is known to be the bottleneck of most workloads in the BPF VM at the moment.

Ideas to improve the situation:

  • Hoist address translation from loop bodies outside, so that they happen less frequently. This would require the static analyzer to be reliable and secure in order to detect loops. Also an efficient way to bypass the translated results into the body and check if they are still in bounds during the execution would be needed. Finally, a fallback in case the boundcheck fails is required too. Furthermore, dynamic calls must be restricted so that they can not jump into a loop. Either by excluding loops or only allowing registered symbols as jump table.
  • Manually optimize the address translation on x86 instruction level to reduce redundant boundchecks and the need for register spilling. This will probably not yield much, maybe a few percent improvement.
  • Change the memory model to something simpler, e.g. what WASM is doing. This would be the most radical change, but also the one which might help the most.

closed time in a day

Lichtso

push eventLichtso/solana

Alexander Meißner

commit sha 4058b126daf59c884bfc3879b417dc5922d17ea6

Implements new encoding and adds attribute enum.

view details

Alexander Meißner

commit sha d341b0add40965898a852e22d309cbf6466a8e59

Implements TransactionContext, InstructionContext and BorrowedAccount.

view details

push time in a day

push eventsolana-labs/rbpf

Dmitri Makarov

commit sha 5a7881f20ac67e817e0dcaffb10592290a9d5e3c

Fix tests to pass on non-X86_64 architectures (#218) - JIT currently only works on x86_64 machines. This change disables usage of JIT in tests for any but the supported target architectures.

view details

push time in a day

PR merged solana-labs/rbpf

Fix tests to pass on non-X86_64 architectures
  • JIT currently only works on x86_64 machines. This change disables usage of JIT in tests for any but the supported target architectures.
+7 -7

1 comment

1 changed file

dmakarov

pr closed time in a day

PullRequestReviewEvent

pull request commentrp-rs/rp-hal

Adds Reset for Timer

Then I will remove timer.reset_bring_down(resets); and only leave timer.reset_bring_up(resets); in there.

BTW, is there some tutorial on how to build an uf2 file for loading to RAM?

I made this for quick and easy development. It requires only one command to build, upload and run: cargo run And yes, it requires different linker scripts depending on the deployment.

Lichtso

comment created time in a day

push eventLichtso/rp2040_template

Alexander Meißner

commit sha 196a4a2cc318e39f14b36c1698c0f4907768fbbd

Initial commit

view details

push time in a day

push eventLichtso/rp-hal

Alexander Meißner

commit sha a5345a2edea8ab95798e328938d4e1a2aea6e696

Use new PAC for USB

view details

push time in a day

push eventLichtso/rp-hal

Alexander Meißner

commit sha f85f06fca2a8ed0ec484a66614b4195713522004

Adds reset for timer, otherwise it would not run.

view details

Alexander Meißner

commit sha 2048f1b2264f012e4ec835b5fb2ce4a1a0e968ac

Implements an USB device prototype with a capitalizing echo interface for testing.

view details

Alexander Meißner

commit sha 4d8ff8276c610d3229eec9f76fea922aa129f761

Refactoring, code cleanup, bug fixes. - Support for language codes / localization - Replaces ISR by more general poll method - Adds interval parameter to endpoints - Partial implementation of double buffering

view details

Alexander Meißner

commit sha 591799bd80936b776fe2087464b5c0412ef04579

Implements configurable endpoints, interfaces, configurations, programmable handlers, a localized string table and stall signaling. Moves example code in a separate file.

view details

Alexander Meißner

commit sha 542e3a9a8c2492487ddb989823e287551e3eed85

Use new PAC for USB

view details

push time in a day

push eventLichtso/rp-hal

Alexander Meißner

commit sha f85f06fca2a8ed0ec484a66614b4195713522004

Adds reset for timer, otherwise it would not run.

view details

push time in a day

issue commentsolana-labs/rbpf

JIT: Windows not supported

It is not so much POSIX, as the only thing POSIX we are using is mmap / mprotect and there should be replacements for that on windows: https://docs.microsoft.com/en-us/windows/win32/api/memoryapi/

The way bigger problem is that windows does not use the System V ABI like everybody else does. So all the x86 registers and the call stack work differently.

joncinque

comment created time in a day

delete branch solana-labs/rbpf

delete branch : fix/beta_ci_tests

delete time in a day

push eventsolana-labs/rbpf

Alexander Meißner

commit sha 54ea2fb4e91f2805f325d20132a41f890e763208

Fix Beta CI Tests (#216) Adds build.rs controlled feature to counteract new "Send + Sync" vtable offset.

view details

push time in a day

PR merged solana-labs/rbpf

Fix Beta CI Tests bug
+24 -1

0 comment

5 changed files

Lichtso

pr closed time in a day

push eventLichtso/solana

Jeff Washington (jwash)

commit sha 4d3e32803f1cbc7d01bb9ff779224bafb2c29ad4

AcctIdx: PreAllocatedAccountMapEntry (#20117)

view details

Jeff Washington (jwash)

commit sha cb9d93525b1a304be5e483cdd112bb5ca5b4741f

AcctIdx: metrics for loading from disk (#20124)

view details

Jeff Washington (jwash)

commit sha 5bbb0da7b80448655059465704beb9fee5183ab8

AcctIdx: stats for in-mem (#20114)

view details

dependabot[bot]

commit sha 038d77347a74b8fdb11f44b378b34543527d6a41

chore: bump tiny-bip39 from 0.8.0 to 0.8.1 (#20136) * chore: bump tiny-bip39 from 0.8.0 to 0.8.1 Bumps [tiny-bip39](https://github.com/maciejhirsz/tiny-bip39) from 0.8.0 to 0.8.1. - [Release notes](https://github.com/maciejhirsz/tiny-bip39/releases) - [Changelog](https://github.com/maciejhirsz/tiny-bip39/blob/master/CHANGELOG.md) - [Commits](https://github.com/maciejhirsz/tiny-bip39/compare/v0.8.0...v0.8.1) --- updated-dependencies: - dependency-name: tiny-bip39 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * [auto-commit] Update all Cargo lock files Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot-buildkite <anatoly+githubjenkins@solana.io>

view details

Jeff Washington (jwash)

commit sha fb55e9a9b6002f11a8268fddf562f50b0e783789

AcctIdx: when stop_flush is disabled, prepare to age (#20113)

view details

Jeff Washington (jwash)

commit sha 5dae61520833820b5787cce52ed07032763ff611

AcctIdx: set age of cache accesses to future (#20125)

view details

Jeff Washington (jwash)

commit sha fe28f1771885961410c92a4f831b4ebc24701c37

AcctIdx: startup causes us to flush remove everything asap (#20121)

view details

Jeff Washington (jwash)

commit sha 093dd682141930cc6141ed5a121a79d975a897ca

AcctIdx: stats for how much time bg threads wait (#20127)

view details

Jeff Washington (jwash)

commit sha 254d9c8903be0572f69c03d1114ac448f943efe7

range takes a ref (#20140)

view details

Tyera Eulberg

commit sha 98af19bde3d9daf6d3cf30d44700d17e200ec1aa

Fix fmt

view details

Jeff Washington (jwash)

commit sha 334d38d200f2bd7eb5e0aef7bb782e4f345b0e6d

AcctIdx: generation per thread starts at a random bucket (#20122)

view details

Tyera Eulberg

commit sha a70fd8e606d8068bdd1d31bc1a2dc1f8f48deab1

Update TransactionError link to docs.rs (#20145)

view details

Jeff Washington (jwash)

commit sha 2ae1e80013ae3cd355a8003b843e8c9b2013a946

AcctIdx: items needs to load from disk (#20138)

view details

Brooks Prumo

commit sha 1347b507dad8d8bdaf0c0a21ca4fe8e98020786d

Handle duplicate AppendVec IDs (#20096) When reconstructing the AccountsDb, if the storages came from full and incremental snapshots generated on different nodes, it's possible that the AppendVec IDs could overlap/have duplicates, which would cause the reconstruction to fail. This commit handles this issue by unconditionally remapping the AppendVec ID for every AppendVec. Fixes #17088

view details

underscorepeter

commit sha 5402a77c630b08af9026a706f00ae0e0cffcb819

Update Step swap program name (#20112) * Update Step swap program name * Fix lint error

view details

Jeff Washington (jwash)

commit sha b3bb079d9f0dd9b52a3576bdfe6822793feb7bdd

AcctIdx: condense upsert to always use read lock (#20148)

view details

Jeff Washington (jwash)

commit sha 1d13594c1cb567b8b26e1fb4b173712b429cccf3

AcctIdx: store # threads in BucketHolder. Used later. (#20151)

view details

Brooks Prumo

commit sha 72f5bfbae2579292f30a3d719e5f7e39bb1df38c

bucket_map: rename num_cells() to capacity() (#20150)

view details

Justin Starry

commit sha 355d45ca46231ffad9dfec8e5fe99791c1dbc668

Fix automerge checks (#20156)

view details

Justin Starry

commit sha f8827e2f0800edf2c3d757f011072d63b6a9bd6c

Update serum program labels (#20155)

view details

push time in a day

pull request commentrp-rs/rp-hal

Adds Reset for Timer

No I am not using JTAG or anything, just the UF2 with a different destination address and upload it via USB in boot select mode.

Some initialization helper method you could call in case your software runs from RAM would be more general, as we could add other missing setup steps there, as well.

If there are other "things" missing, sure. But so far this has been the only thing I noticed.

Lichtso

comment created time in a day

pull request commentrp-rs/rp-hal

Adds Reset for Timer

I am not uploading to Flash, but RAM directly. And yes, that might make a difference in what the firmware initializes or leaves out.

Lichtso

comment created time in a day

delete branch Lichtso/solana

delete branch : refactor/merge_message_processor_into_invoke_context

delete time in 2 days

push eventsolana-labs/solana

Alexander Meißner

commit sha df6905c3a67e46c17d66a282d200741508c9e5f0

Refactor: Merge MessageProcessor into InvokeContext (#20165) * Inlines MessageProcessor::execute_instruction() in MessageProcessor::process_message(). * Moves MessageProcessor::create_pre_accounts() into ThisInvokeContext::push(). * Hoists ThisInvokeContext::new() out of loop inside MessageProcessor::process_message(). * Moves MessageProcessor::verify_account_references() and MessageProcessor::verify() into InvokeContext::verify().

view details

push time in 2 days

PR merged solana-labs/solana

Refactor: Merge MessageProcessor into InvokeContext

Problem

MessageProcessor has no real purpose anymore as most of its functionality has been moved to InstructionProcessor and InvokeContext. Currently, it is redirecting dozens of parameters over multiple function calls without doing much. By removing it we can use InvokeContext transaction wide instead of creating one per instruction. This way the InvokeContext can become the runtime wrapper around the TransactionContext of ABIv2 (#19191).

Summary of Changes

Moves all instance properties and methods (except for process_message) out of MessageProcessor.

Fixes #

+332 -404

1 comment

4 changed files

Lichtso

pr closed time in 2 days

pull request commentrp-rs/rp-hal

Adds Reset for Timer

I was wondering about that too, as I could not get any of the timer examples to run. So, at least in my builds the timer does not get reset anywhere else.

Lichtso

comment created time in 2 days