Garbled output on Meteor <IP_ADDRESS>

I get garbled output both in the console and in the browser for Meteor <IP_ADDRESS> which includes meteortesting:mocha 2.4.5_6.
To repeat:
meteor create my-app
cd my-app
meteor add meteortesting:mocha
meteor test --driver-package meteortesting:mocha

I created a Stackoverflow question for this, and also provided what worked for me, which was to replace meteortesting:mocha with cultofcoders:mocha.

Just ran it against the version currently on master here and it worked. I'll ping you when the release is ready.

I've published the latest version. Please update and reopen this issue if it still persists.

Yes, it persists. It still, with 1.0.1, reports "Your app is crashing" and shows the garbled server logs although all tests are passing. I checked this on MacOS, will check on Linux and Windows when I get home.
thomasmacbook:noteit thomas$ meteor list | grep meteortesting
meteortesting:mocha        1.0.1  Run Meteor package or app tests with Mocha

Uploaded with added .txt extension since GitHub doesn't support "that type of file" ;-)
version.txt

That comment led me to do meteor update --all-packages which did
This project is already at Meteor <IP_ADDRESS>, the latest release.

Changes to your project's package version selections from updating package versions:

lmieulet:meteor-coverage*    upgraded from 1.1.4 to 2.0.2
meteorhacks:picker           removed from your project
meteortesting:browser-tests  upgraded from 1.0.0 to 1.1.0
meteortesting:mocha-core*    upgraded from 1.0.1 to 5.2.0_1

But still getting
=> Exited with code: 0
=> Your application is crashing. Waiting for file change.

Just to be sure, I created a completely virgin project and the same thing happens there.

Sorry for the late response. I now got some time to take a new roundtrip on this and gave you a pretty long answer on stackoverflow 😌  https://stackoverflow.com/questions/51570393/garbled-test-result-output-from-meteortestingmocha/52365825#52365825
I have to admit that the first lines on the documentation need a rewrite and I welcome everyone to give me a good start.
Initially I focussed sorely about the changes which happened in the latest version and thought you were referring to a problem which just came up lately.
Please let me know what you're missing out on, and I hope you're still keen on using this testing framework in Meteor 😉

@thoni56 was what I wrote helpful to you? Is the issue still present? If I do not hear back from you by the end of this year, I'll close this issue due to missing feedback.

Stopping by to say this was helpful. I was running
TEST_BROWSER_DRIVER=chrome meteor test --full-app --driver-package meteortesting:mocha --port 3100

and received the Your application is crashing. Waiting for file change. issue.
Adding TEST_WATCH=1 worked and resolved my issue for now.
versions:
meteortesting:mocha    1.1.1  Run Meteor package or app tests with Mocha

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Yes, your comments were helpful.
My concern isn't so much with meteortesting:meteor-mocha itself but rather the entry point for new users. As it is still (?) the recommended unittesting framework for Meteor I would really like it to be as simple to get started with as the instructions in the Meteor Guide.
I suppose that is as much an issue with that instruction as with meteortesting:meteor-mocha, but I'd like it to be that simple to get working. I don't want to google or StackOverflow to find out how to get it to work.
I'm sure meteortesting:meteor-mocha could be made even simpler to get working with some reasonable defaults, so that it matches what you think it is when you read the guide.

I am trying to run test cases with meteor version 1.8 with this command
TEST_WATCH=1 meteor test --driver-package meteortesting:mocha --port 3100
It's throwing error : Error: ENOENT: no such file or directory, open '/private/var/folders/q4/rl0c5md979d6xz32795bxfrm0000gq/T/meteor-test-run1hflvik.7mvil/packages/implementation/settings.json'
I don't know what is the issue. I am not to much familiar with meteor.

@harmansingh2908 Not related to this issue. Please create a separate issue for it.

Updated the documentation of this package which should make it easier. I'll check the instructions at the Meteor Guide soon also.


Mono: ProceduralSky crash on quit

Godot version:
Godot Mono 3.2 RC 3
OS/device including version:
Manjaro Linux x86_64
Issue description:
When there is a live node with a C# script which modifies the active ProceduralSky from the _Process function the engine will segfault on game quit.

Steps to reproduce:
See reproduction project
Minimal reproduction project:
SkyCrash.zip
The node MainScene has identical C# and GDScript versions of its script. Only the C# version causes the segfault.

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?


Feature/contact

Provider
I made Provider successfully and mostly similar as User.
But I'm not sure if I managed the Jest file. I'd appreciate it if @1Solon could take a look at that.

Contact
Guys. I think we need to discuss a problem that I found in Contact table.
As you see, user_id and provider_id is unique keys and foreign keys, which means can not go without unique.
I made all of CRUD API, but I didn't work to generate multiple rows with same user_id and provider_id.

@call203 unsure if you saw in the WhatsApp, but you should be able to get away with just removing "@unique" from both on the contacts schema. Prisma should protect the foreign key relationship itself.
Let me know when that's pushed and I'll review

@call203 unsure if you saw in the WhatsApp, but you should be able to get away with just removing "@unique" from both on the contacts schema. Prisma should protect the foreign key relationship itself.
Also, some of the tests are failing. It seems to be unable to locate Bcrypt, let me know if you need help fixing that.
Let me know when that's pushed and I'll review

I fixed it @1Solon!


Fix issue with shuffle pos embed when doing random ablation

It shuffles on the batch index which is incorrect. This branch has tracr-reverse ACDC data, also should rerun tracr-proportion here too

Now fixes


GitHub releases CLI instructions also include kubectl apply

Summary
GitHub
When you visit https://github.com/argoproj/argo-workflows/releases, there are install instructions
kubectl create namespace argo
kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/download/v3.2.6/install.yaml

Those are unrelated to CLI install, and may interfere with previous argo installs
Use Cases
When downloading argo version

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

Thanks! This will be fixed in https://github.com/argoproj/argo-workflows/pull/7477 for future releases.


Video Recording Error

Local recording starts when the Start Recording button is clicked and the start recording is clicked without selecting the option.
In the same way, if the option is not selected when the local recording closed room is created while creating the room via API, the local recording is started.

That's have side effects because of various permission issues. Local recording always need to click to start.


Add deprecation for audit-log/get-audit-log -> enterprise-admin/get-audit-log

See https://github.com/octokit/openapi-types.ts/pull/80

fixed by https://github.com/octokit/openapi/pull/76


Problem with environment variables on Windows platform

@TimDettmers
This code:
https://github.com/TimDettmers/bitsandbytes/blob/18e827d666fa2b70a12d539ccedc17aa51b2c97c/bitsandbytes/cuda_setup/env_vars.py#L6
Does not take into account any of the environment variables that might contain paths on Windows but which should be ignored:
As a result, the following error is shown:
(venv) d:\AI\AUTOMATIC1111>python -m bitsandbytes
False

===================================BUG REPORT===================================
d:\AI\AUTOMATIC1111\venv\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: Welcome to bitsandbytes. For bug reports, please run

python -m bitsandbytes

  warn(msg)
