Frequency of updates?

No issue, but a question... How often do you schedule courseware and lab updates?
Or, what triggers updating the labs to say the October version of Power BI?
Thanks

Thanks for the question, @microsmith! This repo is specific to learning exercises that are related to courses, but not exclusively. We aim for quarterly updates for the VM, which I assume you mean by "lab." Exercises and courseware are updated multiple times a year, but is not on a set schedule due to product changes, and so on. For courseware-related questions, the MCT Lounge is a better place for questions: https://aka.ms/mctcentral


Feature Request - EKS - allow cluster management (import and creation) using IAM assume roles, rather than access keys and secret keys

Currently, from what I can gather, it seems that the only way to manage EKS clusters in rancher, is by providing an access key and secret key (and optionally a session token)
This seems to have been brought up in the past here rancher/rancher#15185, however, it was erroneously closed due to the implementation of session tokens, though nice, doesn't cover this use case. There have been a couple requests to re-open the issue already, and now I'll throw my hat in the ring as well.
As it stands, due to the insecurity of using access keys/secret keys, we will not be able to use the EKS provider to import/create existing/new clusters. We've worked around it for now by importing existing clusters as "generic", but that's non-ideal.

Here is another hat. We have a hard requirement from our ENTSEC team to not use IAM user roles, which means we'll be moving away from Rancher post haste if this feature is not implemented soon.

HAs there been any movement on this?

This is an important feature, please push forward

This is valid.

Any news on this? Would a PR implementing this feature be welcomed ?

Still there

Any updates here?


OmniGenCache makes Omnigen CUDA only is there an option to not use it.

looking at the call code I can't see a way to avoid the OminGenCache which is full of CUDA only code
As you've got code in the pipeline to detect other runtimes like mps is there a way to avoid the cache

Hi, @Vargol , you can delete the two lines: https://github.com/VectorSpaceLab/OmniGen/blob/main/OmniGen/scheduler.py#L13-L14 to run the code in mps device (and set offload_kv_cache=False). However, running it on MAC is very slow in our experiments, and we don't recommend this behavior.

don't need those to be deleted. just:
                    pipeline_kwargs["use_kv_cache"] = (
                        False if torch.backends.mps.is_available() else True
                    )
                    pipeline_kwargs["offload_kv_cache"] = (
                        False if torch.backends.mps.is_available() else True
                    )

both of those have to be disabled.

don't need those to be deleted. just:
                    pipeline_kwargs["use_kv_cache"] = (
                        False if torch.backends.mps.is_available() else True
                    )
                    pipeline_kwargs["offload_kv_cache"] = (
                        False if torch.backends.mps.is_available() else True
                    )

both of those have to be disabled.

Thanks for that, ran at 32 s/i without swapping on my 10 GPU core  24Gb M3 for a straight forward text 2 image run, which about the same speed as Flux thought InvokeAI (although that's also using a GGUG Q8 model to avoid swap).
Are the 50 steps necessary or just a default value ?

lt'll "work" at 8 steps 👍

don't need those to be deleted. just:
                    pipeline_kwargs["use_kv_cache"] = (
                        False if torch.backends.mps.is_available() else True
                    )
                    pipeline_kwargs["offload_kv_cache"] = (
                        False if torch.backends.mps.is_available() else True
                    )

both of those have to be disabled.

Please, where I put these ?

@karlbit9000 I believe at OmniGen/scheduler.py lines 13-14

don't need those to be deleted. just:
                    pipeline_kwargs["use_kv_cache"] = (
                        False if torch.backends.mps.is_available() else True
                    )
                    pipeline_kwargs["offload_kv_cache"] = (
                        False if torch.backends.mps.is_available() else True
                    )

both of those have to be disabled.

Please, where I put these ? (I'm running Pinokio)

I don't know about Pinokio  but you but them it the script to run Omnigen
import torch
from OmniGen import OmniGenPipeline

pipeline_kwargs = {};

pipeline_kwargs["use_kv_cache"] = (
   False if torch.backends.mps.is_available() else True
)

pipeline_kwargs["offload_kv_cache"] = (
    False if torch.backends.mps.is_available() else True
)

pipe = OmniGenPipeline.from_pretrained("Shitao/OmniGen-v1")

# Text to Image
images = pipe(
    prompt="A curly-haired man in a red shirt is drinking tea.",
    height=1024,
    width=1024,
    guidance_scale=2.5,
    seed=0,
    num_inference_steps=20,
    **pipeline_kwargs
)
images[0].save("example_t2i.png")  # save output PIL Image

If you know you're only going to run on macOS skip the fancy kwarg stuff and hard code it e.g.
import torch
from OmniGen import OmniGenPipeline

pipe = OmniGenPipeline.from_pretrained("Shitao/OmniGen-v1")

# Text and Image Prompting
images = pipe(
    prompt="A man in a black shirt is reading a book. The man is the right man in <|image_1|>.",
    input_images=["./imgs/test_cases/two_man.jpg"],
    height=1024,
    width=1024,
    guidance_scale=2.5,
    img_guidance_scale=1.6,
    seed=0,
    use_kv_cache=False,
    offload_kv_cache=False
)
images[0].save("example_ti2i.png")  # save output PIL image


The big problem for productiong with fu*ked strings

Dear developers. U wrote two string, whose break down app in production on 32bit machine. Why u override logger config? Config must override in settings.py, and not in widgets.py and views.py. Proggrammer what wrote this, is bad guy. Im tired

Yep


Migration doc doesn't respect best practices on function name

The Koa guide says naming middleware is a best practice:

Naming middleware is optional, however it's useful for debugging purposes to assign a name.

But the migration guide only present middleware functions without names (arrow functions).
Why is that?
Thanks for this great lib :-)

Docs are generally designed to avoid clutter.


Make Exports dropdown larger, ideally only when needed

x Is new feature

Description of suggestion or shortcoming:

So <DropdownMenu> should set min-width instead of width. And maybe set max-width with optional overflow-x-auto.


[Storage] [STG88] List Handles Access Rights

This PR tests the new access rights enum added to Handle

API change check
API changes are not detected in this pull request.


Not receiving connection lost event when Vector is turned off

I am not receiving connection lost events when Vector is turned off, or powers himself off (eg when he is stuck/lost and his battery gets low).
I think the fix would be to add timers to the event stream handler, control response handler, and camera handler.  When a new event occurs there, it resets the timer.  When the timer expires, it would then raise a lost connection event, lost control event, etc.
This looks like it could interact with several other parts of the assembly.  So I thought it would be best to bring it up as an issue first, before making changes in lots places.  What would your prefer design be?
Thank-you and have a great day!

Hello Randy,
I just published a fix for this to the current branch.  The previous logic was any loss of the event stream was considered a disconnect and would shut everything down.  Unfortunately, as you noticed, when Vector is powered off there is no gPRC notification to shut down the streams.
I added a 5 second timeout to the event stream to trigger the stream shutdown as well as a flag to indicate that this is a connection loss disconnect.
I've tested it and it works well (my poor Vector has been rebooted so many times).  Grab the latest commit and you should be good to go.


typescript editor slow to refresh error state

Hi,
I'm using vs 2015 update 1 rc, with ts 1.7. Looks like that sometimes the typescript file editor is slow on updating the error status after changes

In this file I removed a parameter in the constructor, and although I have recompiled the file, the editor still show the error of the parameter that uses a non imported type

looks like a duplicate of #5063. this should be fixed in the next release.

thanks, good news.


Added some bootstrap

I I have added so me snippets for bootstrap

this are approx 50 snippets for bootstrap

Supes awesome! I'll check it later, thanks man.

@chuyik this pull it's usefull, please solve your conflicts.


Updating orphan page titles

Trello card
https://trello.com/c/Ax9uKyXr/3872-revise-page-titles-for-organic-search-orphan-pages
Context
Now we've added 'GOV.UK' to all our page titles, we should review them to make sure they're not too many characters.
This PR changes the page titles for:

Support for ECTs
Get qualified teacher status through an 'assessment only' programme
Get into teaching physics
What qualified teacher status means

Changes proposed in this pull request
Guidance to review

@EllieNodder The title changes are fine in terms of what will be (hopefully) displayed in search results
However, the h1 has also changed (heading or just defaulted from title in some cases) on some of the pages - just wanted to make sure this was intentional before I merge this!

@EllieNodder The title changes are fine in terms of what will be (hopefully) displayed in search results
However, the h1 has also changed (heading or just defaulted from title in some cases) on some of the pages - just wanted to make sure this was intentional before I merge this!

Intentional! In some cases, the URL/page title/h1 were all different - I think these should be the same where possible (both for SEO and for the user), unless there's a benefit to putting extra info in the h1.


docker: sync ohmage users to rstudio

add to rstudio container

done in https://github.com/mobilizingcs-ops/mobilize-in-a-box/commit/9a1ead4b9178b8ee0ec1f5e6d521da61c9d7e95d


How to set request timeout?

maybe it's simple, but i can't find it, please...

It just sets as follows.
let config = URLSessionConfiguration.default
config.timeoutIntervalForRequest = timeOutSecond

👍
We can also set timeout interval by implementing intercept(urlRequest:).
struct SomeRequest: Request {
    ...

    func intercept(urlRequest: URLRequest) throws -> URLRequest {
        var urlRequest = urlRequest
        urlRequest.timeoutInterval = 10.0
        return urlRequest
    }
}


Cannot use env.clipboard.writeText in Safari from web extension

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.63.2
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:36:48.576Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15
OS Version: macOS 12.2 (21D49)

I'm working on making my existing VS Code extension work in web environments like vscode.dev. My extension's main feature relies on the env.clipboard.writeText() API, triggered via a command or keyboard shortcut. That API seems to work fine in e.g. Chromium browsers but in Safari, it fails with:

I've looked at #139657 but it sounds like that only fixes the built-in copy to clipboard feature. Is there a way for making the clipboard work from my extension?

fixed in 1.64 via https://github.com/microsoft/vscode/pull/139657


chore(main): release 0.19.1

:robot: I have created a release beep boop
0.19.1 (2024-06-04)
Bug Fixes

fit bounds (46b8e46)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/GeotrekCE/Geotrek-rando-widget/releases/tag/0.19.1 :sunflower:


Update calling-sdk-features.md

Added more precisions about the supported versions of browsers

@csandjon : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Basic Notification Support

This PR will do the following:

Implement foreground receiving
Push token and url to HA for notifications
Update HA with new tokens

Fixes #7

🎉

How can I activate those?

@andriej restart HA to get the notify.mobile_app_* service call registered, also in the future hop on discord in #android we discuss these things there.

 In log I have error Requested entity was not found.. Am I doing something wrong?

notify.mobile_app_*
Replace * with the correct device ?

Yes, selected from dropdown. Problem solved in https://github.com/home-assistant/home-assistant-android/issues/147


Connection issue

I am trying to run ver 0.12.0 but I am getting the following error:
Sep 26 13:49:36 saide-gtw loraserver[1437]: time="2016-09-26T13:49:36+03:00" level=info msg="grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:8001: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:8001" }"
For information, I run this on a Raspberry Pi 3.
BTW: version 0.11.0 seems to work fine.
Thanks!

