Gaxios Error: Google Api error [undefined] undefined

Hello sir,
I'm just trying to access the Google sheet with loadInfo() but I'm getting GaxiosError: Google Api error [undefined] undefined
I'm just using the basic code provided in the docs
https://pastebin.com/HREkbf5P (code)
https://pastebin.com/45JM2uCL (error)

Try passing just the email, key, and scopes

Try passing just the email, key, and scopes

same error sir

Try passing just the email, key, and scopes

same error sir

The error "Invalid JWT Signature" makes me think that either:

you are not getting the email and key set correctly. did you try console logging the values to make sure they look correct
the info in that credential file was accidentally altered. Have you tried generating a new one?

The error "Invalid JWT Signature" makes me think that either:

you are not getting the email and key set correctly. did you try console logging the values to make sure they look correct
the info in that credential file was accidentally altered. Have you tried generating a new one?

oh my god thank you so much sir. i made new credential file and its working now. no idea why the previous key wasnt working. Thank you so much sir <3. Have a wonderful day/evening


Adding log4shell-detector

Great python script to check logs for exploitation attempts.
https://github.com/Neo23x0/log4shell-detector

Thanks for your contribution !


Allow plugin name in is_plugin_enabled

Fixes #61604.

There's also set_plugin_enabled which likely has the same issue. And the documentation is still incorrect as it now mentions only one of the supported formats, but not both.
IMO, it would be better if only the plugin name was supported, the fully qualified path is not a useful format for this API.

I've changed the other method as well ;) For now, both support path and name. Let me know if I should change it to name only, or change the docs :)
I'm traveling now, but next week I'll have more time to take a look at #43734 to see if I've missed something ;)

Thanks!

This doesn't seem relevant for 3.x which already had this issue fixed in #46389. For some reason this was not forward ported to master. @KoBeWi you mentioned the bug affected 3.5, can you check again?

Indeed, the issue doesn't happen in 3.5. I incorrectly assumed that it's relevant for this version, because I forgot it was fixed .-.


Request: Add Volume + and - buttons

Add buttons for volume up and volume down as the slider can be difficult on some tablets

I spent a lot of time making the slider of the mobile layout (/m) touch-friendly. The desktop layout is mouse-optimized (supports mousewheel adjustment etc). Then plan was to separate them completely since it would be easier to maintain. A tablet/mobile layout have other challenges as well. Please test the behavior of the mobile layout and tell me what you think.

Thanks - I'll take a look at it and come back

I accessed the controller on a 10" samsung Tab4 to test out the volume control slider and while it works I find it as awkward as the one on the native app. perhaps its the size  but I can't drag the slider but can click in front of the slider to volume up but if the volume is at 30% I can't reduce as there is no room
I'll play with it a but more over the coming days...

Are you talking about the slider on the /m layout?  because that one isn't supposed to be tapped, and I'm surprised of that works. It is slidable, regardless of where you start, and it is downstepped so you can never adjust more than 25% per slide, deliberately. It should be even easier to control volume than the native Sonos controller one, otherwise I have failed miserably :)
Just swipe over the volume rocker, it should work.

Are you using the Samsung native browser (is that still a thing?), or Chrome for Android?

I'm using chrome and also tried another tablet with chrome and the same behaviour..
not sure what you mean by the /m layout just to make sure we are talking the same language...

when I touch the grey volume the white one pops up (as if there were multiple zones)
I am tapping the grey part of this control and can tap up in increments but there isnt enough room ot tap down
is there some other place I should be tapping ?
thanks
-f

Okay, makes sense now. When I say, the /m layout, I mean the alternative layout if you visit:
http://[ip of pi]:8080/m
instead of just http://[ip of pi]:8080
There is a lot of stuff that probably doesn't work on a touch-screen with the normal layout, I rely on doubleclick and drag n' drop which is a major pita on touchscreens.

Kind of curious what your "PizzaBBQ_Area" is... :D You have your own pizza oven?

ahhh.. I didn't know about the /m layout
It looks like its very early development

Is this what I am supposed to be seeing  or is there more ?
Which version do you think you'll be progressing ?

You should have seen the cover art to the left. And the volume slide container doesn't seem to fit all your players. But the volume slider behavior should still work.
I probably need to progress both of them, they fulfill different purposes but you are right that the mobile view is more of an early development.

makes sense - I wasn't too sure how to select the players. I can test and provide feedback on either if the time comes.
I was an early adopter of sonos, bought my first one (ZP100) 10+ years ago and now have 14 now and all are working perfectly. I probably have most models at this stage (except soundbar/sub which I don't think are worth the money) so if you need to test any feature at scale I could help out...
thanks again
-f


Reorder parameters as they appear in exported cmdlets

Currently, in the exported .ps1 files, the parameters are ordered alphabetically; it would be nice if the order was the following:

Path parameters (preferably as they appear in path)
Query parameters (order shouldn't matter here since they would be optional)
Body parameters (preferably by complex object first and then followed by flattened parameters)
Common parameters (-Break, -DefaultProfile, -HttpPipelineAppend, etc.)

There may be other parameter types missing, but we can squeeze those in as necessary. Talking with @NelsonDaniel and @MiYanni, it seems that this reordering would also benefit us when it came to the order of the properties in the returned object of the cmdlets since they follow the same ordering. This would help with the initial formatting of objects returned from cmdlets rather than having arbitrary parameters returned alphabetically.
This may only be an issue when merging together variants for multiple operations into a cmdlet (such as Get-*), but if we keep the parameters in the same order by their category (i.e., all path parameters come first, even in different variants, then all query parameters come next, etc.), then it should still be fine.
As a result, the parameters in Get-AzResourceGroup.ps1 would make the following changes:
Click to expand old parameters

[Parameter(DontShow)]
[System.Management.Automation.SwitchParameter]
# Wait for .NET debugger to attach
${Break},

[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[System.Management.Automation.PSObject]
# The credentials, account, tenant, and subscription used for communication with Azure.
${DefaultProfile},

[Parameter(DontShow)]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.Resources.Runtime.SendAsyncStep[]]
# SendAsync Pipeline Steps to be appended to the front of the pipeline
${HttpPipelineAppend},

[Parameter(DontShow)]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.Resources.Runtime.SendAsyncStep[]]
# SendAsync Pipeline Steps to be prepended to the front of the pipeline
${HttpPipelinePrepend},

[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='GetSubscriptionIdViaHost', Mandatory)]
[System.String]
# The name of the resource group to get. The name is case insensitive.
${Name},

[Parameter(DontShow)]
[System.Uri]
# The URI for the proxy server to use
${Proxy},

[Parameter(DontShow)]
[ValidateNotNull()]
[System.Management.Automation.PSCredential]
# Credentials for a proxy server to use for the remote call
${ProxyCredential},

[Parameter(DontShow)]
[System.Management.Automation.SwitchParameter]
# Use the default credentials for the proxy
${ProxyUseDefaultCredentials},

[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='List', Mandatory)]
[System.String]
# The ID of the target subscription.
${SubscriptionId},

[Parameter(ParameterSetName='List')]
[Parameter(ParameterSetName='ListSubscriptionIdViaHost')]
[System.String]
# The filter to apply on the operation.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'
${Filter},

[Parameter(ParameterSetName='List')]
[Parameter(ParameterSetName='ListSubscriptionIdViaHost')]
[System.Int32]
# The number of results to return. If null is passed, returns all resource groups.
${Top}

Click to expand new parameters

[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='GetSubscriptionIdViaHost', Mandatory)]
[System.String]
# The name of the resource group to get. The name is case insensitive.
${Name},

[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='List', Mandatory)]
[System.String]
# The ID of the target subscription.
${SubscriptionId},

[Parameter(ParameterSetName='List')]
[Parameter(ParameterSetName='ListSubscriptionIdViaHost')]
[System.String]
# The filter to apply on the operation.

You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'
${Filter},

[Parameter(ParameterSetName='List')]
[Parameter(ParameterSetName='ListSubscriptionIdViaHost')]
[System.Int32]
# The number of results to return. If null is passed, returns all resource groups.
${Top},

[Parameter(DontShow)]
[System.Management.Automation.SwitchParameter]
# Wait for .NET debugger to attach
${Break},

[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[System.Management.Automation.PSObject]
# The credentials, account, tenant, and subscription used for communication with Azure.
${DefaultProfile},

[Parameter(DontShow)]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.Resources.Runtime.SendAsyncStep[]]
# SendAsync Pipeline Steps to be appended to the front of the pipeline
${HttpPipelineAppend},

[Parameter(DontShow)]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.Resources.Runtime.SendAsyncStep[]]
# SendAsync Pipeline Steps to be prepended to the front of the pipeline
${HttpPipelinePrepend},

[Parameter(DontShow)]
[System.Uri]
# The URI for the proxy server to use
${Proxy},

[Parameter(DontShow)]
[ValidateNotNull()]
[System.Management.Automation.PSCredential]
# Credentials for a proxy server to use for the remote call
${ProxyCredential},

[Parameter(DontShow)]
[System.Management.Automation.SwitchParameter]
# Use the default credentials for the proxy
${ProxyUseDefaultCredentials}

Ordered the parameters by Category appropriately.


how to increase/decrease width/height of toast

Hi, you can do it in your own custom css.
for example:
#toast-container > div {
width: 400px;
height: 400px;
}


Remove ModDetectionPreventer

Original issue
https://github.com/Fabulously-Optimized/fabulously-optimized/issues/802
Why should it be in the modpack
To prevent servers from looking into what mods are installed on the client.
Why shouldn't it be in the modpack
The developer of the mod (me) has recently lost interest in the project, and it seems like server admins have found another way to see what mods are installed. This has led to at least one ban (https://github.com/JustAlittleWolf/ModDetectionPreventer/issues/6), most likely as a direct consequence of having this mod installed. In the current state that makes the mod a hazard for some players.
Additional details
No response
Confirm

[X] This mod removal request was written in good faith, taking into consideration why the mod was added in the first place. This is not a mod replacement request - for that purpose I should use the normal mod request form.

Sigh. Sad to hear, but will make the change soon.

5.10.0 and 5.11.0-alpha.1 have been released with the mod removed. Thank you!


Move to raw scrapers over using memorious

I've recently had a discussion with @sunu about whether we should drop the use of memorious in this project. We've basically adopted it because all of OCCRP's crawlers are written in it. Yet for this project, there seems to be a real interest from the community to contribute, and memorious constitutes a bit of a hurdle to entry.
So I'm wondering if we should just switch to writing some plain scrapers, maybe with a bit of a custom utility toolchain for caching stuff a bit, and uploading it to a bucket at the end.

This is definitely done, in the weeds now with developing the specific framework for OpenSanctions.


Add tedlium

Adding a Dataset

Name: tedlium
Description: The TED-LIUM 1-3 corpus is English-language TED talks, with transcriptions, sampled at 16kHz. It contains about 118 hours of speech.
Paper: Homepage: http://www.openslr.org/7/, https://lium.univ-lemans.fr/en/ted-lium2/ &, https://www.openslr.org/51/
Data: http://www.openslr.org/7/
Motivation: Important speech dataset
TFDatasets Implementation: https://www.tensorflow.org/datasets/catalog/tedlium
If interested in tackling this issue, feel free to tag @patrickvonplaten

Instructions to add a new dataset can be found here.

Hi @patrickvonplaten
I can have a look to this dataset later since I am trying to add the OpenSLR dataset https://github.com/huggingface/datasets/pull/2173
Hopefully I have enough space since the compressed file is 21GB :-)

