Conda env with python 3.10 is not working properly

Issue Type: Bug

Behaviour
Expected vs. Actual
I have a conda environemnt with python 3.10.0 which is set with "python.defaultInterpreterPath":"<path-to-conda>/envs/<env>/python.exe".
The status bar shows the correct env name, but 3.9.7 is given as the version.
Furthermore pylance does not recognize 3rd party packages installed in the env.
At runtime there are no problems though.
Furthermore, everything is correct when I start VSCode from the command line in the correct conda env. The problem seems to be limited to when vscode is not started in a conda env.
I would expect this to be displayed correctly now that #17941 has been closed.
Steps to reproduce:

Create a Conda env with python 3.10 in it.
Install any third party package, for example click
Create a python file that uses this env and click
Start VSCode normaly (Use the Icon for example.)
The interpreter version is displayed wrong and pylance does not not click

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.9.7
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
Value of the python.languageServer setting: Pylance

User Settings

defaultLS: {"defaultLSType":"Pylance"}

downloadLanguageServer: true

envFile: "<placeholder>"

venvPath: "<placeholder>"

venvFolders: "<placeholder>"

condaPath: "<placeholder>"

pipenvPath: "<placeholder>"

poetryPath: "<placeholder>"

languageServer: "Pylance"

linting
• enabled: true
• cwd: "<placeholder>"
• Flake8Args: "<placeholder>"
• flake8Enabled: false
• flake8Path: "<placeholder>"
• lintOnSave: true
• banditArgs: "<placeholder>"
• banditEnabled: true
• banditPath: "<placeholder>"
• mypyArgs: "<placeholder>"
• mypyEnabled: true
• mypyPath: "<placeholder>"
• pycodestyleArgs: "<placeholder>"
• pycodestyleEnabled: false
• pycodestylePath: "<placeholder>"
• prospectorArgs: "<placeholder>"
• prospectorEnabled: false
• prospectorPath: "<placeholder>"
• pydocstyleArgs: "<placeholder>"
• pydocstyleEnabled: true
• pydocstylePath: "<placeholder>"
• pylamaArgs: "<placeholder>"
• pylamaEnabled: false
• pylamaPath: "<placeholder>"
• pylintArgs: "<placeholder>"
• pylintPath: "<placeholder>"

sortImports
• args: "<placeholder>"
• path: "<placeholder>"

formatting
• autopep8Args: "<placeholder>"
• autopep8Path: "<placeholder>"
• provider: "black"
• blackArgs: "<placeholder>"
• blackPath: "<placeholder>"
• yapfArgs: "<placeholder>"
• yapfPath: "<placeholder>"

testing
• cwd: "<placeholder>"
• debugPort: 3000
• nosetestArgs: "<placeholder>"
• nosetestsEnabled: undefined
• nosetestPath: "<placeholder>"
• promptToConfigure: true
• pytestArgs: "<placeholder>"
• pytestEnabled: false
• pytestPath: "<placeholder>"
• unittestArgs: "<placeholder>"
• unittestEnabled: false
• autoTestDiscoverOnSaveEnabled: true

terminal
• activateEnvironment: true
• executeInFileDir: "<placeholder>"
• launchArgs: "<placeholder>"

experiments
• enabled: true
• optInto: []
• optOutFrom: []

insidersChannel: "off"

tensorBoard
• logDirectory: "<placeholder>"

Extension version: 2022.0.1814523869
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

@alkatar21 This is due to conda issue see here for workarounds: https://github.com/conda/conda/issues/11072


ordering

Add a program to order boxes of pokemon, based on their national dex order

Can you give the program a better name? Like "National Dex Box-Reorder"? Just "Ordering" is kinda vague. lol


power rename has 2 entries in the extended menu (in windows 11) when you select both

Microsoft PowerToys version
0.60.1
Running as admin

[ ] Yes

Area(s) with issue?
PowerRename
Steps to reproduce
right click a file then go in extended menu and you'll have 2 entries
also says to use shift + right click for extended menu which doesn't work in windows 11
✔ Expected Behavior
only 1 entry
❌ Actual Behavior
2 entries name power rename
Other Software
No response

@jaimecbernardo

The text in the UI should be an easy fix

We're showing both context menu entries, new and old, since https://github.com/microsoft/PowerToys/pull/19249 .
The reason for this is that not showing the old one also makes PowerToys Rename unusable for people who have some software that overrides the Windows 11 right click menu.

@jaimecbernardo the "fix-commited" label is okay for the UI text, but is the core problem also fixed?

You're right. Although here I think we want to keep showing both. (Some costumizations for Windows 11 have only the classical context menu)

Thanks for pointing it out.

/dup #25361


[FEATURE] Add go SDK for running go programs in wasm-bpf

Is your feature request related to a problem? Please describe.
currently we have a minimal go example, but it use raw api to access host functions
instead of using a sdk. Add SDK for it will greatly reduce the difficulty of build a eBPF program in go.
Describe the solution you'd like
Add a go sdk for wasm-bpf

it would be similar to https://github.com/cilium/ebpf

Closed as basic go SDK is merged.


Taking the trace

Heya,
I have some issues taking the trace of a matrix or other complete reductions.
I assumed this should work:
julia> using Einsum;

julia> a = [1 0; 0 1]
2×2 Array{Int64,2}:
 1  0
 0  1

julia> @einsum b := a[i,i]
0

But that gives me the wrong result while
julia> b = zeros();

julia> @einsum b[] = a[i,i]
0-dimensional Array{Float64,0}:
2.0

works but not
julia> b = zeros();

julia> @einsum b = a[i,i]
0-dimensional Array{Float64,0}:
0.0

A possible fix could be replacing zero with zeros (to get a 0-dim array) here: https://github.com/ahwillia/Einsum.jl/blob/d703b8437dbf5a3ea46ad518bb591b2c6dbc6793/src/Einsum.jl#L128
But I'm not sure if that breaks something else.
At least @einsum b[] := a[i,i] would work then.
Let me know if I'm simply using the package wrong.
Cheers
edit: The issue is not present if the macro is in a function, i.e.
foo(a) = @einsum b := a[i,i]

I guess then that it has to do with macro-magic which I don't grok at all I'm afraid.

I think it's to do with the global scope issue (see for example here). That's why it works fine inside a function, but not here:
julia> M = collect(reshape(1:4,2,2))
2×2 Array{Int64,2}:
 1  3
 2  4

julia> @einsum T := M[i,i]
0

julia> @macroexpand @einsum T := M[i,i];

The expansion of this has a let block which I think was necessary for 0.6's scope rules. If you comment it out like this, then it works correctly:
julia> begin
           local kangaroo = promote_type(eltype(M))
           T = zero(kangaroo)
           @assert size(M, 1) == size(M, 2)
           #let i
               @inbounds begin
                       local turtle = zero(kangaroo)
                       for i = 1:size(M, 1)
                           turtle += M[i, i]
                       end
                       T = turtle
                   end
           #end
           T
       end
5

Line relevant line even has a comment, we should just delete it and drop 0.6 I believe.

Aside, but perhaps of interest, here's how two other packages handle this:
julia> using TensorOperations

julia> @tensor T[] := M[i,i]
0-dimensional Array{Int64,0}:
5

julia> @tensor M[i,i]  # also @tensor T = M[i,i]
5

julia> using TensorCast

julia> @reduce T[] := sum(i) M[i,i]
0-dimensional Array{Int64,0}:
5

julia> @reduce sum(i) M[i,i]
5

Perhaps @einsum T[] := M[i,i] should also be made to work.

Besides the scope issue, I just realised there's a one-line change which makes the zero-array case work, in addition to the scalar one. Added to #38 today.


Which parts of target directory worth caching?

I've seem some people cache:

target/debug/.fingerprint
target/debug/build
target/debug/deps

Are there any recommendations for caching target dir?

Hi, any updates here?

@ehuss any chance you could give a quick rundown? someone else might be able to do the patch if we had an authoritative answer.

Sorry, there isn't an easy answer.  Everything is already documented at https://doc.rust-lang.org/cargo/guide/build-cache.html (except for .fingerprint).  What you want to cache will depend on what your needs are, but for the most part it is probably easiest to just cache the entire target directory. You can exclude directories like target/doc if you build documentation but don't want to cache it.

#5931 is likely to change this and simplify it.


Build failing on Fedora (modules/text_server_adv/text_server_adv.cpp:1362: error: 'hb_font_set_synthetic_slant' was not declared in this scope)

Godot version
4.0 ( 9094262 )
System information
Fedora Linux 35 (Workstation Edition)
Issue description
After following the instructions from the documentation (using the "one liner" for Fedora), calling scons ends with the following error message:
modules/text_server_adv/text_server_adv.cpp: In member function 'bool TextServerAdvanced::_ensure_cache_for_size(TextServerAdvanced::FontAdvanced*, const Vector2i&) const':
modules/text_server_adv/text_server_adv.cpp:1362: error: 'hb_font_set_synthetic_slant' was not declared in this scope
 1362 |                 hb_font_set_synthetic_slant(fd->hb_handle, p_font_data->transform[0][1]);
      |

I verified that all requirements are met and have sufficient versions.
After doing some research of my own, it looks to me like this function should be declared in the scope (its included through hb.h and text_server_adv.h). I'd expect Godot to compile without any issues after following documentation and I'm not sure what could be causing this error.
Steps to reproduce
Clone the repository and follow the steps laid out in the documentation for compiling on Linux.

Could you run with verbose=yes and post the full compiler invocation for this file?
CC @bruvzg

Are you trying to build with system HarfBuzz (builtin_harfbuzz=false flag)? hb_font_set_synthetic_slant function was added in HarfBuzz 3.3.0, system version might be older.
Or it might be using system headers in favor of built-in for some reason.

Hello. I can confirm that building fails on Fedora 35 with the same error using both scons compiledb=yes and scons compiledb=yes use_llvm=yes. I tried checking out previous commits and rebuilding and it seems to me (never studied nor used C++ before) that commit 1bb56d92980c268a24d826a342ed4c44e7058b5a is the last one compiling successfully. Maybe something is happening in the next commit, cc5135959b8d7956e93c566916352f5818f008f1?

Could you run with verbose=yes and post the full compiler invocation for this file?

