When deploying code

Thank you blogger for your work, you do a great job. I ran into the following problems while running the code:
Traceback (most recent call last):
File "E:\ScribblePrompt\ScribblePrompt-0.1.0\demos\app.py", line 450, in
scribble_img = gr.Image(
File "D:\ProgramData\Anaconda3\lib\site-packages\gradio\component_meta.py", line 167, in wrapper
return fn(self, **kwargs)
TypeError: init() got an unexpected keyword argument 'brush_radius'

Hi, please check you're using the right version of Gradio. The app in demos/app.py requires gradio 3.40.1.
Alternatively, we have a newer gradio app on huggingface here that uses gradio 4.41.0. You can download the code for that app in the files tab of the huggingface page

Hi, please check you're using the right version of Gradio. The app in demos/app.py requires gradio 3.40.1.
Alternatively, we have a newer gradio app on huggingface here that uses gradio 4.41.0. You can download the code for that app in the files tab of the huggingface page
Thanks, after your advice, I have been able to successfully deploy locally!
Now there is another question I would like to consult: when I segment my own blood vessel image, it is easy to over-segment when I use click operation, and the same situation will still occur when I click again after cancellation. How can I solve this problem?

It looks like you are only using positive clicks here. Have you tried using negative clicks or scribbles to mark the background?


Fix OIDC redirect callback default user store mismatch

Add default user store argument to BrowserAuthorizationCallbackHandler to match default within BrowserAuthorizationClient

resolves issue where redirect signins fail due to user save/lookup occurring in separate caches

Move the check for signin callback in ui-test-app to before IModelApp.startup() is called

@calebmshafer @ramanujam-raman this PR should solve an issue that was raised internally regarding incognito mode/session storage last month.

@Mergifyio update

@Mergifyio update

@Mergifyio update


http tunnel implementation question

When it comes to HTTP Tunnel , nitmproxy decode the payload of the CONNECT payload , which seems not what a tunnel should do.A tunnel should not case about what was in the payload , In theory , at least in my knowledge.
In this approach , http tunnel is not much different from the http proxy.
Meanwhile , It can not pass the tls check when I try to connect to a https website with http tunnel with curl.
becase whe key it get is from the proxy server , not the origin website we wanna go.
curl  --proxytunnel -x http://<IP_ADDRESS>:8080 https://www.baidu.com
>>> curl: (77) schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325)

correct me if I get it wrony.
thanks.

Did you actually add the NITMP proxy cert to your CA store?


text overlapping with a long address and title in list view

This is happening for small viewports so we can simply assign text or address a class that will hide on smaller devices

sure. my laptop screen is 12 inches for reference

Thank you @patison89 for fixing this

Awesome Patison, thank you :0)


Complete data loss when using volume.tier.move after volume.tier.upload

Describe the bug
When first uploading the data via volume.tier.upload e.g. with rclone:
volume.tier.upload -dest rclone -fullPercent=95 -quietFor=1s -keepLocalDatFile=false -collection=default
and then moving the data to a different storage tier with:
volume.tier.move -fromDiskType=hdd -toDiskType=hdd2 -quietFor=30s -fullPercent=95 -force -collectionPattern=* -toReplication=000
all of the data that was first moved by rclone will be wiped because the dat file was not downloaded before moving the data to hdd2. Only the index files were moved during the volume.tier.move operation.
System Setup

OS version: Ubuntu 22.04
weed version: "chrislusf/seaweedfs:3.71_full" (rclone requires full version)

Expected behavior
Remote tier dat file should be downloaded before volume.tier.move operation.
Screenshots
hdd2 volume server says it has id=12 in remote storage:

but only idx file is there:

and the remote storage box has been fully wiped (had ~3TB of data):

Luckily, this was just ~3TB of test data, but when not being careful, this combination of commands can lead to 100% data loss.

you can use volume.tier.download if you want to move data off the remote storage, before or after volume.tier.move

Before, yes. After, no. That's kinda the point. volume.tier.move should check if the dat file is still in remote storage and download it before moving. Otherwise, all data will be deleted.
It should not be possible for the user to make this mistake (like I did) and lose all their data.

the .vif file has info that the .dat file is in a remote location.


New Repository

@ziogaschr, @waltermvp, @venj, @kiokumicu, @guidelfrate, @gblotter, @karlml, @twofish187
Look guys, I just don't know what's happened with @yankodimitrov and I hope that everything is just going fine and he simply became very-very rich and threw out his laptop
But anyway, this great project needs an evolution, so I propose to continue work on this project somewhere else
I've made a fork of this project and merged a @ziogaschr outstanding commits into it, so you can fork it and start to make things happen
Thank you
P. S. https://github.com/velikanov/SwiftPasscodeLock

@velikanov I share your sentiment.

@waltermvp, excuse me, I thought that GitHub clones all repository structure automatically
it's done now, you can create new Issues
I'll try to migrate all old open issues

@velikanov I agree, let's keep this project live.
We are actively using this library in an app and we are really happy.
I have add, some more functionality but in separate classes in my project.
I really find handy, that @yankodimitrov decided in the refactor to keep the PasscodeRepository as a protocol and not make it part of the project.
We have also added exponential backoff on failed PIN attempts + a dummyView for app is in background. ;)
Let me know if you want me to share some tips on this.

@yankodimitrov if you like the idea you can add us as contributors so as we can help you and we keep this nice repo, instead of another fork

@yankodimitrov I recently saw that you have accepted a PR. Will we keep this repo active? Shall we continue making our PR's to your repo?
This is your work man and you have done very good work so far, so please update us if we can help you to keep this project rolling.

+:1

First thank you all for your pull requests and support!
You can continue to send pull requests. Im a bit busy right now but will try to look at the repo.
Furthermore @ziogaschr and @velikanov let me know if you want me to add you as contributors.
Thanks!

Thank you for the update @yankodimitrov.
It's up to you to add us as collaborators. :)
Do you find a good idea to merge the latest changes from @velikanov master? As it is harder to re-create all PRs. Let us know if you prefer PRs

@yankodimitrov I tried to add new PR's although, because the base of what I currently use is from @velikanov master branch the PR had more stuff in it.
Is it ok with you to create a PR with all the changed things at @velikanov master branch so as we sync them and then add two new PRs https://github.com/velikanov/SwiftPasscodeLock/pull/15 and https://github.com/velikanov/SwiftPasscodeLock/pull/16 so as we can continue with your repo?

@ziogaschr  need to use this repo again. I'm assuming your fork is the best option to move foward?

Yes. I have updated the Swift3 branch on my repo this week, but I want to check some stuff till monday in order I merge it with my repos' master.
I would like to help closing all the issues, although every time I am trying to do this I have to merge all changes from main repo + @velikanov which is such a pain
Sent from my iPhone
On 18 Nov 2016, at 21:09, Walter Martin Vargas-Pena <notifications<EMAIL_ADDRESS>wrote:
@ziogaschrhttps://github.com/ziogaschr need to use this repo again. I'm assuming your fork is the best option to move foward?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/yankodimitrov/SwiftPasscodeLock/issues/29#issuecomment-261615211, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAw_jJvLQGKwi2xI2qPMuaDaAbkTcP1Kks5q_ff2gaJpZM4G4Z3M.

Hmm I can imagine. Here to help :)


Create model.rst

Correction of awkward phrasing.
Each pull request should address a single issue and have a meaningful title.
Description
Don't want to inadvertently step on anyone's toes, but, being new to CI, I am going through the mostly extremely well-written docs, but encountering the odd place where it seems to have been written by someone whose first language was NOT English. Might I help out to make corrections in such cases? I hope I'm not being presumptuous in choosing this route to do so.
I will stop here and await responses.
Checklist:

[ ] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

@srcodesmith Yes, please, go on. Every helping hand from the community is very much needed and welcome.

@srcodesmith can you do my review suggestions so that I can merge this?

Hi Paul,
I THINK i've done what's necessary.
Sorry I haven't made more suggestions yet, but I'd like to uncover several
glitches and submit them as a group, if that makes sense.
On Sun, Nov 29, 2020 at 11:18 PM John Paul E. Balandan, CPA <
<EMAIL_ADDRESS>wrote:

@srcodesmith https://github.com/srcodesmith can you do my review
suggestions so that I can merge this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codeigniter4/CodeIgniter4/pull/3926#issuecomment-735601352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOMKYL4A77JJVE7JFJHNSEDSSNBNRANCNFSM4UD5OM4Q
.

Pretty much identical working needs to be changed for the entry immediately below: $updatedField, as well.


Training on our own dataset.

Thank you @haoheliu  for the amazing work! I was looking forward to this for awhile!.
I am a beginner to Machine Learning and was wondering how trivial it is to modify the network architecture to suit our own dataset.
Any input from you, would be greatly appreciated

It's super easy to use your own dataset. I'll update the readme with more tutorials later.

Thank you for the update!

I also wanted to make sure that the training code as of now is for AudioLDM and not AudioLDM2 right? But the checkpoints and modules have been merged so seemed more like the AudioLDM2 repo to me.

Currently the code is mainly for AudioLDM 1.0.
Will update the code with AudioLDM 2.0 config later

Currently the code is mainly for AudioLDM 1.0. Will update the code with AudioLDM 2.0 config later

Any update ?

May I ask are the code for AudioLDM 2.0 ready to be released?


Add multisig filter

Add custom made TxFilter() to scan for multisignature.

With the new filter system this should be now much easier.


Port metrics to type Gauge

In ElasticSearch 5.4.1 (at least) those changed metrices should actually be of type Gauge since we get a lot of errors like:
[2017-06-13T11:33:13,234][ERROR][RestPrometheusMetricsAction] Can not increment metric index_requestcache_miss_count with value -61.000000, skipping
[2017-06-13T11:33:13,123][ERROR][RestPrometheusMetricsAction] Can not increment metric index_requestcache_hit_count with value -68.000000, skipping
[2017-06-13T11:33:13,456][ERROR][RestPrometheusMetricsAction] Can not increment metric index_search_query_count with value -2.000000, skipping

Similar to https://github.com/vvanholl/elasticsearch-prometheus-exporter/issues/2 or https://github.com/vvanholl/elasticsearch-prometheus-exporter/pull/41.
New release would be appreciated to reduce noisy logs.

Thank you ! :)


chore: remove reference to wallet-core signState

And all signing is now sync (not async)
SigningWallet.signState can take a State or StateWithHash, adds the hash if necessary

I'm not sure what caused the test failure on the first commit. I'm sure adding a test didn't fix it 😕


