SEO-Enhancer integration

Hi!
We have added the SEO-Enhancer module to our FACT-Finder system (using FACT-Finder 7.1). When I start a search, wo correctly get a resultset, but all the included links (sorting, pagination, asn, ...) don't work.
It seems that the given seoPath parameter is not being handled at all
Do I need to activate/configure this feature somewhere?
Thanks in advance, Estigy.

Hi,
thank you for reporting this bug. We're working on the issue and it will be fixed soon

Solved in release 1.2.5.

Hi.
Thanks for your work!
What do I need to do to activate this now?
I updated to the newest version but don't see any changes yet. Still the same "seoPath" parameter in all URLs etc.

@Estigy: In https://github.com/FACT-Finder/FACT-Finder-PHP-Library-Demo/commit/c2b6edb9303a910e4287feb007bd200b198da18a you can find further changes regarding the SEO Enhancer.
Probably you have expected a more advanced integration, like it is mentioned here: #49

Hi, tuegeb.
I really don't know what you want to tell me with your answer.
Like I said, it still doesn't work at all (no URL returned by any getUrl() call uses the seo-anhanced path), and you point me to a commit where a NoQueryException is thrown?
I also tried using getSeoUrl(). I started in the ASN column and the filters don't seem to support this method.

@Estigy: The SEO Enhancer integration has been improved. Please check the latest revision of FACT-Finder PHP library and demo.

Hi, tuegeb.
Thanks for your work.
There are some issues with this update:

Our regular search box goes to /search (eg. /search?queryFromSuggest=&query=Test), which works. When I click on a manufacturer (in the ASN column) afterwards, it directs me to /search/s/ManufacturerName/Test/q. There should be no /search bit at the beginning of this url, it should start directly with /s/ManufacturerName.
When I open /s/ManufacturerName I don't get any results from FactFinder, although ManufacturerName is an existing manufacturer. (The route by itself works, as it displays the "No results found" line that I output when there are no results returned by FF.) The search for the same manufacturere with /search/?filterHersteller=...&query=* works perfectly.
It would be great if we could configure the /s/ prefix somehow.
The results by suggest while I type into the search box seem to not have the SEO urls implemented yet.

@Estigy:

The initial base bath should be adjusted in order to achieve this. The library always used the given request target. The seo path is just considered as a suffix.
Did you take over  FACT-Finder/FACT-Finder-PHP-Library-Demo@c2b6edb into the template?
A configurable prefix is currently not planned.
This is currently not possible without customizations on FACT-Finder side.

Do you mean "/s" and everything following it is always being added to whatever the inital search URL is? Because the SEO-enhanced URLs should always begin right after the domain (that's also what the examples in the FACT-Finder backend say, like "http://www.shop.com/s/Test-Manufacturer"). Or to put it the other way 'round: If I want the SEO-enhanced URLs to begin right after the domain, what should our initial search URL look like?
Thanks, that did the trick! :-)
Too bad, but ok.
Good to know.

@Estigy: You could simply establish the path "/s/" as a default for all FACT-Finder related pages.
Initial search URL: http://www.shop.com/s/?query=anyquery
Resulting ASN URL: http://www.shop.com/s/anyquery/q?filterAnyName=AnyValue

I think I've run into the same or a very similiar problem: After changing my code against the updated demo navigation and filtering works again but I'll get no query back on page 2 or after setting a filter - getQuery() is empty....

@asdfklgash:
If the search term in the parameter "query" is equal to the suffix "{query}/q" within the seo path, it will be dropped by FACT-Finder itself. In case the search term is needed, you can determine it easily, see:  https://github.com/FACT-Finder/FACT-Finder-PHP-Library-Demo/commit/3368e8d61f853aae964a640c5f33abf638248f0a#diff-91d6c0d8ace7752005da8c2e3718353bR17


Efficient explicit tags encoding

This change fixes a huge inefficiency in how ASN.1 EXPLICIT tags used to be encoded. The codec used to encode tags one-by-one what involved deep-copying the value being encoded.
The reworked algorithm just iterates over tags appending the prepending the encoded blobs at the head of the octet string.

Codecov Report

Merging #72 into master will increase coverage by 0.14%.
The diff coverage is 82.6%.

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   83.88%   84.03%   +0.14%
==========================================
  Files          28       28
  Lines        3805     3789      -16
==========================================
- Hits         3192     3184       -8
+ Misses        613      605       -8

Impacted Files
Coverage Δ

pyasn1/codec/native/encoder.py
85.22% <68.75%> (+5.84%)
:arrow_up:

pyasn1/codec/ber/encoder.py
93.22% <90%> (+0.16%)
:arrow_up:

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 5b7cc4f...0864306. Read the comment docs.


Gltf load from URL

Hi, in the documents of cesium for unreal, I saw that the Cesium for Unreal support load gltf, how to do it? And, if I want to load gltfs at runtime? Thank you!

Hi @zuihuifeideyu,
What documentation are you viewing? We do not support loading glTFs directly from Cesium for Unreal, so I'm not sure where this was communicated.
But anyways, Unreal itself has the ability to import glTF models, so you're welcome to drag and drop assets into the project.

https://cesium.com/learn/unreal/unreal-faq/, in the "What file formats can I load with Cesium for Unreal?", 3D tiles payloads.

glTF is currently supported as payload inside a 3D Tiles tileset, but it is not supported as a standalone model outside of 3D Tiles. Although, as a @j9liu mentioned, Unreal itself can import glTFs at Editor time. It might help to explain a little more about your use-case.

@zuihuifeideyu I'm going to close this issue due to inactivity. Please feel free to add more information if you're still running into trouble.


[FEA] Figure out the right long term way to deal with dates and timestamps in integration tests.

Is your feature request related to a problem? Please describe.
Python/Pyspark do not really support dates/timestamps that are prior to the year 1.  This can cause some issues in some cases as Spark will happily produce values that cannot be shipped back to python. Even before https://github.com/NVIDIA/spark-rapids/pull/9736 the current code restricted the range of values that could be generated to try and avoid this issue. But there is nothing that prevents a test from subtracting a month, or year, or whatever from a timestamp that would result in a value being out of range.
I think it would be better to have timestamp and data gen produce a full range of possible supported values. Especially for corner case tests with timezones/etc. We could also have the code automatically convert dates and timestamps to the raw number representation using date_diff and unix_micros. But there was also the suggestion to try and do both. But I am not 100% sure how to do both of them and coordinate things. So this is here to try and figure out if it is possible or if there is a better solution we have not thought of yet.

Should think the string gen together, refer to https://github.com/NVIDIA/spark-rapids/issues/9936

As a follow on, revert forcing the DATAGEN_SEED to zero in issue #9701, issue #9820, issue #9916, issue #9936


code for videos 8.2 and 8.3

Also documented (in comments), your singing attempt:
Shiffman tries to sing @ 11:24

Wonderful, thank you!!!


🔄 synced file(s) with 2i2c-org/.github

synced local file(s) with 2i2c-org/.github.

Changed files

created local  .github/ISSUE_TEMPLATE/01_new-issue.yml  from remote  .github/ISSUE_TEMPLATE/01_new-issue.yml

This PR was created automatically by the repo-file-sync-action workflow run #8701677926

The issue templates in the infrastructure repo don't have leading 0s in the filename - so this PR will add a new file, not update an existing file.

https://github.com/2i2c-org/infrastructure/blob/main/.github/ISSUE_TEMPLATE/1_new-issue.yml

Just noting that this PR was opened by a bot that just happened to use my token, so I'm going to unfollow this PR. Please resolve (or close) this PR as you wish!


Readme example has syntax errors

...and I think should be range(3) rather than len(3)?
Library looks exciting though!

Good spot. Thanks! Fixed


#111 add base typescript version

start a typescript to improve project

Hi dear Mohammad,
Thanks for your PR, We don't have any plan to use TypeScript in divar-starter-kit.
But you have can fork it and continue with TS.
I close this PR.
Best regards.


[CERT-TEST-FAILURE] - TC-S-2.2 - Test failed

Feature Area
Area:Scenes
Test Case
TC-S-2.2
Reproduction steps

Execute the below mentioned command to put DUT into a commissionable state : ./chip-all-clusters-app
Once DUT reach the commission able state sent below mentioned command on TH. : ./chip-tool pairing onnetwork 1 20202021
Once after successful pairing provide the below commands:

TH sends a AddScene command to DUT with SceneID field set to 255(Value grater than Max value mentioned in the constraint)
./chip-tool scenesmanagement add-scene 0x0001<PHONE_NUMBER> "" '[{"clusterID": "0x0300", "attributeValueList":[{"attributeID": "0x4001", "attributeValue": "0x01"}]}]' 1 1
Actual Outcome:

[1710928429.344989][15787:15789] CHIP:DMG: },
[1710928429.345007][15787:15789] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1710928429.345017][15787:15789] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1710928429.345036][15787:15789] CHIP:TOO:   AddSceneResponse: {
[1710928429.345044][15787:15789] CHIP:TOO:     status: 0
[1710928429.345047][15787:15789] CHIP:TOO:     groupID: 1
[1710928429.345049][15787:15789] CHIP:TOO:     sceneID: 255
[1710928429.345052][15787:15789] CHIP:TOO:    }

Expected Outcome:

[1710928429.344989][15787:15789] CHIP:DMG: },
[1710928429.345007][15787:15789] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0062 Command=0x0000_0000
[1710928429.345017][15787:15789] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0062 Command 0x0000_0000
[1710928429.345036][15787:15789] CHIP:TOO:   AddSceneResponse: {
[1710928429.345044][15787:15789] CHIP:TOO:     status: 133
[1710928429.345047][15787:15789] CHIP:TOO:     groupID: 1
[1710928429.345049][15787:15789] CHIP:TOO:     sceneID: 255
[1710928429.345052][15787:15789] CHIP:TOO:    }

Same for  ViewScene Command, RemoveScene Command, StoreScene Command, RecallScene Command. CopyScene Command.

Bug prevalence
Whenever I do
GitHub hash of the SDK that was being used
d2eab7f07ae9289fe14aa7e13dba7e64904ef80e
Platform
raspi
Anything else?
Summary:
According to the specifications, The SceneID field in the AddScene Command has a constraint of a maximum value 254. However, when attempting to send the AddScene command with a SceneID field value of 255, the response value should be "Invalid Command" instead of "SUCCESS".
Specification References:

https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/Scenes.adoc#92-addscene-command.

References Log:
Scenes.txt

hello,
where did u get the scenesmanagement command work，i had check the code and specification，but still cant find chip-tool that supports this command，which really support is scenes， but still， i found scenesmanagement in some yaml file ，which makes   me confuse.

@jinbiaochenstayhungry, could you please verify the commit or branch you are currently in? We utilized https://github.com/project-chip/connectedhomeip/commit/d2eab7f07ae9289fe14aa7e13dba7e64904ef80e to validate this test case

