Fixed crash of dictionary serialization

Fixed this problem #28
Added HighloadV1
Added Some unit tests for dict serialization

Hello, out library already has some of the presented commits, which you have been added in prev pull request. Please update the last dev branch and reopen with new changes.


Revert "dockerize snapshot upload (#400)"

This reverts commit 8ce48b23cd3594edc4a7ae3806e1a67d9ece2074.
Summary of changes
Changes introduced in this pull request:

the copier container seems to copy too much flooding the disk, let's revert it for now.
most likely calling db destroy at the end of the script will help, but I need to test it.

Reference issue to close (if applicable)

Closes
Other information and links

@aatifsyed @ruseinov


test-cmd.sh should test resizing replication controller

The test-cmd script currently does not test resizing replication controllers; this is a central use-case and should have coverage in that script.

This is already tested in the guestbook e2e, which is getting rewritten in Go as part of #4389. We need to figure out how test-cmd.sh fits into the world at some point.

@zmerlynn clarify what you mean by 'the world' ?
Also, I think @sdminonne recently did this in #4649.

@pmorie @zmerlynn yeah... and Lenaic today did this https://github.com/GoogleCloudPlatform/kubernetes/pull/4773 as part of our `kubectl

I was more commenting that it seems duplicative to test much in both places, but the e2e test has its place, too.

It sounds like this issue should be closed. :)

@zmerlynn I wondered about the wording 'the world', because there's a use-case for us downstream wherein we want to run a sanity check of OpenShift against upstream's test-cmd or something like it:
https://github.com/openshift/origin/issues/739


implement EditorConfig

http://editorconfig.org/
thoughts, @d11wtq? this instead of the vim comments, those are too specific for a project used by so many people

Also, why be forced to 2/4 spaces of indentation when a tab can be dynamically set?

Because it doesn't really matter which you choose, as long as you choose one. By and large, PHP projects have settled on four spaces. There's a lot to be said for not picking something different, especially if you value contributors :)

Nearly all modern PHP projects use the PSR2 standard.
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
There are a number of tools around that'll check (and even fix) code in this style automatically. e.g. http://cs.sensiolabs.org/

Got it!

Back to the point...

http://editorconfig.org/
thoughts, @d11wtq? this instead of the vim comments, those are too specific for a project used by so many people


[New game]: Ghost Busting Added

PR Description 📜
Added a new game Ghost Busting
Fixes #4548

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸
https://github.com/kunjgit/GameZone/assets/146661411/1bafa207-0aec-4f6f-af06-4c6918a518b7

Thank you soo much for contributing to our repository 💗

Thank you @sau-mili ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@ishita-43 please check

Thank you  @sau-mili , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Make sure :ssl is available

