ModuleNotFound error when attempting to invoke python function via API gateway

Reproduction: https://github.com/davidworkman9/sls-esbuild-repro
ANY /func_py (λ: func_py)
Traceback (most recent call last):
  File "/Users/dave/sls-esbuild-repro/node_modules/serverless-offline/dist/lambda/handler-runner/python-runner/invoke.py", line 76, in <module>

    module = import_module(args.handler_path.replace(os.sep, '.'))
  File<EMAIL_ADDRESS>line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load

  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'myesbuild.mybuild.func_py'

You may need to use package patterns to reference said python handler. This is because we actually ignore python handlers so it should fallback to default Serverless packaging

Thanks @samchungy that did the trick.


How to push servicemonitor to a remote prometheus operator

What did you do?
I have a remote prometheus operator which I will not have access to configure it. Can I create servicemonitor and push the servicemonitor to the remote prometheus operator.
What did you expect to see?
I should be able to configure the remote prometheus operator from my cluster.
What did you see instead? Under which circumstances?
Environment

Prometheus Operator version:
insert image tag or Git SHA here

Kubernetes version information:
insert output of kubectl version here

Kubernetes cluster kind:
insert how you created your cluster: kops, bootkube, tectonic-installer, etc.

Manifests:

insert manifests relevant to the issue

Prometheus Operator Logs:

insert Prometheus Operator logs relevant to the issue here

@yaminisridaran do you mean you have two clusters, one with the workload and one with the operator? Or simply a separate namespace?

Yes. one wth workload and one with operator.

You could play around with the --apiserver flag specifying a remote API-Server. Keep in mind that this is not a supported use-case of the Prometheus Operator.

@yaminisridaran yes, as Max mentions, this is not an intended or supported use of the Prometheus Operator. YMMV. Closing as this is not a supported use-case.


[fix] : change my username

Changes proposed
changed my username of twitter and github
Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

change  avatar link to this
https://github.com/vedanshi555.png


Packaging desktop data

stlite - web assemby

Error in 2nd step metadata : it's impossible to go to 3th step

alternative with pyside (pyqt) : https://medium.com/@stefsmeets/streamlit-pyside-standalone-data-app-815567828f4e

https://github.com/jvcss/PyInstallerStreamlit

other solution : https://github.com/mherrmann/fbs-tutorial?tab=readme-ov-file

https://github.com/pyinstaller/pyinstaller/issues/2566

https://www.pythonguis.com/tutorials/packaging-pyqt6-applications-windows-pyinstaller/


escape backslash, etc

fix #5

Hi @milahu, thanks for the PR. Since the issue was fixed in the latest commit, I will close this PR then.


Support creating tiled maps from code.

Currently the only way to create a map is from a TMX(tiled map editor) file. We really should allow users to create maps via code.

I made a simple crate to create basic tiled::Map structs from code : https://github.com/Imakoala/tiled_builder. It's not really tested and I'm not very happy with the API, but I wanted to post it here to discuss before going further.
Like I don't really know how to integrate it in bevy_tiled. Is there even a way to make a map generated from code an asset to use all the same systems and components ?
Currently, I am making specific bevy_tiled components and functions for generated maps on my fork, but it feels inefficient and hacked together.
The generation is also a bit awkward due to the specificities of the .tmx format reflected on the tiled::Map struct which bevy_tiled doesn't really use.
If I were to refactor my crate, which level do you think I should target ? The tiled::Map struct, the bevy_tiled::Map struct, or something else ?


Add priorityClassName field to helm values and forwarder/runner templates

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Daniel Liang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Downloading terminates on refreshing the page

Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
v3.0.10
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from master?
yes
Are you using the demo app or your own custom app?
demo
What browser and OS are you using?
Chrome-Windows
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What did you do?
I started downloading the video and refreshed the page.
What did you expect to happen?
Downloading to be continued
What actually happened?
Downloading gets terminated
Describe the solution you'd like
1)We can give an alert while user refresh the page during downloading that it can stop the current progess.
2)We can provide a cancel button as soon as downloading starts and then if user clicks on cancel then just refreshing page will cancel downloading. (Not a good suggestion but still can convert bug to feature)
Additional context
Download starts

After Refreshing

The solution to this will be "background fetch" support: #879
So long as content downloads happen in the foreground, in the page itself, reloading or navigating away will necessarily stop that process.
Your suggestion could be a reasonable workaround, to allow the user to cancel the page navigation if it's accidental.  But I believe that would be best at the app level, rather than putting an alert in the library.  My instinct is that apps should really have control over that high-level user experience.

Thank you sir for the information and got the point about your suggestion.


[Feature Request]: Self-signed object storage cert

Feature description
Currently there is no way to easily use a self-signed cert for an object storage connection for ModelMesh
ModelMesh's puller does not mount the cluster's CA bundle, and instead has its own mechanism for checking against certs. This is implemented as a value in the storage-secret here
The problem is, there's no way for the user to specify this cert, given that the storage-secret itself is managed, and the dashboard curates a different secret that gets turned into the storage-secret with no way to add this field since the operator reconciles it away. Given that adding the host cert bundle is not feasible, can there be an additional field at least added to the secret managed by the dashboard so that users could specify a custom self-signed cert for internal deployments
Describe alternatives you've considered
No response
Anything else?
No response

@Xaenalt This is applicable to the KServe serverless deployment topology as well, right?

yes, mostly

Note that it is not enough that the Dashboard saves this information as part of the secret created behind the Data Connection.
This CA bundle info also needs to be properly passed down to the Inference Service so that the call to self-signed S3 works properly.
Also, as previously mentioned, this also likely affects both model serving and Pipelines, so we need to make sure that the Pipeline Server is also able to deal with a self-signed object storage using that CA Bundle.

@Xaenalt @erwangranger I will transfer this issue to ODH if there are no objections, so there is an incubation period for it. Unless it has to go to red-hata-data-services first?

I tested the way using certificate parameter and confirmed that it works fine.
There are 2 options to fix:

we need a way to update storage-config information. Look the storage-config secret is generated based on aws-connection-$NAME secret so I am not sure how easy it is but it is worth to have this option to avoid reconcile loop

Adding additional input box for ca certificate in the data connection.

This is storage-config example for the certificate
apiVersion: v1
kind: Secret
metadata:
  name: storage-config
stringData:
  localMinIO: |
    {
      "type": "s3",
      "access_key_id": "THEACCESSKEY",
      "secret_access_key": "XXXX",
      "endpoint_url": "https://minio.minio.svc:9000/",
      "default_bucket": "modelmesh-example-models",
      "region": "us-south",
      "certificate": "-----BEGIN CERTIFICATE-----\nMIIF6TCCAXXXXXXXXXXXXXTSSE\n-----END CERTIFICATE-----"
     }

The issue has been transferred to ODH


Failure to read code from v1.x Microbit

Seen this problem when trying to extract code from a microbit where we have lost the source.

 ~/ Downloads/ubittool-0.6.0-mac-cli read-code
Executing: Extract the MicroPython code to a file or print it.
MicroPython code will be output to console.
Reading the micro:bit flash contents...
Traceback (most recent call last):
File "ubittool/cmds.py", line 164, in read_python_code
File "uflash.py", line 200, in extract_script
File "uflash.py", line 128, in unhexlify
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 1: invalid start byte

Error: Could not decode the MicroPython code from flash
 ~/

I have attached the output of the read-flash command for reference.
DETAILS.TXT
read-flash-output.txt.gz

Hi @kingsfleet,
Was this a MakeCode or Python programme?
Unfortunately that feature only works for very old Python programmes.

This was with MakeCode using blocks unfortunately it glitched and lost the undo buffer loosing #1 son's Christmas light project. I was hoping to get the code back out. Is there anything useful in the hex dump that I can use?

Unfortunately not, sorry, if it was done in a recent version of MakeCode (from the last year or so) then the metadata with the code is no longer stored in flash.
MakeCode can have several projects saved in the browser, is it worth a look to see if an old project there might be the one you lost, and if you have an old hex file with that project in your downloads folder you can still load it back into the editor.


TaskbarX not working on Windows 10 Build 19043.928

Hi, I am currently reinstalling Windows on my PC, when I load TaskbarX everything works fine but when I click apply or Restart TaskbarX it no longer works

nope nevermind didnt change anything still doesnt work

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


Question:json report generation

Hello,
Is it possible with the json reporter to access the results datas after each scenario execution? Currently the json file is generated only at the end of all tests execution, I would like to have more granularity to send the results more frequently to my third party test management tool.

Hi,
If you mean Cucumber json results, they are available only at the reporter end.
If you mean Playwright's json results, they are available in [onTestEnd(https://playwright.dev/docs/api/class-reporter#reporter-on-step-end) callbacks of the custom reporter API.


feat(grid): show border for column resize

Show colored border for column resize instead of a drag icon.
https://uipath.atlassian.net/browse/PLT-29993

delay 200ms on hover enter
for hover use hover token
for focus use focus token

pls rebase


Speed up slow queries

Address slow PostgreSQL search queries by putting the ORDER BY, OFFSET and LIMIT clauses in an outer query.
Closes AB#254
User changes

None

Super User changes

None

Admin changes

None

System admin changes

[ ] anet.yml or anet-dictionary.yml needs change
[ ] db needs migration
[ ] documentation has changed
[ ] graphql schema has changed

Checklist

[x] Described the user behavior in PR body
[x] Referenced/updated all related issues
[x] commits follow a repo#issue: Title title format and these 7 rules
[x] commits have a clean history, otherwise PR may be squash-merged
[ ] Added and/or updated unit tests
[ ] Added and/or updated e2e tests
[ ] Added and/or updated data migrations
[ ] Updated documentation
[x] Resolved all build errors and warnings
[ ] Opened debt issues for anything not resolved here

@gjvoosten I fail to see where the actual ORDER BY, OFFSET and LIMIT are added the outer query.

@gjvoosten I fail to see where the actual ORDER BY, OFFSET and LIMIT are added the outer query.

ORDER BY: https://github.com/NCI-Agency/anet/blob/cf0e05dab5117d6fb0e5d5c85cd7085ae4b5dfe5/src/main/java/mil/dds/anet/search/AbstractSearchQueryBuilder.java#L299
OFFSET/LIMIT: https://github.com/NCI-Agency/anet/blob/cf0e05dab5117d6fb0e5d5c85cd7085ae4b5dfe5/src/main/java/mil/dds/anet/search/pg/PostgresqlSearchQueryBuilder.java#L63