Turing amends global data variables

@model test(x) = begin
  push!(x, 4)
  x ~ MvNormal(...) # 4-dim multivariate normal
end

x = [1, 2, 3]
sample(test(x), ...)

will not work as expected because x is changed globally, and a new 1 is kept getting pushed into x.

That's true, I don't want to deepcopy data variables particularly for large datasets. Maybe we should warn the user not to modify x here.

will not work as expected because x is changed globally, and a new 1 is kept getting pushed into x.

Well no, x is changed using its local reference even though it's a global. That's subtly different, but just a standard property of mutating functions in Julia since the value of an array is its reference (i.e. pass by reference and not by value). I don't think this needs to be documented as part of Turing.jl since it's what you'd expect throughout the language from any mutating function.


'module' object has no attribute 'Tokenizer'

newsTrainer = Trainer(tokenizer.Tokenizer(stop_words = [], signs_to_remove = ["?!#%&"]))
At the above line, I am getting an error.
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'Tokenizer'

@b121351 you should copy the contents of tokenizer.py in this repo into tokenizer.py in your pip package. You can find the location by running pip show naiveBayesClassifier in the terminal


Shouldn't allow timeago

Some of Ghost theme like Saga uses XX ago in DateTime-format (ex: {{date published_at timeago='true'}})
But in HubPress, that won't update until regenerate article or page.

Hi @hinaloe!
Thank you for having filled this issue, i confirm that there is a bug

@hinaloe i think we can close this issue, right?

:+1:


Blog should share same navigation as main site [$30]

Even though the blog is hosted on Tumblr this should not stop it from being visually integrated into the main site as Tumblr supports custom theming. Starting off I'd suggest implementing the main nav from mvp for the Tumblr page, later maybe also the footer.

---
Did you help close this issue? Go claim the **[$30 bounty](https://www.bountysource.com/issues/12081900-blog-should-share-same-navigation-as-main-site-30?utm_campaign=plugin&utm_content=tracker%2F10548672&utm_medium=issues&utm_source=github)** on [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10548672&utm_medium=issues&utm_source=github).

@danrabbit I copied the DOM and CSS from the nav to http://blog.elementary.io/. Thoughts?

Looks good to me. Marking as closed :)

Is it possible to localize the navbar on tumblr? Not that it makes a lot of sense considering the blog is solely in English...

@quassy I don't think so, not with the existing options from there.

@quassy @lewisgoddard the only way I can think of there is to iframe-embed the blog, similar to how we do the store. However, Tumblr isn't designed to be embedded whereas Square is. I don't think it's worth pursuing because then we have two URLs for the blog (blog.elementary.io and elementary.io/blog, for example) and it gets messy. :)

I agree.
Btw I think /blog should 301-redirect to blog.

+1 to redirecting /blog

Open a new issue ;)


correction of necessary diagnostic data level

https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/What-s-new-in-Windows-Update-for-Business-in-Windows-10-version/ba-p/622064 :
"Beginning with Windows 10, version 1903, Windows Update for Business no longer requires a diagnostic data level of Basic or higher to enforce configured policies. Instead, privacy-sensitive organizations can utilize Windows Update for Business policies, regardless of the diagnostic data level chosen, for any devices running Windows 10, version 1607 or later."

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

ID: 1684b30a-3187-85ce-0cf7-10d1b8298b7f
Version Independent ID: 9b7170fc-2b39-8e46-7898-894a45de8623
Content: Configure Windows Update for Business (Windows 10)
Content Source: windows/deployment/update/waas-configure-wufb.md
Product: w10
Technology: windows
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@officedocsbot assign @jvsam

Would it be practical to expand the existing note bubble to include the 1903 specific change, maybe even changing the word "Important" to "Note",
to indicate that there are differences between 1903 and previous versions? Is it reasonable to presume that the 1903 info should precede the existing?

https://docs.microsoft.com/en-us/windows/deployment/update/waas-configure-wufb

@officedocsbot assign @jvsam

Thanks to @PatCat-MSFT & @jaimeo for the PR #4644 and its commit https://github.com/MicrosoftDocs/windows-itpro-docs/commit/798241bf01d4a735990513ece647fb7cbb9ab3ce .

Awesome, thanks for linking that @illfated!
Hi @tgrisel, the pull request (see #4644) that clarifies the changes to diagnostic data requirements has been merged and will be displayed at docs.microsoft.com in the next scheduled publishing run. We will now close this issue, thank you for your feedback and for being part of the Microsoft Docs community!

@officedocsbot close


Ocpp: do not return error on setup

Fixes #15852

Imho we should not configure this at all.

We have to configure it if we want the chargers reconnect in time.

I don't see any indication that this changes anything. The charger would already notice a dropped TCP connection afaikt, independently from the websocket ping. That's due to the fact that evcc continually sends messages to the charger (which is not the case with an idle websocket connected). The timeout does not do anything in our scenario imho.

It is the station (CP) configuration, not CS.
The CP is configured here to ping the CS in time, not in intervals of 5, 10, 15, 30 Minutes as often set as default for GSM connections!
This make the CP detect a loss of connection MUCH faster so it can reconnect in time.


[master] Auto-update dependencies

Produced via:
./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh
/assign tcnghia
/cc tcnghia

/retest

I tried to fix this, but there's more than just renames
semantics changed this needs to be done manually
/assign @nak3

@nak3 @ZhiminXiang
This will need to be fixed manually:

pkg/reconciler/ingress/resources/virtual_service.go:231:9: http.Retries undefined (type *v1alpha1.HTTPIngressPath has no field or method Retries)
pkg/reconciler/ingress/resources/virtual_service.go:234:24: http.Retries undefined (type *v1alpha1.HTTPIngressPath has no field or method Retries)
pkg/reconciler/ingress/resources/virtual_service.go:236:10: http.Retries undefined (type *v1alpha1.HTTPIngressPath has no field or method Retries)
pkg/reconciler/ingress/resources/virtual_service.go:237:58: http.Retries undefined (type *v1alpha1.HTTPIngressPath has no field or method Retries)

Thank you!
Yes, @JRBANCEL is fixing it now in https://github.com/knative-sandbox/net-istio/pull/263


Hangman game

add hangman game and play it..

⚠ Welcome to PR waiting room
Thank you for your contribution! However, this pull request does not meet the required structure or rules. Please address the following issues:

Files are not within a single directory in the root.

Next Steps:

Review the issues listed above.
Make the necessary changes to your pull request.
Push your changes to update the pull request.

Once the issues are resolved, we'll review your pull request again. If you have any questions, please don't hesitate to ask.
Thank you for your understanding and cooperation!

I Recheck it and fix all problems..
pls merge it...


"Colorful 100 mg/dl" - rainbow color does not go away

@MrJordanRoth : I have tried to fix this in the last days and tried at least 5 different "solutions" but none worked to full extent. Yesterday I chose to revert to your initial [MeasureGlucose] code but, as it turned out, this already seems to have this issue. What happens? Whenever I hit the "lucky 100 mg/dl" the rainbow color is displayed. Good. However, after polling the next value 99.9999% sure not @100 mg/dl any more - the rainbow color remains. Does this also happen for you or is this related to some other code section??

It's such a simple task to adjust colors for 3 different conditions (in a normal programming language) but in Rainmeter code this is a try&error-task for me that failed too many times already. I probably should read the manuals but maybe you can help me here...
My problem here is, that of course you don't get a "lucky 100" every half hour, at least I don't. So testing + fixing this is no fun...
[MeasureGlucose]
Measure=WebParser
URL=[MeasureSite]
StringIndex=2
; ***Change BG Color to Red
IfCondition=MeasureGlucose < #LowGlucoseAlert#
IfTrueAction=[!SetOption MeterGlucose FontColor "255,0,0"]
IfFalseAction=[!SetOption meterGlucose FontColor "255,255,255"]
; ***Change BG Color to Orange
IfCondition2=MeasureGlucose > #HighGlucoseAlert#
IfTrueAction2=[!SetOption meterGlucose FontColor "229,172,64"]
; ***Change BG Color to Colorful-Gradient @100
IfCondition3=MeasureGlucose = 100
IfTrueAction3=[!SetOption meterGlucose InlineSetting "GradientColor | 180 | 255,0,0,255 ; 0.0 | 0,255,0,255 ; 0.5 | 0,0,255,255 ; 1.0"]

I can't replicate that issue, is this in the code you posted in a zip? I'll take a look at it tonight.

@emp-00,
I wonder if this had something to do with how I was using a refresh and the new code you implemented isn't refreshing the entire skin. My suggestion may be to add the [!redraw] to the end of the IfTrueAction:
[MeasureGlucose] Measure=WebParser URL=[MeasureSite] StringIndex=2 ; ***Change BG Color to Red IfCondition=MeasureGlucose < #LowGlucoseAlert# IfTrueAction=[!SetOption MeterGlucose FontColor "255,0,0"][!Redraw] IfFalseAction=[!SetOption meterGlucose FontColor "255,255,255"][!Redraw] ; ***Change BG Color to Orange IfCondition2=MeasureGlucose > #HighGlucoseAlert# IfTrueAction2=[!SetOption meterGlucose FontColor "229,172,64"][!Redraw] ; ***Change BG Color to Colorful-Gradient @100 IfCondition3=MeasureGlucose = 100 IfTrueAction3=[!SetOption meterGlucose InlineSetting "GradientColor | 180 | 255,0,0,255 ; 0.0 | 0,255,0,255 ; 0.5 | 0,0,255,255 ; 1.0"][!Redraw]
I'm thinking it may trigger those changes when your delta gets updated. Another way for testing is to define a variable for MeasureGlucose and set it up as a reading (allow the rest of the code to pull the delta and trend arrows). Also, I just noticed this and I'm not sure if it is accurate but there is a case error with MeterGlucose - I have it with an uppercase M and a lowercase m and I'm not sure if that could potentially cause an issue with it too - so you may update those to match what the actual meter is.

@MrJordanRoth : That's a good explanation - of course the 1min Refresh functionality avoids this issue...
Feedback to your proposal:

That's exactly what I already tried: Adding "!Redraw", adding "DynamicVariables=1" and even adding IfFalseAction with "back to white color" after all 3 conditions.
Maybe I made a mistake or have not changed those options 100% systematically (maybe two together) but for sure none of them solved this issue
Honestly, I'm surprised that such a "simple" task with 3 conditions is so complicated to implement with the desired functionality

I guess we have to continue to experiment but this is not fun... :-0. I will try out your concrete proposal and let you know... Also thinking about asking the Rainmeter cracks @forum.rainmeter.net ... :-)