That is because you need to start the lora-app-server too (which is running
by default on port 8001). Please see the changelog for instructions to
migrate from 0.11 to 0.12 as it describes how you can migrate your data and
node-sessions.
On Mon, Sep 26, 2016 at 1:02 PM drhexium<EMAIL_ADDRESS>wrote:

I am trying to run ver 0.12.0 but I am getting the following error:
Sep 26 13:49:36 saide-gtw loraserver[1437]:
time="2016-09-26T13:49:36+03:00" level=info msg="grpc:
addrConn.resetTransport failed to create client transport: connection
error: desc = "transport: dial tcp <IP_ADDRESS>:8001: getsockopt:
connection refused"; Reconnecting to {"<IP_ADDRESS>:8001" }"
For information, I run this on a Raspberry Pi 3.
BTW: version 0.11.0 seems to work fine.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brocaar/loraserver/issues/86, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKGeekOyIWjnVvHURF-RdUnWimhqVK9ks5qt6Y6gaJpZM4KGZOs
.

Brocaar,
Thanks for the immediate response. I have now started lora-app-server and I am getting the following error:
Sep 26 14:20:06 saide-gtw lora-app-server[1750]: time="2016-09-26T14:20:06+03:00" level=info msg="grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:8000: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:8000" }"
loraserver (0.12.0) seems to be working fine though
Is should mention that on the same host (Raspberry Pi) I am also running the packet-forwarder and lora-gateway-bridge (in case this causes any problems).
Sorry if I am doing something stupid :-)

That is the other way around, the lora-app-server trying to connect to
loraserver. Please note that you can't avoid these errors as it is kind of
a chicken egg problem. However it will try to re-connect and these error
should stop as soon as both services are connected to each other.
On Mon, Sep 26, 2016 at 1:27 PM drhexium<EMAIL_ADDRESS>wrote:

Brocaar,
Thanks for the immediate response. I have now started lora-app-server and
I am getting the following error:
Sep 26 14:20:06 saide-gtw lora-app-server[1750]:
time="2016-09-26T14:20:06+03:00" level=info msg="grpc:
addrConn.resetTransport failed to create client transport: connection
error: desc = "transport: dial tcp <IP_ADDRESS>:8000: getsockopt:
connection refused"; Reconnecting to {"<IP_ADDRESS>:8000" }"
loraserver (0.12.0) seems to be working fine though
Is should mention that on the same host (Raspberry Pi) I am also running
the packet-forwarder and lora-gateway-bridge (in case this causes any
problems).

Reply to this email directly, view it on GitHub
https://github.com/brocaar/loraserver/issues/86#issuecomment-249544892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKGedD59w_ZLpTGiNr0Eq9gTRa6aytLks5qt6wLgaJpZM4KGZOs
.

Actually, I do not see these errors ever stopping even after both services have started.
Some of the errors that I am getting:
Sep 26 14:46:56 saide-gtw lora-app-server[2749]: time="2016-09-26T14:46:56+03:00" level=info msg="grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::1]:8080: getsockopt: connection refused"; Reconnecting to {"localhost:8080" }"
Also when trying to access the configuration page through a browser pointing at serveraddress:8080 I get this:
Sep 26 14:47:14 saide-gtw lora-app-server[2749]: 2016/09/26 14:47:14 http: TLS handshake error from <IP_ADDRESS>:55280: tls: first record does not look like a TLS handshake
Thanks

Ignore the 8080 error (this is an internal connection error which only
happens at startup and is automatically resolved, basically the REST api
can't connect internally to the gRPC server). You're almost there, try to
point your browser to https://serveraddress:8080/. (note the https).
On Mon, Sep 26, 2016 at 1:51 PM drhexium<EMAIL_ADDRESS>wrote:

Actually, I do not see these errors ever stopping even after both services
have started.
Some of the errors that I am getting:
Sep 26 14:46:56 saide-gtw lora-app-server[2749]:
time="2016-09-26T14:46:56+03:00" level=info msg="grpc:
addrConn.resetTransport failed to create client transport: connection
error: desc = "transport: dial tcp [::1]:8080: getsockopt: connection
refused"; Reconnecting to {"localhost:8080" }"
Also when trying to access the configuration page through a browser
pointing at serveraddress:8080 I get this:
Sep 26 14:47:14 saide-gtw lora-app-server[2749]: 2016/09/26 14:47:14 http:
TLS handshake error from <IP_ADDRESS>:55280: tls: first record does not
look like a TLS handshake
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brocaar/loraserver/issues/86#issuecomment-249549047,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKGeUYYntVCYAnUhmUkI24h9MXnesv0ks5qt7GpgaJpZM4KGZOs
.

It worked! Thanks!!!!
Just one (hopefully) final question: - How can I check the incoming data? I cannot find the "Transmitting/Receiving Data" sections on the updated documentation. Could you point to the right direction?
Thanks again!

Great! See https://docs.loraserver.io/lora-app-server/mqtt-topics/
On Mon, Sep 26, 2016 at 2:20 PM drhexium<EMAIL_ADDRESS>wrote:

It worked! Thanks!!!!
Just one (hopefully) final question: - How can I check the incoming data?
I cannot find the "Transmitting/Receiving Data" sections on the updated
documentation. Could you point to the right direction?
Thanks again!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brocaar/loraserver/issues/86#issuecomment-249554499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKGeQfo8tPp0k5792Ym1OoT_uSmL6dcks5qt7iLgaJpZM4KGZOs
.

Excellent! Keep up the good work! Thanks


Add testing for ipython notebooks

Once the examples have been converted to ipython notebooks (#17) it would be nice to automagically test them using something like pytest-ipynb.

There seems to be a nose plugin as well: https://github.com/bollwyvl/nosebook

Maybe it would be enough to simply run all the notebooks as part of the tests with something like ipyrun?


Avoid android resources in bake transformation vector drawable optimization

BakeTransformations assumes that paths will have non-empty path data by calling .first(). This isn't necessarily true if path data is specified with string resources.
Transformation values can also be specified with a an @integer resource. Since we don't understand what that value might be and have no way to follow it (for the time being), just ignore it.

This can be sort of tricky since baking transformations may happen higher in the group hierarchy and be unable to be processed further down the hierarchy.


Silly tagging

According to https://github.com/latex3/tagging-project/commit/779fa1f4dfaa782033d3640a2e598160b1be4fd5, sillypage is partially compatible with the tagging project (images are missing their corresponding alt texts). Maybe we could work on this? :wink:

I think it shouldn't be tagged as Figure, but as Span with an ActualText representing the number.

Version 1.7 released. Thanks, friends!


Levenshtein TypeError in python 3.8

I get a TypeError: 'type' object is not subscriptable in python 3.8 when I use Levenshtein distance that I don't get in python 3.10
(pl.from_dict({'a': 'test', 'b': 'toast'})
  .with_columns(l_dist = pl.col('a').str2.levenshtein(pl.col('b'))))

Can you check version when running the package in 3.8? Try pip list when in the 3.8 env. I believe it is because you are running old code from a while ago. I remember changing requirements to Python >= 3.9 a while ago.

That said, maybe I should look into the issue with 3.8 more instead of just asking for higher version of Python...

Ah, that's fair, the env I'm working is unfortunately 3.8. Didn't even think to check on minimum version.
Would it be something from __future__ import annotations could help with? (I just ran into a similar problem on another project - this was the solution)

I believe the issue is fixed, the package is able to build with Python 3.8 and all tests have passed, and this will be in the next release (v.0.3.1) coming this weekend.
It is a rather silly issue with typing in Python 3.8 that I had trouble with lol.
https://github.com/abstractqqq/polars_ds_extension/commit/82f2760c02d566a0631451d1f99fe7d548db681d

Just relaeased v0.3.1. You can try later today or this weekend. Please let me know!


fix GetDepends.bat. Replace old readme.txt with Readme.md

steam.zip (for stable build)

Leave a comment


[WFCORE-5508] Add missing static final

Fixes https://issues.redhat.com/browse/WFCORE-5508

@jmesnil Hello Jeff, tests passed for this PR, failures seem not related. Could you review and approve, please?

Some of these statics do seem more problematic than they are worth, in some cases it appears now references will be retained as long as the class is loaded instead for as long as there is an instance on the heap.
For these kinds of "clean up" it may be better to have a discussion on the wildfly-dev list - if there are bugs in the code fixes are great but when we are cleaning up based on third party coding conventions and recommendations it is probably worth checking how far this needs to go.
All of this code being changed is in the versions we need to maintain for support purposes with code being ported between these branches now at risk of merge conflicts - if we are not addressing a bug we should be sure of the benefit.

@jmesnil @darranl Thanks for feedback and suggestions how to deal with cases like this one in the future, I will follow that. I understand that cost/risk/benefit ratio is not enough to go forward with this PR. I withdraw it.


Bug in Google::Apis::StorageV1::ObjectAccessControls

The Google::Apis::StorageV1::ObjectAccessControls class is incorrect. The #items method should return Array<Google::Apis::StorageV1::ObjectAccessControl>, but instead returns Array<Object>, which ends up being an array of hashes.
For example, compare the following:

Google::Apis::StorageV1::ObjectAccessControls#items
Google::Apis::StorageV1::BucketAccessControls#items

Unfortunately it's a longstanding bug in the API description that affects all the client libraries and it doesn't appear that it will be fixed any time soon (and likely can't be fixed without breaking apps at this point.)
See https://www.googleapis.com/discovery/v1/apis/storage/v1/rest -- it defines the type as 'any' which is mapped to a hash by this and most of the other clients.

@sqrrrl Was this addressed fixed in the recent 0.10.0 release?

Appears so -- looks like the discovery doc issue was fixed and recent regens have been using the correct type.

Yep. Verified the return type is correct now. Thanks!


88 comments on v030b dataset

Adds additional documentation to TEEHR dataset classes
Removes duplicate values from primary timeseries in get_timeseries and get_timeseries_char queries
Adds configuration, measurement_unit, and variable_name to value_time and location_id to define unique primary time series values
Adds tests comparing DB-based queries to parquet and pandas queries
Adds helper function profile_query to analyze query performance

thanks for fixing the configuration variable, sorry I missed that!

@mgdenno I updated the timeseries_name docstring and profile_query method, should be ready to merge to v0.3.0beta, let me know if you see any more issues


App needs internet access to start up

Currently, all functionality involving parsing timetables requires internet connection. Need to implement escapes such that the app can be used without internet functionality

Closed with #169


Revive js engine

First half of #261:

Add a few missing features to the JSON schema to OCaml script;
Use native JS JSON parser while compiling the engine with JS.

Thanks for the review & the merge :)


If I want to join in developing the game ,what can I do?

I'm new in c and github but I have great interest in it and hope to let it done well.

Hi, you can find me on SegaXtreme discord to message me directly. Also this is a hobby project of mine, but if you want you can fork it and make your own project out of it :)

Hi, you can find me on SegaXtreme discord to message me directly. Also this is a hobby project of mine, but if you want you can fork it and make your own project out of it :)