Building with scons compiledb=yes verbose=yes, I think this should be the line relative to modules/text_server_adv/text_server_adv.cpp,
[ 22%] g++ -o modules/text_server_adv/text_server_adv.linuxbsd.tools.64.o -c -std=gnu++17 -DU_HAVE_LIB_SUFFIX=1 -DU_LIB_SUFFIX_C_NAME=_godot -DICU_DATA_NAME=icudt71l.dat -DICU_STATIC_DATA -g3 -pipe -pthread -Wall -Wshadow-local -Wno-misleading-indentation -DDEBUG_ENABLED -DDEV_ENABLED -DNO_EDITOR_SPLASH -DTOUCH_ENABLED -DFONTCONFIG_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DPULSEAUDIO_ENABLED -D_REENTRANT -DDBUS_ENABLED -DJOYDEV_ENABLED -DUDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -D_FILE_OFFSET_BITS=64 -DVULKAN_ENABLED -DGLES3_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DUSE_VOLK -DVK_USE_PLATFORM_XLIB_KHR -DGLAD_ENABLED -DGLES_OVER_GL -Ithirdparty/libpng -Ithirdparty/glad -Ithirdparty/volk -Ithirdparty/vulkan -Ithirdparty/vulkan/include -Ithirdparty/zstd -Ithirdparty/zlib -Iplatform/linuxbsd -I. -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Ithirdparty/harfbuzz/src -Ithirdparty/icu4c -Ithirdparty/icu4c/common -Ithirdparty/msdfgen -Ithirdparty/freetype/include -Ithirdparty/graphite/include modules/text_server_adv/text_server_adv.cpp

... -I/usr/include/harfbuzz ... -Ithirdparty/harfbuzz/src ...

So system version is included first.
https://github.com/godotengine/godot/commit/cc5135959b8d7956e93c566916352f5818f008f1 added CFLAGS for fontconfig, which depend on FreeType which might depend on HarfBuzz (depending on config).
Probably we should prepend built-in includes, instead of appending to ensure it's include in correct order.
We can also include compile time HarfBuzz version check for hb_font_set_synthetic_slant, since this call is not essential. I'll check it with an older versions tomorrow, to assess how much stuff is missing and if it's worth adding checks.
Meanwhile, try building it with this line changed to env_harfbuzz.Prepend(CPPPATH=["#thirdparty/harfbuzz/src"]).

I don't understand why system includes are present at all if not using builtin_harfbuzz=no or similar.

I don't understand why system includes are present at all if not using

System includes are most likely from fontconfig:
https://github.com/godotengine/godot/blob/cca072aa8672633a235e9187ee6873d9f165e003/platform/linuxbsd/detect.py#L305

Meanwhile, try building it with this line changed to env_harfbuzz.Prepend(CPPPATH=["#thirdparty/harfbuzz/src"]).

That specific line wasn't working, however I noticed that line 149 was somehow similar, so I applied the same fix you suggested to that line, changing it to     env_text_server_adv.Prepend(CPPPATH=["#thirdparty/harfbuzz/src"]), and it built successfully. Thank you.

 The output of running with verbose=yes was the same as the one spellcard199 reported. Trying the suggested fix worked for me too. Thank you!
I was able to reproduce these errors on a fresh installation of Fedora 35 and the suggested changes worked there as well.


Would really like more for this article.

Hi , Please can we have more information on this topic . As an example How long would it take to migrate content from the file stream to the database , and vice versa. Is the webapplication /database still online or is it locked ?
How do you tell if the migration is progressing ?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ad631f70-2d88-9ebd-e822-27e7bd16054f
Version Independent ID: 297ee8a1-9479-f03d-167b-cf7fe236c040
Content: Migrate content into or out of RBS in SharePoint Server
Content Source: SharePoint/SharePointServer/administration/migrate-content-into-or-out-of-rbs.md
Product: sharepoint-server-itpro
GitHub Login: @bentoncity
Microsoft Alias: stevhord

@jasonwbaxter1990 Thank you for this feedback
I will get these questions over to the SharePoint team for investigation.
The team will get this prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@jasonwbaxter1990 The amount of time it takes varies due to factors such as the amount of content and the performance of the hardware so no number can be provided. There is no lock on the database but this isn't something you'd want to perform during business hours due to the high I/O needed for the database and target file system.
With that being said, if you're using SharePoint 2016 or 2019, I'd strongly recommend you not use RBS. RBS was designed for a SQL Express scenario which these products do not support. RBS has a few draw backs, such as an absolute database size (remember the database size is a combination of database physical size + filestream content) and maintenance of the RBS store.

See https://docs.microsoft.com/en-us/sharepoint/administration/maintain-rbs.

@jasonwbaxter1990 I do not believe there is any way to monitor the export progress from the content database to file system.


Telltale Games (Minecraft Story Mode particularly) and Flipline Games don't work