It wouldn't hurt to ask the question there, my guess it has something to do with thr refresh but nothing is jumping out at me.

@MrJordanRoth : I have found a working solution. Argh, this was a freaking odyssey! Rainmeter scripts really are a different world, this is not a programming language but, well, something special.
[MeasureGlucose]
Measure=WebParser
URL=[MeasureSite]
StringIndex=2
; ***Change BG Color to Red
IfCondition=MeasureGlucose < #LowGlucoseAlert#
IfTrueAction=[!SetOption meterGlucose FontColor 255,0,0]
; ***Change BG Color to Orange
IfCondition2=MeasureGlucose > #HighGlucoseAlert#
IfTrueAction2=[!SetOption meterGlucose FontColor 229,172,64]
; ***Change BG Color to Colorful-Gradient @100
IfCondition3=MeasureGlucose = 100
IfTrueAction3=[!SetOption meterGlucose InlineSetting "GradientColor | 180 | 255,0,0,255 ; 0.0 | 0,255,0,255 ; 0.5 | 0,0,255,255 ; 1.0"]
; ***Change BG Color to White if "in-range" AND not @100
IfCondition4=((MeasureGlucose >= #LowGlucoseAlert#) && (MeasureGlucose <= #HighGlucoseAlert#)) && (MeasureGlucose <> 100)
IfTrueAction4=[!SetOption meterGlucose FontColor 250,250,250]
OnUpdateAction=[!UpdateMeter meterGlucose][!Redraw]
; Added OnUpdateAction to make sure the "red" condition get's reverted, this remained red (orange back to white worked without!)
; Added Condition4 to set color to White if "in-range", now we have 4 explicit conditions for all cases and no need for IfFalseAction, and THIS works!

Issue closed.
Why I'm so sure? I simply changed the variables "low/highglucosealert" to around my current BG level and thus was able to test the problematic range changes from "red to white" and "orange to white". Finally I changed to "100" in the code to my current bg value => got the rainbow color and waited till the next reading => WHITE.
 Finally :-P


bug: cannot get domain of URI missing protocol

> URI('portquiz.net:8').domain()
< ""

host() and port()also don't work.

> URI.parse('portquiz.net:8')
< Object {protocol: "portquiz.net", urn: true, path: "8"}

yes, that's known behavior - not a bug. see #232 or #187 for details.

This seems like an unintuitive result for a very common scenario.
Maybe have URI() and URI.parse() ignore the literal spec, and introduce a new function URI.strictParse() which follows it?  Having every user write a preprocessing method is a bit wasteful.

This seems like an unintuitive result for a very common scenario.

I don't disagree, judging by the number of people who got stumped by this so far.

Maybe have URI() and URI.parse() ignore the literal spec, and introduce a new function URI.strictParse() which follows it? Having every user write a preprocessing method is a bit wasteful.

Since the developer likely knows what data they're dealing with, they could go with URI.parseAsHttp(input) instead of URI(input) to state their expectation of working with an HTTP/S URL. We're certainly not changing the way URI works right now, but we can easily add this feature in a non-breaking way. Should we start by bikeshedding the API? Do you want to implement this and send a PR after discussions?
Here are a few quick thoughts

URI.parseAsHttp(input) with leads to a number of new functions if we were to add support for more protocols
because of the existing signature of URI.parse(inputString, outputMap), we can't easily add an options object as another argument. I'm not sure I like URI.parse({uri: inputString, option1: true}, outputMap) to get around that
since URI.parse is an internal method and the proposed new function an external method (i.e. it is not ever used internally, only called by the developer to initiate working with URI), we could go with URI.parseWithDefault(inputString, optionsMap). This way optionsMap could contain defaults for all the components, not only the protocol. This looks dangerously close to URI(inputString, relativeBase), though.

Maybe something like this:
> URI.parse('portquiz.net:8').withDefaults({protocol: 'http'})
< Object {protocol: "http", domain: "portquiz.net", port: "8"}

where withDefaults returns a new URI object?

URI.parse('portquiz.net:8').withDefaults({protocol: 'http'})

that's not going to work (easily) because at the point withDefaults() is evaluated, the "wrong interpretation" of your input string has already happened.

Sure, but we should be able to toString the URI object to get back the original string, and re-parse from there.

Sure, but we should be able to toString the URI object to get back the original string, and re-parse from there with the defaults.

why knowingly parse the string twice? unless you expect .withDefaults() to not engage very often (which is an assumption I'm not ready to share).

Doesn't seem too expensive to do so, and makes the API clean.
Alternatively, you could flip the order to only parse once:
URI.withDefaults({protocol: 'http'}).parse('portquiz.net:8')
which is also pretty clean.

Mind re-opening this issue to get more pairs of eyes reviewing any proposals?

Why do you consider URI.withDefaults({protocol: 'http'}).parse('portquiz.net:8') better than URI.parseWithDefaults('portquiz.net:8', {protocol: 'http'})?

I'm partial to the builder pattern for flexibility/future-proofing and readability.
A lot of good discussion here which I'd do a disservice if I were to try to summarize.

In that case I'd prefer to go the functional programming route:
URI.withDefaults({ protocol: 'http' })('portquiz.net:8');

var httpUri = URI.withDefaults({ protocol: 'http' });
[ 'portquiz.net:8' ].map(httpUri);

This would allow the API user to do the work only once.
Now the next question (less question, more obstacle) is if the defaults transcend the URI.parse() method, so that the following behaves the same way:
var uri = URI.withDefaults({ protocol: 'http' })('portquiz.net:8');
uri.href('portquiz.net:9')

I guess URI.withDefaults() would work like a factory, bootstrapping the URI "class" so that any instance of that customized URI behaves consistently. We've dealt with this in an ugly and global way in the past, as URI.escapeQuerySpace can attest.

Sure, that sounds really reasonable.

I'm running into this as well. I want to parse a list of URLs that may or may not contain protocols, it may even just be a path.
i.e.:
['http://hostname:port/path?query', 'hostname:port', '/path']
Based on: https://medialize.github.io/URI.js/about-uris.html
It would think we could even have a flag that will ensure we always parse a URL instead of a URN?
Or simply URI.parseURL(string)

I'd love to see this implemented.

I've implemented a possible solution using @MichielVanderlee 's suggestion.
https://github.com/medialize/URI.js/pull/374
This allows me to now do let uri = new URI(URI.toUri('somesite.com', {scheme: 'http'}));
after which, uri.domain() will return the expected somesite.com
We'll see if it's worthy of being pulled in, but for now, it's working for my needs.


Define return types for certain MarketPlaceService methods

I named it SubscriptionProductInfoAsync because there is already SubscriptionProductInfo

SubscriptionProductInfoAsync changed into SubscriptionInfo


observeHistory only working once & observeSteps is not working

Hello
observeHistory is only working once and when the device move it dose not update.
observeSteps is not working at all ??!
although getDailyStepCountSamples is working fine?
any help please?

@imspikey could you please share some code and more details?

   I am using react native 4.9 and samsung s7 api 24
  here is the code.

   import React, { Component } from 'react'
   import Styles from './styles'
   import GoogleFit from 'react-native-google-fit'
   import Reactotron from 'reactotron-react-native'
   import  jsonFormat from 'json-format'

  import {
View,
Text,
 } from 'react-native'

 class Walking extends Component {

timer:number = 0;

constructor(props)
{
	super(props);

        GoogleFit.authorize((err, result) => {
        if(err) {

	alert('olla')
        }
        else {

            GoogleFit.observeHistory((steps)=>{
                Reactotron.log(steps)
            });

            const options = {
                startDate: "2017-01-01T00:00:17.971Z",  // required ISO8601Timestamp
                endDate: (new Date()).toISOString()     // required ISO8601Timestamp
            };

            GoogleFit.getDailyStepCountSamples(options, (err, res) => {
                if (err) {
                    throw err;
                }
                Reactotron.log(steps)

            })
		}

    });

    this.state ={
    	steps:0
	}

}

render() {

	return (
		<View style={Styles.container}>
			<Text>{this.state.steps+""}</Text>
		</View>
	)
}

}
export default Walking

@imspikey hey! COuld you please try new recording API?

Thank you the problem is resolved 👍


Fixed hellow typo

For the Committer

[ ] I made sure that the site looks great and functions perfectly live
[ ] I ran splell check
[ ] I'm ready for these changes to be made live

For the Reviewer
General Review

[ ] All changes/updates requested were intentionally changed or added (no extraneous file or partial updates)
[ ] The live rendered page behaves and looks like intended.
[ ] All links work as intended. (click every link to make sure that it takes the user to the expected place).
[ ] The markdown was rendered to HTML as intended. (Tables look right, code samples are gated properly).
[ ] Any style or CSS changes are tested on multiple different pages to ensure nothing unexpected broke or changed.
[ ] I proof-read the live site (gitbook serve) and there are no oblivious splelling or grammer misteaks.

Gitbook Specific

[ ] Any new documentation pages have been added to the SUMMARY.md file so they are rendered to HTML.
[ ] Any links to other pages within this documentation use relative links ([read more about ...](guides/voice/voicemail.md)).
[ ] Gitbook can install and build the documentation (gitbook install & gitbook build)

Code Specific

[ ] All code has been tested against the live API.
[ ] All code can be run without throwing errors or new warnings.
[ ] All code is formatted correctly and consistently (spaces, tabs).
[ ] All code is legible and idiomatic to the language.
[ ] All code uses sensical method, function, and variable names.
[ ] All code samples use the appropriate syntax highlighting.
[ ] Any examples re-use same phone numbers, uuids, variable names, etc... throughout (IE don't have something like {from: '+19191231234', to: '+19191231234'} unless it's meant to show the same phone number calling/texting itself ).

TL;DR

[ ] I did these things
[ ] I'm ready for these changes to be made live

 Usabilla Feedback Item - There's a w at the end of hello in this bit of code - remove it

Preview Changes at:
http://bw-apdocs-fix-hellow-typo.s3-website-us-east-1.amazonaws.com/


Information needs update urgently

Please update the information in this article:

The NuGet is not more "Microsoft.Azure.CognitiveServices.SpellCheck" but "Microsoft.Azure.CognitiveServices.Language.SpellCheck"
The Client class is not anymore "SpellCheckAPI" but "SpellCheckClient"
The method "SpellCheckerAsync" requires a parameter "Text"
The given example doesn't work

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

ID: e6793619-efc3-eb91-793c-b5d38369a5a1
Version Independent ID: 388a2155-2661-bed0-bffc-416eb290ebd8
Content: Quickstart: Bing Spell Check SDK, C#
Content Source: articles/cognitive-services/Bing-Spell-Check/sdk-quickstart-spell-check.md
Service: cognitive-services
GitHub Login: @MikeDodaro
Microsoft Alias: v-gedod

@gavdgavd Thanks for your valuable feedback. I assigned this issue to the content author to evaluate and update as appropriate.

@brlewi  Ok, I'm paying attention now.  Fixed in PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/58481 .  It should publish tomorrow.  Thanks for the catch!

@gavdgavd We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Fixed and published: https://docs.microsoft.com/en-us/azure/cognitive-services/bing-spell-check/sdk-quickstart-spell-check

@gavdgavd  The code works fine here.

Hi Mike. I didn't say that it is getting an error, I said that it doesn't work. If you set a breakpoint in the line "var result = client.SpellCheckerWithHttpMessagesAsync(..." and review the value of the "result" variable, you will see that "result.Body.FlaggedTokens" is equal to zero and that the Response object is giving StatusCode = OK. That means that the text "Bill Gatas" is recognized as having no faults (I think Bill will be not really charmed with this). You can set any text you want, correct or incorrect, and the result is always the same. Thus, obviously, the example is not working...
Hint: if you use "spell" in the property "mode" of "SpellCheckerWithHttpMessagesAsync", everything works as expected, and the spell checker catch the errors in "text".
 It seems that the function is programmed in a terrible way, and the test routines, if any, are worse than that (probably the developer needs to review the Wikipedia to know what "unit testing" is).
By the way two: In the source code of the example, "Complete console application" section, the using class must be "Microsoft.Azure.CognitiveServices.Language.SpellCheck" and not "Microsoft.Azure.CognitiveServices.SpellCheck" as I told you in the first entry of this threat.

Correction for Query# "bill gatas"
SpellCheck Results#1
First SpellCheck Result token: Gatas
First SpellCheck Result Type: UnknownToken
First SpellCheck Result Suggestion Count: 1
First SpellCheck Suggestion Score: 0.884978931498889
First SpellCheck Suggestion : Gates
Correction for Query# "empty text field"
Any key to exit...

Above is the  output of my code.  Are you using the example documented here? https://docs.microsoft.com/en-us/azure/cognitive-services/bing-spell-check/sdk-quickstart-spell-check

Correction for Query# "bill gatas"
Didn't see any SpellCheck results..
Correction for Query# "empty text field"
Any key to exit...
And yes, I am using the example in these document. Send me by Email your Email address and I will send you the source code that I am using (copy and past from the example in the document)

Gustavo, you were correct at the start of this issue, and I made some changes from your suggestions.  The code has changed.  Please recopy the code from the page as it shows now, and run the code again.

Hi Mike. I just did it a half hour ago. I made a new Visual Studio project and copy/paste your last version. Again, send me a personal Email and I will replay with the complete VS project: you can control it for your self. I can give you also access to the Virtual Machine where the code is running, if necessary.

This is not my job, Gustavo.  I write documentation.  I'm not tech support.

It is also not my job to correct Microsoft errors, but I do it in any way. Please send the issue to somebody from tech support.

@Alberto-Vega-MSFT  Do you have any suggestions where @gavdgavd can get some help?

@gavdgavd Hi, we'd like to work with you further on this issue. Can you please email us at<EMAIL_ADDRESS>Please provide us with your subscription ID and the URL for this thread. We will provide tech support. Thanks.
@MikeDodaro Thanks for your help.


Status bar items from plugins can't be ordered.

Define way to specify status priority to use for ordering statuses properly.

I would like some input on this. I'm willing to refactor the status bar API completely, since it is limited. Later I would like to add color support and other fancy things.
@twolfson @abl and all others: How do you think modules could define their position in status bars? I was thinking of an index based approach where lower indices are further on the left, and higher indices further to the right. I think the Suplemon Editor vX.X.X could have an index of 0 and the max recommended index could be 100. This way one could specify priority (and even insert something before the app name: index < 0 or after everything else: index > 100). It would also be smart to define a guideline on how to choose an index for specific types of status info.
Any suggestions?

The simplest solution (which is what Sublime does) would be to use alphabetical sorting based on the key used. It would prevent needing to promote items to dict's and keep things baked in. If someone needs front priority, then they can use 000_my_key. If they need last priority, then they can use zzz_my_key.


Pydantic "exclude_unset" dict option doesn't work on experimental strawberry type

When creating a Pydantic model you can create an instance of it without Optional arguments, and when exporting as a dictionary you can pass 'exclude_unset' to exclude optional fields from the return dict. https://pydantic-docs.helpmanual.io/usage/exporting_models/
In [1]: from pydantic import BaseModel

In [2]: from typing import Optional
    class User(BaseModel):
        id: int
        name: str
        surname: Optional[str]

In [3]: user = User(id=1, name="Test")
In [4]: user.dict(exclude_unset=True)
Out[4]: {'id': 1, 'name': 'Test'}

Feature Request Type

[ ] Core functionality
[x] Alteration (enhancement/optimization) of existing feature(s)
[x] New behavior

Description
After creating a strawberry.experimental.pydantic.type which uses a pydantic model, you should be able to convert an instance of that type to_pydantic and export a dict the same way with 'exclude_unset' and return all fields that haven't been set but it returns all fields instead.
Example:
import strawberry
from typing import Optional
from pydantic import BaseModel

class User(BaseModel):
    id: int
    name: str
    surname: Optional[str]

@strawberry.experimental.pydantic.type(model=User, all_fields=True)
class UserType:
    pass

In [2]: user = UserType(id=1, name="Test")

Actual output:
In [3]: user.to_pydantic().dict(exclude_unset=True)
Out[3]: {'id': 1, 'name': 'Test', 'surname': None}

Expected output:
In [3]: user.to_pydantic().dict(exclude_unset=True)
Out[3]: {'id': 1, 'name': 'Test'}

@TheJanitor213
I'll try to fix this issue. It seems that something is missing in the attribute during to_pydantic.
Could you assign an issue to me?

@TheJanitor213
Hello, Janitor.
In the case of Usertype, after executing the to_pydantic() the __fields_set__ attribute is different from User.
In UserType, it is confirmed that the default value of surname is set. I will explore it a little more and let you know.
FYI
print(user.__fields_set__)
{'id', 'name'}
print(usertype.to_pydantic().__fields_set__)
{'id', 'name', 'surname'} # Maybe this is problem.


entered unreachable code in src/proto/conn.rs

Using Hyper 0.11.7, I sometimes get the following error:
panicked at 'internal error: entered unreachable code', src/proto/conn.rs:387:17

That line is now here.

Thanks for the report, I believe I see what is happening. I'll have a fix shipped in 0.11.8.


Update settings UI to configure default model for the current account OR application (require clarification from Product or Design)

Hello @taylorsperry, we are going to make it as application default (it should be a way simpler solution)

Sorry, this is probably a dumb question, but does "application default" mean that a user is setting a default LLM for their IDE as opposed to a default for their account? What difference does it make to the user? Even a user who has two accounts (one Pro, one Enterprise, for example) will only be able to change the LLM for their Pro account, since LLM selection for enterprise users is set by the admin.

@taylorsperry, in short - we can have application persistence and project persistence. Application persistence works across all project opened by the given IDE. Project persistence works only for specific projects.
For the the behaviour is the the model is persisted for a project session. That means if I change to GPT 3.5 and open a new chat, the new chat will have GPT 3.5 set (but a user is able to change it before entering the first prompt). If a user closes the IDE and reopens the project then the dropdown will present the default option (which is Claude 2.0).
Pls, let me know if that's enough for now and if we can close this one.


43.login to profile functionality

Description:

Implemented Login Functionality (Login with email and password)
Implemented Create Account Functionality (Create account with username, email and password)
Save the user's email and username in Firestore under Users collection
Verify unique username with Firestore Users collection
Redirect user to MyVibesActivity if they are logged in

Closes #43
Proof of Concept

Checklist

[x] Follows style guidelines and is properly commented
[x] Code changes generate no new warnings
[ ] Testing (Unit and/or Intent)
[x] Documentation (UML, Wiki, etc.)

Looks really good! 💯 Especially the comments 🥇
BUT that being said, this is going to be annoying, but will help in the long run: please refactor any "user" related information and put them into a model "User" class - like how we have a "Vibe" to be a container for an emoticon and color, I believe a User class should contain the username, email, and probably like a list of Vibe Events (not entirely sure on that). Probably best to look @ how Pranav did the UML. Once that is done, me or @TheBroMoe can write Unit Tests for this User class.
Also I do think once all appropriate changes are made, we will need to hand-off this issue to @gatilogo to fix the XML

Should this be a new issue or refactor this now?

Looks really good! 💯 Especially the comments 🥇
BUT that being said, this is going to be annoying, but will help in the long run: please refactor any "user" related information and put them into a model "User" class - like how we have a "Vibe" to be a container for an emoticon and color, I believe a User class should contain the username, email, and probably like a list of Vibe Events (not entirely sure on that). Probably best to look @ how Pranav did the UML. Once that is done, me or @TheBroMoe can write Unit Tests for this User class.
Also I do think once all appropriate changes are made, we will need to hand-off this issue to @gatilogo to fix the XML

Should this be a new issue or refactor this now?

I think better now because it might get worse if we keep putting it off lol kind of like how we are now stuck with a big refactoring issue

Looks really good! 💯 Especially the comments 🥇
BUT that being said, this is going to be annoying, but will help in the long run: please refactor any "user" related information and put them into a model "User" class - like how we have a "Vibe" to be a container for an emoticon and color, I believe a User class should contain the username, email, and probably like a list of Vibe Events (not entirely sure on that). Probably best to look @ how Pranav did the UML. Once that is done, me or @TheBroMoe can write Unit Tests for this User class.
Also I do think once all appropriate changes are made, we will need to hand-off this issue to @gatilogo to fix the XML

Should this be a new issue or refactor this now?

I think better now because it might get worse if we keep putting it off lol kind of like how we are now stuck with a big refactoring issue

@raysarinas please review these changes thanks!

sensing some attitude but yes I approve I guess 👍
I'll write some unit tests and then we can merge

Tests looks good. Github won't let me confirm the review


CSS comma seems to be broken

.foo, .bar {
    color: red;
}

This doesn't color .foo or .bar red, at least in my testing.

I dug into this a bit and it's because of the way I implemented rule matching. If one of the selectors doesn't match then it skips the rule. A quick fix for this, which I'll implement, is to split comma separated selectors into their own rules with duplicate property declarations. The long term fix though is a re-write of the parsing and styling systems, which can probably wait till after first release.


Get all symbols: all symbols in SynPat.Or patterns considered bindings

Consider following code:
match 123 with
| x
| x -> ()

GetAllUsesOfAllSymbolsInFile returns following symbols:

Ranges of x symbols uses are (2,2-2,3) and (3,2-3,3) respectively.
Both x uses considered bindings and both items claim their declaration range is (2,2-2,3) which doesn't look right for the second one. I suppose the second use should be ItemOccurence.Use instead.

@auduchinok I think it should be a single symbol which has two (or more) declaration ranges, so the both symbol uses should be bindings.

Tricky - we don't really want to have multiple declaration ranges for symbols.  I think this would be the right approach:

I suppose the second use should be ItemOccurence.Use instead.


Replaced mnemonic with private key in eth import command

From issue raised in channel:
gorc/steward import key commands are different in that gorc takes the key string while steward takes a mnemonic. Chorus recovers the keys to an ethereal keystore directory at startup for security purposes so they need to be able to load the key.

Commenting here to repeat discussion from other channels, but rather than replacing the ability to import from a mnemonic, we should probably support both.

done

Was reminded of this issue talking with Chorus One today @hannydevelop, let me know when you've had time to respond to the PR feedback here.

Closing because of staleness


Fix copy operators through a MPI wrapper

Alternative to #369. Fixes #368.

One thing that I have not considered in suggesting this approach is the cost MPI_Comm_dup. I could not find any concrete information on it, but from my memory it's non-trivial. If it is indeed the case, this approach may incur some penalty for every copy.

Of course. I wouldn't consider copies to be cheap and don't expect users to copy these objects frequently. In particular, I expect DistributedSeachTree::query to be much more expensive.

I have trouble finding the concrete details, but I think MPI_Comm_dup is a collective call. So, this patch will newly require that if one process copies the distributed tree, all of them do. This is in addition to acting as a barrier.

For me, the edge goes to merging #369 over this one. Not because it is necessarily better, but because I fully understand how it works and what restrictions it has. With this PR, I don't feel like I understand the situation fully, or identify all the possible interactions.

Let's just go with #369.


Released Ruby gem is missing LICENSE file.

I am working on updating a few packages in the Ruby cucumber stack in Fedora and I noticed the license file is missing from this library now, that wasn't the case with v14.
From what I understand the file should be present in the released gem as it's a copy of the software.
Not 100% sure how a proper fix should look like.
AFAICT, to build and then unpack/install the gem properly, the license has to be either on the same level with the .gemspec file in the Ruby gem or some level below. A file cannot be referenced a level up from gemspec, so doing something like s.files << "../LICENSE" is not going to work for unpacking the gem. Perhaps a Rakefile target that copies the LICENSE first and then builds the gem so that something like s.files << "./LICENSE" would then be OK.

We probably have this problem in quite a few projects then.

That would be correct observation, Probably also accross languages with $LIBRARY_MANAGER (npm, rubygems, ...). https://github.com/cucumber/messages also has the same problem.
BTW the section of the MIT license: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. is an easy downstream fix of just pulling the file, but it is a fix I'd prefer not to do in the first place.

@luke-hill anyway we can have a single licence file with Ruby?

To fix:
V cucumber/testng-xml-formatter/LICENSE
X cucumber/testng-xml-formatter/java/LICENSE - not found
V cucumber/junit-xml-formatter/LICENSE
X cucumber/junit-xml-formatter/java/LICENSE - not found
V cucumber/gherkin-utils/LICENSE
X cucumber/gherkin-utils/java/LICENSE - not found
X cucumber/gherkin-utils/javascript/LICENSE - not found
X cucumber/query/LICENSE - differs
1c1
< MIT License
---
> The MIT License (MIT)

X cucumber/query/java/LICENSE - not found
X cucumber/query/javascript/LICENSE - not found
V cucumber/ci-environment/LICENSE
X cucumber/ci-environment/go/LICENSE - not found
X cucumber/ci-environment/java/LICENSE - not found
X cucumber/ci-environment/javascript/LICENSE - not found
X cucumber/ci-environment/python/LICENSE - not found
X cucumber/ci-environment/ruby/LICENSE - not found
V cucumber/tag-expressions/LICENSE
X cucumber/tag-expressions/go/LICENSE - not found
X cucumber/tag-expressions/java/LICENSE - not found
X cucumber/tag-expressions/javascript/LICENSE - not found
X cucumber/tag-expressions/perl/LICENSE - not found
X cucumber/tag-expressions/python/LICENSE - not found
X cucumber/tag-expressions/ruby/LICENSE - not found
V cucumber/cucumber-expressions/LICENSE
X cucumber/cucumber-expressions/dotnet/LICENSE - not found
X cucumber/cucumber-expressions/go/LICENSE - not found
X cucumber/cucumber-expressions/java/LICENSE - not found
X cucumber/cucumber-expressions/javascript/LICENSE - not found
X cucumber/cucumber-expressions/python/LICENSE - not found
X cucumber/cucumber-expressions/ruby/LICENSE - not found
X cucumber/cucumber-json-converter/LICENSE - differs
1c1
< MIT License
---
> The MIT License (MIT)

V cucumber/cucumber-parent/LICENSE
V cucumber/cucumber-ruby/LICENSE
V cucumber/aruba/LICENSE
V cucumber/gherkin/LICENSE
X cucumber/gherkin/c/LICENSE - not found
X cucumber/gherkin/cpp/LICENSE - not found
X cucumber/gherkin/dart/LICENSE - not found
X cucumber/gherkin/dotnet/LICENSE - not found
X cucumber/gherkin/elixir/LICENSE - not found
X cucumber/gherkin/go/LICENSE - not found
X cucumber/gherkin/java/LICENSE - not found
X cucumber/gherkin/javascript/LICENSE - not found
X cucumber/gherkin/objective-c/LICENSE - not found
X cucumber/gherkin/perl/LICENSE - not found
X cucumber/gherkin/php/LICENSE - not found
X cucumber/gherkin/python/LICENSE - not found
X cucumber/gherkin/ruby/LICENSE - not found
V cucumber/messages/LICENSE
X cucumber/messages/cpp/LICENSE - not found
X cucumber/messages/dotnet/LICENSE - not found
X cucumber/messages/elixir/LICENSE - not found
X cucumber/messages/go/LICENSE - not found
X cucumber/messages/java/LICENSE - not found
X cucumber/messages/javascript/LICENSE - not found
X cucumber/messages/perl/LICENSE - not found
X cucumber/messages/php/LICENSE - not found
X cucumber/messages/ruby/LICENSE - not found
V cucumber/html-formatter/LICENSE
X cucumber/html-formatter/java/LICENSE - not found
X cucumber/html-formatter/javascript/LICENSE - not found
X cucumber/html-formatter/ruby/LICENSE - not found
V cucumber/cucumber-jvm/LICENSE
V cucumber/compatibility-kit/LICENSE
X cucumber/compatibility-kit/javascript/LICENSE - not found
X cucumber/compatibility-kit/ruby/LICENSE - not found
V cucumber/cucumber-json-schema/LICENSE
V cucumber/cucumber-rails/LICENSE
V cucumber/cucumber-ruby-wire/LICENSE

Fixed and files now present in v18 of gem


feature: about page side box

generalized

this is pretty much achieved in the new feature includes
https://github.com/CollectionBuilder/collectionbuilder-gh/tree/master/_includes/feature


Code example in the documentation does not work as expected

The example from the documentation on https://flatdict.readthedocs.io/en/stable/ does not work for me.
Setup:
(testenv) $ python
Python 3.7.4 (default, Jul 11 2019, 01:08:00)
[Clang 10.0.1 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import flatdict

This one works:

For example:
foo = {'foo': {'bar': 'baz', 'qux': 'corge'}}
is represented as:
{'foo:bar': 'baz',
'foo:qux': 'corge'}

>>> foo = {'foo': {'bar': 'baz', 'qux': 'corge'}}
>>> flatdict.FlatDict(foo)
<FlatDict id=4354298064 {'foo:bar': 'baz', 'foo:qux': 'corge'}>"

But his one does not work:

Additionally, lists and tuples are also converted into dicts using enumerate().
For example:
d = {'list': ['a', 'b', 'c',]}
Will be flattened as follows:
flat = {'list:0': 'a', 'list:1': 'b', 'list:2': 'c'}

>>> d = {'list': ['a', 'b', 'c',]}
>>> flatdict.FlatDict(d)
<FlatDict id=4354748368 {'list': ['a', 'b', 'c']}>"```

Am I correct to assume that flattening does not work for the lists on the first level? Or does the example assume using of FlatterDict here?

Thanks, will update, that's in the FlatterDict class.


[FEAT]: Add jupyter notebook demo

Description
We need to add a jupyter notebook demo to basically show how the finetuned model is used for inference.
Additional Information
No response

I think so

@Kirito-Ausna Thanks for pointing this out. We are working on that.


my assingments just say opening but wont open

Type: Performance Issue
hello goodeveninng my assingment from github has been trying to open already for 2 days and i really need it to work i have restarted my computer 4 times i have quit the app 3 times and i have delted the system and redownload it.
VS Code version: Code 1.81.1 (Universal) (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:20:33.924Z)
OS version: Darwin arm64 22.6.0
Modes:

System Info

Item
Value

CPUs
Apple M2 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
2, 2, 2

Memory (System)
8.00GB (0.04GB free)

Process Argv
--crash-reporter-id 61d722fb-b416-401e-a125-8a57eadf6f4d

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   21	   139	  2403	code main
    4	    66	  2406	   gpu-process
    0	    33	  2408	   utility-network-service
    0	    90	  2413	shared-process
    0	     0	  2607	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    41	  2470	ptyHost
    1	   279	  2486	window [2] (Preview README.md — ctis-210-lab-2-wilmerk234)
    0	    49	  2532	fileWatcher [2]
    0	   164	  2533	extensionHost [2]
    0	   205	  2561	     /Users/wilmeracevedoquezada/.vscode/extensions/redhat.java-1.21.0-darwin-arm64/jre/17.0.7-macosx-aarch64/bin/java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -javaagent:/Users/wilmeracevedoquezada/.vscode/extensions/redhat.java-1.21.0-darwin-arm64/lombok/lombok-1.18.28.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/wilmeracevedoquezada/Library/Application Support/Code/User/workspaceStorage/df0f8f4d5294c48dad530713e11f959a/redhat.java -Daether.dependencyCollector.impl=bf -jar /Users/wilmeracevedoquezada/.vscode/extensions/redhat.java-1.21.0-darwin-arm64/server/plugins/org.eclipse.equinox.launcher_1.6.500.v20230717-2134.jar -configuration /Users/wilmeracevedoquezada/Library/Application Support/Code/User/globalStorage/redhat.java/1.21.0/config_mac -data /Users/wilmeracevedoquezada/Library/Application Support/Code/User/workspaceStorage/df0f8f4d5294c48dad530713e11f959a/redhat.java/jdt_ws
    0	    49	  2569	     electron-nodejs (/private/var/folders/q2/sg9ds1jj4g5fcw5x9hql3r980000gn/T/AppTranslocation/FCE272B3-2E7F-473A-B038-509326D45CBC/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /private/var/folders/q2/sg9ds1jj4g5fcw5x9hql3r980000gn/T/AppTranslocation/FCE272B3-2E7F-473A-B038-509326D45CBC/d/Visual Studio Code.app/Contents/Resources/app/extensions/markdown-language-features/server/dist/node/workerMain --node-ipc --clientProcessId=2533)
    0	    98	  2570	   window
    4	    98	  2601	window [3] (Issue Reporter)

Workspace Info
|  Window (Preview README.md — ctis-210-lab-2-wilmerk234)
|    Folder (ctis-210-lab-2-wilmerk234): 21 files
|      File types: DS_Store(2) keep(1) json(1) md(1) xml(1) java(1) class(1)
|      Conf files: settings.json(1);

Extensions (12)

Extension
Author (truncated)
Version

classroom
git
0.0.3

codespaces
Git
1.15.1

vscode-pull-request-github
Git
0.70.0

vsliveshare
ms-
1.0.5883

java
red
1.21.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.54.0

vscode-java-dependency
vsc
0.23.1

vscode-java-pack
vsc
0.25.13

vscode-java-test
vsc
0.39.1

vscode-maven
vsc
0.42.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30792226
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
2e4cg342:30602488
f6dab269:30613381
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv1:30821571
dsvsc015:30829745

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.82.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

hello  i have update viscode to the new verison 1.82 universal and it still doing the same problem of leaving it opening and not opening.

Could you please detail the steps you are taking to open your assignment? That would help us understand your issue better. Thanks

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Tab groups

Hello,
In my practice I often open many tabs some for one task, some for other, and it's hard to work like this.
In MS Edge browser we have great feature, which allows us to save group of tabs and reopen when needed.
It would be great to have such a feature in VS Code.

An extension could probably implement a version of this

The Restore Editors extension can "kind of" do this (with insane hacks), but without real support for a "tabs" api this really can't be done in an extension today.
Re: https://github.com/Microsoft/vscode/issues/15178

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!


Add packages from List-of-popular-open-source-Fortran-projects

Go over:
https://github.com/fortran-lang/stdlib/wiki/List-of-popular-open-source-Fortran-projects
and add the rest of the packages.

[x] OpenBLAS
[x] fortran-machine
[x] LAPACK
[x] ElmerFEM
[x] WRF
[x] fds
[x] functional-fortran
[x] Quantum ESPRESSO
[x] fluidity
[x] fortranlib
[x] json-fortran
[x] Nek5000
[x] cp2k
[x] fortran2018-examples
[x] NASTRAN-95
[ ] specfem3d
[ ] NWChem
[x] gtk-fortran
[ ] CFL3D
[x] fortran-utils
[x] SHTOOLS
[x] OpenCoarrays
[x] arpack-ng
[ ] DFTB+
[ ] NASTRAN-93
[ ] MPAS
[x] neural-fortran
[x] NetCDF-Fortran
[ ] CTSM
[x] Castro
[x] ABINIT
[x] FLAP
[x] bspline-fortran
[x] FOODIE
[x] forpy
[x] OFF
[ ] WAVEWATCH III
[ ] MOM6
[x] VTKFortran
[x] datetime-fortran
[ ] node-fortran
[ ] Fortran-Astrodynamics-Toolkit
[x] pyplot-fortran
[ ] Starlink
[ ] WPS
[x] ogpf
[x] pFUnit
[x] tcp-client-server
[x] ftl
[x] fgsl
[ ] OpenCMISS
[x] StringiFor
[ ] wrf_hydro_nwm_public
[x] SciFortran
[ ] bandup
[x] LaGriT
[x] stdlib
[x] clfortran
[x] fox
[ ] HANDE-QMC
[x] FEconv
[ ] lesgo
[x] FortranPatterns
[ ] FV3-GFS
[x] coretran
[ ] tsunami
[x] fdict
[ ] CFD
[ ] ICAR
[ ] MODFLOW6
[ ] PIC Skeleton Codes
[ ] IAMR
[ ] ADflow
[ ] PoisFFT
[ ] sigma
[ ] aenet
[x] DBCSR
[x] GALAHAD
[ ] node.fortran
[x] h5fortran
[x] kdtree2
[x] numerical-methods-fortran
[ ] TRACMASS
[ ] CompDam
[ ] Flexi
[ ] GFR
[ ] OpenSWPC
[ ] ROMS
[x] slsqp
[x] Truchas
[x] fortran-csv-module
[ ] FMS
[ ] SNAP
[x] freeCappuccino

Looks like there are 35 packages left. I had a quick look, but non is really in my field of expertise, so putting together useful tags would be difficult.
I think this could be a good opportunity for contributions, I will tag it with help-wanted to make it more visible.

Thank you @awvwgk for your help with this. For volunteers who submit PRs for the remaining packages, don't be afraid to guess the relevant tags. We will do our best in the PR review. And if the upstream authors of the packages become interested in the future, they can always submit a PR to improve their entry.

I went through all the packages and opened https://github.com/fortran-lang/fortran-lang.org/pull/186 to add them to the package index. I removed projects by strikeout from the above list where I was unable to identify if the project is free open source software, this assessment might be incorrect for some projects (marked with unclear license), so feel free to double check those projects.


Broken links

On https://spring.io/projects/spring-cloud-contract#learn there are some broken links:

4.1.4 links to https://docs.spring.io/spring-cloud-contract/docs/current/reference/html/, but the latest current documentation seems to be https://docs.spring.io/spring-cloud-contract/reference/
4.1.5-SNAPSHOT links to https://docs.spring.io/spring-cloud-contract/docs/4.1.5-SNAPSHOT/reference/html/, which returns 404 Not Found.
4.0.8-SNAPSHOT links to https://docs.spring.io/spring-cloud-contract/docs/4.0.8-SNAPSHOT/reference/html/, which returns 404 Not Found.
4.0.7 links to https://docs.spring.io/spring-cloud-contract/docs/4.0.7/reference/html/, which returns 404 Not Found.
3.0.5-SNAPSHOT links to https://docs.spring.io/spring-cloud-contract/docs/3.0.5-SNAPSHOT/reference/html/, which returns 404 Not Found.
2.2.9.BUILD-SNAPSHOT links to https://docs.spring.io/spring-cloud-contract/docs/2.2.9.BUILD-SNAPSHOT/reference/html/, which returns 404 Not Found.

For 4.1.x, te correct links seems to be https://docs.spring.io/spring-cloud-contract/reference/${version}, because these work:

4.1.4: https://docs.spring.io/spring-cloud-contract/reference/4.1.4
4.1.5-SNAPSHOT: https://docs.spring.io/spring-cloud-contract/reference/4.1.5-SNAPSHOT

I don't know what the correct links are for the older versions.

I fixed the current version and snapshot, @OlgaMaciaszek @marcingrzejszczak will see what they can do about the others.


Unsupported number format

I am trying to import the contents below into the GUI and I'm getting an Error dialog with "Unsupported number format"
Benchmark                   Mode   Cnt    Score    Error   Units
Test.slickDelete           thrpt     2    0.003           ops/ms
Test.slickInsertBatch      thrpt     2    0.040           ops/ms
Test.slickInsertSeparate   thrpt     2    0.023           ops/ms
Test.slickQuery            thrpt     2    0.005           ops/ms
Test.slickUpdate           thrpt     2    0.006           ops/ms
Test.srDelete              thrpt     2    1.069           ops/ms
Test.srInsertBatch         thrpt     2    0.389           ops/ms
Test.srInsertMapper        thrpt     2    0.012           ops/ms
Test.srInsertSeparate      thrpt     2    0.146           ops/ms
Test.srQueryConvert        thrpt     2    0.167           ops/ms
Test.srQueryMap            thrpt     2    0.156           ops/ms
Test.srQueryTo             thrpt     2    0.123           ops/ms
Test.srUpdate              thrpt     2    0.224           ops/ms
Test.slickDelete            avgt     2  212.773            ms/op
Test.slickInsertBatch       avgt     2   25.639            ms/op
Test.slickInsertSeparate    avgt     2   53.300            ms/op
Test.slickQuery             avgt     2  300.195            ms/op
Test.slickUpdate            avgt     2  262.242            ms/op
Test.srDelete               avgt     2    1.093            ms/op
Test.srInsertBatch          avgt     2    3.000            ms/op
Test.srInsertMapper         avgt     2   82.597            ms/op
Test.srInsertSeparate       avgt     2    7.986            ms/op
Test.srQueryConvert         avgt     2    6.729            ms/op
Test.srQueryMap             avgt     2    7.225            ms/op
Test.srQueryTo              avgt     2    7.901            ms/op
Test.srUpdate               avgt     2    5.162            ms/op
Test.slickDelete          sample     8  280.396 ± 83.529   ms/op
Test.slickInsertBatch     sample    78   26.102 ±  1.098   ms/op
Test.slickInsertSeparate  sample    38   54.234 ±  3.824   ms/op
Test.slickQuery           sample     9  272.834 ± 58.646   ms/op
Test.slickUpdate          sample     8  283.836 ± 66.506   ms/op
Test.srDelete             sample  1749    1.142 ±  0.020   ms/op
Test.srInsertBatch        sample   660    3.031 ±  0.055   ms/op
Test.srInsertMapper       sample    26   82.727 ±  1.391   ms/op
Test.srInsertSeparate     sample   250    8.016 ±  0.077   ms/op
Test.srQueryConvert       sample   295    6.792 ±  0.119   ms/op
Test.srQueryMap           sample   281    7.122 ±  0.077   ms/op
Test.srQueryTo            sample   247    8.096 ±  0.088   ms/op
Test.srUpdate             sample   375    5.350 ±  0.192   ms/op
Test.slickDelete              ss     2  249.530            ms/op
Test.slickInsertBatch         ss     2   25.078            ms/op
Test.slickInsertSeparate      ss     2   78.401            ms/op
Test.slickQuery               ss     2  274.850            ms/op
Test.slickUpdate              ss     2  261.700            ms/op
Test.srDelete                 ss     2    3.052            ms/op
Test.srInsertBatch            ss     2    3.093            ms/op
Test.srInsertMapper           ss     2   85.137            ms/op
Test.srInsertSeparate         ss     2    8.081            ms/op
Test.srQueryConvert           ss     2    6.811            ms/op
Test.srQueryMap               ss     2    7.371            ms/op
Test.srQueryTo                ss     2    8.095            ms/op
Test.srUpdate                 ss     2    5.161            ms/op

Hi, it requires an error number but your data doesn't have it for many of the rows. I don't know if such output is standard for JMH or not because I never saw it with 0.9.

I'm using JMH 1.10

Your best option is to add 0 to the rows for now:
Benchmark                   Mode   Cnt    Score    Error   Units
Test.slickDelete           thrpt     2    0.003      0     ops/ms
Test.slickInsertBatch      thrpt     2    0.040      0     ops/ms
...

I can't do much about the situation because I'm occupied with something non-programming related at the moment and it will take at least 2 months until I can come back to the issue.

That did fix the problem.


embassy_sync/pubsub: fix PubSubBehavior visibility

https://github.com/embassy-rs/embassy/pull/2969 appears to have broken direct pubsub method calls on pubsub::PubSubChannel, as it functionally made PubSubBehavior private and didn't delegate methods to the new (private) SealedPubSubBehavior.
As a result of this change, it became impossible to directly call PubSubChannel::publish_immediate(), for instance, though this functionality was still accessible through Publisher (via PubSubChannel::publisher().publish_immediate()).
This change reverts SealedPubSubBehavior and restores PubSubBehavior to pub visibility, and retains the trait seal with a conventional private-module sealing approach.

Doesn't this make all trait methods public again?
Some are valuable sure, but lots are private and should not be touched by users.
The ones that are allowed public are:

publish_immediate
capacity
free_capacity
len
is_empty
is_full

I'd argue though that only publish_immediate, capacity and is_full should really be public. The others are hard to wrap your head around as they might not act like you'd expect if you don't know how the pubsub is implemented.

Ok, I'm on board with that motivation — PR's updated accordingly.


[listContents] Fixed rawurldecode order

Hello. While integrating this plugin with Seafile Webdav I encountered a bug in this line:
$path = rawurldecode($this->removePathPrefix($path));

So removePathPrefix was trying to remove the prefix from /My%20Library/New%20Record%201.mp3 based on the length of /My Library. The result was y/New Record 1.mp3 instead of New Record 1.mp3.
Because the path was decoded too late. Here is the fix covered with unit test.

Released as 1.0.7


[Question]: How to make a dialog swipeable?

What is your question?
I'm trying to make a snackbar with 3 sec auto hide, + I need it to be able to swipe it away at any time. Didn't find a way to do this, please, help.
Code of Conduct

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

What is your question?
I'm trying to make a snackbar with 3 sec auto hide, + I need it to be able to swipe it away at any time. Didn't find a way to do this, please, help.
Code of Conduct

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

Hello @Apollo108.
import 'package:flutter/material.dart';
import 'package:flutter_easy_dialogs/flutter_easy_dialogs.dart';

void main() => runApp(const MainApp());

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      builder: FlutterEasyDialogs.builder(),
      home: Scaffold(
        body: const Center(
          child: Text('Hello World!'),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () => Container(
            color: Colors.red,
            height: 200,
            width: double.infinity,
          )
              .positioned(autoHideDuration: const Duration(seconds: 3))
              .swipe()
              .slideHorizontal()
              .show(),
        ),
      ),
    );
  }
}

Try this

Thanks. But I also need to bind onHide and onShow callbacks, I found it possible via EasyDialogDecoration.builder, but I noticed that onHide doesn't trigger when I'm swiping it out, but the onDismiss does, so, in the end, it's working like this:

Please, correct me, if I'm doing it wrong.

Also I need the onTap callback, but I didn't find it. Can I avoid wrapping it in GestureDetector?)

Also, I noticed strange behavior for top-positioned dialogs - I have to add direction: position == EasyDialogPosition.top ? VerticalSlideDirection.down : VerticalSlideDirection.up, otherwise it will be sliding from the bottom (by default) during the appearance and hiding, and it looks weird. For bottom-positioned - it's fine

Thanks. But I also need to bind onHide and onShow callbacks, I found it possible via EasyDialogDecoration.builder, but I noticed that onHide doesn't trigger when I'm swiping it out, but the onDismiss does, so, in the end, it's working like this:
Please, correct me, if I'm doing it wrong.

You may use onHidden callback that is called when dialog is no longer presented. onHide doesn't fire in your case, because it's being removed via Dismissible which has it's own animation and lifecycle.

Also I need the onTap callback, but I didn't find anything similar. Can I avoid wrapping it in GestureDetector?)

You can add .tap() decoration:
import 'package:flutter/material.dart';
import 'package:flutter_easy_dialogs/flutter_easy_dialogs.dart';

void main() => runApp(const MainApp());

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      builder: FlutterEasyDialogs.builder(),
      home: Scaffold(
        body: const Center(
          child: Text('Hello World!'),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () => Container(
            color: Colors.red,
            height: 200,
            width: double.infinity,
          )
              .positioned(autoHideDuration: const Duration(seconds: 3))
              .swipe()
              .tap(
                onDismissed: () => print('tapped'),
              )
              .slideHorizontal()
              .decorate(
                EasyDialogDecoration.builder(
                  (context, dialog) => dialog.content,
                  onHidden: () {
                    print('');
                  },
                ),
              )
              .show(),
        ),
      ),
    );
  }
}