Feature: Show legend image in Layer Control

Hi there. I have an extensive set of groupedOverlays and a selector box users can choose from about 20 layers. Is there a way I could embed a GeoServer legend graphic right, ideally between the checkbox and layer title? Thanks!

You might be able to use HTML for the layer name, and include the image that way. You'll need to include some CSS to style it properly.
Alternatively, someone in the community might be willing to fork the project and add that feature, if it hasn't been done already.


Having the davlock file under the mapped volume can be problematic.

Apache requires that the davlock file is writable by the user and group of the httpd process.  In my case, the volume maps to a samba share which gave it a different UID.  This caused a cryptic error on startup.
My workaround was to map the /var/lib/dav/data directory instead, which is not what the docs specified.  It might be useful to have the docs explain this subtlety.

This ended up being part of a larger problem with permissions on my end.  Once my volume was mapped to uid/gid 82 (to match www-data) everything started working.


Differentiable version of FNMR@FMR metric to use it as loss

A paper for inspiration: link.

@deepslug Nope, not enough resources. Do you want to try it? If so, the idea is that we want to adapt the approach from this paper and make FNMR@FMR metric differentiable.

Unfortunately, I don't have enough resources either, but this is something I’d bring on top of my (and hopefully your) list!

Got it!

As I mentioned in my previous comment on the post, I work in the field of biometrics and am keen on seeing the differential version of FNMR@FMR as it can directly optimize the metric. Given the recent active development of OML, I wanted to add this comment to bump up the thread :)

@deepslug thank you for you comment. I'd like to add that we've already implemented similar idea in OML. There is SurrogatePricisonLoss -- differentiable version of Precision metric. Experiments showed it was able to perform on SOTA level. So, it would be interesting to apply similar idea to FNMR@FMR.
Contributors are welcome!


fix(curriculum): fixed bug with resetting playlist in music player challenge

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #56095

This code fixes the issue of the Reset Button disappearing when the user deletes all of the songs and clicks shuffle by returning from the shuffle when the playlist is empty. The logic is fixed and the Reset Button remains on the screen when the playlist is empty and shuffled.

All code need to be added by the student in some step, you can't just add a line of code everywhere without adding the instructions to add it and the test to test student code.
Also, e2e tests are not for curriculum code.

closing as stale.
If you want to continue working on this let us know, and we can reopen this PR.


NOTICE - clickpy-clickhouse.clickchouse.com -> sql-clickhouse.clickhouse.com

We are unifying the sql.clickhouse.com and clickpy.clickhouse.com instances. Users from 03/12/24 should connect to the sql-clickhouse.com instance if they want to access this data directly i.e.
clickhouse client -h sql-clickhouse.clickhouse.com --user demo --secure

Note also user has changed to demo


Markdown readme.md is not working

Describe the bug
Create the following metadata (readme.md.dbmeta.json) for readme.md, the readme content on the page will not be displayed.
{
    "description": null,
    "labels": [],
    "hidden": true,
    "password": null,
    "hash_required": false
}

Expected behavior
When hidden is true, the readme.md content is also displayed.
Environment

dir-browser version: 3.3.1
OS: Windows
Browser: Chrome

This is actually by design, I don't want to hide public files (e.g. readme.md is also visible in a GitHub repo file list). But I will consider adding a special file like "dbmeta.md" which will render just markdown and is hidden from the list.

Implemented in v3.5 https://dir-demo.adriansoftware.de/examples/markdown/


[Feature] Create a countdown at the start of the game

Is your feature request related to a problem? Please describe.
Sometimes when starting the game you need to jump immediately and that can be a very quick death.
Describe the solution you'd like
A 3-second countdown
Describe alternatives you've considered
Starting always with a blank level (those two solutions can work together).
Additional context
N/A

#68 starting always with a blank level


Added port to endpoint brokers - resolves #1521

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
Added port to the response of the brokers endpoint
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[x ] Manually (please, describe, if necessary) (postman calls)
[x ] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x ] I have performed a self-review of my own code
[x ] I have commented my code, particularly in hard-to-understand areas
[x ] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x ] My changes generate no new warnings (e.g. Sonar is happy)
[x ] I have added tests that prove my fix is effective or that my feature works
[x ] New and existing unit tests pass locally with my changes
[x ] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

Custom deployment removed

Hi, I have added the port to the requested mapper.


The Migration Guide's link to the v-slot API documentation is broken

Version
n/a
Reproduction link
vue-router docs
Steps to reproduce

Go to https://router.vuejs.org/guide/migration/index.html#removal-of-event-and-tag-props-in-router-link
Click "v-slot API"

See no documentation on the v-slot API

What is expected?
You should be able to see the API docs explaining what the v-slot API is.
What is actually happening?
The docs homepage is shown instead - the #router-link-s-v-slot anchor goes nowhere.

The vue-router v3 docs actually show what I expected to see.
I was able to find this page that explained what the v-slot API was, but it's not linked to from the Migration Guide.

The link should be indeed updated. Can you open a pull request to update the link?

@posva thanks for replying so quickly.
I would've opened a PR, but I think it's a bigger job than just updating the link.
The v-slot API isn't mentioned anywhere in the API docs (v-slot does not appear on the page), and I don't know enough about it to know what to write; I would probably just end up copying the v3 docs - does it behave exactly the same in v4 as in v3?
The v4 docs seem quite different in general to v3, almost more like JSDoc converted to Markdown than documentation.


Logo fade on footer scroll

Logo text should fade out only when footer NGO name comes into view and it should fade it as soon as footer NGO name is out of view

The text from the logo section does not fade out when the name of the company is visible from the footer section
The name of the company should not be visible if it is on the screen either from the intro section or from the footer section

Try to clear the cache and let's take it from there, see if it still does it. On my side I see in works fine on Chrome and Mozilla both Desktop and mobile. What browser is it?

I did that and it work now


tip: {…} can contain PointerOptions

closes #2134

Oops, already fixed this in #2132 28bdcafe410adfedb4f209b37c9c7654a31f1bef. We don’t want to add this to the TipOptions (i.e., the options to the tip mark, since the tip mark doesn’t necessitate the use of the pointer transform); we instead want to allow it in the tip mark option.


perf(balancer) reduce table resizes and table creation

Summary
Reduces table creation and table resizes on balancer by utilizing a tablepool.

@bungle Is this still being persued or are we dropping this one?

@bungle Is this PR already in progress?

@bungle please rebase this one
@locao assigning this to you for review. Thanks!

@bungle Could you resolve the conflicts on this PR?

@hbagdi yes, I am still looking if this has any benefits.


Project version stored in document store

Previously we were just logging the PackageVersion metadata extracted from docker manifests.
Now call the metadata manager to store the metadata in the document store.

I discovered that there is no good way to start unit tests with an empty database in a dev environment. Rather than create a solution to that problem, I worked around it by adding a feature that was not needed yet. When the metadata manager tries to add a piece of metadata to the document store and the document store complains that it is a duplicate, the metadata manager treats that as a normal outcome and returns the contents of the duplicated metadata.

@fishseabowl

Can we change untrusted_key_pair to another name? untrusted looks not good.

It is exactly what it says it is. A key pair that is not trusted. It is intended only for testing. Right now we do not yet have trusted keys based on identities stored in the blockchain.
We do not yet have trusted key pairs. We need to be able to test with signed metadata. For now we can unit test with a key pair that will not be trusted. This key is not really useful for any purpose other than unit testing things.
Once we have trusted key pairs there will be additional tests. We may even remove the untrusted key pair. For now, we need it.


[feature][pdqtest-2.1] make clean target to remove /pkg directory

and also spec/fixtures/modules

done :)


how to add time input to Viewer.render_fn

Hi there, I'm looking to add time input to render_fn that modifies the impacts the means of gaussian splatting, is there a way to do this?

Hello!
We don't have a render_fn in Viser.
Are you using nerfview? In that case it seems doable but this repository might not be the right place to file an issue; your best is probably to add a time argument where render_fn is called: https://github.com/hangg7/nerfview/blob/39896163efb0e48fabfb1a8f6672268551cae521/nerfview/_renderer.py#L144


Unblock compaction by setting tx during WAL replay

This is an idea for #317
Sadly the bytes on the heap read from the runtime don't seem to significantly improve with this approach. :thinking:

This chart shows the memory heap in bytes every 128 inserts

Setting the tx and highWatermark has now been implemented (the yellow line).


Smaller number of GPUs vs performance

I only have 4 GPUs to train on, and get lower mean iou than yours (about 1 point). I know that the number of GPU matters because of batch normalization, but I still wonder if the difference is so significant. Have you trained on 4 GPUs and compared with the results trained on 8 GPUs? Or do you know any paper that does this sort of comparison that I can refer to? Thank you.

Wait, I think I need to know: is the miou in your paper evaluated using sliding window evaluation or pooling (what is this?) or just one pass on the original images (which should also be the number in the checkpoint name during training)?

@kwea123 Pooling = one pass + flipping
The mIoU in my paper (for ablation study) is evaluated using one pass, and it is the number in the checkpoint name. The mIoU (for sota comparison) is evaluated using mutli-scale + sliding + flipping.
Your numbers look good. I have the same numbers.

For your question on smaller number of GPUs vs performance
I have trained with 4 GPUs, 6 GPUs and 8 GPUs before. Compared to normal setting (using 8 GPUs), usually 4 GPUs give me about 0.7% mIoU decrease. 6 GPUs give me about 0.3% mIoU decrease. If you have try on less than 4 GPUs, the number starts to drop significantly because the batch size is too small. Hope this is helpful.

Thanks. So I think my 1% decrease is normal. I'll make the comparison between the methods first using 4 GPUs than compare with your results once I have access to 8 GPUs.

Sorry, I use the exact same script to train on both 4 and 8 GPUs (the default script with snapshot mapillary and maxSkip 3), but I got lower mIoU when training on 8 GPUs, and the result is much lower than what you report in the paper. I have around 80.5 for 4 GPU and 80.2 for 8 GPU. Can you tell where I am wrong?

It seems from the plot that, the training IoU of 8 GPU (red) is higher than 4 GPU (orange).
Did these numbers (80.5 for 4 GPU and 80.2 for 8 GPU) comes from validation?