Describe the issue
The Title is pretty self-explanatory. Live Container doesn't show their icons and they crashes after ~3-4 seconds of loading.
Instructions to reproduce
Any links to download those games (for instance these -
https://pdalife.com/minecraft-story-mod-ios-a16883.html
https://pdalife.com/minecraft-story-mode-season-two1-ios-a28739.html for minecraft series and https://t.me/ZiSipa/1331 for Flipline Games)
What version of LiveContainer are you using?
2.1.2-release (main/fd71dd7)
Other
No response

I think I fixed this in my branch, you can download it and enable Bypass AssertionBarrierOnQueue in app settings.

Just redownloaded it and I don’t see any changes in settings :(

long press the app icon and you will see the setting button of that app

Minecraft Story Mode works, but Flipline Games don't (just straight up crashes)


Funds didn’t reach destination.

I sent funds from my Ledger Nano S to my Coinbase Account and it’s saying successful but my Coinbase never received them.
FIX THIS ASAP
Transaction ID: c0814ef3e5f96865b1ce8e043203d792c1d8166dea79822e99248c7f1dcdc648
From: GBKIL2INOEOETYY64Z26YQFZ7SVIL6YRRV6565YB3VYYLEUOMYMV6CKA
To:
GDQP2KPQGKIHYJGXNUIYOMHARUARCA7DJT5FO2FFOOKY3B2WSQHG4W37

wonder how much coinbase is holding that doesn't belong to them.

wonder how much coinbase is holding that doesn't belong to them.

Same issue as you.. did u received some some answer from coinbase?

Same issue as you.. did u received some some answer from coinbase?

Nothing yet
Michael Hall
630.800.0074

On Jan 25, 2021, at 1:44 PM, xavifv<EMAIL_ADDRESS>wrote:

Same issue as you.. did u received some some answer from coinbase?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Nothing yet
Michael Hall
630.800.0074

On Jan 25, 2021, at 1:44 PM, xavifv<EMAIL_ADDRESS>wrote:

Same issue as you.. did u received some some answer from coinbase?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


[5.2] Fix Str::snake method for UTF-8 strings

When i set locale to tr_TR.UTF-8, Str::snake() method can't convert an utf-8 string to snake case correctly because of strtolower. So in SQL queries, it causes query exceptions:
 Next Illuminate\Database\QueryException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbname.Invites' doesn't exist (SQL: select * from `Invites` where ...

In this example, it is trying to get Laravel Eloquent model called Invite's data but it's table name converted to Invites instead of invites. When i set table name manually to model ($table property), it works.
NOTE: This issue occurs on PHP 7 setup.

Is this bug on 5.1 too? If so, please can you send a PR to the 5.1 branch instead.

@GrahamCampbell ok, i send to 5.1 branch.


fix "account_nfts" with unassociated marker returning issue

fix #4314

High Level Overview of Change

Context of Change

Type of Change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[ ] Performance (increase or change in throughput and/or latency)
[ ] Tests (you added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation update
[ ] Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
[ ] Release

API Impact

[ ] Public API: New feature (new methods and/or new fields)
[ ] Public API: Breaking change (in general, breaking changes should only impact the next api_version)
[ ] libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
[ ] Peer protocol change (must be backward compatible or bump the peer protocol version)

I'm wondering if this should be part of a new API version instead? @intelliot do you know if such API bug changes should introduce a new version or can we just change directly? (edit: nevermind i don't think it needs it since it's not breaking change)

Right - I see this as a bug fix. However, if we know with certainty that there are API consumers who will be broken by this change, then it would also be ok to put it on api_version 3. But currently, I don't think that is needed.


size and line height not working

Describe the bug

hey 😉
im going to setting>appearance and behavior>atom material icon>icon settings > size and line height >
and then i change default value for size field but nothing change for me !!!
i have same problem with line height field !!!!
i use atom material with material ui plugin !!!!
i blind when see files because their have bad size and line height !!!
To Reproduce

Expected Behavior

Environment

Screenshots

my problem is solved via 90.0.0 version


Fix compiler crash when a field is used in a default argument.

This PR fixes a compiler crash when a field is used in a default argument.
This was broken as a side effect the placement of a check
introduced in #1858, and was fixed by just changing the order
of the checks so that we don't expect to be in a method body frame
if we are in a default argument frame.

Nice work @jemc.


Process for Migration

We need to discuss how we are going to work on migrating data needs to be fleshed out prior to testing the migration.

Duplicate of #72.


ESP doesn't boot when DO connected

Just received all my parts and wired it all up.
I've run into an issue where the ESP32 won't boot if DO (on the photodiode) is connected.
If I disconnect the pin it'll boot fine, I can connect to it, HA sees it - all is well minus getting no data from the sensor.
If I connect the pin after boot log output freezes with the below message:
[D][sensor:131]: 'House - Total energy': Sending state 3.85000 kWh with 3 decimals of accuracy
[D][light:038]: 'Red' Setting:
[D][light:049]:   State: OFF

I've replaced the wires from ESP to photodiode, resoldered the connections, run the ESP from a different power source and reflashed the firmware. I have no idea what else to try - I appreciate this is unlikely to be a glow specific issue but searching around hasn't helped.
Any help would be greatly appreciated!

I had the same issue. Try using some other pin, I used D3 instead of D12 and it worked.

According to my reseach, GPIO12 is a bootstraping pin and if pulled up it will prevent ESP32 from booting normally (the pin is used to set flash voltage or something). It is best to avoid it and use another pin if possible.

It worked for me when I changed from 3.3V to 5V.

Same issue using ESP32 Devkit C module, I moved D0 to GPIO13 (the other side of the GND pin from GPIO 12 on this layout) and all now works as expected.

Thanks everyone.
Turned out the photodiode shipped with the diode soldered to the board the wrong way. removing it and switching the pins around resolved the issue.
First time using ESP32 boards and I certainly was not expecting my first issue to be a hardware related mistake...


[#3111] Remove BuiltinAndAxiomSimplifierMap

Fixes part of #3111
Scope:
In https://github.com/runtimeverification/haskell-backend/issues/3111#issuecomment-1210727293, it was mentioned that user-defined evaluators do not need to be stored in a Map in Env.
Instead, we could just store the equations in a Map AxiomIdentifier [Equation var]. Later, in lookupAxiomIdentifier, we can just fetch the list of equations from the map, and run the user-defined evaluator via mkEvaluator (which in turn calls definitionEvaluation/simplificationEvaluation -> attemptEquation).
Notes:

This PR touched on a lot of tests. Mainly because, now that we're not storing BuiltinAndAxiomSimplifier in Env, it's no longer possible to "mock" evaluators by inserting arbitrary ones in Env.
Notably:

mock evaluators created with functions such as appliedMockEvaluator have been replaced with actual equations (created with mkEquation)
mock builtin evaluators created with functions like builtinEvaluation have been replaced by actually builtin evaluators like addInt (e.g. see "Simple evaluation (builtin branch)" in Test.Kore.Rewrite.Function.Integration).

In test_short_circuit, there were two tests that used a mock user-defined evaluator that always throws an error when evaluated. This is no longer possible, so those two tests were deleted.
The test "Evaluates only simplifications" in Test.Kore.Rewrite.Function.Integration checks that "simplification" equations are attempted before "definition" equations. However, the opposite is true: mkEvaluator always sets up the "definition" equations first, and the "simplification" equations as fallback. The test has been renamed to "Evaluates definitions first" and its expectation has been updated.
The test "Falls back to evaluating the definition" in Test.Kore.Rewrite.Function.Integration: same as above. It's been renamed to "Falls back to evaluating the simplification".
It no longer makes much sense to keep the mkEvaluator function in the Registry module (because the function is no longer used to set up Env - it's only used in lookupAxiomIdentifier to construct a user-defined evaluator). So I moved it to the EvaluationStrategy module instead.

TODO
There are a few TODO (diogo) throughout the codebase, but mainly:

[x] Fix these tests (Update: we've agreed to delete these tests):

[x]  "Simple evaluation (Axioms & Builtin branch, Builtin fails)" in Test.Kore.Rewrite.Function
[x] "When applying functions" in Test.Kore.Simplify.Application
[x]  "Merges substitutions with reevaluation ones" in Test.Kore.Rewrite.Function.Integration

[x] Delete BuiltinAndAxiomSimplifierMap, mkEvaluatorRegistry, Env.simplifierAxioms, askSimplifierAxioms
[x] "Registry" is probably no longer a good name for the Kore.Rewrite.Axiom.Registry module? Maybe its only remaining function mkEvaluator should be moved somewhere else.

Estimate:

Review checklist
The author performs the actions on the checklist. The reviewer evaluates the work and checks the boxes as they are completed.

[x] Summary. Write a summary of the changes. Explain what you did to fix the issue, and why you did it. Present the changes in a logical order. Instead of writing a summary in the pull request, you may push a clean Git history.
[x] Documentation. Write documentation for new functions. Update documentation for functions that changed, or complete documentation where it is missing.
[x] Tests. Write unit tests for every change. Write the unit tests that were missing before the changes. Include any examples from the reported issue as integration tests.
[x] Clean up. The changes are already clean. Clean up anything near the changes that you noticed while working. This does not mean only spatially near the changes, but logically near: any code that interacts with the changes!

I am going to merge it. We will make the last change in a follow-up PR.


Upgrade RuboCop (And other deps)

Today we have the pleasure of a RuboCop upgrade!
There were a number of changes the autoformat made, those are all included in this PR.
Also included is one change I made myself here by recommendation of the holy RuboCop.
Doesn't seem to affect any functionality, just code quality/hygiene stuff.

Looks beautiful. Thank you!


4 convert builds to gulp

:shipit: Looks like you fixed up a lot of little niggling issues like missing vars and semicolons too - wonder why we didn't get those with the linter before.

Yeah, I wondered that myself.


Adding logs by stack

Close #232
Verification
$ sudo ./swarm start
$ make
$ make test
$ ./amplifier

In another terminal:
$ ./amp stack up stack -f api/rpc/stack/test_samples/sample-04.yml
$ ./amp logs --stack stack

@bertrand-quenin @freignat91 Some log tests are failing:
=== RUN   TestShouldFilterByService
--- FAIL: TestShouldFilterByService (0.01s)
        Error Trace:    logs_test.go:120
        Error:          Should NOT be empty, but was []
        Messages:       We should have at least one entry

=== RUN   TestShouldFilterByMessage
--- FAIL: TestShouldFilterByMessage (0.01s)
        Error Trace:    logs_test.go:131
        Error:          Should NOT be empty, but was []
        Messages:       We should have at least one entry


Repository not found

Hello,
During the composer install task of my CI, an error occurs when composer tries to install zendframework/zend-stdlib : the repository is not found git://github.com/zendframework/Component_ZendStdlib.git .
Here is the console output :
[exec]   - Installing zendframework/zend-stdlib (2.3.4)
[exec]     Downloading: connection...    Failed to download zendframework/zend-stdlib from dist: The "https://api.github.com/repos/zendframework/Component_ZendStdlib/zipball/280e4ee6a8fea96b3de00a39174758b4002a7358" file could not be downloaded (HTTP/1.1 404 Not Found)
[exec]     Now trying to download from source
[exec]   - Installing zendframework/zend-stdlib (2.3.4)
[exec]     Cloning 280e4ee6a8fea96b3de00a39174758b4002a7358
[exec]
[exec]
[exec]
[exec]   [RuntimeException]
[exec]   Failed to clone git@github.com:zendframework/Component_ZendStdlib.git via git, https, ssh protocols, aborting.
[exec]   - git://github.com/zendframework/Component_ZendStdlib.git
[exec]     fatal: remote error:
[exec]       Repository not found.
[exec]   - https://github.com/zendframework/Component_ZendStdlib.git
[exec]     fatal: Authentication failed
[exec]   - git@github.com:zendframework/Component_ZendStdlib.git
[exec]     Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.
[exec]     ERROR: Repository not found.
[exec]     fatal: The remote end hung up unexpectedly

Do you know how to solve this ?
Any comments are appreciated,
thanks :smile:

Just do composer update or change the git url in the composer.lock

thanks @Maks3w :+1:


[Bug]: Manual update fails on Hetzner Arm64

Error Message and Logs
Failed to fetch https://mirror.hetzner.com/ubuntu/packages/dists/noble-updates/main/binary-arm64/Packages  404  Not Found [IP: 2a01:4ff:ff00::3:3 443]
Steps to Reproduce

Create a Hetzner ubuntu container
install Coolify
try to run curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash to update

Example Repository URL
No response
Coolify Version
v4.0.0-beta.318
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
No response
Additional Information

I tried both with and without adding a version to the upgrade command:
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash

Probably not a Coolify issue but rather an issue at Hetzner with their mirrors for packages. If you try again later it probably will work

This is not related to Coolify.


Azure Python Function Container not working on RasPi

I Create a Python Queue Trigger with the Azure Functions Core Tools using the Dockerfile option.
When I run the function on my local machine it works.
I made the container image suitable for my Raspberry Pi by changing
FROM mcr.microsoft.com/azure-functions/python:2.0
into
FROM mcr.microsoft.com/azure-functions/python:2.0-arm32v7
I also included ApplicationInsights support.
Below my files.
requirements.txt
azure-functions
applicationinsights

host.json
{
    "version": "2.0",
    "extensionBundle": {
        "id": "Microsoft.Azure.Functions.ExtensionBundle",
        "version": "[1.*, 2.0.0)"
    },
    "logging": {
        "fileLoggingMode": "always",
        "console": {
            "isEnabled": "true"
        }
    }
}

function.json
{
  "scriptFile": "__init__.py",
  "bindings": [
    {
      "name": "msg",
      "type": "queueTrigger",
      "direction": "in",
      "queueName": "commands",
      "connection": "QueueConnection"
    }
  ]
}

init.py

from applicationinsights import TelemetryClient

tc = TelemetryClient('815a32ee-5e46-483a-8f6b-ec1090525cb7')
tc.track_trace('Start bengkel/gateway:dev-arm')
tc.flush()

def main(req: func.HttpRequest, msg: func.QueueMessage) -> str:
    logging.info('Python queue trigger function processed a queue item: %s', msg.get_body().decode('utf-8'))

    tc.track_event('queue', { 'worker':'bengkel/gateway:dev-arm', 'name':'commands', 'command':get_body().decode('utf-8') })
    tc.flush()

Dockerfile
#FROM mcr.microsoft.com/azure-functions/python:2.0
FROM mcr.microsoft.com/azure-functions/python:2.0-arm32v7

ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
    AzureFunctionsJobHost__Logging__Console__IsEnabled=true

COPY . /home/site/wwwroot

RUN cd /home/site/wwwroot && \
    pip install -r requirements.txt

ENV QueueConnection="{MyBlobStrorageConnectionString}

I can  run the container on my Raspberry Pi. But the function never logs anything and does not respond to queue messages?
The console message on the Raspberry Pi
Hosting environment: Production
Content root path: /
Now listening on: http://[::]:80
Application started. Press Ctrl+C to shut down.

What am I doing wrong?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5d505ab9-d351-6650-6d0c-bb65d2daa229
Version Independent ID: 2a1d3487-a93d-2206-7ef9-a91aa275ec4e
Content: Create Azure Functions on Linux using a custom image
Content Source: articles/azure-functions/functions-create-function-linux-custom-image.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@CentricStraaten Thank you for sharing the query. We are looking into this and would get back to you soon on this thread.

@CentricStraaten Sorry for the late reply. When you ran your container, do you recall getting a failure message "The binding type(s) 'queueTrigger' are not registered. Please ensure the type is correct and the binding extension is installed." from Functions host?

@CentricStraaten After further review, it appears that the Extensions Bundles aren't made available in the python:2.0-arm32v7 image while the same configuration is working fine in other images. I'll reach out to the Functions team internally to further clarify and investigate this issue more. If you'd like to track progress, please consider opening a new issue on the azure-functions-core-tools repo and tag me in your post.
Since this channel is more for driving improvements towards MS Docs, we will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[WIP] Multiple addresses per coin

Description
Prototype branch+PR for various ideas for multi-address support, not all changes will be necessarily included. See #1788 .
Changes:

Multiple derivations can be defined for a coin, non-default is named.
A derivation includes a derivation path.
An address implementation can handle different address formats (per derivation).
StoreKey supports multiple accounts per coin, of different derivation/address.

Breaking Changes:

Method TWAccountCreate extended with a derivation parameter (method rarely used).

The following cases are used as test examples:

Bitcoin has two address formats: default segwit, and p2pk.
Solana has two derivation paths: default, and phantom wallet.

This appears in registry.json as follows:
    "derivation": [
      {
        "name": "segwit",
        "path": "m/84'/0'/0'/0/0"
      },
      {
        "name": "legacy",
        "path": "m/44'/0'/0'/0/0"
      }
    ],

    "derivation": [
      {
        "path": "m/44'/501'/0'"
      },
      {
        "name": "solana",
        "path": "m/44'/501'/0'/0'"
      }
    ],

Here is the example swift code:
    let btc1 = try wallet.getAccount(password: password, coin: .bitcoin, derivation: .default)
    XCTAssertEqual(btc1.address, "bc1qturc268v0f2srjh4r2zu4t6zk4gdutqd5a6zny")
    let btc2 = try wallet.getAccount(password: password, coin: .bitcoin, derivation: .bitcoinLegacy)
    XCTAssertEqual(btc2.address, "19fUCoUeGmHRFSgFtv4hoMYatCHcifNDEy")

    let solana1 = try wallet.getAccount(password: password, coin: .solana, derivation: .default)
    XCTAssertEqual(solana1.address, "HiipoCKL8hX2RVmJTz3vaLy34hS2zLhWWMkUWtw85TmZ")
    XCTAssertEqual(solana1.derivationPath, "m/44'/501'/0'")
    let solana2 = try wallet.getAccount(password: password, coin: .solana, derivation: .solanaSolana)
    XCTAssertEqual(solana2.address, "CgWJeEWkiYqosy1ba7a3wn9HAQuHyK48xs3LM4SSDc1C")
    XCTAssertEqual(solana2.derivationPath, "m/44'/501'/0'/0'")

Testing instructions

Types of changes

Checklist

[x] Prefix PR title with [WIP] if necessary.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] I have read the guidelines for adding a new blockchain
[x] If there is a related Issue, mention it in the description (e.g. Fixes #<issue_number> ).
[ ] Extend AnyAddress with derivation

Left some comments, and a few questions:
1. Could you please show that what will the new keystore json format will be like?

2. Do we need to migrate old keystore?

For the keystore questions:
Keystore format has supported multiple accounts even before, so no real change there.
The change is backwards compatible regarding keystore.json files.
In case of non-default derivations, an additional field like "derivation": 5 is added, but this is informational only.
The enum numerical values may change in the future, so no decisions should be made on this.
When a particular derivation+coin account is requested, the address is derived, and then the address+coin is used to select the right account (i.e., not the derivation value).
There is one exception: when account is retrieved for a coin, and there are multiple ones, we attempt to return the default.  If wallet is no available, and no address derivation is possible, only then the derivation==0 condition is used to return the default.  But this is a special case, and we may remove this extra logic.

Here is the sample generated TWDerivation.h header file:
// Copyright © 2017-2021 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
//
// This is a GENERATED FILE from \registry.json, changes made here WILL BE LOST.
//

#pragma once

#include "TWBase.h"

TW_EXTERN_C_BEGIN

/// Non-default coin address derivation names (default, unnamed derivations are not included).
TW_EXPORT_ENUM()
enum TWDerivation {
    TWDerivationDefault = 0, // default, for any coin
    TWDerivationCustom = 1, // custom, for any coin
    TWDerivationBitcoinSegwit = 2,
    TWDerivationBitcoinP2pk = 3,
    TWDerivationSolanaPhantom = 4,
};

TW_EXTERN_C_END

 💰

Needs review

Please mark ready review otherwise there is no notification @catenocrypt

Latest master merge made builds to fail, I'll check

Auto-merge of master created a compile error, fixed.

@catenocrypt I will take over this pr, need to check iOS code and make sure it works as app expects

@catenocrypt wallet core side seems ready, it needs app to adopt this change (expects only one account / address for each coin, UX wise for Solana etc), could you think of a bit how app should adopt it?

Unblock Merging

@catenocrypt have you exposed xpub for bip44 derivation?


Support Wacom pen for dragging

Hi
This post was closed as a duplicate of  #43562 but it's not the same problem. Apparently it's not a "touch" problem.
The wacom pen was working on VSCode. It stoped after the latest VSCodeUserSetup-x64-1.26.1 installation.

Now i'ts not possible to rearrange the files tabs because the pen doesn't drag them. With the mouse it's ok. The pen could drag them before the update.
I have no new extensions or installations and none of the other similar issues resolve this.
I hope this info helps.

We do not explicitly support any device besides "Mouse" and "Keyboard", so I will mark this as feature request. It could be that the Electron update (to 2.0.x) broke this.
We are building exploration builds that use a much newer version of Electron (our UI framework). I wonder if this issue reproduces with one of these builds, could you try? Download:

Windows: Download
macOS: Download
Linux: Download

Dragging a folder on the files menu, which works with the mouse, also does not work with the surface pen.

Hi bpasero
VSCode runs under chromium, I suppose.
I was having the same problem in Chrome after an update but there it wasn't possible to select text and drag some things - tabs were ok, though.
Now it's ok and the solution was to Disable "Direct Manipulation Stylus" in chrome://flags.
Maybe some cross-solution with VSCode?
Thanks

Tried the exploration build for Windows. No dice, same issues.
Pen tablet support is 100% an accessibility issue and critical.  I have chronic tendonitis, so 5 minutes with a mouse and my arm is on fire for the rest of the day.
Without drag functionality, there's no scrolling, no highlighting, no rearranging panels. The IDE is rendered nearly useless to me because of this.

I agree.
This is a major issue.
I hope it's not being neglected.
I hoped it would be a easy fix, as it was working fine and we have the exact moment it stopped working.
And I thought it would be just a before/after comparison of all the functions involving pen clicks & dragging.


Can i use your library in objcetive-c ?

My code in auto resizing and i have to use your code in objective c.
Can you please suggest me how to do that ?

The library works as expected in Objective-C. I don't know much Objective-C so can't help you, sorry


Does resetAllPuzzleStateOnPage do what's intended?

I tried implementing a Reset All button on my puzzle, calling resetAllPuzzleStateOnPage(). This didn't do anything. When I inspected the code and manually made a copy of the function replacing
document.querySelectorAll(".puzzle-grid")
with
document.querySelectorAll(".puzzle-grid-content")
, it worked as I expected. This is my first puzzleJS puzzle so I don't want to assume what the existing function does in other contexts, but I'll point this out.
https://github.com/tabascq/PuzzleJS/blob/350efadb04fbf39385fc8ca34af3bbef5febd867/puzzlejs/puzzle.js#L141

This might have been a case I missed when adding subgrid support. I will look into it, thanks!
Note that you might be wanting to use subgrids anyway, as it might result in less work overall. Check out the reference at https://tabascq.github.io/PuzzleJS/reference/reference-subgrids.html.

Fixed, thanks!


Allow for explictly setting the default version in the version pull-down

Problem statement
I want to explicitly set a default version for best user experience...even when new version is available. Especially true when major new version lands with breaking changes...until new version is tested well enough...might require a couple of patch releases before fully trusted for all users.
Strawman
allow for explict setting of default version in version dropdown, but i'm not sure how to make that work in the context of the bonsai.yml config.. because it would have to be repository scoped instead of release version scoped.else multiple versions could be asking to be default and that makes no sense.  If we wanted to implement that, it would be part of asset management UI and/or an API interaction. API interaction is great for CI/CD integration.

@jspaleta
If we did want to add this as a metadata setting in bonsai.yml, I think we could just have the highest release version that declares itself the default be the winner.   Alternately, a UI approach similar to deprecation or an asset api endpoint would work fine as well.
It seems like doing as much as we can in bonsai.yml is the preferred solution, but let me know what you think of the approach there.

Requires #153

We basically want a UI control to set a default asset version.

Under "Manage Asset", add an option to "Pin Default Release".
This should open a dialog that allows you to select an asset version as the default.
If the asset has a default release, that release should always be pre-selected in the asset drop down.
If the asset has a default release, there should be an option under "Manage Asset" to unpin the release.


CODEOWNERS: add stefano-garzarella

I know vhost-user-vsock a bit now, so I'd like to help with reviews and maintaining this workspace.

@stefano-garzarella @stsquad @vireshk The process of adding admins is not automated. Once the PR is merged, you need to add people to the repository. More details about how to do this here: https://github.com/rust-vmm/community/blob/main/MAINTAINERS.md#becoming-a-repository-maintainer.
For adding maintainers we are asking all existing maintainers to approve the PR before merging. Is there a way to disable automatic merges for these PRs so that we can still follow this policy?

@stefano-garzarella @stsquad @vireshk The process of adding admins is not automated. Once the PR is merged, you need to add people to the repository. More details about how to do this here: https://github.com/rust-vmm/community/blob/main/MAINTAINERS.md#becoming-a-repository-maintainer.

I don't have access to that interface yet for this repository. Should I be added there ? I am not sure :)

For adding maintainers we are asking all existing maintainers to approve the PR before merging. Is there a way to disable automatic merges for these PRs so that we can still follow this policy?

I already merged this time, but I get it and will make sure everyone approves it next time.

@stefano-garzarella @stsquad @vireshk The process of adding admins is not automated. Once the PR is merged, you need to add people to the repository. More details about how to do this here: https://github.com/rust-vmm/community/blob/main/MAINTAINERS.md#becoming-a-repository-maintainer.

I don't have access to that interface yet for this repository. Should I be added there ? I am not sure :)

That was a mistake. I updated your permissions to admin a couple of hours ago. Can you check again?

That was a mistake. I updated your permissions to admin a couple of hours ago. Can you check again?

Fixed now, thanks.

@andreeaflorescu thank you very much for the help!

@andreeaflorescu thank you very much for the help!

No problem!


Ports from vite.config file should be respected

Hi, thanks for the package, it worked greatly so far. I have only one issue with currently enforced port 3000.
Currently the execution script forces a static port from the project.json file. I have a special case where the port is given dynamically from the environment. Why force the port in the project.json file, if it can be set statically as well directly on vite.config.ts file?
The given snippet works fine, and respects the ports from vite.config.ts file, also keeping the default port 3000 from vite if no port is given (and trying different ones if the 3000 is taken):
const { root, configFile } = schema;

  const serverFactory = await createServer({
    root,
    configFile, //remove server config, and let vite.config.ts define it
  });

  consola.info(chalk.cyan('Nx-Vite [Start] Starting \n'));

  const devServer = await serverFactory.listen(); //remove port here

  consola.success(
    `Vite server ready at ${chalk.green(
      `${https ? 'https:' : 'http:'}//localhost:${devServer.config.server.port}` //display the port actually used by the dev server
    )}`
  );

If you agree, I can make a PR

This is indeed a mistake and thanks for your great work!


update gruntfile to not break on JS compiling while watching

Grunt JS compile errors were breaking the watch loop - this fixes that.

Merging this as it's slowing my workflow.


Some fixes for working with  and

I've been trying to use the linter on tc39/proposal-temporal. In some sections we have proposed amendments to the spec, with <ins> and <del> tags, which trip up the linter. We also have some to-do items marked with <mark> which I feel should not trip up the linter either, although that is a bit more debatable I guess; maybe <mark> should not be allowed in tc39/ecma262.
Concretely, this pull request makes the following changes:

If an algorithm line is completely surrounded with an <ins>, <del>, or <mark> tag, the tag is ignored and the line is linted as if the tag were not present.
<del> tags are ignored in header lines.

Thanks, I'll take a look.
A general comment: The linter is not currently designed for use on proposals. This is most glaring in that it enforces some whole-program consistency: e.g., every syntax-directed operation or early error is required to have a corresponding definition in the main grammar. The intention of naming the flag --lint-spec was that we could have a different flag, perhaps --lint-proposal, which could implement proposal-specific linting.

Got it, thanks. Well, anyway, even running --lint-spec on proposal-temporal has been worth it, so I'd continue doing it anyway until something really incompatible happens. Feel free to close this if these changes don't belong in --lint-spec, though.

Ping?

Sorry, backlogged on other stuff, I'll get to this when I get a chance.

Thanks for the review. I won't be able to revise this next week but will do it as soon as possible after that.

OK, this has been updated.


issue 9 fix del on soft keyboard

Hello, this fix for issue 9 (Keycode del not work on soft keyboard)
this problem was described here
https://issuetracker.google.com/issues/36964165
and here
https://stackoverflow.com/questions/14560344/android-backspace-in-webview-baseinputconnection/14561345#14561345

Hey @Lobynya, thanks for your contribution! I guess you tested the library on both types of the devices (the ones that are affected by the keyboard bug + the ones that are note) with your additions, right?

hello, his code does fix the problem, i had to create aar manually to include the library to include this fix, merge his changes please)
here is swift keyboard
https://user-images.githubusercontent.com/83700907/236399034-02206fd3-ae6a-4e2a-8d41-52dbfb511a54.mp4
here is the native
https://user-images.githubusercontent.com/83700907/236399065-62cff437-9adb-48b1-b3af-7cde9511c061.mp4

hello, his code does fix the problem, i had to create aar manually to include the library to include this fix, merge his changes please)
https://user-images.githubusercontent.com/37804517/236399479-9acc0da8-1f97-41fb-9c13-47cbfdb0cae7.mp4
https://user-images.githubusercontent.com/37804517/236399515-e9ad8d3a-c8f7-4d07-aabf-ed8db90bc916.mp4


Default to empty object for missing machineSelectorConfig

Summary
This defaults to an empty object when machineSelectorConfig is missing from the RKE2 manifest. An unhandled exception would throw if machineSelectorConfig is undefined, causing the edit form to fail on render.
Fixes #11987

Occurred changes and/or fixed issues

Use optional chaining when when attempting to access machineSelectorConfig in the agenConfig getter
Default to an empty object if the lookup fails

Areas or cases that should be tested

This can happen when creating custom RKE2 clusters

Areas which could experience regressions

Notes on how to reproduce are in the issue

Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

/backport v2.9.3 release-2.9


Add onLongPress Support for long press events

Add onLongPress
Support for long press events

@gohj99
Thank you for the pull request.
Also, sorry for the delay in responding.
Since we have released v2.0 of Zoomable with multi-platform support, we have stopped development of v1.7.
Long Press will be considered for v2.1.
However, it is likely to be implemented differently from the code in this Pull Request.
This is because the onLongPress event needs to be fired after the finger has been touched for a certain period of time, without waiting for the finger to be released.


sap.ui.table.Table: When scrolling, variable row heights don't allow all rows to be seen

OpenUI5 version: latest
Browser/version (+device/version): All common browsers, latest versions
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible): http://jsbin.com/zuzeye/6/edit?html,output
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
1.Use scrollbar to scroll all the way down through the list.
2.Note that the last 3 or so rows cannot be scrolled into view.
3.Clicking in the list and using the arrow keys does let you scroll the remaining rows, but the last one still has some issue and is quickly scrolled off again.
What is the expected result? Expected that the all rows could be made visible by dragging down the scrollbar.
What happens instead? The scrollbar doesn't allow the last rows to be displayed, possibly because of the variable row heights.
Any other information? (attach screenshot if possible)

Hello cmastandrea,
i also verified this one and created an internal ticket:<PHONE_NUMBER>
We will take a look and get back to you.
Kind Regards,
Michael

Hi cmastandrea,
unfortunately we can't provide a fix here due to how the table is designed to work, let me try to give some details:
The tables of the sap.ui.table library aim for huge amount of data (i.e. lots of rows). Since it would break the performance to have own controls for each row, the table simply reuses the controls of the rows. It's just the context which is changed by scrolling. Since there is no real scroll area, the table can just only take the length of the binding, the number of visible rows of the table and the current height of the table (influenced by the controls of the row template and their current content) and calculate a scrollbar length which gets applied. This happens in a delayedCall of 250ms - therefore it can happen in unlucky circumstances that the scrollbar length is not set correctly. However, when the row height remains stable, this delayedCall gives a real performance boost. Maybe you've noticed that the table never clips a row, it always shows the complete control - this exactly due to the concept of reusing controls.
I understand that you dislike the current behavior of changing table height, scrollbar length and sometimes not reaching the last row of the table (caused by different row heights). Hence I'd propose to use the sap.m.Table for variable row heights. The sap.m.Table could be placed inside a scroll container with a fixed height. However, the sap.m.Table is not meant for mass-data since it would render the complete data as a table. You can reduce the margins of the controls inside the sap.m.Table by setting the style class sapUiSizeCompact to make the m.Table better fit on desktops.
Best regards
Sebastian

Hi cmastandrea,
As this issue has been idle for some time and seems to be fixed I close it for now.
Please feel free to reopen if you want to follow-up.
Thanks, Thilo

Thilo - Has this issue been fixed in a not-yet-released version of OpenUI? The sample app I provided still behaves incorrectly and it's using the latest release from https://openui5.hana.ondemand.com/resources.
It sounded like from Sebastian comments that this would not be fixed at all. I think that's very unfortunate because there is no table alternative for showing large amounts of data, so all users would have to accept this behavior. This is essentially a data integrity issue since some rows are excluded from the display, leading them to reach inaccurate conclusions about the data they are viewing.
It seems to me that a fix for this problem is achievable without having to redesign the way the table works or affect its current performance. At a minimum, overestimating the extent of the scrollbar when variable row heights are in play is much better than underestimating and not showing all rows.

This is three years later and I still have the issue with the scrollbar not scrolling to the last row (whenever there are wrappings). Using 1.52.16.

Also true with SAPUI5 Version 1.60.1 is there any chance this will be fixed? Otherwise this table should be marked as obsolete. This is not usable. Or is there any solution to adapt the scrollbar to the table somehow?

@sfdfklskldf

Or is there any solution to adapt the scrollbar to the table somehow?

See the footnote in https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e.html for supported controls and the required settings.


⚠ Bofrost.lu has degraded performance

In 61c36ab, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1353 ms

Resolved: Bofrost.lu performance has improved in 62f11e3 after 1 hour, 4 minutes.


Add etcd proxy support

Add etcd-proxy node group
Make apiserver etcd_servers to point to the proxies/access_ip, if any
Fix etcd_client_url was not used anywhere and other etcd_* facts
evaluation was duplicated in a few places.
Define proxy modes only in the etcd env file and del the automatic
proxy mode decisions in init scripts.

Related https://github.com/kubespray/kargo/issues/26
Signed-off-by: Bogdan Dobrelya<EMAIL_ADDRESS>

this is a WIP patch for the HA/LB endpoints for K8s, specifically I decided to start from the etcd cluster and its proxy modes. There is a major confusion with access_ip (default is not set) so I'm not sure how etcd-proxy role and access_ip shall co-exist.

It kinda works for me with debian jessie VM hosts and etcd_deployment_type: docker.
etcdctl --endpoints "http://localhost:2379" --debug member list
shows all members ok for any host I run it on. But there is an intermittent issue with one of etcd containers (it deploys one for etcd member and one for etcd-proxy) may eat all CPU turning node completely unresponsive. Only a magic reboot helps to  heal :) I have no idea why it happens, and can yet read etcd logs fluently to trace that down...

To verify the etcd cluster via deployed proxies, use on each etcd-proxy node:
etcdctl --endpoints "http://localhost:2379" --debug member list

back to WIP as proxies doesn't work with host based deploys

still no luck with colocating etcd & etcd-proxy at same nodes, wip

works for me now

Should be fixed with an empty etcd-proxy groups

Can you remove WIP so we can merge this?

+1

Reworking Requires=/After= to Wants/After=


Bump rc 2.8.0 and pre-release v2.8.0rc1

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] ~Bumped the build number (if the version is unchanged)~
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

great! But can we do it this way: this PR updates only the dependencies in the rc channel/branch and not the version to 2.8.0rc1, and sha, and in a separate PR we do the rc version update - it looks a bit messy history-wise and I am thinking we should keep things clean, especially if we pass this over to @remi-kazeroni afterwards, we'd like him to have less issues with this :grin:

Hm. I am not sure I follow. The updating of the dependencies is only due to the updated version, right? To me, it doesn't make sense to separate this out.

Well, not quite, most of the commits are from updating to 2.7.0 - I reckon it'd be cleaner wrt GH history if we did first a 'refresh' then a version update. Let's talk at 12 today - @bouweandela you wanna join our quick Zoom call at 12 GMT, buds?

this is not looking right - and the solver is failing looking for a 3.11 ABI https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=669438&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=e5c8ab1d-8ff9-5cae-b332-e15ae582ed2d&l=217 - is it not , <3.11 the correct syntax?

@conda-forge-admin, please rerender

Well, not quite, most of the commits are from updating to 2.7.0 - I reckon it'd be cleaner wrt GH history if we did first a 'refresh' then a version update. Let's talk at 12 today - @bouweandela you wanna join our quick Zoom call at 12 GMT, buds?

@zklaus @remi-kazeroni and myself, we talked about this and decided to go this way so we don't rebuild an older 2.7.0rcX with the new changes from main :+1:

@conda-forge-admin, please restart ci


[SPARK-35811][PYTHON] Deprecate DataFrame.to_spark_io

What changes were proposed in this pull request?

Deprecate the DataFrame.to_spark_io
Why are the changes needed?

We should deprecate the DataFrame.to_spark_io since it's duplicated with DataFrame.spark.to_spark_io, and it's not existed in pandas.
Does this PR introduce any user-facing change?

Yes, users will get warning while using DataFrame.to_spark_io api.
How was this patch tested?

Pass the CIs

Can one of the admins verify this patch?

ok to test

Test build #140007 has started for PR 32964 at commit 6d3d9ef.

Test build #140007 has finished for PR 32964 at commit 6d3d9ef.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140007/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44533/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44533/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44533/

Test build #140015 has started for PR 32964 at commit 03e4342.

Test build #140015 has finished for PR 32964 at commit 03e4342.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44541/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140015/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44541/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44541/

Can one of the admins verify this patch?

Test build #140036 has started for PR 32964 at commit 7b6cda6.

Test build #140036 has finished for PR 32964 at commit 7b6cda6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44563/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140036/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44563/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44563/

Merged to master.
Thanks @pingsutw


Simplify return type of Object.fromEntries

Returning a mapped type over PropertyKey is accurate but not usable.
{ [k in Property]: T } produces two index signatures: { [k: string]: T, [k: number]: T }, but that's not what people expect.
This PR simplifies the return type to just { [k: string]: T }; it still allows the input key type to be PropertyKey.
Symbols are still dropped on the floor, just like the rest of the compiler.
An alternative fix would be to infer a type variable from the key type as well:
declare function fromEntries<K extends PropertyKey, T>(entries: Iterable<readonly [K, T]>): { [k in K]: T };

But all this really does is let you make arraylikes from fromEntries, and I don't think anybody is asking for that.
Fixes #31393

@rbuckton @weswigham I'd like to get this into 3.9, so can you review it today or tomorrow please?

@typescript-bot user test this
@typescript-bot run dt

Users tests are clean; not much surprise there.

Definitely Typed is also clean.

I personally like to do what @weswigham suggested - a simple implementation of mapping object values that I've used before is as follows:
function mapValues<T, V>(obj: T, mapFn: (v: T[keyof T]) => V): {[Obj: keyof Obj]: V} {
  return Object.fromEntries(Object.entries(obj).map(([k, v]) => [k, mapFn(v)]));
}

But without a type suggestion this doesn't work without the fuller typings. It's not a big deal to add a type suggestion but I wouldn't say it's useless.

Several times I wanted to convert a [number, string] into a Record<number, string>, but Object.fromEntries converts it to Record<string, string>.
Would it be possible to change the type to:
declare function fromEntries<K extends PropertyKey, T>(entries: Iterable<readonly [K, T]>): { [k in K]: T };

?


ON-4988 # Added tenant support, updated flow, added tests

There are flow errors, I would suggest reverting back to the flow version we were using before.

There are flow errors, I would suggest reverting back to the flow version we were using before.

Ah, of course

Not sure what this is about. All of the tests failing failed on master too.


not working when /intl-es/ is inside the url

Context: using spotify app or web from Buenos Aires / Argentina.
Browser locale: es  // spanish
The url copied from Spotify contains an additional segment : /intl-es/ before the track info.
https://open.spotify.com/intl-es/track/5pcG9pIhfDfCoPCeChSuSu?si=b4a2284e5c814e78
This make the component to not work.
Removing manualy  /intl-es/ works again.
I wil try to make a push fix when i have a chance.
I am solving it in my code by removing it with a regular expression.
 url.pathname = url.pathname.replace(/\/intl-\w+\//, "/");
Great work !!

Same here. Currently workarounding this by removing that string from the url before passing it to the component.


No results

I am new to geoSPARQL, so bare with me. I tried loading the test dataset and successfully ran the tests.
ASK {
  <urn:test:geosparql:bern:geometry> geo:sfWithin <urn:test:geosparql:france:geometry> .
}

Returns false which is correct
ASK {
  <urn:test:geosparql:strasbourg:geometry> geo:sfWithin <urn:test:geosparql:france:geometry> .
}

Returns true which is correct
However, the following query doesn't return any results. I would imagine that I can use geoSPARQL queries to list all entities within a region, close to a point etc? If I can only use it with ASK queries I don't see much use..
SELECT * WHERE {
  ?s geo:sfWithin <urn:test:geosparql:france:geometry> .
}

I also expected to get a result on the following query which I don't:
ASK {
  <urn:test:geosparql:bern:geometry> geof:nearby (46.9 7.4 100 unit:kilometer)
}

So what is supported and what is not? :)

Just a quick update. I learned that typings of the literals are essential.
Works:
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>

SELECT ?point
WHERE {
  BIND("POLYGON ((-64.8 32.3, -65.5 18.3, -80.3 25.2, -64.8 32.3))"^^geo:wktLiteral AS ?polygon)
  VALUES ?point { "POINT (-70.268555 25.522615)"^^geo:wktLiteral "POINT (-60.996094 24.846565)"^^geo:wktLiteral }
  FILTER(geof:sfWithin(?point, ?polygon))
}

Doesn't work:
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>

SELECT ?point
WHERE {
  BIND("POLYGON ((-64.8 32.3, -65.5 18.3, -80.3 25.2, -64.8 32.3))" AS ?polygon)
  VALUES ?point { "POINT (-70.268555 25.522615)"^^geo:wktLiteral "POINT (-60.996094 24.846565)"^^geo:wktLiteral }
  FILTER(geof:sfWithin(?point, ?polygon))
}

@MadsHolten Sorry for the late answer, I was away this week.
Great that you found how to get it working and documented it here!
So in case others are having the same issue as you, they can see how to get it working :)
I will close this issue, as you were able to have it working.


TDI-38588:tAzureStorageList only can list one blob

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
https://jira.talendforge.org/browse/TDI-38588
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:


How to include file path?

@koltyakov, Thank you very much for your contribution to the plugin. I am testing the plugin to ingest data into Elasticsearch.
I wanted to include file path. Can you guide me on it?
lists:
    Shared Documents:
        select:
            - FileLeafRef
            - FileRef
            - FileDirRef
            - Author/Title
            - File/Length

Shared Documents File Details (SharePoint)

Elasticsearch Details

Hi @rajaseg,
Thanks for trying the plugin. It's so important to collect feedback on this early stages.
Technically, Fileref is the path to the file, relative to the document library.
Please try this as well:
lists:
    Shared Documents:
        select:
            - EncodedAbsUrl # Absolute URL
            - File/ServerRelativeUrl # SharePoint host relative URL
        expand:
            - File

Hi @rajaseg,
Thanks for trying the plugin. It's so important to collect feedback on this early stages.
Technically, Fileref is the path to the file, relative to the document library.
Please try this as well:
lists:
    Shared Documents:
        select:
            - EncodedAbsUrl # Absolute URL
            - File/ServerRelativeUrl # SharePoint host relative URL
        expand:
            - File

@koltyakov, Thank you very much. I have just tried the above options. It worked without any issue.

Both the fields FileRef and File/ServerRelativeUrl are retrieving the same info. I think one should be enough.
Once again thank you very much for the help.

Wonderful!


Timeout when using xSCOMManagementServerSetup

After 60 seconds the installation times out. This leads to multiple scheduled tasks trying to install the Management Server. The resource should block until the scheduled task is not running anymore.

I am facing the same issue, it wount wait for setup to complete and would fail stating can not wait to start setup.exe.
I have been trying different ways to avoid this but wount not go beyond this.

Hi @ashishrajcyg Thanks for the feedback, there is a fix coming for this issue which I hope to be able to share within the next couple of weeks

@ld0614 Labeling this as help wanted again. If you get a PR in, then relabel this again. :)


Certificate and hostname verification

Certificate and hostname verification should be enabled by default.

Certificate verification (should) be enabled right now. Hostname verification is enabled with SChannel and Secure Transport since they handle it automatically, but not with OpenSSL since it doesn't. I'm working on writing a manual implementation for OpenSSL right now, and am currently working through some features on the rust-openssl side to enable access to subject alt names.

This is now implemented for OpenSSL: https://github.com/sfackler/rust-native-tls/commit/b04c843fce86711d1a1d4af2913e46b68e44f360
It's not well tested, but that'll have to wait until trusted CAs can be specified.


Belarus countrywide

A conform to import the source for Belarus discussed in https://github.com/openaddresses/openaddresses/issues/3404.
@thatdatabaseguy, could you please check the preferred format for addresses. Specifically, whether we should have "korpus" as part of the house number or as a unit.
Some fields in the input csv were obviously created as numeric, might need a regex on them to remove decimals and replace zeroes with nulls.

It covers Minsk! Thanks @sergiyprotsiv
Format looks fine. Both fields being floats/decimals in the source means either some preprocessing or some postprocessing - I'm fine with the latter. Since there's no other unit field, it should be OK to stick the building field under unit.

Looks like nearly 100% coverage!
On Tue, Sep 26, 2017 at 2:17 PM, Al Barrentine<EMAIL_ADDRESS>wrote:

It covers Minsk! Thanks @sergiyprotsiv https://github.com/sergiyprotsiv
Format looks fine. Both fields being floats/decimals in the source means
either some preprocessing or some postprocessing - I'm fine with the
latter. Since there's no other unit field, it should be OK to stick the
building field under unit.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/pull/3409#issuecomment-332338855,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0EO3MYxUQOwWjPYoRQLuZDx6_I0CDKks5smWnNgaJpZM4Pkxxe
.

Thanks to @justinelliotmeyers ! The only issue is that we now have houses like 1.00000000000Б, i.e. the letter is appended to the string representing the floating point number. Is there any simple way to deal with it in the conform? Otherwise I'll just reprocess the input csv to remove the floats.

I added a pull request https://github.com/openaddresses/machine/pull/670 for stripping multiple trailing zeroes, but for some reason my PRs to machine are not triggering a build.
@sergiyprotsiv might want to preprocess it for the moment if it's not too much trouble.


Unable to build libxml2 in latest macos

Unable to build libxml2
Repro: nix-env -i libxml2
make[4]: Entering directory '/private/var/folders/7g/1ptqqd597r76dqzk7hjy0bgc0000gn/T/nix-build-libxml2-2.9.10.drv-0/libxml2-2.9.10/python'
CC       libxml.lo
CC       libxml2-py.lo
CC       types.lo
libxml.c:1649:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
message = libxml_charPtrConstWrap(ptr);
^~~
./libxml_wrap.h:240:48: note: passing argument to parameter 'str' here
PyObject * libxml_charPtrConstWrap(const char *str);
^
1 warning generated.
CCLD     libxml2mod.la
ld: library not found for -lintl
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [Makefile:600: libxml2mod.la] Error 1
make[4]: Leaving directory '/private/var/folders/7g/1ptqqd597r76dqzk7hjy0bgc0000gn/T/nix-build-libxml2-2.9.10.drv-0/libxml2-2.9.10/python'
make[3]: *** [Makefile:694: all-recursive] Error 1
make[3]: Leaving directory '/private/var/folders/7g/1ptqqd597r76dqzk7hjy0bgc0000gn/T/nix-build-libxml2-2.9.10.drv-0/libxml2-2.9.10/python'
make[2]: *** [Makefile:528: all] Error 2
make[2]: Leaving directory '/private/var/folders/7g/1ptqqd597r76dqzk7hjy0bgc0000gn/T/nix-build-libxml2-2.9.10.drv-0/libxml2-2.9.10/python'
make[1]: *** [Makefile:1479: all-recursive] Error 1
make[1]: Leaving directory '/private/var/folders/7g/1ptqqd597r76dqzk7hjy0bgc0000gn/T/nix-build-libxml2-2.9.10.drv-0/libxml2-2.9.10'
make: *** [Makefile:893: all] Error 2
builder for '/nix/store/xcqdl8cfjjbjvh7g9ka0ip3r4awy80a8-libxml2-2.9.10.drv' failed with exit code 2
error: build of '/nix/store/xcqdl8cfjjbjvh7g9ka0ip3r4awy80a8-libxml2-2.9.10.drv' failed
Metadata

system: "x86_64-darwin"
host os: Darwin 19.5.0, macOS 10.15.5
multi-user?: no
sandbox: no
version: nix-env (Nix) 2.3.6
channels(swarnpriya): "nixpkgs-20.09pre230446.a84cbb60f02"
nixpkgs: /Users/swarnpriya/.nix-defexpr/channels/nixpkgs

Disclaimer: I barely know what I'm doing.
I tried adding lintl as a build input to libxml2.
diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix
index 7c39d803906..fb139e96fa4 100644
--- a/pkgs/development/libraries/libxml2/default.nix
+++ b/pkgs/development/libraries/libxml2/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchurl, fetchpatch
+{ stdenv, lib, fetchurl, fetchpatch, libintl
 , zlib, xz, python, ncurses, findXMLCatalogs
 , pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
 , icuSupport ? false, icu ? null
@@ -45,6 +45,7 @@ stdenv.mkDerivation rec {

   buildInputs = lib.optional pythonSupport python
     ++ lib.optional (pythonSupport && python?isPy3 && python.isPy3) ncurses
+    ++ [ libintl ]
     # Libxml2 has an optional dependency on liblzma.  However, on impure
     # platforms, it may end up using that from /usr/lib, and thus lack a
     # RUNPATH for that, leading to undefined references for its users.
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 4d88c63bcfb..b862b1b78eb 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -13673,6 +13673,7 @@ in

   libxml2 = callPackage ../development/libraries/libxml2 {
     python = python3;
+    libintl = libintl;
   };

   libxml2Python = let

That got this error:
output '/nix/store/7czx189wk20ss9yd1dw62s51r16fq83c-bootstrap-stage2-stdenv-darwin' is not allowed to refer to the following paths:
  /nix/store/f73jl5d5x4csv6n5p19643d35xly9hgm-gettext-0.20.1
  /nix/store/yqqpnmzvfmki829n705yw7b2x2vh3fyv-libiconv-osx-10.12.6

I've been getting this as well, since 2cd2e7267e5b9a960c2997756cb30e86f0958a6b.
@lnl7 Any clue? I think this sort of thing has happened before, but I don't recall the details.

I thought somebody else already fixed this after some discussion no irc. My proposal was essentially the patch above but guarded for python2 only.


AttributeError: module 'select' has no attribute 'epoll'.

``Hey, i'm not able to run chainlit on my computer.
I just grab the demo code:
import chainlit as cl

@cl.on_message  # this function will be called every time a user inputs a message in the UI
def main(message: str):
    # this is an intermediate step
    cl.Message(author="Tool 1", content=f"Response from tool1", indent=1).send()

    # send back the final answer
    cl.Message(content=f"This is the final answer").send()

And run:
❯ chainlit run demo.py -w
2023-06-02 14:48:47 - Created default config file at /home/pedro/dev/freela/ai-langchain-chatgpt-bot/.chainlit/config.toml
Traceback (most recent call last):
  File "/home/pedro/.local/bin/chainlit", line 5, in <module>
    from chainlit.cli import cli
  File "/home/pedro/.local/lib/python3.10/site-packages/chainlit/__init__.py", line 8, in <module>
    monkey.patch()
  File "/home/pedro/.local/lib/python3.10/site-packages/chainlit/lc/monkey.py", line 9, in patch
    import langchain
  File "/home/pedro/.local/lib/python3.10/site-packages/langchain/__init__.py", line 6, in <module>
    from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
  File "/home/pedro/.local/lib/python3.10/site-packages/langchain/agents/__init__.py", line 2, in <module>
    from langchain.agents.agent import (
  File "/home/pedro/.local/lib/python3.10/site-packages/langchain/agents/agent.py", line 15, in <module>
    from langchain.agents.tools import InvalidTool
  File "/home/pedro/.local/lib/python3.10/site-packages/langchain/agents/tools.py", line 8, in <module>
    from langchain.tools.base import BaseTool, Tool, tool
  File "/home/pedro/.local/lib/python3.10/site-packages/langchain/tools/__init__.py", line 27, in <module>
    from langchain.tools.playwright import (
  File "/home/pedro/.local/lib/python3.10/site-packages/langchain/tools/playwright/__init__.py", line 3, in <module>
    from langchain.tools.playwright.click import ClickTool
  File "/home/pedro/.local/lib/python3.10/site-packages/langchain/tools/playwright/click.py", line 11, in <module>
    from langchain.tools.playwright.base import BaseBrowserTool
  File "/home/pedro/.local/lib/python3.10/site-packages/langchain/tools/playwright/base.py", line 15, in <module>
    from playwright.async_api import Browser as AsyncBrowser
  File "/home/pedro/.local/lib/python3.10/site-packages/playwright/async_api/__init__.py", line 25, in <module>
    import playwright.async_api._generated
  File "/home/pedro/.local/lib/python3.10/site-packages/playwright/async_api/_generated.py", line 25, in <module>
    from playwright._impl._accessibility import Accessibility as AccessibilityImpl
  File "/home/pedro/.local/lib/python3.10/site-packages/playwright/_impl/_accessibility.py", line 17, in <module>
    from playwright._impl._connection import Channel
  File "/home/pedro/.local/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 35, in <module>
    from pyee import EventEmitter
  File "/home/pedro/.local/lib/python3.10/site-packages/pyee/__init__.py", line 73, in <module>
    from pyee._trio import TrioEventEmitter  # noqa
  File "/home/pedro/.local/lib/python3.10/site-packages/pyee/_trio.py", line 4, in <module>
    import trio
  File "/home/pedro/.local/lib/python3.10/site-packages/trio/__init__.py", line 18, in <module>
    from ._core import (
  File "/home/pedro/.local/lib/python3.10/site-packages/trio/_core/__init__.py", line 27, in <module>
    from ._run import (
  File "/home/pedro/.local/lib/python3.10/site-packages/trio/_core/_run.py", line 2452, in <module>
    from ._io_epoll import EpollIOManager as TheIOManager
  File "/home/pedro/.local/lib/python3.10/site-packages/trio/_core/_io_epoll.py", line 188, in <module>
    class EpollIOManager:
  File "/home/pedro/.local/lib/python3.10/site-packages/trio/_core/_io_epoll.py", line 189, in EpollIOManager
    _epoll = attr.ib(factory=select.epoll)
AttributeError: module 'select' has no attribute 'epoll'. Did you mean: 'poll'?

I'm missing something here?

Hello, someone had a similar issue and fixed it by setting a new env (https://discord.com/channels/1088038867602526210/1113461363197608047/1114256583317270600).
What python version os and terminal do you use?

Update the packages or try Virtual environment


Add go to page navigation to channel pagination options

This would close #711.
The component used for pagination (react-navigate) doesn't offer customisation options, so a separate control for choosing the target page is needed. The implementation is such that the user would enter a page number and presses the enter key.

Please feel free to reach out on discord if you have any questions!

I updated the PR. I agree that the suggested solution is definitely better.
I also fixed some unrelated issues in the same file that prevented committing, because of the new rules introduced after the initial PR.
The new version looks like this:

@miikkatu Awesome! Looking a lot better. Could you just change the paginate-channel id to a class?

That id is now a class, done!

Sweet! I'll merge once the tests pass. @tzarebczan Will reach out with LBC payment


Plugin is not working with latest Clappr version

cc @vix-simplex

@vix-simplex I saw your Clappr setup (https://gist.github.com/vix-simplex/42e0bbbdb4dc783064b5201488f3b2d6) and noticed you're missing a swfPath in rtmpConfig, like this:
var player = new Clappr.Player({
    source: "rtmp://source_here",
    parentId: "#player-wrapper",
    plugins: {'playback': [RTMP]},
    rtmpConfig: {
        swfPath: 'dist/assets/RTMP.swf',
        playbackType: 'live' // or 'vod'
    },
});

btw, it's working fine with the latest Clappr version (0.2.61).

This not helped.
How I understand, if swfPath don't set, then swfPath by default is cdn.jsdelivr.net/clappr.rtmp/latest/assets/RTMP.swf.
It is written here: https://github.com/flavioribeiro/clappr-rtmp-plugin#configuration
And I'm found reference on "cdn.jsdelivr.net/clappr.rtmp/latest/assets/RTMP.swf" here: https://github.com/flavioribeiro/clappr-rtmp-plugin/blob/master/dist/rtmp.js#L66
I'm added new gist, in which swfPath not setted, but RTMP-stream playing. New gist has only a different versions of clappr, everything else still.
New gist: https://gist.github.com/vix-simplex/79c2e15f18b3c7b769076d55ea086602
I'm trying paste source "" for my player, but it now working for me.
Give me advice please how I may run 0.2.61 correct.

@vix-simplex The CDN has an old version of the RTMP.swf file. This is why it's not working. I tested localy with clappr 0.2.61 and it's working just fine with your source url.
@flavioribeiro AFAIK this JsDelivr should update the CDN automatically (every time a new release is drafted). Or do you have to update manually?

It look slike jsdelivr has stopped automatically syncing. When it works it does sync everything but if filenames change the guys over at jsdelivr have to manually review it from my understanding
https://github.com/jsdelivr/jsdelivr/tree/master/files/clappr.rtmp
https://github.com/jsdelivr/jsdelivr/pulls?q=clappr-rtmp-plugin

It looks like in the update.json and info.ini files over there it's pointing at the wrong repo. It's set to "clappr/clappr-rtmp-plugin" not "flavioribeiro/clappr-rtmp-plugin"

@tjenkinson very well noticed! Until version 0.0.12 of this plugin, the repo was in the clappr organization profile. I'll send a PR to update those files. Thanks!

Couldn't get it to work...
My code:
`

`
Downloaded the RTMP.swf from this repo, as well as rtmp.min.js
Did i make any mistake?

Couldn't get it to work...
My code:
`

`
Did i make any mistake?
Downloaded the .swf and rtmp.min.js from this repo just now


Regulator behavior after short circuit

To reproduce this issue, do this:

glasgow voltage A 5.0
Short Vio to GND. Do this in a way that doesn't bounce as bounce will hide the issue.
The board stays powered down--the 3V3 rail is dark because of brownout detection. However a considerable current is flowing through the regulator.
Note that regulator EN pin is actually low.

Okay, so the problem here is this.
We have two current limits: the one inherent to the TPS73101DBV and the upstream TPD3S014. The problem is that the latter trips faster and harder, and that the former has a memory characteristic.

When Vio is shorted hard to GND, current begins flowing through both devices. The TPD3S014 detects this overload earlier, and starts limiting current. This stabilizes with the TPD3S014 dropping about 4.5V and the TPS73101DBV dropping less than 0.4V or thereabouts.
At this point, the internal 5V rail is at 0.4V. This is not enough to power any logic, so the TPS73101DBV no longer functions.
The 3.3V rail is also going low, and with it EN, but by this point the TPS73101DBV cannot respond to this low-EN condition and properly shut down; instead, the gate of its pass transistor remains charged and passing current, as it has no discharge resistor or other passive path from gate to GND when not powered properly.
With the TPD3S014 dropping most of the voltage, it gets very hot; this causes it to go into thermal shutdown quickly.
At this point the internal 5V rail drops to 0. However, the pass gate of the TPS73101DBV remains charged.
After the thermal trip in the TPD3S014 resets a few milliseconds later, the TPS73101DBV begins passing current again since its gate is still charged. This causes another thermal trip, and the system oscillates through thermal trips and never recovers.

If the device is unplugged and plugged back in, the lockup persists: the pass transistor gate of the TPS73101DBV seems to easily stay charged for over a minute while completely unpowered. Removing and reinstating the fault while unpowered has no effect; on next power-up the board still locks up. To clear the condition, the board must be powered with no fault present (or the fault removed while powered).
Solutions being investigated:

Use a regulator other than TPS73101DBV, which does not have the gate discharge problem.
Replace the TPD3S014 with TPD3S044, which has a higher current limit and may allow enough voltage to remain on the 5V rail through a fault condition for the TPS73101DBV to cleanly shut itself down.
Introduce a protection resistor in series with the TPD3S044 output. This can be before the feedback divider, so it would introduce dropout voltage, but not bad regulation. A Vio fault with a 1Ω resistance does not cause this problem; instead the TPS73101DBV drops most of the voltage and goes into thermal and current limiting, which is what we expect.

255e8c5 implements solution #3. Waiting for parts to arrive to qualify it and determine final resistor value, and also test #2.

Not sure if it has suitable specs for your purposes but I've had good experiences with the 3V3, PDIP version of the TPS71xx, which is also available as SO and TSSOP and with different fixed voltages or adjustable.

SO and TSSOP are far too large.

Okay, so the problem wasn't the TPD3S014 per se, at least not initially. The initial transient response where we lose 5V entirely is just due to lack of bulk capacitance on that rail (and things like impedance of the USB cable and transient response of whatever is upstream). After that, indeed the TPD3S014 current limit triggers ahead of the downstream regulator and we never recover.
Putting 220µF of capacitance on the internal 5V rail (after the TPD3S014) solves the problem entirely, with the 5V rail dropping briefly (below the brownout threshold, but not for long enough for the LM3880 to trigger a reset/shutdown sequence, and not low enough to brown out the 3V3 rail). This avoids a reset entirely, with the unit remaining active and functional through the event; the TPS73101DBV goes into current limiting and gets hot and that's it (this is the same thing that already happened if the output was enabled into a dead short; in that case the TPS73101DBV ramping up correctly ended up triggering the current limit without any upstream effects).
So we're going to go with several mitigations:

Drop the EN pulldowns to 10K. This may or may not help anything, but it can't hurt and I feel that might help recovery over 100K.
Put 0.68Ω in series with the regulator output, before the feedback divider. In my testing, this allows revC0 to recover from a Vio crowbar fault immediately; 5V rises high enough for the regulator to shut itself down. 0.68Ω at 300mA is 0.2V of dropout (this only matters when the output is set to 5V, as lower settings will still regulate properly).

This resistance will be on the back of the board next to an empty footprint; users concerned about dropout at the 5V IO setting can either use a USB host that provides a slightly higher voltage (>5.2V under load will allow correct regulation at a 5V output setting when the load is high) or short out the resistor / install a 0 ohm resistor next to it.
Add 150µF (tentative value, needs more testing; 220µF is sufficient with no series resistance, 150µF is sufficient with 0.68Ω resistance) across the internal 5V rail, after the TPD3S014. This solves the actual problem of a load transient browning out everything before the current limit kicks in.

(2) solves the steady-state problem (it lets Glasgow recover from a bad state where the TPD3S014 has gone into limiting mode and the output regulator is enabled), while (3) avoids getting into that state in the first place.
I don't think we need to switch to the TPD3S044 necessarily, but it would be an option if we want to allow higher current consumption, and it ought to allow us to use smaller protection resistors while still being able to get out of a lockup state.
Thoughts?

Looks like 100µF is enough; this droops the 3V3 rail down to 3.1V, but that should be acceptable for a glitch. Performance might be better with the production parts.

I was able to shoehorn a 5mm SMT electrolytic into the layout:

Turns out the TPD3S014 said 120µF was required for USB applications all along, derp. Bumped it to 150µF (which is about the highest we can get in that footprint), that should give us plenty of margin.

I'm revisiting this issue as #165 will re-use the dropper resistor of point (2) above
as measurement shunt.
I've tested a stock revC1 with 0.68Ω and 150µF cap. Due to the capacitor,
there is no more brownout on the internal 5V when shorting one port rail.
But when shorting both ports (set to 5V) at once, there is still a brownout.
In stock revC1 this results in a shutdown of the FX2 and ICE40, recovery
after about 3 ms and properly disabled Vio.
I shorted the 0.68Ω resistor and created a short on both rails at once
using two AO3400A MOSFETs, controlled by a function generator.

Yellow: internal 5V rail
Magenta: Vio on Port A
Blue: Current flowing through Vio on Port A
So without the 0.68Ω resistor we now don't get the original issue, but
an oscillation at about 9 MHz over the time of a few milliseconds. This
shows that a resistor is definitely needed. The changed behavior could
have to do with the different test setup, like shorting both ports or
interaction of the LDO with the wire inductance of the test harness.
Next was a test with 0.22Ω, which shows a clear improvement, but still
not perfect behavior:

Increasing to 0.33Ω fixed these issues:

For implementing #165, it is planned to use a 0.47Ω resistor to give the
INA233 the wanted measurement range. 0.47Ω should give enough headroom
for process variation, different usb hosts and varying overload conditions, so that
the LDO stays stable under overload conditions.

Yikes, that oscillation. Worth noting that I never measured the Vio rail in the scope, just the internal 5V rail.
0.47Ω sounds reasonable; I forget how I came up with 0.68Ω, but I think I was leaving some margin (and also going with whatever values I had lying around to test with). Keep in mind that this was with a (probably higher ESR / lower perf) through hole cap tacked on. If 0.47Ω works then we can go with that and lower the dropout voltage.
That said, since the shunt is now a measurement device, we should consider a settings area to store the actual shunt value / calibration data somewhere in flash. This would allow for calibration, but also changing the value if, for example, a different manufacturing variant run (otherwise identially compatible with software) with different capacitors ends up requiring a higher value to avoid this issue.

we should consider a settings area to store the actual shunt value / calibration data somewhere in flash.

Reasonable, and in fact we can add this at any point when we need it in a backwards-compatible way (since I thought of this when designing the configuration area in the EEPROM). So there's no rush.


Request Information for VDI Assessments in Azure Migrate

I have already conducted VDI assessments with Lakeside, which is a great tool that provides data back to Azure Migrate. However, from recent conversations with Lakeside, I have learned that they will no longer offer integration with Azure Migrate in the future.
As a partner, we are wondering if there is a new official Microsoft partner for VDI assessments in Azure Migrate. It would be greatly appreciated if you could provide us with any information on this matter.
Thank you for your help.
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 571a2f4c-8b9b-cfa9-c22b-0b8e32ce9b0e
Version Independent ID: 7916c2d2-7263-2c33-6897-0a8f9ba508f4
Content: Assess Azure Virtual Desktop - Cloud Adoption Framework
Content Source: docs/scenarios/wvd/migrate-assess.md
Service: cloud-adoption-framework
Sub-service: scenario
GitHub Login: @martinekuan
Microsoft Alias: martinek

#please-close


System.MissingMethodException .net7 when publishing with single file

I publish my application to .net7 with SingleFile enabled and when I run it I get the following error:
Not compatible with .net7 yet?
I have tested it with versions 2.6.0, 2.5.6 and 2.5.3.
Thank you.
NPOI.POIXMLException
---> System.MissingMethodException: Attempted to access a missing method.
at NPOI.XSSF.UserModel.XSSFFactory.CreateDocumentPart(Type, Type[], Object[])
at NPOI.POIXMLFactory.CreateDocumentPart(POIXMLDocumentPart, PackagePart)
--- End of inner exception stack trace ---
at NPOI.POIXMLFactory.CreateDocumentPart(POIXMLDocumentPart, PackagePart)
at NPOI.POIXMLDocumentPart.Read(POIXMLFactory, Dictionary`2)
at NPOI.POIXMLDocument.Load(POIXMLFactory)
at NPOI.XSSF.UserModel.XSSFWorkbook..ctor(Stream)

Looks it's not just NPOI. EF also has similiar issue.
https://github.com/borisdj/EFCore.BulkExtensions/issues/993
If SingleFile is not enabled, can you reproduce the issue?

https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli
Can you show me your propertiers for single file publishing?
Sample:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net6.0</TargetFramework>
    <PublishSingleFile>true</PublishSingleFile>
    <SelfContained>true</SelfContained>
    <RuntimeIdentifier>win-x64</RuntimeIdentifier>
  </PropertyGroup>

</Project>

#847

My project is a console app.
If SingleFile is not enabled it works.
The publish file is:

Release
Any CPU
bin\Publish
FileSystem
net7.0
win-x64
true
true
true
true

PublishTrimmed is the cause, this removes code which is not used to remove file size.
Try add <TrimMode>partial</TrimMode> and look if this works.