But it will also trigger dialog hiding, if you only need to recognize tap gestures, consider using GestureDetector on provided widget.

Also, I noticed strange behavior for top-positioned dialogs - I have to add direction: position == EasyDialogPosition.top ? VerticalSlideDirection.down : VerticalSlideDirection.up, otherwise it will be sliding from the bottom (by default) during the appearance and hiding, and it looks weird. For bottom-positioned - it's fine

Also, I noticed strange behavior for top-positioned dialogs - I have to add direction: position == EasyDialogPosition.top ? VerticalSlideDirection.down : VerticalSlideDirection.up, otherwise it will be sliding from the bottom (by default) during the appearance and hiding, and it looks weird. For bottom-positioned - it's fine

You have full control over your dialogs, that's it.
If you want your dialog slide from bot to top or vice versa then you should provide relevant parameters

Thank you for the awesome package and rapid response!

Thank you for the awesome package and rapid response!

You are welcome


”Șovarna” is listed in the drop-down menu

Description:
"Șovarna" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Șovarna" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Șovarna, MEHEDINȚI".


swagger/fix: []string are not enum by swagger definition

[]string are not enum by swagger definition this led the generation of a client to think that repo.code,repo.issues,repo.ext_issues,repo.wiki,repo.pulls,repo.releases,repo.ext_wiki is an array of []string ([][]string).
By definition, enum are one of an array like Permission that can take one value from none,read,write,admin,owner.
This PR change the definition to an example to be able to generate a valid client from the swagger specs.