[Usage]: Multiple samplig params with OpenAI library

Your current environment
hi
I raised #3313  and this was fixed in #3570.
Now I know how to do inference with multiple sampling params in offline. But I still don't know how to do it in online
client = OpenAI(
    # defaults to os.environ.get("OPENAI_API_KEY")
    api_key="EMPTY",
    base_url="http://localhost:8000/v1",
)
# Completion API
stream = False
completion = client.completions.create(
    model=model,
    prompt=[text]*3,
    max_tokens=[4,128,256],
    # echo=False,
    # n=2,
    # stream=stream,
    logprobs=3)

When I request this example to the model via OpenAI library(or python requests) I run into this error.
BadRequestError: Error code: 400 - {'object': 'error', 'message': "[{'type': 'int_type', 'loc': ('body', 'max_tokens'), 'msg': 'Input should be a valid integer', 'input': [4, 128, 256]}]", 'type': 'BadRequestError', 'param': None, 'code': 400}

It's because sampling params expect integer not list. But then how can I make an API request with multiple sampling params via OpenAI, requests or curl?
How would you like to use vllm
No response

OpenAI API doesn't allow for this usage. You will have to send a different request for each sampling params.

OpenAI API doesn't allow for this usage. You will have to send a different request for each sampling params.

Do you mean multi thread(processing)? Can I still enjoy benefits of batch processing with multi thread?

I mean that you will have to send separate requests if you're looking to call the model remotely. From my understanding, vLLM is only multithreaded insofar as the GPU operations are using multithreaded NVCC.

I mean that you will have to send separate requests if you're looking to call the model remotely. From my understanding, vLLM is only multithreaded insofar as the GPU operations are using multithreaded NVCC.

Thank you. I got the point. I think I should use offline inference for my purpose.

When you send multiple concurrent request to vLLM, vLLM batches them under the hood and uses the same engine as offline inference to achieve high throughput


Install: Improves code to get proxy.

Credit: @xzyfer.
Addresses #588.

Coverage remained the same when pulling 902526f3c135c02b840f8cf5ef1a900d5d7a3956 on am11:master into 520dd86a1461ac28b2e6e8fb365eb7ffeaeb4b0c on sass:master.

Coverage remained the same when pulling 3dae5be5f47fbb058dbfeb044a00dd610089c024 on am11:master into 520dd86a1461ac28b2e6e8fb365eb7ffeaeb4b0c on sass:master.

Coverage remained the same when pulling 9968f3e40b8d6af6e611fc5aa1ae0ff86d563846 on am11:master into 520dd86a1461ac28b2e6e8fb365eb7ffeaeb4b0c on sass:master.

Coverage remained the same when pulling e579c069507e20ecf4b573862300690b576b2835 on am11:master into 520dd86a1461ac28b2e6e8fb365eb7ffeaeb4b0c on sass:master.

Coverage remained the same when pulling e579c069507e20ecf4b573862300690b576b2835 on am11:master into 520dd86a1461ac28b2e6e8fb365eb7ffeaeb4b0c on sass:master.

Coverage remained the same when pulling 0591d1421508fe13ca67ca78a11556f5f7a93a53 on am11:master into 520dd86a1461ac28b2e6e8fb365eb7ffeaeb4b0c on sass:master.

Coverage remained the same when pulling 0591d1421508fe13ca67ca78a11556f5f7a93a53 on am11:master into 520dd86a1461ac28b2e6e8fb365eb7ffeaeb4b0c on sass:master.


fix a bug on *nix system about permission copy

A previous commit already fixed this bug for python3 but not for python2.  Here is a generic update working with both versions.
This bug breaks esky with py2app on OSX and probably on every *nix system when symbolic link are used in the packaging.
During an update process on OSX, it tries to apply the owner+group of /usr/bin/python (owner:root, group:wheel) to ./Content/MacOS/python(owner:CURRENT_USER, group:staff).  But the last one is just a symbolic link to the python binary and shouldn't have root rights.
I also updated the code to be compliant with PEP8.

+1 for merge!

Kenny, did you review the patch?

I add a new commit to fix some bugs in the patch system:

the zip file header was used in hash computation, sometimes two equal zips had different header.  (I don't have more information about this, I didn't explore the zip documentation)
some zip files contain directory entries, and the function that copy zip files didn't manage that.  The result was two different zip (and so two different hash) with the same content after extraction.
on patch application, the original application is completely copied before to apply the patch, the content of the files targetted by symlinks was copied too.  Now just the symlinks are copied with symlink right preservation.

Thanks for contributing this. Unfortunately this project is no longer actively maintained, so I'm going to move it into archive mode:
https://rfk.id.au/blog/entry/archiving-open-source-projects/


add visual feedback that file send completed successfully

/send <nick> <file> prints initiated file transfer in the chat session but send completed in log. There's no visual feedback it completed.
I suggest to print both "initiated" and "completed" messages in both chat session and the log.

Fixed in #100
Instead of using PrintfT we now use FloodfT which will print the completion in the proper windows.


XMPP: Connect, but no Login

My Let's Chat setup allows me use the HTTP-based chat just fine, but i can't login via XMPP. Pidgin (2.10.11) is able to connect, and i see some output on the console when enabling debugging, but then it just stays at "Connecting...", so the actual login doesn't work. Username and password should be fine, as they're working via HTTP. I have TLS enabled and use a self-signed certificate.
The output is:
<iq type="get" id="purple15e30041" to="chat.example.com" xmlns:stream="http://etherx.jabber.org/streams"<EMAIL_ADDRESS>xmlns="http://jabber.org/protocol/disco#items"/></iq>
<iq type="get" id="purple15e30042" to="chat.example.com" xmlns:stream="http://etherx.jabber.org/streams"<EMAIL_ADDRESS>xmlns="http://jabber.org/protocol/disco#info"/></iq>

I get these lines each time i try to login.

Have you configured the XMPP host setting? That is a must for XMPP to work.

Oh, i was under the impression that this setting controls on which address the service listens, like the HTTP setting... it's working now, thanks!

Yeah, sorry for the confusion. We may need to rename this setting.

For now we can update the documentation FAQ / wiki to clarify this


No effect after setting the "jupyter.notebookFileRoot": "${fileDirname}". Always default to the ${workspaceFolder}.

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
The file root is always the workspace folder in 2024.4.0. No effect after setting to "jupyter.notebookFileRoot": "${fileDirname}". However, the 2024.3.1 version is working fine.
VS Code Version
Version: 1.89.0
Jupyter Extension Version
2024.4.0
Jupyter logs
No response
Coding Language and Runtime Version
Python 3.10
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote

Thanks for filing this issue and sorry you are running into this.

The file root is always the workspace folder in 2024.4.0. No effect after setting to "jupyter.notebookFileRoot": "${fileDirname}". However, the 2024.3.1 version is working fine.

Given this works in the latest version of the Jupyter extension, I would suggest updating to the latest version.
We do not back port fixes to older versions.