Yes, this is the training graph for original training set. The 80.5 and 80.2 are for +-3. What I wanted to show with this graph is that I cannot reach your high mIoU: I only get 80.04 but you report 80.85.
The numbers are all taken from the checkpoint name, so from validation yes.

I found the problem. I was using mapillary commercial version to pretrain. After changing to mapillary research version, I get high accuracy as your paper.


streamlite-vertical-slider 2.5.5

{package} {version} {:snowflake:}
Destination channel: {Snowflake | defaults}
Links

{ticket_number}
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

...

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_e2rg4a0j4e/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:1: patch_must_be_in_build: patch must be in build when source/patches is set.
===== Final Report: =====
1 Error and 0 Warnings were found


fixes 433: convert latin1 to utf for filenames return by multer

Closes https://github.com/getodk/central/issues/433
Root cause:
Multer is parsing filename with latin1 encoding instead of UTF-8. https://github.com/expressjs/multer/issues/1104
What has been done to verify that this works as intended?

Tested locally + integration test

Why is this the best possible solution? Were any other approaches considered?
Created local middleware to convert latin1 encoding to utf8
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
This is localized changed, if submission are tested from Enketo and Collect are tested then we should be good
Does this change require updates to the API documentation? If so, please update docs/api.md as part of this PR.
None
Before submitting this PR, please make sure you have:

[x] run make test-full and confirmed all checks still pass OR confirm CircleCI build passes
[x] verified that any code from external sources are properly credited in comments or that everything is internally sourced

Thank you @sadiqkhoja
Not great that a seemingly routine dependency version bump led to data loss because of a subdependency change. A good reminder that we are at the mercy of our dependencies. Not sure there's anything we could have done differently to catch this one.


Allow to disable channel cache by type

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[ ] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
You can disable cache for channels like Category or VoiceChannel which will reduce the memory footprint for bots that don't need these channel types for anything. This will not change existing behavior unless people use setDisabledCacheFlags(EnumSet.allOf(CacheFlag.class)) or similar.

This is going to cause a backup of cached events for channels that are not created due to their cacheflag being disabled
https://github.com/DV8FromTheWorld/JDA/blob/459a19aa2b5fa90ed3eb4e0509a5f6502b5d35da/src/main/java/net/dv8tion/jda/internal/handle/MessageCreateHandler.java#L68

That isn't an issue because we have a limit to the number of cached events:
public static final long TIMEOUT_AMOUNT = 100;

https://github.com/DV8FromTheWorld/JDA/blob/6ba908ca54b1888211ffa754aa73098c3e77c0fd/src/main/java/net/dv8tion/jda/internal/handle/EventCache.java#L40
https://github.com/DV8FromTheWorld/JDA/blob/6ba908ca54b1888211ffa754aa73098c3e77c0fd/src/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java#L916

Even with the timeout stuff, isn't this gonna result in messages being printed about "a large amount of events being cached?"

No there are no warnings about the event cache.

It's been a while since this PR was created. Might need to look at the implications of the .enableCache calls in createLight and createDefault.
Otherwise, looks good. Lets get it in.

it should probably wait for stage channels support to be added

¯_(ツ)_/¯
No real strong reason to wait. We can always add support for the stage channels to CacheFlag when we add support for stage channels.

Is this being help off on until StageChannels are done @MinnDevelopment ?

I need to read myself back in on this PR and make some decisions regarding which events to cache and if we can be smarter about it.

These cache settings raise the question of how ThreadChannel#getParentChannel is currently implemented. Why does it use a cache getter instead of a field?


change to a smaller favicon

currently, the icon isn't looking so good

after the update it looks like that:

creating a pull request now...

Seems like this was merged and can be closed :)

Merged in #119, closing issue (re-open if necessary)


node rejected in membership takes tasks

A node is rejected in membership shows its status as READY and takes task assignment.
dchen@vm2:~$  sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node reject vm4

dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock node ls
ID             Name  Membership  Status  Availability  Manager status
--             ----  ----------  ------  ------------  --------------
0mituaxdsn5o5  vm4   REJECTED    READY   ACTIVE
3m83jpfjur4o8  vm3   ACCEPTED    READY   ACTIVE        REACHABLE
3o7w5uzi8bm2r  vm2   ACCEPTED    READY   ACTIVE        REACHABLE *

dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock service create --mode=global --image redis --name test1
8mhrai875jeu5w4t0d1s66ut9

dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock service ls
ID                         Name   Image  Instances
--                         ----   -----  ---------
8mhrai875jeu5w4t0d1s66ut9  test1  redis  global

dchen@vm2:~$ sudo ./swarmctl -s /var/lib/docker/swarm/control.sock task ls
ID                         Service  Desired State  Last State              Node
--                         -------  -------------  ----------              ----
5tvc6557vvysko03xv8vn4ap8  test1.0  RUNNING        RUNNING 15 seconds ago  vm3
8g432ql6k0kicejyth9b5ir29  test1.0  RUNNING        RUNNING 15 seconds ago  vm2
9idhjotqavfkhrluifkss7j9h  test1.0  RUNNING        RUNNING 16 seconds ago  vm4

ping @diogomonica
Do we still need to add support for blocking (check that node is not set to REJECT as part of authorization, and kick the connection when it gets set to REJECT)?

Yes we do. But I'm not sure if we should have REJECT or just overload the RM. /cc @aluzzardi

Synced with @diogomonica - we're going to remove REJECT and only have accept or rm.

sgtm

On Jun 9, 2016, at 10:16, Andrea Luzzardi<EMAIL_ADDRESS>wrote:
Synced with @diogomonica - we're going to remove REJECT and only have accept or rm.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


What does a local composer module look like?

We need to manually create an example of a local composer module so we know what we're targeting (I've never worked with them before).  It's (apparently?) possibly to point composer.json at a local file path where it will look for packages.
Give this module enough configuration that Magento can see it, and frontend routing configuration + a single frontend controller we we can be sure the basic stuff works.

Looks like this.  Closing as done.
https://github.com/astorm/pestle-composer-local


fix: HTTP -> HTTPS for go.microsoft links

Summary
Describe your changes here.
Fixes #Issue_Number (if available)

Submitted a PR so these get cleaned up by the VS Code plug-in going forward https://github.com/microsoft/vscode-docs-authoring/pull/346


Additional provision script for transactor clients

Like transactor, but also pulls medichain-client and configures /mnt/data instead of /mnt/transactor.

i kno it's a bit of a pain (& would be happy to help) but it would nice to have this in a role so we can reuse it/compose it. looks good

I've been thinking of refactoring both provisioning scripts to extract some roles, so will do.

I think I'll leave the role refactoring for next pass; the pain level exceeds my current tolerance :)


Add eu-west-2 bucket mapping

Add bucket mapping for the eu-west-2 region.
Of course the bucket will also need to be created and populated.

Hi @dougneal, I'm afraid I can't accept this request as I can't create the bucket for eu-west-2. It seems someone has already taken it

That's pretty annoying! And whoever has selfishly taken that bucket name (presumably to do the same thing I'm trying to do) won't even benefit from having its contents maintained upstream 😞
I've updated the PR to map eu-west-2 to the eu-west-1 bucket - would that be acceptable?

I've created snapshots-tool-aurora-eu-west-2-real (sorry, it's the best I could come up with)
Pointing to the bucket in eu-west-1 will not work unfortunately. The code needs to be in the same region where the Lambda functions are being deployed

Oh cool, thanks. I'll update the PR now.


Translation -> anim_translate and co + unit tests

PR Checklist
If you are contributing to Javis.jl, please make sure you are able to check off each item on this list:

[ ] Did I update CHANGELOG.md with whatever changes/features I added with this PR?
[ ] Did I make sure to only change the part of the file where I introduced a new change/feature?
[ ] Did I cover all corner cases to be close to 100% test coverage (if applicable)?
[ ] Did I properly add Javis dependencies to the Project.toml + set an upper bound of the dependency (if applicable)?
[ ] Did I properly add test dependencies to the test directory (if applicable)?
[ ] Did I check relevant tutorials that may be affected by changes in this PR?
[ ] Did I clearly articulate why this PR was made the way it was and how it was made?

Link to relevant issue(s)
Closes #246
How did you address these issues with this PR? What methods did you use?
anim_X is now converted to a struct which holds the information from and to. It can be either a point, value, scale whatever or an Object. The interpolation is done on the range from 0.0 to 1.0 with Animations.jl. When actually getting the value like a point for translate there is a new step now: interpolation_to_transition_val which takes the interpolation value and converts it to a transition value like Point or Scale.
It probably needs more tests and docstring changes but docstrings are also changed in #237 so that should be revviewed first anyway.

The functionality should be working now. Thorough tests with more test cases would be good. I haven't changed docstrings yet.
Will do so later. You can review this already for functionality and syntax changes if you want @TheCedarPrince and if everything makes sense I can add docstrings or do you want me to add docstrings before?


Cargo.toml: Update PyO3 to 0.22.1

Updates the PyO3 dependency to 0.22.1 in Cargo.toml. This should help with Python 3.13 compatibility.

I have no idea about the CI failures. There is a migration guide for PyO3, it might be helpful: https://pyo3.rs/v0.22.1/migration

@EwoutH you might wanna take a look at https://github.com/crate-py/rpds/pull/79 for a similar migration to PyO3 0.22.1

Thanks for the reference! Unfortunately, I can't fix this myself, I'm not a Rust dev. Just following the rabbit hole of upstream dependencies.

you'll need to update Cargo.lock too.
I would say these are real compatibility issues related to the new PyO3 API that will need to be fixed.

Thanks, I'm going to close this PR, since I'm not going to be able to fix it. We can use #276 to track this issue further.


open-webui: 0.4.4 -> 0.4.5

Diff: https://github.com/open-webui/open-webui/compare/v0.4.4..v0.4.5
Changelog: https://github.com/open-webui/open-webui/releases/tag/v0.4.5

Things done

Built on platform(s)

[ ] 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

[ ] Fits CONTRIBUTING.md.

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

@ofborg build open-webui


Consul CLI

When I want to use the cli I run:
docker run --rm -e CONSUL_RPC_ADDR=addr:8400 -ti --entrypoint /bin/bash progrium/consul