================================================================================
The following directories listed in your path were found to be non-existent: {WindowsPath('tmp/restart')}
The following directories listed in your path were found to be non-existent: {WindowsPath('/Windows/Symbols*/CORE/symbols*http'), WindowsPath('Srv*C'), WindowsPath('//msdl.microsoft.com/download/symbols')}
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths...
The following directories listed in your path were found to be non-existent: {WindowsPath('/usr/local/cuda/lib64')}
DEBUG: Possible options found for libcudart.so: set()
CUDA SETUP: PyTorch settings found: CUDA_VERSION=121, Highest Compute Capability: 8.9.
CUDA SETUP: To manually override the PyTorch CUDA version please see:https://github.com/TimDettmers/bitsandbytes/blob/main/how_to_use_nonpytorch_cuda.md
CUDA SETUP: Loading binary d:\AI\AUTOMATIC1111\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda121.so...
argument of type 'WindowsPath' is not iterable
CUDA SETUP: Problem: The main issue seems to be that the main CUDA runtime library was not detected.
CUDA SETUP: Solution 1: To solve the issue the libcudart.so location needs to be added to the LD_LIBRARY_PATH variable
CUDA SETUP: Solution 1a): Find the cuda runtime library via: find / -name libcudart.so 2>/dev/null
CUDA SETUP: Solution 1b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_1a
CUDA SETUP: Solution 1c): For a permanent solution add the export from 1b into your .bashrc file, located at ~/.bashrc
CUDA SETUP: Solution 2: If no library was found in step 1a) you need to install CUDA.
CUDA SETUP: Solution 2a): Download CUDA install script: wget https://github.com/TimDettmers/bitsandbytes/blob/main/cuda_install.sh
CUDA SETUP: Solution 2b): Install desired CUDA version to desired location. The syntax is bash cuda_install.sh CUDA_VERSION PATH_TO_INSTALL_INTO.
CUDA SETUP: Solution 2b): For example, "bash cuda_install.sh 113 ~/local/" will download CUDA 11.3 and install into the folder ~/local
Traceback (most recent call last):
  File "C:\PROGRAMS\Python\lib\runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "C:\PROGRAMS\Python\lib\runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "C:\PROGRAMS\Python\lib\runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "d:\AI\AUTOMATIC1111\venv\lib\site-packages\bitsandbytes\__init__.py", line 6, in <module>
    from . import cuda_setup, utils, research
  File "d:\AI\AUTOMATIC1111\venv\lib\site-packages\bitsandbytes\research\__init__.py", line 1, in <module>
    from . import nn
  File "d:\AI\AUTOMATIC1111\venv\lib\site-packages\bitsandbytes\research\nn\__init__.py", line 1, in <module>
    from .modules import LinearFP8Mixed, LinearFP8Global
  File "d:\AI\AUTOMATIC1111\venv\lib\site-packages\bitsandbytes\research\nn\modules.py", line 8, in <module>
    from bitsandbytes.optim import GlobalOptimManager
  File "d:\AI\AUTOMATIC1111\venv\lib\site-packages\bitsandbytes\optim\__init__.py", line 6, in <module>
    from bitsandbytes.cextension import COMPILED_WITH_CUDA
  File "d:\AI\AUTOMATIC1111\venv\lib\site-packages\bitsandbytes\cextension.py", line 20, in <module>
    raise RuntimeError('''
RuntimeError:
        CUDA Setup failed despite GPU being available. Please run the following command to get more information:

        python -m bitsandbytes

        Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
        to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
        and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues

One example of an environment variable being picked up when it should be ignored is:
_NT_SYMBOL_PATH=Srv*C:\Windows\Symbols*\\CORE\symbols*http://msdl.microsoft.com/download/symbols

Another example is:
SD_WEBUI_RESTART=tmp/restart

This code makes unsafe platform-dependent assumptions on naming conventions and content of environment variables which IMO is really bad.
It is also worth noting that on Windows CUDA path is contained in (aptly named) CUDA_PATH variable:
CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2

Actual libraries and executables (including cudart64_12.dll) are in the %CUDA_PATH%\bin folder.
Please fix.

Per the readme file: "Windows is not supported at the moment."

Per the readme file: "Windows is not supported at the moment."

There are several forks that support Windows, first one was this one:
https://github.com/acpopescu/bitsandbytes/tree/cmake_windows
How hard would be to pull the necessary bits from it and make it support both platforms?

Yea, I think it would definitely be worth it. You can also give it a try using windows subsystem for linux (WSL).

You can also give it a try using windows subsystem for linux (WSL).

Sadly not an option for using AUTOMATIC1111. Native CUDA stuff works better anyway and I can compile xformers with CUDA 12.x and 8.9 arch.

Bitsandbytes was not supported windows before, but my method can support windows.（yuhuang）
1  open folder J:\StableDiffusion\sdwebui，Click the address bar of the folder and enter CMD
or WIN+R, CMD  。enter，cd /d J:\StableDiffusion\sdwebui
2  J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes
3 J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes-windows
4 J:\StableDiffusion\sdwebui\py310\python.exe -m pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl
Replace your SD venv directory file（python.exe Folder） here（J:\StableDiffusion\sdwebui\py310）

@swumagic I am aware that there is a Windows fork of bitsandbytes, my request is that the author of the package integrates Windows support into the original package if possible.

Activity.

Activity.

Dear all,
Since the current release (last week, 8th of March) we now have official support for Windows 🎉 (which we did not have before) via
pip install bitsandbytes>=0.43.0

We're closing all old Windows issues and are asking everyone to try installing with this new version as outlined above and validate the install with python -m bitsandbytes which should spit out a bunch of stuff and then SUCCESS. Please let us know if everything worked correctly in this new umbrella / catch-all issue. Thanks 🤗

@Titus-von-Koeller Great work, many thanks.


List requirements for Client.{ls,cat,text}

Is there a reason these methods require a list? Or maybe better question, is there a reason not to add if isinstance(paths, str): paths = [paths] so that paths can either be a single directory/file or a list of directories/files?

No particular reason, but I think we wanted a consistent interface and not have magic happen in the implementation. Let the user take care of transforming arguments into lists. The api itself now makes it clear that those operations can operate on multiple paths at the same time.


Concat, uglify

I took out the concat and uglify grunt tasks for CSS because style.css needs that header at the top for the Wordpress theme. And the option "compress" for the less task.
To get the banner to show up and to have concat and uglify work, try this:
have uglify or concat add a banner option to it's task and then have the less task have the compress option on. Whatever is done, concat, uglify need to happen to style.css but the wordpress banner needs to be shown on the top.

I may not do this right now. For people who really want to concat and minify their files, they have plugins for that.


No core documentation available.

Documentation seems to be missing for core.

After investigations, it seems the default for the sphinx autosummary directive changed:
https://github.com/sphinx-doc/sphinx/commit/4ece70109361ed8f753063a9d924731285c1d2c8
Before it would document imports by default, and after that change it doesn't.  Sadly, the option to control this hasn't been released yet, it appears to be in tree though, and should be released in the 2.1 release:
http://www.sphinx-doc.org/en/master/usage/extensions/autosummary.html#confval-autosummary_imported_members

Docs being built now:
https://neurom.readthedocs.io/en/latest/_neurom_build/neurom.core.html


Windows Usage

How to use this vite plugin in windows OS ?
I tried both ways

command line set env
Edit the system environment variables

defaultEditor option in vite would be so helpfull instead of setting env
Inspector({
    enabled: true,
    defaultEditor: 'code'
})

Thanks

data-inspector-file attribute is present in devtools but,
nothing happened when you clicked the element and no tooltip appears

https://stackoverflow.com/questions/47528373/visual-studio-code-shell-command-install-code-command-in-path-command
it's already installed by default

not working onwindows at all

not working onwindows at all

Is it also the issue of can’t open the editor ?

not working onwindows at all

Is it also the issue of can’t open the editor ?
You can Follow the configuration-ide docs and ensure that the configuration is correct.

of course I did it but unfortunately not working at all

@ffrechina Could you execute the following commands and copy-paste the output of both of them?
wmic process where \"executablepath is not null\" get executablepath

powershell -Command "Get-Process | Select-Object Path"

I noticed that this plugin uses a different command than the one used by launch-editor. And I'm wondering if that makes a difference.

@SamVerschueren for the first command I get an error about not valid query. For the second, I get a lot of paths not related to this topic. Could you please be more specific of what do you need?

Can you open VSCode (or the editor you use), run that powershell command and then look for any path that ends with one of the following editors?
Brackets.exe
Code.exe
atom.exe
sublime_text.exe
notepad++.exe
clion.exe
clion64.exe
idea.exe
idea64.exe
phpstorm.exe
phpstorm64.exe
pycharm.exe
pycharm64.exe
rubymine.exe
rubymine64.exe
webstorm.exe
webstorm64.exe

That command just dumps all the paths of the exe's of the process. The launch-editor package then looks through the entire list trying to match it with one of the above executables. If it finds sublime_text.exe, it knows you are working with Sublime and knows how to open that editor correctly.

it dumps both Code.exe and sublime_text.exe

@webfansplz Any reason you use the wmic command instead of the PowerShell one? It looks like the code in this package is based on launch-editor/guess.js which uses powershell and seems to work for @ffrechina.

@webfansplz Any reason you use the wmic command instead of the PowerShell one? It looks like the code in this package is based on launch-editor/guess.js which uses powershell and seems to work for @ffrechina.

https://github.com/webfansplz/vite-plugin-vue-inspector/blob/8327428abb6280fb976e1df8d64eb28c66392f7d/src/launch-editor.ts#L2
It's fork from create-react-app, i'll use powershell instead of wmic .

@ffrechina Update to v1.0.1 and try again.

@SamVerschueren Thanks for your suggestion. ♥

Awesome, hope this is fixed now ❤ !

it works perfectly!
thank you so much guys! ❤


[Landing] Buttons on landing

Buttons are gray. Should be light blue w/ white letters, and change slight color when hovering.

This commit fixes this.


🧑🚀  Add new package for policy studio

Issue
https://github.com/gravitee-io/issues/issues/6892
Description

Add empty new angular package for policy studio
Config necessary for CI and release this new package

Additional context
I think we need to merge prerelease inside one comment message

📚  View the storybook of this branch here

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

I think we need to merge prerelease inside one comment message

Yep, it could be really useful to have all the mechanisms to create a single "Gravitee Bot" comment, and also be able to update it after a push on the branch instead of having new comments.
If we succeed we could move this in the Orb and use it across the Gravitee repos

The improvement of the prerelease comments will be done in a 2nd time 😃

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

:tada: This PR is included in version 1.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Why there is no valid action check in RAW action space?

If we directly use the agent.py entry to start a game using RAW action space, the game will always crash with KeyError due to the following lines:
https://github.com/deepmind/pysc2/blob/05b28ef0d85aa5eef811bc49ff4c0cbe496c0adb/pysc2/bin/agent.py#L106
https://github.com/deepmind/pysc2/blob/05b28ef0d85aa5eef811bc49ff4c0cbe496c0adb/pysc2/env/available_actions_printer.py#L34-L37
https://github.com/deepmind/pysc2/blob/05b28ef0d85aa5eef811bc49ff4c0cbe496c0adb/pysc2/lib/features.py#L1520-L1522
So there is no existing way to check availability of actions in RAW action space. Is it designed on purpose? Or just not implemented yet?
BTW, how can I achieve this?
Thx

There is RequestQuery API in s2client-proto but PySC2 doesn't use it (I searched through codes).

How would you expect to use it from a neural network which takes an observation and immediately returns an action? The valid actions depend on which units to direct the actions to, and that's an arbitrary and potentially large set, to the point that in late game could be any action available to that race. I guess a few would be excluded like researching something that you've already researched, but that wouldn't reduce the available actions by much. We mainly dealt with that by supervised learning where the agent learned the available actions based on what humans did. We don't control individual units, and so the RequestQuery isn't useful.


error[E0583]: file not found for module sys

I'm trying to build using wasm-pack build and its giving me this error:
    Compiling socket2 v0.3.9

error[E0583]: file not found for module `sys`
  --> /home/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.3.9/src/lib.rs:72:5
   |
72 | mod sys;
   |     ^^^
   |
   = help: name the file either sys.rs or sys/mod.rs inside the directory "/home/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.3.9/src"

I'm very new at this but it seems like its pulling down the latest version of the code in this repo and failing to compile.
Any help would be greatly appreciated.

This line appears to vary from master:
https://github.com/alexcrichton/socket2-rs/blob/ca89d63b87f4ec62f059caa1d9379c0dc8f1cd2b/src/lib.rs#L72
When I do a simple cfg check in my own app it appears to be resolved as "unix" so I'm not sure why this is failing.
Any workarounds welcome.

Thanks for the report! This crate needs to add some stubs for the wasm target that all return errors, but otherwise shouldn't be too hard to add.

I'm getting this error too in a project of my own, and it's kind of mysterious because it seemed to come out of nowhere and when I run wasm-pack build in other projects, it works.
this person seems to have found a workaround but I couldn't figure out what it was.

I was not able to other than to not use the library that depended on this. I looked at it for a while and I bet there is a way but I'm not familiar enough with Rust to figure it out yet.
For what it's worth I was using WSL on windows but after a bunch of tests it seems like Rust correctly interprets it as unix and there wasn't a problem with the conditional compilation macros in smaller independent tests.

I think I am getting a similar error. I'm using a library that depends on socket for a WASM project.
error[E0432]: unresolved import crate::sys --> C:\Users\Thomas\.cargo\registry\src\github.com-1ecc6299db9ec823\socket2-0.3.12\src\socket.rs:23:5
   |
23 | use crate::sys;
   |     ^^^^^^^^^^ no sys in the root

As far as I can tell, this is still an issue.  socket2 fails to compile on wasm becaause the sys module is only imported for a unix or windows target.

@twitchax that's because wasm isn't supported.

@Thomasdezeeuw, I was mostly commenting because this issue was closed without explanation.  That would have been a helpful note to people who come across this issue. :)

@Thomasdezeeuw, I was mostly commenting because this issue was closed without explanation. That would have been a helpful note to people who come across this issue. :)

To be fair the issuer closed it, not the maintainers but I understand. We should probably add a compile_error for unsupported targets to make it clear from the error message.

Sorry, I think I just closed it because I didn't want to see it in my list of open issues anymore and nobody seemed to care about it.

@justinmchase, haha, no problem.
I think it is still something that would be nice.  There are a lot of projects that rely on socket2 that cannot be used in wasm targets due to the lack of support here.  For example, I am testing how feasible it would be to use a project like warp or rocket in Rust-based CloudFlare Workers.

Can confirm that it is an issue for some (if not many) people. I wonder if there is a way to nicely disable or put a placeholder for unsupported targets, so this functionality is disabled, but not blocking compilation of other crates. 🤔

I'm closing this in favour of https://github.com/rust-lang/socket2/issues/268 to track wasm support.

As say adobe you need to disable or exclude dependencies that does not target wasm32 which is what trunk target.
Foe example can exclude them this way:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1", features = ["full"] }
async-trait = "0.1.57"
actix-web = "4"
stdweb = "0.4.20"

@justinmchase, haha, no problem.
I think it is still something that would be nice. There are a lot of projects that rely on socket2 that cannot be used in wasm targets due to the lack of support here. For example, I am testing how feasible it would be to use a project like warp or rocket in Rust-based CloudFlare Workers.

Yeah I just found out by nasty Surprise after integrating my Database calls to the front end only to find out that although the queries are crafted correctly that the database structure I am using may in fact use Socket2 nested deep down in its dependency structure, specifically in the aws_auth_sdk.  So if you are using any data from an amazon authenticated source, you may be at the migration point.
oh well back to the drawing board I guess. Maybe I will give SurealDB a shot.

I have the same issue.
How can I handle this?

I have the same issue. How can I handle this?

@NazarKhlopeniuk what platform are you using? If you're using wasm you can help in https://github.com/rust-lang/socket2/issues/268.

windows 10 64bit.

This is the error that I get after running "cargo test"

Please don't post text as a image, you can put multiple lines line that between "```" to create a code block, see https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.
The error shown in image seems related to wasm/axum, not Socket2. But if you're pulling in socket2 I'm sorry to say that it won't work for now as we don't support wasm, see https://github.com/rust-lang/socket2/issues/268.

I am getting this error while run wasm-pack build. Anyone assist me to fix it
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
Compiling wasm-bindgen-backend v0.2.92
Compiling serde_derive v1.0.197
Compiling inout v0.1.3
Compiling cipher v0.3.0
Compiling url v2.5.0
Compiling sha1_smol v1.0.0
Compiling socket2 v0.4.10
Compiling base64 v0.20.0
error[E0583]: file not found for module sys
--> C:\Users\aryan.cargo\registry\src\index.crates.io-6f17d22bba15001f\socket2-0.4.10\src\lib.rs:124:1
|
124 | mod sys;
| ^^^^^^^^
|
= help: to create the module sys, create file "C:\Users\aryan.cargo\registry\src\index.crates.io-6f17d22bba15001f\socket2-0.4.10\src\sys.rs" or "C:\Users\aryan.cargo\registry\src\index.crates.io-6f17d22bba15001f\socket2-0.4.10\src\sys\mod.rs"
= note: if there is a mod sys elsewhere in the crate already, import it with use crate::... instead
error: Socket2 doesn't support the compile target
--> C:\Users\aryan.cargo\registry\src\index.crates.io-6f17d22bba15001f\socket2-0.4.10\src\lib.rs:127:1
|
127 | compile_error!("Socket2 doesn't support the compile target");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0432]: unresolved imports crate::sys::sa_family_t, crate::sys::sockaddr, crate::sys::sockaddr_in, crate::sys::sockaddr_in6, crate::sys::sockaddr_storage, crate::sys::socklen_t, crate::sys::AF_INET, crate::sys::AF_INET6
--> C:\Users\aryan.cargo\registry\src\index.crates.io-6f17d22bba15001f\socket2-0.4.10\src\sockaddr.rs:6:5
|
6 |     sa_family_t, sockaddr, sockaddr_in, sockaddr_in6, sockaddr_storage, socklen_t, AF_INET,
|     ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^ no AF_INET in sys
|     |            |         |            |             |                 |
|     |            |         |            |             |                 no socklen_t in sys
|     |            |         |            |             no sockaddr_storage in sys
|     |            |         |            no sockaddr_in6 in sys
|     |            |         no sockaddr_in in sys
|     |            no sockaddr in sys
|     no sa_family_t in sys
7 |     AF_INET6,
|     ^^^^^^^^ no AF_INET6 in sys
|
= help: consider importing this module instead:
crate::sockaddr
error[E0432]: unresolved imports crate::sys::c_int, crate::sys::getsockopt, crate::sys::setsockopt, crate::sys::Bool
--> C:\Users\aryan.cargo\registry\src\index.crates.io-6f17d22bba15001f\socket2-0.4.10\src\socket.rs:23:24
|
23 | use crate::sys::{self, c_int, getsockopt, setsockopt, Bool};

@Tahmid-Hossen WASM is not supported, see https://github.com/rust-lang/socket2/issues/268.


fix & test import lists

The import a, b, c syntax was not implemented, although import foo/[a, b, c] was, both are tested

include is also affected, include a, b, c is a thing in Nim.

Done


HIVE-27213 : parquet logical decimal type to INT32 is not working while compute statastics

What changes were proposed in this pull request?
Fix for https://issues.apache.org/jira/browse/HIVE-27213. This is int to decimal co version in external partitioned table of parquet type
Why are the changes needed?
A conversion of physical int/logical decimal from parquet to decimal data type in hive table goes through EDECIMAL_CONVERTER of ETypeConverter.java. Parquet does not support any dictionary of type decimal so switching this dictionary support off for BinaryConverter of decimal type.
Does this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?
with q file

Thanks for review @abstractdog !. I have addressed review comments and provided answer for rest. Requesting rereview

@abstractdog : Can you please have a look for review


Tree : $controller in decoration is null

Hello,
First, thank you for your great work !
I'd like to use $controller in order to generate a tree html output like here but I've got an error :

Error: Call to a member function generateUrl() on a non-object
My code is like this :

        $options = array(
            'decorate' => true,
            'rootOpen' => '
',
            'rootClose' => '
',
            'childOpen' => '
',
            'childClose' => '
',
            'nodeDecorator' => function($node) use (& $controller){
                return
                    'generateUrl('myRoute', array('id' => $node['id']))
                    .'">'
                    .$node['label']
                    .'';
            }
        );
        $htmlTree = $repo->childrenHierarchy(
            $object->getRoot(),
            false,
            $options
        );

In the function, $controller is null. How can we fix this ?
I'm using Symfony 2.8.7 and the last version of DoctrineExtensions in the dev-maser branch.
Thank you !

I'm sorry ! I forgot to initialize :
$controller = $this;
Thank you !


Idea: Phone Book Item

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the feature
Instead of having to exchange phone numbers at the start of the round - and every time someone's game crashes and they need to rejoin the lobby - how about adding an item or other kind of system that displays all numbers of players in the lobby?
I think balancing-wise it would still be kind of the same, because you still need to look up the number and enter it manually into the phone to call someone.

we need this feature 🙏

You could make it a command on the terminal like "contacts", "cell"/"cellular"
and have it list out the names and numbers next to them.


Speaker IDs?

Thanks a lot for this dataset.
Can we get speaker IDs for the recordings? We are working on a project where we need to explicitly model the speakers.
[Kaggle did not let to post a question there...]

Hi @Hrant-Khachatrian
The filename has following format [1]:
(language)_(gender)_(recording ID).fragment(index)[.(transformation)(index)].flac

...the recording ID is a hash of a URL [2]. Effectively each recording is a unique speaker [3]. In other words you can use the recording ID to identify a speaker.
Cheers
[1] https://github.com/tomasz-oponowicz/spoken_language_dataset/blob/master/README.md
[2] https://github.com/tomasz-oponowicz/spoken_language_dataset/blob/eadaafe5bb3aee49e782fc6bddf800d61d68d00a/jobs/speech_downloader.py#L34
[3] https://github.com/tomasz-oponowicz/spoken_language_dataset/blob/master/speech.csv

Thanks a lot!


Multinomial logistic normal estimation

We need to have some Multinomial logistic normal model to serve as a gold standard

See jupyter notebook


Mantine tabs

Coverage decreased (-0.005%) to 94.276% when pulling fa11e4cea64390bcd20ab526316281944be72f99 on cody-mantine-tabs into 70819fc4daa2055dac54e7705cf600241965b426 on main.


Update 0.0.2

Lets merge updates into main before the branch gets too deviated.

Update Note

Documentation update: structure, myst-nb style

statistics, spike detection, signal processing

Signal processing module update #10
Spike detection module update #13 #18
Statistic module and documentation #15 #19
Data module initial implementation #17

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@e6f6840). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage        ?   30.92%
=======================================
  Files           ?       14
  Lines           ?      304
  Branches        ?       46
=======================================
  Hits            ?       94
  Misses          ?      210
  Partials        ?        0

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 e6f6840...7f09e13. Read the comment docs.


How to avoid excessive overlap of selection boxes

The tags we extracted may have similar semantics， Can groundingdino solve it for excessive overlap?  like this, we only select one of the boxes, Is there a better solution, thanks!

@rentainhe  The code has been implemented, thank you very much！


Change ex_doc dependency to be only for dev environment

I'd like to keep the ex_doc dependency of my project only the development environment so it isn't brought into production. I'm pretty sure the same could be said for mailman.
The fix is to add an only clause to the dependency.
{ :ex_doc, ">= 0.6.0", only: :dev },

Can this be merged ?

I haven't checked recently but at the time I created the PR it was good to merge.  Just waiting for the project owner to push it.

@gshaw Yep :) Just trying to reup.


Inital GA tracking set up

In order to test, must be deployed to development.
Required Dependencies:
https://www.npmjs.com/package/react-ga
Currently set to track pageviews.

Should we put the Google API Key into an environmental variable?

These tracking IDs are generally not protected. If someone were to use it to attempt to corrupt our data we can filter out domain specific traffic within GA.

 Configure analytics tracking


Update Composer dependencies (2021-07-22-00-12)

Visual regression test passed!
View the visual regression test report


Small suspected bug in error message

Describe the issue
Think I stepped on a small bug while testing "New-BcAuthContext" today. If I enter a ClientID that is incorrect just like my example the error message is not what I am expecting. The error message state that a property ‘UserName’ cannot be found. Inspecting the code in New-BcAuthContext.ps1 on line 102 it can be seen a reference is made to $credential.UserName. Looks like a copy paste error from the PSCredential section of the code, should instead show the real error message.
Scripts used to create container and cause the issue
Connect-AzAccount
$vaultName = "BuildVariables"
$ClientID = "1337"
$ClientSecret = Get-AzKeyVaultSecret -VaultName $vaultName -Name "AADDelegatedAdminClientSecret"
$authcontext4 = New-BcAuthContext `
    -clientID $ClientID `
    -clientSecret $ClientSecret.SecretValue

Full output of scripts
Connect-AzAccount
$vaultName = "BuildVariables"
$ClientID = "1337"
$ClientSecret = Get-AzKeyVaultSecret -VaultName $vaultName -Name "AADDelegatedAdminClientSecret"
$authcontext4 = New-BcAuthContext `
    -clientID $ClientID `
    -clientSecret $ClientSecret.SecretValue

BcContainerHelper version 2.0.5
Attempting authentication to https://api.businesscentral.dynamics.com/.default using clientCredentials...
The property 'UserName' cannot be found on this object. Verify that the property exists.

Thanks for reporting

Shipped in BcContainerHelper 2.0.6


Make organization_guid and space_guid not required field in Provision request

What is the problem?
Provision request spec defines organization_guid and space_guid as required fields. These fields have been deprecated in favour of using context around Nov 2017
Who does this affect?
Keeping them as required might be a cause of confusion since the prefered and consistent way of passing the organisation_guid and space_guid is via context (as defined for Bind and Update endpoints as well)
Do you have any proposed solutions?
Removing the need for these fields to berequired or removing them from the spec altogether.

Hey @FelisiaM thanks for opening this issue!
Unfortunately we cannot make breaking changes to the spec without cutting a major release. However, I totally agree that these should be removed from the spec now that they are in the context object. I  have added this to the Ideas for v3 wiki page!
I'll close this issue since we are tracking this in that page for when the time comes to think about v3.


Unneeded Symfony/Yaml dependency? (and bundled dev dependencies)

I've been running into some problems with a wp-cli command that needs a newer version of Symfony/Yaml than is vendored with this plugin, and this plugin ends up blocking it from being loaded because of autoloader precedence.
However, I can't seem to find where the Yaml component is actually used by anything within the Cloudflare plugin, so the dependency appears redundant.  (In addition, the bundled vendor/ directory appears to have been built with development dependencies, meaning the distribution is unnecessarily large and prone to overriding other packages with outdated versions as well.)
Perhaps symfony/yaml can now be removed from composer.json and the vendor tree rebuilt with just the non-development dependencies?  Thanks.

Further activity such as?

I think it's only used in a single test (https://github.com/cloudflare/Cloudflare-WordPress/blob/52541ea21a81c11109b222ea7a27fbf0c401f45b/vendor/symfony/yaml/Tests/ParserTest.php#L18) ...please consider at the very least to move into a dev dependency. Order of preference:

Use https://github.com/10up/action-wordpress-plugin-deploy and include composer.json in .distignore
Remove YAML dependency (although appreciate may be a pain to rewrite that test without it)
Update to latest version
Move to dev dependency

This relates to https://github.com/cloudflare/Cloudflare-WordPress/issues/304 a little but this yaml dep is causing us a few problems which I think can be easily resolved. Thanks!

Every time I want to clear the object cache I have to disable this plugin due to this issue...obviously it's not all about me, but any movement on this seemingly small change would be greatly appreciated 🙏 .
If you specify which is your favoured approach I'm more than happy to provide a PR 😇

Use https://github.com/10up/action-wordpress-plugin-deploy and include composer.json in .distignore

I actually don't think this will help because the autoloader won't change which is where the problem lies, so can rule that one out
Another option though is to use https://github.com/coenjacobs/mozart this is used by some major plugins already,

if i understand the issue correctly here, i think this has been fixed since 4.1.0. feel free to let me know if it isn't addressed for you and we can revisit.

While 4.10 removed the other bundled dev dependencies, symfony/yaml is still listed in require rather than require-dev, still vendored by the plugin, and still autoloaded by it.   So the original problem still exists.

thanks for confirming! do you want to take a pass at addressing this?

I took a shot at it in #374.


x/build: linux-riscv64-unleashed builder is missing

From https://farmer.golang.org/:
host-linux-riscv64-unleashed: 0/0 (1 missing)

@bradfitz Are you able to get this builder up and running again? Does it just need to be restarted, or is there more work to do? Thank you.
CC @4a6f656c, @cagedmantis, @toothrot, just FYI.

No power loss or moves recently but it stopped pinging. I'll try power cycling it.

@bradfitz  This builder is still missing.

Ping @bcmills

I've put a key request on golang-dev
https://groups.google.com/g/golang-dev/c/2_u_1ib6dog/m/-H-Hn9M4AwAJ

Sorry, I'll take a look.

It's back now.
@dmitshur, you still have root on it.  I emailed you details.

What I hadn't noticed back in Oct 14, 2020 when power cycling it was that it wasn't configured to start on boot. It is now.

Thank you @bradfitz. I can see it's connected and running builds now, so closing as resolved.
@mengzhuo Would you like to proceed with your builder request, or do you think it's no longer needed given the current linux-riscv64-unleashed builder is back?

Thank you @bradfitz. I can see it's connected and running builds now, so closing as resolved.
@mengzhuo Would you like to proceed with your builder request, or do you think it's no longer needed given the current linux-riscv64-unleashed builder is back?

@dmitris
I'm glad to continue the builder request for linux-riscv64-unmatched (not unleashed) if go team needs it.

@mengzhuo I'm moving this conversation to an email thread as we discuss this further.

@dmitshur @bradfitz seems linux-riscv64-unleashed is MIA again - host-linux-riscv64-unleashed: 0/0 (1 missing) - given the discussion on #46804, perhaps we should just turn this off?

It wasn't pinging so I power cycled it and it came back, connected and doing builds.
Physical hardware is annoying. I have a network PDU with outlets I can control. Maybe I can rig up some watchdog.

Maybe we can merge Unleashed builders in one host pool by keeping host-linux-riscv64-unleashed and remove host-linux-riscv64-jsing. I think 2 builders can speed up build and trybot.

FYI:  I can't run slow-bot on riscv64 while both of riscv64 builders are offline now.
host-linux-riscv64-joelsing: 0/0 (1 missing)
host-linux-riscv64-unleashed: 0/0 (1 missing)


[#3862] improvement(docker-image): Start multiple HMSs in Kerberos Hive docker image

What changes were proposed in this pull request?
Add another Hive metastore server instance in the Hive docker iamge.
Why are the changes needed?
We are going to check if Gravitino supports Kerberos authentication with multiple HMS, so starting another HMS in the existing Kerberos Hive docker image is in great need.
Fix: #3862
Fix: #4240
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
N/A.

@mchades
Please help to take a look again

@yuqi1129 don't forget to check out and push a new branch for new image


Add schema/resolver composition

Right now it's a bit tedious to define a schema in more than one file. Types in the schema and their resolve functions also aren't exactly co-located, which makes code harder to maintain than it is.
Looking for ideas and proposals here to make composition of types easier!

We could create a simple function, something like bindSchemaAndResolvers, which would just create an object that can be the unit of composability:
const UserSchema = bindSchemaAndResolvers(`
  type User { ... }
`, {
  User: { }
});

Then you could just combine stuff by passing around arrays?
makeExecutableSchema([ UserSchema, WidgetSchema, ...]);

This becomes similar to https://github.com/apollostack/graphql-syntax#graphql-helpers which does almost the same thing but with a "registry" pattern, more similar to Meteor methods/publications which implicitly register themselves.

@helfer, take a look at graphql-utilities.

http://dev.apollodata.com/tools/graphql-tools/generate-schema.html#modularizing

@helfer and @stubailo,
What are your thoughts on what I started working on here: https://github.com/bloveit/graphql-utilities?

I think that's pretty cool! We weren't focusing on incremental adoption with graphql-tools at all, only on making it easy to build a new graphql server from scratch.
If there are modifications that can be made to graphql-tools to meet your needs I'd be happy to accept some PRs!

@stubailo,
To be honest, I think the natural approach to colocate resolves with the schema definitions would be to build GraphQL types themselves. It allows for easier integration with other tools as well as incremental adoption for somebody looking to build a server using Apollo (think that it would be easier to slowly replace the types using the schema language as opposed to having to rewrite the entire thing using graphql-tools).
To modify graphql-tools so solve these problems then the entire API would need to be changed. I really have no interest in having yet another competing library, and given that the entire Apollo stack is getting some attention I wouldn't mind taking all of the work we're doing with graphql-utilities to graphql-tools if it's something you guys would be alright with.

Yeah I think it's really important that there are different ways to build graphql schemas and servers - graphql-tools is just one way.
All of the other Apollo tooling like Apollo Client and GraphQL server and GraphQL subscriptions work even if you aren't using this package.
Anyway about your question, I don't think it would make sense to add the entire contents inside here if they aren't going to be integrated with the rest of the approach.
So how does one write resolvers with your package?

Related: graphql-modules


Facing cu timeout! issue on kv260 on custom model

Here is the log of the terminal
root@xilinx-k26-starterkit-2021_2:~/Vitis-AI/demo/VART/deep_wb_pt# xdputil benchmark deepWBnet.xmodel 1
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0304 08:00:47.421594  2168 xrt_cu.cpp:188] cu timeout! device_core_idx 0  handle=0xffffac019190 ENV_PARAM(XLNX_DPU_TIMEOUT) 10000 state 1 ERT_CMD_STATE_COMPLETED 4 ms 10009  bo=1 is_done 0
I0304 08:00:47.421727  2168 xrt_cu.cpp:99] Total: 10009604us    ToDriver:<PHONE_NUMBER>6815791us   ToCU: 0us       Complete: 0us   Done:<PHONE_NUMBER>us
F0304 08:00:47.421762  2168 dpu_control_xrt_edge.cpp:186] dpu timeout! core_idx = 0
LSTART 7  LEND 7  CSTART 1  CEND 1  SSTART 0  SEND 0  MSTART 0  MEND 0  CYCLE_L 14358228  CYCLE_H 75
*** Check failure stack trace: ***
/usr/bin/xdputil: line 20:  2167 Aborted                 /usr/bin/python3 -m xdputil $*

Hi @910560
Before you run deepWBnet.xmodel, could you please run the model from Xilinx model zoo to check if the DPU is working normally, such as resnet50
If yes, could you please share deepWBnet.xmodel file？ Thank you.

yes, both pre-built vitis-ai-library resnet50 xmodel and re-build resnet50 xmodel from docker are working well.
deepWBnet.zip
Apart from doing xdputil, I can deserialize the xmodel and get corresponding inputs size and output size. But when i try to execute_async and wait, it also produce the cu timeout.
Thanks

Hi @910560
Thank you for sharing the model.
However, I run the model successfully on my side, as shown below.

I use the KV260 2.0 image:  https://www.xilinx.com/member/forms/download/design-license-xef.html?filename=xilinx-kv260-dpu-v2021.2-v2.0.0.img.gz
So could you run the following to check the environment.

If you use the VART1.4, then you can upgrade the VART to 2.0.

thanks for your confirmation that the xmodel is working properly
the reason i have the above error is i wrong feed incorrect input shape to the model and cause the dpu somehow hang or what.
and after that i cannot perform the xdputils benchmark


Added Haskell Wikibook

Too many people keep missing it, but the Wikibook is superb and is indeed an introduction that is written for total beginners with no programming experience. It is quite thorough and valuable.
Also went and fixed the hyphens in that section to be m-dashes.

Wow, it's improved a lot since I last read it (several years ago when I was first learning Haskell)!  Thanks for mentioning this.  It's definitely a valuable addition.


SPI Begin and End

Initializes the SPI bus using the defined SPISettings.
Stop using the SPI bus. Normally this is called after de-asserting the chip select, to allow other libraries to use the SPI bus.

Bug fix, SPI_HAS_TRANSACTION

Bug fix...


There should be implemented a WeakPtr also

This code will leak because a refers to b and b refers to a and there's no possibility to fix this not using WeakPtr.
import threading/smartptrs

type
  Widget = object
    oth: SharedPtr[Widget]

var a: SharedPtr[Widget] = newSharedPtr(Widget())
var b: SharedPtr[Widget] = newSharedPtr(Widget())
a[].oth = b
b[].oth = a
echo a
echo b

Also this code goes to infinite recursion in echos.

You can use a ptr though for the "weak" pointer.

Yes I can, but also I can use ref instead of SmartPtr.
Might it be better just implement some sort of "unique" keyword in Nim itself instead of implementing a new batch of pointers copied from C++ and having the same problems which do they have in C++?
Orelse you should say "B" when spoken "A" and implement a WeakPtr too.

I don't understand your point. Adding "unique" to Nim's type system would be much more work than a library solution, obviously.

The point is that unique keyword in the Nim itself will add possibility to use any Nim supported type, not only pointers and make this library redundant.
Also this lib lacks WeakPtr, which is obviously should be there. WeakPtr is not just pointer, it is a smart pointer too: it has use count, expiration, destructor and assignment ops and could be locked (converted atomically to SharedPtr).

So add a WeakPtr, you don't have to lecture me what it is. My point was that the existing SharedPtr is far from useless as it is now and that many designs work with ptr as the "unowned" pointer type.

I'm just talking that adding unique kw to Nim itself will be better than porting some OOP solutions from C++ with all it's bugs and vulnerabilities (e.x. SharedPtr is unsafe in threading) to the language with very limited OOP.
Using ptr as unowned pointer is unsafe in this solution because WeakPtr is not a pointer itself and not providing any dot operations to underlying pointer.


Update to kodi

Just a simple update to change XBMC to Kodi in options.
I also removed the old XBMC logo image as it doesn't seem to be used anywhere.

Thanks for that.


docs(api): add server alias for serve

add server alias.
https://github.com/webpack/webpack-cli/pull/2631
To be reviewed and merged after a new release.

Please resolve the conflicts.

Moved to https://github.com/webpack/webpack.js.org/pull/4949


APP Inbox messages are not shown ( Inbox Message count is 0)

As per the documentation describe here https://developer.clevertap.com/docs/app-inbox-ios , I have implemented APP inbox View and created the campaign but not able to receive any messages.
I have created campaign for push and inapp messages and received push and in app messages but while creating campaign for app inbox no any message received.

Environment:

Xcode version:   14.2
CleverTap SDK Version: 5.1.0
Device:  iPhone11 pro
OS: iOS 16.5.1

@sarojraut Could you please your app inbox initialisation code?

private func registerAppInbox() {
CleverTap.sharedInstance()?.registerInboxUpdatedBlock {
let messageCount = CleverTap.sharedInstance()?.getInboxMessageCount()
let unreadCount = CleverTap.sharedInstance()?.getInboxMessageUnreadCount()
print("Inbox Message:(String(describing: messageCount))/(String(describing: unreadCount)) unread")
}
}
private func setUpAppInbox() {
    // Initialize the CleverTap App Inbox
    CleverTap.sharedInstance()?.initializeInbox(callback: ({ _ in
        let messageCount = CleverTap.sharedInstance()?.getInboxMessageCount()
        let unreadCount = CleverTap.sharedInstance()?.getInboxMessageUnreadCount()
        print("Inbox Message:\(String(describing: messageCount))/\(String(describing: unreadCount)) unread")
    }))
    let appInboxButton = UIBarButtonItem(image: AppConstants.AppImages.Common.appInbox, style: .plain, target: self, action: #selector(openAppInbox))
    appInboxButton.tag = NavBarItems.appInbox.tag
    addLeftItemOnNavBar(true, item: appInboxButton)
}

@objc private func openAppInbox() {
    let style = CleverTapInboxStyleConfig()
    style.title = "Notifications"
    style.backgroundColor = .white
    style.navigationBarTintColor = AppConstants.Color.mportGreen
    style.navigationTintColor = .white
    style.tabUnSelectedTextColor = .white
    style.tabSelectedTextColor = .white
    style.tabSelectedBgColor = AppConstants.Color.BodyMappPrimaryBlue
    if let inboxController = CleverTap.sharedInstance()?.newInboxViewController(with: style, andDelegate: self) {
        let navigationController = UINavigationController(rootViewController: inboxController)
        present(navigationController, animated: true, completion: nil)
    }
}

@sarojraut Could you please your app inbox initialisation code?

 private func registerAppInbox() {
        CleverTap.sharedInstance()?.registerInboxUpdatedBlock {
            let messageCount = CleverTap.sharedInstance()?.getInboxMessageCount()
            let unreadCount = CleverTap.sharedInstance()?.getInboxMessageUnreadCount()
            print("Inbox Message:\(String(describing: messageCount))/\(String(describing: unreadCount)) unread")
        }
    }

    private func setUpAppInbox() {
        // Initialize the CleverTap App Inbox
        CleverTap.sharedInstance()?.initializeInbox(callback: ({ _ in
            let messageCount = CleverTap.sharedInstance()?.getInboxMessageCount()
            let unreadCount = CleverTap.sharedInstance()?.getInboxMessageUnreadCount()
            print("Inbox Message:\(String(describing: messageCount))/\(String(describing: unreadCount)) unread")
        }))
        let appInboxButton = UIBarButtonItem(image: AppConstants.AppImages.Common.appInbox, style: .plain, target: self, action: #selector(openAppInbox))
        appInboxButton.tag = NavBarItems.appInbox.tag
        addLeftItemOnNavBar(true, item: appInboxButton)
    }

    @objc private func openAppInbox() {
        let style = CleverTapInboxStyleConfig()
        style.title = "Notifications"
        style.backgroundColor = .white
        style.navigationBarTintColor = AppConstants.Color.mportGreen
        style.navigationTintColor = .white
        style.tabUnSelectedTextColor = .white
        style.tabSelectedTextColor = .white
        style.tabSelectedBgColor = AppConstants.Color.BodyMappPrimaryBlue
        if let inboxController = CleverTap.sharedInstance()?.newInboxViewController(with: style, andDelegate: self) {
            let navigationController = UINavigationController(rootViewController: inboxController)
            present(navigationController, animated: true, completion: nil)
        }
    }

@sarojraut Code looks fine. We gave it a try in our sample apps and we seem to be getting messages for both "live" and "past" behavior campaigns.
Could you please raise a ticket through the CleverTap dashboard? Our technical account managers can take a look at the issue closely.
Alternatively, you could also check/run our sample app and give it a try: https://github.com/CleverTap/clevertap-ios-sdk/tree/master/SwiftStarter

I faced the same issue. It only works when I build my app from Xcode and It does not work when I use the production app

@akashvercetti
I also encountered a similar problem, clevertap sdk version 5.1.1 still exists, app can not receive clevertap push notification. clevertap console prompt APNSBadDeviceToken, Unable to send a notification. If you roll back to version 4.2.0, everything is normal

@sarojraut we have identified the source of this issue and are in middle of fixing/testing it. Please expect a release for this next week 👍

@sarojraut  We have released a fix for this in our latest release v5.1.2 https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/5.1.2

@sarojraut We have released a fix for this in our latest release v5.1.2 https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/5.1.2

I want to confirm whether only the inbox part is simply rolled back to the 4.2.0 version, because the 4.2.0 inbox part will cause the problem of probabilistic thread stuck.

should the app inbox display newly published messages in the realtime?


Basic Data Manipulation

Adding a new "fundamentals" tutorial.
The last section regarding Views and Snapshots could be removed if tackled in a separate tutorial and not used as gentle transition to that other notebook.

This change is


Notifications not received on iOS when app is in foreground

Observed on iPad 3 / iOS 10.3.
It appears the issue seems to have been fixed here but not yet released, see related issue.
The issue already existed in version 2.1 of the plugin and does not seem to be related to more recent versions.

Not relevant anymore as per https://github.com/kalisio/aktnmap/issues/421.


ENH: update firebase lib based on current v '^9.2.0'

##Bug description
firebase lib new version not able to import lib properly
##Root cause
wont work if use import Firebase from 'firebase/app' & import 'firebase/firestore' & import 'firebase/auth';
##Solution description
currently i'm using "firebase": "^9.2.0" after lots of research i found import Firebase from "firebase/compat/app" & import "firebase/compat/auth" & import "firebase/compat/firestore"; this solution it's working same as you mentioned in your tutorial .

Issue

Solution


[dnsping] The default resolver must not be Google

The default value for the resolver must be the local resolver, not Google. With dnspython, you can get it from dns.resolver.get_default_resolver()

And same thing with dnstraceroute.


Regex: no multiline option

A regex like this is not possible as multiline is not supported.
Regex.regex "/^.*$/gm"
Why is this left out, and what is the workaround?

Can you ask around on https://discourse.elm-lang.org/ or chat with someone on http://elmlang.herokuapp.com/ to get advice about the particular thing you want to accomplish? If it can be gotten down to an http://sscce.org/ that demonstrates the thing that's lacking, open a new issue with all the relevant info on https://github.com/elm/regex


Command Shortcut

With the objective to simplify the usage, currently I'm using a alias apm for the command aws-profile-manager. You think we can put it on the docs?
# AWS Profile Manager
alias apm='aws-profile-manager'

Hi Bruno,
First of all thank you for the feedback.
Let me think, maybe I'll do that on the different level, so you will not need to add alias in your .bashrc
Thanks,
Roman

Searching for apps that use the same name we couldn't find, but have the Atom Package Manager that uses this name.


✏ Dashboard skeleton loader

When I made the screen loaders I thought this was not needed, but now it is.
Acceptance
Create a loader screen based off of the current dashboard. This should be displayed when the profile has not yet returned.

Closed by #689


Hello. I am ru

Reporting a bug

[ ] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[ ] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

This report seems to be opened in error, https://github.com/numba/numba/issues/4392 is likely the issue contents. Closing.


Error while Instantiating the chain code

on giving command:
cd ./scripts
node install_chaincode.js
I am getting below error.
Error: First we enroll
/home/anant/marbles/utils/connection_profile_lib/parts/org.js:91
throw new Error('Admin private key is not found in the creds json file: ' + orgName);
^
Error: Admin private key is not found in the creds json file: Org1MSP
at Object.helper.getAdminPrivateKeyPEM (/home/anant/marbles/utils/connection_profile_lib/parts/org.js:91:12)
at Object.cp.makeEnrollmentOptionsUsingCert (/home/anant/marbles/utils/connection_profile_lib/index.js:238:22)
at Object. (/home/anant/marbles/scripts/install_chaincode.js:42:28)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:387:7)

try the amended readme/docs?
you likely still need to run the node enrollAdmin.js  and node registerUser.js commands from fabcar.

same here,
already run the node enrollAdmin.js and node registerUser.js commands from fabcar. but still getting:
info: First we enroll
/home/hl/code/marbles/utils/connection_profile_lib/parts/org.js:102
		throw new Error('Cannot find org.', orgName);
		^

Error: Cannot find org.
    at Object.helper.getAdminPrivateKeyPEM (/home/hl/code/marbles/utils/connection_profile_lib/parts/org.js:102:9)
    at Object.cp.makeEnrollmentOptionsUsingCert (/home/hl/code/marbles/utils/connection_profile_lib/index.js:238:22)
    at Object.<anonymous> (/home/hl/code/marbles/scripts/install_chaincode.js:42:28)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)

I have solved it in the following way.
Pls try any one of the following to solve the above 'node install_chaincode.js' error :

Make sure that the 'fabric-samples' folder is immediately inside the $HOME folder
If your 'fabric-samples' is located at some other place, make the path changes accordingly in the file 'marbles/config/connection_profile_local.json' at the lines 10, 39 and 42.

Hope it helps !

@madanuuk2 thank you, after adjusting the config file it worked like a charm 👍


ISRs, fraud proofs in Cosmos SDK and deferred execution

The Cosmos SDK currently has no way to extract ISRs without calling Commit() on the on-disk multistore which returns the CommitID that represents the state root. The cached multistore that is in deliverState contains no Commit() function and cannot be used to extract a state root. One can force committing deliverState to the multistore after each DeliverTx call, but this might have unintended consequences in the flow of the sdk context, as the main deliverState multistore is never written to until Commit(). It would also be I/O heavy in the current implementation to call that on every transaction.
To "cleanly" add ISRs to the chain data would also require a modification of the ResponseDeliverTx message which breaks compatibility with tendermint.
Additionally, given that the goal of ISRs is to enable fraud proofs, simply tacking ISRs onto that message achieves nothing, because there will be no way for nodes to actually generate fraud proofs without a significant change in the mechanism of how the SDK is used.
When a transaction is run, the transaction needs to use a state-access interface that creates an accounting of every state access, and state write, and returns that to a higher level context in the case of fraud. Without this state-accounting "wrapper", an execution of DeliverTx would either return a transaction failure due to invalid transition, but without any way for the SDK to know at which point the transition was invalid, or would succed in execution but not match the next supplied ISR, and equally the SDK in the general case would not be able to construct a fraud proof without the ability to introspect the state access and writes of a transaction. The SDK provides a TraceKVStore that keeps track of writes, but not accesses, which are needed to generate fraud proofs.
Given that this kind of state-accounting is required to generate general fraud proofs from the SDK's level, it would be more fruitful to introduce it as a foundational extension to the SDK as a wrapper/base that all rollups on Celestia should use.
In the case of an EVM-based rollup, given that in the worst case a single transaction can take up an entire block - and hence make the worst-case fraud proof require passing around an entire block's worth of state, "naive" limiting by tx gas severely harms the usability of the rollup (as state access/write will always be far more expensive and limiting overall gas to constrain fraud-proof sizes would set that bound too low). It would be far better to allow VMs/execution environments to interface with the state-accounting wrapper to explicitly set limits on state access and write, rather than relying on the too-general gas mechanic.
Fraud proofs and explicit state-accounting are a new mechanic that cannot be transparently "folded" into blockchains that are not aware of them, as it ends up imposing undue burdens at wrong levels of the execution stack.
A final problem is deferred execution, which makes it such that transactions are not run until the commit phase, and as such makes a lot of error checking and execution bounding impossible that leaves open different DoS vectors. As an example, In an EVM-based rollup, a proposer would not be able to know how much gas a transaction will actually use compared to what it sets as its allowance, and in the most general case the block proposer CANNOT fully pre-run this transaction to check how much gas it will actually use - as (example), the rollup may allow a transaction to see the set of validators that signed the committed block, and perform a different operation depending on that set, given that the block is meant to be finalized prior to any full executions taking place.
Deferred execution causes multiple layers of issues, for fraud proofs and for the ability to construct blocks optimally and prevent DoS issues. In an environment with arbitrary VM execution, it is a broken and heavily constraining mechanic that we should avoid accidentally entrenching as much as possible.

While this is an extremely valuable writeup, it is worth noting that Rollups do not really need to follow the deferred execution model. Sequencers are free to call Commit and inject the app hash in the block (with the Txs that resulted in that app hash) before publishing that block on Celestia or in the Rollups sub-network.

This was very valuable writeup, and helped with implementation.

🫡


[Hidive] HiDive said: PremiumContent (-u/-p login is broken, --cookies-from-browser won't work)

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Germany
Provide a description that is worded well enough to be understood
Hi @ all,
No matter what I try (-u -p or cookies-from-browser), I always get the error "HiDive said: PremiumContent". Am I the only one, having this issue or am I doing anything wrong? Latest stable version and latest nightly resulting in same error. Also no difference in using cookies-from-browser edge or firefox with proper user-agent.
Best Regards
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--cookies-from-browser', 'edge', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/116.0.1938.69', 'https://www.hidive.com/stream/kubo-wont-let-me-be-invisible/s01e001']
Extracting cookies from edge
[debug] Extracting cookies from: "C:\Users\xxx\AppData\Local\Microsoft\Edge\User Data\Default\Network\Cookies"
[debug] Found local state file at "C:\Users\xxx\AppData\Local\Microsoft\Edge\User Data\Local State"
Extracted 2903 cookies from edge
[debug] cookie version breakdown: {'v10': 2903, 'other': 0, 'unencrypted': 0}
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[2301b5c1b] (win32_dir)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-111587-gf803c07d2d-ga4e616824b (fdk,setts), ffprobe N-111587-gf803c07d2d-ga4e616824b, rtmpdump 2.4-20220520-g922b131-GnuTLS_3.7.8-x86_64-static
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.07.22, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1864 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[HiDive] Extracting URL: https://www.hidive.com/stream/kubo-wont-let-me-be-invisible/s01e001
[HiDive] kubo-wont-let-me-be-invisible/s01e001: Downloading JSON metadata
ERROR: [HiDive] kubo-wont-let-me-be-invisible/s01e001: HiDive said: PremiumContent
  File "yt_dlp\extractor\common.py", line 715, in extract
  File "yt_dlp\extractor\hidive.py", line 82, in _real_extract

Try exporting cookies to a text file via browser extension and passing them to yt-dlp with --cookies instead. I think HiDive is storing the auth info as a session cookie, which cannot be extracted with --cookies-from-browser.
While this issue is similar to #6493, IMO this new issue is not a duplicate, since Hidive login is also broken now, and we do not have an issue tracking that. (The old issue was closed as a duplicate of #5534, a general bug report/feature request about yt-dlp being unable to extract session cookies with --cookies-from-browser.)

As for login, I looked into this a couple months back and IIRC Hidive employs a captcha challenge upon logging in with browser now. Not sure if there's a way around it. We may need to rework the extractor's login to allow the user to pass their token/session cookie as a password or something

I exported the cookies in a file to use it as option. Still not working. But looking at the cookies.txt I've found this:
".hidive.com	TRUE	/	TRUE<PHONE_NUMBER>	UserStatus	Trial"
I am using a new account and am still in the trial period. For it works in the browser itself, maybe this is the problem it does not work with yt-dlp?
For I am not in a hurry, I just think it might help to wait till first payment in 7 days and have a look again.

can you please post a verbose log demonstrating that -u/-p doesn't work?

can you please post a verbose log demonstrating that -u/-p doesn't work?

https://github.com/yt-dlp/yt-dlp/issues/6493#issuecomment-1693538651
It shows logging then return PremiumContent without debug errors.

[debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', '--cookies', 'cookies.txt', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0', 'https://www.hidive.com/stream/kubo-wont-let-me-be-invisible/s01e001']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[d3d81cc98] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-111587-gf803c07d2d-ga4e616824b (fdk,setts), ffprobe N-111587-gf803c07d2d-ga4e616824b, rtmpdump 2.4-20220520-g922b131-GnuTLS_3.7.8-x86_64-static
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.07.22, mutagen-1.47.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1864 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: b9c1cda74d2a2aaa37a9c1c7475b9f54a5f79bf22b362341fb2e63cfda2644a6
yt-dlp is up to date<EMAIL_ADDRESS>[HiDive] None: Downloading webpage
[HiDive] Logging in
[HiDive] Extracting URL: https://www.hidive.com/stream/kubo-wont-let-me-be-invisible/s01e001
[HiDive] kubo-wont-let-me-be-invisible/s01e001: Downloading JSON metadata
ERROR: [HiDive] kubo-wont-let-me-be-invisible/s01e001: HiDive said: PremiumContent
File "yt_dlp\extractor\common.py", line 715, in extract
File "yt_dlp\extractor\hidive.py", line 82, in _real_extract

Okay, please don't get mad on me. ... I can garantuee it did not work that day. But the exact same command line is working today.

No worries. I was able to reproduce this same issue a couple months ago with an account that was shared to me. Not sure if it was also a new account, or if that's that cause of the issue. But it's not just you

So using -u/-p is working without further issues for me now, I am closing this.

This issue can be re-opened if you begin experiencing the issue again, or if anyone else reports experiencing it

Try exporting cookies to a text file via browser extension and passing them to yt-dlp with --cookies instead.

I can confirm that this method is working because it starts downloading immediately.
Extracting cookies from chrome
Extracted 514 cookies from chrome
[HiDive] Extracting URL: https://www.hidive.com/stream/dark-gathering/s01e012
[HiDive] dark-gathering/s01e012: Downloading JSON metadata
[HiDive] dark-gathering/s01e012: Downloading m3u8 information
[info] dark-gathering/s01e012: Downloading subtitles: english-subs
[info] dark-gathering/s01e012: Downloading 1 format(s): ja_br_or-6357
[info] Writing video subtitles to: /Users/tama/Downloads/Dark Gathering Episode 12 - The Castle H Ruins, Danger Rank S!.english-subs.vtt
[download] Destination: /Users/tama/Downloads/Dark Gathering Episode 12 - The Castle H Ruins, Danger Rank S!.english-subs.vtt
[download] 100% of   34.42KiB in 00:00:00 at 284.60KiB/s
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 144
[download] Destination: /Users/tama/Downloads/Dark Gathering Episode 12 - The Castle H Ruins, Danger Rank S!.mp4
[download] 100% of  579.36MiB in 00:01:06 at 8.67MiB/s
[FixupM3u8] Fixing MPEG-TS in MP4 container of "/Users/tama/Downloads/Dark Gathering Episode 12 - The Castle H Ruins, Danger Rank S!.mp4"

However, I still have the issue of not being able to stream it directly with mpv. Not sure if this is an mpv issue.
mpv https://www.hidive.com/stream/dark-gathering/s01e012

Not seekable, but enabling seeking on user request.
[ffmpeg] https: HTTP error 404 Not Found
Failed to open https://www.hidive.com/manifest/child/f5769a4663272672867acf7397806edbb13824ea/DKG_s01e012_tv_br_or_ja_xx_HLS1080p_16x9_01_v.m3u8?#=.

Exiting... (Errors when loading file)

Found this issue when searching, and I'm actually experiencing it myself, both when using CLI to supply the username and password and also with netrc.
[debug] Command-line config: ['-vvv', 'https://www.hidive.com/stream/the-dangers-in-my-heart/s02e013']
[debug] User config "/home/parent5446/.config/yt-dlp.conf": ['--netrc', '--cookies-from-browser', 'firefox', '--retries', 'infinite', '--mark-watched', '--embed-thumbnail']
Extracting cookies from firefox
[debug] Extracting cookies from: "/home/parent5446/.mozilla/firefox/uiisyysg.default-release/cookies.sqlite"
Extracted 1669 cookies from firefox
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [f10589e34]
[debug] Lazy loading extractors is disabled
[debug] Python 3.12.2 (CPython x86_64 64bit) - Linux-6.7.6-200.fc39.x86_64-x86_64-with-glibc2.38 (OpenSSL 3.1.1 30 May 2023, glibc 2.38)
[debug] exe versions: ffmpeg 6.0.1 (setts), ffprobe 6.0.1
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.05.07, mutagen-1.46.0, requests-2.28.2, secretstorage-3.3.3, sqlite3-3.42.0, urllib3-1.26.18, websockets-11.0.3
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1798 extractors
[HiDive] None: Downloading webpage
[HiDive] Logging in
[HiDive] Extracting URL: https://www.hidive.com/stream/the-dangers-in-my-heart/s02e013
[HiDive] the-dangers-in-my-heart/s02e013: Downloading JSON metadata
ERROR: [HiDive] the-dangers-in-my-heart/s02e013: HiDive said: PremiumContent
  File "/usr/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 718, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/yt_dlp/extractor/hidive.py", line 82, in _real_extract
    raise ExtractorError(

Yep I've tried with a large variety of options. The only thing that works is manually exporting cookies from Firefox while logged in.
I think the problem is it has trouble logging in, perhaps due to CAPTCHA issues mentioned in existing issues. But if that's the case it should probably throw an error rather than silently succeeding.

Closing due to #9385


Optimization PINMemoryCache trim to date

I notice PINMemoryCache had some usage for trim to age limit recursively.
Every time ordering the createdDates for trim to age is so expensive, and we don't use the sort of container any more for other scene.
So, instead of sort the container, we could delete the expired objects with a for loop directly.
Time Complexity： (√n * n + (expired count) )      ->       n

I run all tests locally. No errors occurred!

Yes! It's not your fault, it's the build machine, I'll either fix or merge, thank you for the PR!

          1 Warning

:warning:
Any source code changes should have an entry in CHANGELOG.md or have #trivial in their title.

  Generated by :no_entry_sign: Danger

          1 Warning

:warning:
Any source code changes should have an entry in CHANGELOG.md or have #trivial in their title.

  Generated by :no_entry_sign: Danger

@garrettmoon. Could you take a look ? Thanks!

🚫 CI failed with log


Clicking on Search causes an Application Error

Expected Behavior
When I click on the search input on the top left I expect the search input to open.
Actual Behavior
The following application error shows up

Reproduction Steps

Click the Search input field on the top left of the screen
An application Error shows up

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
Note that this is not happening when using the keyboard shortcut (⌘P on Mac).
Insomnia Version
develop branch
What operating system are you using?
macOS
Operating System Version
Mac OS Sonoma 14.3.1
Installation method
running the latest develop version
Last Known Working Insomnia version
No response

I have a fix ready for this (see commit above). I'd be happy to publish a PR is this issue is confirmed.

@andrea-mauro if you have a fix, I suggest to open the PR so we can take a look at what the fix looks like. It works in my tests, but you may be addressing some edge case.


NETOBSERV-79 Added ip addresses columns and special sorting for them

Numerical sorting was already done, at the end this task was more about adding address columns and their sorting.

@jpinsonneau I think this PR will conflict with yours.
Since this one is very small we can wait to merge it if you want.

IMO we should have sorting functions in both backend and frontend.

backend (or directly with loki) because if a user ask for refresh, we want to provide the last flows based on the current sorting column
frontend because if a user wants to sort current row diffrently, we don't need to query the backend again.

I guess this will depend of how we are going to manage paging right ?


Book: Team Topologies

https://teamtopologies.com
See especially the key concepts.
My one-liner for this book is, "it follows Conway's Law all the way down". After a very quick look at this repo I think you'd enjoy it.

@davidkuster  thanks.  I will have a look!


FATAL ERROR in nodejs 8.0.0

var passport = require('passport');

FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.
Press any key to continue...

this is not your issue, sorry


Update circe-core, circe-parser to 0.14.3

Updates

io.circe:circe-core
io.circe:circe-parser

from 0.14.2 to 0.14.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Codecov Report
Base: 88.76% // Head: 88.49% // Decreases project coverage by -0.27% :warning:

Coverage data is based on head (f0bba1f) compared to base (b69b54d).
Patch coverage: 80.43% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #351      +/-   ##
==========================================
- Coverage   88.76%   88.49%   -0.28%
==========================================
  Files          91       91
  Lines        2812     2902      +90
  Branches      157      160       +3
==========================================
+ Hits         2496     2568      +72
- Misses        316      334      +18

Impacted Files
Coverage Δ

...rc/main/scala/kinesis/mock/cache/CacheConfig.scala
62.79% <50.00%> (-6.86%)
:arrow_down:

src/main/scala/kinesis/mock/ErrorResponse.scala
57.14% <57.14%> (-42.86%)
:arrow_down:

.../main/scala/kinesis/mock/cache/PersistConfig.scala
81.25% <100.00%> (+11.25%)
:arrow_up:

...rc/main/scala/kinesis/mock/models/StreamData.scala
100.00% <100.00%> (ø)

src/main/scala/kinesis/mock/models/Streams.scala
57.14% <100.00%> (+7.14%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


how to increase buffer size?

Hello! Can you help me, please?
I want to add some additional data to file from external source. I load file with jBinary.load method. Then how can I add some addition bytes to it?
I tried to create a new buffer with binary.view.byteLength + nededSize size. Then I iterate through binary.view.buffer and copy it's bytes. But I found that it is empty structure.
Also I tried this:
var newBinary = new jBinary(binary.view.byteLength + 128);
    for (var i = 0; i < binary.view.byteLength; i++) {
        newBinary.write('uint8', binary.read('uint8'));
    }
}

It's really terrible for browser
So is it possible to change buffer size?

Memory is statically allocated, so you can't change buffer size of existing instance. However, you can create new instance and copy data efficiently by using binary type (it's listed in docs):
var newBinary = new jBinary(binary.view.byteLength + 128);
newBinary.write('binary', oldBinary);

Omg. That's awesome! Thank for this lib!


reconciler: Do not infer clairpostgres state from config editor (PROJQUAY-4328)

The reconfigure endpoint is setting ClairPostgres as managed if it does not contain configuration values for it
This should not happen here, since the config editor does not expose this configuration

/cherrypick redhat-3.7


Costome yolo model not work

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(100, Error on load Yolov5 model, java.lang.IllegalArgumentException: Internal error: Cannot create interpreter: Following operations are not supported by GPU delegate:
E/flutter (12733): DELEGATE TfLiteFlexDelegate: Operation is not supported.
E/flutter (12733): DEQUANTIZE:
E/flutter (12733): 35 operations will run on the GPU, and the remaining 340 operations will run on the CPU.
E/flutter (12733): Can not open OpenCL library on this device - dlopen failed: library "libOpenCL.so" not found
E/flutter (12733): Falling back to OpenGL
E/flutter (12733): TfLiteGpuDelegate Init: No shader implementation for transpose
E/flutter (12733): TfLiteGpuDelegate Prepare: delegate is not initialized

I think this error happened because you used the GPU option, but your device does not have a GPU. Please run the program again with the GPU option set to false and come back to share your results. Thank you.


TypeError: 'type' object is not subscriptable

❯ utd
Traceback (most recent call last):
File "/home/wukaige/.local/bin/utd", line 4, in
from cli.app import show
File "/home/wukaige/.opt/ugly-todo/src/cli/app.py", line 5, in
from util import notify
File "/home/wukaige/.opt/ugly-todo/src/util.py", line 4, in
PaddingSize = tuple[int, int] | tuple[int, int, int, int]
TypeError: 'type' object is not subscriptable
❯ python --version
Python 3.8.10
❯ pip list | grep rich
rich                          11.2.0
why?

This happened because of the way I wrote the type hints, it's only supported by python3.10+ if I'm not mistaken. I'd suggest you to uptade your python version to the latest version, that should solve the problem.

@Murzchnvok
❯ python --version
Python 3.10.0
❯ utd
Traceback (most recent call last):
File "/home/wukaige/.local/bin/utd", line 4, in
from cli.app import show
File "/home/wukaige/.opt/ugly-todo/src/cli/app.py", line 5, in
from util import notify
File "/home/wukaige/.opt/ugly-todo/src/util.py", line 4, in
PaddingSize = tuple[int, int] | tuple[int, int, int, int]
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'types.GenericAlias'

@Murzchnvok
❯ python --version
Python 3.10.2
❯ utd
Traceback (most recent call last):
File "/home/wukaige/.local/bin/utd", line 4, in
from cli.app import show
File "/home/wukaige/.opt/ugly-todo/src/cli/app.py", line 5, in
from util import notify
File "/home/wukaige/.opt/ugly-todo/src/util.py", line 4, in
PaddingSize = tuple[int, int] | tuple[int, int, int, int]
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'types.GenericAlias'
what happened？

Not sure, unfortunately I don't know how to reproduce the same problem.


Feature request: install from Gitlab

Proposed syntax fisher gitlab:Rush/foo

Sure. We can do that.

Hey @jbucaran while we are at it might as well do bitbucket to if it isn't already.

or any git server. I'd love to be able to use fisherman with my 'gogs' install.

@pkpowell For WIW, this feature request is to expand gitlab:Rush/foo to https://gitlab.com/Rush/foo.git.
In the case of a custom gogs server, you just need to use the full URL, so I believe you can already use fisherman with your gogs install.

Ah, sorry about that.
I did try using the full URL and got
fisher gogs@mini.local:phil/fish_settings.git
Installing 1 plugin/s
! Fetch gogs github.com/fisherman/gogs (mini.local:phil/fish_settings)
! There was an error installing gogs or more plugin/s.
 Fetch fish_settings github.com/http://mini.local:3210/phil/fish_settings
! There was an error installing fish_settings or more plugin/s.
Try using a namespace before the plugin name: owner/fish_settings
It looks like github.com/is hardcoded.
This is on fisherman version 2.10.0 ~/.config/fish/functions/fisher.fish

@pkpowell Ouch! 😅

It looks like github.com/is hardcoded.

Yes, kind of. Fisherman thinks this is not an URL, so it adds github.com/ to it.

gogs@mini.local:phil/fish_settings.git

Is not a URL pattern fisherman knows yet. You should be able to get away with an http/s like URL for the moment.

So I stuck case http://\* into the switch statement around line 557, and the URL now looks fine (no github insert), but I still get the same error:
fisher http://mini.local:3210/phil/fish_settings.git
Installing 1 plugin/s?
! Fetch fish_settings http://mini.local:3210/phil/fish_settings
! There was an error installing fish_settings or more plugin/s.
Try using a namespace before the plugin name: owner/fish_settings
My git server requires authentication, so I tried adding my auth to the URL http://name:password@mini.local:3210/phil/fish_settings.git but that was interpreted as an URL.
Is there a proper way to send authorisation?

@pkpowell I will look into why using your auth in the URL fails when 2.11 is ready.
For GitHub we got:
set -x GITHUB_USER your_username
set -x GITHUB_TOKEN your_github_api_token_for_fisherman

but that does not help you I know.
Out of curiosity, have you tried installing a plugin from one of your servers that does not require auth?

yep, that worked!
Weirdly it now seems that all my repos are open (no biggie as the server's not publically accessible) - will pass that on to the gogs people.
Any chance case http://\* will make it's way into the repo so it's still there after I update?
Cheers & thanks

@pkpowell Right, we don't check for case http://\*, but we could, no probs.

awesome! thanks

@Rush Decided on gitlab.com/Rush/foo or bitbucket.org/Rush/foo for ease of implementation.

Should add it to the readme because it works but it's not obvious!


test: twister: fix status structure change for pack issue

add default test suite status as NOT RUN
fixes: #80119

@LukaszMrugala do you see the blackbox testing failure before? it is ok in python 3.10, 3.12, 3.13, but only fails on v3.11.

.. the baclkbox test for report seems has logic error on this ...  so I revert to my original fixes, as this is critical for our board testing.

@LukaszMrugala do you have, by chance, your fix already for this issue with the corresponding tests updates ?

.. the baclkbox test for report seems has logic error on this ...  so I revert to my original fixes, as this is critical for our board testing.

@LukaszMrugala do you have, by chance, your fix already for this issue with the corresponding tests updates ?

I'm working on it. The --build-only->--test-only case (test_runtest_only) I've fixed, I'm yet to look at the footprint problems.

I'm working on it. The --build-only->--test-only case (test_runtest_only) I've fixed, I'm yet to look at the footprint problems.

footprint ones need remove the reason in report, or update testcase, and please also check with
scripts/twister -j 10 --prep-artifacts-for-testing --package-artifacts frdm_mcxn236_twister_test_only.tar.gz --inline-logs -T samples/hello_world/ -p frdm_mcxn236