Trying to run an app on Elixir v1.15.0-rc.0 and OTP 26 that depends on image I got the following error downloading https://github.com/akash-akya/sharp-libvips/releases/download/v8.14.2-rc2/libvips-8.14.2-darwin-arm64v8.tar.gz
{:error,
 {:failed_connect,
  [
    {:to_address, {~c"github.com", 443}},
    {:inet, [:inet],
     {:eoptions,
      {:undef,
       [
         {:ssl, :connect,
         ...

I got it working by making sure :ssl is included.

Thanks for the contribution @leandrocp! Versionv0.20.0 is released with the fix


MetaDeploy Installer Does not insert Placeholder Sailor

(May not technically be an "issue.")
We had discussed that one of the steps of MetaDeploy would be to insert the Placeholder Sailor (see the installation instructions https://docs.google.com/document/d/1e2zoWwjPJv9DVSV4MG8rRX_dv4yxXHdLQWeDcJNNSLE/edit#) so that we wouldn't have to make that a manual step. At the moment, that step is not happening with the installer.

@mkolodner to double check, are these the values for the placeholder sailor?

Yes!
Michael Kolodner
<EMAIL_ADDRESS>
On Aug 10, 2020, at 9:40 AM, Nickers3<EMAIL_ADDRESS>wrote:
@mkolodner https://github.com/mkolodner to double check, are these the values for the placeholder sailor?
https://user-images.githubusercontent.com/11097954/89788627-13a27000-dae5-11ea-89f6-cfd2f3d94083.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/SFDO-Community/OmbudsmanCloudCare/issues/86#issuecomment-671360375, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKNY3OCAQZM2LJLZWGUTFLR772EFANCNFSM4POASYUA.


Add possibility to change quality at launch

As stated in #27, allow to start the video with a specific quality.

Thanks for the CL, I will take a look by the end of the week!

It seems to be cueVideoById, loadVideoById methods no longer support the suggestedQuality argument. Check this Revision history
So this PR won't work 😞

Yeah, I had the same impression. Unfortunately I've been busy and had no time to look into it in detail.


Regular expression anchors with directMention middleware

Description
Hey guys, I am trying to listen a message based on this regular expression /^go$/ and directMention middleware but it doesn't work.
How I can fix it?
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[x ] discussion

Requirements (place an x in each of the [ ])

[ ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[ ] I've read and agree to the Code of Conduct.
[ ] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.4.0
node version: 15.11.0
OS version(s): Mac OS X
Steps to reproduce:

Expected result:
What you expected to happen
Actual result:
What actually happened
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

Hi @danielcastill0!
Based on your regex, it looks like you want to listening for messages that start with go AND which @-mention your bot somewhere in the text. E.g. ("go @your-bot").
One thing that's not super well documented about directMention middleware is that it does not pass along the payload unless the @mention is at the beginning of the text. If you'd like this behavior, one option is to write your own custom listener based on directMention implementation
 here.

Alrermatively, depending on your use case you might consider using the built-in listener middleware matchMessage like this:
const { matchMessage } = require('@slack/bolt');

app.message(matchMessage("go"), async ({ message, context })=> {
	// Do my stuff here
})

This middleware is applied to messages and app_mention events, and here's the source code for it. For this, your app will need to be subscribed to the app_mentions event.

👋 Hi @danielcastill0, I think that @srajiang's suggestions should be helpful (particularly, using matchMessage() would be a good solution for your use case). Let us know if you have anything further to ask/discuss on this topic. We'll close this issue after waiting for your response for a few more days.


[FEATURE] Guess the Number Game

Nice one, go ahead @shantanunautiyal remember to edit it in README.md as well

@keshavgbpecdelhi Please check the pull request


nix: replace build utils with host utils in config.nix

Motivation for this change
When cross-compiling nix build-time deps are saved in config.nix and in profile.d/nix.sh, this will make the correct replacements before install-time to ensure the right dependencies are added.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@illegalprime Could you have a look at the merge conflicts?

Closing as OP seems unmotivated to fix merge conflicts so perhaps the issue this PR originally solved was fixed at https://github.com/NixOS/nix/pull/2748 .


Update index.js

Update extension/index.js to account for the fact that Blockfrost page limit is set to a maximum of 100. Providing a larger integer value to paginate.limit results in an error to the user.

The rationale here being that other wallet providers may allow for a greater page limit than 100 and dApp developers should not need to analyze which wallet they are connected to in order to determine that wallet's page limit. So, if a value > Blockfrost limit is supplied, cap it to Blockfrost limit.


Expected TreeShaking but whole library is downlaoded

Qwik Version
0.0.37
Operating System (or Browser)
Mac Chrome
Node Version (if applicable)
18
Which component is affected?
Qwik Runtime
Expected Behaviour
When I write import { randUuid } from @ngneat/falso; & resume my App, I expect that only the JS-Code of randUuid is downloaded in order to perform the operation.
Actual Behaviour
When I write import { randUuid } from @ngneat/falso; & resume my App, the whole Library is loaded from the server.
https://user-images.githubusercontent.com/444278/180059756-6f8ec156-d193-4955-aa43-ec0f057c7181.mp4
Additional Information
Reproduction
git clone https://github.com/GregOnNet/kanban-board
cd kanban-board

# make sure that Node 18 is installed

npm install

# Console 1
npm run app:start

# Console 2
npm run api:start

# Visit browser at localhost:3000
# Open DevTools
# Click on Button "Reload"
# Check the Network Tab for ngneat/falso

You are running in dev mode without any bundling. You need to create a full build so that rollup can run and do its magic. Usually that is done through yarn build see: https://github.com/BuilderIO/qwik/blob/main/starters/apps/base/package.json#L6

Ahh, thank you for clarification.
Somehow, I thought the dev.srr-command would run a build.


flat_hash_map with std::pmr::polymorphic_allocator cannot be assigned

Tested with current master (ce4bc92). Example code:
#include <memory_resource>
#include <absl/container/flat_hash_map.h>
...

    using Pma = std::pmr::polymorphic_allocator<std::byte>;
    auto res = std::pmr::new_delete_resource();
    absl::flat_hash_map<int, int, absl::Hash<int>, std::equal_to<>, Pma> fmap(res), fmap2(res);
    fmap2 = fmap; // triggers compiler error

Compiler error (MSVC 2019):
Click to expand

C:\...\abseil-src\absl/container/internal/raw_hash_set.h(1245): error C2665: 'std::swap': none of the 2 overloads could convert all the argument types
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\thread(201): note: could be 'void std::swap(std::thread &,std::thread &) noexcept'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\exception(267): note: or       'void std::swap(std::exception_ptr &,std::exception_ptr &) noexcept' [found using argument-dependent lookup]
C:\phusion\cmake-build-release\_deps\abseil-src\absl/container/internal/raw_hash_set.h(1245): note: while trying to match the argument list '(std::pmr::polymorphic_allocator<std::byte>, std::pmr::polymorphic_allocator<std::byte>)'
C:\...\abseil-src\absl/container/internal/raw_hash_set.h(1234): note: while compiling class template member function 'void absl::container_internal::raw_hash_set<Policy,Hash,Eq,Alloc>::swap(absl::container_internal::raw_hash_set<Policy,Hash,Eq,Alloc> &) noexcept'
        with
        [
            Policy=absl::container_internal::FlatHashMapPolicy<int,int>,
            Hash=absl::hash_internal::Hash<int>,
            Eq=std::equal_to<void>,
            Alloc=Pma
        ]
C:\...\abseil-src\absl/container/internal/raw_hash_set.h(896): note: see reference to function template instantiation 'void absl::container_internal::raw_hash_set<Policy,Hash,Eq,Alloc>::swap(absl::container_internal::raw_hash_set<Policy,Hash,Eq,Alloc> &) noexcept' being compiled
        with
        [
            Policy=absl::container_internal::FlatHashMapPolicy<int,int>,
            Hash=absl::hash_internal::Hash<int>,
            Eq=std::equal_to<void>,
            Alloc=Pma
        ]
C:\...\abseil-src\absl/container/internal/raw_hash_map.h(31): note: see reference to class template instantiation 'absl::container_internal::raw_hash_set<Policy,Hash,Eq,Alloc>' being compiled
        with
        [
            Policy=absl::container_internal::FlatHashMapPolicy<int,int>,
            Hash=absl::hash_internal::Hash<int>,
            Eq=std::equal_to<void>,
            Alloc=Pma
        ]
C:\...\abseil-src\absl/container/flat_hash_map.h(110): note: see reference to class template instantiation 'absl::container_internal::raw_hash_map<absl::container_internal::FlatHashMapPolicy<K,V>,Hash,Eq,Allocator>' being compiled
        with
        [
            K=int,
            V=int,
            Hash=absl::hash_internal::Hash<int>,
            Eq=std::equal_to<void>,
            Allocator=Pma
        ]
flat_hash_map_demo.cpp(15): note: see reference to class template instantiation 'absl::flat_hash_map<int,int,absl::hash_internal::Hash<int>,std::equal_to<void>,Pma>' being compiled

This compiles with std::pmr::unordered_map. Abseil's container is not respecting the allocator traits properly here because it tries to instantiate std::swap of std::pmr::polymorphic_allocator at container/internal/raw_hash_set.h(1245), which does not make sense.

Note: since move and copy construction work, we can hack around not having operator= with placement new:
// Replacement for fmap2 = fmap
// Assignment never changes the PMR allocator, so we must reuse the old one
Pma fmap2_pma = fmap2.get_allocator();
fmap2.~flat_hash_map();
new (&fmap2) decltype(fmap, fmap2_pma);

I'm looking into this.

This is fixed

I do not believe this change directly affected this semantic. pmr allocations are not being swapped at all (per their traits)

PMR allocator-aware objects should be able to do a cheap move/move assignment/swap if they realize that the object being moved into/move assigned to/swapped with is using the same allocator (ie. operator== is true). Are flat_hash_map such containers? I understand that this is not directly related to this change.


update to allow npm publish

@ns-jvanderzwaag
Update to package.json to allow for publish

I think that these might work now since the registry exists now. I'm pretty sure that the pre-publish script will at least make it farther now


Add Semgrep scanning

What was changed
Adding a Semgrep scanning workflow.
Why?
To do static analysis for security vulnerabilities in our SDKs
Checklist
How was this tested:
Ran this in private repos with good results and no problems

Would recommend running this locally before merging to confirm that entire repo passes (looks like PR check just runs diff).


Failed to establish a new connection: [Errno 10060]

Summary.
Expected Result
What you expected.
Actual Result
What happened instead.
Reproduction Steps
import requests

System Information
$ python -m requests.help

 Downloading to: e:\Learning\Powershell\C#vs.Net\udemy-dl-windows-2.1.3\udemy-dl-windows\csharp-tutorial-for-beginners

 Trying to log in ...
 Exception
Traceback (most recent call last):
  File "udemy_dl.py", line 976, in <module>
  File "udemy_dl.py", line 971, in main
  File "udemy_dl.py", line 766, in udemy_dl
  File "udemy_dl.py", line 156, in login
  File "udemy_dl.py", line 143, in get_csrf_token
  File "udemy_dl.py", line 113, in get
  File "site-packages\requests\sessions.py", line 515, in get
  File "site-packages\requests\sessions.py", line 502, in request
  File "site-packages\requests\sessions.py", line 612, in send
  File "site-packages\requests\adapters.py", line 502, in send
ProxyError: HTTPSConnectionPool(host='www.udemy.com', port=443): Max retries exceeded with url: /join/login-popup (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x03571850>: Failed to establish a new connection: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',)))
Failed to execute script udemy_dl

Seems like you're having trouble connecting to your proxy. Without a better idea of what's going on, we can't really help you I'm afraid. ☹

I have similar issue,
F:\udemy-dl\udemy-dl-windows>udemy-dl.exe https://www.udemy.com/vue-2-crash-course/learn/v4/overview
Username / Email<EMAIL_ADDRESS>Password :
Downloading to: F:\udemy-dl\udemy-dl-windows\vue-2-crash-course
Trying to log in ...
Exception
Traceback (most recent call last):
File "udemy_dl.py", line 976, in
File "udemy_dl.py", line 971, in main
File "udemy_dl.py", line 766, in udemy_dl
File "udemy_dl.py", line 156, in login
File "udemy_dl.py", line 150, in get_csrf_token
AttributeError: 'NoneType' object has no attribute 'group'
Failed to execute script udemy_dl
Please help. Thanks.

Hi @nyoman, the stacktrace you provided is unrelated to Requests or this issue. I would suggest asking for assistance from the udemy-dl maintainers or posting a question on StackOverflow. Thanks!

I meet the same question, I don't know where the trouble is. Please help me!


GHE login with PAT

Extension version:  preview v0.47.2022072109
VSCode Version: 1.69.2
OS: Windows 10

Hello All,
i tried to log into our GHE server with "vscode-pull-request-github" but always get an Network error, after i supply the PAT.
[2022-07-22 15:44:30.473] [exthost] [error] Error: network error
	at _ (c:\Users\xxx\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:1:708855)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async t.GitHubEnterpriseServer.login (c:\Users\xxx\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:1:717452)
	at async t.GitHubAuthenticationProvider.createSession (c:\Users\xxx\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:1:706656)

Any tips to resolve that? Or guidance on how to debug this?
@errietta you seem to know how to debug VS code plugins maybe you can help me with that?

Possible duplicates:
https://github.com/microsoft/vscode-pull-request-github/issues/3429
https://github.com/microsoft/vscode-pull-request-github/issues/3746

@Josar could you try out the latest VS Code Insiders with the latest GitHub Pull Requests and Issues pre-release extension? You no longer need to use a PAT to sign in there.


WinRM and vmWare Example for New Comers

Any Example of a Full Fledged working WinRM for Windows using vmware would be great for start. Do we have one as a starting point?. My attempt in doing this resulted in VMware giving a weird Canceled Error for whatever reason.
win7.docx

Where can I find the configure-winrm.ps1 File?

I found this one online
Supress network location Prompt
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" -Force
Set network to private
$ifaceinfo = Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceIndex $ifaceinfo.InterfaceIndex -NetworkCategory Private
Set up WinRM and configure some things
winrm quickconfig -q
winrm s "winrm/config" '@{MaxTimeoutms="1800000"}'
winrm s "winrm/config/winrs" '@{MaxMemoryPerShellMB="2048"}'
winrm s "winrm/config/service" '@{AllowUnencrypted="true"}'
winrm s "winrm/config/service/auth" '@{Basic="true"}'
Enable the WinRM Firewall rule, which will likely already be enabled due to the 'winrm quickconfig' command above
Enable-NetFirewallRule -DisplayName "Windows Remote Management (HTTP-In)"
sc.exe config winrm start= auto
exit 0

Thanks, i will try out :)

https://github.com/joefitzgerald/packer-windows/pull/181

Joe
Can I get a full example of Packer Win 7 with vmware and winRM I have been struggling since time immemorial. I get "waiting for WinRM availability" and after a few hours Timesout. Wonder what's wrong in my sequence. Here is the full sample
{
"variables": {
"iso_path": "./iso/en_windows_7_ultimate_with_sp1_x64_dvd_u_677332.iso",
"iso_md5": "C9F7ECB768ACB82DAACF5030E14B271E"
},
"builders": [
    {
        "type": "vmware-iso",
        "communicator": "winrm",
        "disk_size": 61440,
        "floppy_files": [
            "Autounattend.xml",
            "update-windows.ps1"
        ],
        "guest_os_type": "windows7-64",
        "headless": false,
        "iso_url": "{{user `iso_path`}}",
        "iso_checksum_type": "md5",
        "iso_checksum": "{{user `iso_md5`}}",

        "winrm_username": "vagrant",
        "winrm_password": "vagrant",
        "boot_wait": "2m",
        "winrm_port": "5985",
        "winrm_timeout": "6h",

        "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
        "skip_compaction": false,
        "vmx_data": {
            "gui.fitguestusingnativedisplayresolution": "FALSE",
            "memsize": "4096",
            "numvcpus": "1",
            "virtualHW.version": "10",
            "scsi0.virtualDev": "lsisas1068"
        }
    }

],
"provisioners": [
    {
        "type": "powershell",
        "execute_command": "powershell -ExecutionPolicy Bypass \"& { {{.Vars}}{{.Path}}; exit $LastExitCode}\"",
        "scripts": [
            "install-guest-tools.ps1",
            "enable-rdp.ps1",
            "disable-hibernate.ps1",
            "disable-autologin.ps1",
            "enable-uac.ps1"
        ]
    }
],
"post-processors": [
    {
        "type": "vagrant",
        "keep_input_artifact": false,
        "output": "{{.Provider}}_windows-7.box",
        "vagrantfile_template": "vagrantfile.template"
    }
]

}
OUTPUT
==> vmware-iso: Downloading or copying ISO
vmware-iso: Downloading or copying: file:///D:/Symantec/MyDevelopment/PV-Demo/Packer-Vagrant%20Step%20by%20Step/ISO/en_windows_7_ultimate_with_sp1_x64_dvd_u_677332.iso
==> vmware-iso: Creating floppy disk...
vmware-iso: Copying: Autounattend.xml
vmware-iso: Copying: update-windows.ps1
==> vmware-iso: Creating virtual machine disk
==> vmware-iso: Building and writing VMX file
==> vmware-iso: Starting virtual machine...
vmware-iso: The VM will be run headless, without a GUI. If you want to
vmware-iso: view the screen of the VM, connect via VNC without a password to
vmware-iso: <IP_ADDRESS>:5964
==> vmware-iso: Waiting 2m0s for boot...
==> vmware-iso: Connecting to VM via VNC
==> vmware-iso: Typing the boot command over VNC...
==> vmware-iso: Waiting for WinRM to become available...


Add: TV Vicosa [BR]

Channel Name
TV Vicosa
Alternative Names (optional)
TV Viçosa
Network (optional)
No response
Owners (optional)
No response
Country
BR
Subdivision (optional)
BR-MG
City (optional)
Viçosa
Broadcast Area
s/BR-MG
Languages
Por
Categories (optional)
Entertainment
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://linktr.ee/tvvicosa
Logo
https://i.ibb.co/vj9rvCw/wf-M9-R9-Jn-Ti-SPNBZre-CNZ-x6wn6mk-Kn-HCshw-G7.png
Notes
http://wz4.dnip.com.br/fratevitv/fratevitv.sdp/playlist.m3u8

Does not work: geo-blocked?

Does not work: geo-blocked?

Doesn't work for me neither (in Spain). It's strange, yesterday worked properly.


Improve types-related helper methods of TableMapEvent

@huangjunwen contributed a great PR that enhances MySQL-8.0 binlog replication https://github.com/siddontang/go-mysql/pull/468
Because of the complexity of the MySQL type system,  go-mysql needs interested/senior guys to help with types-related helper methods in TableMapEvent :|

Hey, today i found a method Table_map_log_event::print_columns (in mysql-8/sql/log_event.cc or mariadb-10.5/sql/log_event_client.cc) which i didn't notice before. Which is added to support mysqlbinlog --print-table-metadata. I think we can implement these helper methods base on this.
I've made some modification on my fork, looks good so far.


CI broken

see comments below  338015fff43392af61a64c32d1bbdce5e0de1851
Unclear how that commit caused it. But needs fixing now

Looking into this now. Seems a bit weird indeed, that small change set looks very innocent. I'll have to do some trial-and-error on the CI.


Is image4 used twice in file A3C

DITA is complaining because image4 is used twice in Phase_f.dita.
The id is used twice in the html, see if it occurs twice in the real file, and update the mock content accordingly.

No, the id doesn't occur twice in our mock phase_f.html file.  It looks like a flaw in the logic. Transferring to @robintw

Fixed in #421.


[gha] run transaction-replay test on weekly

Motivation
As discussed in #8644, the transaction-replay job is moved to weekly.
Test Plan
CI

/land

/land


in gateway app,SentinelConfigLoader is loaded before SentinelAutoConfiguration,version 2.2.1.Release

Which Component
Sentinel
Describe the bug
SentinelConfigLoader is loaded before SentinelAutoConfiguration,version 2.2.1.Release.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
MacOS  、Java8 、 Version 2.2.1.Release

it's my fault,I use SentinelConfig.setConfig  in application,which triggerd SentinelConfig.class loaded


Load model from file and update model

How to use lightgbm implement multi time train?
For example,  I use lightgbm to train on some samples, and I save model into file.
Next time,  I  have some other sample data, I want to use these sample improve model parameter,
is there a way to load model from file and continue to train model on new sample data?
Thanks!

Hi @wyfSunflower !
You can use input_model or refit parameter. For the difference between them and more details please see these issues: #1529, #1473, #2030.


Container view don't update when using focus mode

Hi,
I recently converted a vegaLite chart to vega in order to create a more dynamic chart.
The chart is a simple bar chart with some customizations.
I noticed a potential issue in Power BI Service when I use focus mode.
When I use Power BI Desktop, no problem, my chart is responsive and use the full width and height.

But when I am in Power BI Service and only in view mode (not dev mode), my chart just doesn't adjust and keep the same width and height as the initial chart which leaves a huge blank.

To debug that issue, I inserted a text mark on the top of my chart with : pbiContainerWidth | width | pbiContainer.width. As you can see those variables does update in dev mode, but not in view mode.
It seems that this behavior is common on all my vega charts but not vega-lite. I was wondering if this behavior concerns the new 1.7 version or this has to do with my json spec.
I've joined my spec  (there are a bunch of debug marks and signal)
VegaSpec.json
Here is the config part :
{
  "autosize": {
    "type": "fit-x",
    "contains": "padding",
    "resize": true
  },
  "padding": {
    "left": 0,
    "top": 0,
    "right": 0,
    "bottom": 0
  },
  "view": {"stroke": "black"},
  "font": "Segoe UI,Segoe UI_MSFontService,sans-serif"
}

Thank you very much for your support

I did some additional tests with minimal configuration and it seems that this behavior is specific to vega.
I've created a simple report with two bar charts :

one in Vega
on in Vega-lite

The Vega and Vega-Lite charts will scale in focus mode from Power BI Desktop and Power BI Service dev mode.
Only the Vega-Lite Chart scales in focus mode from Power BI Service view mode.
I've also tested with Deneb 1.6.2 (standalone), I have the same behavior.
Thank you very much for your support and for this amazing visual.
Here is the vega spec :
{
  "$schema": "https://vega.github.io/schema/vega/v5.json",
  "description": "A basic bar chart example, with value labels shown upon pointer hover.",
  "padding": 5,
  "autosize": {
    "type": "fit",
    "contains": "padding"
  },
  "data": [
    {
      "name": "table",
      "values": [
        {"category": "A", "amount": 28},
        {"category": "B", "amount": 55},
        {"category": "C", "amount": 43},
        {"category": "D", "amount": 91},
        {"category": "E", "amount": 81},
        {"category": "F", "amount": 53},
        {"category": "G", "amount": 19},
        {"category": "H", "amount": 87}
      ]
    }
  ],

  "signals": [
    {
      "name": "tooltip",
      "value": {},
      "on": [
        {"events": "rect:pointerover", "update": "datum"},
        {"events": "rect:pointerout",  "update": "{}"}
      ]
    }
  ],

  "scales": [
    {
      "name": "xscale",
      "type": "band",
      "domain": {"data": "table", "field": "category"},
      "range": "width",
      "padding": 0.05,
      "round": true
    },
    {
      "name": "yscale",
      "domain": {"data": "table", "field": "amount"},
      "nice": true,
      "range": "height"
    }
  ],

  "axes": [
    { "orient": "bottom", "scale": "xscale" },
    { "orient": "left", "scale": "yscale" }
  ],

  "marks": [
    {
      "type": "rect",
      "from": {"data":"table"},
      "encode": {
        "enter": {
          "x": {"scale": "xscale", "field": "category"},
          "width": {"scale": "xscale", "band": 1},
          "y": {"scale": "yscale", "field": "amount"},
          "y2": {"scale": "yscale", "value": 0}
        },
        "update": {
          "fill": {"value": "steelblue"}
        },
        "hover": {
          "fill": {"value": "red"}
        }
      }
    },
    {
      "type": "text",
      "encode": {
        "enter": {
          "align": {"value": "center"},
          "baseline": {"value": "bottom"},
          "fill": {"value": "#333"}
        },
        "update": {
          "x": {"scale": "xscale", "signal": "tooltip.category", "band": 0.5},
          "y": {"scale": "yscale", "signal": "tooltip.amount", "offset": -2},
          "text": {"signal": "tooltip.amount"},
          "fillOpacity": [
            {"test": "datum === tooltip", "value": 0},
            {"value": 1}
          ]
        }
      }
    }
  ]
}

Here is the Vega-Lite spec :
{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "A simple bar chart with embedded data.",
  "padding": 5,
  "autosize": {
    "type": "fit",
    "contains": "padding"
  },
  "data": {
    "values": [
      {"a": "A", "b": 28}, {"a": "B", "b": 55}, {"a": "C", "b": 43},
      {"a": "D", "b": 91}, {"a": "E", "b": 81}, {"a": "F", "b": 53},
      {"a": "G", "b": 19}, {"a": "H", "b": 87}, {"a": "I", "b": 52}
    ]
  },
  "mark": "bar",
  "encoding": {
    "x": {"field": "a", "type": "nominal", "axis": {"labelAngle": 0}},
    "y": {"field": "b", "type": "quantitative"}
  }
}

Hi @ThomasDucroquetzDax, and thanks for raising. I appreciate the detailed steps to help me reproduce also 👍
I'm a bit short on available time for Deneb support this week, but I have had a very quick look at the behavior. This is partially to confirm your acknowledgment of your issue and to provide me with some notes for when I can pick this up.
The Vega issue is indeed not present in Desktop, but it is not present in the Service when the report is in Edit mode. It works as expected here.
The issue is present for reading mode (which, let's face it, will be how most people consume the visual).
I suspect that because the Desktop is perpetually in edit mode, and we have to have a report open in edit mode in the Service to develop and debug, there is a crucial difference in the updates that happen when a visual is set into focus mode.
For background, when Power BI transitions the visual to and from focus mode, it makes several updates to the container dimensions during this process, and we try to catch the first and last step of this to ensure that we don't keep recalculating the visual during this time. We also use this to ensure that we keep the visual the "view mode" size of the visual when editing, so that it represents how it should look on the canvas.
This pattern might be different in reading mode in the Service, so we will need to analyze it and implement a suitable check. I'm planning to make this much better in 2.0, but as I don't have a solid ETA, I think we should look at doing a remediation earlier than this (probably 1.8).

Hi @dm-p, thank you very much for your answer and I'm glad you will check and try to fix it for 1.8.
Your explanation makes sense and if you need anything to help you debug the issue, I will be glad to help you.
Thanks again for your devotion and for your amazing work.

Hi @ThomasDucroquetzDax - I need to do a critical fix for tooltips, so am assembling a v1.7.1. Your issue should be a quick win, and I can fix it as part of this update if I have understood the root cause correctly. If you can, please test this build for the use cases you've identified and confirm that the behavior is as expected. If so, I can include this in the AppSource submission.

Download the file
Remove the .zip extension (so it is now a valid .pbiviz)
Load into your workbook and convert your affected visual over to this alpha version
Confirm the viewport changes as expected for Vega and Vega-Lite visuals, i.e.:

Editor opens with visual in correct size/aspect ratio in the preview area
Setting the visual into focus mode uses the full viewport
This also behaves as expected in the Power BI Service

This alpha also contains all fixes currently scheduled for 1.7.1, so if you have any further thoughts on those, you are welcome to provide feedback on those issues accordingly also :)
If you encounter any further issues, please provide reproducible examples, as you have been doing. Your efforts in this regard are greatly appreciated and significantly speed up the isolation and fixing process. Thank you for your continued support 🙏
File: deneb-alpha.<IP_ADDRESS>40801#ef7c939.pbiviz.zip

The usual disclaimers apply about downloading visuals from unsolicited sources. I attest that while this alpha build uses a different GUID and is therefore regarded as uncertified by Power BI, it is built with certified visual permissions (no external comms). It conforms to Deneb's privacy policy If downloaded directly from this above link.

Hi @dm-p,
Thanks for following up.
I've tested all use cases I mentioned above and all works as expected, well done 👍
While testing, I found another potential issue when scrolling and interacting with the visual, not sure if this is related to issue #475. I found out that when the visual is scrolled and that I click on my visual to cross filter other visuals, the visual is resetted to original position (top in my case)
Do you want me to raise another issue to share more or are you aware of this behavior ? This seems to be the case on 1.7 and 1.7.1 alpha, didn't tested on 1.6.2 or other builds.
Again, thanks a lot for what you are doing

Awesome to hear it's working for you! I'll ensure this is included in the 1.7.1 submission when we've closed off the other issues. The standalone build will be available ahead of this, and I'll confirm here when it's ready.
The other issue you've identified is already being tracked under #374. This will require a much more significant change (which I alluded to above), and we'll address it in the work for 2.0.

Ok, thank you for your answer.
Didn't expect the fix to be this quick 😁
Awesome work. Thank you for your time !


Tap on Multiple Markers: open multiple selection dialog

When tapping on a marker and the markers are so close, that we cannot detect on which marker the user tapped, there should be a possibility to get a list of marker items that we can show the user a "Multiple Selection Dialog"

Is this for itemized icon overlays or the Marker class?

@matrad I posted a solution for detecting all the items under a touch event in #1122.
Then you do what you want with them, including display your own "Multiple Selection Dialog".

Closed: cf. solution in #1122


Deserialization

Support for deserialization.
There is no immediate requirement for that, as just serializing for us should fit our needs.
https://github.com/ethereum/wiki/wiki/RLP

Solved in 0.1.3.


Back button with header issue

I found this error while using Gatsby.js
Gatsby uses Link's that prefetch resources... https://www.gatsbyjs.org/docs/gatsby-link/
I've noticed when having a header option in the settings the page breaks after clicking the back button. Works fine without the header setting, can't reproduce issue in codepen
The behavior:
Page works fine until a smoothScroll link is clicked and the page jumps to the top and cannot scroll down

Hi there, I'm deprecating this plugin and recommending everyone switch over to a now well supported CSS-native approach: https://gomakethings.com/how-to-animate-scrolling-to-anchor-links-with-one-line-of-css/


[SUGGESTION] Warp names with OSM data

Is your feature request related to a problem? Please describe.
In the next update we will have a warp GUI and a warp webmap and I think the webmap and or gui, will only show the name of the warp when it is being created.
Describe the solution you'd like
I would like to have Sledgehammer giving warps the name of their OSM location and also adding a tag with the player who made the warp. Admins can change the player tag so they could do something like By: Team Benelux
This would work best on the webmap to show of where all buildings are and also who made/ is making them.
https://cdn.discordapp.com/attachments/758679324822863903/761301879992877116/unknown.png
Describe alternatives you've considered
No alternatives considered

So the main idea is to give more information when the warps are viewed from a map? I was thinking about something similar, while somewhat different. Instead of using osm data to name the warp, what about having the option to asign an osm object id to warps. This way users are still free to name warps as they wish, while the osm data can still be looked up and displayed by mapping software.

The OSM data would be displayed on the new warp GUI if enabled. More information such as location, description, and screenshots could be saved as well for major landmarks and could be viewed with Terramap or SH Map.


Allow free & used IP sorting

orderBy free & used IP is not available as shown in the screenshot below.

Related issues: https://github.com/threefoldtech/tfgrid-sdk-ts/issues/60

@zaelgohary What do you mean by "orderBy free & used IP"?
If you want to filter by free IPs, you can use something like
query MyQuery {
  publicIps(where: {contractId_eq: "0"}) { # or `contractId_not_eq` for showing only used IPs instead
    ip
    id
    contractId
    gateway
  }
}

if you want to list both free and used IPs but give priority to free to show first, then something like that can be used
query MyQuery {
  publicIps(orderBy: contractId_ASC) { # or `contractId_DESC` for listing used IPs first
    ip
    id
    contractId
    gateway
  }
}

Does that solve the issue? If not, please elaborate.


Livelink error: error adding new item. Error adding new version filename.doc error creating destination file

What steps will reproduce the problem?
1.Look for a document
2.Right click and choose the add version option
3.Click on Browse button,choose a file and click and Add Version button

What is the expected output? What do you see instead?
The expected output is to have created a new version of the file.

What version of the product are you using? On what operating system?

9.7.1 on (Windows Server 2008 Enterprise x64 SP2 VMware
Please provide any additional information below.

The user is having the issue Error MO on Shift aaaaaaa where a means a error
number

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 21 Feb 2015 at 1:26

This does not appear to be related to Google Enterprise Connector of OpenText Livelink at all, so I am closing this issue.


File name case sensitivity issues in the Windows system

I developing on Windows. This error may be due to the fact that I have set up my Windows system's environment.
fsutil file setCaseSensitiveInfo path enable

This is because when using Git, I often run into file or directory name case conflicts.
I'd suggest that nuitka could change os.path.normcase to os.path.normpath
Originally posted by @lidanqing123 in https://github.com/Nuitka/Nuitka/issues/2645#issuecomment-1882203187

https://learn.microsoft.com/en-us/windows/wsl/case-sensitivity

I removed one use of it the other day, where it checks for .ico suffix, simply because it is code duplication with hasFileExtension but I guess, that one does it too.

Using os.path.normpath does not allow for case insensitive approaches, so Python doesn't support it. I only tried with 3.10, but that what matters. So it seems we need our own function. The below code illustrates the main use of it. A new function that takes your setting into account is definitely doable, lets see if we find something existing.
def areSamePaths(path1, path2):
    """Decide if two paths the same.

    Args:
        path1: First path
        path2: Second path

    Returns:
        Boolean value indicating if the two paths point to the
        same path.

    Notes:

        Case differences ignored on platforms where that is the
        norm, and with it normalized, and turned absolute paths, and
        even short paths, it then becomes a mere string compare after that.
    """

    path1 = os.path.abspath(os.path.normpath(path1))
    path2 = os.path.abspath(os.path.normpath(path2))

    if os.path.exists(path1) and os.path.exists(path2):
        path1 = getExternalUsePath(path1)
        path2 = getExternalUsePath(path2)

    path1 = os.path.normcase(path1)
    path2 = os.path.normcase(path2)

    return path1 == path2

I have replaced uses of assignments from os.path.normcase that then can cause these filenames to be wrong, there were a few more things like that, and the code could be done better in all cases by using APIs that compare without modifying.
Generally it cannot be avoided. Comparisons cannot be made real, i.e. it's virtually impossible to detect if a folder has this attribute set in Python. The C API for that is very ugly, and even then, it's very unclear when it must be done or not, e.g. when searching for a module, when it's filename based and wrong in Python or not.
But I believe it might work better for you now.

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

These changes are now on develop, let me know if it works for you now.

This is part of the stable release 2.0 that I just made.


HTML tags

Please check!

Don't copy paste stuff, create your own documentations.
There's a lot to explore and contribute, don't go for HTML CSS again and again.

Okay.
I'm sorry!


Add verbs to resources

so the error handeling is more clear when you use an illegal verb. So add methods=["POST", ...] to add_resource in setup methods from all resources

fixed in 48075510bf8e6ebac8aee1f0bf6b2689a8b739a5


restore-file: work for binary files, too

Description
Right now the restore-file feature works very nicely for text-based files. It doesn't appear to work for binary files, such as images, though. I would appreciate it if it did.
Example URLs
In this PR the "Discard changes" menu option appears for the .svg file included, since that's a text-based format, but it doesn't appear for any of the .jpg or .png files, though, since those are binary formats:
https://github.com/cooljeanius/gcc-wwwdocs/pull/3
Good:

Missing:

Worth a try.
When we first added the feature it used a text field/form to upload, so binaries weren't possible. Now we use the API and I think base64 data, so it shouldn't make a difference.


Automated cherry pick of #6062: fix/notify: Add deadline for rpc client

Cherry pick of #6062 on release/3.1.
#6062: fix/notify: Add deadline for rpc client

Codecov Report

Merging #6064 into release/3.1 will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@              Coverage Diff               @@
##           release/3.1   #6064      +/-   ##
==============================================
- Coverage         7.45%   7.45%   -0.01%
==============================================
  Files              584     584
  Lines            98663   98663
==============================================
- Hits              7354    7352       -2
- Misses           90738   90739       +1
- Partials           571     572       +1

Flag
Coverage Δ

#aFlag
7.45% <0.00%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/multicloud/aws/loadbalancerbackendgroup.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/lockman/fifo.go
80.00% <0.00%> (-10.00%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 070876e...7c20400. Read the comment docs.


Is there anyway for the SASS mixin to respect build.outDir path?

Great work on the plugin!
When I use the SASS mix here with type: fragment:
https://github.com/SpiriitLabs/vite-plugin-svg-spritemap/blob/a215dc79b7685bd47c89c0f6614eeceb1ec63341/demo/basic/src/scss/spritemap.scss#L17
When building for production, It will reference a path to the sprite file from my CSS like so:
/assets/spritemap.63529215.svg
When it should be
/dist/assets/spritemap.63529215.svg
As I have the following set in my vite.config.js:
build: {
    outDir: path.resolve('./public/dist'),
    ...

I've fixed this using a PostCSS plugin, but it would be great to fix this behaviour natively even if it meant adding a 5th parameter to the SASS mixin!

Yes, it should be fix in the version 2.0 because the plugin doesn't use rollup to output in the assetsDirectory.

Note the 5th parameter. Set to blank so not to cause breaking changes.
@mixin sprite($name, $include-size: false, $type: 'uri', $mode: 'background', $outDir: '') {
  $sprite: map-get($sprites, $name);
  $url: false;

  @if $type == 'fragment' {
    $url: '#{outDir}/__spritemap##{$sprites-prefix}#{$name}-view';
  } @else if $type == 'uri' {
    $url: map-get($sprite, uri);
  } @else {
    @error 'sprite(): $type must be either "fragment" or "uri"';
  }

  @if $url {
    #{$mode}: url($url) center no-repeat;

    @if $include-size {
      @if $include-size == true {
        #{$mode}-size: map-get($sprite, width) map-get($sprite, height);
      } @else if $include-size == 'box' {
        width: map-get($sprite, width);
        height: map-get($sprite, height);
      }
    }
  }
}

Yes, it should be fix in the version 2.0 because the plugin doesn't use rollup to output in the assetsDirectory.

Great news. Do you have any ideas when v2 might be released?

No idea, this is a project I maintain in my work time in my company. I hope in the current month.

I have fix it in the 1.4.0 (should come very soon). However, outDir don't seem to be the right option for the path adjust and should be the base option. Tell me if you are ok with this change.

Thanks for checking @Applelo. I think this should be fine.
This is a shortened config I'm using - so all looks good:
export default defineConfig(({command}) => ({
    base: command === 'serve' ? '' : '/dist/',
    ...
    build: {
        emptyOutDir: true,
        outDir: path.resolve('./public/dist'),
        ...

The version 1.4.0 is out know, it should support the base option. Reopen the issue if you have still the problem.

All working great. Thanks @Applelo


Determine whether want App to be opinionated

Currently opinionated to use styled-components. What about introduction of Redux, graphQL (apollo)?
Do we want to delegate those decision to client? I expect so.
How will we do it? Think HOC. But how will we pass those to Document? Don't want getInitialProps in Document.

Done. Very un-opinionated. Can pass HOC that exposes a callback to get additional props:

https://github.com/jtart/uni/blob/master/src/render.jsx#L14-L28
https://github.com/jtart/uni/tree/master/example/src


Relaxing 'static lifetime bounds?

Just ran into this one trying to pass an object (which impl's Language) holding a non-static-lifetime reference to this method:
impl<L: Language, N: Analysis<L>> Rewrite<L, N>
{
    /// Create a new [`Rewrite`]. You typically want to use the
    /// [`rewrite!`] macro instead.
    ///
    pub fn new(
        name: impl Into<Symbol>,
        searcher: impl Searcher<L, N> + Send + Sync + 'static,
        applier: impl Applier<L, N> + Send + Sync + 'static,
    ) -> Result<Self, String> {

Of course, this pops up in more places than just here. I know it's a big task. Is this already on your radar, or something you'd welcome a PR for?

Hi @robert-chiniquy I'd like to take a stab at this, but I need some more context on your use case. Say we make it 'a instead of 'static. How long is the 'a in your object that you're passing?
Also if we put an 'a to the new function, I don't see a way to not also do this:
pub struct Rewrite<'a, L, N> {
    // ...
    pub searcher: Arc<dyn Searcher<L, N> + Sync + Send + 'a>
    // ...
}

The added lifetime param is fixable within the crate, but it also breaks the public API. Maybe we can do something like
type Rewrite<L, N> = RewriteInternal<'static, L, N>? Then if you need the non-static version, you import and work with RewriteInternal.

Hi @Evan-Zhao ! Awesome to hear you're thinking about this.
I've been kind of stumped myself, this quickly became harder than I expected to extricate.
I like your RewriteInternal suggestion, that hadn't occurred to me.
The 'a in my use case is for AST/IR objects which don't derive from static strings but which are longer than the lifetime of the egraph/runner, and which don't need to be mutable, so I would think keeping any references to them within the rewrites should be fine.

I see, makes a lot of sense.
I was looking at the codebase and happy to find out the searcher and applier (which we'll have to change type signature of) aren't actually used very intensively -- because I saw Arc and thought of threads, async, etc., but none of that exists in the use cases.
So I actually have a ~20 lines patch which just involves replacing 'static with 'a in the right places.
It compiles and passes the existing tests, but these tests don't use this 'a lifetime and we need a few tests that do.
(I hope I didn't mess something up and it is actually straightforward like this.)
How about I open a PR today, and @robert-chiniquy would you take a look at that PR, and make your use case into a test case that practices non-static lifetime in the rewriter? Then we'll see if @mwillsey likes it.
Also I decided to name it RewriteA<'a, L, N> because we'll also be exposing RewriteA and it shouldn't be called internal. Suggestions for better naming is always welcome :)

RewriteBorrow or something maybe? No idea about names. I can probably whip up a fake test case which exercises the non-static lifetimes. Thanks!


Use eBPF to accelerate kubevirt bridge network

We didn't achieve expected improvement by eEBPF, need to investigate other solutions.


fontend package installer

I have read the issues regarding generic installer and agree that it is problematic to allow generic placement of things. Furthermore, I understand the need to only allow library specific placement of libraries/packages/plugins/modules based on the standards of the library.
However, this leads to a problem for generic frontend libraries (bootstrap as an example). One large benefit of composer for a Drupal site is the ability to put dependencies above the webroot and thus deny access to the outside. However, this means that any frontend libraries either cannot be managed with composer or must be added manually in some other way.
I propose adding a generic-frontend type so can install frontend libraries in a separate location from the backend libraries (which already have a place in vendor).

Given the popularity of https://asset-packagist.org/ I opened
https://github.com/composer/installers/issues/394
Maybe the type for the npm and bower assets can change to fit your proposal.
So now I wonder: Can a package have multiple types?

IMO this is a bad idea and I don't really want to encourage it. Frontend deps should be installed via npm/yarn, not cobbled up together via Composer. You can use https://packagist.org/packages/oomphinc/composer-installers-extender I guess though..


How to generate a depth map for the Kitti dataset?

Thanks for your help on the previous issue.
Was the depth map of the Kitti dataset synthesized from 5 frames of LiDAR Scan? Because Lidar Scan and depth map data looked different.

We used a single LiDAR frame to generate the depth map. We used a depth completion method which filled in the gaps of the sparse LiDAR scan, which might explain why the LiDAR scan looks different to the depth map.


Inference error for a field with an immediately invoked function expression

The analyzer and the CFE seem to disagree about how inference should work in this case. The CFE is also inconsistent between the handling of a field and a local variable with the same expression.
class C {
  var value = () {
    var value = something();
    if (value == null) {
      throw '';
    }
    var result = value;
    return result;
  }();
}

String? something() => 'something';

void main() {
  print(C().value.length);
                  ^^^^^^ // Error: Property 'length' cannot be accessed on 'String?' because it is potentially null.
}

In this code I expect the inferred type for value to be String, and for there to be no error. If I change var to String, the program runs without error. If I use this same expression as a local variable, there is no error.
void main() {
  late var value = () {
    var value = something();
    if (value == null) {
      throw '';
    }
    var result = value;
    return result;
  }();
  print(value.length);
}
String? something() => 'something';

If I change the assignment to var result = value!;, there is a warning about the ! being unnecessary, but it runs without error. If I change the assignment to String result = value; it also runs without error.

This is related to https://github.com/dart-lang/sdk/issues/49528 and is a consequence of https://github.com/dart-lang/language/issues/1650

Let's close this as a duplicate of #49528