@Ashwinigrl From the Matter Application Clusters section <IP_ADDRESS>.2:

For non-nullable attributes, any value that is not a valid numeric value for the attribute’s type after accounting for constraints SHALL be considered to have the maximum legal value in the attribute’s constrained range.

So the expected behavior here is success.
We currently apply the truncation when doing a recall scene, so a way to test that this is applied would be to call recall scene and to read the attribute from the cluster and confirm its values was affected.

As per the above comment, closing this Issue.


Avoid throwing exception when trying to create a metric and it already exists

In MetricEventHandler, if a metric already exists in the database, the handler throws an exception to avoid trying to reinsert it. At scale, this will happen continuously. We have a handler wrapping that to avoid filling the log with exceptions.
We would like to avoid throwing exceptions in what is definitely not an exceptional situation. The main reason is that all metrics enter through the front door, and if there are easy ways to avoid throwing exceptions continuously then it seems like we should adopt them. https://stackoverflow.com/questions/567579/how-expensive-are-exceptions
(I understand the whole concept of premature optimization, but doing the analysis here would take more effort than simply replacing the exception-based control flow with a non-exception-based control flow.)
Suggestion would be to provide an overriding implementation of the JPA MetricRepository.create() method that performs an existence check and then inserts only if the metric doesn't exist.
Alternatively we could do implement this functionality in the DB itself (create-if-absent sort of thing), but this is less preferable since it would tie us to a particular DBMS.

Aside: It was Knuth who famously wrote, "premature optimization is the root of all evil." But the context where he said that, he was talking about how there's 97% of the program that will never need optimization, and 3% that will need it. He was saying that it's wasteful to guess at what's in the 3% while you're still coding. In this case, doing an expensive and unnecessary operation in normal use seems like an obvious part of the 3%.

Closing, as we are removing metrics from the database.


[BUG] - Docs sidebar elements should persist scroll position while navigating to another component

NextUI Version
2.6.8
Describe the bug
While reading the docs if i scroll the sidebar to specific component and press it, on navigating to docs of another component it automatically scrolls sidebar to top.
Issue which arises due to this:
If i am reading / finding component needed i again and again scroll the sidebar to look the components preview.
Your Example Website or App
https://nextui.org/docs/components/input
Steps to Reproduce the Bug or Issue

Visit https://nextui.org/docs/components/input
Scroll to Listbox in sidebar, and click
Now sidebar is at top, if you want to go to Modal or something else you are finding (hit and trial kind of search) you need to again scroll the sidebar to LIstbox first and then go on to others.

Expected behavior
It shall persist position of sidebar while navigating, or scroll to that position after navigation completes
Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome

I couldn't reproduce the issue (also using Chrome). It did't scroll to the top after step 2. Can you provide a video?

Just checked, someone fixed it today ✅


i will sue you for stealing something in the readme

Hi, I'm Martin Magnet, CEO of Funcade Super Corporation Incorporated. Please remove the stolen thing.
Cheers,
Martin Magnet

h
B
I

ok
<>
link icon

[ ] ---
[ ] ---

@hellory4n

didnt ask :>

you made open source so i can steal 🥰

dis is now my property

fudge i should've made everything absolutely proprietary

better save it on cloud next time 🤓


z.discriminatedUnion does not work when key is constructor

The same issue applies for other keys on object too:
interface Object {
    constructor: Function;
    toString(): string;
    toLocaleString(): string;
    valueOf(): Object;
    hasOwnProperty(v: PropertyKey): boolean;
    isPrototypeOf(v: Object): boolean;
    propertyIsEnumerable(v: PropertyKey): boolean;
}

A working fix is to add the keys as optional keys on ZodRawShape:
type ZodRawShape = { [k: string]: ZodTypeAny; constructor?: ZodTypeAny }

TS Playground repro
Unfortunately ZodRawShape is type { [k: string]: ZodTypeAny };, rather than an interface, so this cannot be fixed in userspace by declaration-merging

perhaps it's not a good idea to use js key words as object keys.

@JacobWeisenburger True! But this is coming in from an API that we do not control.

what API is that?


[B16] Harvestcraft Food contains Metallum, probable Aspect Calculation issue

Which is probably from the cooking utensils used in the recipe, which do not get used up and thus probably shouldn't pass their aspects onto the food.
Only know this second hand, but didn't find an issue. Probably container item fuckery again, like back in TC4 with the metallum cake.

Edit: Went and verified myself with just TC, Harvestcraft and JEI installed:

As it turns out, none of it's components has Metallum, so probably nothing to do with container item shenanigans after all. Maybe Harvestcraft adds the aspect itself? Idk. weird.
Edit2: Bread adds the Metallum (overlooked that because I thought it was a harmless vanilla item :P ). Which As far as I can tell comes ultimatively from the "Fresh Water" recipe, which crafts a Bucket of Water into "Fresh Water" (and leaves an empty bucket behind in the crafting field). This looks like container item fuckery after all.
Maybe this issue get's aggrevated by the fact that there is an additional recipe for fresh water, which seems to be oredicted "Water Item" that allows the Water Bucket AND Fresh Water to be crafted into Fresh Water. So maybe problems with the loop or the oredict thing. Idk.
At this point I'll let someone more dev-y poke around in that more.
I also looked at Harvestcraft's code with JD GUI and she doesn't seem to be using the TC API, so probably nothing going on from that end.

I don't use that mod anymore but metallum is probably derived from the recipe of having iron ingots in her chopping boards and stuff

Chopping boards use bricks now. Also the Salt/Fresh Water seems to be the only thing that adds Aspects to the mix that shouldn't be there.

Of course it does. Come on man, don't spam, especially when you're just speculating without even installing Harvestcraft. This isn't a chat.

i believe azanor needs to check getremainingitems for each recipe, and things will be good.


fix(tabs): focuses reopened last tab

Resolves #484

@joshuef Okay, see how that works now on OSX.


usb: nrf52 returns empty configuration responses