Codecov Report

Merging #7916 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7916      +/-   ##
==========================================
- Coverage   41.43%   41.42%   -0.01%
==========================================
  Files         478      478
  Lines       63943    63943
==========================================
- Hits        26492    26486       -6
- Misses      34000    34007       +7
+ Partials     3451     3450       -1

Impacted Files
Coverage Δ

models/unit.go
62.16% <0%> (-5.41%)
:arrow_down:

routers/repo/view.go
42.53% <0%> (-1.02%)
:arrow_down:

Continue to review full report at Codecov.

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

Somewhat related (at least for the generate limitation part) : https://github.com/go-swagger/go-swagger/issues/1942

Is it OK that units and permission have different representations?

Yes because permission only take one of the value (enum type) and units is a list (array) of manyof the value wich is not really an enum.

This could maybe improved by defining an Go enum type for units and déclare that units is an array of this Type. I have try but doesn't have anythings fully working and it have a lot of refactor to be done on other parts of code. There also seems to be issue whit that on go-swagger so I used the example fields.


Add CI tests, move to pyproject.toml

This pull request adds a few improvements to JaxMARL
Testing
Now tests are run automatically on all major OSs (Linux, Mac, Windows) for all Python version from 3.8 to 3.12: turns out the library works well even in the most recent Python versions
Moving to pyproject.toml
This is the new standard as specified in PEP 621, so I simply translated the setup.py to this format.