Then I can run consul members.
Is there an easier way or could you support this in your start script?

@laktak docker exec [container_name | ID] consul members

Great, thanks!


Add tests for getCompletion

Purpose
Continuing on #2
Approach
Add test for the non-assistant path in getCompletion. Leave assistant path untested per comment here.

Hmm. Pretty sure that test passed for me locally. Maybe it's a weird line ending thing. Can check tomorrow.

Not sure why on the mac the test passed but on linux it did not. Was able to reproduce locally using act.
Quick tip - if you want your act run on this project to speed up, remove line 50 of the package.json temporarily. Not sure why we need playwright actually...this is not a web app.

🙌


Add show-whitespaces feature

Epilogue
Before explaining how this feature works, I'd like to outline all the things I tried to implement this feature.
1. Custom Font
Just like @bfred-it in https://github.com/sindresorhus/refined-github/issues/588#issuecomment-324617316, I tried to create a custom font using FontForge adding glyps to the codepoints "Space" (U+0020), "New Line" (U+000A), and "Horizontal Tabulation" (U+0009).
As as expected it failed, the tab glyph was substitued by space glyph, and new line glyph was outright ignored. This looks like that the visual for control characters is handled by the application parsing the text and not by the font being used. That may be the reason no font in the world contains any glyph information placed in these codepoints, so the font-fallback ends up at the application handling that code point.
2. Font Ligatures
I have a feeling that this can be solved using font ligatures, providing glyphs information for how these whitespace characters interact with codepoints in the Basic Multilingual Plane (BMP).
I have no way to test this, I don't even know if this is possible, end of story.
3. Replacing Characters
The characters space and tab can be easily replaced with any of the codepoint in Unicode's Private Use Area plane. But as mentioned above, we loose semantics for control characters.
This PR
Closes #588.
With the above tests in consideration, I don't know if this feature can be implemented in any other way except for doing DOM manipulations. If there is I'm all ears.
This PR is a lot similar to #1989, doing a heck of lot DOM manipulations. At the start I had concerns about performance, but as it seems this feature does look a bit light that #1989.
Below are the list of characters and their substitution characters for reference.
White-space Characters

Entity
Replacement character
Unicode name
Unicode number
HTML-code

Space
•
"Bullet"
U+2022
•

Tab
→
"Rightwards Arrow"
U+2192
→

New Line (Disabled)
¬
"Not Sign"
U+00AC
¬

Note: The part to enable "New Line" is disabled for now, as it has unusual behavior while displayed on empty lines (where it is the only child). And also because how it interacts when there is no new-line at the end of file. Yes, there is commented code committed to Git.

Testing this PR

Blob file: https://github.com/sindresorhus/refined-github/blob/master/source/features/indented-code-wrapping.tsx.
PR files: https://github.com/sindresorhus/refined-github/pull/1989/files.
PR conversation: https://github.com/sindresorhus/refined-github/pull/1881, https://github.com/parcel-bundler/parcel/pull/2967.
Single commit: https://github.com/sindresorhus/refined-github/commit/3666b19ecc2b33f195100eff405868ffd9588610.
Compare view: https://github.com/sindresorhus/refined-github/compare/master...notlmn:show-whitespaces.
Gist: https://gist.github.com/notlmn/fe7f722971dea345379850bd64516fd2 (with mixed indentation and trailing white-spaces).
Embedded Code: https://github.com/sindresorhus/refined-github/blob/2c4e7a851784d28c179d474c5a459496b8942163/source/features/clean-discussions.css#L10-L15

Also works on all lazy-loaded and demand-loaded diff and file views.
Possible Future Additions

Show white-space character in code blocks inside comments.
This is not a part of the current PR, as code blocks in comments are not separated into lines. Will see what I can do later.

Display every "invisible" (non-printable) character outside BMP using some method.
Generalizing this feature to show-invisibles. Can be used especially to detect file corruptions. But this might be heavy on the browser (way too many DOM nodes).

To show or hide white-space characters per file.

Screenshots

One problem I see is that embedded code has empty spaces add to the start and end of each line.

A problem from GitHub's end, messes with copy and pasting code.
/cc @lukehefson @shayfrendt

Your fork has an obsolete tag, do you mind deleting it?
git tag -d hotfix
git push --delete origin hotfix

With the latest commit, I managed to enable showing new-line characters. I can't decide this yet, but is this a bit distracting?

On hold. Let's solve #2085 first

Is this ready? If not what's left to do?
@notlmn Can you fix the merge conflict?

One final thing to consider: https://github.com/sindresorhus/refined-github/pull/2073#issuecomment-495856632. Otherwise, everything is fine.

A problem from GitHub's end, messes with copy and pasting code.

Is it? I don't have trouble copy-pasting code on GitHub. Can you link to a specific troublesome code?

Can you link to code with that issue?

The embedded code example in this PR's description, under the test section.

The embedded code example in this PR's description

Indeed. This might make the bug more visible and some might open an issue, so we'll have to be ready to defer bug reports to<EMAIL_ADDRESS>

(tested https://github.com/sindresorhus/refined-github/pull/2185)

Merging this because I want to see it in the wild and it's received enough reviews for now. These 2 suggestions would still be good though:

https://github.com/sindresorhus/refined-github/pull/2087#issuecomment-511219223
https://github.com/sindresorhus/refined-github/pull/2073#discussion_r299819540

Thank you for this feature ^_^
I hope it's received well and doesn't need a disable toggle

This is a great feature, but it's frustrating that it's enabled by default.
I'm very used to reading code on GitHub, and right now don't have time to go hunting for what suddenly changed (but I did, and ended up finding it here after scrolling through the long list of GHR options one by one) to restore things to how they were.
Perhaps this could be disabled by default, or provide a toggle at the top of code views to "show whitespace characters" (like the "show whitespace" option in PRs)?

I wanted this feature too, but I expected to see an toggle button. 🤔

I'm personally fine with the whitespaces being made visible by default, but I'd rather retain the ability to select text including whitespace. With this feature, that's only possible if I start the selection in the non-whitespace part.
Even if I'm not particularly interested in selecting the whitespace per se, the disabling of selections makes it hard to select text that is surrounded by whitespace, since I need to place the cursor exactly at the word border (e.g the start of the non-whitespace part of a line) for the text selection to be enabled, which is definitely cumbersome.

I don't necessarily mind this feature being enabled by default and yet more of a heads-up would have been nice. For instance—should https://github.com/sindresorhus/refined-github/issues/1137 have been bumped?

I do mind this being enabled by default ... was very unexpected and imo it's just noise.

@wearhere we don’t update that page that often because, once a month usually

I also came here because I found this distracting while reviewing PRs. I first disabled Refined Github to check whether it was Github or Refined that added it. Then I spent 10 minutes scrolling through the options to find out which one I should disable.
Having a button and defaulting to off would be my choice https://github.com/sindresorhus/refined-github/issues/2240

I'm surprised to see internal whitespace made visible here. Usually I only see leading/trailing whitespace. Because of this, I had to disable the option. It made it too difficult to read.

The author of this PR is surprised to see how many people find this feature distracting. The option to view whitespace per file was already mentioned in the original post of this PR, but was merged anyway because this PR had way too many reviews already and was already almost 2 months old, and assuming there would be future possible additions, and yes the author agrees of that.
Meanwhile the author of this PR is

tired after attending a very long hackathon
going through a slight identity crisis, kind of
feeling shitty everyday after returning from college recently

The author would like to mention the users that they are always welcome to disable this feature in the extension settings at any point, which is why this opiniated extension has added the ability to disable features in the first place because too many people had specific requirements.
The author would like to get back to this issue as soon as they can and would also like to link to this xkcd comic hoping that the users would calm down.
Feedback is always appreciated.
Peace 🖖.

Appreciate all your work @notlmn 👍
Let's divert everyone to https://github.com/sindresorhus/refined-github/issues/2240.
When I find the time (hopefully this weekend); I'll write a toggle button. Because I love this feature, but only want it enabled when I need it (and don't want to enable/disable the whole feature and then reload the page again).


Is there any way that i can use all my IP's available on server to act as VPN connection

In my server i have 6 IP addresses, while configuring the openvpn using your script i put the default ip it was showing and everything is working properly
but i want to do the same with my other IP's too.

Not an issue with the script and not supported by the script.

can you please suggest me a way so that i can do it my self ?

Yes, try using a search engine or reading the OpenVPN manual.

wow, Thanks for this great suggesting. You are awesome
Thanks


Amazon Alexa Reviews Analysis (NLP)

💥 Proposal
The aim is to perform Natural Language Processing on reviews given to Amazon Alexa and classify them as positive or negative.
The project shall be added here:
python->ml
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


Change the heading of the comment from Deployment to Plan?

Hey, love the action.
One cosmetic request, could the text that is used for the header message - ie
"Terraform Deployment - $id"
either be made configurable, or changed to something like
"Terraform Plan - $id"
"Deployment" implies (to me at least) a change already done, whereas the comment created by this action is for a proposed change that might happen in the future.  I suspect many users of this action are following up after apply with additional comments in the PR that contain the results of the apply run, so it would be nice to clearly distinguish between the plans and the applies?

Good point! Thanks for bringing it up :)


Config option for spacing around = in Attributes

A question/request came up in the wg-rustfmt channel in Discord about a config option that could be used to control spacing around = in Attributes like we have for various other config options (space_after_colon, space_before_colon, spaces_around_ranges, type_punctuation_density, etc.)
#[cfg(target_os="linux")]
// vs
#[cfg(target_os = "linux")]

AFAIK this is not configurable today, but it seemed like a reasonable request to me (and a relatively easy/good-first-issue candidate), so opening for consideration.
For anyone interested in implementing..
The core bit of the code that controls the spacing is the last line in this snippet
https://github.com/rust-lang/rustfmt/blob/facba6a58a50fbdb1592748bb25defd95b5322c4/rustfmt-core/rustfmt-lib/src/attr.rs#L243-L255
That would need to be changed to conditionally add the spacing depending on whether the (new) config option was true or false.
The config option would be added in the rustfmt_configuration crate, probably down in this section with the other spacing-related options, and the option would also need to be added and described in the Configuration docs https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
The last bit would be adding/updating the tests.

@calebcartwright thanks for reporting. I'll see if I can get a PR open.


Mask R-CNN test result in cityscapes

