Unable to box value inside under function

https://www.uiua.org/pad?src=0_4_1__TnVtcyDihpAgeyJvbmUiICJ0d28iICJ0aHJlZSIgImZvdXIiICJmaXZlIiAic2l4IiAic2V2ZW4iICJlaWdodCIgIm5pbmUifQpUZXh0IOKGkCDilqEib25lMTIzNG5pbmUiClJlcERhdGEg4oaQIOKKg-KKmeKKmeKImCjiipcx4oqQ4oyVKSDiiplUZXh0IDog4qe7IC4g4pahICJuaW5lIgriipDijZwo4oa74oqZ4oiYKSjiioIgK0AwIOKKlyAxIGR1bXDiiJgg4oiK4pahIGR1bXDiiJggTnVtcyDilqHiiqI64oaYOuKImCkg4oqDKOKKjzN84oqPMXziio8yKSAuIOKKguKKguKKgiBSZXBEYXRhCuKIik51bXMg4pahIm5pbmUiCg==
relevant line:
⊐⍜(↻⊙∘)(⊂ +@0 ⊗ 1 ⊐∊□ dump∘ Nums □⊢:↘:∘) ⊃(⊏3|⊏1|⊏2) . ⊂⊂⊂ RepData
the □⊢ refuses to box and thus member will not work, am I reading this wrong or is it a bug ? (solving advent of code day 1 fore referrence)

pack is surrounding that entire under.
So any boxing you do will be undone.

Shouldnt that unboxing be done when function result arrives as an argument to the function, and not affect what happens inside?
With latest changes this now works as intended
https://www.uiua.org/pad?src=0_4_1__TnVtcyDihpAgeyJvbmUiICJ0d28iICJ0aHJlZSIgImZvdXIiICJmaXZlIiAic2l4IiAic2V2ZW4iICJlaWdodCIgIm5pbmUifQpUZXh0IOKGkCDilqEib25lMTIzNG5pbmUiClJlcERhdGEg4oaQIOKKg-KKmeKKmeKImCjiipcx4oqQ4oyVKSDiiplUZXh0IDog4qe7IC4g4pahICJvbmUiCuKNnCjihrspKOKKgiArQDEg4oqXIDEgZHVtcOKImCDiiIpOdW1zIOKKojrihpg64oiYKSDiioMo4oqU4oqPM3ziipTiio8xfOKKlOKKjzIpIC4g4oqC4oqC4oqCIFJlcERhdGEK4oiKTnVtcyDilqEibmluZSIK
However I'm not able to use dump ID inside first under function to get stack, reports no inverse found, shouldn't it ignore dump?

It should, it's just not implemented yet.

under dump is now implemented and available in the latest version.


add Mikrotik as Cli client

Small change to recognize Mikrotik http fetch as Cli client

Can you add an appropriate test case to TestCLIMatcher in http_test.go?

Added

TestCLIMatcher, but feel free to keep the one you added as well.


Update scalafmt-core to 3.0.6

Updates org.scalameta:scalafmt-core from 3.0.5 to 3.0.6.
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch

Codecov Report

Merging #192 (2ab1294) into develop (9e5863b) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop     #192   +/-   ##
========================================
  Coverage    50.58%   50.58%
========================================
  Files            5        5
  Lines           85       85
========================================
  Hits            43       43
  Misses          42       42

Impacted Files
Coverage Δ

src/main/scala/app/Api.scala
100.00% <ø> (ø)

src/main/scala/app/Config.scala
0.00% <0.00%> (ø)

src/main/scala/app/Main.scala
0.00% <ø> (ø)

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 9e5863b...2ab1294. Read the comment docs.


AttributeError: 'GPUArray' object has no attribute 'argmax'

ubgpu@ubgpu:~/github/chainer$ python examples/sentiment/train_sentiment.py --gpu=0
Epoch: 0
loss: 270866.15
11.64 iters/sec, 734.28 sec
Epoch: 1
loss: 232619.31
10.74 iters/sec, 795.38 sec
Epoch: 2
loss: 218530.70
10.43 iters/sec, 819.13 sec
Epoch: 3
loss: 208379.96
10.66 iters/sec, 801.55 sec
Epoch: 4
loss: 199109.27
10.76 iters/sec, 793.75 sec
Train data evaluation:
Traceback (most recent call last):
File "examples/sentiment/train_sentiment.py", line 185, in
evaluate(train_trees)
File "examples/sentiment/train_sentiment.py", line 124, in evaluate
traverse(tree, train=False, evaluate=result)
File "examples/sentiment/train_sentiment.py", line 93, in traverse
left_loss, left = traverse(left_node, train=train, evaluate=evaluate, root=False)
File "examples/sentiment/train_sentiment.py", line 93, in traverse
left_loss, left = traverse(left_node, train=train, evaluate=evaluate, root=False)
File "examples/sentiment/train_sentiment.py", line 93, in traverse
left_loss, left = traverse(left_node, train=train, evaluate=evaluate, root=False)
File "examples/sentiment/train_sentiment.py", line 93, in traverse
left_loss, left = traverse(left_node, train=train, evaluate=evaluate, root=False)
File "examples/sentiment/train_sentiment.py", line 108, in traverse
predict = y.data.argmax(1)
AttributeError: 'GPUArray' object has no attribute 'argmax'
ubgpu@ubgpu:~/github/chainer$

Sorry, it is a known bug, and is fixed in the master branch. Wait the next version or use the master branch.
See this patch: https://github.com/pfnet/chainer/pull/30


v1.0.0b2: Types not working correctly when Literals not used for stream parameter for completions.create

Describe the bug
When stream is a bool variable, typing does not select the correct overloaded function implementation in  client.chat.completions.create. This results in the following error:
Argument of type "bool" cannot be assigned to parameter "stream" of type "Literal[True]" in function "create"
  "bool" cannot be assigned to type "Literal[True]"Pylance[reportGeneralTypeIssues](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportGeneralTypeIssues)

Passing in a Literal works as expected, and so does 'unpacking' the dynamic value into Literals.
It appears that typing does not select the overloaded function correctly that contains the relevant types (line 624 in Async Completions):
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,

To Reproduce
The following code doesn't work:
client = AsyncOpenAI()
stream = True if 0 == 0 else False

await client.chat.completions.create(
    model=request.model,
    messages=[
        {
            "role": "user",
            "content": "",
        },
    ],
    stream=stream,
)

This code works correctly:
client = AsyncOpenAI()
stream = True if 0 == 0 else False
if (stream == True):
    await client.chat.completions.create(
        model=request.model,
        messages=[
            {
                "role": "user",
                "content": "",
            },
        ],
        stream=stream,
    )
else:
    await client.chat.completions.create(
        model=request.model,
        messages=[
            {
                "role": "user",
                "content": "",
            },
        ],
        stream=stream,
    )

Code snippets
No response
OS
macOS
Python version
3.9.13
Library version
1.0.0b2

Thanks for the bug report! We're looking into this.
I think the line you mentioned isn't what's causing the error as despite its name, Literal[True] | Literal[False] will be treated the same as bool by type checkers. I suspect the actual issue is that we're missing another overload definition that returns ChatCompletion | Stream[ChatCompletionChunk] if stream is a bool.


Switch from TSLint to ESLint

TSLint is now deprecated, would be good if we switch could to ESLint.
Optionally, with Prettier, to help ensure code format.

https://github.com/vscode-shellcheck/vscode-shellcheck/pull/302
https://github.com/vscode-shellcheck/vscode-shellcheck/pull/305


How is the video motion score calculated in this solution, or which open-source library is used?

The details will be released in our paper, coming soon.


Please don't import eventlet even if it's available

This code has two problems:
try:
    import eventlet
    try:
        from eventlet.green import urllib2 as eventlet_urllib2
    except ImportError:
        from eventlet.green.urllib import request as eventlet_urllib2
    has_eventlet = True
except:
    has_eventlet = False

Bare except: is evil, please catch a specific exception, ImportError in this case.
I am trying to get rid of eventlet in my code base, and so I have an assertion in my code: assert 'eventlet' not in sys.modules.  Unconditionally importing eventlet makes it fail that assertion.  Instead, could you please get the module only if it's already imported?  if 'eventlet' in sys.modules: stuff.

@gjcarneiro this is a standard practice for import detection. sys.module test would actually break if your code imported raven before eventlet.
That said, I'd be open to just not importing our eventlet code, ever. We can leave it up to the user at this point.

@gjcarneiro After you import raven, perhaps you could pop the eventlet off of sys.modules?

We have hit another problem thanks to that import. Raven assumes that if eventlet is available it is desired and should be used. We have a Celery app which is run in a number of separate processes, not all of them using eventlet. eg.
run_workers -P prefork
run_workers -P eventlet

The one run on preforked python processes is failing miserably because certain libs got typical eventlet magic treatment after the import.
Would you guys accept a patch with environment variable stopping the check altogether? i.e. shortcut to setting has_eventlet to False without imports.
What do you think? Thanks in advance.


Support for vertical logo

This updates a few things in order to add support for a vertical logo (as the default) and make stuff a bit easier to use. With the default import:
@import 'chef';

... you now get the 12-column layout with a vertically oriented logo (like what we see at www.chef.io today), whereas with the optional wide layout:
@import 'chef/layouts/wide';
@import 'chef';

... you get a full-screen layout with horizontally oriented logo. The inverse theme is available also. Everything should be Sass-configurable with corp-like defaults. Static consumers can specify logo-horizontal (and/or logo-inverse) to get exactly what they need as well.

I see a couple more things I'd like to do here; will push some updates this morning.

This should be good to go now.

:+1:


Slow consumer on some topic/partitions

Description
We have several consumers instances running inside same application. Each consumer subscribed to different topic, each topic with different message type.
Topics have very different partition numbers, ex: 1 topic 30partitions, another topic 1 or 2 partitions.
We have noticed that the topic with few partitions number (1 or 2) is consumed very slowly compared with the topic with large partitions number.
Volume of messages and size is bigger in topic with 30 partitions (thousands).
In topic with 1 or 2 partitions there is less than hundreds messages.
Any explanation of this situation ?
There is any way to define priority for a consumer instance or at topic level ??