Hey! thanks for this, looks great. We've changed setup.py over the past week so if you could update the PR for those changes I can then merge it in

@amacrutherford done! You may check #48  ^^


Elassandra  - Kibana Issue in creating the index and Visualization

Hi all ,
We tried integrating the Elassandra(2017-05-22 Release <IP_ADDRESS> Elasticsearch 2.4.5 + Cassandra 3.0.13
)with Kibana (4..6.4). But We are struggling to with the following issue.
 og   [10:01:51.003] [info][listening] Server running at http://XXXXXX:5601
  log   [10:01:55.983]<EMAIL_ADDRESS>Status changed from yellow to yellow - No existing Kibana index found
  log   [10:02:00.913]<EMAIL_ADDRESS>Status changed from yellow to green - Kibana index ready
  log   [10:02:00.941]<EMAIL_ADDRESS>Status changed from green to red - [document_already_exists_exception] [config][4.6.4]: document already exists, with: {"shard":"0","index":"kibana"}

health status index        pri rep docs.count docs.deleted store.size pri.store.size
green  open   emp            2   0          0            0       142b           142b
green  open   weatherindex   2   0          0            0       142b           142b
green  open   weatherts1     2   0          0            0       142b           142b
green  open   kibana         2   0          0            0       142b           142b
green  open   weatherts      2   0          0            0       142b           142b