Resolved via https://github.com/huggingface/datasets/pull/4309


refactor(docs): Refactor KbSideBar to more accurately reflect content

"User-Guides" isn't a great name. "End-user guides" is a tiny bit better -- the goal for this was to have something an admin could distribute to their end-users during onboarding.
Also I tried to clarify that only SSO+sync requires the Enterprise tier for Google/Okta/Entra

5 minutes of review time. You can view the Preview using the link in the Vercel comment.


Implementation of exception behavior

Fixes #96
@VictorLamoine, @Nandite ready for review.
I've just surdefined a std::exception.
It can be used at each time we need to throw an exception, not only in this case.

Done


adjust to the 6 11.2 collections in faq and dictionary

I will adjust a bit the dictonnary, it clear it's possible to install a collection but as it make no sense at all I prefer to leave out this topic


Create queries to testing the LLM / VectorStore

Certainly! Here are some relevant questions for each topic of the business model canvas:

1. Key Partners:
- Who are your strategic partners and suppliers?
- What key activities do your partners perform for your business?
- How do your partners contribute to the value chain?

2. Key Activities:
- What activities are crucial for your business to operate successfully?
- What processes or operations need to be carried out regularly?
- What are the core competencies that set your business apart?

3. Value Propositions:
- What unique benefits or advantages does your software product offer?
- How does your product solve customer problems or meet their needs?
- What makes your product superior to competitors in the market?

4. Key Resources:
- What resources, both physical and intellectual, are necessary for your software product?
- Are there any specific technologies, equipment, or infrastructure required?
- Do you have any key intellectual property or patents?

5. Customer Relationships:
- How do you build and maintain relationships with your customers?
- What strategies do you employ to engage with customers and provide support?
- How do you ensure customer satisfaction and loyalty?

6. Channels:
- What distribution channels will you use to deliver your software product?
- How will customers discover, purchase, and access your product?
- Will you utilize online platforms, direct sales, or partnerships with other companies?

7. Customer Segments:
- Who are your target customers for the software product?
- What are their characteristics, needs, and preferences?
- Are there specific market segments or customer personas you are focusing on?

8. Cost Structures:
- What are the main cost drivers for developing and maintaining the software product?
- How will you allocate resources and budget for different activities?
- Are there any fixed costs, variable costs, or economies of scale to consider?

9. Revenue Streams:
- How will you generate revenue from your software product?
- Will you charge customers through subscriptions, one-time payments, or other models?
- Are there any potential additional revenue streams, such as advertising or data monetization?


Real Time Application

Thanks for sharing this awesome repo! I wonder if the current model would handle real time prediction on videos? Could you briefly outline how to do that?
Thanks in advance!

Hello harryxu-yscz,
I have never test this method in videos. You may have to do the feature engineering before training and    fine-tuning the hyper-parameters such as the nodes in hidden layers by means of hyperas. This is the part that I currently think of that may have to pay attention.
Good luck!

What code should be modified in audioFeatureExtraction.py?.What code should be added in stFeatureSpeed.?

I want to run speech-emotion-recognition-BLSTM.

About audioFeatureExtraction.py, please cast the index variable to int format, just follow the raised exception and modify them. No technical issues need to be modified.

Thank you very much!!

Writing berlin data set to file...
Traceback (most recent call last):
File "/home/lwin/speech-emotion/Speech_emotion_recognition_BLSTM-master/find_best_model.py", line 163, in
functions.feature_extract(ds.data, nb_samples=len(ds.targets), dataset=dataset)
File "/home/lwin/speech-emotion/Speech_emotion_recognition_BLSTM-master/utility/functions.py", line 20, in feature_extract
hr_pitch = audioFeatureExtraction.stFeatureSpeed(x, Fs, globalvars.frame_size * Fs, globalvars.step * Fs)
File "/usr/local/lib/python3.5/dist-packages/pyAudioAnalysis/audioFeatureExtraction.py", line 669, in stFeatureSpeed
[fbank, freqs] = mfccInitFilterBanks(Fs, nfft, lowfreq, linsc, logsc, nlinfil, nlogfil)
TypeError: mfccInitFilterBanks() takes 2 positional arguments but 7 were given
=================================================================
How to solve this issue.plz help me .Thank u


Validation fails for plugins with required params

When trying to run tests on plugins with required parameters it errors out. I think this is because of a recent validation check before loading plugins https://github.com/ExpressGateway/express-gateway/pull/757. But we don't specify any params when creating gateway in create-gateway.js.
config.systemConfig = {       plugins: {         'custom-plugin': {           package: pluginPackage,           'param' : 'param1'         }       }     };

@singhsaban thanks for bringing this to my attention.  I'll be looking into this as soon as I can.

Released with v0.3.0, closing this one out.


Procedure Flydown

Describe the desired feature

Procedure names would act as a flydown.

When the flydown is opened it would contain a call block associated with the procedure.
Give an example of how this feature would be used

Drag a procedure block from the flyout.
Program the procedure.
Hover over the procedure name.
A flydown containing the caller block would appear.
Drag the caller block from the flydown.

Why doesn't the current App Inventor system address this use case?
This is just an addition for convenience. Currently you can only drag procedure blocks from the flyout.
Why is this feature beneficial to App Inventor's educational mission?
It would help students connect the idea of the caller and the procedure together. It may also make coding faster :D
Additional info
See here for the original feature request.