Description
We have several consumers instances running inside same application. Each consumer subscribed to different topic, each topic with different message type. Topics have very different partition numbers, ex: 1 topic 30partitions, another topic 1 or 2 partitions.
We have noticed that the topic with few partitions number (1 or 2) is consumed very slowly compared with the topic with large partitions number. Volume of messages and size is bigger in topic with 30 partitions (thousands). In topic with 1 or 2 partitions there is less than hundreds messages.
Any explanation of this situation ?
There is any way to define priority for a consumer instance or at topic level ??

Hi @alfhv
actually your issue is a bit hard to understand ! because it could be because of your Kafka hasn't configured well on the server etc.. , anyway you can define queue priority. for more info please check link, click on link

this priority configuration exists in dotnet implementation ??

There is any way to define priority for a consumer instance or at topic level ??

no. the logic for determining which partitions to fetch is fixed.
i can see some benefit in making this an advanced configuration (though it is unlikely to get prioritized soon).


Remove Mike Heagin from UGRC accounts (after Dec 29, 2023)

Remove Mike from UGRC accounts

Name: Mike Heagin

Mike is retiring on December 29, 2023 so we'll need to remove him from all the appropriate places and locations.
Action items

Assign a person who should complete the task.
Check [x] the box when the task is completed and add the date of completion.
~Strike~ out all items that do not apply.

I used our stackoverflow team list to get us going

[ ] Bitwarden account (@steveoh, completed: 2022/00/00)
[ ] Google Analytics user (name, completed: 2022/00/00)
[ ] github.com organization (@steveoh, completed: 2022/00/00)
[ ] Facebook settings (name, completed: 2022/00/00)
[ ] Twitter account settings (name, completed: 2022/00/00)
[ ] ArcGIS Online user (@MichaelAGRC, completed: 2022/00/00)
[ ] Discover Server user (@jacobdadams or @rkelson, completed: 2022/00/00)
[ ] License Manager user (@MichaelAGRC, completed: 2022/00/00)
[ ] Admin app accounts (permission proxy) (name, completed: 2022/00/00)
[ ] Trello (@nathankota, completed: 2022/00/00)
[ ] Drive shares (@brigsz, completed: 2022/00/00)
[ ] Slack (@steveoh, completed: 2022/00/00)
[ ] Google team drive (@brigsz, completed: 2022/00/00)
[ ] Agrcgroup google group (@brigsz, completed: 2022/00/00)
[ ] Pluralsight form (@steveoh, completed: 2022/00/00)
[ ] UMD Access to databases (name, completed: 2022/00/00)
[ ] Zabbix monitoring groups (name, completed: 2022/00/00)
[ ] GCP projects/service accounts (@steveoh, completed: 2022/00/00)
[ ] Service Now Group removal (@nathankota, completed: 2022/00/00)
[ ] Website contact page (@gregbunce, completed: 2022/00/00)
[ ] Forklift emails (@stdavis or @steveoh, completed: 2022/00/00)
[ ] Citrix access (@gregbunce, completed: 2022/00/00)
[ ] UGRC API keys (name, completed: 2022/00/00)
[ ] Sendgrid API keys (name, completed: 2022/00/00)
[ ] Stackoverflow teams account (@steveoh, completed: 2022/00/00)

:robot: Automation validation

Assign yourself or someone to check the item.
Check [x] the box and add the date of verification 2020/01/01 when the task is verified.
~Strike~ out all items that do not apply.

Notification
~- [ ] Twitter (@steveoh)~
Group Task Assignments

Check [x] the box when you have assigned all the tasks relevant to your group.

[x] Data Team (@gregbunce)
[ ] Dev Team (@steveoh)
[ ] Cadastre Team (@rkelson)

Offical last day in 29th Dec. so please don't disconnect anything I will need to finish my career before then.  Thanks

Please review the assignments and update names as appropriate.
I kind of broke the rules and started assigning folks just to get the ball rolling.

conductor results for tasks - 287

check
status

@steveoh has completed 0 out of 8 tasks
:no_entry:

@MichaelAGRC has completed 0 out of 2 tasks
:no_entry:

@rkelson has completed 0 out of 2 tasks
:no_entry:

@nathankota has completed 0 out of 2 tasks
:no_entry:

@brigsz has completed 0 out of 3 tasks
:no_entry:

@gregbunce has completed 1 out of 3 tasks
:no_entry:

@gregbunce and @seanfernandez should we remove these assignments or update them with another contact for the gis website?

Doesn't look like he had a unique Discover user, crossed out that line.

@gregbunce and @seanfernandez should we remove these assignments or update them with another contact for the gis website?

Yup, that would be Denise. I can take care of it.

conductor results for tasks - 287

check
status

@steveoh has completed 12 out of 14 tasks
:no_entry:

MichaelAGRC has completed 3 out of 3 tasks
:+1:

@stdavis has completed 0 out of 2 tasks
:no_entry:

nathankota has completed 2 out of 2 tasks
:+1:

@brigsz has completed 0 out of 3 tasks
:no_entry:

gregbunce has completed 4 out of 4 tasks
:+1:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for tasks - 287

check
status

steveoh has completed 14 out of 14 tasks
:+1:

MichaelAGRC has completed 3 out of 3 tasks
:+1:

stdavis has completed 2 out of 2 tasks
:+1:

nathankota has completed 2 out of 2 tasks
:+1:

@brigsz has completed 0 out of 3 tasks
:no_entry:

gregbunce has completed 4 out of 4 tasks
:+1:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for tasks - 287

check
status

steveoh has completed 14 out of 14 tasks
:+1:

@seanfernandez has completed 0 out of 1 tasks
:no_entry:

MichaelAGRC has completed 3 out of 3 tasks
:+1:

rkelson has completed 2 out of 2 tasks
:+1:

stdavis has completed 2 out of 2 tasks
:+1:

nathankota has completed 2 out of 2 tasks
:+1:

@brigsz has completed 2 out of 3 tasks
:no_entry:

gregbunce has completed 4 out of 4 tasks
:+1:

I far as I can tell, all boxes have been checked and all tasks completed correctly


Keyboard

Getting error: Failed to initialize keyboard hotkeys through kernel
idk why

Try restarting winlogon.exe or restart your target computer.

尝试重新启动winlogon.exe或重新启动目标计算机。
I have restarted many times, but still cannot initialize. I am still unable to obtain QueryValue

尝试重新启动winlogon.exe或重新启动目标计算机。

I have restarted many times, but still cannot initialize. I am still unable to obtain QueryValue

尝试重新启动winlogon.exe或重新启动目标计算机。

I have restarted many times, but still cannot initialize. I am still unable to obtain QueryValue

Could you provide more information about the issue so I actually know what's happening?

尝试重新启动winlogon.exe或重新启动目标计算机。

我已经重新启动了很多次，但仍然无法初始化。我仍然无法获取 QueryValue

您能否提供有关该问题的更多信息，以便我真正了解发生了什么？

eat_map->cMap == NULL

Having the same issue

To be precise, inside of InputManager.cpp it fails to get winversion because inside of Registry.QueryValue() it fails the:
if (!mem.vHandle)
	return "";

and returns nothing

Make sure you initialize the mem first using mem.init("executable");

Yes thank you for your time, problem solved.
For anyone with that problem ->
I was creating an object Memory mem but it was already in the library, I just used that one and it worked.


Open ssl 1 1 0 stable

Corrected Visual Studio compile warning C4090 in lhash.h