I'm trying to get samples/subsys/cdc_acm running on a nRF52840 board (after sucessfully double-checking that it works after #6608 on an Arduino 101 board). The issue is that I'm seeing some strange behaviour during enumeration of the device.
I'm using a Debian Linux box for these tests. I'm using Zephyr freshly checked out from master (my HEAD points at https://github.com/zephyrproject-rtos/zephyr/commit/4304b4c38b23d7d4a5d9bf258eb6705fcd5f373f, right after #6608 was merged on 2018-03-16).
This is how my wireshark looks like. To the left is the nRF52840, to the right is an Arduino 101. Both are running the same freshly compiled & flashed cdc_acm sample. In both cases I've highlighted the transfer which contains the first configuration descriptor response:

To the right I can see the Arduino 101 with the expected behaviour:

host→board: request device descriptor
board→host: reply with device descriptor
host→board: request configuration descriptor (max 9 bytes, to learn wTotalLength)
board→host: reply with first 9 bytes of the configuration descriptor

However, the behaviour in the nRF52 doesn't look completely right:

host→board: request device descriptor
board→host: reply with device descriptor
host→board: request configuration descriptor (max 9 bytes, to learn wTotalLength)
board→host: empty response
host→board: re-request configuration descriptor (the linux USB stack retries up to 3 times on purpose)
board→host: reply with first 9 bytes of the configuration descriptor

This happens also on all the string descriptor requests in a similar, consistent fashion.
Basic functionality works, but triggering a code path in the linux stack designed for "flakey" [sic] devices doesn't feel right.
I've also tested nRF52840 hardware with some firmware images built with the nRF5 SDK, and the behaviour is as expected, so I can discard a hardware problem.
@sundar-subramaniyan Do you have any idea why these empty responses might be happening? I don't have the low-level expertise to know what might be going on.
cc @carlescufi

CC @pawelzadrozniak

@IvanSanchez Could you upload the wireshark captures somewhere? (For both nRF52840 and Arduino 101 boards). I took a capture in my machine running Ubuntu with cdc_acm sample compiled from Zephyr master (HEAD pointing to 7f28edc) and I could see all the 67 bytes of the DEVICE DESCRIPTOR sent to the host - see attached screenshot. Maybe I'm missing your point. Let me understand it a bit with your captures.

@sundar-subramaniyan Sure, thing, there they are:
zephyr-bug-6643-arduino101.pcapng.zip
zephyr-bug-6643-nrf52840.pcapng.zip
The captures include the hub enumeration and address request/response. The arduino 101 capture includes the bootloader response, and the zephyr cdc_acm sample response after 5 seconds, as expected.

@IvanSanchez Thanks for uploading.
In your case the descriptor GET takes 2 tries every time.
However, I don't see the enumeration hiccups with my setup. But I still see garbled characters when I type something to the console.
Here's the capture from my machine.
zephyr-bug-6643-nrf52_ubuntu.pcapng.zip

More info. The bug is reproducible on 52840 boards marked QIAAAA (PCB revision 0.9) but not on ones marked QIAABA (PCB revision 0.10). I'll have a look at the changelogs.

It seems that this bug is caused by an underlying hardware bug present in the "Engineering A" boards (marked QIAAAA) but that was fixed for the "Engineering B" boards (marked QIAABA).
That hardware is considered deprecated, so I'm closing this bug.

@IvanSanchez That sounds like a HW issue. But you mention that nRF5 SDK based firmware works fine. Wondering if it applies some workaround, if any.
I've got a board with this marking on the SoC: QIAABB 1743AA
The Segger label reads: 0.11.0, 2018.3


from stable_diffusion_videos import interface throws error

Whenever i import interface in python it throws the below error
Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "<frozen importlib._bootstrap>", line 1039, in _handle_fromlist   File "/home/zaithe/.local/lib/python3.8/site-packages/stable_diffusion_videos/__init__.py", line 75, in __getattr__     submod = importlib.import_module(submod_path)   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "/home/zaithe/.local/lib/python3.8/site-packages/stable_diffusion_videos/app.py", line 6, in <module>     from .stable_diffusion_walk import SCHEDULERS, pipeline, walk   File "/home/zaithe/.local/lib/python3.8/site-packages/stable_diffusion_videos/stable_diffusion_walk.py", line 11, in <module>     pipeline = StableDiffusionPipeline.from_pretrained(   File "/home/zaithe/.local/lib/python3.8/site-packages/diffusers/pipeline_utils.py", line 154, in from_pretrained     cached_folder = snapshot_download(   File "/home/zaithe/.local/lib/python3.8/site-packages/huggingface_hub/_snapshot_download.py", line 182, in snapshot_download     repo_info = _api.repo_info(   File "/home/zaithe/.local/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 1289, in repo_info     return self.model_info(   File "/home/zaithe/.local/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 1136, in model_info     _raise_for_status(r)   File "/home/zaithe/.local/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 84, in _raise_for_status     _raise_with_request_id(request)   File "/home/zaithe/.local/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 95, in _raise_with_request_id     raise e   File "/home/zaithe/.local/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 90, in _raise_with_request_id     request.raise_for_status()   File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status     raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/api/models/CompVis/stable-diffusion-v1-4/revision/main (Request ID: d88ARCfxzZgiWqYtjauWn)

Have you authenticated with the Hugging Face Hub?
If in terminal, you can do huggingface-cli login.
Or, if you're in a notebook:
from huggingface_hub import notebook_login

notebook_login()

Did the fix above work for you?

@nateraw ,
Apologies got distracted, it looks like that is working now but it says the pytorch installation does not support my video card (3090).
How can i make it use a pytorch installation compatible with my video card?
NVIDIA GeForce RTX 3090 with CUDA capability sm_86 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70.

@Zaithe I'm guessing you have a bad install of torch/cudatoolkit/cuda driver. thus, this is not an issue with this repo. However, the following comment might help you.
https://github.com/nateraw/stable-diffusion-videos/issues/10#issuecomment-1240928499
Though I don't know the details of your system and don't really have the bandwidth to help with cuda issues (sorry 😢 ).


Strike wallet adapter throwing "Can't import the named export 'EventEmitter' from non EcmaScript module"

Describe the bug
Upgrading @solana/wallet-adapter-wallets throws this compile error:
Failed to compile.

<EMAIL_ADDRESS>Can't import the named export 'EventEmitter' from non EcmaScript module (only default export is available)

To Reproduce
Steps to reproduce the behavior:

Upgrade @solana/wallet-adapter-wallets to 0.19.2
Run npm command npm start to run react-scripts start
See compile error

Expected behavior
Should compile without non EcmaScript module export error
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Mac OS Big Sur 11.6
Browser Chrome
Version 106.0.5249.103

Additional context
Add any other context about the problem here.

You're using react-scripts, this is a Create React App problem (it doesn't handle ESM imports without .mjs extensions).
See the CRA starter project. Specifically, you need react-app-rewired and this config.

You're using react-scripts, this is a Create React App problem (it doesn't handle ESM imports without .mjs extensions).
See the CRA starter project. Specifically, you need react-app-rewired and this config.

ok thanks, saw that solution but was wondering if this was a global issue for other people. thanks for the suggestion will update webpack on my end 👍

np! Yeah, this needs to be documented better and more visibly


Create airport_algo.java

airport_algo.txt
Airport algorithm in java

@Kunal0cr7 contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


Could you add a command to let hysteria run in the background

Could you add a command to let hysteria run in the background like Caddy's command "start".
That command will be useful for windows CMD run hysteria.
Thanks

When I was young (10+ years ago), I used this VBScript to run any command-line program in the background without an ugly black window.
set ws=wscript.createobject("wscript.shell")
ws.run "hysteria.exe",0

Hope this still works on Windows 10/11.


Allow Sidekiq queue name to be specified - especially to segregate review apps

Description
Port of https://github.com/UKGovernmentBEIS/beis-opss-psd/pull/62.
Currently all review app workers are sharing the same queue, so it is not possible to segregate them.
An immediately obvious example would be if you create a new scheduled job another review app worker can pick it up, but immediately fail because it doesn't have that job class available.
Other problems could occur when app logic is modified and it will not be possible to tell which review app processed the job.
This change separates the queues based on the review instance name, e.g. pr-XX.
Checklist:

[ ] Automated checks are passing locally.
[ ] CHANGELOG updated if change is worth telling users about.

General testing

[ ] Test without javascript
[ ] Test on small screen

Accessibility testing

[ ] Works keyboard only
[ ] Tested with one screen reader
[ ] Zoom page to 400% - content still visible
[ ] Disable css - does content make sense and appear in a logical order?
[ ] Passes automated checker (automated in build or manual)

@slorek I thought each review app has its own redis instance, see https://github.com/UKGovernmentBEIS/beis-opss/blob/master/infrastructure/ci/deploy-review-app.sh#L15 ?

Ah thanks, I missed this. It's not implemented on PSD. I think we need a consistent approach, and provisioning a new Redis might be overkill IMO.


Driver Handling - GUI

Adding driver form includes driver’s details and car details.
Time estimation : 8-10 hours (including design and UX)

Completed.
Relevant issues - #150 #157


Document the customisation/configuration and deployment process for the UI

In the UI docs, we should detail exactly how to build the UI with config. The documentation should cover the following:

How to unpack the WAR
How to inject custom configuration and how the UI merges certain parts together.
How to add custom theming
How to change the routing

Merged into develop.


Use pageAction to indicate Security Status of I2P Sites(TLS, etc)

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pageAction

In progress on branch pageaction

Basically I can't set up an actual, signed TLS certificate for an eepSite so what I'm going to make it possible to do is sign your eepSite certificate with your regular web site certificate, then display the chain of trust to your regular web site certificate in a "PageAction" box that is accessible from the URL bar. The goal is to make it easier and safer to access content that is mirrored or proxied into I2P by clearnet sites without resorting to an outproxy.
Besides that, other security-related properties of eepSite connections may be displayed here.

https://i2pgit.org/idk/I2P-in-Private-Browsing-Mode-Firefox/-/merge_requests/23


Font size readability when detectRetina is true

I noticed the font size is hard to read when using detectRetina, tested on Chrome, Firefox and Safari all latest versions on Mac OS X running el Capitan.

Which tileserver are you using? How does your tilelayer definition look like? Leaflet 0.7.x or 1.0.0 betas?

This is by design, since you're essentially getting tiles that are designed for non-retina screens and then displaying them at 2 times smaller scale. detectRetina is a hack for cases when you don't have a proper retina source. Proper solution is just using a tile URL that loads 512px retina tiles (usually with @2x prefix) in place of 256px ones.


Testing component lab with sort example

I couldn't get "npm run component-lab" to run without error. If there is some other configuration needed please update the README.


Building TensorFlow 1.2 from source results in catastrophic error?

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04 LTS
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): 1.2
Bazel version (if compiling from source): 4.5.1
CUDA/cuDNN version: 8.0/5.1
GPU model and memory: GTX 860M
Exact command to reproduce: bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package --verbose_failures

Describe the problem
I have successfully installed TensorFlow 1.2 by upgrading the 1.1 version via Pip, but I wanted to install 1.2 from source to get the full benefits. However, strangely I received this error when building the pip package from bazel.
INFO: From Compiling tensorflow/core/kernels/batch_norm_op_gpu.cu.cc:
external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h(271): internal error: assertion failed at: "/dvs/p4/build/sw/rel/gpu_drv/r361/r361_00/drivers/compiler/edg/EDG_4.10/src/folding.c", line 9819
1 catastrophic error detected in the compilation of "/tmp/tmpxft_00007cc2_00000000-7_batch_norm_op_gpu.cu.cpp1.ii".
Compilation aborted.
Aborted (core dumped)
ERROR: /home/kwotsin/tensorflow_official/tensorflow/tensorflow/core/kernels/BUILD:2730:1: output 'tensorflow/core/kernels/_objs/batch_norm_op_gpu/tensorflow/core/kernels/batch_norm_op_gpu.cu.pic.o' was not created.
ERROR: /home/kwotsin/tensorflow_official/tensorflow/tensorflow/core/kernels/BUILD:2730:1: not all outputs were created or valid.
Target //tensorflow/tools/pip_package:build_pip_package failed to build

I've not seen this error before - is it because I did not git check out the 1.2 version but instead the master branch?

If you didn't check out 1.2 you will get master, not 1.2, which contains strictly more stuff.
What compiler are you using to build this? Because this compilation error happens while compiling a CUDA file, maybe there's a problem with the nvcc version you're using (assuming you're using nvcc).

I get the same error when building with CUDA 8.0 and cuDNN 5.1.5 on Nvidia Jetson TX1 (ARM) from the r1.0 branch.

XQ, can you look at this? It looks like an internal compiler error in nvcc, but we must have triggered it only recently.

Adding @benbarsdell, does this look like a NVCC problem?

Yes, looking into this now.
@kwotsin could you provide the TF commit hash that you're on as well as the output of "nvcc --version"?

I'm also seeing the same issue when building with CUDA 8.0, cuDNN 5.1.5 on Nvidia Jetson TX1 (ARM)
git commit (v1.1.0)
1ec6ed51182adf8f1b03a3188c16cd8a45ca6c85
nvcc --version
Built on Fri_Jul_15_14:52:12_CDT_2016
Cuda compilation tools, release 8.0, V8.0.33

note for TX1 users (https://devtalk.nvidia.com/default/topic/987306/jetson-tx1/internal-error-in-nvidia-driver-code-while-building-r0-12-or-master-tensorflow-on-tegra-tx1/2)
At least for Tensorflow r0.12, NVIDIA released a CUDA 8.0.64 version with Jetpack 3.0 for the TX2. From their forum it looked like they had issues with publicly released versions of CUDA 8.0.34 and nvcc for the TX1 that were NOT yet resolved.
@kwotsin not sure if this applies to you, but is the full version of CUDA that you are using?
@sunsided you're probably in the same boat as me on the TX1. I would try to contact NVIDIA and see if they have a fix that you can use. I have access to a TX2 that I will test with next.

@jeichel-miovision What is the full version of CUDA you're referring to? I installed my CUDA quite some time ago so I suspect it's an earlier version of CUDA 8.0. FYI my error is from building on a laptop, not the TX1.
@martinwicke I have tried to checkout with r1.2, and used bazel clean before I configured and built with bazel.
I now have an error that goes like this:
external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h(275): internal error: assertion failed at: "/dvs/p4/build/sw/rel/gpu_drv/r361/r361_00/drivers/compiler/edg/EDG_4.10/src/folding.c", line 9819

1 catastrophic error detected in the compilation of "/tmp/tmpxft_00001223_00000000-7_softmax_op_gpu.cu.cpp1.ii".
Compilation aborted.
Aborted (core dumped)

@benbarsdell Here is the output of my nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Fri_Jul_15_14:46:45_CDT_2016
Cuda compilation tools, release 8.0, V8.0.33

Also, how do you check the TF commit hash?

@kwotsin your nvcc --version actually posted the full release code: V8.0.33
If possible, I would strongly recommend upgrading to the latest cuda version, >= V8.0.64, since there are known issues with the older versions.
for those interested in the jetson progress:
I've also successful built TF v1.1.0 (1ec6ed51182adf8f1b03a3188c16cd8a45ca6c85) on the TX2 using CUDA V8.0.64 with bazel 0.5.1.
I followed the EXACT same process as I did on my TX1, and as far as I can tell, I suspect the only major difference points to the difference in CUDA version.
Specifically for the TX1 / TX2 platform, I still had to patch TF v1.1.0 by making the modifications in lines 65 to 75 here: https://github.com/jetsonhacks/installTensorFlowTX2/blob/master/patches/tensorflow.patch
I was then able to import tensorflow into python and run some basic test code to validate the installation.

@jeichel-miovision thanks for your advice. I upgraded my cuda version and now installing from source is fixed. I have tried installing a version of TF higher than 1.0 in TX1 before but didn't manage to install it successfully. Perhaps it was because I used the older cuda version that came with jetpack 2.3.1.

@jeichel-miovision, @kwotsin  Hi, may I ask how you upgrade your cuda on TX1/TX2? I used JetPack to install CUDA v8.0.33, and has seen the same error message external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h(275): internal error: assertion failed at: "/dvs/p4/build/sw/rel/gpu_drv/r361/r361_00/drivers/compiler/edg/EDG_4.10/src/folding.c", line 9819
Thanks in advance! :-)

@sugartom I was not able to get the TX1 beyond 8.0.33 (but I didn't look into this aspect very hard).
Instead I downloaded  JetPack 3.0 from NVIDIA (https://developer.nvidia.com/embedded/jetpack). When I installed CUDA for my TX2, the installer downloaded "cuda-repo-l4t-8-0-local_8.0.64-1_arm64.deb" into my jetpack_download folder and proceeded to install version 8.0.64 onto my TX2.
I'm not sure how, or if it is currently possible, to install 8.0.64 on the TX1.
From NVIDIA (https://developer.nvidia.com/embedded/jetpack)

JetPack 3.0 adds support for the new Jetson TX2 Developer Kit with a preview release of L4T with kernel 4.4, and continues to support the Jetson TX1 Developer Kit and the Jetson TK1 Developer Kit. Components for Jetson TX1 and Jetson TK1 Developer Kits remain unchanged from the previous version of JetPack. (A future release of JetPack will support both Jetson TX2 and Jetson TX1 with aligned API and Linux kernel versions.)

@sugartom I also running an experiment and manually copied the cuda-repo-l4t-8-0-local_8.0.64-1_arm64.deb package to my TX1. sudo dpkg -i cuda-repo-l4t-8-0-local_8.0.64-1_arm64.deb && sudo apt-get update && sudo apt-get upgrade
I'll try rebuilding tensorflow v1.1.0 throughout the day and post the results.

@jeichel-miovision @sugartom I wasn't able to upgrade the cuda in the past due to some architectural issues. Basically the TX1 says it's using aarch64 and so even with the arm64 deb I couldn't install it. Perhaps a successful upgrade of CUDA would make it possible to install tensorflow above v1.0, which would enable a lot of other operations like quantization. thanks to @jeichel-miovision in advance for trying out!

Hi, someone has try to compile it with the new Jetson Pack 3.1 ?
I have this error.

INFO: Found 1 target...
INFO: From Compiling external/llvm/lib/MC/MachObjectWriter.cpp [for host]:
external/llvm/lib/MC/MachObjectWriter.cpp: In member function 'void llvm::MachObjectWriter::writeNlist(llvm::MachObjectWriter::MachSymbolData&, const llvm::MCAsmLayout&)':
external/llvm/lib/MC/MachObjectWriter.cpp:376:39: warning: 'AliaseeInfo' may be used uninitialized in this function [-Wmaybe-uninitialized]
     Address = AliaseeInfo->StringIndex;
                                       ^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'
INFO: From Compiling external/llvm/lib/MC/WasmObjectWriter.cpp [for host]:
external/llvm/lib/MC/WasmObjectWriter.cpp: In member function 'virtual void {anonymous}::WasmObjectWriter::writeObject(llvm::MCAssembler&, const llvm::MCAsmLayout&)':
external/llvm/lib/MC/WasmObjectWriter.cpp:802:27: warning: 'Index' may be used uninitialized in this function [-Wmaybe-uninitialized]
       Export.Index = Index;
                           ^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-invalid-partial-specialization'
[2,311 / 6,048] Compiling external/llvm/utils/TableGen/CodeGenRegisters.cpp [for host]

Server terminated abruptly (error code: 14, error message: '', log file: '/home/nvidia/.cache/bazel/_bazel_nvidia/d2751a49dacf4cb14a513ec663770624/server/jvm.out')

It has been 14 days with no activity and this issue has an assignee.Please update the label and/or status accordingly.

I believe this is fixed, but I cannot say for sure. Can you reopen if this still occurs with a more recent TensorFlow?

I get the same error when building with CUDA 8.0 and cuDNN 7.0 on ubuntu16.04 from the r1.13 branch.
device：1080ti bazel version ：0.20


Time picker time field is partially obscured

The time picker fields showing the chosen time are partially obscured. See the image below:

I'm running Safari "Version 15.5 (176<IP_ADDRESS>.8)" and Mac OS 12.4 on a 2020 M1 MacBook Air. The magnification is set at 100%. Let me know if there are any other bits of information that might help.

This may be an upstream bug with flatpickr, but in any case we should try reproducing first.

I couldn't reproduce this bug. Mine looks right on Safari.

It reproduces for me on Safari Version 15.3 (166<IP_ADDRESS>.8, 16612) on Mac OS 11.6.8 (MacBook Pro).

I was able to reproduce it locally and fix it by specifying the minimum height for the input.
Raised #22867.
I think I was able to reproduce it because I have the same specification as described by @matloob.


Snapshot doesn't include autoImport

It seems the published SNAPSHOT for 0.8 doesn't include the autoPlugins infrastructure.  Maybe a quick republish to fix?

I just published version 0.8.0 to Bintray. It should be available as soon as it's approved for inclusion in the main SBT repository.

thanks!


💡 [FEATURE] - Add feedback form for new website

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
I wish to add the feedback form page
Explain your solution

Any alternative approaches/features
No response
Additional Context
No response

Looks good @sau-mili


Assertions order is wrong when using command assertions combined with other ones

Laravel Version: 7.4.0
PHP Version: 7.4.2
Database Driver & Version: MySQL 8.0.19

Description:
Take this example test:
public function it_imports_users_to_the_database(): void
    {
    	$this->artisan('import:users')
            ->expectsQuestion('Please provide the URL to import users:', 'https://myapi.com/users')
            ->assertExitCode(0);

    	$this->assertCount(100, User::all());
    }

Here we are making assertions about the Laravel command through the given helper and afterward we are testing against the database through a different testing helper.
Now let's say the command file with the signature exists, but nothing else is implemented. We run this test:
Expected behavior: failing test for expected question
Actual behavior: failing test for database Failed asserting that actual size 0 matches expected size 100.
Only after fixing the database assertion, the command one is run. So this means the order is wrong here.
The Reason
@nuernbergerA and I were debugging this and found out that the command assertions are being run right before the application gets destroyed https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/InteractsWithConsole.php#L54-L72
This is why they always run at the end of every test.
Solution
Our solution would be to extract the code from https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/InteractsWithConsole.php#L54-L72 and move to the PendingCommand. There you could run this code in the run or execute method. We tested it and it worked for us.
From what I know @themsaid was working on the console testing features. Are there specific reasons why the assertions are executed when laravel gets destroyed? Anything to consider here before we do a pull request?
Steps To Reproduce:

create laravel app
add test with example code see above
add console command with same signature
run test

I'm not entirely sure if this is expected or not so gonna wait and see how the PR goes.

Thanks. @nuernbergerA just added the PR 👍
I also thought if that could be intentional, but using both helpers in one test still makes sense.


log conda output

Upstream SPARK-XXXXX ticket and PR link (if not applicable, explain)
When running verbose conda commands, outputs are not currently logged
What changes were proposed in this pull request?
Log stdout of conda command in case verbosity flag is on (>0)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.

Not a maintainer so can't post a review but got asked for one

bad commit message - you should explain what and why
These aren't safe anyway so our logging infra will not get it anyway

Thanks @robert3005
We can see the logs with our infra, seems like only with logInfo wiring
INFO  [2019-07-23T11:18:58.317Z] org.apache.spark.api.conda.CondaEnvironmentManager: About to execute [/.../conda, create, -n, conda-env, -y, --no-default-packages, , --, python=2.7.16=h9bab390_0, ...] with environment
INFO  [2019-07-23T11:20:13.149Z] org.apache.spark.api.conda.CondaEnvironmentManager: Successfully executed [/.../conda, create, -n, conda-env, -y, --no-default-packages,  --, python=2.7.16=h9bab390_0, ...] with environment

ok, still commit message needs changing


[incubator/escalator] Initial support

What this PR does / why we need it:
Escalator is a batch or job optimized horizontal autoscaler for Kubernetes

Attempts to support all the command-line flags for Escalator
Supports providing custom IAM credentials via annotations
Custom kubeConfig can be provided to autoscale a separate cluster

Special notes for your reviewer:

There is no official image, so the chart defaults to wendorf/escalator. https://github.com/atlassian/escalator/issues/114 has been filed to track getting an official image. An official image is now available.
The autoscaling group configuration is passed directly to escalator, and the chart documentation points users to Escalator's documentation, since the algorithm is nuanced. That felt like the right call, but I'm definitely open to being more explicit in the chart if that's preferred.

/assign @viglesiasce

An official image has now been published, so this chart feels pretty mergeable. Can someone please review? Thanks!

@wendorf this is failing the linter checks. Can you take a look:
https://circleci.com/gh/helm/charts/20362?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Somehow totally missed that lint failure! Fixed.

/retest pull-charts-e2e

/test pull-charts-e2e

Bump to prevent automatic closure

Bump to prevent automatic closure

Bump to prevent automatic closure

@davidkarlsen @viglesiasce Is there anything I can do to help get approval for this?

/lgtm


EXSWHTEC-303 - Implement tests for synchronization device functions

Tests for __syncthreads, __syncthreads_count, __syncthreads_and, and __syncthreads_or
Basic synchronization tests
Predicate tests
Negative parameter tests.

@mirza-halilcevic,
Will you please resolve merge conflicts for this PR?

PR has been merged into develop branch via commit 0e54517f8490816cdad1da112a41d166341088b1.


Ecs test issue

Description of the issue
Other ECS tests were using the wrong dimension provider, and EMF ECS was using a hardcoded value.
Description of changes
Fixes issue with ECS tests using different dimension providers, and EMF ECS tests emitting a clustername instead of hardcoded value
License
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Tests
Integration tests

can you link to a successful run with this change?


Issue with /docs/tutorials/kubernetes-basics/deploy-interactive/

This is a...

[ ] Feature Request
[X] Bug Report

Problem:
We can't click START button and start the module
Proposed Solution:
Corret advertise on footer page.
Page to Update:
http://kubernetes.io/...

duplicate of #2037 and #2050. closing this issue. Please follow issue under #2050


How to uninstall mxnet thoroughly and reinstall it again on Ubuntu?

I had  installed mxnet in Quick Installation way.But it couldn't use gpu.
I thought that there must be sth wrong in installation.And I installed it again without reading the doc which introduced how to edit config.mk.
And i found two same lines
:
PYHONPATH......
In the end of my .bashrc
And then my Theano didn't work too.After i deleted those two lines,Theano worked again.
But when I make the config.mk,it got erro.
I want to.reinstall.mxnet thoroughly,but I don't know what had been edited by mxnet in my system.
What can I do?

I think pip uninstall mxnet could work. Then make clean before you rebuild the mxnet

Also could you provide what's the two lines?

:~/MXNet/mxnet$ make -j32
cd /home/quantumliu/MXNet/mxnet/dmlc-core; make libdmlc.a USE_SSE=1 config=/home/quantumliu/MXNet/mxnet/config.mk; cd /home/quantumliu/MXNet/mxnet
make[1]: Entering directory '/home/quantumliu/MXNet/mxnet/dmlc-core'
make[1]: 'libdmlc.a' is up to date.
make[1]: Leaving directory '/home/quantumliu/MXNet/mxnet/dmlc-core'


RFP - ReShade

https://reshade.me/
https://github.com/crosire/reshade
ReShade is a post-processing injector for games and video software, commonly used for injecting high-quality anti-aliasing SMAA for PC games. Software compatibility is extremely comprehensive.
dowload: https://reshade.me/#download

I've looked into this and I don't think this can be made into a package. When clicking on the installer, it asks you for which game and which DirectX API to install into the Game's folder. There's no way to automate this. You do have the option for a manual install but all that does it put the DLL's into the same folder as the installer. They need to be put in the same folder as the game.

@jtcmedia Of course the installation process should still be manual, the users only get the Reshade setup file. Reshade is used on per-game basis.

@07416 in that case, a package for this would be better as a private package hosted on a private repository instead of on the community repository, IMO.

@AdmiringWorm You have seemingly misunderstood. To be exact, ReShade doesn't require installation. ReShade is configured on per-program-basis for post-processing injection. The program is fully functional after downloading "ReShade_Setup_*.exe" file.

@07416 ah, I see. My bad

I'm looking into creating a package for this program.
Since it requires to be configured per game, I'm just going to make it available in the following locations:

As an automatic shim
In the desktop directory (opt-in)
In the start menu directory (opt-out)

The reshade package have been submitted.
Let me know if there are anything you want to be changed on it
https://chocolatey.org/packages/reshade/3.0.8
/cc @07416

package have been approved.


Render deck to a pdf canvas

not sure if this feature is what you want to build-in. feel free to close it if you don't want to have this.
BTW I have the feeling that we are staying within just 1km...

not sure if this feature is what you want to build-in. feel free to close it if you don't want to have this.
BTW I have the feeling that we are staying within just 1km...

In fact, I even took your class, can I add your WeChat account, mine is'yami-wx'


Relicense under dual MIT/Apache-2.0

This issue was automatically generated. Feel free to close without ceremony if
you do not agree with re-licensing or if it is not possible for other reasons.
Respond to @cmr with any questions or concerns, or pop over to
#rust-offtopic on IRC to discuss.
You're receiving this because someone (perhaps the project maintainer)
published a crates.io package with the license as "MIT" xor "Apache-2.0" and
the repository field pointing here.
TL;DR the Rust ecosystem is largely Apache-2.0. Being available under that
license is good for interoperation. The MIT license as an add-on can be nice
for GPLv2 projects to use your code.
Why?
The MIT license requires reproducing countless copies of the same copyright
header with different names in the copyright field, for every MIT library in
use. The Apache license does not have this drawback. However, this is not the
primary motivation for me creating these issues. The Apache license also has
protections from patent trolls and an explicit contribution licensing clause.
However, the Apache license is incompatible with GPLv2. This is why Rust is
dual-licensed as MIT/Apache (the "primary" license being Apache, MIT only for
GPLv2 compat), and doing so would be wise for this project. This also makes
this crate suitable for inclusion and unrestricted sharing in the Rust
standard distribution and other projects using dual MIT/Apache, such as my
personal ulterior motive, the Robigalia project.
Some ask, "Does this really apply to binary redistributions? Does MIT really
require reproducing the whole thing?" I'm not a lawyer, and I can't give legal
advice, but some Google Android apps include open source attributions using
this interpretation. Others also agree with
it.
But, again, the copyright notice redistribution is not the primary motivation
for the dual-licensing. It's stronger protections to licensees and better
interoperation with the wider Rust ecosystem.
How?
To do this, get explicit approval from each contributor of copyrightable work
(as not all contributions qualify for copyright, due to not being a "creative
work", e.g. a typo fix) and then add the following to your README:
## License

Licensed under either of

 * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.

and in your license headers, if you have them, use the following boilerplate
(based on that used in Rust):
// Copyright 2016 pcap developers
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

It's commonly asked whether license headers are required. I'm not comfortable
making an official recommendation either way, but the Apache license
recommends it in their appendix on how to use the license.
Be sure to add the relevant LICENSE-{MIT,APACHE} files. You can copy these
from the Rust repo for a plain-text
version.
And don't forget to update the license metadata in your Cargo.toml to:
license = "MIT/Apache-2.0"

I'll be going through projects which agree to be relicensed and have approval
by the necessary contributors and doing this changes, so feel free to leave
the heavy lifting to me!
Contributor checkoff
To agree to relicensing, comment with :
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

Or, if you're a contributor, you can check the box in this repo next to your
name. My scripts will pick this exact phrase up and check your checkbox, but
I'll come through and manually review this issue later as well.

[ ] @ebfull
[ ] @lrbalt
[x] @darxriggs
[ ] @rouge8

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0
license, allowing licensees to chose either at their option.
On Sunday, January 10, 2016, René Scheibe<EMAIL_ADDRESS>wrote:

I license past and future contributions under the dual MIT/Apache-2.0
license, allowing licensees to chose either at their option.
—
Reply to this email directly or view it on GitHub
https://github.com/ebfull/pcap/issues/27#issuecomment-170364646.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

Thank you to everyone in here who replied quickly. You rock.


Many packages missing, till now i found this file missing as well "diffusion_pytorch_model.bin" please help

I've installed the project following the provided guidelines. However, when I tried to create an animated image using the command given, I ran into errors indicating that several packages were missing. I installed some of them, but still encountered errors.
Currently, I am stuck on the following error. Please help me locating or providing this missing "bin" file
/miniconda3/envs/pia/lib/python3.10/site-packages/diffusers/utils/outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  torch.utils._pytree._register_pytree_node(
loaded temporal unet's pretrained weights from models/StableDiffusion/unet ...
Traceback (most recent call last):
  File "/var/www/html/python/imageAnimator/inference.py", line 63, in <module>
    validation_pipeline = I2VPipeline.build_pipeline(
  File "/var/www/html/python/imageAnimator/animatediff/pipelines/i2v_pipeline.py", line 173, in build_pipeline
    unet = UNet3DConditionModel.from_pretrained_2d(
  File "/var/www/html/python/imageAnimator/animatediff/models/unet.py", line 554, in from_pretrained_2d
    raise RuntimeError(f"{model_file} does not exist")
RuntimeError: models/StableDiffusion/unet/diffusion_pytorch_model.bin does not exist

Please help

how to uninstall this project along with all installed packages? This plugin seems not working and also broke some of my other scripts.

Hi @Viper177,
Thanks for your interest,

You need to follow this step to download necessary model weights
We suggest you install an environment for PIA from scratch and you can refer to this yaml file.

Hi @Viper177,
Thanks for your interest,

You need to follow this step to download necessary model weights
We suggest you install an environment for PIA from scratch and you can refer to this yaml file.

Thanks @zengyh1900
I installed all the packages listed in the readme. I'll try updating the project with this new YAML file.


ACC Chariot out of sync with Main code release

Latest release of ACC is v1.2.4 https://github.com/f5devcentral/f5-automation-config-converter/releases/tag/v1.24.0
Can we get this extension upgraded to the most recent version of ACC?

+1

Not sure if/when this might happen.  closing for now.
https://github.com/f5devcentral/f5-automation-config-converter


Redo this

I think I made an error in the schematic. On the working breadboard version, I had two cables (on cable on each side) and I don't think I accounted for that. On the kicad version, there was only a single cable attached. Since the cables cross the rx/tx pairs, I would be crossing them twice with two cables.
I think I should try digging up this project again if I can find my old dock.

Alright, found the old dock and maybe figured it out. So many problems.

Next things to do:

[ ] better understand how the sbu pin works
[ ] test slow speed transfers, maybe see if GbE actually works or if display port does anything
[ ] find turnkey service, get supported components - JAE? amp? gct?
[ ] get footprints for type c connector into kicad
[ ] sketch out schematic
[ ] remember how to do design rules
[ ] layout boards
[ ] submit order, etc.

There is a 1 cm hole that can be populated with a USB-C receptacle. I think I can create a 3D-printed receptacle to populate it but it'll be a very tight fit. Maybe I'll ignore this requirement for now.

Test board order via jlcpcb - eta several weeks. Using the GCT connectors again but might try a different design later on.

Via size was increased to 0.3mm, via diameter was changed to 0.5mm. JLCPCB increased the size and I should prob reflect that on the PCB file

Update: the GCT part cannot be sourced by JLCPCB. Will have to change the design to work with an existing part

Ordered GCT parts through JLCPCB's global sourcing. ETA May 23.
In the meantime, I may try using the dg-switch and lian-xintech parts but it would require a redesign :/

First test board arrived and it works (sorta).

Lights up correctly, shows up in device manager
Ethernet works
Audio device shows up
Charges/negotiates 50W delivery

Unfortunately, it looks like both the plug and receptacle works only in a single direction. This might be how it originally was, I'm not sure. But I can flip the plug on the PC-side and it works fine in either direction, so I'm pretty stumped. But I'll try a few things on the breadboard and see if I can figure it out that way.
Also the GbE seems to cap out around 500 Mbit, which is slower than my other (non-dell) dock. I'm not sure if this is a problem in the differential pairs and the physical layout, or if it's a limitation of the dock, or a bad pair somewhere. I'm also wondering if the plug side should be using the A-side D pairs instead.
Next steps:

[ ] Put it back on the breadboard
[ ] Try out different configurations.
[ ] Try out flipping the orientation of the A/B side
[ ] Try and understand wtf's happening with the A5/A8 signals. Do I need to correct these?
[ ] Should GND be connected to the shield? Probe the original board
[ ] IF there are schematic changes, do those
[ ] Redesign board w/ flex PCB

[ ] increase power trace width, remove the power plane (maybe)
[ ] add mounting holes

[ ] receptacle design in CAD

ETA 1-2 mo

not sure how to calculate the impedance over a crosshatch gnd plane w/o either paying money or a ton of work.
it looks like pcbway has controlled impedance on flex pcbs though

Hello.. i'm trying to modify directly on the board..
the photo diagram that you did is kinda confusing.
What pins are flipped?

Hello.. i'm trying to modify directly on the board.. the photo diagram that you did is kinda confusing.
What pins are flipped?

Here's the working schematic:

The thing kinda works, going from PC <-> USB C-C cable <-> J1 <-> J2 <-> D6000 dock. However, although the connection from PC <-> USB C-C cable can be flipped, the connection between USB C-C cable <-> J1 is unidirectional, which makes me think something in the schematic is wrong.

From what I've read online in several Reddit threads it appears that the cable is indeed unidirectional on the dock side. For example here
Maybe that helps


[Bug] simdjson build error

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
master branch
What's Wrong?
In x86 Centos 7.5， gcc 11.2.0, cmake 3.19.2， build   simdjson error

/tmp/ccRcvSPM.s: Assembler messages:
/tmp/ccRcvSPM.s:1404: Error: no such instruction: vpcompressb %zmm2,(%rbx){%k1}' /tmp/ccRcvSPM.s:1425: Error: no such instruction: vpcompressb %zmm1,(%r9){%k1}'
/tmp/ccRcvSPM.s:1527: Error: no such instruction: vpcompressb %zmm1,384(%rsp){%k1}' /tmp/ccRcvSPM.s:1546: Error: no such instruction: vpcompressb %zmm2,(%rdx){%k1}'
/tmp/ccRcvSPM.s:1954: Error: no such instruction: vpcompressb %zmm13,%zmm1{%k1}{z}' /tmp/ccRcvSPM.s:2002: Error: no such instruction: vpcompressb %zmm13,%zmm4{%k1}{z}'
/tmp/ccRcvSPM.s:2193: Error: no such instruction: vpcompressb %zmm0,%zmm4{%k7}{z}' /tmp/ccRcvSPM.s:2224: Error: no such instruction: vpcompressb %zmm0,%zmm2{%k3}{z}'
/tmp/ccRcvSPM.s:2247: Error: no such instruction: `vpcompressb %zmm0,%zmm2{%k6}{z}'
make[2]: *** [CMakeFiles/simdjson.dir/src/simdjson.cpp.o] Error 1
make[1]: *** [CMakeFiles/simdjson.dir/all] Error 2
make: *** [all] Error 2
looks like cpu doesn`t have vpcompressb instruction

What You Expected?
build success
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

find the reason.
can use DSIMDJSON_AVX512_ALLOWED:BOOL=OFF
CXXFLAGS="-O3" CFLAGS="-O3" cmake -DSIMDJSON_AVX512_ALLOWED:BOOL=OFF -DSIMDJSON_EXCEPTIONS=OFF -DSIMDJSON_DEVELOPER_MODE=OFF -DSIMDJSON_BUILD_STATIC=ON -DSIMDJSON_JUST_LIBRARY=ON -DSIMDJSON_ENABLE_THREADS=ON ..
cmake --build . --config Release


/gif bug

Issue Summary
/gif doesn't work anymore.

Steps to Reproduce
/gif
Ghost Version
Ghost 5.33.0
Node.js Version
v16.19.0
How did you install Ghost?
Ubuntu 20.04
Database type
MySQL 8
Browser & OS version
Firefox Windows 11
Relevant log / error output
https://global.discourse-cdn.com/business4/uploads/ghost2/original/3X/c/e/ceed3d942d0fcb16a7a24052f47fdca7e6389905.gif

https://forum.ghost.org/t/gif-might-be-bugging/31644

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Hi @ever-blogger - have you configured Ghost with a Tenor API key? https://ghost.org/docs/config/#tenor

Hi @ever-blogger - have you configured Ghost with a Tenor API key? https://ghost.org/docs/config/#tenor

Thanks for help, I am able to use /gif now, I was thought it is a bug as this feature used to be by default.


Format String keyword needs escaping of equals sign (=)

The Format String keyword from BuiltIn String Library needs escaping of equals sign (=). Is this behaviour expected?
Robot Framework REPL
>>> Format String    [text()="{}"]    TESTING
ERROR Keyword 'String.Format String' got positional argument after named arguments.
>>>
>>> Format String    [text()\="{}"]    TESTING
[text()="TESTING"]

Python REPL
>>> '[text()="{}"]'.format('TESTING')
'[text()="TESTING"]'
>>>

The situation here is, that Robot Framework in general interprets any key=value pattern as a named argument, when there are **kwargs present. This is the case with Format String
Example code to reproduce and maybe also an idea for a fix in the future? @pekkaklarck
>> Executable Example <<
from robot.api import logger

def keyword_with_args(pos, *varargs, **keywordargs):
    logger.console(f"pos: {pos}")
    logger.console(f"*varargs: {varargs}")
    logger.console(f"**keywordargs: {keywordargs}")

def keyword_with_posonly_args(pos, /, *varargs, **keywordargs):
    logger.console(f"pos: {pos}")
    logger.console(f"*varargs: {varargs}")
    logger.console(f"**keywordargs: {keywordargs}")

*** Settings ***
Library    Lib.py

*** Test Cases ***
Test with args
    Keyword With Args    positional_value    other_positional    more_positional   key1=value1    key2=value2

Test with problems
    Keyword With Args    problem=equal in pos arg when **kwargs present    other_positional    more_positional   key1=value1    key2=value2

Test with Pos Only Args
    Keyword With PosOnly Args    problem=should work as posonly    other_positional    more_positional   key1=value1    key2=value2

positional only Arguments could be used to automatically match the first given argument as is and not trying to pass it to **keywordargs, because of that =.
This is not how positional only arguments do work right now, but i think it could be a good usecase for them.
Given the two python keywords on top, the following Robot code shows the current use case for positional_only arguments.
Test posonly vs normal positional
    Keyword With PosOnly Args    posonly_value    pos=kwargs_value
    Keyword With Args    pos_value    pos=kwargs_value

While the forst keyword works, because the first arg can not be accessed named, in the second keyword call, the argument pos, which is positional_or_named, is set twice.
So the python use case for pos_only arguments is, that you can hand over keys/argument_names to a **kwargs, that are already existing in the argument interface.
So the change could be that pos_only args in robot are just taken by their position and not by their name.
This could also solve an issue, that once existed in Browser lib:
def type_text(self, selector, text):
    ...

Test
    Type Text    text=Username    admin

where text=Usermane is a valid playwright selector, it conflicts with the text argument
with the new proposed interpretation of pos_only, it would be
def type_text(self, selector, /, text):
    ...

and text=Username would just be given to selector

@Snooz82 is right that this occurs because the keyword accepts **named and thus Robot considers all arguments using = to be named arguments.
The proposal by @Snooz82 to ignore = in positional-only arguments is a good one. If we added that support, then signature of this keyword could be changed to template, /, *positional, **named and the issue would be resolved. Could you submit a separate issue about that enhancement? We could then keep this issue open as a reminder to update Format String.

It seems we forgot about the idea to use positional-only arguments for this usage. I believe it would be pretty useful and we could try doing that in RF 7.1. I assign this issue to its scope and we then need to submit a separate about the actual positional-only enhancement.


[Perf] Add ContentLength to IHeaderDictionary

#407 Headers are stored as strings, but multiple components may need to examine the Content-Length header value on a request or response. To avoid redundant conversions allow both representations to be stored. The IHeaderDictionary implementations are responsible for keeping the representations in sync. I did not attempt any optimizations in the default implementations, they are primarily used for testing. The real gains will come from the WebListener and Kestrel implementations.
Do not merge this until the WebListener, Kestrel, and Hosting implementations are ready.
@benaadams Does this give you enough of an abstraction to implement in Kestrel? Do you want to take the first stab at it? The current xproj vs csproj schism may complicate matters.

@Tratcher looks good; will have a shot

Probably should be ulong but nevermind 😄

I think ulong is a good idea. I mind.

Is already exposed as long? on Request and Response, assume changing them to ulong? would be a breaking change?

Hadn't considered that. I guess we should stay consistent then. I think 63 usable bits should be enough. We'll just need to keep guarding against negative values.

HeaderUtilities.TryParseInt64 will return false for a value with a sign in it, so shouldn't get negative values

Interesting that HeaderUtilities.FormatInt64 will create a string for a negative number even though HeaderUtilities.TryParseInt64 would throw trying to parse it.


Remove manual smoke tests

Review one commit at a time.
I'm rerunning all the smoke tests (with runintegrationtests.sh --smoke) now.

(All expected tests pass.)


Add hide/show for limitList

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

As requested by my users ... when using limitList() for listWithLineBreaks() in a TextColumn, replaces "and X more" text with "show X more" clickable text which reveals the additional values, and a "show X less" to hide them again.
Lmk if you want this behavior but would would prefer this behavior to be optional, perhaps with a named argument like limitList(5, hideShow: true).
https://github.com/filamentphp/filament/assets/934456/ee9c92bc-4ae1-4fa0-9521-6136b850cac2

This is good default behaviour, please also replicate it for TextEntry if that is appropriate

Nice one, Hugh!
We should probably use the Filament link component for the button.

Nice one, Hugh! We should probably use the Filament link component for the button.

@zepfietje weirdly, if I switch the div to an x-filament::link, it destroys the list formatting.  Any ideas?
https://github.com/filamentphp/filament/assets/934456/8c41e69d-b0ff-49c7-b3db-5768919f934a

Yeah the link defaults to be a real link, so it needs the tag="button" attribute.
Should the color be primary or gray by the way? What do you think?

I think it should be gray

Yeah I prefer that as well.

I've updated the link color to gray for all instances in this PR.

Can we rename showLimited to isLimited and invert all conditions, might fit our naming conventions better

The other thing I'm not entirely happy about is that each additional line is it's own x-show, as that was the easiest way to do it when I was testing to see if the idea even worked.
I think I'll have a go at wrapping all the extras in their own div, so it's a single x-show, with a nicer sliding transition.

I think this is much technically simpler so lets go with this for now

OK, changed showLimited to isLimited in both table and infolist.  Tweaked docs for infolist limitList() to match table.
Tested the Infolist stuff in the demo app.
I think that's everything?
https://github.com/filamentphp/filament/assets/934456/64b353de-6a59-43e3-9345-01f8d40bdb3b

Not sure if we need that x-transition. I think it looks snappier without it.

Not sure if we need that x-transition. I think it looks snappier without it.

@zepfietje hmm, I actually don't like it without, it's TOO snappy, especially if you have a lot of hidden items, and suddenly the everything just snaps off the bottom of the page.  That's why I added it in the first place.  But you are The Man, so tell me to remove it and I will.  But at least test it with 50+ hidden items.

Yeah I do understand your reasoning, @cheesegrits.
To be honest though, when I watched your screen recording, I thought it was a little janky, until I found it was actually an x-transition on purpose. 😅
I don't think the default scale animation works well in this case.
Also, I've never really seen this sort of thing animated, have you?

Decided this should be opt in, as people with huge limited lists could experience performance issues with the extra DOM elements


Slow onChange when changing time

https://codesandbox.io/s/flatpickr-slow-time-update-li61i
Your Environment

flatpickr version used: 4.6.1, 4.6.2
Browser name and version: Chrome/FF/edge
OS and version: Win10

Hi,
We are experiencing an issue when subscribing to flatpicker's onChange event. The onChange event triggers instantly when changing a date, but there is a noticable delay when changing hours/minutes.
You can easily see this in the console of the following codesandbox:
Is this done on purpose, to debounce multiple clicks in the timepicker?
This messes with our validation, as we disable a save button based on flatpicker's value, users can now change the value to something invalid and press save before our onchange triggers...
EDIT
After peeking in the source, I found out you actually debounce this, would you be open to a pull request making this configurable?

Agreed, would be nice to have a config option here. Had a feeling that there must be debounce. Thxs for checking, @arnederuwe !


Repair broken tests, update test format per 3.5.0 Ember documentation

There are 3 things in this PR:

all existing unit and integration tests in pass-ember have been repaired since they were broken after the recent refactoring.
tests have been rewritten to match the format described in the Ember 3.5.0 documentation (e.g. using module('Unit | Route | submissions/new', (hooks) => { and so on)
as an experiment several tests were written for the Submission model's calculated properties - further tests will be created in the next set of PRs.

This is the first step of #854

Looks good to me!


Thankyou page linked to routes

!!! DO not MERGE This!
Hello team i have created the "Thank you component" and tried to integrate it to the main page.
However as i can see from the Figma design @WalterAlvar @Dabrytskaya  its rather supposed to be a separate page(header,``thankyou component and footer).
But i have no idea how i can create a separate page with vue. I am guessing that we can have only one app.vue .
i would appreciate if you could give me some directions if not i am going to try to find a solution tomorrow.

the answer to this is what I was just working on now 😄 please check solution in #129

I have now created a route for this in the other PR..so the code can be copy+pasted

just now sure why your PR has so many changed files..have you tried merging the main branch before sending the PR?

Actually, when you hover the button in Safari, it just gets bigger ... and then bigger ... and then bigger! Until in takes the biggest part of the screen 😄

Hey Team,
could you take a look on the latest changes and give me your feedback?
i have made some slight modifications
margin and padding removed and no need of scrolling as before.
watch out it is showing me that there is some sort of conflict that needs to be resolved before merging .
I just saw this message after already pushing the changes.
Desktop 1240pxl

Tablet 768pxl

Mobile 320pxl

hi @Mika215 thank you it looks much better! Thanks for beginning work on the media queries too.
One observation is that the positioning of the elements could be fix, so all items are centered..now the logo & text are not aligned with the homepage button..can you fix that?

@Mika215 check if you agree with the centering..thank you


REQUEST: New membership for DharmitD

/kind area/process
Please read the guide lines for joining the Kubeflow GitHub org before opening an issue
Please provide links to PRs or other contributions (2-3):
https://github.com/kubeflow/kfp-tekton/pull/1359
https://github.com/kubeflow/pipelines/pull/10269
** Please list 2 existing members who are sponsoring your membership:**
@Tomcli
@yhwang
** Please test your PR **
Run
cd github_orgs
pytest test_org_yaml.py

Include the output in the PR
Additional Instructions
After your PR is merged please wait at least 1 hour for changes to propogate.
If after an hour you haven't recieved an invite to join the GitHub org please open an issue.
You can contact build copy in #buildcop in kubeflow.slack.com

/lgtm
@DharmitD thanks for your contributions!

/close


Permission denied on running rasa in centos with docker

Rasa version:
using docker-full-latest
Operating system (windows, osx, ...):
CentOS Linux 7 (Core)
Issue:
I'm trying to deploy my locally trained model to remote server using docker to run the pretrained model from local machine.
Error (including full traceback):
Command:
$ sudo docker run -v $(pwd):/app rasa/rasa init --no-prompt

Traceback:
Warning: Output is not to a terminal (fd=1).
Warning: Input is not to a terminal (fd=0).
Welcome to Rasa! 🤖

To get started quickly, an initial project will be created.
If you need some help, check out the documentation at https://rasa.com/docs/rasa.

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/distutils/file_util.py", line 41, in _copy_file_contents
    fdst = open(dst, 'wb')
PermissionError: [Errno 13] Permission denied: './__init__.py'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build/bin/rasa", line 11, in <module>
    load_entry_point('rasa==1.5.0a1', 'console_scripts', 'rasa')()
  File "/build/lib/python3.6/site-packages/rasa/__main__.py", line 76, in main
    cmdline_arguments.func(cmdline_arguments)
  File "/build/lib/python3.6/site-packages/rasa/cli/scaffold.py", line 195, in run
    init_project(args, path)
  File "/build/lib/python3.6/site-packages/rasa/cli/scaffold.py", line 111, in init_project
    create_initial_project(path)
  File "/build/lib/python3.6/site-packages/rasa/cli/scaffold.py", line 119, in create_initial_project
    copy_tree(scaffold_path(), path)
  File "/usr/local/lib/python3.6/distutils/dir_util.py", line 163, in copy_tree
    dry_run=dry_run)
  File "/usr/local/lib/python3.6/distutils/file_util.py", line 151, in copy_file
    _copy_file_contents(src, dst)
  File "/usr/local/lib/python3.6/distutils/file_util.py", line 44, in _copy_file_contents
    "could not create '%s': %s" % (dst, e.strerror))
distutils.errors.DistutilsFileError: could not create './__init__.py': Permission denied

Thanks in advance!

i am facing the same issue, creared an ubuntu lts vm in azure and tried to install rasa using docker

Thanks for the issue, @tmbo will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

Puh, no idea where this is coming from - @aleerizw, do you know what might be causing this?
@miohana: why are you running rasa init in the first place if all you want to do is deploy an already trained model?

@tmbo because I was following rasa instructions, with the command located here, in the section Setup:
docker run -v $(pwd):/app rasa/rasa init --no-prompt

With what I saw in the documentation, I need to create a docker image with an empty rasa and add my pretrained model after.

@erohmensing this seems to be a docs issue then as well as a permission one. Because it is not necessary to run rasa init in the container to deploy a model.

Got it, will give it an update. I reckon if you already have a rasa model, as long as it is in the models/ folder, you can skip to Running the Rasa Server, sound good?

replacedocker run -v $(pwd):/app rasa/rasa init --no-prompt with docker run -v myrasa:/app rasa/rasa init --no-prompt ,then it will create a dir at /www/server/docker/volumes,it works.

i am facing the same issue

Same issue here

It seems to be a problem of writing permission for the $(pwd) directory. If I give permissions to write contents to $(pwd) or any directory you want to use than sudo docker run -v $(pwd):/app rasa/rasa init --no-prompt works fine and can create the corresponding files in the $(pwd).

I am facing the same Issue even after  i give the permissions to the folder.
docker run -v $(pwd):/app rasa/rasa init --no-prompt
The create Commands works but it does not seem to create the Models folder due to which i am not able to run the Shell Command:-
docker run -it -v $(pwd):/app rasa/rasa shell
Please Rectify the Issue if anyone has resolved the specific problem.

Hi, this error could be fixed by modifying Dockerfile.
Please refer this(https://github.com/RasaHQ/rasa/pull/5298).
Then, docker build -t <your image name>:latest .
And restart it.

Hi everyone, for this command, that creates new files and directories, the user (1001) apparently does not have permission to create these files in the local directory.
If you already have models, you don't need to use rasa init to deploy a model. If you are creating a new one, you can use the -u flag to let this one command act as root to create files.
docker run -v $(pwd):/app -u root rasa/rasa init --no-prompt

Plan to clear this up in the documentation 👍

The create Commands works but it does not seem to create the Models folder due to which i am not able to run the Shell Command:-

Interesting, I ran into this as well. When I ran into the general permission error on Ubuntu, the -u root fixed it, and correctly created the models folder. But I can't get the models folder to appear on CentOS, even if I run the train command in the container as root. We'll keep looking into this.

@erohmensing Can you reproduce the error? If yes can you give me the steps/commands that you executed? Additionally, a version of docker, image, CentOS will be useful.
I've checked the latest docker image (rasa/rasa) with CentOS 7 Core using docker with root permission and I couldn't reproduce the same behavior that you described :)


PR: Fix hang when setting the Tk backend on Windows (IPython console)

Description of Changes

This was fixed in ipython/ipykernel#830, part of IPykernel 6.6.1
We now run test_tk_backend on Windows because it works.
Depends on spyder-ide/spyder-kernels#360.

Issue(s) Resolved

Fixes #17024
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

Note: This requires a rebase after PR #17157 is merged.

@ccordoba12 #17157 is merged now :+1:


How to run CVAT without docker for development

there is no instructions for building development environment, please tell me how to run CVAT directly without docker.

https://opencv.github.io/cvat/docs/contributing/development-environment/


Only register at-exit callback once

This aims to solve issue https://github.com/project-everest/hacl-star/issues/353
Note: this has not yet been tested.

Thanks for the bugfix Raphaël! Would you or @victor-dumitrescu have any idea how to test this?

I've tested this using a simple loop that initialises an incremental hash and does a few updates. Indeed, the GC is invoked on exit the same number of times as the Hash was initialised, which I didn't expect when I first wrote this code. After applying this patch the GC is invoked only once.
The difference in execution time is clearly noticeable. Initialising a SHA-256 hash 10.000 times, each time doing 10 updates, takes ~8s now and < 0.5s with this patch.

CI is passing on branch vdum_354.

Thanks!
For the record: I used my "administrator privileges" to merge this branch, because CI does not happen for PRs from external forks, and @victor-dumitrescu was able to confirm the change is green. This is to avoid having to open a separate PR and fragmenting the discussion.


MM-38585 - Fix for: Rendering of private playbooks for users in a run

Summary

As per Tao's message in the channel (quoted in the ticket) don't show the playbook info (even that there is a playbook) if the playbook is private and the user doesn't have access.

Ticket Link

https://mattermost.atlassian.net/browse/MM-38585

Checklist

[ ] Telemetry updated
[ ] Gated by experimental feature flag
[ ] Unit tests updated

The tests are failing but not because of these changes, so I'll merge.


[Epic] Auto-detection for types

Remove the concept of generics that users have to pick before creating a node, and instead allow a node to determine the types as other nodes are connected to it.

Will need to consider how this work with specifying additional types (#1).


Small correction in credits for CsvHelper and CommandLineParser

Corrects the description of CsvHelper and adds a link to CommandLineParser

Well spotted - thanks!

Well spotted - thanks!

Hm, there seems to be a problem with NuGet under windows-latest (see actions/virtual-environments#1090).
I added a clean step to the CI workflow, it should now hopefully work

Hm, there seems to be a problem with NuGet under windows-latest (see actions/virtual-environments#1090).
I added a clean step to the CI workflow, it should now hopefully work


Update Proposal Copy in Modals and Forms

Review and edit copy:

Proposals Modal: https://github.com/0xBootleggers/bufficorn/issues/18
Add Partner form: https://github.com/0xBootleggers/bufficorn/issues/17
Become Partner form: https://github.com/0xBootleggers/bufficorn/issues/16
Fund Company form: https://github.com/0xBootleggers/bufficorn/issues/15
Initiate Vote form: https://github.com/0xBootleggers/bufficorn/issues/14
Proposals Component on Settings view

In forms.ts the spread operator (...) can be used to override labels and placeholders.

Initiate Vote

title: "Initiate Vote"
subtitle: "Signal Proposal"
description: "Ratify vote with an on-chain signal."

Fund Company

title: 'Fund Company'
subtitle: 'Funding Proposal'
description: 'Send ERC-20 tokens from the Treasury.'

Become Partner

title: 'Become Partner',
subtitle: 'Partner Proposal'
description: 'Request BVSTK or BVSTK-LOOT tokens in exchange for ERC-20 tokens.'

Add Parnter

title: 'Add Partner',
subtitle: 'Partner Proposal',
description: 'Send BVSTK or BVSTK-LOOT tokens.',

Not able to update the following with the spread operator label override:
FUND_COMPANY
FIELD.REQUEST_TOKEN,
{ ...FIELD.REQUEST_TOKEN, label: 'ERC-20 Tokens' },
BECOME_PARTNER
FIELD.TRIBUTE,
{ ...FIELD.TRIBUTE, label: 'Tribute Token Address' },
{ ...FIELD.TRIBUTE, label: 'Tribute Token Amount' },

Blocked by https://github.com/0xBootleggers/bufficorn/issues/44


Keywords editing improvements

These improvements include:

No duplicate keywords (case insensitive)
All keywords can be deleted (When all keywords are deleted the resource is set to private by the system)

This is a wrong PR. Closing


Is there kittenTricks Javascript version ?

I can not find a pure JavaScript version of this starter kit

No. There isn't.
TypeScript is just a type safety enhancement layer over JavaScript.

No. There isn't.
TypeScript is just a type safety enhancement layer over JavaScript.


Run a external python script

Hi, I have a external python script, which i want to run before every request. How to use execSync in javascript to run it?
This script just fetches the Kerberos token that i need for my authorization header which I will set in request object.
import socket
import sys

from requests_kerberos import OPTIONAL, HTTPKerberosAuth

url = sys.argv[1]
http_auth = HTTPKerberosAuth(mutual_authentication=OPTIONAL)
token = http_auth.generate_request_header(response=None, host=url, is_preemptive=True)
print(token)

resolved on own


Update redis dependency

Latest version of the redis crate is 0.22.3.
I suggest updating Cargo.toml to use the most recent version.

Could you create a PR?


NoClassDefFoundError: ht/treechop/common/chop/ChopUtil

class ht.treechop.plugin.wthit.TreeChopWthitPlugin
java.lang.NoClassDefFoundError: ht/treechop/common/chop/ChopUtil
	at TRANSFORMER/treechopwthit@0.1.1/ht.treechop.plugin.wthit.TreeChopWthitPlugin.appendBody(TreeChopWthitPlugin.java:52)

Hey, thanks for reporting. Which version of TreeChop were you using? I believe this is fixed in the latest version but I could be wrong.

HT's TreeChop-0.16.3

If you can, updating to TreeChop-0.17.8a will fix this. Otherwise, downgrade the WTHIT plugin to 0.1.0. To clarify,

TreeChop WTHIT 0.1.0 works for TreeChop-0.16.x
TreeChop WTHIT 0.1.1 works for TreeChop-0.17.x

Hope this helps!

It's fine. I'm using pmmo3 that supported by 0.16. So I using 0.1.0 and 0.16.3


Feature/Gated Input

GitHub Issue
#629
Changes
Introduces a new component that includes a toggle checkbox  to show/hide an input molecule
Packages Added
None
Checks
Before making your PR, please check the following:

[ ] Critical lint errors are resolved
[ ] App runs locally
[ ] App builds locally (run the build command for any impacted package and check for any errors before the PR)

superseded by #690


throw error if node version is below 8.*

fixes #20

when we use npx we do not have the engine field.
so we have to check exactly the version which the user is running using the process.


RxJava1 <IP_ADDRESS>

Changes Unknown when pulling 901c4f8d2349ba25ee8b170a8d6b7a6e5c9ece96 on rxjava1-release into ** on rxjava1**.


The type or method 'UpdateIntegrationRecords' ,'HandleGetPredefinedIdValue' and 'HandleUpdateReferencedIdFieldOnItem' cannot be used for 'Extension' development.

Trying to develop a new api functionality and but updateintegrationrecords() function is used for populating the api from Graph Mgt - General Tools. Can this method be opened up for used in extensions.
Update : HandleUpdateReferencedIdFieldOnItem and HandleGetPredefinedIdValue functions in 'Graph Mgt - General Tools' codeunit are also required for api development and would require being external to work with extension.
Environment: Navision 2018 CU5.

Thanks for the feedback. We are planning to move the entire integration system to the platform so this system would not be necessary, thus we are reluctant to expose these for extension development.
I need to understand why and how would you use these functions?
Is it possible for you to duplicate 'UpdateIntegrationRecords' method if you need it?
Why would you call 'HandleGetPredefinedIdValue'  and 'HandleUpdateReferencedIdFieldOnItem'  manually?

Creating API by using same ways as used by base navision objects like Graph Mgt - Currency, Graph Mgt - Payment Terms etc
example code snippet below :
UpdateIntegrationRecords(OnlyItemsWithoutId : Boolean)
VehicleRecordRef.OPEN(DATABASE::Vehicle);
GraphMgtGeneralTools.UpdateIntegrationRecords(VehicleRecordRef,DummyVehicle.FIELDNO(Id),OnlyItemsWithoutId);
LOCAL [EventSubscriber] HandleUpdateReferencedIdFieldOnItem(VAR RecRef : RecordRef;NewId : GUID;VAR Handled : Boolean)
GraphMgtGeneralTools.HandleUpdateReferencedIdFieldOnItem(RecRef,NewId,Handled,DATABASE::Vehicle,DummyVehicle.FIELDNO(Id));
LOCAL [EventSubscriber] HandleGetPredefinedIdValue(VAR Id : GUID;VAR RecRef : RecordRef;VAR Handled : Boolean)
GraphMgtGeneralTools.HandleGetPredefinedIdValue(Id,RecRef,Handled,DATABASE::Vehicle,DummyVehicle.FIELDNO(Id));

Thanks for the above details, we will add this request to our plan and get this addressed. unfortunately, I cannot commit to any timeline at this moment.
Thanks
Anders


Swap 403 error messaging for legibility

Can you do this for all error templates? Essentially change the order and add the error code. Also the {% trans %} blocks should be on the static string (i.e. {% trans %}(403 Forbidden){% endtrans %}).
I also think you can remove the HTML comment. I feel like I woudn't do the parens around the error code but it's up to you.


v0.1.10

Description
Stable release and hush standard output.

Current dependencies on/for this PR:

main

PR #13   👈

This stack of pull requests is managed by Graphite.


Appcenter Android HttpException 503 | ReasonCode: TooManyMessagesInFlight

Description
I tried to run AppCenter push notifications to my Android device. Something went wrong when started the app.
this.appCenterPush.setEnabled(true) is runned succesfully. After runnen setEnabled the following error shows up:
W/AppCenter: Try #1 failed and will be retried in 5705 ms     com.microsoft.appcenter.http.HttpException: 503 - CorrelationId: d7df6123-4ce7-46f5-9385-c8a5153cd4e7  ReasonCode: TooManyMessagesInflight          at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doHttpCall(DefaultHttpClientCallTask.java:314)         at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doInBackground(DefaultHttpClientCallTask.java:328)         at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doInBackground(DefaultHttpClientCallTask.java:47)         at android.os.AsyncTask$2.call(AsyncTask.java:334)         at java.util.concurrent.FutureTask.run(FutureTask.java:266)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)         at java.lang.Thread.run(Thread.java:784)
Repro Steps
Normal installation of cordova plugin + the installation of FCM. I can send notifications from Firebase to my device.
Details

Which SDK version are you using?
API 28
Which OS version did you experience the issue on?
Android 9
What version of Cordova, Cordova platforms, Cocoapods, and Ruby are you using?
8.1.2 (With Ionic)
What device version did you see this error on?  Were you using a simulator or a physical device?
HUAWEI POT-LX1
What third party plugins are you using?

cordova-fabric-plugin 1.1.14-dev "cordova-fabric-plugin"
cordova-plugin-advanced-http 2.0.9 "Advanced HTTP plugin"
cordova-plugin-appcenter-analytics 0.3.6 "App Center Analytics for Cordova"
cordova-plugin-appcenter-crashes 0.3.6 "App Center Crashes for Cordova"
cordova-plugin-appcenter-push 0.3.6 "App Center Push for Cordova"
cordova-plugin-appcenter-shared 0.3.6 "App Center shared code for Cordova"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-document-viewer 0.9.10 "SitewaertsDocumentViewer"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-file-opener2 2.2.0 "File Opener2"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.0.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"

Hi, sorry for the troubles, we had an incident on production between 7/22 3.20PM PST to 7/23 11.20AM PST that was causing 502 and 503 errors when sending logs from any SDK. It should be resolved by now. Can you test again? Sorry for the inconvenience.

Yes it is working now! thanks for your explain.


Add SAP on Azure quality chekcs feature to the 05-DB-and-SAP-installation pipeline

Problem
Azure provides a SAP on Azure quality check script in it's https://github.com/Azure/SAP-on-Azure-Scripts-and-Utilities repository
Running this quality check, ensures that misconfigurations on infrastructure might be caught earlier.
Solution
Implement the Quality Check script, to run against target VMs from the deployer as a separate step in the DB and installation pipeline.
FIX: a duplicate code block from a merge has been removed from the 05 pipeline.
BE AWARE this PR is closely linked with a PR in sap-automation-bootstrap

Hi @SteffenBoThomsen , Thanks for sharing the PR. We are fixing a few issues in the experimental branch now. Can you please rebase this branch off experimental, and then we can merge it.

Hi @SteffenBoThomsen , Thanks for sharing the PR. We are fixing a few issues in the experimental branch now. Can you please rebase this branch off experimental, and then we can merge it.

@devanshjainms Done


Last dask fixes

cc @asmeurer
(This should be ready, but I'd like to test on what I have with scikit-learn again, to catch any bugs)

ping @asmeurer