I think this is fine to implement, but I don't think it will be as useful as it would first seem.
Flydowns really work for when you're grabbing the variable in a visually proximate location, such as the event parameters or a local lexical variable declaration. Given that procedures can be called from anywhere in the workspace, being able to mouse over the procedure name is of limited utility if it's not even on screen. Typeblocking or getting the call block from the procedure drawer is probably faster in most cases (I have no empirical data for this, it's just my gut intuition). It might be useful for the first call or two, but as program complexity increases my guess is most people won't end up using this. However, given the fact that procedure use is so low as discussed by @fturbak and others, my hope is that maybe this could improve use of procedures.


Issue when attempting to push elements into the columns

Hello,
When generating columns for a worksheet dynamically, and attempting the following code:
fields.forEach(f => {
  sheet.columns.push({ header: f.name, key: f.name.toLowerCase() })
})

I receive the error TypeError: Cannot read property 'push' of null.  This turns out to be because columns is backed by a getter and a setter, and the value returned by columns getter has no push method.
This may or may not be intentional, but is certainly misleading when it behaves as an array in every other respect.

i face the same issue. it is because the code is like that.

so better use it as immutable.

I have same problem, is it fixed ??

(That's more of a workaround than a solution, i'd still love to see API compatibility in this library)

It looks like .push silently fails when both dynamically creating columns as described by OP and when dynamically assigning data to column.values, such as
columns.forEach((column) => {     sheet.getColumn(column).push(data) });
In the case of dynamic column creation, identifying this bug is a bit more frustrating since it only fails at
sheet.getColumn(column)
with an
Uncaught Error: Out of bounds. Invalid column letter:
and the _columns attribute of the sheet actually does contain the correct column names.
In any case, defining the array in advance and assigning it as recommended in #161 (comment) is an effective workaround.


added documentation for new route

Codecov Report

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

@@            Coverage Diff            @@
##             master     #112   +/-   ##
=========================================
  Coverage          ?   14.02%
  Complexity        ?       42
=========================================
  Files             ?       16
  Lines             ?     1326
  Branches          ?      123
=========================================
  Hits              ?      186
  Misses            ?     1131
  Partials          ?        9

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 0e1eb44...3a294c7. Read the comment docs.


Safari doesn't render the error messages

If you test http://1000hz.github.io/bootstrap-validator on Safari you will notice that it doesn't render the error message for the email input. It shows a default message 'value missing'. How can I override that? The issue is on iOS only.

Works for me on iOS 9.2.1

Sorry I should have mentioned it shows the error message however it doesn't show the default error message for the email input. Is there a fix for that?

I had the same problem on iOS 8.0.2. You can fix it by adding validation message as data attribute:
data-required-error="This field is required."


Training Code

It's wonderful  work. When will the “trainer.py” file be provided?

Thank you for your interest in our work! We will be providing the 'trainer.py' file and the data collection methodology to everyone shortly. Since I am currently busy with a new subject, there might be a slight delay in organizing everything thoroughly. However, I will release a version for community use soon.

The training code is now update.


testing post request I get undefined 'to_i error

http://stackoverflow.com/questions/22750806/rails-api-testing-post-request-undefined-to-i-error

I'm closing this as stale, if it's still and issue please report back and I will reopen.


Use external auth module (mod_authnz_external) for CycleCloud Proxy.

Remove PAM authentication and use external auth module (mod_authnz_external) for CycleCloud Proxy with pwauth. This fixes #1683.
Tested in almalinux-x86_64 8_7-gen2.

close #1683

@pddro-Vestas I had to revert this because it failed when using local users only.

@xpillons what stopped working exactly? I only tested with AD users.

httpd service failed to start, i will need more troubleshooting

Probably missing dependency. pwauth may not be installed.

Added #1756 with installation of pwauth.


The way to get "guinea.txt"

Dear author:
I wonder to get other places' data like "guinea.txt", how can I get it? Sincerely look forward to your reply, I will be very appreciated!

在data文件夹中


Firebase plugins should be updated to Play Services 11.0.x

Version 11 of play services introduce new features (generally) and the Firebase plugins should be updated so apps can take advantage.

Per or conversation earlier in the week, @collinjackson can you take this on?  @lukef is making manual modifications for now.

I am working on this one now.

@lukef
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/996. Any further collaboration will be done there.


chore: bump wagmi to 0.10.x

Bumped wagmi peer dependency to v0.10.x
No impact to RainbowKit internals. Reference the migration guide:
https://wagmi.sh/react/migration-guide#010x-breaking-changes

I think the peered also needs to be updated here:
https://github.com/rainbow-me/rainbowkit/blob/main/packages/rainbowkit/package.json#L48
maybe to >=0.9.0 or 0.9.x || 0.10.x

@DanielSinclair if this version of rainbowkit still works with wagmi 0.9.x I would make the peer dependency more flexible and include both like this 0.9.x || 0.10.x.
Otherwise devs might end up with nightmarish dependency conflicts.

You can test it here: https://semver.npmjs.com

Tests failing here @DanielSinclair ?

@nickbytes Resolved!


⚠ Bofrost.be has degraded performance

In 9c46190, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1225 ms

Resolved: Bofrost.be performance has improved in 84c733d after 8 minutes.


Add missing definitions on NetBSD

This PR adds support for:
CLOCK_PROCESS_CPUTIME_ID
CLOCK_THREAD_CPUTIME_ID
sysctlnametomib
It replaces the following closed PRs:
https://github.com/rust-lang/libc/pull/3926
https://github.com/rust-lang/libc/pull/3923
Sorry for the back and forward actions.

@rustbot label stable-nominated

r? @tgross35
It looks like @JohnTitor  is busy would you mind reviewing?

I keep an eye on all the PRs even if they aren't assigned to me, just a bit of a slow turn time on this repo. It looks like other BSDs (Apple and NetBSD) have these already, could it instead just be moved to bsd/mod.rs?
Also, got a link to the relevant headers and/or docs?
@rustbot author (just comment @rustbot ready if you either make or decline the change)

I keep an eye on all the PRs even if they aren't assigned to me

Thanks for reviewing the PR.

just a bit of a slow turn time on this repo.

Yeah, sorry I didn't meen to be pushy.

It looks like other BSDs (Apple and NetBSD) have these already, could it instead just be moved to bsd/mod.rs?

Hmm ... I think you are mixing these a bit.
The constants are defined for OpenBSD but, missing for NetBSD. Hence, this PR. As for sysctlnametomib function, this exists on NetBSD but, not on OpenBSD. So, adding these to bsd/mod.rs would break OpenBSD.

Also, got a link to the relevant headers and/or docs?

Sure,
CLOCK_...
sysctlnametomib
~> uname -rsv
NetBSD 10.99.12 NetBSD 10.99.12 (GENERIC) #0: Wed Sep 18 01:34:08 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC
~> grep -r "sysctlnametomib" /usr/include/sys/
/usr/include/sys/sysctl.h:int	sysctlnametomib(const char *, int *, size_t *);
~> grep -r "CLOCK_PROCESS_CPUTIME" /usr/include/sys/
/usr/include/sys/time.h:#define CLOCK_PROCESS_CPUTIME_ID	0x40000000
~> grep -r "CLOCK_THREAD_CPUTIME" /usr/include/sys/
/usr/include/sys/time.h:#define CLOCK_THREAD_CPUTIME_ID		0x20000000

@rustbot ready

Thanks for confirming everything, and for the links to check against. Maybe sysctlnametomib should match the NetBSD names of (sname, name, namelenp) rather than  (name, mibp, sizep) used by FreeBSD and Apple?
Either way lgtm.

@tgross35

Maybe sysctlnametomib should match the NetBSD names of (sname, name, namelenp) rather than (name, mibp, sizep) used by FreeBSD and Apple?

Duh ... you're probably right. Let me check this tonight. If I push a change, you want the commits squashed, right?

Duh ... you're probably right. Let me check this tonight. If I push a change, you want the commits squashed, right?

Yes please, GH's squash+merge doesn't work great with the merge queue.
@rustbot author

@tgross35 Sorry, it seems like my git skills aren't that great 😞
Anything against if, I close the PR, redo it all and re-submit?

Lol, git can be unfriendly :) usually you just do git rebase -i main which will open an editor where you should see your two commits. Then, for everything except the first line (oldest commit), replace pick with either f/fixup (= combine commits with the above but discard the message, which is what you want here) or s/squash (same thing but append the message). Save, and then git push --force-with-lease.
(of course a new PR is fine worst case, but squashing is usually easier if you can get it working)

Not far from it :)
I think I've just missed git push --force-with-lease.

@tgross35 That was it. Using --force-with-lease did the trick, thank you!
@rustbot ready

Thank you!


[Bug]: Inconsistent type of OperationStatusResult.percentComplete

Describe the bug
go sdk two different results:

Reproduction
tsp: https://github.com/Azure/typespec-azure/blob/main/packages/typespec-azure-resource-manager/lib/common-types/types.tsp#L220
spec common-type: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/common-types/resource-management/v3/types.json#L439
Checklist

[X] Follow our Code of Conduct
[X] Check that this issue is about the Azure libraries for typespec. For bug in the typespec language or core libraries file it in the TypeSpec repo
[X] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

cc: @allenjzhang

Per ARM RPC guide line, it would be float64 (double). https://github.com/Azure/azure-resource-manager-rpc/blob/8231d7df51aec87e6ccb5bcc04478136758b0a4c/v1.0/async-api-reference.md?plain=1#L164


Standardise the order of UG/DG

I think we should follow the order of CRUD

Create
Read
Update
Delete

Current  feature/command headings.
exit - Exit the program
help - Display help page
add - Add a keyword
delete - Delete a keyword
add - Add a patient
detail - Displays the detail of a patient
list - List all patients
find - Locate a patient
edit - Edit a patient
delete - Delete a patient
clear - Delete a patient
add - Add a vaccination type
edit - Edit a vaccination type
delete - Deletes a vaccination
clear - Clears all vaccination data
find - Finds a vaccination
list - Lists all vaccination
detail - Displays the detail of a vaccination
add - Add an appointment
delete - Delete an appointment
edit - Edit an appointment
list - List all appointments
find - Find all matching appointments
mark - Marks an appointment as completed
unmark - Changes an appointment's status to not done

Now it looks like this, more in line with CRUD
exit - Exit the program
help - Display help page
add - Add a keyword
delete - Delete a keyword
add - Add a patient
detail - Displays the detail of a patient
list - List all patients
find - Locate a patient
edit - Edit a patient
delete - Delete a patient
clear - Clear Patients
add - Add a vaccination type
detail - Displays the detail of a vaccination
list - Lists all vaccination
find - Finds a vaccination
edit - Edit a vaccination type
delete - Deletes a vaccination
clear - Clears all vaccination data
add - Add an appointment
list - List all appointments
find - Find all matching appointments
edit - Edit an appointment
mark - Marks an appointment as completed
unmark - Changes an appointment's status to not done
delete - Delete an appointment


Update kubeadm-upgrade.md

Added link to 1.9 upgrades.
I am uncertain about the right document for 1.8.x to 1.8.y upgrades, as both these documents state that is their purpose:

https://kubernetes.io/docs/tasks/administer-cluster/kubeadm-upgrade-1-8/
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm-upgrade-1-9/
So I have left the link for that scenario as it is.

NOTE: After opening the PR, please un-check and re-check the "Allow edits from maintainers" box so that maintainers can work on your patch and speed up the review process. This is a temporary workaround to address a known issue with GitHub.>
Please delete this note before submitting the pull request.

This change is

/assign @mikedanese

/assign @mikedanese

/approve


Upgrade org.apache.maven.plugins:maven-deploy-plugin 3.1.0 -> 3.1.1

This PR contains the following updates:

Package
Type
Update
Change

org.apache.maven.plugins:maven-deploy-plugin
build
patch
3.1.0 -> 3.1.1

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade maven-deploy-plugin 3.1.0 -> 3.1.1

See https://github.com/apache/maven-deploy-plugin/compare/maven-deploy-plugin-3.1.0...maven-deploy-plugin-3.1.1

Updated the suggested commit message. Tag does not yet contain release notes, but the Jira overview doesn't show any interesting changes.


Add a method to fetch all roles of a user in an access context

Currently we can fetch roles only by group.  For a user, we have to first fetch the corresponding singleton group.

The need for this method should be very infrequent, given a facility to directly retrieve permissions of a user.


Build on AIX problem

I try to build your code in AIX with GNU Make and GCC. So in AIX we have file type.h  with the line:
typedef uint_t uint

And this leads to name conflict with your test_theft.c. I just renamd your "uint" to "uint_val" and it worked. So i mean will be better to rename "uint" to some more specific. I am reading your code about 1 minute and afraid to offer a specific name.

That's good to know. I will rename the identifier so it's not an issue.


Suggestions for Risk Details / Period logged UI section in app

Current Implementation
The Period logged section in the Risk Details UI of the app is confusing.

In the sentence "This period is included in the calculation." it is not clear what "This" is referring to.
The suggestion regarding having logging permanently active delays the reader getting to the actual information about the period logged.

I have only looked at the Android implementation. This may also apply to the iOS implementation as well.

Suggested Enhancement

Remove  risk_details_subtitle_period_logged "This period is included in the calculation." from include_risk_details_period_logged_card.xml. This subtitle is redundant and confusing.
Move the risk_details_period_logged_progress to before risk_details_period_logged_body_notice. The headline "Period logged" is then immediately followed by information about the period logged.

The result would be for example:
Period logged
Exposure logging covers the past 14 days. During this time, the logging feature on your device was active for 14 days. The app automatically deletes older logs, as these are no longer relevant for infection prevention.
Your risk of infection can be calculated only for periods during which exposure logging was active. The logging feature should therefore remain permanently active.
Expected Benefits
The changed layout increases readability. The immediately important information is presented first, followed by additional information.

Internal Tracking ID: EXPOSUREAPP-2618

Hey @MikeMcC399
Thank you for your suggestion. I created a Jira Ticket and assigned it to @MarisaWollner to take a look.
Best regards,
SG
Corona-Warn-App Open Source Team

This enhancement request is obsolete because in version 1.15 the text has been changed. The app no longer shows how long exposure logging was active.
This is what is shown when the app was installed more than 14 days previously:

Some of the suggestions made in this enhancement request concerning the ordering of information have already been implemented in the new text, so there is no need to keep this enhancement request open any more.


Slider widget cannot be set to be round or semi-round.

Slider widget cannot be set to be round or semi-round.

I don't understand your issue, the slider thumb is already round. Can you please elaborate this a little?