How do I get permission to check a file in with Git. Username is rrip. Currently I get error 403.On Wednesday, November 16, 2016 5:35 PM, Richard Levitte wrote:
Date: Wed, 16 Nov 2016 15:35:38 -0800
From: Richard Levitte
To: openssl/openssl<EMAIL_ADDRESS>cc: Robert Ripberger<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [openssl/openssl] Open ssl 1 1 0 stable (#1937)
Closed #1937.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You cannot contribute directly, you have to make a pull request and then it gets reviewed and merged by one of the openssl team members.  If you need it, here's a reasonable tutorial: https://yangsu.github.io/pull-request-tutorial/

still getting error 403 when creating a branch

You're doing it wrong.  You fork the repo into your space, create a branch there for your work, push the branch to github, and then on your branch click on "make pull request."  Sorry, can't offer any more advice than search the online docs.


index.d.ts, found version 4, expected 3, resolving symbol

When I update to the latest version via "npm update" I get the following error.
<EMAIL_ADDRESS>found version 4, expected 3, resolving symbol.
I fixed this issue temporarily with npm install<EMAIL_ADDRESS>My package.json dependencies:
 "@angular/animations": "^4.4.6",     "@angular/cdk": "^2.0.0-beta.12",     "@angular/common": "^4.4.6",     "@angular/compiler": "^4.4.6",     "@angular/core": "^4.4.6",     "@angular/flex-layout": "^2.0.0-rc.1",     "@angular/forms": "^4.4.6",     "@angular/http": "^4.4.6",     "@angular/material": "^2.0.0-beta.12",     "@angular/platform-browser": "^4.4.6",     "@angular/platform-browser-dynamic": "^4.4.6",     "@angular/router": "^4.4.6",     "@asymmetrik/ngx-leaflet": "^2.6.1",     "@asymmetrik/ngx-leaflet-draw": "^2.7.0",     "angular2-busy": "^2.0.4",     "core-js": "^2.5.3",     "hammerjs": "^2.0.8",     "leaflet": "^1.3.1",     "leaflet-draw": "^0.4.14",     "ngx-file-drop": "^2.0.4",     "rxjs": "^5.5.6",     "zone.js": "^0.8.20"

I'm gonna close this cause I think this issue is now resolved. Feel free to reopen if you have issues with the latest patch version of 2.7.


Add support for Zillow Zestimate sensor

Description:
Adds support for the Zillow Zestimate as a sensor.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#4812
Example entry for configuration.yaml (if applicable):
sensor:
  - platform: zestimate
    name: Zillow Zestimate
    api_key: <zillow API key>
    zpid:
      - <zpid 1>
      - <zpid 2>

Checklist:

[x] The code change is tested and works locally.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[x] New dependencies are only imported inside functions that use them ([example][ex-import]).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

@tinloaf, thanks for the comments. I'm still learning and they are sincerely appreciated. I built it this way because the Swiss Hydrological Data sensor seemed like a component that was already solving a similar problem.  I'll work to incorporate your changes and then push once complete.

@tinloaf Any comment on the changes I made?

Thank you @MartinHjelmare! I think I've addressed everything you requested.

Thank you!


stress-ng: 0.10.05 -> 0.10.08

Motivation for this change
Version update
+ fixes #72292
Things done

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

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

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

Notify maintainers
cc @

@GrahamcOfBorg build stress-ng

BTW I meant to ping @matthewbauer just FYI.
The darwin patch you upstreamed to libbsd may break builds on non-Darwin platforms.


[WIP] Remove two insecure TLS cipher suites

What this PR does / why we need it:
Remove two insecure TLS cipher suites (TLS_RSA_WITH_AES_128_GCM_SHA256 and TLS_RSA_WITH_AES_256_GCM_SHA384) from kube-apiserver, kube-controller-manager.
Which issue(s) this PR fixes:
Ref #1232
Special notes for your reviewer:
Release note:

TLS ciphers suites TLS_RSA_WITH_AES_128_GCM_SHA256 and TLS_RSA_WITH_AES_256_GCM_SHA384 are now removed from kube-apiserver and kube-controller-manager.

Validated with aws, gcp and alicloud. To be done for azure and openstack.
/hold

It would be great if such small/medium PRs are only opened if they have been validated successfully beforehand or need clarification/an explicit review in order to continue. This would make it easier to keep the overview for the reviewers.

Validated also with openstack and azure.
/hold cancel


Multicall cards

[ ] add tokens to whitelist
[ ] remove tokens from whitelist
[ ] change job bond
[ ] change croncat manager address
[ ] add admins (this is dangerous, not sure we should expose this to users YET)
[ ] remove admins (this is dangerous, not sure we should expose this to users YET)

IDEA: cosnider having a list of default tokens tat can be whitelisted in one go, like all top tokens (DAI, USDC, REF, wNEAR ...), make sure token contracts for those tokens are locked.

DAO page takes care of this functionality


Initializing models... Error: unknown error

When using Swift CLI example, followed the exact commands mentioned, getting above error:
Chip: Apple M3 Max
OS: 14.3.1
Xcode: Version 15.2
Apple Swift version: 5.9.2

Hi @milsun Can you share the full logs from the terminal?

(base) volleedemo@Vollees-MacBook-Pro vollee-demo % git clone https://github.com/argmaxinc/whisperkit.git
cd whisperkit
Cloning into 'whisperkit'...
remote: Enumerating objects: 367, done.
remote: Counting objects: 100% (189/189), done.
remote: Compressing objects: 100% (104/104), done.
remote: Total 367 (delta 88), reused 115 (delta 55), pack-reused 178
Receiving objects: 100% (367/367), 901.56 KiB | 6.39 MiB/s, done.
Resolving deltas: 100% (135/135), done.
(base) volleedemo@Vollees-MacBook-Pro whisperkit % make setup
make download-model MODEL=large-v3
Setting up environment...
/Users/volleedemo/miniconda3/bin/pip3
/Users/volleedemo/miniconda3/bin/python3
Requirement already satisfied: huggingface_hub in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (0.21.2)
Requirement already satisfied: filelock in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from huggingface_hub) (3.13.1)
Requirement already satisfied: fsspec>=2023.5.0 in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from huggingface_hub) (2024.2.0)
Requirement already satisfied: requests in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from huggingface_hub) (2.31.0)
Requirement already satisfied: tqdm>=4.42.1 in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from huggingface_hub) (4.65.0)
Requirement already satisfied: pyyaml>=5.1 in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from huggingface_hub) (6.0.1)
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from huggingface_hub) (4.10.0)
Requirement already satisfied: packaging>=20.9 in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from huggingface_hub) (23.1)
Requirement already satisfied: charset-normalizer<4,>=2 in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from requests->huggingface_hub) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from requests->huggingface_hub) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from requests->huggingface_hub) (1.26.18)
Requirement already satisfied: certifi>=2017.4.17 in /Users/volleedemo/miniconda3/lib/python3.11/site-packages (from requests->huggingface_hub) (2023.11.17)
Checking for Homebrew...
Homebrew is installed.
Checking for git-lfs...
git-lfs is installed.
Done 🚀
Downloading model large-v3...
Setting up repository...
Repository not found, initializing...
Cloning into './Models/whisperkit-coreml'...
remote: Enumerating objects: 483, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 483 (delta 0), reused 0 (delta 0), pack-reused 466
Receiving objects: 100% (483/483), 1.25 MiB | 1.47 MiB/s, done.
Resolving deltas: 100% (138/138), done.
Fetching model large-v3...
(base) volleedemo@Vollees-MacBook-Pro whisperkit %
(base) volleedemo@Vollees-MacBook-Pro whisperkit %
(base) volleedemo@Vollees-MacBook-Pro whisperkit %
(base) volleedemo@Vollees-MacBook-Pro whisperkit % swift run transcribe --model-path "Models/whisperkit-coreml/openai_whisper-large-v3" --stream
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/huggingface/swift-transformers.git from cache
Fetched https://github.com/apple/swift-argument-parser.git (1.27s)
Fetched https://github.com/huggingface/swift-transformers.git (1.28s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.23s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.2 (0.26s)
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.00s)
Computed https://github.com/huggingface/swift-transformers.git at 0.1.2 (0.00s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 0.1.2
Building for debugging...
/Users/volleedemo/Desktop/vollee-demo/whisperkit/Sources/WhisperKit/Core/TokenSampler.swift:47:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in Swift 6
scalarType: FloatType.self, // FIXME: Float16 here breaks in swift 6
^
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
extension Float16 : BNNSScalar {
^
/Users/volleedemo/Desktop/vollee-demo/whisperkit/Sources/WhisperKit/Core/TokenSampler.swift:56:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in Swift 6
scalarType: FloatType.self,
^
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
extension Float16 : BNNSScalar {
^
[96/96] Linking transcribe
Build complete! (8.63s)
Initializing models...
Error: unknown error

Tried with all available tags too, same error.

Thanks @milsun, could you also share your HW details? Is this an Apple Silicon Mac?

@milsun One more thing that would help us would be adding the --verbose flag:
swift run transcribe --model-path "Models/whisperkit-coreml/openai_whisper-large-v3" --stream --verbose
And paste the output of that here.

swift run transcribe --model-path "Models/whisperkit-coreml/openai_whisper-large-v3" --stream --verbose
Fetching https://github.com/huggingface/swift-transformers.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git (1.19s)
Fetched https://github.com/huggingface/swift-transformers.git (1.19s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.03s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.2 (0.02s)
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.00s)
Computed https://github.com/huggingface/swift-transformers.git at 0.1.2 (0.00s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 0.1.2
Building for debugging...
/Users/volleedemo/Desktop/vollee-demo/whisperkit/Sources/WhisperKit/Core/TokenSampler.swift:47:29: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in Swift 6
scalarType: FloatType.self, // FIXME: Float16 here breaks in swift 6
^
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
extension Float16 : BNNSScalar {
^
/Users/volleedemo/Desktop/vollee-demo/whisperkit/Sources/WhisperKit/Core/TokenSampler.swift:56:33: warning: conformance of 'Float16' to 'BNNSScalar' is unavailable in macOS; this is an error in Swift 6
scalarType: FloatType.self,
^
Accelerate.Float16:4:11: note: conformance of 'Float16' to 'BNNSScalar' has been explicitly marked unavailable here
extension Float16 : BNNSScalar {
^
[96/96] Linking transcribe
Build complete! (8.42s)
Initializing models...
[WhisperKit] Running on arm64
[WhisperKit] Loading models...
[WhisperKit] Loading models from /Users/volleedemo/Desktop/vollee-demo/whisperkit/Models/whisperkit-coreml/openai_whisper-large-v3 with prewarmMode: false
[WhisperKit] Loading feature extractor
[WhisperKit] Loaded feature extractor
[WhisperKit] Loading audio encoder
[WhisperKit] Loaded audio encoder
[WhisperKit] Loading text decoder
[WhisperKit] Loaded text decoder
[WhisperKit] Loading tokenizer for large-v3
Error: unknown error

Thanks @milsun, could you also share your HW details? Is this an Apple Silicon Mac?

My first comment has all the HW details.

Can you share the specific versions, for which it works, need to get it in place for a project I have been working on. Thanks!

Thanks for adding the HW info in your earlier comment. M1 and newer (all Apple Silicon Macs) should definitely work for large-v3.

I tested this command on M3 Max + macOS 14.4 which is the closest configuration I have to yours and it worked for me.
We think that you might have been impacted by an issue that tries to pull the tokenizer assets from HuggingFace Hub and they had an outage around the same time you filed this issue. Could you please try again and report back whether the problem persists?

Did a fresh clone and install, still the same issue.

Since I am unable to reproduce even when using similar hardware and OS versions, let's try a few different commands on your side to localize the issue. Could you try changing the model version from large-v3 to large-v2 and tiny respectively and report back?

Update:

After running swift test --filter UnitTests, transcribe with tiny model: swift run transcribe --model-path "Models/whisperkit-coreml/openai_whisper-tiny" --audio-path ./Tests/WhisperKitTests/Resources/es_test_clip.wav --verbose is working.
large-v2 fails with the same logs as above
large-v3 works too. But I ran swift test --filter FunctionalTests and killed it after sometime. I assume testInitLarge() was executed.


[BUG] Tunnel/interface IP address configured incorrectly

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Install the package. Add a new Wireguard VPN Tunnel. Use the 'Add Address' function to add an inner-tunnel address for pfSense:

Apply changes.
Now assign an interface to the 'tun_wg0 (tun_wg0)' port. That is quite redundant/meaningless, but I digress...
Edit the interface. This is the result:

And this is the result on the dashboard when the interface is enabled and IPv4 Configuration Type is left on 'None':

Expected behavior
This is what the interface page should tell the user (taken from here).
Furthemore, the IP address(es) as configured for the WireGuard Tunnel should be used to configure the interface.
Screenshots
See the screenshots in the description above.
Version information (please complete the following information):

PfSense: 2.51
WireGuard-tools: 1.0.20210424
WireGuard-kmod: 0.0.20210503
pfSense-pkg-WireGuard: 0.1.2

Additional context
This bug report might be part of a series of bugs that I have when trying to create a WireGuard client configuration. Another bug I have is that no automatic gateway is created, which is quite frustrating since it is needed for effective routing and NAT'ing.

This is not a bug. Once you assign the interface in pfSense, you don't configure the address via the WireGuard UI.

This is quite confusing. Maybe it might be a good idea to add a caveat to the documentation about this, so that the user does not enter the IP address(es) twice, which is unnecessary.

Updating the documentation is an on-going project (we are welcome to contributions here too!). This is something I mentioned a while back in one of my project report videos (https://youtu.be/ljcJE7bZNWE?t=468). This video is quite old now, but it explains the flow.


Contract

What if we will use ulong instead of long in ReadBlockCommand to remove zero or positive check?

Are we absolutely sure, that decimal is enough in coinbase? We are going to work with raw transaction, so I'm not sure, that possible rounding up or down, will not cause some problems.

About TransactionFailedEvent. Even failed transaction can contain BalanceChanges, e.g. transaction in ethereal failed during execution, it saved as failed in blockchain, but fee for it is payed.

We should keep in mind, that in some cases it's impossible to estimate transaction fee. E.g. ETH returns error for attempts to estimate transfers to non-payable contracts, and RSK constantly timeouts for some of them, instead of error.

What if we will use ulong instead of long in ReadBlockCommand to remove zero or positive check?

In my practise unsigned integer brings more cons than pros. The only exception is low level bits operations. So, I'll prefer to keep signed type.

Are we absolutely sure, that decimal is enough in coinbase? We are going to work with raw transaction, so I'm not sure, that possible rounding up or down, will not cause some problems.

Yes, this is potential problem, but in BIL v1 we use decimal. So, I've decided to not waste time on this at the moment. If you have a solution, let's discuss.

About TransactionFailedEvent. Even failed transaction can contain BalanceChanges, e.g. transaction in ethereal failed during execution, it saved as failed in blockchain, but fee for it is payed.

Added the Fee property. BalancesChanges imply both positive and negative balance changes and some kind of "transfer" thing, while fee is always negative and it always just burn the balance - it's always not a transfer.
Correct me if I'm worng.

We should keep in mind, that in some cases it's impossible to estimate transaction fee. E.g. ETH returns error for attempts to estimate transfers to non-payable contracts, and RSK constantly timeouts for some of them, instead of error.

Added error responses to the contract doc:

400 Bad Request

No additional error code specified - transaction can’t be estimated with the given parameters and it will be never possible to estimate the transaction with exactly the same parameters.
500 Internal Server Error - Any other errors. Likely there is a temporary issue with infrastructure or configuration, request should be repeated later.

So there is no projection in C# at the level of Integrations.Contract assembly. It affects only SDK and Client. I've made corresponded fixes.


13 Content Publishing - Guidelines (Scroll Motion)

User Story

As an IBM.com Library components adopter,

I need a way to learn more about the IBM.com Library,

so that I can learn the detail through the guidelines and adopter IBM.com Library to my day to day work properly.

Additional information

Work on the content by following the publishing process as much as possible and as needed.
Create the website design with the Sketch App as needed and the Sketch publishing template can be found on the BOX folder. Once complete, save the revised Sketch file in the Guideline folder / sub-folder here.
Once the content is reviewed (with stakholders or SME of the topic) and finalized.
Copy the content from the Sketch file into the .mdx file for the markdown publishing process to start.
Once complete, create the Pull Request and review, using the Preview link, to be sure it matches the Sketch file design
When ready to deploy, include Jenny as a PR Reviewer and Approver.
Jenny will review and merge the PR

Acceptance criteria

[ ] Content crafting is done.
[ ] Asset image creation is done (if needed)
[ ] Page design is done (if needed)
[ ] Publishing with markdowns is done.
[ ] QA'd by Jenny
[ ] Web page preview is approved by Linda, Jeff, and Wonil
[ ] Web page is published

@wonilsuhibm You mentioned the MVP version content can be found on IBM.com Library wiki, can you share the link here, please? Thank you.

This task is still relevant and is part of the Guideline publishing Epic.

Task still relevant.

Task still relevant.

@RobertaJHahn @wonilsuhibm We might need to take a look at all the guideline publishing issues and see if we need to keep them open or we should close them since the guideline publishing is not top priorities.

@RobertaJHahn @wonilsuhibm We might need to take a look at all the guideline publishing issues and see if we need to keep them open or we should close them since the guideline publishing is not top priorities.

@RobertaJHahn This task issue can be closed. #741 is the replacement of this guideline but with all the detail needed.


Provide a build pipeline with different available JDKs

Description
Now we run our pipeline on the java-env:java11-zulu-jdk-gradle7.4.2-kotlinc1.7.0 docker image. It would be great if we had an image with different JDKs available, because it allows to test how we choose bytecode version at runtime.
Now SootTest.kt disabled because of it.

@bissquit, can you help with this issue?

Sure!
Currently we use azul/zulu-openjdk:<IP_ADDRESS>-11.54.25 as base image.
I guess Zulu is based on openjdk only. Would you like to use another Java distributions?


"sbt assembly" fails with error "Not a valid command: assembly"

OS:
CentOS release 6.8 (Final)
[sysuser@jenkinsepcsslxz01 smtp]$ sbt assembly
[info] Loading project definition from /home/sysuser/.sbt/0.13/staging/062256ed7f1a43211714/smtp/project
[info] Loading project definition from /home/sysuser/.sbt/0.13/staging/8358063b5e3224d4f6d6/common/project
[info] Set current project to smtp (in build file:/maildrop/maildrop/smtp/)
[error] Not a valid command: assembly
[error] Not a valid project ID: assembly
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: assembly
[error] assembly
[error]         ^
[sysuser@jenkinsepcsslxz01 smtp]$

Any idea why this can be happening?

Same here. Debian Stretch (sbt 2.0, jdk8). Anything I could try?

Finding an open issue disturbed me ... Turns out, problem was reported already, m242/maildrop#16.
Might just submit a PR in celebration ...

you need to get sbt-assembly, and then create a file in ./project call assembly.sbt with the proper config for the version of sbt assembly you have
i.e. for sbt 0.13
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.7")


Marketplace doesnt publish extension when previous version of extension file is uploaded

Is there any way to unpublish the LAST VERSION OF PUBLISHED EXTENSION.
I want to insert the vsix file of v2.5.1 as i have published the v2.6.0 recently and want to revert that so every one can download the older v2.5.1
I have tried uploading v2.5.1 multiple times but version doenst seem to be change in the marketplace.
I see unpublish button but users wont be able to download the extension at all even v2.5.1

The rule is: always move forward.
Why don't you release a 2.6.1 reverting the behaviour to 2.5.1?


.rxn file format documentation

Hello,
Are there any documentation sources on the .rxn file format used to represent reactions?

Thanks for your inquiry about the reaction file documentation. Unfortunately, this file format was never properly documented, although as pointed out, there are a great many examples available.
LillyMol version 7+ implements reactions via Protocol Buffer text_format specifications. The previous format is still supported, but will not be enhanced.
Using Protcol Buffers offers many advantages, and leverages the rich support infrastructure available. We have begun documenting this at https://github.com/EliLillyCo/LillyMol/blob/master/docs/Molecule_Tools/trxn.md
Although more work remains to be done – we need to provide more examples of common reactions.
One of the advantages of a Protocol Buffer is that it is built on an exact specification of the proto
https://github.com/EliLillyCo/LillyMol/blob/master/src/Molecule_Lib/reaction.proto
which provides an unambiguous description of what can be in a reaction. Proto definition files also contain descriptions of what the messages and fields are for.
This has also enabled building C++ unit tests based on these proto specification. In the unit tester for reactions
https://github.com/EliLillyCo/LillyMol/blob/master/src/Molecule_Lib/reaction_test.cc
you will find many examples of trivial reactions in this format which are used to ensure things are working correctly.
This transition to protocol buffer input preserved as much of the existing concepts as possible, so those who had worked with the old style reactions can usually transition fairly quickly.
You will find that trxn can be very fast enumerating reactions, which can make a significant difference when dealing with large enumerations.


Package

Added composer.json and namespaces for easy integration and autoloading in php projects.
Updated readme.md with the new namespaces. The full namespace is used.
Added unittest. I need to do a full refactor to cover all code.

+1


Refresh the vscode

Hi,
I am facing the problem with the vscode for the refreshing the page.Just tell me how to refresh the page.

VSCode Version: Code 1.4.0 (6276dcb0ae497766056b4c09ea75be1d76a8b679, 2016-08-04T16:45:31.680Z)
OS Version: Windows_NT ia32 6.1.7600

Steps to Reproduce:

F1 -> Reload Window ?

@glen-84 thanks. Closing since he answered it.


0.3.0 cannot be installed via pip

raise ValueError("Expected "+item_name+" in",line,"at",line[p:]) ValueError: ('Expected version spec in', 'requests ~=2.8.0,<3.0.0', 'at', ' ~=2.8.0,<3.0.0')
I am using Python 2.7
0.2.9 installs just fine
https://github.com/gunthercox/ChatterBot/commit/750721d75afe4e403e773cb4ce68ca4a6c3e4054 seems to contain the malicious change
~= syntax does not seem to be valid syntax!? (https://pip.readthedocs.org/en/1.1/requirements.html)

Thank you, I have removed the requirements for requests and requests-oauthlib because these are not actually used anywhere in the project anymore.
I will be releasing version 0.3.1 later tonight because there was additional errors in the 0.3.0 release.

Version 0.3.1 has been released to pypi.


Add Guidelines for Raising a New Isuue in README

Can i work on this issue?

Actually, we are shifting everything to the Contributing.MD. Instead you can give a PR to Remove the Contribution related content from the ReadMe, put up a banner image for " Set up and Contribution guidelines" which redirects to Contributing.MD

verything to the Contributing.MD. Instead you can give a PR to Remove the Contribution related content from the ReadMe, put up a banner image for " Set up and Contribution guidelines" which redirects to Contributing.MD

Assigned for 2 days


Revert mobile logging to file

iOS does not permit filesystem access, need to find another way to support this case on iOS. I was unable to build this with gomobile and assume I have some toolchain problems to resolve before I can again.
Would appreciate it if someone could try building the frameworks before accepting this.

Coverage remained the same at 34.87% when pulling 27bc72be8bec3b22de27afce698b662f4f55323f on revert-mobile-logging into 373e3a75f8def4eef711cd0eb53bb6b2cbdd7767 on master.

FYI, the PR build will pass as soon as the fix in https://github.com/OpenBazaar/openbazaar-go/pull/1465 is merged.


It appears the simple-history is incompatible with model_utils.models.UUIDModel

Describe the bug
It appears the simple-history is incompatible with model_utils.models.UUIDModel.   Despite my best efforts,  it attempts to have two primary_key values on the history table always.
To Reproduce
Steps to reproduce the behavior:

Create a basic model that works with Django simple-history and add in the history = HistoricalRecords() manager.  Verify it is working,
Destroy the prior migration and table and modify your test model to inherit from model_utils.models.UUIDModel
Make a new migration and note that it attempts to have two primary_key values on the history table.
Attempt to migrate and see error

Expected behavior
Should be able to create a history table with a UUID primary key, based off the jazzband model_utils.models.UUIDModel
Environment (please complete the following information):

OS: ubuntu-latest
Browser (if applicable): n/a
Django Simple History Version: 3.0.0
Django Version: 3.2.13
Database Version: PostgreSQL

Additional context
We want to use both things but are using simple history with regular AI integer PKs until this issue can be fixed.

yes facing the same problem here also with the default django models.uuid.
I know it's stated in the documentation but maybe we should give the option for users to choose their primary key?
Note: regardless of what field type you specify as your history_id field, that field will automatically set primary_key=True and editable=False.
class Meta(TimeStampedModel):
    history = HistoricalRecords(inherit=True)
    id = SmallUUIDField(default=uuid_default(), editable=False, primary_key=True)

causes an error to be raised
DETAIL:  Key (id)=(319a9473-6717-4254-bc03-58e26590ffc9) already exists.```

I think the library was relying on the autoincrement to create different versions of the history.


Strong naming

Hello
Is it possible to strong name your assembly (sign it, even with a dev snk) ? A strong named assembly require all its references are strong named :-/
Thanks :)

Hello Shidell,
even this thread is open for a while, I want to add myself to list of people who would appreciate a strong named dll.
Kind regards

@Kaon68, @Akzentianer Is bypassing the Signature Verification an option?
https://docs.microsoft.com/en-us/dotnet/framework/app-domains/create-and-use-strong-named-assemblies

tarting with the .NET Framework 3.5 Service Pack 1, strong-name signatures are not validated when an assembly is loaded into a full-trust application domain, such as the default application domain for the MyComputer zone. This is referred to as the strong-name bypass feature. In a full-trust environment, demands for StrongNameIdentityPermission always succeed for signed, full-trust assemblies, regardless of their signature. The strong-name bypass feature avoids the unnecessary overhead of strong-name signature verification of full-trust assemblies in this situation, allowing the assemblies to load faster. +

The bypass feature applies to any assembly that is signed with a strong name and that has the following characteristics:
Fully trusted without StrongName evidence (for example, has MyComputer zone evidence).
Loaded into a fully trusted AppDomain.
Loaded from a location under the ApplicationBase property of that AppDomain.
Not delay-signed.

hi
look at this : https://github.com/dsplaisted/strongnamer

I tested this strongnamer project an it works but if you want to debug this the pdb will not be found.
If the dll is directly strong named the pdb is created based on this so the visual studio debugger will find and recognize the pdb.
Kind regards


title bar top margin too small in Firefox 122

Platform: MacOS Sonoma 14.2.1, Firefox 122 (Stable)
I updated my Firefox to version 122 and found that the top margin has become narrower than before. Screenshots are attached below.
Normal window:

Fullscreen window:

It seems the Firefox update has broken some styles regarding the title bar. I have tried to add margin-top: 15px to toolbar#TabsToolbar .titlebar-buttonbox-container, but it only works for normal windows but not fullscreen ones. Would it be possible to get this addressed in the future? Thanks.

Figured out a temporary fix: Besides the .titlebar-buttonbox-container setting, also set margin-top in #nav-bar[inFullscreen="true"] to 0.

Thank you for notifying this, resolved in the latest release:
https://github.com/christorange/VerticalFox/releases/tag/v1.3.2


⚠ Bofrost.fr has degraded performance

In b3d3229, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1913 ms

Resolved: Bofrost.fr performance has improved in b07c1bd after 11 minutes.


PortAudioError: Error querying device -1

Hi,
I was trying to play an audio array, but the following error raised:
PortAudioError: Error querying device -1

I updated the PortAudio library but it doesn't fix the problem, and tried uninstalling/installing sounddevice again with the same bad result.
I'm using Ubuntu 16.04 with Anaconda.
Regards,
Mauricio.

I've found the answer in this post:
https://github.com/spatialaudio/python-sounddevice/issues/74#issuecomment-296383036
Thanks a lot!!!!!

@fluowhy It's good to hear that you found a solution!
In case somebody else has the same problem, can you please describe what exactly you did to solve this?
This looks like a problem with the PortAudio package of Anaconda, probably you should raise an issue there?

I removed the file "anaconda3/lib/libstdc++.so.6" and replaced with "/usr/lib/x86_64-linux-gnu/libstdc++.so.6".
Yes, I think is the best option too. I will do it soon.

Thanks @fluowhy, I've seen that you created an issue: https://github.com/ContinuumIO/anaconda-issues/issues/2999

Is this still the same issue? Its two years later but I think I have the same bug

I have the same problem either in Python or in Anaconda

I removed the file "anaconda3/lib/libstdc++.so.6" and replaced with "/usr/lib/x86_64-linux-gnu/libstdc++.so.6".
Yes, I think is the best option too. I will do it soon.

I did it but it did not work

@TheButlah @MehrshadK I had success removing the entire conda-installed version of portaudio (rather than just the libstdc++ file) as describe here: https://github.com/spatialaudio/python-sounddevice/issues/74#issuecomment-480397175
Does that work for you?

@TheButlah @MehrshadK I had success removing the entire conda-installed version of portaudio (rather than just the libstdc++ file) as describe here: #74 (comment)
Does that work for you?

No, i did instructions but didn't work

@TheButlah @MehrshadK I had success removing the entire conda-installed version of portaudio (rather than just the libstdc++ file) as describe here: #74 (comment)
Does that work for you?

No, i did instructions but didn't work

I'm using Ubuntu 18.04 with Anaconda 4.5.12.
I did use below commands and python-sounddevice working properly:
conda install -c conda-forge python-sounddevice
conda install -c conda-forge/label/gcc7 python-sounddevice
conda install -c conda-forge/label/cf201901 python-sounddevice
Install python-sounddevice in anaconda:
https://anaconda.org/conda-forge/python-sounddevice

Hi all,
while writing the following line, I am getting error
recording = sd.rec(int(duration * freq), samplerate=freq, channels=2)
Error: recording = PortAudioError: Error querying device -1
Can anyone solve my problem please

I have the same problem. Only reboot solves it. Appears always if I unplug and re-plug my USB sound device.

Thank you so much, I will try.
On Thu, Apr 15, 2021 at 12:11 PM Samuli Kohomäki @.***>
wrote:

I have the same problem. Only reboot solves it. Appears always if I unplug
and re-plug my USB sound device.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/spatialaudio/python-sounddevice/issues/89#issuecomment-820159479,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATKD3N4O7PK35NMTZPO6HFDTI2DCDANCNFSM4DSASBUA
.

--
Regards,
Dr. Kalyani A. Akant
Associate Professor
Dept. of Electronics & Telecommunication Engineering,
G. H. RAISONI COLLEGE OF ENGINEERING, NAGPUR.
+91-9923702544
--
Disclaimer - This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity to
whom they are addressed. This message contains confidential information and
is intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
information is strictly prohibited.

Had the same issue after installing with conda. It worked after uninstall + reinstall with pip

reboot

Hi I'm writing the same line and it give me the same error so did you solve it,I tried a reboot and it doesn't work

rec

hi I'm writing the same line and it give me the same error so did you solve it, I tried a reboot and it doesn't work

I have the same issue, I'm not using anaconda.
I used:
apt-get install libportaudio2 python3 -m pip install sounddevice


Add schema(...).field(...).had(json_schema_extra=...) argument

This argument will give our users a chance to alter extras within the fields as well. Note that we will only support Pydantic2 naming but this argument should work in both pydantic versions.

Hey @zmievsa, I'd be glad to work on the issue if you'd assign me.
Since I'm a beginner in opensource and want to contribute in opensource projects it will be great if you'd help/guide me through.

@cksharma2468 Done.

Thanks , I'll work on it 😊


Updates wysihtml5 to latest version

Version bump for v3 - gem will need a (major?) version bump

Actually, weblinc-wysihtml5-rails exists because of our dependence on the bizarre version we require for v2.
You should use https://rubygems.org/gems/wysihtml-rails for v3 instead of upgrading this repo.


Fix redeclaration of sparse warning classes

I overlooked this during #4213 review :bow:

pfnCI, test this please.

🙇

pfnCI, test this please.

Jenkins CI test (for commit 7e624e73c7597801ed1d4fd42b10089980fe1fb3, target branch master) succeeded!


Added typing annotations to io/_video_opts

Following up on #2025, this PR adds missing typing annotations in io/_video_opts.py.
Any feedback is welcome!

Thanks for the PR @frgfm. Unfortunately this breaks torch.jit. Relevant test failure from test_probe_video_from_memory_script - test.test_video_reader.TestVideoReader
E           RuntimeError:
E           Unknown type name 'np.ndarray':
E             File "/root/project/torchvision/io/_video_opt.py", line 432
E           def _probe_video_from_memory(
E               video_data: Union[torch.Tensor, np.ndarray],
E                                               ~~~~~~~~~~ <--- HERE
E           ) -> VideoMetaData:
E               """

Oh, should I remove the typing for this function only then @pmeier?

The problem here is that torch.jit currently does not support the Union type. There is a PR pytorch/pytorch#53180 that adds support, but it has not been landed yet.
I think the way forward is to try to eliminate the Union and try to get mypy to live with it. If that is not possible than yes, we need to remove the annotations again since in general torch.jit > mypy.

Apart from the Union issue with torch.jit, I checked locally and mypy is working perfectly.
I had to ignore assignment I couldn't get to work at the end of the file, and if you have an idea how to get around the jit issue, I'm all ears @pmeier :)

Hey @frgfm this is looking almost ready to go! The CI is complaining about one more issue that pops up, because we no longer ignore errors in torchvision.io. You can either ignore it for now
[mypy-torchvision.io]

ignore_errors = True

or fix it, since it is a fairly small fix. I'm ok with both. If you choose the latter, you need to fix the annotation of VideoReader.__iter__. It should be Iterator[T] with T being whatever __next__ returns.

I went for the 2nd option, let's hope the CI is pleased :)

Unfortunately you got a few linter and typing failures.


False Positive on cgo "export" comments

Using cgo a function can be exported with:
`
//export FunctionName
func FunctionName() {
...
}
`
golint is reporting the comment malformatted and suggesting the comment be extended with a description. This would break compilation.

What golint is expecting is something like
// FunctionName is used to name the function.
//export FunctionName
func FunctionName() {
    ...
}

Maybe a little more verbose on that, but you are correct!


.jsonl image_path issue

Inside the .jsonl file, the image path mentioned doesn't match with the image path I have for the images. Due to which, post-training an error comes:
FileNotFoundError: [Errno 2] No such file or directory: '/home/mimic-cxr/dataset/image_preprocessing/re_512_3ch/Train/s58694447.jpg'
Could you please guide me? Thanks.

I think it's the same question you asked before, but didn't you solve it that way? or is there another error?
You can just change the image path in the json file to yours.
Can you tell me which line the error occurred?

Hey, yes I encountered this issue elsewhere, resolved it. But another error occured:
"'MultimodalBertClf' object has no attribute 'module'"
Can you please guide me through this?

I think it's the same question you asked before, but didn't you solve it that way? or is there another error? You can just change the image path in the json file to yours. Can you tell me which line the error occurred?

hi i need to help for run the code...
How can I contact you?


Google Container Registry

Google Cloud Services doesn't support pulling images outside of Google Container Registry.
In order to use lakeFS natively in Google Cloud Services, we'll need to push lakefs docker image to public GCR on release.

@kesarwam fyi

Created a new account named lakefs-io instead of lakeFS waiting for it to be connected to our billing account in GCS in order to create a public container registry there and copy the registries we have under lakeFS


Audit fails on GH Action runners for Windows on Python 3.9 and 3.10

Bug description
Please see these two failing Action runs:

https://github.com/jenstroeger/python-package-template/runs/8189428647?check_suite_focus=true#step:10:1
https://github.com/jenstroeger/python-package-template/runs/8189428898?check_suite_focus=true#step:10:1

Reproduction steps
The requirements.txt file is available as an artifact of the Linux run of that workflow: https://github.com/jenstroeger/python-package-template/actions/runs/2993510472
Expected behavior
pip-audit succeeds like for Mac and Linux runners.
Screenshots and logs
See links to Action run logs above.
Platform information
See SBOM and requirements.txt files in the artifact. Unfortunately, no artifacts were created for Windows, but they should be the same as for Linux.
Additional context
These failing runs are the consequence of removing the --require-hashes command line option from pip-audit because using that option yielded another error (run link):
pip_audit._dependency_source.requirement.RequirementSourceError: requirement alabaster does not contain a hash alabaster==0.7.12 (from RequirementLine(line_number=1, line='alabaster==0.7.12', filename=WindowsPath('requirements.txt')))

That’s unrelated to pip-audit though, I think.

Thanks for the report!
This looks like the underlying error:
if ! $(python -c "import pip_audit" &> /dev/null); then \
  echo "No package pip_audit installed, upgrade your environment!" && exit 1; \
fi;
python -m pip_audit --requirement requirements.txt --skip-editable --desc on --fix --dry-run
WARNING:pip_audit._cache:Failed to read from cache directory, performance may be degraded: [Errno 22] Invalid argument: 'c:\\users\\runneradmin\\appdata\\local\\pip\\cache\r\\http\\e\\d\\4\\2\\0\\ed4206b12a5c5eaf07ac2214d1cb00783992ccd3db2bee486d936636'
WARNING:venv:Actual environment location may have moved due to redirects, links or junctions.
  Requested location: "C:\Users\RUNNER~1\AppData\Local\Temp\tmpqmup42k2\Scripts\python.exe"
  Actual location:    "C:\Users\runneradmin\AppData\Local\Temp\tmpqmup42k2\Scripts\python.exe"
Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\site-packages\packaging\specifiers.py", line 634, in __init__
    parsed.add(Specifier(specifier))
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\site-packages\packaging\specifiers.py", line 98, in __init__
    raise InvalidSpecifier(f"Invalid specifier: '{spec}'")
packaging.specifiers.InvalidSpecifier: Invalid specifier: '3'

If I'm looking at your CI correctly, you might be emitting a broken requirements.txt on Windows runners:
Run make requirements sbom
makefile:29: No Python virtual environment found, proceeding anyway
echo -n "" > requirements.txt
for pkg in `python -m pip freeze --local --disable-pip-version-check --exclude-editable`; do \
  echo -n $pkg >> requirements.txt; \
  echo "Fetching package metadata for requirement '$pkg'"; \
  [[ $pkg =~ (.*)==(.*) ]] && curl -s [https://pypi.org/pypi/${BASH_REMATCH[1]}/${BASH_REMATCH[2]}/json](https://pypi.org/pypi/$%7BBASH_REMATCH[1]%7D/$%7BBASH_REMATCH[2]%7D/json) | python -c "import json, sys; print(''.join(f''' \\\\\n    --hash=sha256:{pkg['digests']['sha256']}''' for pkg in json.load(sys.stdin)['urls']));" >> requirements.txt; \
done
Fetching package metadata for requirement 'alabaster==0.7.12
'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\json\__init__.py", line 293, in load
    return loads(fp.read(),
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Fetching package metadata for requirement 'argcomplete==1.12.3
'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\json\__init__.py", line 293, in load
    return loads(fp.read(),
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\hostedtoolcache\windows\Python\3.10.6\x64\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Fetching package metadata for requirement 'astroid==2.11.7
'

...which makes me suspect that this isn't a bug in pip-audit, since that same step runs without JSONDecodeErrors on your non-Windows runners.

Thanks @woodruffw!
I didn’t actually realize that the preceding step of the failing workflow step wasn’t successful either. After some digging around, I found the problem — the age-old DOS/UNIX newline difference. This line of code:
for pkg in `python -m pip freeze --local --disable-pip-version-check --exclude-editable`; do \

on Windows assigns alabaster==0.7.12\r to $pkg. Next, in this line:
[[ $pkg =~ (.*)==(.*) ]] && curl -s https://pypi.org/pypi/${BASH_REMATCH[1]}/${BASH_REMATCH[2]}/json | python ...

the $pkg variable matches and binds ${BASH_REMATCH[2]} to 0.7.12\r which then creates an invalid URL so that curl fetches nothing which then fails the JSON decode and that’s the exception you’ve pointed out above.
As for a fix, a possible solution would be to strip trailing newlines:
pkg=${pkg//[$'\r\n']}

I’ll look some more into this issue, but at the moment our package doesn’t generate artifacts using Windows runners anyway.

...which makes me suspect that this isn't a bug in pip-audit, since that same step runs without JSONDecodeErrors on your non-Windows runners.

Agreed. Feel free to close this issue as resolved 👍🏼


SSH to remote causes disconnect with client_loop: send disconnect: Broken pipe

Version
Microsoft Windows [Version 10.0.22000.434]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
ssh to any remote machine from Ubuntu 20.04 under WSL. ssh from Powershell works without issues.
Expected Behavior
ssh connection should persist and stay connected
Actual Behavior
Consistent disconnects after a few seconds:
$ ssh upfront4                                                                                  bash  19:28:08 
Linux upfront4 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Mon Jan 24 13:19:23 2022 from <IP_ADDRESS>
roche@upfront4:~$ sudo -i
[sudo] password for roche: client_loop: send disconnect: Broken pipe

Diagnostic Logs
networking.bat.log
wsl.etl.zip

read answer here: 616355
for per-user configuration,  Edit the file ~/.ssh/config to have:
```
Host *
ServerAliveInterval 60
TCPKeepAlive no
this could be also set globally in /etc/ssh/ssh_config.  This issue is not related to WSL.

**ServerAliveInterval**: number of seconds that the client will wait before sending a null packet to the server (to keep the connection alive).

I already had the following in ~/.ssh/config before logging this issue:
Host *
ServerAliveInterval 60

I just added TCPKeepAlive no and I still hit the same error. If it is not a WSL issue, why don't I experience the same issue when using ssh under Windows?

I already had the following in ~/.ssh/config before logging this issue:
Host *
ServerAliveInterval 60

I just added TCPKeepAlive no and I still hit the same error. If it is not a WSL issue, why don't I experience the same issue when using ssh under Windows?

change  ServerAliveInterval to 20

change ServerAliveInterval to 20

Looks promising, thanks! I'll do a few more tests and confirm that the error is gone.

Unfortunately, the issue is not resolved. SSH aside, if I run side-by-side pings from Windows and WSL to a remote host, I see up to 20% packet loss on the WSL network, but 0% on Windows.

My issue seems similar to #7326 but updating the name server in resolv.conf does not resolve my issue. Other issues that seem related are #7254 and #6416.

would you mind telling which ssh clinet are you using? also did you try
pinging other servers ?
------ Original Message ------
From: "Roché Compaan" @.>
To: "microsoft/WSL" @.>
Cc: "EQN-GROUP" @.>; "Comment"
@.>
Sent: 26/01/2022 14:26:49
Subject: Re: [microsoft/WSL] SSH to remote causes disconnect with
client_loop: send disconnect: Broken pipe (Issue #7966)

My issue seems similar to #7326
https://github.com/microsoft/WSL/issues/7326 but updating the name
server in resolv.conf does not resolve my issue. Other issues that seem
related are #7254 https://github.com/microsoft/WSL/issues/7254 and
#6416 https://github.com/microsoft/WSL/issues/6416.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WSL/issues/7966#issuecomment-1021991850,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATM2XBHOUVRBTEP7DMY7ZODUX6ZNDANCNFSM5MWAZVJQ.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

You can try in debug mode with command ssh -v<EMAIL_ADDRESS>2>result.txt  and share the debug log here.
also did you try pinging other servers ?

ssh client:
dpkg -l | grep ssh-client
ii  openssh-client                       1:8.2p1-4ubuntu0.4                    amd64        secure shell (SSH) client, for secure access to remote machines

I manage clusters of servers on multiple continents and I hit the same issue no matter what server I ping or ssh.
result.txt
I honestly fail to see how this is an ssh issue, more likely an issue with TCP NAT again: https://github.com/microsoft/WSL/issues/6416#issuecomment-829529999

Hi there.
I'm having the same issues.
My log with verbose:
vpablos@WKS0001108274:~$ ssh -v -o TCPKeepAlive=yes -o ServerAliveCountMax=20 -o ServerAliveInterval=15 localhost
OpenSSH_8.2p1 Ubuntu-4ubuntu0.4, OpenSSL 1.1.1f  31 Mar 2020
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to localhost [<IP_ADDRESS>] port 22.
debug1: Connection established.
debug1: identity file /home/vpablos/.ssh/id_rsa type 0
debug1: identity file /home/vpablos/.ssh/id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.4
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.2p1 Ubuntu-4ubuntu0.4
debug1: match: OpenSSH_8.2p1 Ubuntu-4ubuntu0.4 pat OpenSSH compat 0x04000000
debug1: Authenticating to localhost:22 as 'vpablos'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC:  compression: none
debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC:  compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:41liDTj8s2Y10brK8MN63e8eoMVs3q0GrKc/AVk+RDE
debug1: Host 'localhost' is known and matches the ECDSA host key.
debug1: Found key in /home/vpablos/.ssh/known_hosts:6
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/vpablos/.ssh/id_rsa RSA SHA256:pvyMfM8ata4DoXBG9jnPkTUHqrQIFoVBxGaS9L0sf0U agent
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519<EMAIL_ADDRESS>debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /home/vpablos/.ssh/id_rsa RSA SHA256:pvyMfM8ata4DoXBG9jnPkTUHqrQIFoVBxGaS9L0sf0U agent
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: keyboard-interactive
Password:
debug1: Authentication succeeded (keyboard-interactive).
Authenticated to localhost ([<IP_ADDRESS>]:22).
debug1: channel 0: new [client-session]
debug1: Requesting<EMAIL_ADDRESS>debug1: Entering interactive session.
debug1: pledge: exec
client_loop: send disconnect: Broken pipe
vpablos@WKS0001108274:~$

could you guys try sshing from a root user.
@OneBlue take a look!

@equation-group can you explain why this would make a difference? We don't permit root logins on any of our servers in any event. I'm seeing disconnects on almost any utility or script that uses the network so this is clearly not an ssh issue.

@rochecompaan if you search for your error on google, you will find some answers.
is your client root from where you are trying ssh ?

I was having the same problem setting up an sftp user.   Every connection by sftp was immediately disconnected
with the "Broken pipe" message as above.
I discovered this message in the /var/log/message
fatal: bad ownership or modes for chroot directory "/srv/sftp/data/ftpuser"
The sshd_config directory specified that "/srv/sftp/data/ftpuser" in the ChrootDirectory.
The ftpuser directory was owned by ftpuser.
Changed that to be owned by root and created a subdirectory as an upload directory owned by ftpuser.
Now sftp connections are working.

@rochecompaan  @RandolphBack  The fix is  change  MTU to 1350 using cmd netsh interface set ipv4 subinterface "vEthernet (WSL)" mtu=1350 store=persistent
and then do this: https://github.com/microsoft/WSL/issues/4901#issuecomment-957851617

@equation-group changing MTU or DNS settings does not work for me. I saw this comment explaining how to change "Auto metric" on the TCP/IP settings for the adapter to "1" and that seems to work! I will log ping stats for a few days to confirm.

I have been running a ping script for several hours now, and I do not see any packet loss, so this is resolved for me.
I just noticed that I have 2 WiFi adapters, which was probably causing the issue. After reading up on automatic metric feature , I guess setting the interface metric to 1 on one of the adapters forces all the network traffic through that adapter. I don't know enough, but with auto metric enabled, traffic might not always go through the correct bridge interface on WSL.

@rochecompaan @RandolphBack The fix is change MTU to 1350 using cmd netsh interface set ipv4 subinterface "vEthernet (WSL)" mtu=1350 store=persistent
and then do this: #4901 (comment)

@equation-group
When I paste that command into a CMD, I get the error message
The following command was not found: interface set ipv4 subinterface "vEthernet (WSL)" mtu=1350 store=persistent.

What's wrong here? I can enter netsh in order to get to the REPL just fine.

what helped in my case (client_loop: send disconnect: Broken pipe) is to set the ServerAliveCountMax parameter to a higher value, e.g. 100 in .ssh/config:
Host *
    ForwardAgent yes
    AddressFamily inet
    TCPKeepAlive yes
    ServerAliveInterval 60
    ServerAliveCountMax 100
    IPQoS 0

The following did not help, but currently in place:
in WSL:
# echo 1 | sudo tee /proc/sys/net/ipv4/tcp_mtu_probing # did not help, commented out
sudo ifconfig eth0 mtu 1350

in Windows:
netsh interface ipv4 set subinterface "vEthernet (WSL)" mtu=1350 store=persistent

I have not changed the interface metric settings, as I use an Ethernet adapter on my working station.
This is definitely a WSL2 issue, since the same .ssh/config is used for WSL ssh and for the Windows OpenSSH client.
I don't understand, why the ticket has been closed.
Guys at MS, you cannot imaging how much time I waste on working around this issue.

Using a proxy might help

FWIW. This is issue only started for me after enabling stricter cryptographic settings on the server. Connecting over the WireGuard tunnel went fine, straight via PowerShell too. Connecting to the servers' public IP didn't.
Changing the MTU did resolve the issue. I don't use a local ssh config for the client.

finally figured out: group policy update forces restart of WSL network interface: https://learn.microsoft.com/en-us/answers/questions/723272/group-policy-update-and-hyper-v-vethernet-disconne.html

finally figured out: group policy update forces restart of WSL network interface: https://learn.microsoft.com/en-us/answers/questions/723272/group-policy-update-and-hyper-v-vethernet-disconne.html

Can confirm this, running "gpupdate /force" always leads to a ssh disconnect.


Direct3D12 validation warnings

Running tutorials that only show adapters dialog produces a lot of D3D12 validation warnings:
D3D12 WARNING: ID3D12CommandList::DrawIndexedInstanced: Viewport: 0 is non-empty while the corresponding scissor rectangle is empty.  Nothing will be written to the render target when this viewport is selected.  In D3D12, scissor testing is always enabled. [ EXECUTION WARNING #695: DRAW_EMPTY_SCISSOR_RECTANGLE]

This issue does not reproduce anymore

This issue does not reproduce anymore


test(NODE-5315): regenerate config.yml

Description
Regenerates the config.yml
What is the motivation for this change?
NODE-5315

Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: type(NODE-xxxx)[!]: description

Example: feat(NODE-1234)!: rewriting everything in coffeescript

[ ] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

Waiting on lint, and scheduled node 20 rhel/windows 7.0 tasks which are now added


CA scripts clean up

run_nightly - appends test_ every time run_nightly is run - creates files like this:  test_test_test_test_M2S2_GEN2_F2F_11
grid scripts not cleaning up VCS db and log files
results is not setup to VCS runs
run_regression - add regression_long that will run all tests

#1.
the    run_nightly  would append 'test_' prefix 'once' each time it is run a fresh.
In case, a part commented run_nightly is seen to be running, (e.g. only result checking part) then test_ prefix addition may be observed with every iteration run.
There is a nightly result back-up and clean up part in the run_nightly script that would suffice
#2, #3
In case Intel has the proposed VCS bi-products' list to clean up, it can be added. Feel free to share
Eximius do not have VCS set-up for confirming
#4.  run_nightly covers all functional cases with 0.9.7 release (94 tests)

except for run_regression the rest is resolved. Eximius will address run_regression opportunistically in the next couple of weeks after the test failures are addressed


Simplify file names in module directories

There are several files in the source code with a prefix that could be simplified to make the source code more visual.
Example:
In keeper

grpc_query_ -> query_ or grpc_ (grpc is the only type of query)
keeper_ prefix should not be necessary since the files are already in the keeper package
msg_server_ -> msg_
In types
message_ -> msg_ (to be consistent with keeper)

Completed


Handle log-level as case-insensitive

JupyterHub passes debug when c.ConfigurableHTTPProxy.debug=True whereas logging.DEBUG is treated as DEBUG
https://github.com/jupyterhub/jupyterhub/blob/9d2ceaa1563bc9463cfd22d8d1abe07ebccd79e0/jupyterhub/proxy.py#L676-L677

Thanks @manics


Keyd Virtual Pointer disables KDE Plasma auto "Touch Mode"

KDE Plasma has a feature to automatically enable a "Touch Mode" where buttons are larger when 2-in-1 enters tablet mode, i.e. keyboard and mouse are not detected but touchscreen is. The Keyd virtual pointer is detected as a mouse, so while Keyd is enabled, Plasma will never consider the device in tablet mode.

Enable Keyd on touch screen device
Go to KDE Plasma "General Behavior" settings and set "Touch Mode" to "Automatically enable as needed"
Switch device to tablet mode by disconnecting keyboard and mouse

I don't actually use the Keyd virtual pointer, so being able to disable this somehow would do the trick (unless there is a way and I haven't been able to find it).
Operating System: NixOS 24.11
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.9 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-1065G7 CPU @ 1.30GHz
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics
Manufacturer: Microsoft Corporation
Product Name: Surface Pro 7

Can confirm. It indeed seems like there is not configurable way to disable this.
I see you use nixos; for me I create the following .nix file and put it in my imports and set services.keyd.no-pointer = true;
If I can find the time I will look into making it configurable in keyd; but for now my immediate problem is resolved.
Also, no promises on the repo staying up, so if you want to use this as well I recommend forking as well.
{ config, lib, pkgs, ... }:
{
  options.services.keyd = {
    no-pointer = lib.mkOption {
      type = lib.types.bool;
      default = false;
      description = ''
        Whether to prevent registering a virtual pointer device.
        Implemented by just using https://github.com/justinvdk/keyd; which just removed the relevant code.
      '';
    };
  };
  config = lib.mkIf config.services.keyd.enable {
    services.keyd = {
      keyboards.main.settings = {
        # Default config here.
      };
    };
    nixpkgs.overlays = lib.mkIf config.services.keyd.no-pointer [
      (final: prev: {
        keyd = prev.keyd.overrideAttrs (old: {
          src = pkgs.fetchFromGitHub {
            owner = "justinvdk";
            repo = "keyd";
            rev = "master";
            hash = "sha256-5Xnx1ChW4b9mGUxyiq+tw/9Mwxqor7qm/czNULJDAMM=";
          };
        });
      })
    ];
  };
}


Question: Can this support singletons?

Is there a way to make the service collection contain singletons so that they are only created once for the whole test run (i.e. scenarios in different features would get the same instance)?
At the moment I have made it so it creates it once and then registers that same instance each time the ConfigureServices is run, but if there was a way to automatically do it then that would be good.

Hello Steven,
I'm not sure of what you're trying to achieve, can you send me an example project ?
Thanks !

So in my test, I have a test rest client that I use to setup data. Ideally this should just be created once and the same instance reused for each scenario in each feature and between features.
However, ConfigureServices is run per scenario so it cannot be done out of the box?
What I have done is have a lock (so that tests in parallel work properly), check if a static instance of that is null, if it is then create it.
It then sets that same static copy of the rest client in the future calls to ConfigureServices
namespace Tests.Hooks
{
    [Binding]
    public class Setup : IServicesConfigurator
    {
        private static TestRestClient? ApiClient = null;
        private static readonly object Lock = new();

        public void ConfigureServices(IServiceCollection services)
        {
            lock (Lock)
            {
                if (ApiClient == null)
                {
                    services.AddKeyVaultConnectionStringProvider(); // adds a dependency that the rest client needs
                    services.AddScoped<TestRestClient>();

                    var provider = services.BuildServiceProvider();
                    ApiClient = provider.GetRequiredService<TestRestClient>();
                }
            }

            services.AddSingleton(ApiClient!);
        }
    }
}

I think you came with a pretty clean solution :)
I'll see what I can do

That solution isn't ideal as in the first run we end up with two TestRestClients registered...

Hello,
Unfortunately I didn't find a better solution.
The [BeforeTestRun] approach seems good to me !


ONLINE PYGAME EXECUTION

Discussed in https://github.com/pygame-web/pygbag/discussions/99

Originally posted by cool-dev-guy June  2, 2023
Hey @pmp-p ,I studied the pygame-web final product of a pygame project and i understood that first there is a GET request to game_name.apk and inside it in the assets folder i can find a main.py,Is it possible to change the code inside main.py before its being executed,Or can i make the website run the python code which i stored in a javascript/python variable?

This is not the purpose of pygbag, this is about using python c-api or use of python compiler at runtime ( compile/eval ). See discussions


Raw OCSP response for embedded pdf signatures (PADES)

Hey, thanks for this easy to use library. is it possible to just get the raw response for use in PADES or is the only option as below:
{
  status: 'good',
  ocspUrl: 'http://r3.o.lencr.org',
  producedAt: 2024-05-19T21:11:00.000Z,
  nextUpdate: 2024-05-26T21:10:58.000Z,
  thisUpdate: 2024-05-19T21:11:00.000Z
}

Thank you for your suggestion. I will add the option to additionally get the raw response bytes and a separate method to get only the raw bytes.

I added the new feature and have already released an update. You can find the new function and the new option in the docs: ocsp.tkoessler.de

@timokoessler that's great, thanks!


Bump 0.3.0 release

Separate DataSource#fetchOne and DataSource#fetchMany into two methods
Provide DataSource#batchingNotSupported for implementing fetchMany in terms of fetchOne
Introduce FetchMonadError[M] typeclass for being able to run a fetch into the target monad M
Support for blocking and non-blocking data sources through the Query type
Monix integration through the fetch-monix project

@raulraja plz take a look.

[Current coverage][cc-pull] is 71.97% (diff: 100%)

No coverage report found for master at 69117ea.

Powered by Codecov. Last update [69117ea...a412942][cc-compare]
[cc-base-branch]: https://codecov.io/gh/47deg/fetch/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/47deg/fetch/compare/69117eac13062a2eed74829225d94bdadfadad0c...a4129421b58fceb315c36917eb2ff6cd118e9b5f?src=pr
[cc-pull]: https://codecov.io/gh/47deg/fetch/pull/65?src=pr

Closed for merging the reporting changes before doing the release.


Revert "Reduce user confusion when looking at video downloads"

Reverts edx/edx-app-ios#828

@jaimeohm After merging your PR, constraints are breaking for multiline video title. Please have a look.

Current coverage is 22.92% (diff: 0.00%)

Merging #862 into master will decrease coverage by <.01%

@@             master       #862   diff @@
==========================================
  Files           676        676
  Lines         56312      56316     +4
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits          12910      12910
- Misses        43402      43406     +4
  Partials          0          0

Powered by Codecov. Last update 000370d...d4fddfc


Pixtral

FILL IN THE PR DESCRIPTION HERE
FIX #xxxx (link existing issues this PR will resolve)
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

Congrats on the launch @patrickvonplaten !

Collecting test failures as known issues, currently I don't see them as blocking:

Doesn't work on machine without xformers (e.g. intel): https://buildkite.com/vllm/ci-aws/builds/8402#0191e288-cdc5-455e-94f8-3c6b80cfb6cd

Collecting test failures as known issues, currently I don't see them as blocking:

Doesn't work on machine without xformers (e.g. intel): https://buildkite.com/vllm/ci-aws/builds/8402#0191e288-cdc5-455e-94f8-3c6b80cfb6cd

Should be good - it was missing the VLM marker to skip CPU test


fix: raise informative error if 'extras' key is missing for pyproject files

Contributes to #87.
mypy caught some code that's treating File.extras as if it's unconditionally not None, when it actually can be None.
_rapids_dependency_file_generator.py:426: error: Argument "extras" to "make_dependency_file" has incompatible type "FileExtras | None"; expected "FileExtras"  [arg-type]

This fixes that by correcting some types hints and explicitly raising an error if a None makes it to the part of make_dependency_file() where that extras field is nedeed.
Prior to this change, given a dependencies.yaml like this:
files:
  beep_boop:
    output: pyproject
    includes:
      - run_deps
    pyproject_dir: .
dependencies:
  run_deps:
    common:
      - output_types: [pyproject]
        packages:
          - fsspec>=0.6.0

rapids-dependency-file-generator would raise an error like this:
Traceback (most recent call last):
...
AttributeError: 'NoneType' object has no attribute 'table'

As of this change, the error is more informative and requires less knowledge of the rapids-dependency-file-generator internals:
Traceback (most recent call last):
...
ValueError: The 'extras' field must be provided for the 'pyproject' file type.

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

GitHub release
PyPI release
Conda release - rapidsai
Conda release - rapidsai-nightly

Your semantic-release bot :package::rocket:


Text in integrated terminal is not a good color with Solarized Light theme

Check this out:

I can barely see the text from the terminal. I'm using bash, and here are the lines from my .bashrc having to do with coloring:
# session coloring
cyan=$(tput setaf 6)
blue=$(tput setaf 4)
white=$(tput setaf 7)
PS1='\[$blue\]\u@darwin: \[$cyan\]\W\[$white\]\$ '

You can see that any text after the prompt will be colored white as well, which is what's causing the issue. Adding \[\033[00m\] after the $ fixes this problem, but what's strange is that this is the only light theme that does not override my bad setting. If I switch to Quiet Light, Light+, or any of the others, the terminal text color is black despite my settings.

VS Code version: 1.37.1
Commit: f06011ac164ae4dc8e753a3fe7f9549844d15e35
Date: 2019-08-15T16:17:25.463Z
OS: Linux x64 4.15.0-58-generic snap

You're setting the text to white:

white=$(tput setaf 7)

So it's displaying in what the solarized theme defines as white, see the table in "The Values" section which defined what is displayed in the terminal https://ethanschoonover.com/solarized/ (#e4e4e4).
In general you should stay away from using black and white because contrast could be bad like this. Prefer default and inverse instead.


FORTLS not launching (continued)

With regard to https://github.com/hansec/fortran-language-server/issues/125#issuecomment-526222951
I have this issue now. Same behaviour when starting VSCode it says:
  'ascii' codec can't decode byte 0xe2 in position 12: ordinal not in range(128)

Adding only the subfolder which contains the source files is working! However, this worked before and is now not working anymore. I'm still using Python 2.7.
VSCode
Version: 1.39.2
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:33:40.634Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.9.0-9-amd64
fortran-language-server
Version: 1.10.3
FORTRAN IntelliSense
Version: 0.6.0
Modern Fortran
Version: 2.1.1
Currently, I do not know how to help further. So please tell me how!

Thanks for the report. Can you try doing a debug initialization with the same root directory where you see the error? This should give you a more complete stack trace to show where exactly the error is occurring. Thanks!

Okay I  found the issue! I had some new test-data files which containted a forward slash "/" in the filename (which is not a nice thing, I have to admit). So, it was a folder with a content like this:

output/<test-data/1>.dat
output/<test-data/2>.dat
output/<test-data/3>.dat

This broke the initialization of the fortls. When I removed all forward slashes from the filenames, everything worked as before. I think this should be a minor bug, since nobody should use forward slashes in filenames .... it was just some temporary test data I received.

Thanks for the report. Can you try doing a debug initialization with the same root directory where you see the error? This should give you a more complete stack trace to show where exactly the error is occurring. Thanks!

Sorry, I don't understand how to do a debug initialization.
When I use fortls --debug_rootpath in terminal I get "fortls: command not found".


Promotion Hexes

In the Glinski variant it is possible for the rightmost (and leftmost) pawn to promote in their first move by taking towards right (and left) and reaching the opponents promotion hex.

Hi! Thank you for the report. I'll be sure to fix it next time I revisit this code.


⚠ Bofrost.at has degraded performance

In 7c11cd4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2114 ms

Resolved: Bofrost.at performance has improved in 16fa545.