Hello, I trained Mask R-CNN FPN ResNet50 on cityscapes dataset with lr=0.01/3 for 59 000 iterations and lr=0.001/3 for 17 700 iterations for 1 gpu and got AP=33.5826, but with original config, result is AP=32.0, I want to use these results in my student work, but I don’t know how to explain such a large increase in the result

Hi @BloomBabe
The cityscapes dataset is relatively small and we didn't tune every hyperparameter. It is reasonable that your setting may achieve better performance.

Are there any principles for setting hyperparameters, or is the final result more a success?

We use the same lr for cityscapes and coco. The hyperparameters on cityscapes may not be optimal since cityscapes is relatively small.


Left nav items can no longer be collapsed

Clicking on collapsable items in the left nav collapses them, and then they immediately reopen again.

Hmmm.. I cannot replicate on Chrome or FF on my mac. I'll try a PC later today. It sounds like a debounce issue but like I said, I cannot repeat it just now.

Try on this page: http://istio.io/docs/reference/index.html
Click on the word API in the left nav.

Works fine for me. I'll try on a PC in a bit..
On Wed, May 17, 2017 at 6:19 PM, Martin Taillefer<EMAIL_ADDRESS>wrote:

Try on this page: http://istio.io/docs/reference/index.html
Click on the word API in the left nav.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio.github.io/issues/251#issuecomment-302247578,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABv2pq5QsUTLFPbHBY-dF-Lzjto9Ltt_ks5r63JngaJpZM4NeFGn
.

Doesn't work for me too. Chrome on mac.

I'm seeing it happen. Might be related to this file thats failing to load for me:

Probably related to js/common.js:79
$.getScript("{{ site.baseurl }}/js/jquery.collapsible.js", function(){
the generated file _site/js/common.js still has that line without the {{site.baseurl}} var getting replaced.
Are we allowed to template variables inside of js files? Additionally, why does it appear to be inconsistent based on each dev's machine?

Shoot, I broke this template thing last night by removing the --- front
matter on the script file. I'll add that back shortly to fix that problem.
Sadly, this won't help the collapsing left nav items. That was there before
I botched this particular template expansion.
On Thu, May 18, 2017 at 12:40 PM, ryangrahamnc<EMAIL_ADDRESS>wrote:

I'm seeing it happen. Might be related to this file thats failing to load
for me:
[image: image]
https://cloud.githubusercontent.com/assets/1237156/26219500/4254579c-3bdd-11e7-9d99-8c9351c6b66a.png
Probably related to js/common.js:79
$.getScript("{{ site.baseurl }}/js/jquery.collapsible.js", function(){
the generated file _site/js/common.js still has that line without the
{{site.baseurl}} var getting replaced.
Are we allowed to template variables inside of js files? Additionally, why
does it appear to be inconsistent based on each dev's machine?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio.github.io/issues/251#issuecomment-302519809,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVucHVLYF1V-uGkPjt8-J4VjuwYycdGGks5r7J6dgaJpZM4NeFGn
.

Maybe the inconsistency is because of caching.. I run the site in Chrome dev tools but I still think external JS files are cached.. maybe that is why I wasn't seeing it

I checked in a fix for the broken common.js.
On Thu, May 18, 2017 at 1:34 PM, Dave<EMAIL_ADDRESS>wrote:

Maybe the inconsistency is because of caching.. I run the site in Chrome
dev tools but I still think external JS files are cached.. maybe that is
why I wasn't seeing it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio.github.io/issues/251#issuecomment-302533388,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVucHb8ZaKGoXPx2Vd5XDeN9MY_ywSRBks5r7KtRgaJpZM4NeFGn
.


Add subtract function

resolves #1

Not sure why the test is failing here, might need a new line at the end of pythoncalculator/__init__.py ?

Ah, you need an empty __init__.py in tests/, weird python thing


encoding/json: int as map key error

Go version
1.21
Output of go env in your module/workspace:
https://go.dev/play/p/sM0eZ_HtJuW

// You can edit this code!
// Click here and start typing.
package main

import (
	"encoding/json"
	"fmt"
)

func main() {
	input := `{
    "aa": "bb",
    "636": {
        55538944: [
            {
                "bi": {},
                "clk": "99#null-null-null#55538944#dct&&&&",
                "deliveryId": 55538944,
                "itemid": "20373"
            }
        ]
    }
}`
	var data map[string]interface{}
	if err := json.Unmarshal([]byte(input), &data); err != nil {
		fmt.Printf("errors\n %v", err)
	}
	fmt.Println(data)
	fmt.Println("Hello, 世界")
}

What did you do?
https://go.dev/play/p/sM0eZ_HtJuW
What did you see happen?
invalid character '5' looking for beginning of object key stringmap[]

What did you expect to see?
no error

{55538944: []}

According to json spec, the key should be string instead of number https://www.json.org/
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions


Please try to bring registered request status also for each request-

Please try to bring registered request status also for each request-
--Whether it is rescued or Not

#20 will handle this


move dependencies to androidX and fixing fingerprint context memory leak

also updated ui

this PR is only for comparison purposes, DO NOT MERGE.


BOARD_SC02 / ZX4D30NE01S-V15 example hello_world does not work

Not much to say.
Can anyone confirm the current library works with this module?
PanelLan tft(BOARD_SC02);

Hi. eraz0r83
I just tested that sc02 is working normally
Please confirm whether the board configuration is correct
arduino esp32 boards v2.0.13
ESP32S3 Dev Module | 16MB QIO 80MHz | OPI PSRAM

Thanks a lot!
I was using the wrong board setup.
It works with your settings.


List headless pages

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

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

After all this time, I finally realised that this is already possible in Hugo, see https://gohugo.io/content-management/build-options/ , can do it for content that has render = "never" and list = "always" (or list = "local").

After all this time, I finally realised that this is already possible in Hugo, see https://gohugo.io/content-management/build-options/ , can do it for content that has render = "never" and list = "always" (or list = "local").


sever connection between mq and hmi, and sse between server and clien…

…t #2180
Minimally severing some connections so that sse and mq is disabled while these issues are resolved.
Description

Include a summary of the changes and the related issue.
Include relevant motivation and context.

Resolves #(issue)

@Jami159 added for visibility in case you need to pull main to your branch.  look for TODO: dvince reenable in the code and uncomment


fcitx5 can't awaken when open two foot terminal

Hyprland Version
0.30
Bug or Regression?
Bug
Description
I open two foot terminal, but the second terminal can't use fcitx any more.Only if i change focus,then back to the second terminal it can works.
How to reproduce

use default hyprland config
set monitor scale to 1
open two foot terminal
fcitx5 can't be awakened in the second terminal

Crash reports, logs, images, videos
No response

I test alacritty, it has similar issue,but not the same.If i open two alacritty,then close one,then the left can't use fcitx5.

very old hyprland version, can you test on git?

hyprland: 0.33.1-2
termiterminal: alacritty
I'm having the same problem, and it seems that it's not just the terminal program, but all programs running on wayland!
https://github.com/hyprwm/Hyprland/assets/34805071/3f618d0f-afff-4202-a713-5b8edd9a7a9b

hyprland: 0.34.0-51-gc4365f20
terminal: alacritty
same problem,not only alacritty.
https://github.com/hyprwm/Hyprland/assets/15233200/fe1b8edf-2f13-4a55-b5b7-18a600988b77

Can you check latest git?


[BUG] - Timeout error when deploying to AWS - CreateBucket OperationAborted

Describe the bug
While testing our latest RC candidate on AWS, the deployment got stuck at the S3 bucket creation for the terraform-state as seen below:

While inspecting the CloudTrail logs, I noticed that AWS was aborting the CreateBucket requests due to a conflicting conditional operation currently in progress:

{
"eventSource": "s3.amazonaws.com",
    "eventName": "CreateBucket",
    "awsRegion": "us-east-1",
    "sourceIPAddress": "***",
    "errorCode": "OperationAborted",
    "errorMessage": "A conflicting conditional operation is currently in progress against this resource. Please try again.",
    "requestParameters": {
        "bucketName": "***-dev-terraform-state",
        "Host": "***-dev-terraform-state.s3.amazonaws.com",
        "x-amz-acl": "private"
    },
}

I am still not entirely sure about the case, but I think it is related to the order of operations performed by the AWS Terraform provider when creating the bucket and applying the encryption and security visibility block changes. I, unfortunately, didn't have the trace logs on during that time, so I couldn't thoroughly inspect the concurrent requests being made by the AWS provider during that time, but these are the ones that happened during apply:

PutBucketTagging (part of aws_s3_bucket)
CreateBucket (part of aws_s3_bucket)
PutBucketVersioning (part of aws_s3_bucket)
PutBucketPublicAccessBlock
PutBucketEncryption

We already enforce some dependency between these resources in our TF code:
graph TB
	A[aws_kms_key]
    B[aws_s3_bucket]
    C[aws_s3_bucket_server_side_encryption_configuration]
    D[aws_s3_bucket_public_access_block]
    A --> B
    B --> C
    B --> D

However, nothing seems to prevent s3_bucket_server_side_encryption from not running concurrently or in incorrect order from s3_bucket_public_access_block.
We have two possible solutions in my opinion:

As this seems to be fixed upstream, I suggest we test upgrading the AWS provider to the version with the fix (ideal) v3.67.0
Add an explicit depends_on to the resources above to force the API requests to happen sequentially.

Expected behavior
Deployment succeeds without blocking sections or requiring the user to redeploy again for the sequence to self-heal. It succeeds without any blocking sections or the user requiring a redeployment again. The deployment succeeds without any blocking sections or without the user needing to redeploy again for the sequence to self-heal.
OS and architecture in which you are running Nebari
Linux
How to Reproduce the problem?
This can be a bit tricky to reproduce as it depends on the order in which both will apply the resources as well as the timing of the requests sent by the AWS provider. But in theory, just creating a deployment from scratch on AWS should be enough to reproduce. and
Command output
No response
Versions and dependencies used.
nebari 2024.7.1rc3
Compute environment
AWS
Integrations
No response
Anything else?
Similar behavior and in-depth discussion on a similar behavior can be found here: https://github.com/hashicorp/terraform-provider-aws/issues/7628.
This is also an interesting one, https://github.com/hashicorp/terraform-provider-aws/issues/14078:

This option is not feasible as we are already running a greater version then the one suggest to have the fix.

As this seems to be fixed upstream, I suggest we test upgrading the AWS provider to the version with the fix (ideal) v3.67.0

@viniciusdc should we close this now that #2615 has been merged?


Use Storage for Tracking Transactional Layers

In progress...
Specification: https://github.com/paritytech/substrate/issues/10806

Probably we should rename this from "transactional" which is just super confusing.
Maybe something more explicit like #[storage_overlays(n)]

I still don't get why we want this. Shouldn't the transactional overhead incurred be part of the worst case benchmark. Meaning: Isn't the benchmark for an dispatchable already choosing the path that makes use of the most storage layers. So why do we need to track and cap it?

Number of storage layers is not something that is deterministic at the moment for a particular extrinsic. For example batch_all.
This limit can be used as a hint for the benchmarking to know how many layers to emulate for calculating weight.

So this is to guard against a case where a storage heavy dispatchable is called with a lot of layers already created?

Yes, basically to know ahead of time the worst case number of layers that we could encounter, and potentially take care of this in weight calculation. Otherwise, we would have no idea, and we would need to assume worst case scenario, which would be like infinite.
Also, by default, we will make the number of layers 1.

Yes, basically to know ahead of time the worst case number of layers that we could encounter, and potentially take care of this in weight calculation.

Maybe you can walk me through has this is supposed to work? Let's assume you are batch_all and limit the transaction depth to 3 on your transactional annotation. How would that help you with benchmarking batch_all? The weight does not depend on the number of layers but how many keys are written by the callee (called by batch_all) to said layers.

I updated the comment to include the specification issue here: https://github.com/paritytech/substrate/issues/10806
Sorry about that

breaking this down into parts, starting with:
https://github.com/paritytech/substrate/pull/10808


Improvements to Display-MSExchangeVulnerabilities function

Function Get-ExSetupDetails added to determine build number by using Get-Command ExSetup (should address issue #115 )
Check for CVE-2010-3190 improved (should address issue #114)

Updated the Security Improvements in https://github.com/dpaulson45/HealthChecker/pull/125


support extra dependencies in setup.py

It's from service team, they want to add extra dependencies in setup.py but our code gen will rewrite it each time regenerate the code. we need to support extra dependencies and allow user to manual config the dependencies.

Fixed and closed


Add two more TiKV bugs to trophy case

@bors r+

:pushpin: Commit 132feb88db9bf49efdbbe27d09ed68f1c6b6eb67 has been approved by RalfJung

:hourglass: Testing commit 132feb88db9bf49efdbbe27d09ed68f1c6b6eb67 with merge c49e97d9e73c73fc6e77105da79efd754c9e3bd9...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing c49e97d9e73c73fc6e77105da79efd754c9e3bd9 to master...


Update to version 13 of the sporto/erl dependency

Fixes #28

That seems to do it.
The changes mainly relate to the examples and the RouteBuilder module, rather than the core of RouteUrl itself.
This would skip sporto/erl versions 11 and 12, since version 13 has some new API which is handy to use. I suppose there could be people who want to use versions 11 or 12. It would be possible to write this up in a way that supports 11 through 13 -- perhaps that would be better, in principle.

I've switched things so that it will work with sporto/erl 11, 12 or 13, in case there are people wanting an older erl version for one reason or another.


integrate json-server-auth with express server

const path = require("path");
const express = require("express");
const app = express();
const DIR = "";
const PORT = 3000;
var jsonServer = require("json-server");
const auth = require("json-server-auth");
app.use("/", jsonServer.router("db.json"));
app.use(auth);
app.listen(PORT, () => console.log("server started on " + PORT));
old code without express
const jsonServer = require("json-server");
const auth = require("json-server-auth");
const app = jsonServer.create();
const router = jsonServer.router("db.json");
const middlewares = jsonServer.defaults();
const port = process.env.PORT || 3000;
const cors = require("cors"); // need to install cors
// /!\ Bind the router db to the app
app.db = router.db;
app.use(auth);
app.options("*", cors());
app.use(middlewares);
app.use(router);
app.listen(port);

I don't understand your issue, please be more explicit.
What I think I get is : you want to bind json-server itself to an express router, then  you should look at the json-server documentation. Json-server already uses express as a direct dependency.


x/website/cmd/golangorg, x/build/cmd/tip: inconsistent tabwidth value

https://tip.golang.org uses the default godoc presentation tab width of 4, but https://golang.org uses a tab width of 8 (because it's being overridden in appinit.go). This results in inconsistent rendering.
https://tip.golang.org/pkg/runtime/debug/#GCStats:

https://golang.org/pkg/runtime/debug/#GCStats:

They should use the same value. We need to decide which.
/cc @andybons @julieqiu

I would prefer going with 4 everywhere, because 8 is quite wide, and 4 seems more commonly used. The future discovery site (issue #33654) and godoc.org currently use a tab width of 4:
https://godoc.org/runtime/debug#GCStats:

But I also realize this is a subjective preference.

4 is fine

This fix is deployed.


adding ability to set theme as a path to specific file

I wanted to track my custom theme file in a different repo outside of the .bash_it directory.
This tweak here allows you to set the BASH_IT_THEME to point at the specific theme file you want to use without worry of the putting it into the .bash_it/themes/(name)/(name).theme.bash scheme.
Example of my .bashrc for setting the theme using this tweak:
# Lock and Load a custom theme file
# location /.bash_it/themes/
#export BASH_IT_THEME='modern'
export BASH_IT_THEME="$HOME/.local/bash_it-theme.bash"

That's a nice addition! It would be great if you could add some documentation to the project's README.md file to show how to use this. Maybe add a sentence and an example to the https://github.com/Bash-it/bash-it#themes section...

Super cool! I agree with @nwinkler on adding some docs so folks know how to use this.

I can see this being useful for a lot of people.  I'm even willing to write the doc if needed.

Thanks all.  I appreciate the enthusiasm for this feature request I've put in. Always fun to run into an enthusiastic and open user community.
I've put forward a recommendation in the pull request for an updated README that gives nod to this feature and an updated bashrc template comment.
Comments/fixes/clarifications welcomed.  Happy to see this feature be considered.

As a follow up - I think adding (and documenting it) contributes to fixing #892

Thanks - this is great! I might tweak the readme a bit, but thanks for providing the starting point!


Update

Add SMC
Update SAIS
Fix a few bugs that lead to a degeneracy of the weights in KIDS and MoKA
Add supplementary videos
Clean the plot functions and add new features to plot

Thanks again @antoinediez!
I'm going to re-render the doc now. I'll let you know once it's done.


Create platform admin/exec summary report for changes in the SEA between two snapshots

Describe the issue
In some way it is a continuation of #1911. In this case, the goal is to summarize in one or two pages any possible difference between the state of the guardrails before and after the upgrade.
In it simplest form can be a sentence that will say something:

Nothing changed between 1 Jan 2022 and 1Jan 2023

Or a list of the differences.
Additional context
Check #1911
Definition of done

A one/two page report that will clearly point to any differences, if any, between two snapshots of the SEA

Check https://github.com/BCDevOps/aws-sea-guardrail-scanner
See attached file as a sample of the produced report.https://app.zenhub.com/files/241742911/f58dcacd-76f6-413b-8170-a788d9db6b69/download


Update views for more data views for count of tasks for kanban board

add views for data for kanban board
done
open
closed

added views for count of data , verified kanban board


29

Codecov Report

Merging #30 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #30   +/-   ##
=======================================
  Coverage   88.23%   88.23%
=======================================
  Files           5        5
  Lines          34       34
=======================================
  Hits           30       30
  Misses          4        4

Impacted Files
Coverage Δ

pypro/settings.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


iOS Wifi Connect Succeeding when password is incorrect

I am connecting to a wifi network I am already connected to. I run code:
// Connect to the wifi with the provided credentials
bool? connected = await PluginWifiConnect.connectToSecureNetwork(
  ssid,
  password
);

print("connected: $connected");

And it returns true even when the password is incorrect:

wifi_credentials connected: true

Why is this?

sorry for my late, this is happening yet?

i will close this issue, anything you can reopen.


Support for DTU W500 in MS-A2 storage

This is more a question than a feature request.
Hoymiles released an AC micro storage system MS-A2. According to videos I noticed that when the S-Miles App connects to it, it shows DTU W500
Since the system has Wifi integrated like the inverters (and internally there is also a Hoymiles Hybrid inverter for AC charge and discharge of the battery, there might be similar protocols used for the communication.
So the question is whether someone already tried to connect to it with your library and whether this MS system could be supported as well, mainly for value/parameter monitoring but also for management like changing mode and output power to realize custom built output regulation, e.g. via Home Assistant.

That is a good question.
If there is an internal inverter one could try to issue the app-information-data and get-real-data-new request.
If that does not work I need to dig in the hoymiles app code or someone would have to sniff the packages.

no luck with the hoymiles-wifi command only getting:
No response or unable to retrieve response for app-information-data
i did a nmap scan of my MS-A2 IP:
nmap -sS -p 1-65535 <IP_ADDRESS>
Starting Nmap 7.93 ( https://nmap.org ) at 2024-12-27 22:22 CET
Nmap scan report for <IP_ADDRESS>
Host is up (0.012s latency).
Not shown: 65534 closed tcp ports (reset)
PORT      STATE SERVICE
43485/tcp open  unknown
MAC Address: xxxx (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 52.89 seconds

when i connect to the given port with firefox i get some data which changes on every reload and always begins with:
&D4…
...i am not sure if this helps...

i also did niff the app traffic from the iphone app, on my fritzbox, but as i see it, the Hoymiles MS-A2 connects via TLS to
https://dataeu.hoymiles.com:10083/
...and because of TLS, i do not see anything :(

I will order one myself, maybe it will noch check certificate and could be redirected...


www/nginx: Add X-Forwarded-Port and  X-Forwarded-Host headers

Some applications as Keycloak when running behind Nginx proxy need these flags configured
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Host $host;
This cause no impact in other applications already configured, at least for my applications

Makes sense, thanks!


Adding enhancements for Zones in moc-sdk-for-go

/azp run

/azp run

/azp run

General Comment, request you add more to the PR description including change summary, change purpose, and testing complete. From a maintainability point of view, it helps future devs understand the intent of your changes and adds context for why things were implemented a certain way.

/azp run

/azp run

/azp run

closing this PR as the gates are not working as expected. Opened another exact same copy PR: https://github.com/microsoft/moc-sdk-for-go/pull/277


Handle missing/unknown attributes on compatiblity chain

This PR is a follow up to #953 and changes the handling of missing/unknown attributes, not allowing them to be used in rules.
The consequence is a simplified API, at the cost of more limited expressiveness (cannot disambiguate the case where the consumer doesn't provide a value anymore).
See gradle/performance#237

This PR does NOT deal with the location the schema is found (nor the name configurationAttributesSchema), hence moved AttributeValue to an internal type because there's effectively still a difference between an unknown and a missing attribute. If we decide to move the schema to a global scope, the difference disappears.

@oehme would you mind reviewing this?

The candidate values were present. That is to say the producer values.
The rule didn't check for the presence of the consumer value because I knew
it wouldn't be there in this test case.
Le 5 déc. 2016 12:14, "Stefan Oehme"<EMAIL_ADDRESS>a écrit :

@oehme commented on this pull request.
In subprojects/dependency-management/src/integTest/
groovy/org/gradle/integtests/resolve/StronglyTypedConfigurationAttr
ibutesResolveIntegrationTest.groovy
https://github.com/gradle/gradle/pull/961:

@@ -400,159 +392,4 @@ class StronglyTypedConfigurationAttributesResolveIntegrationTest extends Abstrac
notExecuted ':b:fooJar', ':b:barJar', ':b:bar2Jar'
}

def "can select configuration thanks to producer schema disambiguation"() {

   given:

   file('settings.gradle') << "include 'a', 'b'"

   buildFile << """

       $typeDefs

       project(':b') {

          configurationAttributesSchema {

             attribute(buildType)

             attribute(flavor) {

                  disambiguationRules.add { details ->

                       details.closestMatch(details.candidateValues.sort { it.get() }.first())

I don't understand, the test was calling details.candidateValues.sort {
it.get() }.first(), i.e. it was treating them as "present". So either
this disambiguation rule was never called or I'm missing some other reason
why it can't be done.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gradle/gradle/pull/961, or mute the thread
https://github.com/notifications/unsubscribe-auth/AATTxRymkJXK28Cs5J5FStR9LaVTIJUaks5rE_IygaJpZM4LCf72
.

So if this test case works fine with just the producer values, why are we removing it?

Because it is exactly the used case I'm saying we cannot support anymore.

consumer doesn't know about an attribute of the producer. It knows buildType only.
producer has multiple matching configurations. It knows buildType and flavor. There are 2 flavors for the matching build type (free, paid).

Before this change, we used the producer schema to disambiguate. We could say "if the consumer didn't express an opinion, choose the first one". This is not possible anymore. Because, disambiguation works with present values on both ends now. The value is missing on the consumer (missing, or unknown). The value is present on the producer. So calling getConsumerValue would typically fail (it is undefined). Before, we could execute isPresent, but now, the rules assume presence on both ends. We wouldn't even know how to create matching details with a value for the consumer, because we don't have such a value. We could use null, but as I explained before, it would be a conceptual mistake, and then, we must NOT assume presence.

A possible solution would be to not provide the consumerValue method at all in disambiguation rules. What use cases are there for using the consumer value in a disambiguation rule?

It is absolutely necessary to have the consumer value to disambiguate. Example:

consumer usage = for compile
producer usage = for compile, any

Or:

consumer javaPlatform = java7
producer javaPlatform = java7, java8

The whole idea of disambiguating is selecting the best configuration, knowing which ones are compatible, and what was asked.

So could we add a default value that is used whenever the consumer does not provide one?

We could, but it would not make a lot of sense. What if the value is not in the list of candidates? This is likely to happen. Which means we need a function, not a default value. And that function would use the list of candidates and return the one to pick. It would be living on the chain instead of the rule. I didn't introduce it because it is a workaround to reintroduce a feature we "had". It would be pretty cheap to introduce after 3.3, if we want to. Putting it in, and realizing it's no good is, on the other hand, problematic.

I think disambiguation rules are in practise independent of what the consumer has asked for. What the consumer has asked for is used to calculate the candidates to select from, which makes it an indirect input to these rules, but I don't think it needs to be a direct input.
For example, given java7 and java8 as candidates, it's hard to see a use case where the rule wouldn't always select java8. Or when presented with for compile and for whatever as candidates, a use case where you wouldn't always select for compile.
It's easy enough to later add something to expose more details to the rule if we find based on feedback that we need more stuff. In the meantime, I'd keep the amount of information we expose to each rule as small as possible, as this gives us more opportunities to cache and reuse the results.


feat(rpc): implementing staking reads

Closes #986.

Codecov Report

Merging #1060 (ec665b6) into main (8657edc) will decrease coverage by 0.53%.
The diff coverage is 7.85%.

@@            Coverage Diff             @@
##             main    #1060      +/-   ##
==========================================
- Coverage   56.56%   56.02%   -0.54%
==========================================
  Files         135      135
  Lines        8965     9071     +106
==========================================
+ Hits         5071     5082      +11
- Misses       3359     3454      +95
  Partials      535      535

Impacted Files
Coverage Δ

service/rpc/state.go
0.00% <0.00%> (ø)

service/state/service.go
29.72% <0.00%> (-5.76%)
:arrow_down:

service/state/core_access.go
12.61% <8.10%> (+1.02%)
:arrow_up:

service/rpc/endpoints.go
100.00% <100.00%> (ø)

ipld/get_namespaced_shares.go
88.32% <0.00%> (-2.19%)
:arrow_down:

fraud/bad_encoding.go
66.00% <0.00%> (+3.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

All endpoints including queries have been tested on arabica, BUT:

Redelegation and Redelegation Query are not 100% tested because I can't do a redelegation with only one ValAddr. But the errors returned when redelegating to the same ValAddr are reassuring enough.


Extension doesn't detect qt header files

Type: LanguageService

OS:
Describe the bug

OS and Version: Linux x64 5.8.8-arch1-1
VS Code Version: 1.49.0
C/C++ Extension Version:  	1.0.0

With new version of MS C/C++ extension it has stopped detecting qt header files, even though I've added it's path in include path. It gives red lines over that included header file and says path to header file not found.
Expected behavior

It should detect qt header files and intellisense should work.

Logs

-------- Diagnostics - 9/17/2020, 11:32:10 AM
Version: 1.0.0
Current Configuration:
{
    "name": "Linux",
    "includePath": [
        "/home/krillxox/Qt/5.15.0/gcc_64/include",
        "/home/krillxox/Qt/5.15.0/gcc_64/lib",
        "/home/krillxox/Qt/5.15.0/wasm_32/include",
        "/home/krillxox/Qt/5.15.0/wasm_32/include",
        "/usr/include",
        "${workspaceFolder}/**",
        "/usr/include/qt/QtGui",
        "/usr/include/qt/QtWidgets",
        "/usr/include/qt/QtCore"
    ],
    "defines": [],
    "compilerPath": "/usr/bin/gcc",
    "cStandard": "c11",
    "cppStandard": "gnu++14",
    "intelliSenseMode": "clang-x64",
    "configurationProvider": "ms-vscode.cmake-tools",
    "compilerArgs": [],
    "browse": {
        "path": [
            "/home/krillxox/Qt/5.15.0/gcc_64/include",
            "/home/krillxox/Qt/5.15.0/gcc_64/lib",
            "/home/krillxox/Qt/5.15.0/wasm_32/include",
            "/home/krillxox/Qt/5.15.0/wasm_32/include",
            "/usr/include",
            "${workspaceFolder}/**",
            "/usr/include/qt/QtGui",
            "/usr/include/qt/QtWidgets",
            "/usr/include/qt/QtCore"
        ],
        "limitSymbolsToIncludedHeaders": true
    }
}
Custom browse configuration:
{
    "browsePath": [
        "/home/krillxox/Documents/build",
        "/home/krillxox/Documents/Qt Project/Quick/test/untitled",
        "/home/krillxox/Documents/build/untitled_autogen/include",
        "/usr/include/qt",
        "/usr/include/qt/QtWidgets",
        "/usr/include/qt/QtGui",
        "/usr/include/qt/QtCore",
        "/usr/lib/qt/mkspecs/linux-g++",
        "/home/krillxox/Documents/Qt Project/Quick/test/untitled/Documents/build/untitled_autogen",
        "/home/krillxox/Documents/Qt Project/Quick/test/untitled/Documents/build/CMakeFiles"
    ],
    "standard": "c++17",
    "compilerPath": "/usr/bin/c++",
    "compilerArgs": []
}
Translation Unit Mappings:
[ /home/krillxox/Documents/Qt Project/Quick/Calculator/Calculator2/mainwindow.cpp ]:
    /home/krillxox/Documents/Qt Project/Quick/Calculator/Calculator2/mainwindow.cpp
Translation Unit Configurations:
[ /home/krillxox/Documents/Qt Project/Quick/Calculator/Calculator2/mainwindow.cpp ]:
    Process ID: 3652
    Memory Usage: 59 MB
    Compiler Path: /usr/bin/c++
    Includes:
        /usr/include/c++/10.2.0
        /usr/include/c++/10.2.0/x86_64-pc-linux-gnu
        /usr/include/c++/10.2.0/backward
        /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include
        /usr/local/include
        /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed
        /usr/include
    Standard Version: c++17
    IntelliSense Mode: gcc-x64
    Other Flags:
        --g++
        --gnu_version=100200
Total Memory Usage: 59 MB

------- Workspace parsing diagnostics -------
Number of folders and files enumerated: 28104
Number of files discovered (not excluded): 26527

Screenshots

Given in attachment.

It looks like the book1 project isn't setup to build with CMake or there's a CMake Tools configuration bug. Are you able to build mainwindow.cpp with CMake?

Yes, I'm able to build book1 project by cmake through terminal. I ran vscode today after update it stopped showing build option for cmake and icon at the left is also gone.

Not any error but I get this in output
[variant] Loaded new set of variants
[kit] Successfully loaded 5 kits from /home/krillxox/.local/share/CMakeTools/cmake-tools-kits.json
[expand] Invalid variable reference ${fileDirname} in string: ${fileDirname}/
[rollbar] "sourceDirectory" is not a directory {"sourceDirectory":"${fileDirname}"}
[cmakefileapi-parser] Code model version (2.1) of cmake-file-api is unexpected. Expecting (2.0). IntelliSense configuration may be incorrect.
[cmakefileapi-parser] Code model version (2.1) of cmake-file-api is unexpected. Expecting (2.0). IntelliSense configuration may be incorrect.
[expand] Invalid variable reference ${fileDirname} in string: ${fileDirname}/
[rollbar] "sourceDirectory" is not a directory {"sourceDirectory":"${fileDirname}"}

Did you set cmake.sourceDirectory to ${fileDirname}?  That's not a valid value.  You can use something like ${workspaceFolder} if that's the folder where CMakeLists.txt resides.  It appears that the extension failed to find your CMakeLists.txt and as a result never enabled the full set of features (like the icons).

Ok, now I got it. If I set project folder as workspace then only it works. The reason for not detecting header files is it asks to make cmake tools as configuration provider for C/C++ extension if I allow it then it isn't able to detect those header files.

Yes, I'm able to build book1 project by cmake through terminal. I ran vscode today after update it stopped showing build option for cmake and icon at the left is also gone.

Bro ve got similar issues..how do I update my vscode so it could detect the qt headers,.

Yes, I'm able to build book1 project by cmake through terminal. I ran vscode today after update it stopped showing build option for cmake and icon at the left is also gone.

Bro ve got similar issues..how do I update my vscode so it could detect the qt headers,.

open only parent book1 folder in workspace and if it still dont detect change compiler path to /usr/bin/g++


Specify challenge address

I've cloned my linode image and wanted to spin it up on another VPS but the issue is that the challenge address stayed the same and I cannot change it?
Why isn't allowed to specify it during node setup?
Or any suggestions how to change it?
Error message:
Registration failed. Node t_address already registered.
And it is using the challenge address from first VPS which I cannot change? I have a list of them but how to change it in setup?

Just redownload secnodetracker

I did, have removed the whole folder and pulled again.
Have run fresh node setup and no previous values where there.

When cloning the wallet.dat should not be cloned or if it is, it should be removed  on the clone and a new one allowed to be created.   New private addresses should then be created in the new wallet and challenge funds sent to it.
The node uses the first transparent address in the wallet for the node identity.  There can not be two of the same.

That worked, have deleted wallet.dat and it worked. Thx!


profile-rustflags are not propagated to CARGO_CFG_TARGET_FEATURE or CARGO_ENCODED_RUSTFLAGS

Problem
When setting flags with the profile-rustflags unstable feature (tracking issue #10271), the data is not propagated to the build script environment variables CARGO_CFG_TARGET_FEATURE and CARGO_ENCODED_RUSTFLAGS.
Steps

Create a new binary
Create a build.rs:

fn main() {
    println!("cargo:warning=Feats: {:?} Flags: {:?}", std::env::var("CARGO_CFG_TARGET_FEATURE"), std::env::var("CARGO_ENCODED_RUSTFLAGS"));
}

Set up Cargo.toml:

cargo-features = [ "profile-rustflags" ]

[package]
name = "profile_flags_script"
version = "0.1.0"
edition = "2021"

[profile.dev]
rustflags = [ "-C", "target-feature=+crt-static" ]

Call cargo run - observe that crt-static is not reported by the build script.
Create .cargo/Config.toml:

[build]
rustflags = [ "-C", "target-feature=+crt-static" ]

Call cargo clean and cargo run - observe that the build script now sees the crt-static flag, as it should.

Possible Solution(s)
No response
Notes
This issue seems very similar to #6858.
Version
cargo 1.70.0-nightly (145219a9f 2023-03-27)
release: 1.70.0-nightly
commit-hash: 145219a9f089f8b57c09f40525374fbade1e34ae
commit-date: 2023-03-27
host: x86_64-pc-windows-msvc
libgit2: 1.5.0 (sys:0.16.0 vendored)
libcurl: 8.0.1-DEV (sys:0.4.61+curl-8.0.1 vendored ssl:Schannel)
os: Windows 10.0.19045 (Windows 10 Home) [64-bit]

I assumed you use proflie-rustflags because you only want some flags for specific profiles. Given that is an unstable feature and not reflects the correct set of flags, here is another workaround before that moves forward:

Create an extra config.toml file, e.g. .cargo/dev.config.toml
Put these in that config file:[build]
rustflags = ["-C", "target-feature=+crt-static"]

Run cargo b --config .cargo/dev.config.toml and you're all set.
(Alternaitvely you can run cargo +nightly -Zunstable-options --config dev.config.toml rustc --print cfg to verify it working.)

@weihanglo -Zallow-features is also not passed in CARGO_ENCODED_RUSTFLAGS  when it specified as follows in the .cargo/config.toml:
[unstable]
allow-features = []

Is this the intended behavior? If not, I can also open a separate issue if you think it makes sense. I am running into a build problem because of it as the proc-macro2 crate enables the unstable feature proc_macro_span unless -Zallow-features is passed. As a workaround I am adding -Zallow-features to the build and target RUSTFLAGS, but that results in quite a lot of duplication as we have multiple target definitions.

@andreeaflorescu, your case is a bit different from this issue since unstable.allow-features is an unstable feature Cargo provides, which is a wrapper of Rustc's -Zallow-features plus Cargo its own unstable feature control. It can surely be passed in rustc as rustflags. However, it doesn't seem quite right to pass Cargo's unstable features in.


Kitchen Sink: Morse Code Translator

Describe the feature
I would like to implement the Morse Code Translator feature!

It will take input of Text or Morse Code from the user.
If the user has entered Text, then it will translate it into Morse Code. Same way if the user has entered Morse Code, then it will translate it into Text.
Also there will be a button to display the Morse Code Guide.

Additional information

[X] Would you be willing to help implement this feature?

Hey. @tobySolutions Please assign this issue to me. Thank you!

Sure thing @rakshixh! Go ahead please

Hey @tobySolutions please review the PR and merge it. Thank you!
#772

Hey @tobySolutions please close this issue since it is resolved. Thank you!


Coefficients

Can we have a single coefficient estimates for one feature despite defining 20 spline for that feature? where we can get that ingle coefficient of estimates for interpretability of the model?

Did you ever find a solution to this? I too am currently working on something which would benefit from a table of co-efficients per level per factor for interpretability.


Missing icon for IndexChanger

Hi @FayCross
There's a missing icIndexChanger icon for the index changer page you added a few days ago. Just logging it so we keep track of it.

I'm not sure it was me, I don't recognise the name of the page and can't see it being added in any of my recent changes. It's since been removed from the xwd anyway so I'll close this now.

Hmm, sorry about that. I was sure I looked and saw that you committed the indexChanger file but now I don't see that either?


Proper Formatting to API Server

Hello!
Thank you a ton for providing the following code! Can't explain in words how much frustration it saved.
I'm using AE for years as Motion Graphics designer. I've managed to run boiler template render successfully. Renderer and Server are running under same console. Got Appserv running for HTTP, for assets and simple form which sends post command which should trigger render.
What I'm trying to achieve is: You go on a page, Insert/select desired values/options/files and it will send it in json format to API which will shoot it to the render node so the rendering will be triggered.
I'm familiar with basic coding but not as much with java nor json files, I'm trying for over a day to send a proper request (in many forms) from form to the console, sadly without success - it won't convert properly.
Hopefully you can point out where i went wrong.
index test:
index.txt
Receiving:

Template looks like that:
{
    "template": "Simple-1.aepx",
    "composition": "Comp1",
    "settings": {
        "outputModule": "JPEG Sequence",
        "outputExt": "jpg",
        "startFrame": 0,
        "endFrame": 20
    },
    "assets": [
        {
            "type": "project",
            "src": "http://<IP_ADDRESS>/Simple-1/assets/Simple-1.aepx",
            "name": "Simple-1.aepx"
        }, {
            "type": "image",
            "src": "http://<IP_ADDRESS>/Simple-1/assets/BG.jpg",
            "name": "BG.jpg",
            "filters": [{
                "name": "cover",
                "params": [1920, 1080]
            }]
        }, {
            "type": "audio",
            "src": "http://<IP_ADDRESS>/Simple-1/assets/Audio.mp3",
            "name": "Audio.mp3"
        }, {
            "type": "script",
            "src": "http://<IP_ADDRESS>/Simple-1/assets/data.js",
            "name": "data.js"
        }
    ]
}

Hello @KiwiVFX
First of all thank you for your kind words!
I took your html and slightly changed it into a standalone form. It should work without need of any external server, just double click the html and press submit.
Note: just make sure to properly setup url to the api, which might be running on a different port in your case.

Here is the html file:
nexrender.html.zip
Have a nice day!

Thanks a ton, That looks way better than mine!
After changing ports of appserv to 3000 - it doesn't seem to work, console isn't receiving anything - i'll try a fresh start and will play with it a bit, might work this out.
Keep up the great work.
All the best!


TypeError: Cannot set properties of null (setting 'WarmUpPluginDefaultRole')

Hi!
I was using the plugin to warm up my functions but I came across a bug. If I don't pass the "role" object in the yml, the plugin gives me an error. However, when I looked at the code, I saw that if there is no role being passed, it creates a default one. The validation that is being done to validate whether the resources object exists is not working, because null is also an object and it can't create the default role because it's not falling for this validation.
In this image, you can see that i'm not passing the role object

Error:

Error location:

Possible correction:
Change this validation and check if is a falsy value instead check the type.

Interesting...
Can you elaborate on which version of the framework, which version of this plugin and which other plugins are you using?
I wonder what is setting the Resources object to null instead of the default undefined.

Closing due  to no response


Does not build with VC++ due to missing _USE_MATH_DEFINES

eq.cpp, reverb.cpp and audio_effect_distortion.cpp all use the constants M_SQRT2 or M_PI.
Those constants are not included with maths.h in VC++ while _USE_MATH_DEFINES is not defined, making it impossible to build master for me (VS2015) at the moment.
I would've fixed the build but don't know where and how exactly.

Probably slightly related to #7572 @BastiaanOlij

@bojidar-bg That fixes issues with _finite being defined infloat.h (against the documentation), but these are new :3

@RayKoopa That's the "slightly" part :wink:

I think those effects should use Math_PI and Math_SQRT12 from core/math/math_funcs.h

Let me check that