Hi @gionchat
As said above, please elaborate more.


User name not valid in ttlock app

Hi There, Thank you for creating this.
I have had success creating users and getting keys etc.
But I can not login with the created user with TTlock app
The App asks for Phone or Email as user name, but the user requirements of the API state it needs to be numbers or letters so cant use email address?
Can you please explain what I am doing wrong? Or why the user name and password I have may not be working?
Thanks

Hi, Thanks for following my project...
Do you try this steps from the README in this repo:
Create a user for this application:
$ curl --location --request POST 'https://api.ttlock.com/v3/user/register?clientId=YOUR_APP_CLIENT_ID&clientSecret=YOUR_APP_CLIENTSECRET&username=NEW_NAME_FOR_YOUR_USER&password=NEW_PASS_FOR_YOUR_USER&date=CURRENTMILLIS' \
--header 'Content-Type: application/x-www-form-urlencoded' \
ATTENTION: you need pass the NEW_PASS_FOR_YOUR_USER with max 32 chars, low case and md5 encrypted

When do you say "creating users and getting keys etc" is the TTLock Api Client application?

Hi,
after doing
curl --location --request POST 'https://api.ttlock.com/v3/user/register?clientId=YOUR_APP_CLIENT_ID&clientSecret=YOUR_APP_CLIENTSECRET&username=NEW_NAME_FOR_YOUR_USER&password=NEW_PASS_FOR_YOUR_USER&date=CURRENTMILLIS' \ --header 'Content-Type: application/x-www-form-urlencoded' \
I get result: APP_NAME_USER (eg: MYAPP_FRED)
the password I entered for "NEW_PASS_FOR_YOUR_USER" was text converted to MD5 using a MD5 Hash Generator
When trying to log in to the  TTlock app from the app store I am prompted to enter user name and password
I enter:
user: MYAPP_FRED
pass: "text I entered into MD5 Hash Generator (not the MD5 hash)" eg: mypass
The app prompts me user name or password incorrect
All your curl commands return result as expected, just cant log into the app from the appstore using the credentials

Worked it out - I tried a different MD5 Encryption website and now I am logged into app
Can wait to get this working in home assistant

Sorry just for clarity - is the home assistant component stand alone - or do I need to install ttlockio and the TTlock2mqtt as well?

Sorry just for clarity - is the home assistant component stand alone - or do I need to install ttlockio and the TTlock2mqtt as well?

https://github.com/tonyldo/ttlockio/issues/1#issuecomment-626192074

@tonyldo I've managed to install TTlock2MQTT hassio addon and I have added my lock and gateway to the new account I have created, on the addon log I can see:
2020-07-26 23:49:23 - [INFO] ttlock_adapter: Created TTlock Mqtt Client for lockid: lOCK-1861714-1595800163
2020-07-26 23:51:24 - [INFO] ttlock_adapter: Current threads: 2
2020-07-26 23:52:24 - [INFO] ttlock_adapter: Created TTlock Mqtt Client for lockid: lOCK-1861714-1595800344
2020-07-26 23:54:24 - [INFO] ttlock_adapter: Current threads: 2

But I can't find any activity on my MQTT broker nor my lock is added to Home Assistant, what am I missing?

@tonyldo I've managed to install TTlock2MQTT hassio addon and I have added my lock and gateway to the new account I have created, on the addon log I can see:
2020-07-26 23:49:23 - [INFO] ttlock_adapter: Created TTlock Mqtt Client for lockid: lOCK-1861714-1595800163
2020-07-26 23:51:24 - [INFO] ttlock_adapter: Current threads: 2
2020-07-26 23:52:24 - [INFO] ttlock_adapter: Created TTlock Mqtt Client for lockid: lOCK-1861714-1595800344
2020-07-26 23:54:24 - [INFO] ttlock_adapter: Current threads: 2

But I can't find any activity on my MQTT broker nor my lock is added to Home Assistant, what am I missing?

When you discovery what is happening please tell me...  This is my first time build a hassio addon... I am doing something wrong. But i Will fix this, dont worry.

At least is not something I am doing wrong, I was already creating new MQTT usernames & passwords to see if mine were to "complicated".
Have you somehow been able to add TTLocks to HA, if so would you mind sharing how?
Have you thought about sharing your TTLocks projects on Home Assistant forums?
I have seen more people are looking for this and maybe one of them can help debug the problems?

@tonyldo if i rename this line like this https://github.com/Sthopeless/TTLockToMQTT/blob/master/ttlocktomqtt/src/ttlock_adapter.py#L18
I get this on my logs 2020-07-27 00:45:57 - [INFO] ttlock_adapter: Return future for lockid: ttlock
not sure if its relevant.

@tonyldo I've managed to install TTlock2MQTT hassio addon and I have added my lock and gateway to the new account I have created, on the addon log I can see:
2020-07-26 23:49:23 - [INFO] ttlock_adapter: Created TTlock Mqtt Client for lockid: lOCK-1861714-1595800163
2020-07-26 23:51:24 - [INFO] ttlock_adapter: Current threads: 2
2020-07-26 23:52:24 - [INFO] ttlock_adapter: Created TTlock Mqtt Client for lockid: lOCK-1861714-1595800344
2020-07-26 23:54:24 - [INFO] ttlock_adapter: Current threads: 2

But I can't find any activity on my MQTT broker nor my lock is added to Home Assistant, what am I missing?

When you discovery what is happening please tell me...  This is my first time build a hassio addon... I am doing something wrong. But i Will fix this, dont worry.

Have you tried turning on debug logging in home assistant to get additional logs?

@botts7 MQTT messages were kinda working in this commit https://github.com/tonyldo/TTLockToMQTT/tree/d162d1d37e598458d4259858e2681528e67789c8
I had messages being posted on my broker to topic ttlocktomqtt/1861714/state and ttlocktomqtt/1861714/battery battery level were correct but state was always locked and there were also messages posts in the topic homeassistant/lock/ttlock/1861714_lock/config containing {"name": "2017MM_6f3aa5", "command_topic": "ttlocktomqtt/1861714/command", "state_topic": "ttlocktomqtt/1861714/state", "value_template": "{ value_json.command}", "uniq_id":"1861714_lock","device":{"identifiers":["1861714"],"connections":[["mac","xx:xx:xx:xx:xx:xx"]]}, "via_device":"44870" } Name and MAC match my lock.

hello everyone, i will close this issue.. i have released the ttlocktomqtt beta and open the issue page of that github repo.
Lets go there... and thanks to every one.

Hi,
First of all thank you for creating this add.
I have already had success creating users and getting keys and everything what you wrote.
But the HA still didn't discover my unit. If I check the log file I get below log.
Can you help me what I made wrong?
2022-03-08 21:03:45 - [INFO] TTLOCK2MQTT: Current threads: 1
2022-03-08 21:03:45 - [INFO] TTLOCK2MQTT: Current threads: 1
2022-03-08 21:03:46 - [INFO] TTLOCK2MQTT: Current threads: 1

Can u please send yours addon configuration? Remove yours credentials for security reasons!

Thank you for the fast replay.
of course
Here you are

try change the loglevel to debug  ... let s see if we can find something else

Here you are:

If u have skills with some api client like "postman" try these request: https://api.ttlock.com/v3/gateway/list? ....

u need access your mobile app with the SAME USER that used in TTLOCKIO and add yours devices (gateways) again.

Probably it was a problem.
I add a same user in TTLOCKIO just didn't attached gateway directly, I just gave lock admin permission from another account.
Now I add a gateway but i got this message in the log.

Yes it was the problem. now looks working fine. Thank you for your help!


Add Protobuf Envelope and change doubles to floats

Double to float is only for primitive and styles, others such as
pose and transforms stay as double

@jlisee @Pessimistress double check the change in diff equality for number and let me know if this will be a problem or if there is a better way?

Context.  Encoding KITTI data as doubles resulted in the messages being about 3.5 mb, while GLB is ~2.2mb.  With this change that matches GLB data encoding the message was ~2.0mb

Coverage decreased (-0.05%) to 74.546% when pulling a47e3fa2fa1973aa4d383d8e0f173e458105490a on tpw/protobuf-envelope-floats into 2c9d3aa630b799e6c858a8a9998ef23db2aca764 on master.


Snakemake executing code multiple times

Snakemake v5.10
Describe the bug
Snakemake is executing code that comes before rules multiple times. For example, if I have a print statement before the rules, it will be executed multiple times. In more extreme cases, functions defined before rules (but not explicitly called) are executed before the rules run, which should not happen.

I think this is related to #1297


Wechat QR code is outdated

see coffee-break/20230922/imgs/wechat.png

Unfortunately the QR codes expire every 7 days. Here's an updated QR code.

okay, remove that qrcode may be better?

Well, we'd still need to post it somewhere. But maybe we can figure out a way to let people get their own QR code.
I'll close this issue for now since it's beyond our control. Feel free to follow up here with further questions.


added basic models and enums

ignore client.py i forgot to exclude it when pushing

You should probably document everything (as there is no documentation yet) but otherwise it's okay

You should probably document the things that were added (as there is no documentation yet) but otherwise it's okay

Yea, I'll do that unless someone else wants to


Button colour does not change when clicked

Description

When we click on any white background button through the UI (in above example, the login button) the background changes to black and remains black. This bug needs to be fixed for all buttons in the UI.

assign this to me..i want to work on it

Hey @riyasaxena32. I see a few issues already assigned under your name. Please complete them on priority so we can assign you more tickets. Hope you understand.
Thanks

completed..now please assign me

If is still open i would like to be assigned

Go ahead @gl-cardillo.


Design View for XHTML files

There was a lack of design view for xhtml files that are also valid html files.

@xorandnor Thank for your contribution 👍


chore(build): Use ngc to build lib

This should solve #8 .
I haven't tested if the library still works correctly, but the error message doesn't happen any more.
No hard feelings if you don't merge the PR, but this should point you in the right direction.
Here's what I did:

Use ngc instead of gulp to build the library (so that you get *.metadata.json files)
Publish/pack the library using a copy of the package.json file in the bin folder

If you don't use a copy of the package.json file in the bin folder, you need to have the outDir for tsconfig.json be ./ which will mix up your source and compiled files.  As a consequence of copying the package.json file, all the paths in that file need to be relative to ./bin not ./.
Hope this helps.

by not using the gulp, how would the less file compile?

I’m not sure.  I don’t think this is a full solution - it just gets past that error.  Is there a way to use ngc in your gulp flow instead of tsc?  I don’t know anything about gulp, so I can’t help with that.  You could also run a build step compiling the less into css and then run ngc afterward.  I don’t know what you prefer to do.
Feel free to use this PR or not.