Can any body please help to solve this issue ?

Hi,
Could you try a kibana restart ?
Thanks,
Vincent.

Le 4 juil. 2017 à 12:07, Vishnu Sankar<EMAIL_ADDRESS>a écrit :
Hi all ,
We tried integrating the Elassandra(2017-05-22 Release <IP_ADDRESS> Elasticsearch 2.4.5 + Cassandra 3.0.13
)with Kibana (4..6.4). But We are struggling to with the following issue.
og   [10:01:51.003] [info][listening] Server running at http://<IP_ADDRESS>:5601
log   [10:01:55.983]<EMAIL_ADDRESS>Status changed from yellow to yellow - No existing Kibana index found
log   [10:02:00.913]<EMAIL_ADDRESS>Status changed from yellow to green - Kibana index ready
log   [10:02:00.941]<EMAIL_ADDRESS>Status changed from green to red - [document_already_exists_exception] [config][4.6.4]: document already exists, with: {"shard":"0","index":"kibana"}
Can any body please help to solve this issue ?
Thanks,
Vishnu
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/strapdata/elassandra/issues/99, or mute the thread https://github.com/notifications/unsubscribe-auth/AJzHmbryNYS3C6YQhUunhRXRyGYzE_yrks5sKg7jgaJpZM4ONJ5p.