Sorry. I think you misunderstood. The issue is in the current version of the extension. The issue. is no effect after setting the "jupyter.notebookFileRoot": "${fileDirname}". it is always default to the [${workspaceFolder}. I can't set it to the ${fileDirname}.
However order version of the extension working fine.

Sorry. I think you misunderstood my question.

Oh sorry,  I have indeed, thanks

Please can you share the folder structure?

Have you got a workspace folder opened?
What is your workspace folder path & what is your path to the Python file?

I've tried this with the latest version of Jupyter extension and VS Code and this works as expected.
Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

Sorry about the late reply,
Using remote SSH:
Below is the process to activate Python environment.
Workspace folder settings.json set to
"python.pipenvPath": "/opt/python/venvs/my_env",
"python.defaultInterpreterPath": "/opt/python/venvs/my_env/bin/python3",
"jupyter.notebookFileRoot": "${fileDirname}"
Assume the notebook is in two Test folders deep from the workspace folder root.
From the old version of the extension. [v2024.3.1]
import os
os.getcwd()
# /<Path to Workspace Folder>/Test/Test

From the old version of the extension. [v2024.4.0]
import os
os.getcwd()
# /<Path to Workspace Folder>

You can clearly see the "jupyter.notebookFileRoot": "${fileDirname}" not reading or using the newer version of the extension. Could you use Git to compare the code changes related to this issue?
I'll work on getting Jupyter logs from both versions of the extensions and get permission to post here.

Thank you for the logs, sorry I missed this.
Will try to repro this, unfortunately I couldn't repro this locally.
Will try with SSH.

I'm also facing the same issue with the remote-ssh extension.
The host machine is windows 10 and the server is linux (rhel7).

Thank you for the logs, sorry I missed this. Will try to repro this, unfortunately I couldn't repro this locally. Will try with SSH.

I'm facing the similar issue. Downgrading jupyter notebook extension doesn't work for me. I'm wondering if it's caused by OS since Visual Studio Code Server no longer support old linux distribution recently. And I upload my jupyter log here:
https://gist.github.com/Null404bad/a7c675c46149fa60e0c15fda5a83944f
Hope you can tell me how to fix this. I'm really suffering from this issue because I have to use the absolute filepath every time. Thanks a lot.

Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel (use the command Jupyter: Show Output to get to the logs).


Show the description or payer_note on the main page when paying an invoice via an offer

When fetching an invoice in CLN via an offer through fetchinvoice and adding the option payer_note, then after the payment the text in payer_note is visible in the Phoenix wallet in the more detailed information under MESSAGE. However, the main page shows "No description".
When paying a fetched invoice in CLN via pay and adding the option decription, the text in description is not visible anywhere in the Phoenix wallet: not on the main page nor in the more detailed information.
Please add the payer_note or description text on the main page.
Phoenix version: 2.3.9 (android)

and adding the option payer_note, then after the payment the text in payer_note is visible in the Phoenix wallet in the more detailed information under MESSAGE. However, the main page shows "No description".

That's intended, the main page only shows the payer_note if the payment comes from a contact. That's to avoid showing unwanted spams / advertising / spam.
To be more precise, when sending the payment, the contact must use the payer_key of his offer. AFAICT, that's something only Phoenix wallets lets you do, not CLN. Work is being done to specify this behaviour:

https://github.com/lightning/blips/pull/42
https://delvingbitcoin.org/t/bolt-12-trusted-contacts/1046

the text in description is not visible anywhere in the Phoenix wallet

There may be some confusion. The description of an invoice (Bolt11 or Bolt12) is set by the recipient when generating the invoice. If set, this description will be displayed by Phoenix.
But here you've set this description option from the sender's side. So it's likely just local information that CLN lets you attach to a payment for convenience, and which remains on your side.
If that's not the case, please re-open this issue


Per-method + Send?

I have a trait where I have to use #[async_trait(?Send)] because of some methods and data structures they return, but at the same time I want boxed future to be Send when returned from other methods.
Do you think it would be valuable to have an additional per-method attribute that would add + Send?
It is possible to work around by writing a method that returns Pin<Box<dyn Future<Output = ()> + Send + '_>> manually, but cleaner approach would be beneficial I think.

I would prefer not to build this into this crate. But it would be reasonable for somebody else to maintain a more fully featured macro for async traits that handles this use case.


[Docs] Fix rotation param descriptions

Quick docs-only fix: in several rotation functions in evaluator.h the steps param description claims steps < 0 rotates left. The actual behaviour is opposite (steps > 0 rotates left), and matches the top-level function comment.

Thank you for correcting these. I will include these into the next release 3.6.5. It might take a few days.


Add preliminary import support for aws_appsync_graphql_api

❯ terraform output
aws_appsync_graphql_api_tfer--AppSyncTest_id = dpwxm4lkvjg2rmvvfcvz7g3gku

AppSyncTest being api name here
There are other sub-resources related to this service (https://www.terraform.io/docs/providers/aws/r/appsync_graphql_api.html)
they can be added later too

@googlebot I fixed it.

@googlebot I fixed it.

@juno-yu Can you verify you signed the CLA with email you authored the commits?


TOC update to reflect M365 branding update

Please use this template to ensure easier processing of your pull request
Category

[x ] Content fix
[ ] New article

@sympmarc just updated the TOC, but requesting your review because this isn't the TOC format I usually work with and I'd like to make sure I didn't break anything

Yeah, it's a joy. :)
Looks like all you changed is Office -> M365, so it should be fine. Merging!


Enhancer.js doesn't pass snapshot argument in componentDidUpdate

In last React version (16.3.0), which is supported in current package.json, componentDidUpdate takes snapshot as third argument (docs). The current implementation of enhancer.js doesn't consider it:
    componentDidUpdate(prevProps, prevState) {
      if (super.componentDidUpdate) {
        super.componentDidUpdate.call(this, prevProps, prevState);
      }

A potential fix looks simple. Would you be intested in a PR?

@veob -- Yep! We'd be interested in a PR, and ideally with a failing regression test (our ssr tests are in test and our client tests are in src/__tests__

ping @veob


Debugging fails when using a pipenv environment that gets activated with pipenv shell

https://github.com/Microsoft/vscode/issues/67692

I changed the launch.json to the following thinking it would resolve the problem.  But no luck.  It would be cool if the pythonPath was specified in the launch configuration, the tool would use it and not look any harder for other solutions
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Python: Current File (Integrated Terminal)",
      "type": "python",
      "request": "launch",
      "program": "${file}",
      "console": "integratedTerminal",
      "pythonPath": "/Users/pquiring/Envs/vpcibm-_JmKaXTb/bin/python"
    },
    {

I then added a file specific debug entry, so it had both.  The file specific debug launcher worked, great!   And then the current file entry started working as well.  Crazy.
  "configurations": [
    {
      "name": "Python: Current File (Integrated Terminal)",
      "type": "python",
      "request": "launch",
      "program": "${file}",
      "console": "integratedTerminal",
      "pythonPath": "/Users/pquiring/Envs/vpcibm-_JmKaXTb/bin/python"
    },
    {
      "name": "vpn.py",
      "type": "python",
      "request": "launch",
      "program": "${workspaceFolder}/vpn.py",
      "console": "integratedTerminal",
      "pythonPath": "/Users/pquiring/Envs/vpcibm-_JmKaXTb/bin/python"
    },

Maybe there is another bug dealing with caching as well.

This setting python.pythonPath in vscode/settings.json is coming into play as well.  So my last comment is off base.  If the python.pythonPath is set to a pipenv python:
~/tmp/vpcibm$ cat .vscode/settings.json
{
  "python.pythonPath": "/Users/pquiring/Envs/vpcibm-_JmKaXTb/bin/python",
  "python.linting.pylintPath": "/Users/pquiring/Envs/vpcibm-_JmKaXTb/bin/pylint"
}

Hit the debug button,  debugging does not work, even if the launch config specifies the pythonPath to use, wierd, this is what I see in the Terminal window:
~/tmp/vpcibm$ pipenv shell
Loading .env environment variables…
Launching subshell in virtual environment…
 . /Users/pquiring/Envs/tmp-q5Tepqui/bin/activate
~/tmp$  . /Users/pquiring/Envs/tmp-q5Tepqui/bin/activate
(tmp) ~/tmp$

If you happen to have python installed somewhere else you can set python.pythonPath to that location, and initialize the launch configuration to the FQN of the pipenv python.  If you don't have another copy of python handy then create one:
~/tmp/vpcibm$ cp -r /Users/pquiring/Envs/vpcibm-_JmKaXTb /tmp/pythonbin
~/tmp/vpcibm$ cat .vscode/settings.json
{
  "python.pythonPath": "/tmp/pythonbin",
  "python.linting.pylintPath": "/Users/pquiring/Envs/vpcibm-_JmKaXTb/bin/pylint"
}
~/tmp/vpcibm$ cat .vscode/launch.json
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",

  "configurations": [
    {
      "name": "Python: Current File (Integrated Terminal)",
      "type": "python",
      "request": "launch",
      "program": "${file}",
      "console": "integratedTerminal",
      "pythonPath": "/Users/pquiring/Envs/vpcibm-_JmKaXTb/bin/python"
    },

For the issues that I'm having with this, it seems like it runs pipenv shell, and then does not wait to send the command to start the program w/ debugger. The issue here is that pipenv shell launches a completely new $SHELL, and then either doesn't get any of the input or just gets the tail end of the input data (in my case just gets "--noreload --nothreading" -- starting Django server in debugger).
Seems to me like what needs to happen is that pipenv shell needs to finish running and the new shell has to be fully initialized before VS Code can send the command to start the program in the debugger to the shell.

My issues with this also seem to involve Powershell (and one of examples someone provided above also appears to be in Powershell). If I switch to Command Prompt as my default terminal it works fine. Although if I keep using Powershell and set  "python.terminal.activateEnvironment": false as someone said above, it also works. Not sure how/why those are related......

Prescribed solution
#5664

having similar issues, sorry for popping this one to the top, but my issue seems to be that vscode starts the debug session with pipenv and if i press stop or restart then it spawns a new terminal with the same environment again, not shutting down the other instances, after a while i get the error that there are too many files open inside the environment and it wont work, sometimes it is like vscode is not running the entire command at once and rather splitting it into 3 different commands,
Im running a debug on a flask environment.

We reverted old implementation https://github.com/microsoft/vscode-python/issues/4394

In my case, "python.terminal.activateEnvironment": false doesn't prevent pipenv from starting a new shell.
My workaround is to temporarily rename Pipfile before running the debugger, and that's the only way to get it working as far as I can tell.
I'd love to know if the launch.json file could be tweaked to sort this issue more elegantly!

Closing as we no longer use pipenv shell command: https://github.com/microsoft/vscode-python/issues/10611#issuecomment-949118646


mingw build error

wakaama/transport/udp/include/udp/connection.h:21:10: fatal error: 'arpa/inet.h' file not found
   21 | #include <arpa/inet.h>
      |          ^~~~~~~~~~~~~

Wakaama is designed for POSIX systems, so I'd expect building on/for Windows will fail.
Any chance you are interesting in adding Windows support?

Thanks for explain,  I would like to but not sure I am capable to do it.
I would like a event loop interface without network layer will allow every build they own network layer.

I don't know much about MinGW. You might want to use Cygwin for making (parts of) the POISX available on Windows.
Alternatively, you could implement your own native platform abstraction. For that, you would need to implement at least the following components for Windows:

platform wrapper
transport (UDP)
event loop

See the corresponding POSIX implementations for inspiration.

I expect Wakaama socket/Posix code to work with Cygwin.
If you go the way of implementing your networking code, and if you don't want to deal with win32 network API, you can try to use something like libuv.


Add SUMO Web Claims Summarization scenario

This is a summarization benchmark based on the climate subset of the SUMO dataset (Mishra et al., 2020).

Hi @ryokawajp, please review this pull request.
By approving, you acknowledge that:

You will be listed as a co-author of the merge commit
You agree to license your work under Apache 2.0

I have made the following changes have been made on top of your original commit:

Fixed a bug where truncation happened before filtering, which would cause long examples to not get filtered if the truncation length is less than the filter length.
Reorganized arguments to the scenarios to make their purposes more clear.
Removed the round trip to CSV.
Removed the use of Hugging Face datasets
Moved column names to class constants.
Moved configuration constants to args in get_sumosum_spec().
Fixed _clean_and_truncate() to replace all sequences of whitespace.
Added type annotations.
Removed unnecessary extra call to _clean_and_truncate().
Added scenario description and citation.

I suppose one needs pip install openpyxl because it depends on loading an excel file in SUMOSumScenario._load_dataset(). Otherwise, it cause an import error. The module is indirectly called from Pandas pd.read_excel(). Is it OK to add this to requirements.txt?

https://pypi.org/project/openpyxl/

Let me add @mtake  to this thread, as he is the first implementer of this scenario.
Do you have any comments, especially on the changes @yifanmai made as above?

OK, I have added openpyxl as an optional dependency.

Thanks! I confirmed that it is working.


Add a option for multiple phone number

The power is not available, it can be happen to mobile is switched off for main requestee
Expected behaviour
First phone will be required field, also user can one more phone number ( optional )

Same as #143


Add searchable tags to setting groups

What should be added?
A way to add tags to the Group class used in the setting pages. A group would also be included in setting search results if any of its tags matches the search text.
Why should it be added?
In some cases, making a setting easily searchable requires a cumbersome setting description so that common search terms would be included in the description. Having tags would allow for more freedom in phrasing setting descriptions while also allowing users to search for common terms.
Idea stemmed from 4cc9ee7.

This issue seems to be the most relevant place to do so, I wanted to bring up fact how you can no longer easily search for settings from under General -> Advanced page. For example, I've been often changing settings related to badges by just typing "badges" in search window, but addition of setting categories made it no longer work. I believe that's worth taking care of while adding this enhancement.

Should be done before #1956 to aid with categorisation.
In terms of starting to tag these settings, what's going to be the best way to collaboratively tag them?
Happy to just fork and create a CSV for people to add to. There's a good chunk to get through.


Incorrect parsing of floating point values

While running the tests for #12 (Yay test code!) the new viewBox support was producing slightly different gcode for the hiking.svg test file.
Digging into it a bit I found that it was because the SVG height and width attributes were being truncated - I was getting a height of 791.716 for example, rather than the full 791.71631 in the SVG file.  The viewBox code ended up scaling things a tiny bit, which threw the test code off.
The problem seems to be with the lines like this:
canvas_height = float(height_str) if height_str.isnumeric() else float(height_str[:-2])
Seems that isnumeric() returns False for strings containing decimals, and the code assumes they've got a mm or px, etc. at the end and chops off the last two characters - in the case of hiking.svg that's the last two decimal places of the number.

Checking the SVG spec, the width and height elements could be specified in values other than mm.  From https://www.w3.org/TR/CSS21/syndata.html#value-def-length:

Absolute length units are fixed in relation to each other. They are mainly useful when the output environment is known. The absolute units consist of the physical units (in, cm, mm, pt, pc) and the px unit:

in: inches — 1in is equal to 2.54cm.
cm: centimeters
mm: millimeters
pt: points — the points used by CSS are equal to 1/72nd of 1in.
pc: picas — 1pc is equal to 12pt.
px: pixel units — 1px is equal to 0.75pt.

So ideally we'd parse them to handle any of these and convert them all to mm

I've added a new function to _parser_methods.py which can parse any of the valid lengths (and doesn't truncate the decimal part), and included some simple test cases for each of them.  I doubt anyone will be specifying lengths in points or picas, but now they can :grinning:
That hasn't stopped the hiking.svg test case from failing.  However, I've randomly sampled a couple of dozen points, and they all varied from the previous test case by less than 0.001mm, all in the Y dimension, so I'm assuming it's down to minor variations in the floating point arithmetic with the additional transformation.
The update to the hiking.svg test case is in a separate commit, in case you want to leave it out for further investigation.
Github seems to have added the commits for this to the existing PR automatically, so accepting that will fix this issue too.


md5 required when downloading non-software file types

When performing a get on a tile release, the resource attempted to download the .pivotal file and the Open Source License .txt file. The resource gave an error when comparing the OSL file's calculated md5 against the expected md5, because the OSL file did not have an md5:
2016/09/28 15:33:42 Failed MD5 comparison for file: open_source_license_PCF-Service-Tile-Spring-Cloud_-1.1-_GA.txt. Expected , got d6f3fbad538edee63d7bf1a69a96370a
According to the PivNet UI, only files of type "Software" require an md5:

It's an easy work-around to just add the md5 to documentation and OSL files, but it would be better if the PivNet expectations and the resource's expectations matched.

@scottfrederick this is now fixed in v0.23.0 - thanks for the feedback!


Fixed numbers at startup for Neovim

When starting Neovim the numbers are not always correct, fixed now.

Has this been tested with vim?

Yeah it works fine, tested on: VIM - Vi IMproved version 7.4.1689


Incorrect URLs in Readme ("Get PowerShell")

A lot of links for the preview packages under Get PowerShell are broken:
Example for Ubuntu 17.04
https://github.com/PowerShell/PowerShell/releases/download/v6.1.0-preview.1/powershell_6.1.0~preview.1-1.ubuntu.17.04_amd64.deb

.The second preview has a ~ in front instead of a -

Related #6486

#6485 is already tracking this


Best way to programmatically use wist

Hey,
I'm looking for some guidance on the best way to programmatically use wist. I've got some gulp tasks setup for building and deploying. I'd like to have another task that's used to lint code before that happens.
I can use exec however that seems a little dirty when the code is all JavaScript. Any ideas or best practice?
Thanks!

A good example for how to do this programmatically is Ukor. You want to gather a list of files and then call
cliEngine.executeOnFiles(files)

The CLI engine will then log all the problems that it finds.


Request to Add ssh or ftp Capability to the CryoCloud Hub

Hi CryoCloud folks!
We had a great time using the CryoCloud hub at the ML in Glaciology workshop this past month. Thank you so much for getting that set up for us!
Would it be possible to add ssh or ftp capability to the terminal command line within CryoCloud to enable users to upload their own data remotely?
Thanks!
Cc'ing: @tsnow03

https://github.com/2i2c-org/infrastructure/issues/2208 would enable that!

Awesome! Thanks @yuvipanda!

Great, thanks @yuvipanda! From what I'm reading, I'm guessing it will be best for us to wait for 2i2c to resolve this issue then?

@tsnow03 that's the only way! If you can put a specific use case this would enable in https://github.com/2i2c-org/infrastructure/issues/2208 that would help with prioritization!

Would it be possible to add ssh or ftp capability to the terminal command line within CryoCloud to enable users to upload their own data remotely?

If you just want to transfer data you can alternatively use the S3 Scratch Bucket. It's a bit cumbersome, but doable currently (see https://book.cryointhecloud.com/how_tos/data_access/CryoCloudScratchBucket.html#advanced-access-scratch-bucket-outside-of-jupyterhub)


HADOOP-17743. Replace Guava Lists usage by Hadoop's own Lists in hadoop-common, hadoop-tools and cloud-storage projects

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 59s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 22 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
16m 14s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
20m 12s

trunk passed

+1 :green_heart:
compile
21m  1s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
18m  6s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
checkstyle
3m 44s

trunk passed

+1 :green_heart:
mvnsite
9m 29s

trunk passed

+1 :green_heart:
javadoc
8m  6s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
8m 33s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+0 :ok:
spotbugs
0m 40s

branch/hadoop-cloud-storage-project/hadoop-cloud-storage no spotbugs output file (spotbugsXml.xml)

+1 :green_heart:
shadedclient
13m 57s

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

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 28s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  3s

the patch passed

+1 :green_heart:
compile
20m 10s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
20m 10s

the patch passed

+1 :green_heart:
compile
18m 17s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
javac
18m 17s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
3m 43s

the patch passed

+1 :green_heart:
mvnsite
9m 25s

the patch passed

+1 :green_heart:
xml
0m 14s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
8m  2s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
8m 37s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+0 :ok:
spotbugs
0m 40s

hadoop-cloud-storage-project/hadoop-cloud-storage has no data from spotbugs

+1 :green_heart:
shadedclient
14m  2s

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

_ Other Tests _

+1 :green_heart:
unit
17m 11s

hadoop-common in the patch passed.

+1 :green_heart:
unit
1m 27s

hadoop-registry in the patch passed.

+1 :green_heart:
unit
42m 35s

hadoop-distcp in the patch passed.

-1 :x:
unit
1m  6s
/patch-unit-hadoop-tools_hadoop-dynamometer_hadoop-dynamometer-workload.txt
hadoop-dynamometer-workload in the patch passed.

-1 :x:
unit
3m 54s
/patch-unit-hadoop-tools_hadoop-dynamometer_hadoop-dynamometer-infra.txt
hadoop-dynamometer-infra in the patch passed.

+1 :green_heart:
unit
2m 44s

hadoop-aws in the patch passed.

+1 :green_heart:
unit
0m 48s

hadoop-kafka in the patch passed.

+1 :green_heart:
unit
2m 24s

hadoop-azure in the patch passed.

+1 :green_heart:
unit
0m 45s

hadoop-cos in the patch passed.

+1 :green_heart:
unit
0m 46s

hadoop-huaweicloud in the patch passed.

+1 :green_heart:
unit
0m 41s

hadoop-cloud-storage in the patch passed.

+1 :green_heart:
asflicense
1m  3s

The patch does not generate ASF License warnings.

316m 56s

Reason
Tests

Failed junit tests
hadoop.tools.dynamometer.workloadgenerator.TestWorkloadGenerator

hadoop.tools.dynamometer.TestDynamometerInfra

Subsystem
Report/Notes

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

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

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

uname
Linux 8069a5d5ec26 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 9902138e5d9d20d23901c11edb03e439e235fa0b

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

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

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

modules
C: hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-tools/hadoop-distcp hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-workload hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-infra hadoop-tools/hadoop-aws hadoop-tools/hadoop-kafka hadoop-tools/hadoop-azure hadoop-cloud-storage-project/hadoop-cos hadoop-cloud-storage-project/hadoop-huaweicloud hadoop-cloud-storage-project/hadoop-cloud-storage U: .

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

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 51s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 22 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
16m 10s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
20m  8s

trunk passed

+1 :green_heart:
compile
20m 46s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
18m  5s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
checkstyle
3m 48s

trunk passed

+1 :green_heart:
mvnsite
9m 26s

trunk passed

+1 :green_heart:
javadoc
8m  4s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
8m 38s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+0 :ok:
spotbugs
0m 39s

branch/hadoop-cloud-storage-project/hadoop-cloud-storage no spotbugs output file (spotbugsXml.xml)

+1 :green_heart:
shadedclient
14m 10s

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

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 27s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  3s

the patch passed

+1 :green_heart:
compile
20m 15s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
20m 15s

the patch passed

+1 :green_heart:
compile
18m  9s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
javac
18m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
3m 43s

the patch passed

+1 :green_heart:
mvnsite
9m 18s

the patch passed

+1 :green_heart:
xml
0m 14s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
8m  8s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
8m 37s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+0 :ok:
spotbugs
0m 40s

hadoop-cloud-storage-project/hadoop-cloud-storage has no data from spotbugs

+1 :green_heart:
shadedclient
13m 59s

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

_ Other Tests _

+1 :green_heart:
unit
17m 11s

hadoop-common in the patch passed.

+1 :green_heart:
unit
1m 28s

hadoop-registry in the patch passed.

+1 :green_heart:
unit
42m 21s

hadoop-distcp in the patch passed.

-1 :x:
unit
1m  7s
/patch-unit-hadoop-tools_hadoop-dynamometer_hadoop-dynamometer-workload.txt
hadoop-dynamometer-workload in the patch passed.

-1 :x:
unit
1m 33s
/patch-unit-hadoop-tools_hadoop-dynamometer_hadoop-dynamometer-infra.txt
hadoop-dynamometer-infra in the patch passed.

+1 :green_heart:
unit
2m 46s

hadoop-aws in the patch passed.

+1 :green_heart:
unit
0m 46s

hadoop-kafka in the patch passed.

+1 :green_heart:
unit
2m 24s

hadoop-azure in the patch passed.

+1 :green_heart:
unit
0m 45s

hadoop-cos in the patch passed.

+1 :green_heart:
unit
0m 46s

hadoop-huaweicloud in the patch passed.

+1 :green_heart:
unit
0m 41s

hadoop-cloud-storage in the patch passed.

+1 :green_heart:
asflicense
1m  3s

The patch does not generate ASF License warnings.

313m 56s

Reason
Tests

Failed junit tests
hadoop.tools.dynamometer.workloadgenerator.TestWorkloadGenerator

hadoop.tools.dynamometer.TestDynamometerInfra

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3072/2/artifact/out/Dockerfile

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

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

uname
Linux 0c07b26ddb0d 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 9902138e5d9d20d23901c11edb03e439e235fa0b

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3072/2/testReport/

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

modules
C: hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-tools/hadoop-distcp hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-workload hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-infra hadoop-tools/hadoop-aws hadoop-tools/hadoop-kafka hadoop-tools/hadoop-azure hadoop-cloud-storage-project/hadoop-cos hadoop-cloud-storage-project/hadoop-huaweicloud hadoop-cloud-storage-project/hadoop-cloud-storage U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3072/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

The failed tests are not related. HDFS-16050 is addressing the issue.

Merged. Thanks for your contribution, @virajjasani!

is there a plan to get this into branch-3.3? backporting past this change is getting hard.
at the very least, we should add the new list class, so that cherrypicking works

Sure @steveloughran, will create 3.3 backport PR of #3061, it should be directly applicable to branch-3.3 and 3.2 without any conflicts.

I pulled in the declaration of the Lists class, so new code can go back without problems


Revert default branch

In #253 the GHA workflow was edited to use $default-branch. Whilst this works in workflow templates, this actually doesn't in a workflow.
Here, we revert to referencing master directly.

Okay clear, let's merge when the build is green 😄.


JS Namespaces

I am using the plugin together with tolgee-js library for Next.js.
Currently, if I use the hook
const {t} = useTranslate('ns');

then, when using the t function, in the suggestions popup, I will have something like ns:key1, however the correct suggestion would be just key1 (no need to provide namespace, it doesn't work like that)
Example:

The plugin indeed needs more flexibility with namespaces.
Our current setup is locales/«locale»/translation.json, where translation is supposedly our default and only namespace, and thus is not needed. However, it gets shoved in the keys when checking the table view, what makes it mostly useless for us right now.

I'm not sure if this is also related, but the plugin shows autocomplete options even where it makes no sense at all:

it's not a string, this is a property inside an object
it's not inside a translation function

PS: notice the unnecessary namespaces, weirdly escaped.


fix(lower): avoid stack overflow during expression visit

closes #396

I'm surprised that this isn't impacting performance more....


[WIP] Update MetatlasObject with the new object model

@benbowen, here is an implementation of the idea I mentioned here: https://github.com/metabolite-atlas/metatlas/issues/16#issuecomment-145189773.

Notes:
def retrieve(object_type, **kwargs):
    """Get objects from the Metatlas object database.

    Parameters
    ----------
    object_type: string
      The type of object to search for (i.e. "Groups").
    **kwargs
      Specific search queries (i.e. name="Sargasso").
      Use '%' for wildcard patterns (i.e. description='Hello%').
      If you want to match a '%' character, use '%%'.

    Returns
    -------
    objects: list
      List of Metatlas Objects meeting the criteria.  Will return the
      latest version of each object.
    """
    pass

def store(objects):
    """Store Metatlas objects in the database.

    Parameters
    ----------
    objects: Metatlas object or list of Metatlas Objects
        Object(s) to store in the database.
    """
    pass

def clone(objects):
    """Store Metatlas objects in the database.

    Parameters
    ----------
    objects: Metatlas object or list of Metatlas Objects
        Object(s) to clone.
    """
    pass

All of these methods will batch the queries, and then execute all at once

Those three functions will replace queryDatabase, MetatlasObject.store, MetatlasObject.clone, and MetatlasObject.retreive.

Initial implementation is done, need to update the tests.

We're going to have to nuke the database and start over once I push this.

go for it.  Pete is our pre-alpha tester and I've warned him that this will
happen.
On Tue, Oct 6, 2015 at 6:47 PM, Steven Silvester<EMAIL_ADDRESS>wrote:

We're going to have to nuke the database and start over once I push this.
—
Reply to this email directly or view it on GitHub
https://github.com/metabolite-atlas/metatlas/pull/29#issuecomment-146054244
.


Sign Tentacle hardening script

The hardening script was converted to an executable but this caused some other issues such as requiring net452 to install. We are going back to a script and will sign it + ignore any errors during the installation which should reduce the number of issues this script causes (ie. we do our best effort to harden the directory, but not guaranteed).

Release Note: Harden Tentacle installation directory using signed script instead of executable


FIPS Compliance

Describe the feature you'd like and the problem it will solve
We want to use cloudprober in gov environments. To do so, we need cloudprober to be FIPS compliant. This leads to two questions.

Is cloudprober FIPS compliant?
If not, what needs to be done to make it FIPS compliant?

@sfc-gh-raram Cloudprober doesn't manage any cryptographic keys. Also, it doesn't have any persistent storage of data (or sensitive data). I am not sure how FIPS apply in such a case. AFAICT, it is FIPS compliant, but please confirm with your security/legal team.

Thank you for your response, Manu. I'll follow up with the security team.


Fix Unit Tests

Describe the issue
Fix unit tests.  Build broke when we updated leveldb.
src/makefile.am
# TODO (Amir) put back unit tests
#if ENABLE_TESTS
#include Makefile.test.include
#endif

#if ENABLE_QT_TESTS
#include Makefile.qttest.include
#endif

https://github.com/SilkNetwork/Silk-Core/commit/ff909ef2ec441ddc953a2a9c174f96be1012c804

Fixed in above commit


Spinning Window

Describe your problem here.
Im trying to make code where the game window is spinning in a circle. (Yes, It is possible without source.)
This is the code I havce so far:

Theres an empty script in the events folder to use the WindowShake event.
PROBLEM:
Instead of spinning in a circle, the window shimmies from side to side.
Did I do anything wrong?
(Everything else works by the way.)
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Nothing changed.

you did the math wrong, the code is right, but the math is wrong


In predictions() check and warn if all predictions are same value

It seems to be a fairly common case with (this is coming from Keras) that you end up with all 0 or 1 in binary categorical predictions. The user should get a warning for this to happen, as it's not necessarily obvious in the case that the user is new / low skill level, or advanced user who is expecting to get a very high accuracy. Of course the plot is making it quite clear (horizontal line with no variation throughout the epochs) but many users (including myself) are not always doing %matplotlib inline so the plots will not show.

This is now done in a better way by showing a distribution plot of the predictions to the user. Closing.


Allow overriding page_size in get_list

This resolves merge conflicts in @tandreas's #644 and adds the change to mongoengine, pymongo, and peewee too.
Here's more info about the problem this is trying to solve:
Currently, if you want to create a .csv from a table using get_list, it requires this hack:

Set self.page_size to a number equal to or greater than the number of records in the table. (This affects the entire ModelView! If anyone were to visit the page during this time, it would load all records.)
Use get_list to get all records from the table.
Set self.page_size back to its original value.

How about handling this through the existing page parameter on get_list, rather than an additional page_size parameter?
I would prefer sending page=None to get_list() to get the whole, unpaginated list returned. Then there's no need for an extra parameter, and the logic can be a little cleaner.
During normal usage, page is always an integer: https://github.com/flask-admin/flask-admin/blob/master/flask_admin/model/base.py#L1428. So, for this issue, we can check explicitly if page is None to override paging.

That would only allow for turning pagination on or off. But, that wouldn't allow us to do things like allow users to adjust their own pagination:

@petrus-jvrensburg forgot to mention you in the comment above.

That would only allow for turning pagination on or off. But, that wouldn't allow us to do things like allow users to adjust their own pagination

@mrjoes any objections to merging this one too?

Nope, thanks.


Invert Y axis for the whole document

I'd like to draw SVGs in the same orientation they will appear on the plot.
My plotter's origin is bottom left.
I am finding invert_y: true flips a shape along the shape's center (or more precisely, along the center of all shapes combined).
Is there an option to flip along the document's center?

Steps to Reproduce
  vpype --config "${PWD}/vpype.toml" read t.svg gwrite --profile default t.gcode

vpype.toml:
[gwrite.default]

invert_y = true

segment = "x X{x:.4f}, y Y{y:.4f}\n"

t.svg:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 783 651" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
  <path d="M11.915,624.943L23.83,650.079L0,650.079L11.915,624.943Z" style="fill:none;stroke:black;stroke-width:1px;"/>
</svg>

t.gcode:
x X3.1525, y Y172.0001
x X6.3050, y Y165.3495
x X0.0000, y Y165.3495
x X3.1525, y Y172.0001

^^^ expected the Y coordinates to be close to 0

I believe there is one but it would need to be in vpype actual, since I believe the document itself needs to be flipped. Though if you know the size of the document you could offset by the document height. But, vpype-gcode isn't given the document size information. @abey79 how/where is that document info stored.
This is entirely correct, the coordinate system for gcode is typically origin in bottom-left rather than origin in upper-right. IS there a flip within document code that does this correctly? Because vpype gcode doesn't know the actual document size to do that math (or I dunno how to access it exactly.

Thanks! That pointed me in the right direction:
vpype  ...
   read ...
   scale --origin 0 86mm -- 1 -1     # 86mm is the document center
   gwrite ...

I know the document size before hand (it is my plotter's printable area):
Closing because solved.
Would be interested in a solution without hardcoded center if anyone finds one. The stat command knows the document size so might be something there:
========= Stats =========
Current page size: (783.0, 651.0)
Totals:
  Global properties:
    vp_page_size: (783.0, 651.0)


[PE-D][Tester A] UI component section in DG not updated

References like PersonListPanel and Person are not updated.

Labels: type.DocumentationBug severity.Low
original: Gra7ityIC3/ped#14

To be addressed by #327


Crash if pep257 not installed

I was testing builds on Travis and trying to include the minimal set of requirements to explicitly install. I got to a state where I was not using requirements.txt and I was not using pip to install statick. Therefore, I ended up not installing some of the tools. When statick tried to run pep257 the entire statick tool crashed. This could likely be tested locally by uninstalling pep257 and running the self_check level against statick.

It turns out that more tools were missing the same type of exception handling that was missing for the pep257 tool plugin. I'll use this issue to fix all of the tool plugins.


Specify if an offset is given, connection url port needs to be changed accordingly.

Description:
Document: Configuring an external LDAP or Active Directory user store
Section: Configuring an external LDAP or Active Directory user store
Specify if an offset is given, the connection url port of the ReadWriteLDAPUserStoreManager needs to be changed accordingly.
Eg: if offset is 1
ldap://localhost:10390&lt
Suggested Labels:
Type/Docs
Severity/Minor
Priority/Normal
Suggested Assignees:
N/A
Affected Product Version:
apim2xx docs

Port offset of the APIM server is not related to the LDAP connection URL.


DTypeMismatchBinaryOp on add w/ mixtral

Describe the bug
Loading Mixtral-8x22b on 8xA100s via ISQ at Q8_0, model loads, and then at first token we get:
2024-08-30T16:00:20.769043Z ERROR mistralrs_core::engine: prompt step - Model failed with error: WithBacktrace { inner: DTypeMismatchBinaryOp { lhs: BF16, rhs: F32, op: "add" }, backtrace: Backtrace [{ fn: "candle_core::error::Error::bt" }, { fn: "candle_core::storage::Storage::same_dtype" }, { fn: "candle_core::tensor::Tensor::add" }, { fn: "mistralrs_core::models::mixtral::Model::forward" }, { fn: "<mistralrs_core::models::mixtral::Model as mistralrs_core::pipeline::loaders::normal_loaders::NormalModel>::forward" }, { fn: "<mistralrs_core::pipeline::normal::NormalPipeline as mistralrs_core::pipeline::Pipeline>::forward_inputs" }, { fn: "mistralrs_core::pipeline::Pipeline::step::{{closure}}" }, { fn: "mistralrs_core::engine::Engine::run::{{closure}}" }, { fn: "std::sys::backtrace::__rust_begin_short_backtrace" }, { fn: "core::ops::function::FnOnce::call_once{{vtable.shim}}" }, { fn: "std::sys::pal::unix::thread::Thread::new::thread_start" }, { fn: "start_thread" }, { fn: "...
thread '<unnamed>' panicked at mistralrs-core/src/engine/mod.rs:219:25:
called `Result::unwrap()` on an `Err` value: SendError { .. }
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: mistralrs_core::engine::Engine::run::{{closure}}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Latest commit or version
cfc0fa7ffaed0ca71cf86caff4dbd950d08626d8

Hi @wseaton! Thanks for reporting this. I'm not exactly sure where this is occurring, but I think there may still be some error here. I just added #730, can you please confirm if this fixes the issue?

@wseaton this is fixed now after I merged #730. Closing now, please feel free to reopen!

ISQ is working now for mixtral, but I am running into an error similar to: https://github.com/EricLBuehler/mistral.rs/issues/715. This happens upon first completion request.

@wseaton thanks for letting me know, I'll take a look at #715.


Why does running the following code keep downloading files from huggingface?

from llava.model.builder import load_pretrained_model
from llava.mm_utils import get_model_name_from_path, process_images, tokenizer_image_token
from llava.constants import IMAGE_TOKEN_INDEX, DEFAULT_IMAGE_TOKEN, DEFAULT_IM_START_TOKEN, DEFAULT_IM_END_TOKEN, IGNORE_INDEX
from llava.conversation import conv_templates, SeparatorStyle
from PIL import Image
import requests
import copy
import torch
pretrained = "llama3-llava-next-8b"
model_name = "llava_llama3"
device = "cuda"
device_map = "auto"
tokenizer, model, image_processor, max_length = load_pretrained_model(pretrained, None, model_name, device_map=device_map) # Add any other thing you want to pass in llava_model_args
model.eval()
model.tie_weights()
image = Image.open("2.jpeg")
image_tensor = process_images([image], image_processor, model.config)
image_tensor = [_image.to(dtype=torch.float16, device=device) for _image in image_tensor]
conv_template = "llava_llama_3" # Make sure you use correct chat template for different models
question = DEFAULT_IMAGE_TOKEN + "\nWhat is shown in this image?"
conv = copy.deepcopy(conv_templates[conv_template])
conv.append_message(conv.roles[0], question)
conv.append_message(conv.roles[1], None)
prompt_question = conv.get_prompt()
input_ids = tokenizer_image_token(prompt_question, tokenizer, IMAGE_TOKEN_INDEX, return_tensors="pt").unsqueeze(0).to(device)
image_sizes = [image.size]
cont = model.generate(
input_ids,
images=image_tensor,
image_sizes=image_sizes,
do_sample=False,
temperature=0,
max_new_tokens=256,
)
text_outputs = tokenizer.batch_decode(cont, skip_special_tokens=True)
print(text_outputs)
The image shows a radar chart, also known as a spider chart or a web chart, which is a type of graph used to display multivariate data in the form of a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point. Each axis represents a different variable, and the values are plotted along each axis and connected to form a polygon.\n\nIn this particular radar chart, there are several axes labeled with different variables, such as "MM-Vet," "LLaVA-Bench," "SEED-Bench," "MMBench-CN," "MMBench," "TextVQA," "VizWiz," "GQA," "BLIP-2," "InstructBLIP," "Owen-VL-Chat," and "LLaVA-1.5." These labels suggest that the chart is comparing the performance of different models or systems across various benchmarks or tasks, such as machine translation, visual question answering, and text-based question answering.\n\nThe chart is color-coded, with each color representing a different model or system. The points on the chart are connected to form a polygon, which shows the relative performance of each model across the different benchmarks. The closer the point is to the outer edge of the

The error is reported as follows
raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like meta-llama/Meta-Llama-3-8B-Instruct is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

I'm running into this issue as well，
I downloaded lmms-lab/llava-onevision-qwen2-0.5b-si and google/siglip-so400m-patch14-384，
But I don't know where to put it under the path, I want to ask about it.


KV extension for Linux "Identity not found" Error in Managed Identity Authentication

While implementing the Azure Key Vault VM Extension for Linux to manage certificates, I encountered the following error during the token acquisition process via the Azure Instance Metadata Service (IMDS):
Error:
[MSIHttpClient]    MSI URL: http://<IP_ADDRESS>/metadata/identity/oauth2/token/?api-version=2018-02-01&authority=https://login.microsoftonline.com/{TENANTID}&resource=https://vault.azure.net&client_id={Managed ID Client ID}

[MSIAuthClient]    failed to retrieve MSI token from response: {"error":"invalid_request","error_description":"Identity not found"}

Service: KV extension for Linux with Managed Identities
Version
3.3.2652.112
Status message
Failed to download one or more certificates, retrying...
Docs:

https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/key-vault-linux?tabs=version3 ,
https://learn.microsoft.com/en-us/azure/linux-workloads/createlinuxvmsecurewebserver/readme#deploying-akv-extension-for-vm-vm_name-to-retrieve-cert-cert_name-from-akv-akv_name

Steps to Reproduce:
Configured a managed identity for an Azure Virtual Machine (VM).
Installed and configured the Azure Key Vault VM Extension for Linux to retrieve certificates.
During the extension's operation, the above error was logged, indicating a failure to acquire the necessary token.
Expected Outcome:
The extension should successfully retrieve an access token for the managed identity to authenticate against Azure Key Vault and manage certificates as configured.
Actual Outcome:
The token acquisition process failed with the "Identity not found" error, preventing the extension from functioning as intended.
Somehow I can see the cert in the folder (Maybe as part of the "requireInitialSync")
cli commands:

MY_CERT_ID=$(az keyvault certificate show --vault-name $MY_KEY_VAULT --name $MY_CERT_NAME --query sid -o tsv)
MY_VM_CLIENTID=$(az identity show --resource-group $MY_RESOURCE_GROUP_NAME --name $MY_VM_ID_NAME --query clientId -o tsv)

MY_AKV_EXT_SETTINGS="{\"secretsManagementSettings\":{\"pollingIntervalInS\":\"3600\",\"requireInitialSync\":true,\"certificateStoreLocation\":\"{*the path to my cert*}/\",\"observedCertificates\":[\"$MY_CERT_ID\"]},\"authenticationSettings\":{\"msiEndpoint\":\"http://<IP_ADDRESS>/metadata/identity/oauth2/token\",\"msiClientId\":\"${MY_VM_CLIENTID}\"}}"

az vm extension set \
    --resource-group $MY_RESOURCE_GROUP_NAME \
    --vm-name $MY_VM_NAME \
    -n "KeyVaultForLinux" \
    --publisher Microsoft.Azure.KeyVault \
    --version 2.0 \
    --enable-auto-upgrade true \
    --settings $MY_AKV_EXT_SETTINGS -o JSON

@RotemDror
Thanks for your feedback! We will investigate and update as appropriate.


Add armv7 as arch

Allow build in alpine linux and close #40

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Fix delete; clarify extension

Deleting a resource should use a resource with just resourceType and id
Extension examples updated to always have a reverse uri naming convention

@ssmillard we had a bit of discussion about the extensions topic and I dug up https://github.com/cds-hooks/docs/issues/133 and https://github.com/cds-hooks/docs/issues/89, where there was a decision made to handle it this way (for both extensions and prefetch) vs the uri/value pairs mechanism.

@ssmillard we had a bit of discussion about the extensions topic and I dug up https://github.com/cds-hooks/docs/issues/133 and https://github.com/cds-hooks/docs/issues/89, where there was a decision made to handle it this way (for both extensions and prefetch) vs the uri/value pairs mechanism.

Related: http://hl7.org/fhir/us/davinci-crd/2019May/hooks.html#propose-alternate-request
The issue with:

Deleting a resource should use a resource with just resourceType and id

Is that the same element name (resource) using different data types between delete vs create/update is inelegent depending upon the dev stack.
An alternative to the proposal would be to introduce a new element name (e.g. resourceLocation) to be used for deletes, which could also enable a transition path, and cds service could even provide both.
If we make any changes, we should ensure that CRD stays in sync as well.

Related: http://hl7.org/fhir/us/davinci-crd/2019May/hooks.html#propose-alternate-request
The issue with:

Deleting a resource should use a resource with just resourceType and id

Is that the same element name (resource) using different data types between delete vs create/update is inelegent depending upon the dev stack.
An alternative to the proposal would be to introduce a new element name (e.g. resourceLocation) to be used for deletes, which could also enable a transition path, and cds service could even provide both.
If we make any changes, we should ensure that CRD stays in sync as well.

@dennispatterson , @brynrhodes and I talked through this issue.
Ultimately, it is awkward for developers to treat the same resource element as either a resource "location" (aka ProcedureRequest/123) or as a full resource. We believe that delete suggestions are not yet widely implemented. Specific to delete suggestions, from a developer perspective, constructing a shell resource withonly a resource type and id
`resourceId` | CONDITIONAL | *string* | A relative reference to the relevant resource in the suggestion. SHOULD be provided for delete suggestions.
`resource` | OPTIONAL | *object* | A FHIR resource. When the `type` attribute is `create`, the `resource` attribute SHALL contain a new FHIR resource to be created.  For `update`, this holds the updated resource in its entirety and not just the changed fields. Use of this field to communicate a string of a FHIR id for delete suggestions is DEPRECATED and `resourceId` SHOULD be used instead.

For delete, this SHALL be the id of the resource to remove. In hooks where only one "content" resource is ever relevant, this attribute MAY be omitted for delete action types only.
Todo:

@isaacvetter : create jira issue

@dennispatterson , @brynrhodes and I talked through this issue.
Ultimately, it is awkward for developers to treat the same resource element as either a resource "location" (aka ProcedureRequest/123) or as a full resource. We believe that delete suggestions are not yet widely implemented. Specific to delete suggestions, from a developer perspective, constructing a shell resource withonly a resource type and id
`resourceId` | CONDITIONAL | *string* | A relative reference to the relevant resource in the suggestion. SHOULD be provided for delete suggestions.
`resource` | OPTIONAL | *object* | A FHIR resource. When the `type` attribute is `create`, the `resource` attribute SHALL contain a new FHIR resource to be created.  For `update`, this holds the updated resource in its entirety and not just the changed fields. Use of this field to communicate a string of a FHIR id for delete suggestions is DEPRECATED and `resourceId` SHOULD be used instead.

For delete, this SHALL be the id of the resource to remove. In hooks where only one "content" resource is ever relevant, this attribute MAY be omitted for delete action types only.
Todo:

@isaacvetter : create jira issue

Hey @ssmillard,

For extensions, Would it be possible to have a structure such as: "extension": [

Yes, definitely. The idea is that everything within the extension element is entirely yours to do with as you want.

Hey @ssmillard,

For extensions, Would it be possible to have a structure such as: "extension": [

Yes, definitely. The idea is that everything within the extension element is entirely yours to do with as you want.

Hey Folks - are we all agreed on this change? Can we move ahead with this pull request?


Cross filtering with BIGINT column produces wrong value format in SQL query.

A cross filter on BIGINT column may format the WHERE clause in charts into float number:
WHERE params_hash IN (-3.297260625658751e+18)
Should be:
WHERE params_hash IN (-3297260625658750778)
How to reproduce the bug

Make a cross filter on a BIGINT column.
Filter on a failing value (not all values are failing). e.g. -3297260625658750778
Cross filtered chart fail to display data because of bad formatting of the value.

Expected results
The cross filtered chart should have a well-formed WHERE clause:
WHERE params_hash IN (-3297260625658750778)
and the chart output right data.
Actual results
The cross filtered chart has a malformed WHERE clause:
WHERE params_hash IN (-3.297260625658751e+18)
and the chart output no data.
Environment
(please complete the following information):

browser type and version: Chrome Version 112.0.5615.165 (Official Build) (64-bit)
superset version: docker-compose up
python version: 3.10
node.js version: v14.21.1
any feature flags active: FEATURE_FLAGS = {"ALERT_REPORTS": True, "DASHBOARD_CROSS_FILTERS": True, "ENABLE_TEMPLATE_PROCESSING": True}

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[X] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[X] I have reproduced the issue with at least the latest released version of superset.
[X] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

I'm not sure if this is still an issue in current versions of Superset (3.x). If it is, we can re-open this, or feel free to open a new issue with updated context and a reproducible case using example data. We're no longer supporting Superset 2.x or prior, and it's been a while since this thread saw any activity, so I'm closing this as stale.


History and Close buttons overlapping

Screenshots
Picture
Device and Application Information (please complete the following information):

OS Build: 1809
Architecture: x64
Application Version: 10.1812.10048.0

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

Already fixed! https://github.com/Microsoft/calculator/pull/327

Thanks foe the reprot! Look for the fix in an upcoming update. Dupe of #326.


Android / Investigate storage best practices for Android 10+

Android 10/11 (API 29/30) introduce some security enhancements to file storage; Android is calling these enhancements "scoped storage" (https://developer.android.com/about/versions/11/privacy/storage). With the changes, each app gets its own private "sandbox" storage location, but does not have full access to the files in the filesystem -- unless they petition the Google Play store for an exception. These rules go into place August 2021, if I'm reading things correctly.
This issue is to track what our best practices should be for reading / writing under this new security scheme:

Do we continue to save exported files in the same location?
As an editor, does it make sense to petition for an exception to the "sandbox" so AIM can see / import files from other apps -- or should AIM just open files that are shared with it, and work with files in its own sandbox?

I'm guessing this issue will involve some user documentation (where to store / look for files), as well as some code changes.

Code changes for this issue have been completed. With the 1.5.0 release, Adapt It Mobile will look for items in the following directories:

/data/Android/org.adaptit.adaptitmobile/files
/sdcard/data/Android/org.adaptit.adaptitmobile/files

Exported files will appear in a subdirectory of the ../files directory, and can be shared with other applications as described in Adapt It Mobile v.1.1.0.
Note that with the 1.5.0 release, Adapt It Mobile can also automatically import files from other applications that are shared with it (see issue #328).