On Mar 24, 2017, at 2:56 PM, Vlad Ioffe<EMAIL_ADDRESS>wrote:
by not using the gulp, how would the less file compile?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/vlio20/ng2-date-picker/pull/33#issuecomment-289114341, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0lQOQPgog9z1CYPAzfGwZRAnR_Yg0Gks5rpBHBgaJpZM4ModVa.

I will check if there is a way to run ngc instead of gulp-typescript. If there is no way to it I will have to do compilation step before that. I will wait with merging this PR - but for sure I will use it as a reference. Thanks @isaacplmann !

@isaacplmann, small question as I am not sure I am familiar with the publishing process. What is the order of scripts that should be executed in order to publish? Why do we need the pub:local script?

I was just using pub:local to test locally without pushing to npm.  You can do the same thing with npm link, I think.  But I’ve had problems with that.

On Mar 24, 2017, at 4:45 PM, Vlad Ioffe<EMAIL_ADDRESS>wrote:
@isaacplmann https://github.com/isaacplmann, small question as I am not sure I am familiar with the publishing process. What is the order of scripts that should be executed in order to publish? Why do we need the pub:local script?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/vlio20/ng2-date-picker/pull/33#issuecomment-289138643, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0lQHPKHR5S9HbZYwDi2GCj1IhxJ6mVks5rpCuGgaJpZM4ModVa.

After compiling (which is working without errors) after applying the following script:
#!/usr/bin/env bash