We tried these options . But not working . I guess the return status from elastic search / elassandra is changing it status from yellow to red. : :(

Hi @boycode,
First of all, is this happening on a multi-nodes cluster ? then have you started multiple kibana instances ? It could be a bug with two kibana instances trying to create the same document.
You may try to stop kibana, delete the .kibana index with:
curl -XDELETE X.X.X.X:9200/.kibana

then restart kibana.
Inspecting the elassandra logs could also help.
Otherwise, Elassandra <IP_ADDRESS> is the latest official release. you may upgrade and see if you still encounter the problem.

Hi,
Something goes wrong in your configuration, all your ES indices are empty (doc.count = 0).
Could you provide more information about your setup and your logs ?
Thanks.

Hi @DBarthe ,
First of all, is this happening on a multi-nodes cluster ?
Yes . Only elassandra running in multinode
then have you started multiple kibana instances ?
No . Only one instance kibana is running
It could be a bug with two kibana instances trying to create the same document.
I am also building the code in parallel for the version ( 2017-06-17 Release <IP_ADDRESS> Elasticsearch 2.4.5 + Cassandra 3.10 ) . Since binary for the same is not available and I am directly following the documentation from elassandra that is the reason started with 2017-05-22 Release <IP_ADDRESS> Elasticsearch 2.4.5 + Cassandra 3.0.13
Hi @vroyer / @DBarthe ,
I also tried with the plain elastic search with Kibana and Graphana . It is working well , able read the index and able to create the visualization as well. So I guess there is something went either wrong withhe configuration of elassandra or may be issue with build.
Elassandra Configuration Details:
##parameter configuration for cassandra.yaml
cluster_name: 'TestCluster' num_tokens: 8 hinted_handoff_enabled: true max_hint_window_in_ms: 10800000 # 3 hours hinted_handoff_throttle_in_kb: 1024 max_hints_delivery_threads: 2 hints_flush_period_in_ms: 10000 max_hints_file_size_in_mb: 128 batchlog_replay_throttle_in_kb: 1024 authenticator: AllowAllAuthenticator authorizer: AllowAllAuthorizer role_manager: CassandraRoleManager roles_validity_in_ms: 2000 permissions_validity_in_ms: 2000 partitioner: org.apache.cassandra.dht.Murmur3Partitioner disk_failure_policy: stop commit_failure_policy: stop key_cache_size_in_mb: key_cache_save_period: 14400 row_cache_size_in_mb: 0 row_cache_save_period: 0 counter_cache_size_in_mb: counter_cache_save_period: 7200 commitlog_sync: periodic commitlog_sync_period_in_ms: 10000 commitlog_segment_size_in_mb: 32 seed_provider: - class_name: org.apache.cassandra.locator.SimpleSeedProvider                                 - seeds: "xx.xx.xx.xxx,xx.xx.xx.xxx" concurrent_reads: 32 concurrent_writes: 32 concurrent_counter_writes: 32 concurrent_materialized_view_writes: 32 memtable_allocation_type: heap_buffers index_summary_capacity_in_mb: index_summary_resize_interval_in_minutes: 60 trickle_fsync: false trickle_fsync_interval_in_kb: 10240 storage_port: 7000 ssl_storage_port: 7001 listen_address: xx.xx.xx.xxx start_native_transport: true native_transport_port: 9042 start_rpc: false rpc_address: xx.xx.xx.xxx rpc_port: 9160 rpc_keepalive: true rpc_server_type: sync thrift_framed_transport_size_in_mb: 15 incremental_backups: false snapshot_before_compaction: false auto_snapshot: true tombstone_warn_threshold: 1000 tombstone_failure_threshold: 100000 column_index_size_in_kb: 64 batch_size_warn_threshold_in_kb: 5 batch_size_fail_threshold_in_kb: 50 unlogged_batch_across_partitions_warn_threshold: 10 compaction_throughput_mb_per_sec: 16 compaction_large_partition_warning_threshold_mb: 100 sstable_preemptive_open_interval_in_mb: 50 read_request_timeout_in_ms: 5000 range_request_timeout_in_ms: 10000 write_request_timeout_in_ms: 5000 counter_write_request_timeout_in_ms: 5000 cas_contention_timeout_in_ms: 1000 truncate_request_timeout_in_ms: 60000 request_timeout_in_ms: 10000 cross_node_timeout: false endpoint_snitch: GossipingPropertyFileSnitch dynamic_snitch_update_interval_in_ms: 100 dynamic_snitch_reset_interval_in_ms: 600000 dynamic_snitch_badness_threshold: 0.1 request_scheduler: org.apache.cassandra.scheduler.NoScheduler server_encryption_options:     internode_encryption: none     keystore: conf/.keystore     keystore_password: cassandra     truststore: conf/.truststore     truststore_password: cassandra     # More advanced defaults below:     # protocol: TLS     # algorithm: SunX509     # store_type: JKS     # cipher_suites: [TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA] client_encryption_options:     enabled: false     # If enabled and optional is set to true encrypted and unencrypted connections are handled.     optional: false     keystore: conf/.keystore     keystore_password: cassandra internode_compression: all inter_dc_tcp_nodelay: false tracetype_query_ttl: 86400 tracetype_repair_ttl: 604800 gc_warn_threshold_in_ms: 1000 enable_user_defined_functions: false enable_scripted_user_defined_functions: false windows_timer_interval: 1
#parameter configuration for elasticsearch.yml
cluster.name: TestCluster
path.data: /datadrive/software/elassandra/elasticIndexData
path.logs: /datadrive/software/elassandra/elasticLogs
network.host: <IP_ADDRESS>
http.port: 9200
Looking forward your help on this.
Thanks,
Boycode

Dear @DBarthe / @vroyer
We tried with Latest build : <IP_ADDRESS> Elasticsearch 2.4.5 + Cassandra 3.10.
It is working , so I guess issue is with (2017-05-22 Release <IP_ADDRESS> Elasticsearch 2.4.5 + Cassandra 3.0.13 ).
Will update the progress , now the whole setup in single instance . Started trying in parallel clusters.
Thanks,
Boycode

Good to hear that.
Actually we provided a pre-compiled release for v<IP_ADDRESS>, available from the "releases" tab of the repository, in case you did not notice it (README isn't up-to-date).
Let us know if you have any question or problem using Elassandra.

Thanks @DBarthe


how to use EnterprisePBRShadingModel manully in threejs?

the viewer app is automatically load glb with EnterprisePBRShadingModel.
i want to create a cube in threejs with EnterprisePBRShadingModel,how?

Three.js doesn't implement the Enterprise PBR shading model. It has its own material model which supports the glTF material definition. Please see MeshPhysicalMaterial for more details.
Some more info on the glTF PBR definiton
https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#metallic-roughness-material
https://www.khronos.org/news/press/khronos-releases-wave-of-new-gltf-pbr-3d-material-capabilities
https://www.khronos.org/news/press/new-gltf-extensions-raise-the-bar-on-3d-asset-visual-realism


Latest version is unusable with ExLlama

When using the latest version every model i try to load with exllama il get either an error or just bad results (nonsense)
It used to work great at prior versions.
Steps to Reproduce
Using latest version from scratch

Step 1 - install exllama v2 binding
Step 2 - choose any model
Step 3 - try go ask a simple question

Screenshots

Just fresh installed using v6.7 bat file installer, same results

Managed to fix the issue by using the latest bat file made 20 hours ago (not in release page)
Yi-34B and Deepseek coder models are not working, GPTQ seems fine

Yes because they require me to enable the execution of remote code.
That's too risky of an operation. I prefer waiting that hugging face add this to their library.
Executing code from a model is a security risk as someone may create a virus and hide it inside a model.
If you trust them enough, just add  trust_remote_code=True to the from_pretrained when creating the tokenizer if you want to override this. It should work.


WARNING ⚠ NMS time limit 0.550s exceeded

"WARNING ⚠ NMS time limit 0.550s exceeded" when on RTX 3050 getting this error makes the ai move the cursor once every 1-2 seconds EXTREMELY slow anyone know a fix? (using a model trained on a gtx 1080 ti)

heres some more info: model is put onto RTX 3050 pc (after being trained on gtx 1080ti) and then it is turned from .pt to .engine and then ran.

I've also done every fix recommended, could I have some dependencies missing? improperly installed cuda? ect?

write the command you used to export and train the model

Training: yolo task=detect mode=train imgsz=640 data=CustomCharacterPath.yaml epochs=1000 batch=16 name=Rust
Export: yolo export model="models/rust.pt" format=engine half=true device=0 imgsz=448

heres a little more info, it works fine on my system but once i send it to my friend he has the NMS Issue.
The system it works on:
CPU: ryzen 5 5600x
GPU: GTX 1080 Ti
The system theres an issue on:
CPU: ryzen 3 3200g
GPU:  RTX 3050
could it be trying to use the ryzen 3 3200g's integrated graphics instead of using the rtx 3050? if so how can i change it?

Please please watch my videos I don't want any followers I need the help of the masses Bungie the Destiny 2 developers have been hacking my HP Omen PC for over a year I've asked for help everywhere Facebook Instagram YouTube and Twitter put me in incognito so the truth  It doesn't come out, the sad thing is I haven't even paid it off completely and they don't stop hacking me, please distribute my videos, help me, I've been fighting Bungie for a long time with depression.  https://youtube.com/shorts/feRDkmBOyA4?si=GoWKFnyxqIi-eWkg