LLDB fails to lauch: unknown error

Info
OS: Windows 8.1
Extension version: 0.8.9
LLDB version:
lldb version 6.0.0 (https://github.com/llvm-mirror/lldb.git revision 38001b27c9f
319a3112271ca44fa0e1912583570)
  clang revision b3bac44cb354b63214b16fab24b5c0ffd392ec02
  llvm revision bbbe81ad6ad6db7ccb332df1f1932a5589a7eeca

VSCode Version:  1.24.0
What is the problem and how did you get there?
I followed the instructions for installing LLDB on Windows. Executing LLDB in the console works, python35.dll is installed. However, when I try to launch it with the following parameters:
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "lldb",
            "request": "launch",
            "name": "LLDB Debug",
            "cargo": {
                "args": ["run", "--example", "debug"]
            },
            "cwd": "${workspaceRoot}"
        }
    ]
}

... to run cargo run --example debug it simply quits with:
Display settings: variable format=auto, show disassembly=auto, numeric pointer values=off, container summaries=on.
Launching c:\Users\fschutt\Development\azul\target\debug\examples\debug.exe
Error: process launch failed: unknown error

The LLDB output is:
Running `cargo run --example debug --message-format=json`...
    Finished dev [unoptimized + debuginfo] target(s) in 0.47s
     Running `target\debug\examples\debug.exe`
Matching compilation artifacts:
{ fileName: 'c:\\Users\\fschutt\\Development\\azul\\target\\debug\\examples\\debug.exe',
  name: 'debug',
  kind: 'example' }
Starting new session with:
{ type: 'lldb',
  request: 'launch',
  name: 'LLDB Debug',
  cwd: '${workspaceRoot}',
  program: 'c:\\Users\\fschutt\\Development\\azul\\target\\debug\\examples\\debug.exe' }
(lldb) command script import 'c:\Users\fschutt\.vscode\extensions\vadimcn.vscode-lldb-0.8.9\adapter'
(lldb) script adapter.main.run_tcp_session(0, 'eyJzb3VyY2VMYW5ndWFnZXMiOlsicnVzdCJdfQ==')
Listening on port 49951

... so yeah, I don't know what I'm doing wrong, I followed the installation instructions exactly. LLDB seems to be up and running as far as I can see (?).
The problem is that I can't debug anything at all - are there any steps I missed? I used the 32-bit LLVM build and 32-bit Python version.

Does your app start successfully if launched from VSCode's terminal?    Can you debug it with command line lldb?

If you are still using CodeLLB, how does the latest version do?

No, I'm not using LLDB or VSCode anymore, sorry. Idk if the latest version has changed anything.


fix the pod running status verification

The fact that the container is ready does not mean that the pod is accessible

@CloudCourierStation that's right.  we must wait the pod condition PodReady to true. it represent the server is accessible.
Thanks for contribute.

LGTM
@panpan0000 /cc

fix https://github.com/cloudtty/cloudtty/issues/16
Thank you @CloudCourierStation


Document how to debug Protocol error (Runtime.callFunctionOn): Target closed.

The issue: some JS code in the page causes crash of the page in the browser. Target closed is not enough information, is there some debug mode to see why page crashed?
Related: users of react-snap periodically get this error https://github.com/stereobooster/react-snap/issues/240

Still a problem almost 4 years later.


popover of rowSize is opened on top left screen instead of on place

Any update on this? I am also facing this issue. I am on React 16 and material-ui 0.19.4


add CoreParse as submodule

Why not add CoreParse as a Git submodule for easier installation? It's rather complicated to get the project up & built, and you have to dig around to understand that CoreParse should go in a folder called CoreParse (exactly), etc.

Also, the iOSCoreParse target should be a dependent target of OpenStreetPad. Otherwise you have to build them in turn manually.

Because git submodules cause a variety of nasty problems, I did consider it.  Making the target dependant though I will do.

Wait... I just checked this, cleaned both iOS core parse, and OSP, and rebuilt – both built, it's already dependant.

The OpenStreetPad target is not dependent on OSPParserGenerator, meaning you have to build one, then switch and build the app. The app should be dependent so that you can just build it in one step if desired.
On the topic of submodules, honest question (not trying to be difficult here) but what are the problems? I use it on a number of projects. The only things I've run into are:

The need to git submodule update --init or deeply clone a project in order to grab them the first time.
The incompatibility with gh-pages and submodule when hosting sites on GitHub.

I've tried the subtree merge solution on another project in order to avoid the gh-pages issue, but there, one side effect is sub-project histories that predate the main project and throw off the development history timeline. But that's pretty minor.
Anyway, just a thought. I'd be happy to contribute pull requests for both dependent target as well as submodules, unless I'm misunderstanding something.

On 29 Feb 2012, at 18:04, Justin R. Miller wrote:

The OpenStreetPad target is not dependent on OSPParserGenerator, meaning you have to build one, then switch and build the app. The app should be dependent so that you can just build it in one step if desired.

Ah fair point, I hadn't done that so far because the amount of time I spend rebuilding the parser archiver is tiny compared to the time it would take me to figure out how to make it a dependent target, and add a target to run the output of it to generate the archive, and then make that dependent.  I'll look into setting that up properly at some point.

On the topic of submodules, honest question (not trying to be difficult here) but what are the problems? I use it on a number of projects. The only things I've run into are:

The need to git submodule update --init or deeply clone a project in order to grab them the first time.
The incompatibility with gh-pages and submodule when hosting sites on GitHub.

These are precisely the two points I was going to bring up:
Re 1:
git clone git://github.com/beelsebob/CoreParse.git
git clone git://github.com/beelsebob/OpenStreetPad.git
is easier than:
git clone git://github.com/beelsebob/OpenStreetPad.git
cd OpenStreetPad
git submodule update --init.
Re 2:
I use gh-pages to host CoreParse's documentation, I intend to use it for OpenStreetPad when I break out the renderer into a static library.
For a bonus 3:
It's easier for me to maintain the two independently with different repo versions if they're independent of one and other.

Anyway, just a thought. I'd be happy to contribute pull requests for both dependent target as well as submodules, unless I'm misunderstanding something.
I'd rather you did that if possible.  I don't anticipate there being any serious problems with CoreParse in OSP – CoreParse is pretty stable now, but then I guess nothing can be ruled out.

Thanks
Tom Davie


Replace the URL to DNAstack's decommissioned or soon-to-be-decommissioned data connect services

This PR is to replace the URL to DNAstack's decommissioned or soon-to-be-decommissioned data connect services.

Old endpoint
Reason

https://data-connect-trino-public.prod.dnastack.com/
Soon to be decommissioned

https://ga4gh-search-adapter-presto-public.prod.dnastack.com/
Soon to be decommissioned

The new endpoint is https://data.publisher.dnastack.com/data-connect/.

NOTE: The tables have been replaced with the same/equivalent one.

https://data.publisher.dnastack.com/data-connect/tables
gives the following error:
{
    "errors": [
        {
            "status": 401,
            "title": "Access Denied: HTTP 401: User does not have permission to access the table [system.metadata.catalogs]. [traceID: ffe755be6f7e249f | spanID: 52db90931f6929c2]",
            "details": "ffe755be6f7e249f: USER_ERROR: 4: PERMISSION_DENIED"
        }
    ],
    "error": {
        "status": 401,
        "title": "Access Denied: HTTP 401: User does not have permission to access the table [system.metadata.catalogs]. [traceID: ffe755be6f7e249f | spanID: 52db90931f6929c2]",
        "details": "ffe755be6f7e249f: USER_ERROR: 4: PERMISSION_DENIED"
    }
}

@ianfore we think we've addressed the issue you reported when you last tried this. We'd love if you could try it out again, but if you don't have time, we'd still like to merge this change on Friday as the old table names will become unusable soon.

@mbarkley . All I've had time to do at the moment is check the error I was getting before doesn't occur with the corrected endpoint.
https://publisher-data.prod.dnastack.com/data-connect
There are many table name changes also, and haven't has a chance to look at all of those.
Same answer for the following PR on the tutorial repo (which is probably the more important one)
https://github.com/ga4gh/Get-Started-with-GA4GH-APIs/pull/43

@mbarkley
I also hadn't checked whether the schema for the tables had been migrated correctly.
For notebook 2-3a the original table was
thousand_genomes.onek_genomes.sra_drs_files
See the schema that was previous provided in response to /tables/thousand_genomes.onek_genomes.sra_drs_files/info at this commit
The replacement table on the new server seems to be:
collections.public_datasets.onek_genomes_sra_drs_files
The schema provided in response to is an autogenerated schema
The old server was making use of static json schema files that had been provided for specific datasets . These don't seem to have migrated to the new server. Or perhaps just not to the location on the new server where they would be expected to be found.

I am in the process of restoring the custom schema. As it involves fixing a bug on our backend service, it should be ready by the end of next week.


expires_on is not present in all responses

AccessToken includes a token's expiration time. Turns out that across the endpoints we intend to support, there are three cases for figuring out what that is:

response has only expires_on (App Service MSI) -> that's easy
response has only expires_in (AAD OAuth v2) -> use expires_in + time the request was sent
response has expires_on and expires_in (Cloud Shell) -> use expires_on

Also a fourth case which probably shouldn't ever occur but is handled by this code:

response has neither expires_on or expires_in -> set expires_on = 0

(effectively a single-use token: the next call to get_token will provoke a request to the auth endpoint.

Can one of the admins verify this patch?

/azp run azure-sdk-for-python - client

/azp run azure-sdk-for-python - client


Chorus fruit doesn't grow at Y>255

Don't know if this is overworld-only, but I doubt it. It did grow at Y=230 on the same map.

Probaly the same thing as no ores below y0

Ores below y=0 do generate in CustomCubic world type.
I simply didn't remove height limit from chorus.

If there are generating on custom cubic why it does not generate on vanillacubic? Isn't it just a copy paste code?

VanillaCubic isn't even coypasted. I just directly use vanilla generator, which obviously only knows about 0-256, and fill everything below with stone.

Closing as this is part of #152


Switch Vagrantfile to be based on Sandstorm base box

Rationale: The Debian base box disabled support (perhaps temporarily)
for vboxsf file sharing, but I like VirtualBox's file sharing.

Merging as-is, since this doesn't affect code, merely deploy/dev scripts, and Travis-CI doesn't even test this one.


fixes lib/utils/gestures.html for gulp-eslint

fixes lib/utils/gestures.html for gulp-eslint

Reference Issue

Fixes #4482

PR #4483 always include my lasted commit in master branch, so i closed it then made this PR.

Polymer team cannot reproduce this locally or on CI.


Add direction attribute

Enhance progressBar with possibility to change direction of progressing.

Seems like this repo is not really active anymore, I can suggest you to do a PR on my repo wich is pretty simillar @ThinkDeeper

It's now available in the last version:
implementation 'com.mikhaellopez:circularprogressbar:3.0.0'


Add existential as a weak keyword

I believe this is an unstable feature, correct?

Correct. The surface syntax will be changed before stabilization.

I don't think existential is reserved, or affects stable code in any way, correct?

Correct.

Ah, my bad


No hardware OpenGL acceleration in WSL2 after updating the Store version to <IP_ADDRESS>

Version
Microsoft Windows [Version 10.0.22000.556]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Ubuntu 20.04.4 LTS
Other Software
No response
Repro Steps
after update to store version <IP_ADDRESS>, OpenGL is using software rendering llvmpipe mesa driver instead of D3D12.
Try to run some OpenGL application, rendering will be slow and cpu usage will be very high
Expected Behavior
Mesa OpenGL should be using the D3D12 driver with hardware acceleration
Actual Behavior

➜  ~ glxinfo|grep OpenGL
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 12.0.0, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.2.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 21.2.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Diagnostic Logs
No response

GPU is GeForce RTX 3080 with latest 511.79 drivers, before the update, the OpenGL acceleration was working correctly

Same here. I think this is related to the new packaged Direct3D libraries. (libd3d12core.so and libd3d12.so)
$ ll /usr/lib/wsl/lib/
total 64164
drwxr-xr-x 1 root root       40 Mar 13 22:24 ./
drwxr-xr-x 4 root root     4096 Jun 16  2021 ../
-r-xr-xr-x 1 root root   141464 Jul 12  2021 libcuda.so*
-r-xr-xr-x 1 root root   141464 Jul 12  2021 libcuda.so.1*
-r-xr-xr-x 1 root root   141464 Jul 12  2021 libcuda.so.1.1*
-r-xr-xr-x 1 root root   787936 Mar 13 22:24 libd3d12.so*
-r-xr-xr-x 1 root root  6137560 Mar 13 22:24 libd3d12core.so*
-r-xr-xr-x 2 root root   827904 Jun  5  2021 libdxcore.so*
-r-xr-xr-x 1 root root  6175952 Jul 12  2021 libnvcuvid.so.1*
-r-xr-xr-x 1 root root   424448 Jul 12  2021 libnvidia-encode.so.1*
-r-xr-xr-x 1 root root   197528 Jul 12  2021 libnvidia-ml.so.1*
-r-xr-xr-x 1 root root   354816 Jul 12  2021 libnvidia-opticalflow.so.1*
-r-xr-xr-x 1 root root 49664192 Jul 12  2021 libnvwgf2umx.so*
-r-xr-xr-x 1 root root   678392 Jul 12  2021 nvidia-smi*

Thanks for reporting, I will take a look.

@RobertSpir , @onomatopellan , could you do the following to help us diagnose.
On Windows, launch dxdiag.exe (built-in utility), click "save all information" and attach the file to your post.
On the Ubuntu side,

Verify that /dev/dxg is present
ls /dev/dxg

See if any error is logged by the d3d12 driver when launching an OGL app
export D3D12_DEBUG=all
glxinfo -B

ls -la /dev/dxg
crw-rw-rw- 1 root root 10, 63 Mar 14 17:45 /dev/dxg

MESA_LOADER_DRIVER_OVERRIDE=D3D12 D3D12_DEBUG=all LIBGL_DEBUG=verbose glxinfo -B
name of display: :0
libGL: MESA-LOADER: dlopen(/usr/lib/dri/swrast_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/doug/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/doug/.drirc: No such file or directory.
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa/X.org (0xffffffff)
    Device: llvmpipe (LLVM 13.0.1, 256 bits) (0xffffffff)
    Version: 22.0.0
    Accelerated: no
    Video memory: 96562MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 13.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 22.0.0
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.0.0
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

DxDiag.txt
doesn't look like that it even tries to load the D3D12 driver (in the meantime, I tried updating mesa to 22.0.0, the D3D12 driver is included in mesa configuration)
ls -la /usr/lib/dri/d3d12_dri.so
-rwxr-xr-x 12 root root 26005552 Mar 10 08:56 /usr/lib/dri/d3d12_dri.so

We've sorted out what happened here - this will work with newer versions of libdxcore.so, but not the version in retail Win 11. Working on a fix now.

yes, copying libdxcore.so from latest insider build to C:\Windows\System32\lxss\lib helped (although I do not recommend doing this...)
glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Microsoft Corporation (0xffffffff)
    Device: D3D12 (NVIDIA GeForce RTX 3080) (0xffffffff)
    Version: 22.1.0
    Accelerated: yes
    Video memory: 75576MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.2
    Max compat profile version: 4.2
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (NVIDIA GeForce RTX 3080)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 22.1.0-devel (git-2f9976debc)
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.2 (Compatibility Profile) Mesa 22.1.0-devel (git-2f9976debc)
OpenGL shading language version string: 4.20
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 22.1.0-devel (git-2f9976debc)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

After upgrading to wsl-0.56.2 when running glxinfo -B it ends with a segfault:

trace from paraview
Loguru caught a signal: SIGSEGV
Stack trace:
5       0x7d2ce7312584 clone + 68
4       0x7d2ce728d5c2 /usr/lib/libc.so.6(+0x8d5c2) [0x7d2ce728d5c2]
3       0x7d2c344b7396 /usr/lib/wsl/drivers/nv_dispig.inf_amd64_3b12ac0f95b18b9d/libnvwgf2umx.so(+0x1ace396) [0x7d2c344b7396]
2       0x7d2c344b740c /usr/lib/wsl/drivers/nv_dispig.inf_amd64_3b12ac0f95b18b9d/libnvwgf2umx.so(+0x1ace40c) [0x7d2c344b740c]
1       0x7d2c344b8e6a /usr/lib/wsl/drivers/nv_dispig.inf_amd64_3b12ac0f95b18b9d/libnvwgf2umx.so(+0x1acfe6a) [0x7d2c344b8e6a]
0       0x7d2ce7242560 /usr/lib/libc.so.6(+0x42560) [0x7d2ce7242560]
(   8.783s) [        429FF640]                       :0     FATL| Signal: SIGSEGV
[1]    1022 segmentation fault  paraview

After upgrading to wsl-0.56.2 when running glxinfo -B it ends with a segfault:

Seeing the same error (GTX 1060). If I uninstall the WSL preview and use the inbox version, it works.
Also, MESA_D3D12_DEFAULT_ADAPTER=Intel glxinfo -B works without any error on the integrated Intel UHD 620 GPU, so the error doesn't happen for all GPUs used via d3d12?

Sorry clicked the wrong button :)  Could you please file a new issue about the segfault issue, I'm not able to reproduce.

@jonaskuske Did you by any chance figure out what was causing the segfault?
It looks like it's the same issue as in https://github.com/microsoft/wslg/issues/715 .

Yeah, definitely the same issue. But nope, haven't figured it out :(

The segfault is triggered by C:\Windows\system32\lxss\lib\libnvwgf2umx.so
[12065.391505] glxinfo[59302]: segfault at 7fefbf9ee000 ip 00007fefc24be80a sp 00007fefbf9ecd90 error 4 in libnvwgf2umx.so[7fefc0dbe000+1a92000]
and that's a Team Green issue!


#6192 log and return 500 with json on error at visualizations controller

This closes #6192. @ethervoid CR this, please.

:shipit:


Google Maps Cordova plugin not working inside Modal dialog

Short description of the problem:
Opening the map controller via this.nav.push() works perfectly fine but there seems to be a problem when I load the dialog via modal.present() because the underlying views don't seem to be made transparent.
What behavior are you expecting?
Full transparency of the underlying views
See http://www.joshmorony.com/integrating-native-google-maps-into-an-ionic-2-application/
Which Ionic Version? 1.x or 2.x
Ionic 2

Case 1: https://drive.google.com/file/d/0BzzwDw5jEO0xZFBYMndFYUY3VGs/view
Modal ->

Setting .app-root visibility:hidden let me see the map

Case 2: https://drive.google.com/file/d/0BzzwDw5jEO0xRGFhWWpBZkoyYVk/view
SubPage ->

I can see the map without doing anything.

Just tested the visibility:hidden css hack. It doesn't work for me but setting it to opacity: 0 does the trick. Also a big problem is that when you open a modal dialog on a tablet / ipad and using  the css from above, it either does not work or makes the background completely transparent (see screenshots).

I'm not sure this is a framework issue, more a known limitation of the plugin: https://github.com/mapsplugin/cordova-plugin-googlemaps/wiki/map#how-does-the-plugin-work.
If you know how the map should be displayed, you'll probably need to set the styles of parent/background elements accordingly, either by making them not visible or by overriding the class that the plugin automatically adds (for elements that you know should stay visible).

You're right, it's a limitation of the plugin and not the framework. I solved the problem by simply loading the modal as a normal dialog on a tablet screen. Thanks a lot for your help 👍

@marcelgoya Can you share a snippet showing loading the modal as a normal dialog?
I'm running into the same issue trying to load the map inside a modal, can't get it working :cry:

is this solved ?? im having got this problem

I have the same problem, did you find a workaround?

I had same problem... I have done a fix for that using Angular ngZone..
this.zone.run(() => {
this.helper.showLoader({message: APP_CONFIG.MESSAGES.LOADING_HTTP_REQUEST});
  this.map = GoogleMaps.create('map_canvas', {
    mapType: 'MAP_TYPE_NORMAL',
    camera: {
      target: {
        lat: this.currentPosition.coords.latitude,
        lng: this.currentPosition.coords.longitude
      },
      zoom: 10
    }
  });

  this.map.one(GoogleMapsEvent.MAP_READY).then(() => {
    console.log('map ready');
    this.helper.hideLoader();
    // this.requestDeviceCurrentPossition();
    this.mapReady = true;
  });
})


Added remindme command

syntax: ++remindme <time> "message to remind you about"

When there's no valid time found the default time will be set to 1 day.
Message is optional

Discussed with you in private, we'll keep the parsing format + input types. One question, does it need the quotes? I'd rather it not need those.

The quotes prevents time references in the title from being parsed.
Besides that, unresolved time references would stay in the title.

The correct way to do that would be via a splitter, since that's the built in way to have multiple sentence like args. However, I'm pretty sure the parser can change to accommodate for no quote or splitter, just split string into a list of words, then takeWhile it is clearly a time string element. Then you have both strings and you can have time string stuff in the title, too.

Rejected as implemented as per my spec in https://github.com/AberrantFox/hotbot/commit/6db042e5c718fc6b3175ce9bb0d3fce8bcad59fa


Script Analyzer: recognize order of stack parameters and their "semantic" type

We could improve the script analyzer to move from a single boolean needParams to returning an array of typed stack inputs, for example opcodes like CHECKSIG or CHECKDATASIG may want respectively a sig input (65 bytes) and  a datasig input (64 bytes).
Most importantly, if more stack parameters are needed, we may want to sort the stack inputs in the right order how the script requires it.

Closing, in favor of Ionio


Log streaming services can't provide multiple syslog_drain_url

Issue
Log streaming services can't provide multiple syslog_drain_url
Context
Currently a log streaming service can only provide a single URL in the binding response.

syslog_drain_url	string	A URL to which logs may be streamed. "requires":["syslog_drain"] must be declared in the Catalog endpoint or the platform should consider the response invalid.
https://docs.cloudfoundry.org/services/api.html#binding

In certain setups it would be desirable to allow multiple URLs to be provided for availability and load balancing purposes.
Steps to Reproduce
Bind a log streaming service with multiple syslog_drain_url to an app
Expected result
Either of:

Logs are streamed to one of the the syslog_drain_url; if this becomes unavailable a new connection is opened to one of the other syslog_drain_url provided and logs resume streaming (for availability)
Each currently available syslog_drain_url receives a "subset" of the logs in parallel (for availability and load balancing)

Current result
Not supported. Only one syslog_drain_url can be provided. If this become unavailable logs are irretrievably lost.

Hey @CAFxX,
Thank you for your feature request.
Since this is part of the open service broker specification, you would have to submit this issue on their github.
A couple idea that may or may not address your use-case:

Users can bind multiple logging services to a single app for higher availability (at the cost of duplication)
The logging service can do its own load balancing behind the single url

I'm going to close this issue for now, but please re-open it if you have questions or concerns.

@gerg && @ericpromislow


[Bug]: which torchvision version required

/vllm_2$ python examples/phi3v_example.py
WARNING 06-21 14:53:06 ray_utils.py:46] Failed to import Ray with ModuleNotFoundError("No module named 'ray'"). For multi-node inference, please install Ray with pip install ray.
/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
INFO 06-21 14:53:08 llm_engine.py:164] Initializing an LLM engine (v0.5.0.post1) with config: model='microsoft/Phi-3-vision-128k-instruct', speculative_config=None, tokenizer='microsoft/Phi-3-vision-128k-instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, rope_scaling=None, rope_theta=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=8128, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, quantization_param_path=None, device_config=cpu, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), observability_config=ObservabilityConfig(otlp_traces_endpoint=None), seed=0, served_model_name=microsoft/Phi-3-vision-128k-instruct)
WARNING 06-21 14:53:10 cpu_executor.py:116] CUDA graph is not supported on CPU, fallback to the eager mode.
WARNING 06-21 14:53:10 cpu_executor.py:143] Environment variable VLLM_CPU_KVCACHE_SPACE (GB) for CPU backend is not set, using 4 by default.
INFO 06-21 14:53:10 selector.py:113] Cannot use _Backend.FLASH_ATTN backend on CPU.
INFO 06-21 14:53:10 selector.py:64] Using Torch SDPA backend.
INFO 06-21 14:53:11 selector.py:113] Cannot use _Backend.FLASH_ATTN backend on CPU.
INFO 06-21 14:53:11 selector.py:64] Using Torch SDPA backend.
INFO 06-21 14:53:12 weight_utils.py:218] Using model weights format ['*.safetensors']
INFO 06-21 14:53:14 cpu_executor.py:72] # CPU blocks: 682
Processed prompts:   0%|                                                                                | 0/1 [00:00<?, ?it/s, est. speed input: 0.00 toks/s, output: 0.00 toks/s][rank0]: Traceback (most recent call last):
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/examples/phi3v_example.py", line 58, in
[rank0]:     run_phi3v()
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/examples/phi3v_example.py", line 31, in run_phi3v
[rank0]:     outputs = llm.generate(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/utils.py", line 727, in inner
[rank0]:     return fn(*args, **kwargs)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/entrypoints/llm.py", line 304, in generate
[rank0]:     outputs = self._run_engine(use_tqdm=use_tqdm)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/entrypoints/llm.py", line 556, in _run_engine
[rank0]:     step_outputs = self.llm_engine.step()
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/engine/llm_engine.py", line 806, in step
[rank0]:     output = self.model_executor.execute_model(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/executor/cpu_executor.py", line 78, in execute_model
[rank0]:     output = self.driver_worker.execute_model(execute_model_req)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
[rank0]:     return func(*args, **kwargs)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/worker/cpu_worker.py", line 302, in execute_model
[rank0]:     output = self.model_runner.execute_model(seq_group_metadata_list,
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
[rank0]:     return func(*args, **kwargs)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/worker/cpu_model_runner.py", line 337, in execute_model
[rank0]:     ) = self.prepare_input_tensors(seq_group_metadata_list)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/worker/cpu_model_runner.py", line 287, in prepare_input_tensors
[rank0]:     ) = self._prepare_prompt(seq_group_metadata_list)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/worker/cpu_model_runner.py", line 132, in _prepare_prompt
[rank0]:     mm_kwargs = self.multi_modal_input_processor(mm_data)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/multimodal/registry.py", line 142, in process_input
[rank0]:     .process_input(data, model_config, vlm_config)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/multimodal/base.py", line 126, in process_input
[rank0]:     return processor(data, model_config, vlm_config)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/multimodal/image.py", line 109, in _default_input_processor
[rank0]:     image_processor = self._get_hf_image_processor(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/multimodal/image.py", line 97, in _get_hf_image_processor
[rank0]:     return cached_get_image_processor(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/transformers_utils/image_processor.py", line 21, in get_image_processor
[rank0]:     processor: BaseImageProcessor = AutoImageProcessor.from_pretrained(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/transformers/models/auto/image_processing_auto.py", line 398, in from_pretrained
[rank0]:     image_processor_class = get_class_from_dynamic_module(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 501, in get_class_from_dynamic_module
[rank0]:     final_module = get_cached_module_file(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 326, in get_cached_module_file
[rank0]:     modules_needed = check_imports(resolved_module_file)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/venv/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 181, in check_imports
[rank0]:     raise ImportError(
[rank0]: ImportError: This modeling file requires the following packages that were not found in your environment: torchvision. Run pip install torchvision
Processed prompts:   0%|                                                                                | 0/1 [00:01<?, ?it/s, est. speed input: 0.00 toks/s, output: 0.00 toks/s]

I am using cpu

The latest version should be fine. By the way, Phi-3V is not supported on CPU yet.

for cpu required torch == 2.3.1+cpu and torchvision==0.18.1  required torch == 2.3.1
torchvision==0.18.1 not working

@Isotr0py can you provide more insight on this?

@tusharraskar torchvision==0.18.1 should work fine. Maybe you can try to reinstall torch and torchvision:
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu

The CI failure here may be related to this issue. It seems that torchvision cannot be installed correctly alongside PyTorch for CPU.

@DarkLight1337 We only added torchvision to requirements-test.txt and .buildkite/run-cpu-test.sh didn't install package from it.  So torchvision wouldn't be installed by default in intel-test.

@DarkLight1337 We only added torchvision to requirements-test.txt and .buildkite/run-cpu-test.sh didn't install package from it. So torchvision wouldn't be installed by default in intel-test.

Hmm ok, let me update that then.

@Isotr0py can you provide more insight on this?

RuntimeError: operator torchvision::nms does not exist
(vll_venv) sapidblue@sapidblue-Latitude-3410:~/SapidBlue/invoice_data_extraction/vllm_2$ pip show torch torchvision
Name: torch
Version: 2.3.1+cpu
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Home-page: https://pytorch.org/
Author: PyTorch Team
Author-email<EMAIL_ADDRESS>License: BSD-3
Location: /home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages
Requires: filelock, fsspec, jinja2, networkx, sympy, typing-extensions
Required-by: torchvision, vllm
Name: torchvision
Version: 0.18.1
Summary: image and video datasets and models for torch deep learning
Home-page: https://github.com/pytorch/vision
Author: PyTorch Core Team
Author-email<EMAIL_ADDRESS>License: BSD
Location: /home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages
Requires: numpy, pillow, torch
Required-by:
(vll_venv) sapidblue@sapidblue-Latitude-3410:~/SapidBlue/invoice_data_extraction/vllm_2$ python examples/phi3v_example.py
WARNING 06-21 20:34:44 ray_utils.py:46] Failed to import Ray with ModuleNotFoundError("No module named 'ray'"). For multi-node inference, please install Ray with pip install ray.
/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
INFO 06-21 20:34:45 llm_engine.py:164] Initializing an LLM engine (v0.5.0.post1) with config: model='microsoft/Phi-3-vision-128k-instruct', speculative_config=None, tokenizer='microsoft/Phi-3-vision-128k-instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, rope_scaling=None, rope_theta=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=8128, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, quantization_param_path=None, device_config=cpu, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), observability_config=ObservabilityConfig(otlp_traces_endpoint=None), seed=0, served_model_name=microsoft/Phi-3-vision-128k-instruct)
WARNING 06-21 20:34:46 cpu_executor.py:116] CUDA graph is not supported on CPU, fallback to the eager mode.
WARNING 06-21 20:34:46 cpu_executor.py:143] Environment variable VLLM_CPU_KVCACHE_SPACE (GB) for CPU backend is not set, using 4 by default.
INFO 06-21 20:34:46 selector.py:113] Cannot use _Backend.FLASH_ATTN backend on CPU.
INFO 06-21 20:34:46 selector.py:64] Using Torch SDPA backend.
INFO 06-21 20:34:46 selector.py:113] Cannot use _Backend.FLASH_ATTN backend on CPU.
INFO 06-21 20:34:46 selector.py:64] Using Torch SDPA backend.
INFO 06-21 20:34:48 weight_utils.py:218] Using model weights format ['*.safetensors']
INFO 06-21 20:34:53 cpu_executor.py:72] # CPU blocks: 682
Processed prompts:   0%|                                         | 0/1 [00:00<?, ?it/s, est. speed input: 0.00 toks/s, output: 0.00 toks/s][rank0]: Traceback (most recent call last):
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/examples/phi3v_example.py", line 58, in
[rank0]:     run_phi3v()
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/examples/phi3v_example.py", line 31, in run_phi3v
[rank0]:     outputs = llm.generate(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/utils.py", line 727, in inner
[rank0]:     return fn(*args, **kwargs)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/entrypoints/llm.py", line 304, in generate
[rank0]:     outputs = self._run_engine(use_tqdm=use_tqdm)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/entrypoints/llm.py", line 556, in _run_engine
[rank0]:     step_outputs = self.llm_engine.step()
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/engine/llm_engine.py", line 806, in step
[rank0]:     output = self.model_executor.execute_model(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/executor/cpu_executor.py", line 78, in execute_model
[rank0]:     output = self.driver_worker.execute_model(execute_model_req)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
[rank0]:     return func(*args, **kwargs)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/worker/cpu_worker.py", line 302, in execute_model
[rank0]:     output = self.model_runner.execute_model(seq_group_metadata_list,
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
[rank0]:     return func(*args, **kwargs)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/worker/cpu_model_runner.py", line 337, in execute_model
[rank0]:     ) = self.prepare_input_tensors(seq_group_metadata_list)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/worker/cpu_model_runner.py", line 287, in prepare_input_tensors
[rank0]:     ) = self._prepare_prompt(seq_group_metadata_list)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/worker/cpu_model_runner.py", line 132, in _prepare_prompt
[rank0]:     mm_kwargs = self.multi_modal_input_processor(mm_data)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/multimodal/registry.py", line 142, in process_input
[rank0]:     .process_input(data, model_config, vlm_config)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/multimodal/base.py", line 126, in process_input
[rank0]:     return processor(data, model_config, vlm_config)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/multimodal/image.py", line 109, in _default_input_processor
[rank0]:     image_processor = self._get_hf_image_processor(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/multimodal/image.py", line 97, in _get_hf_image_processor
[rank0]:     return cached_get_image_processor(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/vllm-0.5.0.post1+cpu-py3.10-linux-x86_64.egg/vllm/transformers_utils/image_processor.py", line 21, in get_image_processor
[rank0]:     processor: BaseImageProcessor = AutoImageProcessor.from_pretrained(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/transformers/models/auto/image_processing_auto.py", line 398, in from_pretrained
[rank0]:     image_processor_class = get_class_from_dynamic_module(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 501, in get_class_from_dynamic_module
[rank0]:     final_module = get_cached_module_file(
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 326, in get_cached_module_file
[rank0]:     modules_needed = check_imports(resolved_module_file)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 176, in check_imports
[rank0]:     importlib.import_module(imp)
[rank0]:   File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
[rank0]:     return _bootstrap._gcd_import(name[level:], package, level)
[rank0]:   File "", line 1050, in _gcd_import
[rank0]:   File "", line 1027, in _find_and_load
[rank0]:   File "", line 1006, in _find_and_load_unlocked
[rank0]:   File "", line 688, in _load_unlocked
[rank0]:   File "", line 883, in exec_module
[rank0]:   File "", line 241, in _call_with_frames_removed
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/torchvision/init.py", line 6, in
[rank0]:     from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/torchvision/_meta_registrations.py", line 164, in
[rank0]:     def meta_nms(dets, scores, iou_threshold):
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/torch/library.py", line 467, in inner
[rank0]:     handle = entry.abstract_impl.register(func_to_register, source)
[rank0]:   File "/home/sapidblue/SapidBlue/invoice_data_extraction/vllm_2/vll_venv/lib/python3.10/site-packages/torch/_library/abstract_impl.py", line 30, in register
[rank0]:     if torch._C._dispatch_has_kernel_for_dispatch_key(self.qualname, "Meta"):
[rank0]: RuntimeError: operator torchvision::nms does not exist
Processed prompts:   0%|                                         | 0/1 [00:00<?, ?it/s, est. speed input: 0.00 toks/s, output: 0.00 toks/s]
(vll_venv) sapidblue@sapidblue-Latitude-3410:~/SapidBlue/invoice_data_extraction/vllm_2$

@tusharraskar torchvision==0.18.1 should work fine. Maybe you can try to reinstall torch and torchvision:
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu

Now it's working, but the model is using only one core, which makes the process slow. I also added a screenshot.

@tusharraskar torchvision==0.18.1 should work fine. Maybe you can try to reinstall torch and torchvision:
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu

Now it's working, but the model is using only one core, which makes the process slow. I also added a screenshot

The latest version should be fine. By the way, Phi-3V is not well-supported on CPU yet.

That is exactly what I meant by this.

You can check #4194 for the progress on CPU support.

@tusharraskar I think adding dtype="bfloat16" or dtype="float" to LLM should be able to use multi-core.


CI scripts should test CMake

To make sure CMake based builds succeed, one of the CI targets should attempt to use it.

Fixed in 1.0.0-b8


feature request: allow free text after @since

Summary:
Extend flexibility to accept any text following the @since tag, not just version numbers.
The current behavior of the library enforces the @since tag to be followed by a version number. Any text after the tag that isn't recognized as a version number is automatically moved to a new line. This isn't accommodating for cases where the @since tag needs to be followed by descriptors other than version numbers (e.g., @since DOM L3 Core).
Current Behavior:
If the @since tag is followed by multiple words, the remaining text is pushed to a new line, like so:
@since DOM
L3 Core

Proposed Feature:
Option 1. Introduce a new configuration option, for example jsdocAllowSinceText, that would allow any text to follow the @since tag and remain on the same line.
Option 2. Allow any text to follow @since by default
The expected behavior would be as follows:
@since DOM L3 Core
Benefits:
Provides greater flexibility in using the @since tag, accommodating a wider range of use cases.

This is similar to the solution I mentioned in #3; I just had to move @since to the getTagsWithNameAsDescription group, and since the name is never pushed to a new line, it's always next to the tag :).
You can get it on v6 by overriding getTagsWithNameAsDescription and adding it to the list, but... I added an extra fix that won't be so easy to bring to v6: It didn't make sense to add the sentence formatting (Uppercase & period at the end) to @since, so I added a new constant and check for tags where the formatting shouldn't happen.
Here's the commit if you want to replicate it.


fix(utils): fixRequestBody support multipart/form-data

The fixRequestBody method provided now does not support the handling of the type for which Content- type is multipart/form- data. This pr has modified the method to support this type.

I'm sorry, I've just finished my work recently. I've revised a version. Please take a look at it.


Ensure a means of accessing the current step variable

refs https://github.com/k1LoW/runn/pull/97#discussion_r950659660
Proposal
If the request and test are executed in the same step, we want easy access to the response results.
Define the current variable so that it can be accessed by the same variable name in the named and unnamed steps.
steps:
  -
    req:
      /get?var=foo:
        get:
          body: null
    test: |
      current.res.status == 200

steps:
  reqget:
    req:
      /get?var=foo:
        get:
          body: null
    test: |
      current.res.status == 200

Looks good to me!!


Use Path Parameter in REST API

Note: If your feature-request is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

Is your feature request related to a problem? Please describe.
Amplify CLI does not allow path names like {proxy} and cannot create a resource with path parameters in a REST API.
$ amplify add api
? Please select from one of the below mentioned services: REST
? Provide a friendly name for your resource to be used as a label for this category in the project: apic1460ef0
? Provide a path (e.g., /items) /{proxy}
>> You can use the following characters: a-z A-Z 0-9 - /

Describe the solution you'd like
Please make it possible to use path parameters when creating or updating a REST API resource.
Describe alternatives you've considered
Alternatively, this can be achieved by writing a custom CloudFormation template.
Additional context
-

Hi @hamasayu if you check the generated CFN template, a proxy endpoint prefixed by the path you specify here is generated. Ie. If you specify /user/settings, /user/settings/{proxy+} is generated.
We will add support for path parameters such as /user/{id} to our backlog.

how to use path params in function.

Hi @sravyadalavai-vl, did you get an answer by any chance? I see that this feature has been merged on February 21st but I'm not able to find how to implement it. Anyone can help?


Add a GitHub Action to output the CLI dependencies to a vendor directory.

Necessary for productization purposes.

Can this be done in midstream repo? I had "pleasure" to work with vendored dependencies and it was very challenging to wrap head around - PR's were large due to dependencies being pushed, repository search were hard and overall developer experience doesn't work so well with vendor folder.


Fixing mention of the private app

@larrysalibra There was a mention of the private generateAndStoreTransitKey method in the public docs.  I've fixed that and regenerated the docs.
Signed-off-by: moxiegirl<EMAIL_ADDRESS>

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @moxiegirl that's a great catch!
It looks like generateAndStoreTransitKey should actually be marked as a public method because someone who wants to use makeAuthRequest would need to use it to construct the request.
We made a mistake and marked generateAndStoreTransitKey as @private
I'll merge this into a branch and adjust

Thanks @larrysalibra


Change Font-Size Code Block

I cannot find the css parameter to change the code block font size.
I can change the "inline code font size" with something such as  --ct-inline-code-font-size: 1.5em;
But I cannot change, let's say the "out code font size" or the font size of a block of code.
Can anyone help me? Thanks a lot!

Please change font properties in .CodeMirror rules. E.g.:
.CodeMirror {
   font-family: "Fira Mono";
   font-size: ...
}

I have the same problem but css above doesn't work.
My problem was solved by using:
.CodeMirror pre.CodeMirror-line,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber,
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror {
  font-size: 22px;
  line-height: 1.5;
}


correcting netbootxyz main.yml variable name error

What this PR does / why we need it:
netbootxyz_available_externally is the name in defaults, netbootxyz_externally was the name in main, just correcting so that both are netbootxyz_available_externally
Any other useful info:
fixes an error thrown during the netbootxyz portion of the playbook where it cannot locate {{ netbootxyz_externally }}

:+1: thanks!


Add graph arrange method

This method will change positions of nodes to minimize edges intersections

Done a long time ago


Release 2.1.1

Questions
Answers

Description?
Release 2.1.1

Type?

BC breaks?

Deprecations?

Fixed ticket?

How to test?

Hello @Hlavtox,
I have tested your Release PR and it's OK for me! :tada:
Thanks !

@kpodemski Ping for permissions fix and merge

Thanks @Hlavtox (and I've fixed your permissions)


conformance profiles CLI

What type of PR is this?

/kind feature
/area conformance
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #1990
Does this PR introduce a user-facing change?:

The experimental conformance profile suite can now be added as a stand-alone cli and by means of `go test`.

/cc @sunjayBhatia @arkodg
Would appreciate your reviews of this as well if you have some time.

hey @mlavacca, this looks good !
would be great if you could share the o/p snippet when run again any implementation


Adding Canadian Req

Adding the Canadian requisite for community advocate interns to the list of locations and links.

LGTM


arguments to catch cannot be reused

For the following code, JSHint reports these conflicting errors:
Line 10 alert (e);
'e' is not defined.
Line 12 catch (e)
'e' is already defined.
var myfunc = function() {
    var selection = {'getSelection': "ola! I'm a selection"};
    try {
            var myRange = selection.getSelection;
    }
    catch (e) {
        return null;
    }

    alert (e);
    try{}
    catch (e)
    {}
};

myfunc();

It seems that the 'e' is not defined error is correct, but I agree that the 'already defined' error shouldn't be an error.

Right, I agree.

#327 fixes this.


[Improve][Sort] Unify the constants in inlong-common  and sort-connectors

Description
many constants defined in both, it's redundant, it's better to unify them, for example metrics.audit.proxy.hosts:

sort-connectors

inlong-common

InLong Component
InLong Sort
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

If others don't start, please assign it to me

Only extract the same key between the two modules? If these two modules have the same key as other modules,  need to handle it？

@seedscoder do you start to solve this issue?

Could you assign it to me?

@dockerzhang

Can I please take this issue @dockerzhang? Please assign it to me


As a player, I would like to see an escape menu such that it shows options for displaying other related windows so that I can change settings, save/load levels, exit the game

The game should have an escape menu which provides a window with options displaying such as:

settings
load
save
scoreboard
exit

Implement template windows for each of these actions.

I want to contribute to this issue.
Hikmet Terzioğlu
161101071


Can you explain the gt_pascal.pkl format?

 In this file you can see, that for each image gt is a list (probably an empty one), each element of this list looks like [xmin, ymin, xmax, ymax, prob1, prob2, prob3], xmin etc are in relative coordinates. Here I assume, that first 4 numbers are coordinates and others are one-hot encoded classes (excluding background for ground truth).
Actually, you need just to parse xml file with annotations for an image, for each <object> node get its' class and bounding box coordinates, divide each x and y coordinate by image width and height respectively, one-hot encode object's class, concat obtained vectors of coordinates and one-hot encoded classes and add obtained converted bounding box to a list of image's objects. You can do it in generator, without preprocessing gt before training.

Can i have a code for what you described, I've been stuck  for 2 days in this step ?

I don't have code for parsing PASCAL xml. If you provide some snippet, that does parsing for your case, I can add some lines into it in order to show, how to convert PASCAL ground truth into expected one (but it is quite straightforward procedure).

Ok, one more question:
when I printed an item from the dictionary
print(gt['frame05183.png'])
this was the result:
[[ 0.54921875  0.36527778  0.78828125  0.61805556  1.          0.          0.        ]]
but your code says number of classes = 4
# some constants
NUM_CLASSES = 4

so, based on your explanation,
I have [xmin, ymin, xmax, ymax, prob1, prob2, prob3] but there's 4 classes, so it should be
[xmin, ymin, xmax, ymax, prob1, prob2, prob3, prob4]
am I correct ?

Here I assume, that first 4 numbers are coordinates and others are one-hot encoded classes (excluding background for ground truth).

So, in ground truth you don't need to worry about special background class, it is added automatically during bounding box to priors assignment. However, in order to construct the net correctly, I pass number of classes + 1 as NUM_CLASSES (e.g. for PASCAL07 it is 20 + 1). Yes, it looks kind of strange, but with this auxiliary background class we are doomed to have some problems with the simplicity.

Many Thanks !!

@abduallahadel
Can you please advice how to view contents of gt_pascal.pkl ?

@abduallahadel
Can you please advice how to view contents of gt_pascal.pk?

The author has answered the questions,it is NDA.

@Iflier Can you please explain what do you mean with NDA?

@rykov8 Regarding this reply "In this file you can see, that for each image gt is a list (probably an empty one)". Is it possible to have a empty list for some training samples since those samples do not contain any valid objects inside? For me, the code crashed because of those empty lists.

@Walid-Ahmed
. It may have  some helps.

@Walid-Ahmed HI, the means of NDA is : Non-disclosure agreement.Maybe the frames included in ../../frames, inconvenient public, I think.

@Walid-Ahmed If you want to train your own data set, you should write your own .pkl file. The content of the .pkl file contains the name of the image (not the absolute path of the image(s)), and then the coordinates of the object(s) in the image,eg: (x/img_width, y/img_height, (x+w)/img_width, (y+h)/img_height).

Hi,
What if an image contains multiple instances? (e.g. COCO)
which means something like gt('img0') should return object1 [x0, y0, x1, y1, p1, p2,...] and object2 [x0',y0',x1',y1',p1',p2',...], and so on. How to deal with this kind of training data in the Generator?
Thank you!

So an example of a .pkl file would be
totalImages/52472.jpg,255,165,38,34,emptyRock

255 and 165 being x1 and y1
and 38 being x2 - x1 and 34 being y2 - y1
? is that it? how do I convert a txt file to a pkl file?

@rykov8 : PLEASE help me understand your SSD- Keras repo codes line by line so that I  can pay you


Missing Cmdlet in Set-MpPreference

First, in this page, it says:

Added the AllowSwitchToAsyncInspection setting to Set-MpPreference. This policy enables a performance optimization that allows synchronously inspected network flows to switch to async inspection once they've been checked and validated.

But when I visit the page it mentions, which is the one I'm submitting feedback for, there is no mention of AllowSwitchToAsyncInspection Cmdlet.
instead, it is mentioned in here, totally different page.
Network protection now has a performance optimization that allows Block mode to start asynchronously inspecting long connections after they're validated and allowed by SmartScreen, which might provide a potential reduction in the cost that inspection has on bandwidth and can also help with app compatibility problems. This optimization capability is on by default. You can turn off this capability by using the following PowerShell cmdlet:
Set-MpPreference -AllowSwitchToAsyncInspection $false
please add  -AllowSwitchToAsyncInspection to  Set-MpPreference ?

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

ID: 44f43117-c0f9-84e2-9a2a-0335f516f7d0
Version Independent ID: cc8d93f2-8837-4169-0fc7-167d0ffca777
Content: Set-MpPreference (Defender)
Content Source: docset/winserver2022-ps/defender/Set-MpPreference.md
Product: w10
Technology: windows
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

@HotCakeX Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/windows-powershell-docs/pull/3300
Once the author approves, the changes will be live.
Thanks
Sri


make raw cache data accessible.

I want to access raw hash data so that serialize it and store into a file.

The license should be GPL.

Hello,
Thank you for your interest in contributing to the library. I will leave it up to @SamSaffron to decide whether or not to accept this feature. I would wait to see what that decision is before working on my suggestions below.
The pull request will need to be revised as it is incomplete for a new method.  You will need to add:

[ ] TTL cache support - Attempts are made to keep the methods between the LRU and TTL cache equivalent where possible.  Note that while the methods need to be named the same, the instance variables are named differently.  You will also need to consider how to handle the TTL cache.
[ ] ThreadSafe support - Please refer to lib/lru_redux/util/safe_sync.rb for examples. You may also need to add support to lib/lru_redux/util/safe_sync_jruby.rb if tests fail (JRuby) without it.
[ ] Test coverage - Appropriate tests should be added.  The tests should demonstrate that both the read and write have expected results.  Please refer to test/cache_test.rb for examples.

Agree with all @Seberius in addition, this change feels a bit too wide to be allowed, instead supporting a to_json and from json or stuff like that feels more like the correct level of abstraction.

I'm sorry.
I overlooked to_a().
It's enough for my usage.


Expected baseline p99 latency on a synchronous writes from any pod throughout the cluster

Hi Experts, We received the following question from a customer (Telco).
Assuming access to an underlying NVMe disk or NVMeoF mounted volume with <10μs storage latency, what is an expected baseline p99 latency on a synchronous writes from any pod throughout the cluster that your storage solution can achieve?
Do we have the p99 latency information?
Thanks and regards

Good request for evaluating the performance.
cc @innobead @PhanLe1010 @shuo-wu


26 add chi2 to missing on target

Add chi square and p value for missing and target relation

resolve #26


Inconsistent reporting of account balance by lookup_accounts for expired pending transfers

I stumbled upon what seems to me as a bug. I verified it with latest master build.
So far my intuition about pending transfers in TBDB was that when such transfer expires, the subsequent call to lookup_accounts will return updated (voided) pending balances, but this is not the observed behaviour.
Here's a demonstrator code:
public class ReserveFunds {

    private static final Client client = new Client(UInt128.asBytes(0), new String[]{"<IP_ADDRESS>:3000"});

    public static void main(String[] args) throws InterruptedException {
        int ledgerId = 61;
        UUID debitAccountId = UUID.fromString("be3999e7-70ed-430c-ab38-b8527ecdf52d");
        UUID creditAccountId = UUID.fromString("07c9ff85-2ca8-489c-8053-02ab2c09b0f1");

        System.out.println("Balance before: " + getAccountBalance(debitAccountId)); // initial balance is 10
        reserve(UUID.randomUUID(), ledgerId, debitAccountId, creditAccountId, 10, 5); // debit 10, expires in 5 seconds
        Thread.sleep(10 * 1000); // wait 10 seconds
        System.out.println("Balance after: " + getAccountBalance(debitAccountId)); // 5 seconds after expiry, the balance is still 0
    }

    public static void reserve(UUID reserveTransferId,
                               int ledgerId,
                               UUID debitAccountId,
                               UUID creditAccountId,
                               long amount,
                               int timeout) {
        TransferBatch transferBatch = new TransferBatch(1);
        transferBatch.add();
        transferBatch.setId(UInt128.asBytes(reserveTransferId));
        transferBatch.setFlags(TransferFlags.PENDING);
        transferBatch.setLedger(ledgerId);
        transferBatch.setCode(3); // code=3 is for reserve
        transferBatch.setDebitAccountId(UInt128.asBytes(debitAccountId));
        transferBatch.setCreditAccountId(UInt128.asBytes(creditAccountId));
        transferBatch.setAmount(amount);
        transferBatch.setTimeout(timeout);

        try {
            CreateTransferResultBatch resultBatch = client.createTransfers(transferBatch);
            if (resultBatch.next()) {
                throw new RuntimeException("CreateTransferResult=" + resultBatch.getResult());
            }
        } catch (ConcurrencyExceededException e) {
            throw new RuntimeException(e);
        }
    }

    public static long getAccountBalance(UUID accountId) {
        try {
            IdBatch idBatch = new IdBatch(UInt128.asBytes(accountId));
            AccountBatch accountBatch = client.lookupAccounts(idBatch);
            if (!accountBatch.next()) {
                throw new RuntimeException("Account Not Found");
            }

            long credits = accountBatch.getCreditsPosted(UInt128.LeastSignificant) +
                    accountBatch.getCreditsPending(UInt128.LeastSignificant);
            long debits = accountBatch.getDebitsPosted(UInt128.LeastSignificant) +
                    accountBatch.getDebitsPending(UInt128.LeastSignificant);

            return credits - debits;
        } catch (ConcurrencyExceededException e) {
            throw new RuntimeException(e);
        }
    }

}

I would expect to get balance=10 after the sleep (5 seconds since the transfer expired), but I still get balance=0.
But, when I re-run this code immediately after, then the first getAccountBalance properly returns balance=10, as I would expect.
What is more interesting - while the original process sleeps in the Thread.sleep(10 * 1000), should there be another client connection (in different process) that requests lookup_accounts (not necessarily for accounts involved in the ongoing pending transfer) then once Thread.sleep(10 * 1000) is done the getAccountBalance(debitAccountId) reports proper balance=10.
What is going on here?

Thanks for reporting this @ikolomiets! I could reproduce it with unit tests, and I'll dig a bit more to understand the problem.

That was fast! I confirm - the batiati-fix-timeout branch fixes this issue. I'm very glad my report helped to squash another bug. But this begs the question - why the advanced fuzzing and DST couldn't find such bug earlier? Or put in another way - are there kinds of bugs that are harder to catch by fuzzing?

why the advanced fuzzing and DST couldn't find such bug earlier?

It's an excellent question! This bug caught my attention for the same reason, and the answer is very mundane: It only happened when the cluster is idle, as soon an operation arrived the timestamp flag would be correctly triggered (as you noticed, even if another client submitted an operation unrelated to the account in question). So, the status-quo implementation of our simulator would never catch this, just because the cluster is never idle during the simulation (except for the liveness check at the very end, when we intentionally leave the cluster idle and wait for it to repair itself.
This PR was only a small part of it, now we need to evolve the simulator to properly explore this space of things we expect to happen automatically (e.g expiration and upgrades) even -- but not necessarily -- when the cluster is idle!
And again, thank you so much for reporting it with such precision and detail! 🎉

Good to know. Indeed, this case (and similar) when treated properly (as you do plan) should further increase the value of DST by targeting newly found failure space.


Q&A MOCK PA2 12 APRIL 2024

Ah yes, the infamous PE widely talked about. You can't even use operators like '+', '-', '*'!
That being said, this is one of the more harder PAs you get, so yeah, don't feel demoralised. I myself submitted code 16 times before I finally got an A and with heavy abuse of the debugger. Yes, you HAVE to make use of the Debugger provided on your IDE to figure out what went wrong. Print statements are prone to mistakes, so is putting a main method.

Trust me bro, this is your lifesaver

I dare you to count how many submissions I made...

I can see some questions coming up soon... For now, you might have this in mind:
How do you even manipulate values in Optional given that a lot of things have been banned?
Yes, we get this, this is specified in your question document:

Also note the use of orElse in these methods. In your implementation, you are not allowed to
use the Optional methods isPresent, isEmpty, or any form of get methods, i.e. get, orElse, orElseGet,
orElseThrow.

How now? Don't panic! Use 'map()' and 'flatMap()'! Yes, the code looks quite tedious but trust me, it works! If it helps, you might want to use indentation to make it clearer.
Alternatively, you might want to use the provided AbstractNum methods to help you out.
It takes a bit of creativity. Trust me!
Wait a second, did they say loops somewhere for level 2?
Yes, and you CAN construct a loop by taking reference from what you usually do:
for (int i = 0; i < somevariable; i++) {
}

Try translating that into the context of Num. As a hint, you might want to reflect on the second part of this for statement (i < somevariable)
CodeCrunch rejects my submission because of missing javadocs
I admit, it IS a pain to add javadocs. I literally have to figure out where I have to put based on CodeCrunch's output and add. Thank god I have an IDE to autocomplete Javadocs and the Checkstyle extension fitted on Visual Studio Code to figure out what to do. I think that might be a grader problem, so @hwkchia might have to fix it. Don't worry, Checkstyle will be disarmed for your actual PE.
What can I do if I want to score well for such things?
TIP: JUST WING IT.  PUT IT CRUDELY...

I don't have budget for a photo editor, sorry 'bout that...

CodeCrunch rejects my submission because of missing javadocs

which methods gave you that error? I didn't have to add any javadocs for my submission

From what I know, ALL my public classes required Javadocs. I guess that’s something to do with declaring my class explicitly as Public…
Get Outlook for iOShttps://aka.ms/o0ukef

From: Samuel Neo @.>
Sent: Friday, April 12, 2024 8:03:16 PM
To: nus-cs2030/2324-s2 @.>
Cc: Zhang Hao Dong @.>; Author @.>
Subject: Re: [nus-cs2030/2324-s2] Q&A MOCK PA2 12 APRIL 2024 (Issue #528)
CodeCrunch rejects my submission because of missing javadocs
which methods gave you that error? I didn't have to add any javadocs for my submission
—
Reply to this email directly, view it on GitHubhttps://github.com/nus-cs2030/2324-s2/issues/528#issuecomment-2051627868, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBRJ5GSHWTBIYWJTFE7G5C3Y47EQJAVCNFSM6AAAAABGD6WW7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRGYZDOOBWHA.
You are receiving this because you authored the thread.Message ID: @.***>

yes, I declared classes without specifying any access modifier (following the convention in this course). that might be the reason then

Thanks @samuelneo. Your tip has been included.

Thanks!

 I'M NOT RESPONSIBLE FOR WHAT HAPPENS TO YOU NEXT

Thank you ZHD1987E

Thank you Hao Dong!

thanks g will make use of your tips while working on this project!

tks ZHD!!

Thank you!

thanks for your tips bro

@azzy83  🤝 @ZHD1987E

what a solid lad hao dong thanks for your help!

Just like to add on that for this practical, it is important to read the constraints defined in the task. Unlike pa1, pa2 usually comes with its own unique set of constraints that vary for different practical assessments, hence it is important to read carefully to know what you can do and what you cant do.

You're so good with CS sia!

thanks for the tips hao dong!

thank you for your tips!

Thanks for the tips!

Thanks for the tips, was super helpful!

thank you a lot !! it helped me so much

Thank you for the tips!

Thanks Zhang for the helpful tips!

thank you this is rlly helpful!

Thank you, Hao Dong!

thank you!

thanks! your tips really helped

Thank you for the tips!

Thank you so much!

thank you! your tips are very helpful

Thanks for the tips!!!

Thank you!

thanks haodong!

thanks a lot for the tips!!

thanks for the tips! it helped me a lot

thank you Hao Dong


HDFS-17106: NameNode can timeout during initialization with dfs.datanode.volumes.replica-add.threadpool.size being 0

Description of PR
https://issues.apache.org/jira/browse/HDFS-17106
When dfs.datanode.volumes.replica-add.threadpool.size is 0, HDFS cluster is never able to start and gets timed out eventually.
To reproduce:

set dfs.datanode.volumes.replica-add.threadpool.size to 0
run mvn surefire:test -Dtest=org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics#testExcessBlocks

This PR improves the description of replica-add.threadpool.size in hdfs-default.xml by sepecifying that it should be positive; the PR also checks whether the value is positive before it is used to initialize addReplicaThreadPool.
How was this patch tested?
Unit test
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 39s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
43m 33s

trunk passed

+1 :green_heart:
compile
1m 27s

trunk passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
checkstyle
1m 13s

trunk passed

+1 :green_heart:
mvnsite
1m 29s

trunk passed

+1 :green_heart:
javadoc
1m 11s

trunk passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
1m 41s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
3m 21s

trunk passed

+1 :green_heart:
shadedclient
36m 19s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 15s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
compile
1m 11s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
javac
1m 11s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 58s

the patch passed

+1 :green_heart:
mvnsite
1m 18s

the patch passed

+1 :green_heart:
javadoc
0m 56s

the patch passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
1m 32s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
3m 13s

the patch passed

+1 :green_heart:
shadedclient
35m 54s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
221m 38s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 58s

The patch does not generate ASF License warnings.

363m 30s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.TestDirectoryScanner

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6088/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6088

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint

uname
Linux 85eee5c11d4b 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / cf15f6c71487998f74119186a4c6c4b7500e0993

Default Java
Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6088/1/testReport/

Max. process+thread count
3294 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6088/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Broken example page

The example page only shows "Loading...". In console there are some errors.

Back to life, thanks


Wrong variable function input for inline component queries

I wrote about this already here: https://github.com/HoudiniGraphql/houdini/pull/366#issuecomment-1175407910 but now the problem resurfaced while trying to upgrade another project to the new store API.
Basically the problem is that the variable function only gets two values when being executed in the client, namely props and session:
https://github.com/HoudiniGraphql/houdini/blob/8be5953ae4237ef0f84346c595446ba8cd3feaee/src/preprocess/transforms/query.ts#L735-L764
My old code is using stuff via page but this is obviously no longer working.
Directly using $page.stuff... does not work because "Cannot reference store value inside

Btw: my current workaround is by defining the query in a gql file and calling via $: browser && GQL_...fetch({ variables: { foo: $page.stuff... } })

Thanks for reporting this @fehnomenal
Good workaround going a bit more manual while this is not supported in the preprocessor yet.
Most of TrimmedLoadEvent is already in place with getHoudiniContext().
Now, "just" need to support all items and push them to the preprocessor variables function.
How urgent do you need it in preprocessor? Do you want to give it a shot?

Ah crap! I totally forgot to verify that we fixed your stuff issue before we merged that - so sorry! I'll try to find some time this week to address this is no one else gets to it.
Also, just a heads up it looks like $page.stuff might be removed at some point: https://github.com/sveltejs/kit/issues/4911

How urgent do you need it in preprocessor? Do you want to give it a shot?

Well, as the project is just for a side business and not my day job and there is a workaround available it is not on the top of my priority list.
When I get a few minutes I will tackle it.

Also, just a heads up it looks like $page.stuff might be removed at some point

Wow, thanks for mentioning that. We'll see if there and what will be a replacement.
Maybe it's time for me to fully switch to stores and ditch the inline queries

I was able to sneak in some time tonight so I put #423 together. Hopefully that addresses your issue


.entrypoint, .locals

They are keywords and not metadata table item names.

The same about .this.


fix token flow

What changes were proposed in this pull request?
Fix flow in order to use SecretID only once

which changes do you find illegible?

Just one minnor comment and ready to merge

LGTM


Add experimental info alert when choose to export RIS file

This PR added an experimental feature alert when choosing to export the RIS file. This PR also fixed the problem of exporting the Excel file and restored the default file type to Excel.

Nice. The screenshot is updated to the merged version @SagevdBrand. Can be used for the website or other material.

I added the screenshot to https://asreview.nl/blog/whats-new-in-release-0-19/


Do not report config errors on startup

Some errors like the ones about missing light/dark wallpapers can be annoying to see each time for people who only use one mode.
This PR makes the add-on ignore config errors on startup. This will mask more serious errors like a non-existing wallpaper folder, but I think the warning on config save is enough.
Of course, one can always put a dummy file in the folder to silence the errors, so feel free to close this if you think it's better to always report errors.

Thanks for the PR! I'm not sure about this, however.
There are a few other safeguards in the configuration that will produce error reports that should hopefully cover scenarios such as user moving their wallpaper folder by chance, or making it inaccessible or something. Things like these can happen between runs. Perhaps it's feasible to not show warning if the only error is missing wallpapers for the other mode... But what if the user decides to opt into using the other mode later on? I guess this needs another warning that's shown on mode change?
I think requiring at least one image for every mode simplifies things greatly.

Perhaps it's feasible to not show warning if the only error is missing wallpapers for the other mode.

Yes, I thought of doing something similar, but opted for the quickest solution.

But what if the user decides to opt into using the other mode later on? I guess this needs another warning that's shown on mode change?

The theme_did_change hook can be used to show a warning in this case. Then we can exclude missing wallpaper errors from showing on startup. The hook is only available in 2.1.50+ though. So maybe it's not worth the extra complexity.

The add-on is using theme_did_change already to change wallpapers on the fly, but I still think this is not worth the extra complexity～


unable to get secret cert-manager

I installed cert-manager via helm, as well as this hetzner webhook.
I can generate self signed certificates but fail the dns-01 challenge.
The corresponding cert-manager pod logs this:
controller.go:167] "re-queuing item due to error processing" err="unable to get secret `cert-manager`; unable to find hetzner dns zone with: my-tld.com" logger="cert-manager.challenges"
my-tld.com is btw. only a placeholder for my domain.
I verified the API-Key and zone via Insomnia (like Postman) and was able to create a TXT Record via an API Request.
I don't even know where it's getting the secret "cert-manager" from. I used the default hetzner-secret from the ReadMe.
Anybody got an idea?

Nvm for some reason, coredns appended one of my search entries to every request and therefore the web hook was unable to reach hetzner ugh...

Hey, my coredns looked up everything in my host resolv.conf and the hostname used the same tld so that there was search entry for my domain and as I've set it up as a wildcard, everything got found as a subdomain of mine.
My quick fix: remove the search entry from the host resolv.conf
I don't know if this might fix your issue too.


scala table example broken

in tableApiScala.ipynb

What exactly is broken here?  We're not expecting a List of Maps to autodisplay as a table.

Groovy works that way
https://github.com/twosigma/beakerx/blob/f46e84d7b8d3e6fd5406cbb01fcad00562f66e4f/doc/contents/MapLikeTable_GroovyExample.ipynb
hopefully it's a convenience for you...

Sorry, I misunderstood:  I thought this was reporting a regression.
We've previously discussed some challenges with using jvm-repr to handle the display of Scala collections (in #5920).  Maps and collections of Maps are a special case in SerializeToString that can't be adequately handled by jvm-repr.  It looks like DisplayerDataMapper.convert might be the only reasonable path in the current code if one is looking to change all Scala Maps and sequences of Maps to Java Maps and collections of Maps.


[FEATURE] Load diffraction data but not the whole scan

When using Eiger detector scan data are way too heavy, need to load only a roi and manage space converter data accordingly.
Solution: create a PeakHandler class or something similar. Or Transitioner class

Done


::: tip doesn't render correctly on Singer Spec page

Migrated from GitLab: https://gitlab.com/meltano/hub/-/issues/107
Originally created by @aaronsteers on 2021-08-03 22:02:17

We have a few instances as shown above where the migration from meltano.com to hub.meltano.com broke the rendering for "tops". We can revert to some simpler formatting if it's significant effort to bring in the similar rendering from meltano.com.
https://hub.meltano.com/singer/spec

View 2 previous comments from the original issue on GitLab


[Source manager] Improve the performance of findBufferContainingLocInternal

This function was performing a linear scan through the set of known buffers to find the buffer containing a given source location. This linear scan can show up in hot loops, and the number of buffers in a program is increasing due to macros, so this has become a performance problem.
Replace the linear scan with a logarithmic lookup into a sorted vector of the buffer IDs, with a one-element most-recently-used cache so that repeated lookups in the same buffer require constant time.
This mirrors what we already do with source files in a module. Unfortunately, we cannot reuse that code because there is no link from buffers to source files. We should look to consolidate this in the future.
Fixes rdar://116184248.

@swift-ci please smoke test

@swift-ci please test compiler performance

Infrastructure failure in trying to post the performance results. Digging in, this didn't make a difference in aggregate, I suspect because none of the test projects there have a huge number of Swift files in a single target.


Copy path of an element to clipboard

Hi,
is there an option to copy only the path of an element to the clipboard and not the whole element structure itself?
Otherwise, is it possible to implement this feature?
Thanks in advance,
Vincent

One way to find the path to the selected element is to use the Find Dialog with 'Use XPath' then copy the path that shows up in the "find what" field.

Thanks for the quick reply. This works for me.


Update pre-commit check versions

This should fix the lint error that has existed on main for a while.

Windows failure is pre-existing


Just saying thanks!

Thanks @knsv and everyone that contributes to mermaid.
I'm leveraging it for a Grafana plugin that is turning out to be quite popular.
https://github.com/jdbranham/grafana-diagram/

You can add your project to "downstream projects" section of https://mermaidjs.github.io/ by creating an PR to https://github.com/mermaidjs/mermaid-gitbook


JIT compilation on serverless (i.e. Modal Labs)

I'm noticing that it takes a really long time to start up anything with ranx in a serverless setting, e.g. Modal Labs. I tried adding a step during the build process where I call the functions that need to be cached, but it doesn't seem to help. This is true even if I explicitly set the NUMBA_CACHE_DIR to a directory that will persist from build -> deployment. Do you have advice on how to avoid the JIT slow start in this setting?

Hi and sorry for the delay.
Unfortunately, I cannot help with this.
If you find a solution, please post it here for others.
Thanks.


Can't login Github

I have created my Github OAuth Application and put the CLIENT ID & SECRET ID to my .env file.. I also have set virtual host in my local, so my laravel-gitscrum can accessed by laravel.gitscrum.local.. But when i tried to login github on route /auth/github, it was happened..
Can anyone help me, please?

@insanrizky try create a new application. I did a test and when changes the GITHUB_CLIENT_SECRET to wrong, displays the same error.
Follow it https://github.com/renatomarinho/laravel-gitscrum#github-application

oh.. i got it.. the problem is i put http:// prefix on my APP_URL in .env file.. when i removed it, all was running as well..
thanks @renatomarinho ..

Do a new pull, you need get it https://github.com/renatomarinho/laravel-gitscrum/commit/2ab5c950cdb76843716d903b7bf8d0b051ebf0c6#diff-3e07726e9e54a0f0d14991172124bb00R26


fix: __abi-embed compilation error

--all-features causes cargo to activate all features in the Cargo.toml file.
This patch introduces an intermediary flag. Unknown to cargo, but injected with a build script if;

The __abi-embed feature flag is activated.
The CARGO_NEAR_ABI_PATH env is defined.

This way, it's never implicitly activated. Resolving the compilation error in #970.
This also means, we gravitate from this compilation error:

.. to this compilation warning ..

cargo only lets us enable features (with --features) that exist in the manifest. Any other, results in this error:
$ cargo build --features near-sdk/__abi-generate
error: failed to select a version for `near-sdk`.
    ... required by package `adder v0.1.0 (/Users/miraclx/git/near/near-sdk-rs/examples/adder)`
versions that meet the requirements `*` (locked to 4.1.1) are: 4.1.1

the package `adder` depends on `near-sdk`, with features: `__abi-generate` but `near-sdk` does not have these features.

failed to select a version for `near-sdk` which could resolve this conflict


Tinker's Compatibility Aluminum vs. Aluminium

It appears the smeltery registery fails with the British spelling of aluminium.
This can be worked around by changing all the json files, but I think a more elegant way (to make the default configs work) would be to inject some special logic into registerMeltingChunks() to handle the spelling differences. Here is a fork where I've made the change.

Good catch, Thank you ^^
copied it over into the main brach, didn't bother making a PR for that single file change.
Sadly I saw it too late and I already finished up the 1.3 version on curse, so next version it will be fixed ^^


Convert mv_stack to an ArrayVec.

Coverage remained the same at 83.269% when pulling 8407ca863b055615320af81dd2dfcc5dbfe0b93f on tdaede:arrayvec2 into 63f13f7742703fd7589a4c438d5ad9a189926ff8 on xiph:master.


Update samples/spark README.md

change references from "jersey" to "spark"

Great catch, thank you!


Add Turbo Stream actions to add and remove CSS classes

A common UI pattern is to indicate whether a field is valid or invalid by adding a CSS class to invalid fields to turn them red. Another is to submit the input as the user enters the text rather than waiting for them to press a button to submit the form. Combining the two requires us to add or remove fields from a field as the user continues to type into it.  For example, the following field in our application is validated to be exactly 8 digits:

This is difficult to implement using Turbo Streams, because the only action that can change the CSS class of an element on a page is update, which removes the existing element and replaces it with a new one.  This interrupts the user's input and is likely to discard their latest changes.
It is possible to work around this, for example by updating a hidden element with a Stimulus controller that adds or removes the class when it connects (as in the above example) or perhaps doing something with sibling selectors; but this is bespoke and unwieldy.
The Turbo handbook says that...

Turbo Streams consciously restricts you to seven actions [...in order to...] keep you from turning individual responses in a jumble of behaviors that cannot be reused and which make the app hard to follow

...but I feel that the omission of an action which enables this behaviour has pushed us in that direction instead of away from it.
So, to enable these sorts of update using Turbo Streams out of the box, this PR adds two new stream actions: add-class, which adds the template's classes to the targets; and remove-class, which removes them.
Since it's also fairly common to enable and disable elements, I did consider adding more generic actions to handle element attributes, but since disabling a field would also interrupt user input I think it is sufficiently covered by existing actions, and so it's not worth the extra complexity.

I would prefer to refactor this for any attribute (css, data-controller, data-action, etc).  Something like:
function tokenize(value) {
  return value.match(/[^\s]+/g) || []
}

export const AttributeStreamActions {
  // ....

  appendAttributeValue() {
    this.targetElements.forEach(e => {
      const values = [...new Set(tokenize(`${e.getAttribute(this.attributeName) || ''} ${this.attributeValue}`))]
      e.setAttribute(this.attributeName, values.join(' '))
    })
  },

  prependAttributeValue() {
    this.targetElements.forEach(e => {
      const values = [...new Set(tokenize(`${this.attributeValue} ${e.getAttribute(this.attributeName) || ''}`))]
      e.setAttribute(this.attributeName, values.join(' '))
    })
  },

  removeAttributeValue() {
    this.targetElements.forEach(e => {
      const values = tokenize(e.getAttribute(this.attributeName) || '').filter(v => v !== this.attributeValue)
      e.setAttribute(this.attributeName, values.join(' '))
    })
  },

  updateAttributeValue() {
    this.targetElements.forEach(e => e.setAttribute(this.attributeName, this.attributeValue))
  }
}

<turbo-stream action="appendAttributeValue" target="message_1" data-attribute-name="data-action" data-attribute-value="click->gallery#next" />

<turbo-stream action="removeAttributeValue" target="message_1" data-attribute-name="class" data-attribute-value="error" />

I really like the second proposed approach, especially for accessibility reasons. It is very common to change aria attributes after an action.

I don't think turbo streams is the right option here. You're better off creating a custom stimulus controller, if you can't include the value that's relevant in the HTML that's returned.


no pokeman show after update

am I the only one to have this problem?
I update to the new ver, made a new API key, made a new PTC account
and then try to run the software but no pokemon show on map

yeah same it says operational and everything...

I have the same issue. It auto updated and now nothing shows up. Bummer!!!

yes it works again...many thanks brianguy1


Add explanation regarding keras to tensorflow-framework mapping

I had to look around to understand how the java tensorflow keras implementation relates to the framework. It would be helpful if it was more explicit in the documentation here.

@googlebot I signed it!
On Sunday, May 9, 2021, 12:44:46 p.m. EDT, google-cla[bot]<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.