rm -rf tmp;
mkdir tmp;
cp -r ./src/* ./tmp;

for lessfile in $(find ./tmp -name "*.less"); do
cssfile=$(echo $lessfile | sed 's/\.less$/.css/')
echo "Comiling $lessfile to $cssfile";
rm -f $cssfile;
node_modules/.bin/lessc $lessfile > $cssfile;
done;

for file in $(find ./tmp -name "*.ts"); do
sed -ie 's/.less/.css/g' $file;
done;

rm -rf bin;
node_modules/.bin/ngc -p tsconfig.aot.json;
cp package.json bin;

it seems that the templates and styles are left out of the bin folder - shouldn't this be a problem?
Just to clarify I am using templateUrl and stylesUrl

Templates and styles get compiled into the js files. Double check it worked
though.
On Mar 24, 2017 5:29 PM, "Vlad Ioffe"<EMAIL_ADDRESS>wrote:

After compiling (which is working without errors) after applying the
following script:
#!/usr/bin/env bash
rm -rf tmp;
mkdir tmp;
cp -r ./src/* ./tmp;
for lessfile in $(find ./tmp -name ".less"); do
cssfile=$(echo $lessfile | sed 's/.less$/.css/')echo "Comiling $lessfile to $cssfile";
rm -f $cssfile;
node_modules/.bin/lessc $lessfile > $cssfile;done;
for file in $(find ./tmp -name ".ts"); do
sed -ie 's/.less/.css/g' $file;done;
rm -rf bin;
node_modules/.bin/ngc -p tsconfig.aot.json;
cp package.json bin;
it seems that the templates and styles are left out of the bin folder -
shouldn't this be a problem?
Just to clarify I am using templateUrl and stylesUrl
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vlio20/ng2-date-picker/pull/33#issuecomment-289147489,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0lQPG1PLZVWmkwS9v_Tv9TSQDiWk6zks5rpDWigaJpZM4ModVa
.

This is the relevant part of the code of one of the compiled components:
...
 DpDayPickerComponent.decorators = [
        { type: core_1.Component, args: [{
                    selector: 'dp-day-picker',
                    templateUrl: './dp-day-picker.component.html',
                    styleUrls: ['./dp-day-picker.component.css'],
...

I have created the aot branch with this changes

@isaacplmann , thanks for your help - seems like ngc doesn't inline the templates and styles. Thanks for showing me the way.


high-speed data transmission via UART (no need to transfer images)

This is really a good project, thank you author.
Please tell me, I have two Raspberry Pi 3Bs.
I only need to use it for high-speed data (1 Mbps or higher will be great )transmission via UART (no need to transfer images).
How should I configure it? Thanks a lot

Set the data rates as low as 2, 5 or 6 Mbit/s on the air side. I guess you will want to use FEC for your data, so you will need to use the video module.
My suggestion:
You will not need most of the DroneBridge modules so you can disable them.
You can do that by disabling the service.
Running sudo systemctl disable start_db should do the trick.
Because the service is disabled you will need to run the Wifi-Adapter setup script manually on boot. To do that call python3.7 /home/pi/DroneBridge/startup/init_wifi.py on the air side and python3.7 /home/pi/DroneBridge/startup/init_wifi.py -g on the ground side. After that you can run the data transmission.
Here is some more detailed info on how to use the video module. On the air-side something like
sudo cat myUARTdatasource | video_air -n wifiinterface -n -c 200 -t 2
should read & send.
To receive call sudo video_gnd -n wifiinterface -c 200 -u N | tee output.txt to write to a text file. Adjust this to your needs

If the data rates are low enough some of the cheaper LoRa ESP32 modules could be a better choice. They are less complex, cheaper and will probably give you more range. Not sure if there is a ready to use firmware for your purpose.

Thanks, you are so kind. I will follow your instructions. Thank you again

I have tested your esp32 project and it works very well,  but its UART speed is limit to 115200bps, so. .


Cannot register any compiled plugins

Hello everyone
I can't seem to register any compiled plugins. The plugins already in ..\pGina\Plugins\Core can be registered.
I'm using VS 2019, I followed tutorial.
Can somebody please help?

Got it working, my compile.cmd had some errors.


call setEventInfo() for custom events

Custom events do not currently get a timestamp assigned, instead being logged with an unix epoch value. Create a custom event info, empty for now, so that we can correctly set the timestamp.

cc @harrishancock @dom96


Moving nodes to new service instance leads to corrupt data

Background: The schema has various instances of what amount to diamond dependencies:

service_instance has service_instance_port and node children
node has node_ip_address children
endpoint has service_instance_port and node_ip_address parents

We have observed cases in which a node has endpoints whose service_instance_ports come from different service_instances. We believe this occurs when moving nodes around from one service_instance to another. Seiso updates the node's service_instance reference, but doesn't update/recreate the endpoints, which continue to have service_instance_ports pointing at the old service_instance.
Need to address this. Might pursue a schema simplification, or might simply map out the update logic and apply it.

Here is a query that shows the data inconsistencies:
select
  e.id endpoint,
  nip.id nip,
  node.id node,
  sip.id sip,
  node_si.id node_si,
  node_si.ukey node_si_ukey,
  sip_si.id sip_si,
  sip_si.ukey sip_si_ukey,
  (node_si.id = sip_si.id) same
from
  endpoint e,
  node_ip_address nip,
  node,
  service_instance node_si,
  service_instance_port sip,
  service_instance sip_si
where
  e.node_ip_address_id = nip.id and
  nip.node_id = node.id and
  node.service_instance_id = node_si.id and
  e.service_instance_port_id = sip.id and
  sip.service_instance_id = sip_si.id and
  (node_si.id != sip_si.id)
order by
  e.id;

This one also turns up inconsistencies:
select
  e.id endpoint,
  nip.id nip,
  ipr.id ipr,
  sip.id sip,
  ipr_si.id ipr_si,
  ipr_si.ukey ipr_si_ukey,
  sip_si.id sip_si,
  sip_si.ukey sip_si_ukey,
  (ipr_si.id = sip_si.id) same
from
  endpoint e,
  node_ip_address nip,
  ip_address_role ipr,
  service_instance ipr_si,
  service_instance_port sip,
  service_instance sip_si
where
  e.node_ip_address_id = nip.id and
  nip.ip_address_role_id = ipr.id and
  ipr.service_instance_id = ipr_si.id and
  e.service_instance_port_id = sip.id and
  sip.service_instance_id = sip_si.id and
  (ipr_si.id != sip_si.id)
order by
  e.id;

Interestingly, the <nip, node, ipr, sip> does not have inconsistencies. This has to do with the way NodeIpAddressControllerV1.put() works. It arbitrarily selects the nip.node.si path as the "true" path (even though nip.ipr.si is also available as an option) and then forces the nip.ipr.si path into alignment.
I don't think we want to rely on NodeIpAddress updates to handle the data corruption fallout when we move nodes around, as it's not guaranteed to correct all issues. (It relies on a NodeIpAddress update anytime there's corruption.) But it's useful to understand why the <nip, node, ipr, sip diamond> doesn't have inconsistencies.

The fix for the special case of node movements is to harmonize the family of related entities (service instance, node IP address, IP address role, service instance port, endpoint) at the time of the node update.
There is probably a more general pattern to apply for other sorts of entity movement involving diamond dependencies, but since we don't have other ones right now, we won't worry about it. But this issue will serve as reference material for future cases.


Proposal for inter-figure event passing API

Describe the new feature or enhancement
Proposed here: https://github.com/mne-tools/mne-python/wiki/GSoC-Ideas#2-event-system-for-brain-and-evoked-plots
We have an excellent 3D viewer for brain activations, and multiple ways of viewing evoked data (plot_topo, plot_topomap, plot_joint, etc.). We want to integrate these so that you can, for example, click on a time point in a Brain and have the evoked.plot_topomap update. This should be done using callbacks to allow for customizability.
Describe your proposed implementation
This is too long to fit in an issue description. See this gist: https://gist.github.com/wmvanvliet/fa0b0894d6acffc5fce1461e3a94ae4c
Describe possible alternatives
There are many possible alternatives to this API. For the current one, I aimed for minimal impact on existing code. To not enforce the usage of classes or wrapping matplotlib Figure objects in any way.
Additional context
No response

The proposal looks reasonable. A few minor comments:

Looks pretty simple already!

When subscribing, the API allows to pass
on some additional parameters that to be passed along to the callback function.

I don't think we need this, people should just use functools.partial.

All we need to decide now is the public API and everything else should be private (like the global event dict or whatever).

Implementation wise, we could have a single event channel object that is shared between figures. However, that makes it difficult to ever "unlink" channels. Unlinking is something that needs to happen for example when the user closes one of the figures.

I'm not sure that's explicitly needed. The handler for the figure can use if self.closed: return style logic for the figure-closed case. And as long as we weakref the callback then it shouldn't prevent GC. But maybe I'm missing something.

You use global event_channels in several places but I don't think you need it. If event_channels is mutable (like dict) then you can just assign vars etc. (it'll be in the __closure__ of the functions). The only time you really need global is for assignment like event_channels = ..., but as long as you do that at the module level rather than within a function you're good.

Thanks!
Fair enough. That makes the API even simpler (edit done in the gist)
Yes, but its good to have an actual implementation as well so we can make sure what we propose as API actually works and covers all use cases.
You mean every event handler would need if self.closed: return boilerplate added to it? That doesn't sound like a good tradeoff.
Correct. Changed in Gist.

I think my last comment is that we have to avoid the use of bare "event" here because it already means something in MNE. Maybe FigEvent or UIEvent or something similar.
@drammock can you look at the gist linked at the top and see if you like the structure? I think I'm happy 👍

I didn't have a chance to try it out yet, will do tomorrow. The plan generally looks good to me though.
questions

Should sources for Event include our pyqtgraph-based raw browser?
Nitpick: I think best practice is fig.canvas.draw_idle() (not .draw()) right?
Can we do all this as methods on the figure objects rather than functions in the (already super crowded) MNE namespace?

comment (after hardly any thought about it): I'd probably start off doing it as a mixin; there are some existing figure wrappers in mne/viz/_mpl_figure.py that could be leveraged too.

actually just tried it out. Super slick!  Had to add a plt.ion() to get both figs to show.  Got this traceback when closing the brain figure:
Traceback (most recent call last):
  File "<ipython-input-1-125383a73ddd>", line 123, in delete_event_channel
    publish(fig, event='close')  # Notify subscribers of imminent close
  File "<ipython-input-1-125383a73ddd>", line 165, in publish
    if event.name not in channel:
AttributeError: 'str' object has no attribute 'name'

If you suspect this is an IPython 8.12.0 bug, please report it at:
    https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>
You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
    %config Application.verbose_crash=True

Should sources for Event include our pyqtgraph-based raw browser?

I think we should make as much stuff as helpful publish or subscribe, including matplotlib figures, the mne-qt-browser (possibly at a level of abstraction that it works for both MPL and PyQtGraph-based backends), Brain, etc. You could imagine it could be useful to have two mne-qt-browser instances browse two different Raw instances simultaneously, and we get it easily with this framework I think

Can we do all this as methods on the figure objects rather than functions in the (already super crowded) MNE namespace?

I'm guessing no because it would require subclassing everything, including stuff like the figure returned by plot_evoked. So it makes it less general/easy I think. But I do think the functions should live in mne.viz, that way mne. can be less crowded.


TelemetryClient.TrackTrace creates a new operation_parentId

Consider the following example.
var activity = new Activity("generateEvents");
using (var operationHolder = _telemetry.StartOperation<RequestTelemetry>(activity))
{
_telemetry.TrackTrace($"Trace. Current activity {activity.TraceId}, parent: {activity.Parent.SpanId}. OperationId {telemetryOperation.Telemetry.Context.Operation.Id}, parentId={telemetryOperation.Telemetry.Context.Operation.ParentId}");
}
_telemetry.Flush();

Results in this message in Application Insights:
Trace. Current activity 3a199ac57afe9548800bd166378be4bc, parent: e76b75760867844c. OperationId 3a199ac57afe9548800bd166378be4bc, parentId=|3a199ac57afe9548800bd166378be4bc.e76b75760867844c.

And this operationId: 3a199ac57afe9548800bd166378be4bc in the operation_Id column, which is fine. That matches the operationId reported from the operationHolder.
The operation_parentId however, does not match, and returns
|3a199ac57afe9548800bd166378be4bc.d90e9f42fff8144b., where I would expect it to return the same parentId as the operationHolder, namely |3a199ac57afe9548800bd166378be4bc.e76b75760867844c.
Is this a bug, or am I misunderstanding something with regards to how these ID's work?

var activity = new Activity("generateEvents");
This activity is not started - can you call activity.Start, and see if it matches your expectations? ( i havent fully understood your end goal, sorry so this may not help :( )

I don't think I'm meant to start the activity, considering the method documentation says.
It may also have additional Tags and Baggage to augment telemetry.

I have tried to both start the activity first, via activity.Start(), and use the startOperation that just takes in an operationName parameter, and both result in the same behaviour.
A little more on what I'm trying to do - this issue is related to #1338, where I'm trying to create an integration with Serilog, which properly includes operation_id and operation_parentid.
So basically I'd like to be able to instrument my logs with the operation_parentId - and have it match the one from the TelemetryClient.TrackTrace() - but I'm unable to do so, as the TelemetryClient doesn't seem to use the parentId of the activity started via the startOperation call.
Perhaps I'm going about this all wrong though.

Activity is created to track the request telemetry (with StartOperation). The trace telemetry, tracked in scope of request, becomes a child of the request telemetry, thus trace's parent matcher request's id (and contains Activity spanId).
As I mentioned in #1338, you do not need to change ids, just add OperationCorrelationTelemetryInitializer to your configuration and it will take care of all ids.

Yes, this is due to a missing OperationCorrelationTelemetryInitializer - sorry about that. Closing.


Connect to existing mySQL DB

How Can I connect a new traccar installation to an existing mySQL server?

Here is the documentation:
https://www.traccar.org/mysql/

To be more specific, the server in which the traccar is installed has crashed and I had to make a fresh deployment.
MySQL database was on another server. Now I want to connect the new traccar server to the previous database. While starting, it is showing that the tables exists. Will it be possible to use the old database as it is?
Any configuration change I have to make?

Got the answer from another thread...  Remove “database.changelog” from the config.
https://www.traccar.org/forums/topic/stop-creating-table-when-start-traccar-server/
Thank you :)


fix: handle cancel context in check API error scenarios

The error channel was not being checked for the closed state of the context, which resulted in errors being pushed to the closed error channel.
With this fix, added a check to ensure that the context is not closed before pushing errors to the error channel.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

15 of 15 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 57.746%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
4719

Relevant Lines:
8172

💛  - Coveralls


select: value not updating

I'm using the object variant for the select type like this:
useControls({
  icon: {
    options: { none: '', IconA, IconB },
  },
});

My IconA and IconB are functions (React components if that matters). The returned values object changes when selecting a different value but the leva UI does not seem to update. Is this a bug or am I using it wrong?
leva version is 0.7.2
Codesandbox reproducing the issue: https://codesandbox.io/s/keen-lovelace-ip3kx?file=/src/App.js

Oops, this was closed automatically, but it's indeed a bug that 0.7.3 will fix in a few minutes.
It's a bit tricky since the internal onUpdate function from this lib behaves a bit like setState in the sense that it accepts a function which arguments is the previous value of the input.
Here, since here you pass a function as a value, the internal onUpdate gets confused and runs the function (if you look at your example, the value seems to be correct but it doesn't match the functions passed as options, it matches the result of the function).

Btw, I used your example as a story here: https://leva.pmnd.rs/?path=/story/inputs-select--function-as-options

That was fast! Thanks, that fixes it! 🎉


vmware-workstation: fix fhsenv version

part of #336576
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 363175

x86_64-linux

:white_check_mark: 1 package built:

vmware-workstation

@NixOS/nixpkgs-merge-bot merge


Time left

Hi 🙋♂
I’ve en ender 3 with marlin 2.0.6 fw.
My time left on marlin is 8h
And the end time on Octopod is 2days 7h
You know why this is not correct ?
I’ve no find a parameters in Appli...
🤷♂

Hey @Eldoc62, data shown by OctoPod comes from OctoPrint. I wonder if there is a plugin that is messing up with things? A basic test would be to disable plugins and see how things work. If times are in sycn then enable one plugin at a time until you find the culprit.
Gaston


Snowpack

This issue supersedes https://github.com/Esri/jsapi-resources/issues/299 since we do get questions about Snowpack.
Still doesn't seem like this build tool is stable enough to be promoted to a sample.
Update: tested with snowpack 3.8.8 on node 16 and npm 8. Caching errors are gone but app throws errors on initial load and requires a restart. Dev builds display a minor warning about unscannable package imports, which has a similar flavor to earlier bugs.
Also note there are many bugs being reported on their issues repo that are not being responded to, and Snowpack's last public release was 5 months ago.

Closing. We'll keep an eye on this and if a future release is viable we will re-evaluate it.


Toast component

Please read the Contributors Guidelines and make sure you follow them.
Please write your thoughts and how long you think it will take to complete the issue in the comments.
Toast component
We need to have a Toast component to show alerts to the user. The component should match the design 1:1. The design is available at Figma: https://www.figma.com/design/NIJ68MV1AeI8y283woXiM0/JoyBoy?node-id=461-8570&t=R1Eel6o2kJ8UMjbP-0
You should only design the component. No need to create a toast manager or anything like that. Just the component.
Communication
https://t.me/JoyboyStarknet/949
May the Joy be with you!

I would like to work on this issue as I’ve experience with React Native and already have projects up and running in web.

I would like to work on this as i have years of experience building mobile and webapps.
Estimated delivery timeline for this tasks will be 1 working day.
Approach:
I will carefully review the Figma design then will use the existing styling on the project to create a pixel perfect toast component that matches the design.

Hi @addegbenga This task will be assigned on a first-come, first-served basis since it's a really small task. However we have 2 more issues available

Hi @addegbenga This task will be assigned on a first-come, first-served basis since it's a really small task. However we have 2 more issues available

Okay thanks i will check and drop a comment


add logo for strudel.eth space

Hi! What is your PR about?

[x] Add images for your space
[x] Add custom domain for your space
[ ] Add alias for migrate your space
[ ] Add or edit a skin
~Edit your space with GitHub?~ (deprecated) Please migrate your space to ENS https://docs.snapshot.page/spaces/migrate
~Create your space with GitHub~ (deprecated) Create your space with ENS instead https://docs.snapshot.page/spaces/create

@gokaiorg i've addressed your comment. how to continue, will you reevaluate, or should i open a new PR?

@gokaiorg ping :)


converted onnx/tfjs is twice large as original pytorch model

Hi, I followed this script convert pytorch model to tfjs.
However, the 70MB torch model becomes 140 MB in tfjs, and my IOS device won't load the tfjs model (desktop/Android is OK).
I guess the original torch model could be 16 bit, but during the conversion, it becomes 32 bit.
Do you know if there is a solution to make the model consistent (keep it be 16 bit) during the conversion?
Thank you

problem solve by:
"""
tfjs_convert_command = f"""tensorflowjs_converter
--input_format=tf_saved_model
--output_format=tfjs_graph_model
--signature_name=serving_default
--quantize_float16
--saved_model_tags=serve
"{tf_model_dir}"
"{tfjs_model_dir}"
"""
"""


Why does the non autoregresive transfomer model in fairseq require the prev_output_tokens input?

fairseq includes an implementation of a non autoregressive transformer - which (as much as I understand) means that the whole output sequence is generated in a single forward run (in contrast to autoregresive models where each forward run predicts the next token from the input and the previous predicted tokens)
However, from the code it appears that the models still expects the previous tokens as input:
def forward(self, src_tokens, src_lengths, prev_output_tokens, tgt_tokens, **kwargs)

https://github.com/pytorch/fairseq/blob/master/fairseq/models/nat/nonautoregressive_transformer.py#L78
why is it needed? what data should be provided?
(I plan to use it a a standalone pytorch model, not within the fairseq framework)
(also posted here: https://datascience.stackexchange.com/q/80682/6436)

Looks like this was answered on stackexchange.  If you still have questions, please open a new issue.  Thanks!


Render images inline

If we have a link to an image we could attempt to render the image inline.

Do we have examples of contracts with diagrams?

This component is not specific to contracts. There will be another component for that.

Please assign this to me.

Moving this back to open after 11 days.

Resolved by https://github.com/accordproject/markdown-editor/commit/2ebe560da4a28a33a09a476df8bc1ea3c7fd5063


Accessibility: The keyboard focus comes to container element of button groups and are no-op when activated by pressing enter or spacebar.

Expected
The keyboard focus should come to actionable elements which can be invoked by pressing enter/spacebar. There should be no tab stop on non-actionable elements. They should be removed from tab order.
Actual
The keyboard focus is present on container element which contains a single choice button or group of multiple choice buttons.
WCAG Violation
Focus Order 2.4.3
https://www.w3.org/TR/UNDERSTANDING-WCAG20/navigation-mechanisms-focus-order.html
Keyboard: 2.1.1
https://www.w3.org/WAI/WCAG21/Understanding/keyboard.html

These are accessibility issues of v3 of Web Chat, which has been deprecated and we no longer support unless there are security risks. For accessible Web Chat, please migrate to v4.

This is a bug on Adaptive Cards we talked recently.
The AC card (gray bubble in your screenshot) can be set to be clickable. I mean, the whole card can be set to clickable.
If the card is clickable, it should be focusable.
Unfortunately, there is a bug in AC that even the card is not clickable, it is continued to be focusable. That is the term "rogue tabindex" we used in our offline chat.
Thus, you are seeing the focus didn't jump into the button but the AC card itself. It is because they added a tabindex="0" to the card even it is not clickable.


Server api

Modifying server API as described in #31. I think this is uncontroversial but @belm0 if you want to take a look, feedback is always appreciated.

Thanks for feedback. I'm going to close this and try again in a new PR. I've updated #31 accordingly.


Pending - Update Parcel to next breaking release

Parcel v2.0.0-beta.1 was just released. We'll likely upgrade to the stable version once it's been released:
https://github.com/parcel-bundler/parcel/releases

Can be closed since we already updated to 2.6.2
https://github.com/JordanMartinez/purescript-cookbook/blob/3bbeca8bfe23d73a5c02d978b1a47286a22df262/package.json#L5

Thanks!


Opening a realm with initialSubscriptions while offline blocks its initialisation

Opening a realm after having specified initialSubscriptions in the sync config while offline causes the initialisation to hang. We should be able to open a flexible sync enabled realm with subscriptions even if the device has no connectivity.

Java equivalent for some insight: https://github.com/realm/realm-java/issues/7712

Seems like this is already covered by the logic in https://github.com/realm/realm-kotlin/blob/main/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/SyncConfigurationImpl.kt#L132..L141. This only waits for the initial data if specifically requested with SyncConfiguration.Builder.waitForInitialRemoteData which I guess should be OK.

I can't really figure out a way to test this automatically, but I have verified it manually on Android with the below test and manually shutting down the server during the delay.
    @Test
    fun initialSubscriptions_notBlockingWhenOffline(): Unit = runBlocking {
        println("Shutdown server manually")
        delay(30000)
        val config = SyncConfiguration.Builder(app.currentUser!!, defaultSchema)
            .initialSubscriptions { realm ->
                repeat(10) {
                    add(realm.query<FlexParentObject>("section = $0", it))
                }
            }
            .build()
        Realm.open(config).use {
        }
        println("DONE")
    }

Adding a .waitForInitialRemoteData(10.seconds) will cause a timeout exception and not open the realm, so it seems like the logic is in place.


Markdown is not being rendered properly in the vis description

Example:
https://team.cartodb.com/u/xavijam/viz/9589f8aa-44e9-11e5-a636-0e49835281d6/embed_map

There has been no activity on this issue for several months and that's why we are closing it (automatically). If you think this still needs to be addressed please reopen it. The good news is that we are now working on the next version of CARTO.js, stay tuned.


Add timestamp format option

I think it would be great to have the ability to specify the exact format of the timestamp.
As an example of when this is handy, if I have an ultra-wide layout and put my output window to the side, the timestamp takes much of the readable space (e.g. screenshot below).
In my example, it would be ideal for me to have just the time (no date, no am/pm, maybe no seconds even).
Thanks!

Cool idea. I'm away for a month. Will check back then.

I second this suggestion. Use the time format for elapsed build time as well. As a default, use the system settings for displaying the time stamps/elapsed build time.

Implemented.


Gizmos don't clear on screen when environment background set to "keep"

Godot version
Godot 4 beta 4
System information
Mac os 13 2.3 GHz Dual-Core Intel Core i5 Intel Iris Plus Graphics 640 1536 MB
Issue description
Gizmos freak out in Beta 4 when environment background is set to keep in Mac OS, mobile and froward +.

Steps to reproduce

Add a new WorldEnvironment to the scene
Create a new environment
Set the Background mode to "Keep"
Rotate view in the editor

Minimal reproduction project
No response

This is expected. As mentioned in the class reference, the mode keeps the previous framebuffer data. This allows slightly improving performance in fully indoor scenes, but it will look broken in scene that have their sky exposed in any way.


Weather warnings

Summary

Fixes #13.
Used Material UI for creating alerts.

Demo

Got sufficient approvals, so merged it!

Awesome work guys!


How to disable SWR-devtools on Production

It seems that SWR-devtools (with swr 2.x version) is also working for Production builds.
Is there any option/idea for how to disable it for Production?
Thanks.

Currently, there is no way to disable it.
The latest version of SWRDevTools only sends events while opening the DevTools panel, so it doesn't affect the performance of your application.
But I'll consider providing it. Thank you!

Like React DevTools, specific features are available for prod builds and it won't affect your visitors at all.

Please provide this. Thank you.


[Pre-SVE] TC-DRLK 2.5 set week day schedule results in NOT_FOUND

SHA: 1e3f12041013dd71a53d035dbf2f6d142fc06c4e
platform: nRF52840
all-clusters-app
command
./chip-tool doorlock set-week-day-schedule 1 1 2  15 45 16 55 1 1
results in NOT_FOUND.
Logs:
set-week-day-schedule-issue.log

Duplicate of #19622


SPARK-6245 [SQL] jsonRDD() of empty RDD results in exception

Avoid UnsupportedOperationException from JsonRDD.inferSchema on empty RDD.
Not sure if this is supposed to be an error (but a better one), but it seems like this case can come up if the input is down-sampled so much that nothing is sampled.
Now stuff like this:
sqlContext.jsonRDD(sc.parallelize(List[String]()))

just results in
org.apache.spark.sql.DataFrame = []

Test build #28450 has started for   PR 4971 at commit 3c619e1.

This patch merges cleanly.

LGTM, thanks @srowen

Test build #28450 has finished for   PR 4971 at commit 3c619e1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28450/
Test PASSed.

Test build #28473 has started for   PR 4971 at commit 3699964.

This patch merges cleanly.

Test build #28473 has finished for   PR 4971 at commit 3699964.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28473/
Test PASSed.


on_change argument for Menu widget

Thank you for the work you're doing on this @nicedouble.
I discovered the menu widget on StreamlitAndComponents and it seems to solve all of my issues... except one. I'd like to keep track of the entry the user selected, and add it in the URL. In regular streamlit, I usually do that using a callback (on_change, on_click) and calling st.experimental_set_query_params(). Since there is no on_change parameter for the menu, I can't. Is that something easy to implement?

I haven't worked with st.experimental_set_query_params(), but if the problem lies only in detecting the change itself something like this could help:
MENU_LAST_INDEX ="my_menu_last_index_key"

index = menu(..., return_index=True)
if st.session_state.get(MENU_LAST_INDEX, None) != index:
    # index changed, do something
st.session_state[MENU_LAST_INDEX] = index

I tried an approach like this. Unfortunately, the menu becomes very buggy when I do that. When I troubleshooted, it happens because of st.experimental_set_query_params() specifically (it updates the context, and it seems the apps refreshes). As a result, when I click on a menu item, it directly switches to another one.

Here's a minimal example (following your recommendation):
import streamlit as st
import streamlit_antd_components as sac

st.title("Issue #23")

key = "menu"

index = sac.menu(
    [sac.MenuItem('home'),
     sac.MenuItem('option 1'),
     sac.MenuItem('option 2'),],
    key=key,
    open_all=True,
    return_index=True,
)

if st.session_state.get(key, None) != index:
    st.experimental_set_query_params(**{key: index})
st.session_state[key] = index

Adding the menu index to the URL works here, but the menu selection doesn't work anymore (when I click on something, the highlighted MenuItem switches back to home.
I also setting index= to the session state or query params, but the behavior is off each time.

st.rerun won't help with context?

It does work with that, didn't think of using the rerun. However, this makes the app really slow, and you can see the menu disappear and reappear each time you click.

Interesting. Sorry, I've never had to work with query params in streamlit, so don't know it's side effects.
Did some testing (was planning to use query params some time too), this is the closest I was able to make to what you want:
import streamlit as st
import streamlit_antd_components as sac

st.title("Issue #23")

previous_key = "menu_prev"

previous_index = st.session_state.get(previous_key, 0)
st.experimental_set_query_params(key=previous_index)

index = sac.menu(
    [sac.MenuItem('home'),
     sac.MenuItem('option 1'),
     sac.MenuItem('option 2'),],
     index=st.session_state.get(previous_key, 0),
#    key="menu",
    open_all=True,
    return_index=True,
    key="some_unique_key",
)

if previous_index != index:
    st.session_state[previous_key] = index
    st.rerun()

st.json(st.session_state)

It still blinks shortly, but at least works quite fast & reliable (both param and menu show the same item).
But there are a few observations on my side:

st.experimental_set_query_params(...) works strangely right before st.rerun. It works more reliable at the very start of script. Callbacks should work nicely with it idd.
there's no key in session_state with menu(key='some_key') at any stage at all.

I guess it's only @nicedouble who could help to further. Maybe adding on_change idd or some magic behind the scenes with session_state.

Looks like this https://github.com/streamlit/streamlit/issues/5954

oh, I recall now. I've seen this issue just recently. Here it is https://github.com/streamlit/streamlit/issues/7503 .
The problem is that custom components iframe gets fully reloaded due to change of URL. Setting parameters - you do change URL, so it's as if you do a full reload of the component anew.

And one more addition, judging by https://github.com/streamlit/streamlit/issues/3977 - custom components can't utilize callbacks in the current API state. Correct me if I'm wrong

Thanks for all the links. That makes more sense.
I was actually trying out options_menu menu before, but it doesn't have hierarchical menus or tags attached to individual entries. I'm using options_menu in the meantime, but I'd like to come back to StreamlitAntdComponents eventually.

I checked the solution implemented in streamlit #3977 you linked @CHerSun, and it seems most of it is already implemented in this package here.
If I understand correctly, we'd mostly missing a on_change argument in the menu widget and a call to register_callback(key, on_change). I was unable to test it though, I'm not sure how to build the package release (some issues with apache-arrow.

@nicedouble thank you. Tested on_change today - looks good imo.

It worked for me too, thank you @nicedouble


Not showing text in node after using One Button Prompt.

Not showing text in node after using One Button Prompt.

I can't seem to get the Show Text node to work at all, even without One Button Prompt.

I just tried it, works fine both with One Button Prompt and others.

Uh, tried again this morning. Now it all looks fine:


add exit code to RunCommand funcs error output

Signed-off-by: s3rj1k<EMAIL_ADDRESS>

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

This isn't needed as the caller can extract the exit code through RunError without having to resort to string parsing.


Refactor: Add common DTO interfaces for L/S/A business partners

Description
Refactor code in the bpdm-common module to create base L/S/A business partner interfaces. These interfaces are meant to be the foundation of all L/S/A DTOs in the BPDM modules in later refactorings and features. Concretely this pull request lays the foundation for #458
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

is part of #495


Make power rankings week parameter optional

Make power rankings week parameter optional and default to current week.
Will be submitting a pull request but making issue to associate it with.

Looks good could you just pump the version in setup.py to 1.1.2


Automatically close and release staging repository

This was tested by calling the task closeRepository instead of closeAndReleaseRepository:

Note that this will require a change once this repository is moved to the jaegertracing organization.

When fixing the problem that caused the CI build to fail, I ended up releasing the version 0.0.55 in error (the one I was using for my tests), so, I can confirm it indeed works :-)

Codecov Report

Merging #241 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #241   +/-   ##
=========================================
  Coverage     81.87%   81.87%
  Complexity      524      524
=========================================
  Files            87       87
  Lines          2003     2003
  Branches        236      236
=========================================
  Hits           1640     1640
  Misses          263      263
  Partials        100      100

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 9fd0336...66b3ccc. Read the comment docs.


Login UI

@angshu I have submitted my proposal for Code for GovTech (C4GT) kindly review my proposal as I want to work on this project and I would like to start from login page UI . I have successfully setup docker and this app on my laptop. I want some suggestions from your side that do you want me to include animations as well or keep UI simple without any animation. After this implementation I would work with features of application as well. Kindly guide me with your advice so that I can proceed.

closing this issue, as the C4GT program related issues were picked up by another contributor. if you are interested to work on other areas, please ping us on slack


Update model class referenced in seeder.

What's this PR do?
I made a typo in the ClientTableSeeder... it tries to empty the client collection, which never exists, rather than the clients collection which could have ALL SORTS of things in it!
How should this be reviewed?
👀
Checklist

[ ] Documentation added for changed endpoints.
[ ] Tests added for new features/bug fixes.

For review: @angaither @weerd

💯


Download

Just playing with the scripts, and download link never displays for us.
Also , can we not write the created gifs to our own directory and do away with saveasbro.com ?
Not entirely sure what the saveasbro.com is... aside from analytic gathering
On src inspection, download link always has display:none
Apologies for sounding like a total tit.

Maybe I'll try to get a pull request across sometime...

@anubiann00b Are you still interested?

Sure! It looks like I just need to add the button, make the model, and CSS it.
Quick questions:

How do you download a file? Looking at this StackOverflow answer right now.
What datatype is omgAnimatedGIF here?

fixed by #69


"xformers is not a supported wheel on this platform"

everytime I run the colab now it throws
"ERROR: xformers-0.0.14.dev0-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform."

Also got this issue, seems that xformers build got bonked somehow.

I have built a new XFormer wheel which you can get here:
https://github.com/Mar0xy/xformer-colab/releases/download/0.0.15/xformers-0.0.15.dev0+1515f77.d20221130-cp38-cp38-linux_x86_64.whl

cool thanks @Mar0xy ❤

Gonna close this now as I have seen that everything was update :ok_hand:


Correct error handling from remote backend

This pull request is solving the issue that we encountered on our project.
Basically, the problem is that errors are not in the correct format, that means that you will get no sense error, which cannot help you.
Expected:
When my remote schema fails, I would love to get the error through my local schema.
Reality:
I will get just [object Object] as a message.
This pull request solves it.
In both cases in examples below, remote backend responded with the same result.
Result before:
{
  "errors": [
    {
      "message": "[object Object]",
      "locations": [
        {
          "line": 31,
          "column": 3
        }
      ],
      "path": [
        "pub_verifyMe"
      ]
    }
  ],
  "data": null
}

Result after:
{
  "errors": [
    {
      "message": "Invalid address.",
      "path": [
        "pub_verifyMe"
      ],
      "extensions": {
        "code": "BAD_USER_INPUT",
        "exception": {
          "invalidArgs": [
            "blockchainAddress"
          ],
          "stacktrace": [
            "UserInputError: Invalid address.",
            "    at /app/dist/graphql/verify/resolvers.js:76:40",
            "    at step (/app/dist/graphql/verify/resolvers.js:32:23)",
            "    at Object.throw (/app/dist/graphql/verify/resolvers.js:13:53)",
            "    at rejected (/app/dist/graphql/verify/resolvers.js:5:65)",
            "    at <anonymous>"
          ]
        }
      }
    }
  ],
  "data": null
}

any progress with this pr?

Closed in favor of #1307


Include sha2 flag in create-release README

Hey, I just publicised my membership on the pivotal-cf org. I wasn't aware it was set to private at the time of opening this PR.


[ISSUE 3570] @ConditionalOnProperty trans camelcase to lower case

https://github.com/apache/incubator-shenyu/issues/3570

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3616 (42aff8f) into master (2780c1f) will decrease coverage by 0.48%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3616      +/-   ##
============================================
- Coverage     62.55%   62.07%   -0.49%
+ Complexity     5718     5671      -47
============================================
  Files           869      869
  Lines         24147    24135      -12
  Branches       2206     2202       -4
============================================
- Hits          15105    14981     -124
- Misses         7640     7746     +106
- Partials       1402     1408       +6

Impacted Files
Coverage Δ

...arter/netty/ShenyuNettyWebServerConfiguration.java
23.68% <ø> (ø)

...plugin/logging/rocketmq/LoggingRocketMQPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...ging/elasticsearch/LoggingElasticSearchPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...controller/ShenyuClientHttpRegistryController.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...ogging/rocketmq/body/LoggingServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...ch/body/LoggingElasticSearchServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...logging/elasticsearch/entity/ShenyuRequestLog.java
86.20% <0.00%> (-13.80%)
:arrow_down:

...h/elasticsearch/ElasticSearchLogCollectClient.java
50.00% <0.00%> (-13.05%)
:arrow_down:

...ruptor/RegisterClientServerDisruptorPublisher.java
52.94% <0.00%> (-11.77%)
:arrow_down:

... and 50 more

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 2780c1f...42aff8f. Read the comment docs.

@dragon-zhang could you please help me review it？

sure
------------------ Original ------------------
From: sunshujie1990 @.>
Date: Sat,Jun 25,2022 1:41 PM
To: apache/incubator-shenyu @.>
Cc: dragon-zhang @.>, Mention @.>
Subject: Re: [apache/incubator-shenyu] [ISSUE 3570] @ConditionalOnPropertytrans camelcase to lower case (PR #3616)
@dragon-zhang could you please help me review it？
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Title Screen (WET INK)

We settled on a title for our game "Wet Ink".
We want to use wet paint sign as our inspiration of the title.
Include a fountain/ink pen with the "WET INK" in bold capitals
Nice to have: The title name drips over time

Resolved by #26


Allow intelligent hub browse wiki/issue determine of the exact repository page to go

Currently when you run hub browse it will open the browse and go to the page of the repo under which the command is run at, and this is cool. But when you try hub browse wiki/issue/commit the command cannot determine the exact repo page to go for you automatically. You can do hub browse username/reponame commit to get it work but it's annoying and unproductive, and you can't even config them in a file since you could probably run that command under different repos.
Ideal it should make the decision for you, is this something hard to implement? Really hope to have this feature :smile:

@linesh-simplicity Here's how hub browse work as far as I know:

hub browse - open current repository
hub browse a/b - open a/b repository
hub browse a/b issues- open issues in a/b repository
hub browse -- issues - open issues in current repository

So the first argument after hub browse is the repository you want to browse. It defaults to the current one. However if you want to browse a specific section within the current repository you need to pass -- as repository name so the command will know to skip the repository argument. This is a common convention in various Unix commands including Git and it is documented in the hub manual.

git browse [-u] [[USER/]REPOSITORY] [SUBPAGE]
Open repository's GitHub page in the system's default web browser using open(1) or the BROWSER env variable. If the repository isn't specified, browse opens the page of the  repository  found  in  the
current directory. If SUBPAGE is specified, the browser will open on the specified subpage: one of "wiki", "commits", "issues" or other (the default is "tree"). A specific commit in the default repos-
itory can be opened with git browse -- commit/<COMMIT>. With -u, outputs the URL rather than opening the browser.

Thank you very much on the update! I thought there was no space between -- and wiki and have no much idea that is *nix-like command.
Tried hub browse -- wiki and works well.
:+1: