Error!

Hello, I am fairly new to coding need help with this error everything else worked flawlessly Thank you
pi@rpi3z:~/MagicMirror/modules/MMM-awesome-alexa $ npm install
npm ERR! Linux 4.4.34-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! file /home/pi/.npm/path-parse/1.0.5/package/package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /home/pi/.npm/path-parse/1.0.5/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/MagicMirror/modules/MMM-awesome-alexa/npm-debug.log

Can you try this?
https://stackoverflow.com/questions/31454607/npm-failed-to-parse-json

Heyy thank you for responding so fast.
npm cache clean
did the trick. Thank you again.
but now everything is done and I am currently stuck on the amazon auth code error page, they are saying that, they are working on it. Is it something I did wrong I followed it thoroughly, hung up on the last part for getting refresh token.

Follow this guide to get a refresh token:
https://github.com/dolanmiu/MMM-awesome-alexa/wiki/How-to-get-AVS-Token

hello, I have the access token but not the refresh token. Could you help me retrieve it for Raspberry Pi

Try the original guide, maybe you will get some more luck with that:
https://miguelmota.com/blog/alexa-voice-service-authentication/

Looks like it is closing time for this 🎉


Unable to save kylin4 database link configuration

When I saved the database link to kylin4 and clicked the test button, the system returned'success', but when I clicked the save button, I received the exception message'Project name should not be empty' from kylin, which seemed to be sent to kylin The request does not carry the'project' field, how can I fix this problem?

Sorry I forgot to fill in the database name on the link address


Only run networking related tests on multus and genie runs

What this PR does / why we need it:
Reduce the amount of tests to run for the networking related lanes.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

Hi Guys, what do you think about only running networking related tests for the clusters which bring in special networking add-ons?

/hold

I thought about networking and maybe lifecycle tests,  just to check that different networking does not break our controllers.

/hold cancel
Filtering now with --ginkgo.focus=Networking|VMIlifecycle|Expose. The Networking filter also includes genie and multus tests.

Ping?


OSX Build Issues

OSX versions built from linux will not run without terminal knowledge as OSX doesn't recognize developer

default export settings that worked for exporting on a macbook pro (exported as "release"):
(just ran the default export command from a fresh godot 3.2.3.stable.official)
[preset.3]

name="osx"
platform="Mac OSX"
runnable=false
custom_features=""
export_filter="all_resources"
include_filter="*.json"
exclude_filter=""
export_path="./TetraForce.dmg"
patch_list=PoolStringArray(  )
script_export_mode=1
script_encryption_key=""

[preset.3.options]

custom_template/debug=""
custom_template/release=""
application/name="TetraForce "
application/info="Made with Godot Engine"
application/icon=""
application/identifier=""
application/signature=""
application/short_version="1.0"
application/version="1.0"
application/copyright=""
display/high_res=true
privacy/camera_usage_description=""
privacy/microphone_usage_description=""
codesign/enable=false
codesign/identity=""
codesign/timestamp=true
codesign/hardened_runtime=true
codesign/entitlements=""
codesign/custom_options=PoolStringArray(  )
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false

Awesome, thanks @graphific for the export preset!


Decompression of cache is slow - 850MB take 49s

@dhadka
#267 is a gr8 improvement, but still not as fast as one would expect.
Download is fast now, however untarring the cache is still VERY slow.
It takes us whole 49s to untar only 850MB. (we cache python installation)
On my VM it takes only 15seconds using gzip which should be slower than zstd.
Is it possible that compression is mal-configured to a strict compression-level ? Is the disk super-duper slow on writing many files ?
Here is the log that show the decompression step takes 49s.

The  decompression command that takes 49s is (copied from the logs above)
/bin/tar --use-compress-program zstd -d -xf /home/runner/work/_temp/6b8290d8-2585-4bf3-be99-27773859afcd/cache.tzst -P -C /home/runner/work/datascience/datascience
We use the approach explained below to cache the python installation directory
https://medium.com/ai2-blog/python-caching-in-github-actions-e9452698e98d
Originally posted by @shugybugy-assaf in https://github.com/actions/cache/issues/267#issuecomment-709860880

Hi @shugybugy-assaf, thanks for the inquiry.
We don't set the compression level for zstd, so it will just use the default of 3.
I suspect the performance difference is likely with the specs of the runner compared to your VM.  Linux runners use the Standard_DS2_v2 VM (specs) which gives it 2 vCPUs, 7 GBs of RAM, and a max uncached disk performance of 6400 IOPS / 96 MBps throughput.  If it is writing a bunch of small files, I could see the disk perf being a bottleneck.

@dhadka Thank you for the answer - that is interesting !
So, to make sure I understand correctly - we suspect that it's hardware diff.
Therefore, if I edit the workflow such that it zips the cached directories and then unzips then into a temporary dir -
the explanation above predicts that performance of unziping shall be similar.
Is that I right ?

I would assume so.  If you'd like to test that hypothesis, the cache action should print out the command it's using to create and extract the archive, which would give the baseline for expected performance.  If you find some combination of options that provides better performance, we would definitely be interested. There's some discussion in https://github.com/actions/cache/pull/270 about the specific options used for zstd.

In my case, it takes 23 seconds to decompress 270MB on a linux box. The cache contains a node_module folder meaning a lot of small files are involved. For a single workflow, this isn't a huge deal, but we run 12 workflows and each of them is using the cache step meaning we spent 276 seconds (4.6 minutes) restoring cache files.
This must be a common problem for projects using npm/yarn which consists by nature of many small files. Yarn 2 tries to solve this issue with a feature called  Plug'n'Play. A .pnp.js file is generated instead of Node modules.
Anyway, not everyone is using yarn neither yarn 2 or Plug'n'Play. I think there is a huge opportunity to save a tone of time, money, and resources by investigating how to improve caching for such package managers.
From browsing through the node_module folder I can see many files that might not be required from the package at run time.

File extensions
Total

Markdown files
2763

Test files
394

.editorconfig
45

.travis.yml
167

.eslintrc
80

... and much more
Worth mentioning, that npm allows developers to exclude files using the .npmignore file. It works similar to a .gitingore file. They also provide a files property for the package.json file which works the opposite. However, this seems to be rarely leveraged to keep the package small. Maybe this is just an educational issue.


Prevent inadvertent JS code executing when adding elements to the collection.

Version 2.0.2 inserts collection elements into the DOM temporarily in order to find the next unused id. This will cause JS code contained in the prototype to be executed. With this change set, a regular expression is used instead. This should fix issue #11.

I must concede that this change might actually break backward-compatibility in corner-cases. Though I would still prefer the regex based solution, this even simpler change could fix issue #11 as well:
--- a/jquery.collection.js
+++ b/jquery.collection.js
@@ -386,7 +386,7 @@
                     var regexp = new RegExp(pregQuote(settings.prototype_name), 'g');
                     var code = $(prototype.replace(regexp, freeIndex));
                     var tmp = collection.find('> .' + settings.prefix + '-tmp');
-                    var id = tmp.html(code).find('[id]').first().attr('id');
+                    var id = $(code).find('[id]').first().attr('id');
                     tmp.empty();
                     if (container.find('#' + id).length === 0) {

Thank you, I'm having a look at this right now.

Yeah your 2nd solution is far cleaner both than the regex solution and my ugly .html().
Thanks mate!


pneumonia detection using deep learning

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
using hybrid modelling of cnn on image dataset detection of pneumonia
Use Case
will help in heathcare n will enpower ai in healthcare
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@sunnyshin8 go ahead.

Assign me asap i have done this already.


chore: release 1.4.1

Corrects release version to be patch instead of minor (to exclude docs change).
Release-As: 1.4.1

@tseaver fixed.

Not sure why automerge isn't working, asked the appropriate team to help look into it. Merging for now.


Validation Generator in fit_generator() returning to the start of the generator function every new data fetch

Using Keras 2.1.5 and tensorflow 1.7.0
Below is the code for my validation generator:
    def validation_generator(self):
        print("Start_of_gen")
        number_of_files = int(self.number_of_validation_files/self.files_in_memory)
        while 1:
            print("start_of_while")
            self.reset_available_files()
            for file_number in range(number_of_files):
                print("start_of_file_loop, self.data_counter =", self.data_counter)
                self.data_counter = 0
                print("Validation_files: {}".format(self.available_validation_file_indices))
                file_data, file_labels, _ = self.get_formatted_data()
                print("len(file_data) =", len(file_data))
                for frame in zip(file_data, file_labels):
                    self.data_counter += 1
                    data = frame[0]
                    label = frame[1]
                    data = data[np.newaxis, :, :, :]
                    label = label[np.newaxis, :, :, :]
                    yield data, label

The data is stored in multiple files with each sample being called a frame, and for each file_number a new file is loaded and the data should be retrieved in self.get_formatted_data() for subsequent frame (the final for loop). I've added in the print statements to show what I'm seeing.
As I understand it, the generator should enter the while() loop, reset the available files, fetch the iterate over the files, and for each file iterate over the frames inside, yielding a piece of data for each frame.
This is what happens correctly for the first epoch, as shown by these printouts:
validation steps = 2000.0
Epoch 1/7
file_list_amplitudes.shape = (1000, 400, 1, 1), file_list_labels.shape = (1000, 400, 1, 1)

 1/10 [==>...........................] - ETA: 33s - loss: 1.0986 - acc: 1.0000
 2/10 [=====>........................] - ETA: 15s - loss: 1.0979 - acc: 1.0000
 3/10 [========>.....................] - ETA: 9s - loss: 1.0973 - acc: 1.0000
 4/10 [===========>..................] - ETA: 6s - loss: 1.0966 - acc: 1.0000
 5/10 [==============>...............] - ETA: 4s - loss: 1.0959 - acc: 1.0000
 6/10 [=================>............] - ETA: 2s - loss: 1.0953 - acc: 1.0000
 7/10 [====================>.........] - ETA: 1s - loss: 1.0946 - acc: 1.0000
 8/10 [=======================>......] - ETA: 1s - loss: 1.0940 - acc: 1.0000
 9/10 [==========================>...] - ETA: 0s - loss: 1.0933 - acc: 1.0000Start_of_gen
start_of_while
start_of_file_loop, self.data_counter = 0
Validation_files: [6, 0]
file_list_amplitudes.shape = (1000, 400, 1, 1), file_list_labels.shape = (1000, 400, 1, 1)
len(file_data) = 1000
start_of_file_loop, self.data_counter = 1000
Validation_files: [0]
file_list_amplitudes.shape = (1000, 400, 1, 1), file_list_labels.shape = (1000, 400, 1, 1)
len(file_data) = 1000
start_of_while
start_of_file_loop, self.data_counter = 1000
Validation_files: [6, 0]
file_list_amplitudes.shape = (1000, 400, 1, 1), file_list_labels.shape = (1000, 400, 1, 1)
len(file_data) = 1000

10/10 [==============================] - 23s 2s/step - loss: 1.0926 - acc: 1.0000 - val_loss: 4.7751 - val_acc: 0.4375

Immediately after this however, I start seeing this:
Start_of_gen
start_of_while
start_of_file_loop, self.data_counter = 1
Validation_files: [6, 0]
file_list_amplitudes.shape = (1000, 400, 1, 1), file_list_labels.shape = (1000, 400, 1, 1)
len(file_data) = 1000
Start_of_gen
start_of_while
start_of_file_loop, self.data_counter = 1
Validation_files: [6, 0]
file_list_amplitudes.shape = (1000, 400, 1, 1), file_list_labels.shape = (1000, 400, 1, 1)
len(file_data) = 1000
Start_of_gen
start_of_while
start_of_file_loop, self.data_counter = 1
Validation_files: [6, 0]
file_list_amplitudes.shape = (1000, 400, 1, 1), file_list_labels.shape = (1000, 400, 1, 1)
len(file_data) = 1000
Start_of_gen
start_of_while
start_of_file_loop, self.data_counter = 1
Validation_files: [6, 0]
file_list_amplitudes.shape = (1000, 400, 1, 1), file_list_labels.shape = (1000, 400, 1, 1)
len(file_data) = 1000

And this continues indefinitely. it is seemingly just restarting the generator each time, which on top of it doing this indefinitely means the data is going to be just the first frame of the first file in self.available_validation_file_indices.
Can someone explain why this is happening? Is this expected behaviour? I would've expected what's happening in Epoch 1 to continue happening for each subsequent Epoch.

How do you call fit_generator?

A simple model member variable of type keras.Sequential():
        self.model.fit_generator(
            generator=self.data_handler.training_generator(),
            steps_per_epoch=self.data_handler.get_steps_per_epoch(),
            epochs=number_of_epochs,
            validation_data=self.data_handler.validation_generator(),
            validation_steps=self.data_handler.get_validation_steps(),
            callbacks=self.model_callbacks
        )

Interestingly, the training generator is practically the same as the validation generator and yet it is able to run without any issues (retrieving the generator data as expected).
The callbacks are nothing interesting, just tensorboard logs and csv outputter.
validation_steps is equal to one epoch of validation generator, which can sometimes be 1000 steps or so.

Ah, I have found what's calling the generator function, and it's not in fit_generator. When I mentioned the callbacks I thought I'd check them, and found that one of our unique callbacks is running the generator to create unique accuracy metrics, silly me. Removing the callbacks shows that the validation_data generator is actually working correctly.


Adjust clumn layout for government activity section on tablet

What
Adjusts the column layout of the government activity section of the new homepage on tablet so that the actual "government activity" section is a single row and "Departments and organisations" flows underneath from tablet and below.
Why
So that the layout on tablet is neat and readable for tablet users.
Card
Visual changes
Tablet (tested at 735px width)
Before:

After (across 2 screenshots):

@owenatgov it looks great!


Dconf2nix hangs

Alright so I made a dump of my dconf as described in readme, then I fed it to the tool, it timed out so I gave it a longer timeout .
Then my system got super laggy so I opened htop to find it using most of my systems 32 GB of memory. Will attach dconf file once my computer is usable again.

dconf.settings.txt

Please, indicate the dconf2nix version.
It does not hang on 0.0.8 or newer versions, but it fails with some other errors. The first one is because of this entry:
[gnome.desktop.interface]
cursor-theme='Yaru'

It uses . instead of /, which is not supported by dconf2nix (and it won't be for now), see https://github.com/gvolpe/dconf2nix/issues/47
The other two errors happen because of #52 and #53, which I just reproduced and raised.

FWIW 90 seconds of timeout is too much. The default is 5 seconds, which should be enough.

I know, but I was curious if more time would let it finish. TL;DR it did not.

@Krutonium can you indicate which version? It finishes for me with a timeout in 0.0.8 and 0.0.10.
Also, can you tell what application generates this entry? Seems like a gtk theme or so.
[gnome.desktop.interface]
cursor-theme='Yaru'

I'm considering adding support for #47, as now there are two reported cases.

Closing this as the original issues #52 and #53 have been fixed.

Yeah it times out for me too, eventually lol.
As for the entry with the periods, that's how the value gets inserted if you do it via bash and use the wrong separator, at least for me. That said, it does seem to work just fine?


Use defusedxml in pfif.py

Uses the defusedxml package to prevent billion laughs attacks.

Eliah asked offline why this seems to add the certifi library (this PR adds a bunch of files under app/vendors/certifi-2019.3.9.dist-info), which initially makes it seem like the defusedxml package depends on certifi for no apparent reason. I checked it out and it turns out it has nothing to do with defusedxml. We already depend on certifi because the google-auth library depends on it (we depend on google-auth by way of google-api-python-client). certifi happened to get a new version since the last time anyone ran an app/vendors update, so files from that update got added. It looks like this happens a lot: we have a bunch of .dist-info directories from old versions, and I don't exactly know what we need them for (in theory, some of our dependencies might depend on different specific versions of a library, but I don't think that could explain all of it).
IMO we should consider adding the contents of app/vendors to .gitignore rather than keeping them in the repo, and otherwise we might want to do a cleanup of the directory (maybe as simple as deleting everything and running a fresh pip install).


Fixed #31806 -- Made validators include the value in ValidationError.

https://code.djangoproject.com/ticket/31806

Thanks for the reviews. I have added more tests such that every changed line is now covered.

@jdufresne Thanks :+1:
I moved tests which work without this change to a separate commit.


Support for always update file

Add support for a new command that allows to define a set of files (through their path) so that they are always downloaded. This will override the check of missing files

Define files to be updated always (similar prompt to data)
sincding sync
Download missing files and folders
Remove files defined as always update
Download always update files

Or read the date and size data from the files table, and save this in the file or folder object
And then save the array of coursesto ~/.sincding/courses.json


v1.5.1 redream volume control not working

i have an anbernic rg505, i upgraded from v1.3.3 to v1.5.1. After i updated, I noticed that the volume control is no longer working inside the redream app.
I am using the latest version from the play store.
I tried reinstalling the app and restarting the device but the volume can only be accessed if I open the quick settings on top of redream.
Volume control works on other apps.

This is a known issue with redream.

Closing due to inactivity.


KP identifier translation can confound TRAPI validation of Results in SRI tests

Running the 'inverse_by_new_subject' test on the MolePro KP exposed an interesting result:
The MolePro input data template edge input gives CHEBI:16040 as a test object id. This corresponds to the molecule cystosine., when the object ID of the original test template query is given as a subject, for the inverse query predicate (which is symmetrical in this case).
But then, the output: the query returns 'PUBCHEM.COMPOUND:597' (an alias ID) not 'CHEBI:16040', as the ID for "cytosine", therefore, when assessed, none of the results have output id's matching the original 'object' id
What seems to happening internally in MolePro is that the input ID is being transformed into a canonical value, or at least, being clique matched into some resource returning the statement.
The two id's are in the same identifier clique... The test, however, doesn't really check for cliques.  We'd probably need something like the node normalizer to resolve this.
Two of the MolePro unit tests returned the same error using the CHEBI id.  Changine the data template ID to the PUBCHEM one "fixes" the unit test.  But perhaps that doesn't feel too satisfying. Not sure what the "gold standard" behavior here ought to be...
We could perhaps add a 'synonym' (or aliases or xrefs) JSON tag-value to the input data template JSON if we know that this remapping is going to happen?
Or simply document this behavior so that when test failures of this kind are seen, they can be more readily diagnosed?

Resolved by PR #26


Add a line about using the right logo in blog posts

Adds a line to BLOGGING.md to verify that logos are current. (Request from @SaraDPH.)

LGTM. No need to block on this, but should we provide more information on exactly where to find the correct image?

Good callout, I'll add a note about asking in Slack about that as well.


encryption: encrypt-node node to pod encryption only works in subnet modes

The encrypt-node option is used to encrypt traffic on a node that would typically not be seen by Cilium. However, node to pod traffic is only encrypted if using subnet modes. In subnet mode traffic to pod IPs is sent to cilium_host via an additional route and then encrypted using the cilium_ipcache map to lookup keys. But, if using direct routing modes with out subnet mode then no route is installed to route the pod traffic, when sent from the node, to cilium_host and so it is never encrypted. The result is traffic is only encrypted from pod to node but node to pod half is in plaintext.
Fix is to add additional routes to catch this case.

Node encryption was deprecated and is being removed.


Nested content_button can cancel event propagation

Describe the bug
If you have a button in a button there is no way to cancel the event from propagating to container event handler resulting in an error.
Suggested solution
Make it possible to stop event propagation (e.g. event.stopPropagation())
Code To Reproduce
import mesop as me
projects = [
{"key": "hello", "text": "Hello", "tooltip": "This is a tooltip"},
{"key": "world", "text": "World", "tooltip": "This is another tooltip"},
]
@me.stateclass
class State:
select_message: str = "Nothing yet"
delete_message: str = "Nothing yet"
def on_reset(e: me.ClickEvent):
global projects
projects = [
{"key": "hello", "text": "Hello", "tooltip": "This is a tooltip"},
{"key": "world", "text": "World", "tooltip": "This is another tooltip"},
]
def on_select_project(e: me.ClickEvent):
state = me.state(State)
state.select_message = f"Selected: {str(e)}"
def on_delete_project(e: me.ClickEvent):
global projects
state = me.state(State)
state.delete_message = f"Deleted: {str(e)}"
projects = [p for p in projects if p["key"] != str(e.key)]
@me.page(
path="/",
title="Tooltip Bug",
)
def app():
state = me.state(State)
with me.box():
me.text(f"select_message: {state.select_message}")
me.text(f"delete_message: {state.delete_message}")
me.button(
on_click=on_reset,
label="Reset",
)
for project in projects:
    with me.box(
        style=me.Style(
            padding=me.Padding.symmetric(horizontal=10, vertical=8),
        )
    ):
        with me.content_button(
            on_click=on_select_project, key=project["key"], color="accent"
        ):
            with me.box(
                style=me.Style(
                    display="flex",
                    flex_direction="row",
                    justify_content="space-between",
                    align_items="center",
                    width="245px",
                    padding=me.Padding.symmetric(horizontal=6),
                )
            ):
                me.text(project["text"])
                with me.content_button(
                    on_click=on_delete_project,
                    type="icon",
                    key=project["key"],
                ):
                    me.icon(icon="delete_circle")

I haven't tested though yet, but the me.click_event has an "is_target" parameter. It will not stop the propagation, but you can use it to check if it is the element the got clicked. However in this case it may not work for the outer content button (mainly due to the nested box).
I think the solution is to not use content button. Instead put the click event handler on the me.box? That may still work correctly depending on what happens if you click on the me.text.
So a modified version could look like:
           with me.box(
                on_click= on_select_project,
                style=me.Style(
                    display="flex",
                    flex_direction="row",
                    justify_content="space-between",
                    align_items="center",
                    width="245px",
                    padding=me.Padding.symmetric(horizontal=6),
                )
            ):
                with me.box(on_click=on_select_project):  // May not be needed.
                  me.text(project["text"])
                with me.content_button(
                    on_click=on_delete_project,
                    type="icon",
                    key=project["key"],
                ):
                    me.icon(icon="delete_circle")

Then in your event handler, you'd have:
def on_select_project(e: me.ClickEvent):
  if e.is_target:
    state = me.state(State)
    state.select_message = f"Selected: {str(e)}"

I agree that this is more of hack/workaround to your issue. The is_target solution does not fully handle all the use cases that event propagation needs.

I'll have a play with is_target, I didn't get any useful solution with it before but I'll check it again (still trying to figure things out here :-)).
Using me.box I lose the hover effect I get with me.content_button!?
Unless there is way to implement custom hover effects on me.box? I would prefer to use it instead of nesting content_button, which seems a bit "wrong".

I see. Yes, the inability to use hover using me.style is annoying.
As a workaround, for the hover effect, you can use custom CSS on the me.box(classes="your-class"). Then you can add your own custom stylesheet via local static folder (see https://google.github.io/mesop/guides/static-assets/)

I didn't get any useful solution with it before but I'll check it again (still trying to figure things out here :-)).

Yeah, we appreciate all the feedback. I think it's important stuff to know what people are trying to do with Mesop and it's important to know where it's falling short or not providing a user-friendly experience.


[master] Updated README.md to state bot status

Short Description:
Added bot status to the top of README.md to limit repeated issues.

👍

This was merged here: https://github.com/PokemonGoF/PokemonGo-Bot/pull/2590


Blank screen after openv0 attempts to generate a component

I'm ending up with a blank white screen after openv0 generates a component. It was working fine previously, and the only way to fix this is to run npx openv0 again to reinstall the app.

I've had this issue as well, some generations are just not compatible  (I guess?) and end up turning into a blank screen.

Hi @aws-avocado and @deleteman,
I've encountered a situation like this before. In some cases, code generations don't export a default or import a library that's not available on the front end. As a result, when the app attempts to load these modules, it crashes. This issue arises because the project assumes that generated modules will always return a default export, or it may involve missing installed dependencies. One way to address this is by removing the problematic components from both the server and client sides.
@raidendotai, to improve this situation, adjusting prompts or validating would be nice to ensure that modules are correctly formatted before being written to the database.

@aws-avocado, @deleteman As a workaround consider using strict prompts, like:
generate a button with a hellow world text inside, make sure to expport a default


[FEAT] Seperate test workflow and add bonus part test

@itislu need help! I am stucking in output val. between the steps, need your experience

@LeaYeh You will have to update the repository rules for these 4 jobs:

Mandatory Part Regression Test
Bonus Part Regression Test
Empty Environment Regression Test
Hardcore Regression Test


Bug Fix manually delete caching method

According to documentation, to manually delete cache for page /foo/bar we should run $this->output->delete_cache('/foo/bar'), but in this case MD5 hash will be calculated for http://site.com//foo/bar and this is why, we should pass $uri without beginning slash (ie, foo/bar). But the problem is that there is no way to delete cache for home page because:

$this->output->delete_cache('/') — MD5 hash will be calculated for http://site.com// and cache file will not be deleted.
$this->output->delete_cache('') — MD5 hash will be calculated for http://site.com/%CURRENT_PAGE% and again, cache file will not be deleted.

Trimming the beginning slash, we enable ability to delete cache for home page by calling $this->output->delete_cache('/'). Also, this method will work as specified in the documentation.

+1

What if 'index_page' is not empty?

For example, if index_page = index.php and we want to delete cache for home page using $this->output->delete_cache('/'), at this moment MD5 hash will be calculated for http://site.com/index.php/ (which is wrong). By adding ltrim($uri, '/') we delete beginning slash for $uri and will pass http://site.com/index.php to md5() which will return the right hash.

I don't see how '/index.php/' is wrong, but that wasn't my point - delete_cache('/foo') with your changes would result in a calculation for '/index.phpfoo', which I'm sure you'll agree is wrong.

Look at method _write_cache(), line 555:
$uri = $CI->config->item('base_url')
	.$CI->config->item('index_page')
	.$CI->uri->uri_string();

if index_page = index.php accessing http://site.com/index.php/foo cache filename will be calculated for md5(http://site.com/index.phpfoo). If we want to remove cache for this page, at this moment, we should call $this->output->delete_cache('foo').
About /index.php/ — this is wrong, because when access http://site.com/index.php or http://site.com/ cache filename will be calculated for md5(http://site.com/index.php). But when we want to remove cache for home page, this method will always fail, because:

If we call $this->output->delete_cache('/'), hash will be calculated as md5(http://site.com/index.php/) and will fail.

If we call $this->output->delete_cache(''), at line 555 exists if (empty($uri)) and hash will be calculated as md5(http://site.com/index.php/{$CI->uri->uri_string()}) (ie, for current page, but not for home page) and again will fail.

So, as I said, there is no way to remove cache for home page.
Of course, we can also modify entire method, by using:
// Instead of `$uri = ''` we should use `$uri = false`
public function delete_cache($uri = false) {
	// and instead of if (empty($uri)) at line 728 use:
	if ($uri === false) {

But in this case also, we should modify documentation because, to delete cache, we always should call this method without beginning slash (ex. $this->output->delete_cache('foo/bar') for /foo/bar and $this->output->delete_cache('') for home page).

I've added the necessary inline documentation and changelog entries on top of your patch.
However, for future reference, please don't add features on top of bug fixes (or 2+ features, or 2+ bug fixes, etc.) in the same pull request. It is very rarely the case like this one when we actually like both of them and usually we'd just make you revert one of the changesets ...


[New Feature]: Add Semantic API support for annotation-attachment in tuple types

Description
Need to add support for annotation-attachment from Semantic API in tuple types.
type T1 [int, @member int, string...];

Compiler changes: https://github.com/ballerina-platform/ballerina-lang/pull/36638
WIP branch: https://github.com/ballerina-platform/ballerina-lang/tree/annot-tuple-members
Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Waiting for https://github.com/ballerina-platform/ballerina-lang/pull/36638

Closed by https://github.com/ballerina-platform/ballerina-lang/pull/39208


Job output not added to failure template

Hi,
I'm running Travis Buddy locally so I can try it out with some private repositories - I have everything wired up between Travis and the bot, so when a build fails, I get a comment added to the PR with the initial text at the start "Hey @, Please read the following log" etc, however the job content is missing.
I don't see any errors in the app logs. Do you have any suggestions on how I could debug this further?
Thanks!

By the way, I tried using with or without the insertMode=update flag, and I tried the default and raw template. Current template is this:
Hi @{{pullRequestAuthor}},

Please read the following log in order to understand the failure reason.
Commit your fixes to this branch, and the PR will be updated automatically.

{{#jobs}}
{{#scripts}}
{{&contents}}

{{/scripts}}
{{/jobs}}

End of message.

I see everything except for the content in braces.

Hi, so actually it turns out this is working as expected - I hadn't connected the fact that I'm using g a private repo, and therefore going to Travis-ci.com means that the bit of code responsible for retrieving the build logs fails (as it tries to go to Travis-ci.org). The weird thing is that this section of the pipeline fails silently with no output, so it wasn't obvious to me at first what the problem was.
Anyway I forked it and modified it to support Travis-ci.com with an API token and now everything is working as expected, thanks!


better than Tacotron2?

Anyone who compared this with Tacotron2 ? which one is better?

I compared audio quality with the public implementation of tacotron 2 by NVIDIA - see section 5. (Evaluation) of the paper.

Was the tacotron2 model trained on phoneme input?

Was the tacotron2 model trained on phoneme input?


Make LB image configurable when compiling k3s

It is no way we can configure the lb image because it is a const value. It would be better that we make it variable value and we can override the value like the helm-controller job image when compiling k3s/rke2

Proposed Changes
Make DefaultLBImage as a variable value instead of const value.

Types of Changes
New Feature

Verification

N/A
Testing
Basically there is nothing changed after the PR merge as the variable name is not changed but I think we should test the service LB function in k3s cluster after merge.
Linked Issues
Issue: https://github.com/k3s-io/k3s/issues/7625

User-Facing Change
No
Further Comments
No

I'm ok with this, I just wanted to make sure we engage the right folks to understand the product changes driving it.


Nominate @IamLizu to the triage team

I would like to nominate @IamLizu to join the triage team 🎉
He has been a great help with triaging issues and PRs, and has also contributed to other areas of the project, such as documentation.
He previously expressed interest in this role: https://github.com/expressjs/express/issues/5766 :)

I can only comment but I think he will be a great addition to the triage team.

@IamLizu I sent you an invitation to join all the organizations :+1:

Hey @UlisesGascon :wave:
Thanks, I have accepted the invites :tada:


Hello ines

Checklist

[x] I ran npm test locally and it passed without errors.
[x] I only edited the _data/pixels.json file.
[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

Hey @inesgs12 sorry for the frustrating experience. We are still improving the bots that do the checking. I'll merge your PR for now


Send multiple Quarterly Emissions parameters and return dummy data

Definition of Ready

[ ] Does this meet the INVEST criteria?
[ ] Does this have a clearly defined user?
[ ] Does this have an estimate?
[ ] Does this have acceptance criteria?
[ ] Does this have sufficient context (wireframes, business rules, etc.)?
[ ] Is this traceable to a feature, epic, or PI?

User Story
As a CAMPD API user I want to send filter criteria to the Quarterly Emissions API endpoint so that I can see results
Acceptance Criteria
Given that a user has entered one or more values for all the parameters (see parameters below)
When API endpoint is executed
Then the system returns "hello world" as a result
Dev Tasks
Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Testing
Test Case:
Tester:
Definition of Done

[ ] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[ ] Have the functional tests been executed?
[ ] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Has the user story been accepted by the Product Owner?
[ ] Is the user story ready to be deployed to the test/staging environments?

Will be implemented as part of #1252


use demo.pygeoapi.io to convert mcf to iso/dcat/...

introduce an export panel with option to select the desired metadata schema (as provided by the metadata service in demo.pygeoapi.io)

duplicates #5


Azure Pipelines Deployment Group Agent does not set deployment group tags correctly

When using the Azure Pipelines Deployment Group Agent artifact, I noticed that whatever I enter as Deployment agent tags, the Deployment Group gets created without any tags.
Maybe the PowerShell script is missing the --adddeploymentgrouptags parameter?

Figure: Screenshot from the freshly Deployment Group. No tags have been set.
Thanks,
--Neno

Hi Neno,
you beat me on reporting this one!
The information I collected follows:
The artifact installation succeeds but the Tags provided as parameters are not set.
The Tags are correctly visible in the input of the Artifact.
The VM is correctly displayed in the ADO Deployment Group but wihout any associated tag.
I investigated this a bit further and there is apparently an additional parameter named "--addDeploymentGroupTags" that is not set in the Artifact PowerShell (reference: https://github.com/Microsoft/azure-pipelines-agent/issues/1046#issuecomment-311855101).
The line of code to update:
https://github.com/Azure/azure-devtestlab/blob/063991aaf20790b3aa02389f40f14f9e970967b3/Artifacts/windows-deploymentgroup/InstallAndConfigureDeploymentGroupAgent.ps1#L252
Do you intend to create a PR for fixing this? If yes, go for it, if not, I will.

Awesome - thanks, @DeChrist, for investigating and creating the PR!
Do you need anything from me to get this approved?

Hi,
it could help if you can indepently confirm that the fix closes the issue but it is so simple that this should not be needed.
@leovms is aware of the incoming PR
Christian D.


Detect iTerm protocol from $LC_TERMINAL too

When checking whether the iTerm protocol is available, check the LC_TERMINAL environment variable in addition to TERM_PROGRAM. LC_TERMINAL is passed to many remote hosts; read on for details.

iTerm2 sets the environment variable LC_TERMINAL to iTerm2. This is useful because on Debian and Ubuntu systems*, the default /etc/ssh/sshd_config contains the line:
AcceptEnv LANG LC_*

That is, if the ssh client sends the LC_TERMINAL variable, it will be added to the login environment. macOS has this configuration in /etc/ssh/sshd_config.d/100-macos.conf as well. macOS's default /etc/ssh/ssh_config contains
Host *
    SendEnv LANG LC_*

so macOS ssh clients all pass LC_TERMINAL. Debian and Ubuntu do this too.
*: Checked Ubuntu 16.04, 18.04, 20.04, 22.04; Debian 9.9, 10.12,
11.3, current sid.

Thank you for the detailed explanation, TIL


Missing housekeeping debug.

I first noticed that after letting my application idle, with no calls to the database, that my next call to getConnection would be quite slow, ~15 seconds. After I enabled debug logging using:
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <version>1.1.7</version>
            <scope>compile</scope>
        </dependency>

((Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME)).setLevel(Level.ALL);

I noticed that I was getting no house keeping debug. Running version 2.4.5 my logs looked like:
http://pastebin.com/PD7LeP18
When I pull/build the dev branch, version 2.4.6-SNAPSHOT, and then change my project dependency to that, my logs change to:
http://pastebin.com/J9qm17sJ
My connection timeout is quite low in these logs because I was trying to debug my issue earlier.
I'm running Java 1.8.0 update 11, and I also tried pulling the HikariCP 2.4.5 tagged commit so I could build that, but I received the same lack of debug as the 2.4.5 in the maven repo.
I have also checked using 2.4.4 and 2.4.3
2.4.4 still does not show up in the logs
2.4.3 does have logs

@cunningb In 2.4.5 we completely broke the housekeeper.  Yesterday 2.4.6 was published, and should contain a fix for this issue. Can you try it?

I just tried 2.4.6 and it does work.
Thank you for your time

@brettwooldridge : Similar issue : https://github.com/brettwooldridge/HikariCP/issues/1364 Could you have a look please?


gets rid of errors during redux.test

Just changes to tests to get rid of annoying errors

Thanks!


SRS: Complete External Interface: 3.1 - 3.4

SRS ( /10)
Examples: Team E 2022 Team F 2022
Example Mockups: Team C 2022
Need to check if the comments from Deliverable 1 have been addressed.
For any comment that is not addressed (every single one), deduct -2 points.
Fill in the rest of the sections, using information from the project description document.
See this example for an example of the minimum level of detail required.
Unlike this example, your section 4 should be organized into subsections, grouping by general feature area or top-level use cases (i.e. don’t have a sub section for every single use case that is an extension, or instance of)
Has about 15 – 30 functional requirements
If the number of FR is below 15, -10 points
Has about 10 – 15 non-functional requirements.
If the number of NFR is below 10, -10 points
For each wrong requirement deduct -2 points.
For each conflicting/contradictory requirement, deduct -2 points.
If the UI is missing deduct -10 points.
If the UI mockups are not updated significantly i.e. at least 50% more and prior ones improved, deduct -10 points. This is not only the designer's task but they should lead this.
Use cases are required in a separate document.

This looks good, with the exception of some missing content in 3.1d. lmk when that's fixed and this is all set to move to done!


Do not load the header that was newly created for the component using the "ESP-IDF: Create new ESP-IDF component" command! (CON-843)

Not load the header that newly created the component using "ESP-IDF: Create new ESP-IDF component"!
I'm trying to create the component in the "light" example project.
How can I fix this?
"/home/mohan/Desktop/myCode/light/main/app_main.cpp:26:10: fatal error: myTest.h: No such file or directory
26 | #include "myTest.h"
|          ^~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed."
Environment

ESP-Matter Commit Id: 79dfcc7b9db37d80105e2bbb39a680a0670296d5
ESP-IDF Commit Id: 79dfcc7b9db37d80105e2bbb39a680a0670296d5
SoC (eg: ESP32 or ESP32-C3): ESP32-C3
Device Logs (Please attach the log file): log.txt
Host Machine OS: Ubuntu 22.04.3 LTS
Commissioner app and versions if present:
Commissioner's logs if present:

@mohankrishkumare If you have a component (eg: myTest) and want to use that in other component (eg: main), then you have to specify the dependency in the CMakeLists.txt. Please take a look at component requirement docs from esp-idf.

@mohankrishkumare Please close the issue if your problem is resolved


Fix outline shader effect only works in the openGL(legacy).

Will have glitch if using other renderer.
I have no idea why it's happened and how to fix ;_;

Guess have issue with the top-left point 🤔

Note:

It's easier to happened in the release lazer client(100% happened) and test scene with release build(50~80% happened)
Not easy to reproduce in the font project(with debug/release build) and main project(debug build.)


Updated to reflect cvss scores being added to output table.

Addresses #418
I added CVSS to the output page. I calculated the scores using this. I think it is doing the same thing as we are, but I have a note to confirm with our tool once it is released.
I added a section on the usage page that lists everything that is outputted, so I can say that CVSS is calculated using the severity[].score field. I am open to other ideas for how to present that information though.
Preview available here

It took a little bit of tweaking for me to get the table looking correct. This is the closest to correct that it has been.
Here is what it currently looks like on the github page (not running locally, but deployed from my branch).


NSAppTransportSecurity and Limit Ad Tracking on iOS

@capacitor-community/admob (1.0.1)
Xcode 11.6 (11E708)
Project Format Xcode 8.0-compatible
phonegap-version cli-6.2.0
iOS Build Target v11.0
iOS Simulator iPhone 11 v13.6
iOS iPhone 11 v13.4.1
Ads show in the simulator on iOS, but on the actual device nothing would show if the iOS preference Limit Ad Tracking was turned on. A post on Stack Overflow suggested adding the following to NSAppTransportSecurity:
NSAllowsArbitraryLoadsInWebContent <true>
NSAllowsArbitraryLoadsForMedia <true>

And that makes the Ads show, but then the Apple docs here https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity/nsallowsarbitraryloads make it clear that's (a) not a good idea, and (b) Apps may face rejection if the justification isn't good enough.
As I understand it, AdMob should be loading over https anyway, so not entirely sure why adding those keys to NSAppTransportSecurity worked.
Is there a bug in the plugin or should I be looking elsewhere for the cause of the problem?

Google AdMob use IDFA. Maybe this is specification:
https://www.it-swarm.dev/ja/ios/このアプリは広告識別子（idfa）を使用しますか？-admob-680/1046251447/
Google said to use NSAllowsArbitraryLoadsInWebContent and NSAllowsArbitraryLoadsForMedia . :
https://developers.google.com/admob/ios/app-transport-security
I think this is not wrong.
Thanks.


[FLOC-936] Sketch of implementation of Eliot logging

https://clusterhq.atlassian.net/browse/FLOC-936

Thanks.  Seems reasonable.  Please proceed.


skill section enhanced

Description
skill section enhanced
Fixes #476
List any dependencies that are required for this change
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
UI /UX changes
Attach gif or screenshot for changes.

Before :
- After :

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

https://user-images.githubusercontent.com/67833077/119014558-b7467800-b9b5-11eb-82c2-63bb98e73bc2.mp4

@harikesh409 @ravikr126 Sir Please review my PR .

@harikesh409 Sir Please see now .


Custom camera issue

Hey there, awesome work here.
When i create a custom camera like this:
<three-game>
    <three-scene background-color="#000000" camera="#camera">
        <three-perspective-camera id="camera" position="0, 0, 100" />
        [...]
    <three-scene />
<three-game />

It show the next error on browser console:

Comming from here:

Seems like it is not connected (dont know what that means...). Im trying some stuff with sveltekit, but dont think it is cause of svelte.  Anyway, this should work out of the box, isnt?
Also, was wondering if can I switch Camera type on run time? eg. start with orthographic camera and by pressing a button change to perspective. If not, then can I have multiple cameras and set one like the current one?. Also could be good to have a posibility of multiple viewports with the same scene, but i'll let it for later.
Beautiful library.

Solved on the alpha


[#1145] Add to My Resources button no longer appears when not signed in

Can one of the admins verify this patch?

+1


Erreur 404

Lien invalide :
https://www.kingston.com/us/usb/bootable/ikw700

Détails du document
⚠ Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

ID: 93868b54-1342-6a97-ea84-ab75066c837b
Version Independent ID: 8ee0f61c-67cd-9df6-a8e9-b854d8134587
Content: Présentation de la fonctionnalité Windows to Go (Windows 10)
Content Source: windows/deployment/planning/windows-to-go-overview.md
Product: w10
Technology: windows
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@officedocsbot assign @jvsam

@jvsam. afternoon I will create PR

@Efflamm : Où avez-vous trouvé ce lien invalide?
Dans quelle section ou paragraphe se trouve-t-il?

Aha, je vois. La section IronKey entière souffre de problèmes de format de liaison, mais l'erreur 404 réelle est la première ligne de lien. Voir l'exemple de texte copié ci-dessous:

/!\ Avertissement
L’utilisation d’un lecteur USB qui n’a pas été certifié n’est pas prise en charge.

Espace de travail IronKeyhttp://www.ironkey.com/windows-to-go-drives/ironkey-workspace-w700.htmlW700 () ⬅
Espace de travail IronKeyhttp://www.ironkey.com/windows-to-go-drives/ironkey-workspace-w500.htmlW500 ()
Espace de travail IronKeyhttp://www.ironkey.com/windows-to-go-drives/ironkey-workspace-w300.htmlW300 ()
Espace de travail DataTraveler Kingston pour Windows tohttp://www.kingston.com/wtg/Go ()

The en-us page looks something like the following:
(Please note, I have added the fwlinks in parentheses at the end of the rows.)

/!\ Warning
Using a USB drive that has not been certified is not supported.

IronKey Workspace W700 (http://www.ironkey.com/windows-to-go-drives/ironkey-workspace-w700.html) | (https://go.microsoft.com/fwlink/p/?LinkId=618714)
IronKey Workspace W500 (http://www.ironkey.com/windows-to-go-drives/ironkey-workspace-w500.html) | (https://go.microsoft.com/fwlink/p/?LinkId=618717)
IronKey Workspace W300 (http://www.ironkey.com/windows-to-go-drives/ironkey-workspace-w300.html) | (https://go.microsoft.com/fwlink/p/?LinkId=618718)
Kingston DataTraveler Workspace for Windows To Go (http://www.kingston.com/wtg/) | (https://go.microsoft.com/fwlink/p/?LinkId=618719)

The "good" news is that the 404 error is caused by the W700 model being discontinued on the Kingston site, so that issue needs to be dealt with internally, I think. Alternatively, the link can be removed entirely, unless there is a consolidating page for the discontinued models 32GB/64GB/128GB (see table below):
https://www.kingston.com/en/memory/search/partnumber?partId=IKW700
Results for Kingston Part Number(Discontinued )

Kingston Part Number
Description

IKW700/32GB
32GB IronKey Workspace W700 Certified for Windows To Go

IKW700/64GB
64GB IronKey Workspace W700 Certified for Windows To Go

IKW700/128GB
128GB IronKey Workspace W700 Certified for Windows To Go

(the table is repeated below, in reverse order, as Results for Distributor Part Number(Discontinued ) )

The only real translation issue on this Fr-Fr page is that the formatting seems to become broken for links, specifically in the Kingston section referred to above.

@jvsam : What course of action do you recommend, regarding the discontinued model W700 and its broken link?
@TinaMcN : Would it be useful to contact the MT technicians to check if this formatting issue is specific to the French page or if it is a general filter issue?

@illfated, from the update on PR #5566, the fwlink needs to be corrected. IronKey Workspace W500, W300 and Kingston DataTraveler all points to this page (DataTraveler Workspace+B2:M22). Also, there is a regional redirect so the country code is automatic depending on your location. Anyway, the link to the IronKey Workspace W700 goes to https://www.kingston.com/us/usb/bootable/ikw700 which is currently a 404 page (and even if you remove the country code, or replace it with another country or language code, it's still 404). I will recommend creating a new PR and update the fwlink link (not sure if that can be done via the PR?) to be the same as the other links. Can you create a new one and explain the scenario?

OK, so if I understand you correctly, you suggest a change to something similar to this:

[!WARNING] Using a USB drive that has not been certified is not supported.

IronKey Workspace W700 (https://www.kingston.com/support/technical/products?model=dtws)
IronKey Workspace W500 (https://www.kingston.com/support/technical/products?model=dtws)
IronKey Workspace W300 (https://www.kingston.com/support/technical/products?model=dtws)
Kingston DataTraveler Workspace for Windows To Go (http://www.kingston.com/wtg/)
Spyrus Portable Workplace (http://www.spyruswtg.com/)
We recommend that you run the Spyrus Deployment Suite for Windows To Go to provision the Spyrus Portable Workplace.

(The only change is the links in parentheses after W700, W500, and W300.)

@illfated I had already reported a bug with spacing issues like this to the machine translation tool team.   I shared this example with them also.


How to deploy FastAPI app + LWA without SAM

My FastAPI application returns 142 error when using LWA. Here is what I did:

Added to a Dockerfile

COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.7.1 /lambda-adapter /opt/extensions/lambda-adapter

Instead of using FastAPI handler, Dockerfile now runs a command to host a uvicorn webserver (just like a tutorial in this tutorial)

CMD ["python", "-m", "app_backend.main"]

Added env variables to AWS Lambda environment:  AWS_LWA_INVOKE_MODE (set to RESPONSE_STREAM) and AWS_LWA_PORT (set to 8080)

When I made these changes, Lambda would return 500 errors with Error: Runtime exited with error: exit status 142 Runtime.ExitError. Am I missing anything?
FYI, I am using Terraform to deploy my application into a Docker container and AWS Lambda.

@munkim You are using Lambda provided base image. You need to override the ENTRYPOINT in the Dockerfile. You can change the last line of your Dockerfile to this:
ENTRYPOINT ["python", "-m", "app_backend.main"]


RGB and depth sync

Hi,
I'm using using RS435 with FW <IP_ADDRESS>. librealsense 2.7.9, Windows 10 1703.
How do I enable HW sync for depth and color? seems like you don't have a sample anymore that demonstrates how to pull 2 synced streams. With using pipeline API and enabling color and depth the streams go out of sync.
You can easily reproduce this by using your rs-align tool and waving your hand for a few seconds.
Thanks,
Simon

Hi @svensht2
There is the subject of per-frame metadata that is required for proper synchronization. Without hardware timestamps what you get are software estimates and there is nothing preventing the streams from drifting.  Unfortunately both Windows and Linux does not offer this feature out of the box yet. You can read more about it here, including how to enable it.
In addition, there is a trade-off between latency and frame-drops, especially when the system is under heavy stress. In such conditions, we can either increase queue sizes (introducing larger potential latency) or suffer significant frame drops making it almost impossible to pick up well-synchronized pairs (freezes).
In the align example, we relax the synchronization requirement and let the sample use not perfectly matched pairs in absence of better options. We are planning to make that configurable.
In practice, changing false to true in image.cpp:785 is likely to reduce latency. Compiling as Release can also improve the situation. We are going to publish a more general patch very soon to address many of these issues.
As for hardware synchronization, if I recall correctly hardware sync between depth and color is automatically enabled when sensors are configured to the same FPS.

I have the same issue with the D435. I assume this one has hardware sync? Attached are two logs, one with a 15 fps setting for both depth & color, another with a 30 fps setting for both depth & color. The logs show color TS (in us), depth TS (in us) and color minus depth TS.
The average lag of one sensor vs. the other is around 0, however the variance is quite high. In other words, the driver tries to give me color and depth frames of approximately matching time stamps but the mismatch can go as high as half the frame rate (see attached files).
30fps.txt
15fps.txt
It would be really helpful if the documentation was explicit about which sensor supports hardware sync and which one doesn't and how it's possible to enable HW sync in librealsense.

Quick update: Using the rs2::syncer class instead of rs2::pipeline to grab the frames has not improved the situation.

On software level, both syncer and pipeline are matching the frames using the same logic.
We do plan to perform more comprehensive testing of device synchronization prior to launch and will publish the results here.

RS435 doesn't have HW sync

Ok, that would of course explain it. Does the 415 have HW sync?

Are there any news on the subject?

Here's the intel forum link discussing the same topic: https://communities.intel.com/thread/120208

@svensht2 ,@vladsterz as @arybalkin noted, an answer to this issue is provided in the communities pages, https://communities.intel.com/thread/120208. If you still have questions please reply. This issue will be closed in five days but you can always open a new issue after that.

I'd like to see this ticket re-opened and a better clarity explained.
In your release notes you still have this issues (#774) as an issue and then above you reference the intel communities where the last response from Intel is in January.  To my knowledge, This is the correct answer:
For HW Color/Depth Sync

This will never be possible with the D435 since the RGB and Depth Sensor are on different PCB
This is possible with D415 since the RGB and Depth sensors are on same PCB with the following:
a. FW 5.9.1 or later supports HW sync on D415
b. RGB manual exposure must be used
c.  There is a known bug that prevents the RGB gain from being adjust to achieve acceptable quality video
d.  Until the gain is fixed (so that it can be set to levels that auto-exposure is achieved), HW sync for Color/Depth on D415 is not usable.

hi, I also face the same issue, which the frames are not synced when I tried to use wait_for_frames.
I also saw your replies on Githun and wondering if you found the answer to get the two frames synced.
I tried rs.syncer in python and cant get it work, it would be great if you can provide your example for using the syncer.
my frame data is below: data
every 10 second/press space take one frame. and the result frame is actually matched if i accept +-20 ms. But when I use wait_for_frames I can't get the right match when I use wait_for_frames in python and visualize with opencv/matplotlib it gives out unmatching frames.


[YUNIKORN-606] Add a pull-request-template for web repo

What is this PR for?
Add a pull-request-template to assist us in reviewing a PR.
What type of PR is it?
[Feature]
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-605
How should this be tested?
https://travis-ci.com/github/apache/incubator-yunikorn-web/builds/221158546
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@yangwwei  @akhilpb001  Help me review this PR, thanks!

Hi @kobe860219 thanks for the PR, yeah, this something we should add a long time ago.
I have converted YUNIKORN-605 to an umbrella, and let's add PRT for all our repos. Thanks!


fix: added a typeof check to prevent crash without internet connection

When there isn´t a internet connection, the app crash.

I think we should check also if "maps" in "google" is available.
Rewriting check to if(!google || !google.maps) should be enough.

@mauriciosfriso Sorry for wrong example, my mistake, conditions should be reversed.
if(google && google.maps)..

@Simek I see your mistake, but anyway it's not works. I keep getting:

google is not defined
therefore I check the google's type

sorry for my English


Joycontrol is not working with Switch Firmware 12.0.0

You can refer to https://github.com/mart1nro/joycontrol/issues/104
Joycontrol and thus this repo is currently broken with Switch firmware 12.0.0

I was able to get this working by using this fork https://github.com/Poohl/joycontrol.
It is an existing pull request into joycontrol so hopefully it gets merged soon (https://github.com/mart1nro/joycontrol/pull/110)
Run Joycontrol on its own and get it to detect and connect to your Switch.
After you confirm that fork works for you, run
sudo pip3 install /your/location/to/the/folder/joycontrol

Then run this switch-remoteplay server. This worked for me after some trial and error.

@jchaike Could I get some additional instructions on the adjustments you made? My JoyControl connects just fine, but my remote server does not connect.

here https://github.com/Poohl/joycontrol/issues/11#issuecomment-920226012


Server crashes when deep linking to an API route

Please provide the environment you discovered this bug in.
Just generate a new Analog app with Nx and type in /api/hello.
First time goes well and but if you refresh it fails.
Which area/package is the issue in?
router
Description
Just generate a new Analog app with Nx and type in /api/hello.
First time goes well and but if you refresh it fails with:
"RuntimeError: NG04002: Cannot match any routes. URL Segment: 'favicon.ico'"
Video:
https://www.loom.com/share/dd31d89a0f32418cb19073404a3756f5
Please provide the exception or error you saw
RuntimeError: NG04002: Cannot match any routes. URL Segment: 'favicon.ico'

Other information
No response
I would be willing to submit a PR to fix this issue

[X] Yes
[ ] No

This can be fixed, by moving favicon.ico file from the src directory to the root directory and also changing the import in index.html file from:
<link rel="icon" type="image/x-icon" href="/src/favicon.ico">
to
<link rel="icon" type="image/x-icon" href="/favicon.ico">
I will try to raise a merge request to fix this. Maybe the community sees this and applies it.

@masoudtahmasebi93 thanks for pointing that out!

This have been fixed with the latest release in a971e957bfc1392842b085bccc292d3b09af8678


❗ @types/node version incompatible

@types/node version 18.8.3 is incompatible to Vue version 3.2.40, it will cause DOM event type broken in template.
You can downgrade @types/node to 18.8.0, or update Vue to 3.2.41 (if released) or later.
"dependencies": {
"vue": "^3.0.4"
},
"devDependencies": {
"@vue/compiler-sfc": "^3.0.4",
"less": "^4.1.3",
"vite": "^1.0.0-rc.13"
}

Duplicate #1985


Error in Python 2.7

The following code results in a runtime error
from redlock import RedLock
lock = RedLock("distributed_lock")
lock.acquire()
print "Hello"
lock.release()
The error is :
....
lock = RedLock("distributed_lock")
File "build\bdist.win32\egg\redlock\lock.py", line 98, in init
TypeError: type object argument after ** must be a mapping, not str
I think the initialization of connection_details should have a bracket as follows.
    if connection_details is None:
        connection_details = [{
            'host': ' localhost',
            'port': 6379,
            'db': 0,
        }]

I can not reproduce this bug. Could you pls provide more details about your environment?

I have Windows7 Professional 64-bit and Python 2.7
C:\Projects\Python\redlocktest>cat simple.py
from redlock import RedLock
lock = RedLock("distributed_lock")
lock.acquire()
print "Hello"
lock.release()
C:\Projects\Python\redlocktest>./simple.py
'.' is not recognized as an internal or external command,
operable program or batch file.
C:\Projects\Python\redlocktest>simple.py
Traceback (most recent call last):
  File "C:\Projects\Python\redlocktest\simple.py", line 3, in
    lock = RedLock("distributed_lock")
  File "build\bdist.win32\egg\redlock\lock.py", line 98, in init
TypeError: type object argument after ** must be a mapping, not str
C:\Projects\Python\redlocktest>python --version
Python 2.7.6
C:\Projects\Python\redlocktest>
I hope that helps.
  From: Leo Zhou<EMAIL_ADDRESS>
To: glasslion/redlock<EMAIL_ADDRESS>Cc: svan1<EMAIL_ADDRESS>Sent: Monday, September 7, 2015 6:35 PM
Subject: Re: [redlock] Error in Python 2.7 (#8)
I can not reproduce this bug. Could you pls provide more details about your environment?—
Reply to this email directly or view it on GitHub.


Apache Rewrites for HTML5 mode give server error

I have copied the example app, running XAMPP. But for some reason Apache can't even find the index.html file.
What I did:

I am using Angular 1.5.8 (the latest version)

I have set a base tag. I am not on the root level, but on /my-application/, so I've set it like this:

     <base href="/test/">

I have added an .htaccess file in the /my-application/ directory, like the :

<VirtualHost *:80>
   #I don't know what ServerName actually means, so I just set it to "localhost"
    ServerName localhost

    DocumentRoot "D:\xampp\htdocs\test"

    <Directory "D:\xampp\htdocs\test">
        RewriteEngine on

        # Don't rewrite files or directories
        RewriteCond %{REQUEST_FILENAME} -f [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^ - [L]

        # Rewrite everything else to index.html to allow html5 state links
        RewriteRule ^ index.html [L]
    </Directory>
</VirtualHost>

All I get is an "500 Internal Server Error!". I don't know what I am doing wrong. I have tried DocumentRoot with the slashes in the other direction, I've tried:
Listen 85
<VirtualHost *:85>

... in case some port would be blocked, nothing. I don't know what to do.
The only thing that somehow worked, was this:
FallbackResource /test/index.html
BUT: The pages do not allow for bookmarking and they load very slow (I get an error about Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING). But at least Apache is finding the index.html

Your base ref looks like it should be "/" since your docRoot is /test.
This is a better question for stackoverflow since its apache (on Windows) and not a ui-router bug.


Document batch DELETEs

A customer pointed out that our DELETE doc doesn't have any mention of how to best delete multiple rows.

This is a gap.

Our SQL best practices call out "Delete multiple rows" in the "Multi-row DML best practices" section, but don't link to a meaningful example.
Also on that page, there's no mention of this in the "Bulk deletion best practices" section, in contrast to the "Insert delete best practices" section.

Suggestion:

Extend the DELETE doc to include a "Performance best practices" section similar to on INSERT, and add an explicit "Delete multiple rows" example similar to what we have on INSERT and UPSERT.
Update the SQL Best Practices doc (issues described above).
Feature this ability in the ["Delete rows in a table"](https://www.cockroachlabs.com/docs/stable/learn-cockroachdb-sql.html#delete-rows-in-a-table section of "Learn CockroachDB", like we do for Insert rows into a table.

Sidenote: As a follow-up, we may want to investigate doing similar work for UPDATE and UPSERT.

@ericharmeling, marking this for the 20.1 timeframe, but feel free to pull into 19.2, if you have the bandwidth.

I'm promoting this to P-1 after concerns from @rkruze that customers frequently run into this project. Also could overlap with developer guide cc @rmloveland

Thanks @awoods187, will make sure to coordinate with @ericharmeling and have an example in the developer guide.


Fix some issues found by clang sanitizers.

Fixes #59741
Fixes crash of the --test run, due to dereferencing of unset EditorSettings::get_singleton().
modules/gdscript/gdscript.cpp:827:59: runtime error: member call on null pointer of type 'EditorSettings'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior modules/gdscript/gdscript.cpp:827:59 in
editor/editor_settings.cpp:1115:24: runtime error: member call on null pointer of type 'const EditorSettings *'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior editor/editor_settings.cpp:1115:24 in

CC @piiertho

I don't think there will be a non static implem of this CRTP in future, so should be ok :)

Thanks!


feat(tutorial): complete step 3

👍 Looks good - 🎉 You are one step closer to completion of the Carbon React tutorial and earning the digital credential.


Set up upgrade tests for Istio releases

Describe the feature request
There are parameters in configmap or root certificate which may vary among different releases, we need upgrade tests that cover all Istio releases, to make sure an upgrade does not cause issues to data plane. The upgrade test should test old version such as Istio 1.0.
This upgrade tests are needed when we build a new release.
Describe alternatives you've considered
Additional context

/cc @myidpt

Same as #23631 ?

Yes, we can close this one.


My Gym Website project

I want to contribute one project named as MY GYM WEBSITE  as this is very cool and attractive looking website interface which will include the 5 pages

Home page
About us
Schedules
Classes
Contact

Given bellow is the Screenshot of website

As i am GSSOC23 contributor please assign me this issue


Graphql: does the route are secured by Symfony Security ?

Yes indeed.
When you add security around your Entities, then they cannot be reached by a GraphQL query.


Fixing captions

Checklist
Before creating the Pull-Request, I...

[x] Ran devtools::document() and Install and Restart.
[x] Ran devtools::check() (GHA will do this but doesn't hurt to check yourself).
[ ] (If applicable) Checked changes made to website with pkgdown::build_site().
[x] Wrote commit message(s) throughout the time spent working on this branch with clear details of changes made.
[ ] Updated package version with usethis::use_version() (choosing one of "major", "minor", "patch", "dev" options) and wrote down changes made in NEWS.md
[ ] (If applicable) Created new tests for new functions or changes made to existing functions (Check codecov).

After all of the Github Actions Checks have finished, I...

[ ] Checked lintr issues by going to the latest commit or the Checks tab.
[ ] Used Squash & Merge option.
[ ] Wrote in detail of all the changes made in the various commits on this branch.
[ ] Added a keyword like closes #56, fixes #123 at the end of the message.
[ ] Merged the Pull-Request.
[ ] Deleted the branch.

Captions that remain:

plot_passnet
plot_sonar
plot_pizza

Captions that remain:

plot_passnet (for some reason @harshkrishna17, when captions are placed it doesnt come out in the title)
plot_sonar
plot_pizza

plot_pizza caption is already done iirc. I'll fix the plot_passnet caption. plot_sonar as well

Captions that remain:

plot_passnet (for some reason @harshkrishna17, when captions are placed it doesnt come out in the title)
plot_sonar
plot_pizza

plot_pizza caption is already done iirc. I'll fix the plot_passnet caption. plot_sonar as well

Harsh, for plot_pizza it's more for testing it correctly since plot_pizza has many words in the caption along with the Created using ggshakeR but yeah

Fixed final tests for #110


improve output

hey mate,
Firstly, great tool!
Any chance you could increase the spacing in the output so that the columns fall in line pls?
This will make it much easier to scroll through and noticed subtle differences in word count/sizes
thanks

Thanks!
It's kind of painful to try to fit result lines with three (or more) variable-length entries in consistent spacing, as we don't know the potential lengths of subsequent outputs (as we print the results as we go). Also the exact values are important, so we cannot shorten them either.
I don't know if it fits your use case, but the verbose mode -v prints the wordlist entries (as well as full URL) on their own  lines, automatically making them to fall in line with each other. The downside of course being each result taking up multiple lines worth of space in the terminal screen.

ok thanks i will give that a go

Closing the issue in order to keep the issues backlog readable, and I do consider the issue either resolved or there's no communication. If you have something to add to the issue, please comment and we'll consider reopening it.


Fix Memory Leaks

Run a memory profiler
Fix major memory leaks the profiler reveals that don't occur on shutdown

Timeboxed to a medium

My preliminary analysis seems to point to what I expected - that the biggest memory leaks are caused by event handlers that are not getting unsubscribed. I'm going to look into how we can get them unsubscribed when needed.

This may be fixed by #578.

After looking into this problem after #578 was completed, it seems that that case fixed this memory leak problem as well.


Dockerfiles: update default user context

Match default user context with the default security context of the BPDM Pool and Gate Helm Charts.
Relevant Issue: #110

Hi @nicoprow found out that it failed to build the docker file and i would suggest its depening on creating an system user (-S $USERNAME )with id over 100

ERROR: failed to solve: executor failed running [/bin/sh -c addgroup --gid $GID -S $USERNAME     && adduser --uid $USERID --gid $GID -m $USERNAME]: exit code: 1
Error: buildx failed with: ERROR: failed to solve: executor failed running [/bin/sh -c addgroup --gid $GID -S $USERNAME     && adduser --uid $USERID --gid $GID -m $USERNAME]: exit code: 1

Maybe you can adapt the example from auto-setup;
https://github.com/eclipse-tractusx/autosetup-backend/blob/4ca133ec4f3aa8df850ef7afdf3827b4f1550cd3/Dockerfile#LL39C1-L47C15
ARG USERNAME=bpdm
ARG USER_UID=100
ARG USER_GID=3000

# Create the user
RUN groupadd --gid $USER_GID $USERNAME \
    && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME

USER $USERNAME

or just removing the -Sto prevent also changing the security context in your 'deploment.yaml'

Updated the groupadd and useradd commands to work with alpine distribution


Another 4-Way Joystick Mode implementation

This is quick implementation which meet my expectation described in https://github.com/OpenStickCommunity/GP2040-CE/issues/532.

Hi @sirrow ,
I will check thit out when I have some time

@sirrow is it the case that the draft only addresses Scenario 2? I don't have a great way to test SOCD=Off at the moment, but it appears that Scenario 1's behavior is the same with your draft.

@sirrow is it the case that the draft only addresses Scenario 2? I don't have a great way to test SOCD=Off at the moment, but it appears that Scenario 1's behavior is the same with your draft.

As you @bsstephan described at https://github.com/OpenStickCommunity/GP2040-CE/issues/532#issuecomment-1728300593, conbination of  https://github.com/OpenStickCommunity/GP2040-CE/pull/533 and https://github.com/OpenStickCommunity/GP2040-CE/pull/537 works well.

https://github.com/OpenStickCommunity/GP2040-CE/pull/537 is already merged.
I make this ready for review with current implementation.
I'll write another pull request for revise the implementation for ease of understand, rewrite with std::list.

I revised my implementation with std::list.
New implementation is functionally same as previous one.
Old implementation is moved to https://github.com/sirrow/GP2040-CE/tree/4way-alt-implementation-dev-v1


Sidebar patch fo mutt 1.5.24 is available now.

Hey, sidebar patch for mutt 1.5.24 is available for a while now. Could you please update your formula?

Thanks for reporting and sorry for the delay. I will look into it.

Fixed by 4504df1: "Update to mutt v1.6.1 (latest), test patches on travis-ci"
All tests are green: https://travis-ci.org/sgeb/homebrew-mutt/builds/142029992
Closing this issue, thanks for reporting! 👍


Daily Rounds External Id in Notification Handler

Proposed Changes

Notifications currently stores daily round's id instead of external Id

used in notifications for consultation creation/updates
however FE is expecting the external Id to access the Log update page (consultation/consultation:id/log_updates/log:id/)

Associated Issue

FE #9305

Merge Checklist

[ ] Tests added/fixed
[ ] Update docs in /docs
[ ] Linting Complete
[ ] Any other necessary step

Only PR's with test cases included and passing lint and test pipelines will be reviewed
@ohcnetwork/care-backend-maintainers @ohcnetwork/care-backend-admins

Summary by CodeRabbit

New Features

Updated notifications to reference DailyRound objects by their external IDs instead of internal IDs.

Bug Fixes

Improved handling of Notification instances to ensure accurate updates of daily_round references.

We dont need to back fill any data, you can delete the migration. Notifications are anyways deleted periodically.


Working on Safari, but not working on chrome and firefox with error: Missing PDF Exception

We store the PDF file above AWS S3, and access it through Cloudfront. To access the PDF file, I have to call api: /api/preview-file/30.json
But on chrome and firefox I get the error: "MissingPDFException", but on Safari everything works fine, which is confusing.
I have searched but have no answer, looking forward to your help. Thank you!
Configuration:

Web browser and its version: Chrome Version 89.0.4389.114 (Official Build) (x86_64), Firefox 87.0 (64-bit)
Operating system and its version: Mac OS High Sierra 10.13.6
PDF.js version: 2.6.347

What went wrong? (add screenshot)

Firefox:

Chrome:

My code: PreviewFile.vue
import * as pdfjsLib from 'pdfjs-dist'
import * as pdfjsWorker from 'pdfjs-dist/build/pdf.worker.entry'

pdfjsLib.GlobalWorkerOptions.workerSrc = pdfjsWorker

export default {
    name: 'PreviewFile',
    mounted () {
        // const url = this.$route.query.q
        pdfjsLib.getDocument('/api/preview-file/30.json').promise.then(pdf => {
            const viewer = document.getElementById('pdf-viewer')

            for (let pageNum = 1; pageNum <= pdf.numPages; pageNum++) {
                const canvas = document.createElement('canvas')
                canvas.className = 'pdf-page-canvas'
                viewer.appendChild(canvas)
                pdf.getPage(pageNum).then(page => {
                    const viewport = page.getViewport({ scale: 2 })
                    canvas.height = viewport.height
                    canvas.width = viewport.width
                    page.render({ canvasContext: canvas.getContext('2d'), viewport: viewport })
                })
            }
        })
    }
}

Network on firefox: 404

Network on safari: OK

When opening an issue, please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md since as-is this issue unfortunately contains no actionable information and will be closed as INVALID.

We store the PDF file above AWS S3, and access it through Cloudfront. To access the PDF file, I have to call api: /api/preview-file/30.json
But on chrome and firefox I get the error: "MissingPDFException", but on Safari everything works fine, which is confusing.
I have searched but have no answer, looking forward to your help. Thank you!

You've not provided the PDF file in question, which is the very first thing we ask for in the ISSUE_TEMPLATE.
Furthermore, this looks for all intents and purposes like a browser bug, rather than a PDF.js library one.
Finally, since this is specific to a particular implementation you'll need to provide a runnable example; please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

PDF.js version: 2.6.347

That version is no longer supported, please find the latest releases at https://mozilla.github.io/pdf.js/getting_started/#download

When opening an issue, please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md since as-is this issue unfortunately contains no actionable information and will be closed as INVALID.

We store the PDF file above AWS S3, and access it through Cloudfront. To access the PDF file, I have to call api: /api/preview-file/30.json
But on chrome and firefox I get the error: "MissingPDFException", but on Safari everything works fine, which is confusing.
I have searched but have no answer, looking forward to your help. Thank you!

You've not provided the PDF file in question, which is the very first thing we ask for in the ISSUE_TEMPLATE.
Furthermore, since this is specific to a particular implementation you'll need to provide a runnable example; please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

PDF.js version: 2.6.347

That version is no longer supported, please find the latest releases at https://mozilla.github.io/pdf.js/getting_started/#download

My link pdf: https://swell-cdn.checkit4team.com/132011/91fe7226-9cd9-455b-8cfa-0b4eaf26e785/sample.pdf It's in my attachment image, but it's stored in s3 and you won't have access to it.  It is difficult to deploy it. Can you review the error?

[...] but it's stored in s3 and you won't have access to it.

Again, as already mentioned, without a reduced test-case that we can run/debug this unfortunately isn't actionable!
Please understand that it's impossible to do any meaningful debugging from screen-shots alone; and that this is first and foremost a bug tracker, rather than a support forum, hence all issues are required to be complete and easily actionable.


most basic snet wrapper

:<proto, :<metta and inherit are indeed subtyping relations, but in different type systems (proto, metta, ai-dsl/ontology).


Layers in maps cannot be reordered

It seems that the layer elements in the right toolbar in the editor are not draggable at this moment.

SB/6382404

S/B 6384934

Users notified


轨道

项目运行后没有轨道显示怎么解决

The main schedule page shows progress.. Captures are greyed out as they occur. Is that what you wanted?

Google translate gives me:

How to solve the problem that there is no track display after the project is run

I don't quite get what you mean. What "track display" are you referring to?


Mapped folders not showing up

Hi @hasan-hasanov,
For starters: thank you so much for this package! It's really perfect for fast testing.
However, I can't get my host folders to show up. This is a deserialization of the IOptions object I use:
{
  "SandboxDesktopLocation": "C:\\Users\\WDAGUtilityAccount\\Desktop\\",
  "SandboxConfigurationFileName": "sandbox.wsb",
  "RootFilesDirectoryLocation": "C:\\Users\\{my_local_user}\\AppData\\Local\\Temp\\Sandbox",
  "RootSandboxFilesDirectoryLocation": "C:\\Users\\WDAGUtilityAccount\\Desktop\\Sandbox\\",
  "VGpu": 0,
  "Networking": 1,
  "UserMappedDirectories": [
    {
      "HostFolder": "D:\\Temp",
      "SandboxFolder": "C:\\Users\\WDAGUtilityAccount\\Desktop\\Temp\\",
      "ReadOnly": "true"
    }
  ],
  "AudioInput": 2,
  "VideoInput": 2,
  "ProtectedClient": 2,
  "PrinterRedirection": 2,
  "ClipboardRedirection": 1,
  "MemoryInMB": 0
}

And this is the content of the sandbox.wsb file it references:
<Configuration>
  <VGpu>Disabled</VGpu>
  <Networking>Default</Networking>
  <MappedFolders>
    <MappedFolder>
      <HostFolder>C:\Users\{my_local_user}\AppData\Local\Temp\Sandbox</HostFolder>
      <SandboxFolder>C:\Users\WDAGUtilityAccount\Desktop\Sandbox\</SandboxFolder>
      <ReadOnly>false</ReadOnly>
    </MappedFolder>
  </MappedFolders>
  <LogonCommand>
    <Command>powershell.exe -ExecutionPolicy Bypass -File C:\Users\WDAGUtilityAccount\Desktop\Sandbox\MainScript.ps1 3>&1 2>&1 > "C:\Users\WDAGUtilityAccount\Desktop\Log_637825178861311088.txt"</Command>
  </LogonCommand>
  <AudioInput>Default</AudioInput>
  <VideoInput>Default</VideoInput>
  <ProtectedClient>Default</ProtectedClient>
  <PrinterRedirection>Default</PrinterRedirection>
  <ClipboardRedirection>Default</ClipboardRedirection>
  <MemoryInMB>0</MemoryInMB>
</Configuration>

As you can see, my mapped folder isn't being added (I only noticed this while making this bug report by the way). If I manually edit sandbox.wsb, and add my mapped folder, it works just fine.
Any idea what I'm missing, am I not configuring the sandbox right?
Thanks!

I seem to have it working now. I have to add my IOptions object both to the new Sandbox initializer, ánd to the ISandboxConfigurationBuilder object:
// prepare sandbox
ISandboxConfigurationBuilder configurationBuilder = new SandboxConfigurationBuilder(options);
var sandbox = new Sandbox(options, configurationBuilder);

What's the point of the first IOptions parameter of new Sandbox()? It doesn't seem to be used.

Hi @LAB02-Admin
Thank you very much for reaching out. I agree with you that it should have worked without configuration builder and with just options. It must be a bug which I will check out as soon as I can.
As you stated it out it needs some refactoring which currently I do not have very much free time.
Boxer is a complete CLI application, if you need only a library for custom work you can use ScoopBox. It is a library which Boxer utilizes.

Oops, I posted in the wrong repo - sorry! I'm using ScoopBox.
I'll close this, it's working fine now :)


To_find_Age

...

Change file names they are creating conflicts

change file names. they are creating conflict. use your rollnumber or any unique number for naming


lubelogger: 1.2.9 -> 1.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/hargata/lubelog/releases.
meta.description for lubelogger is: A vehicle service records and maintainence tracker
meta.homepage for lubelogger is: https://lubelogger.com
meta.changelog for lubelogger is: https://github.com/hargata/lubelog/releases/tag/v1.3.0
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.3.0 with grep in /nix/store/fq53m9m5bfk206ff8kgllwgbkdaxbd21-lubelogger-1.3.0
found 1.3.0 in filename of file in /nix/store/fq53m9m5bfk206ff8kgllwgbkdaxbd21-lubelogger-1.3.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
lubelogger

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fq53m9m5bfk206ff8kgllwgbkdaxbd21-lubelogger-1.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A lubelogger https://github.com/r-ryantm/nixpkgs/archive/1300357c0f77a91788a6fda65f82c76c495bcc42.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1300357c0f77a91788a6fda65f82c76c495bcc42#lubelogger

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fq53m9m5bfk206ff8kgllwgbkdaxbd21-lubelogger-1.3.0
ls -la /nix/store/fq53m9m5bfk206ff8kgllwgbkdaxbd21-lubelogger-1.3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

lubelogger

Maintainer pings
cc @Samasaur1 for testing.

@NixOS/nixpkgs-merge-bot merge


[Usability] Check if underlined text is not a link

Priority - 2
URL: https://www.powermapper.com/products/sortsite/rules/usegov10.4/

Done. Commit #29


See where record can be useful to replace []

The current version of dsol is using Java 17+ and can therefore use the record instead of an array with []. Especially in dsol-animation, x-y coordinates or x-y-z coordinates are used as a array, where a record would be much more intuitive. The same holds for storage of rgb-colors.

The CoordinateTransform in dsol-animation-gis now works with a FloatXY record or a DoubleXY record instead of float[] or double[].

The CoordinateTransform was the most important change.


Update moving-data-to-new-datacenter-geos.md

Updated reference to OST.

@denisebmsft - PR is ready for final review.
Thank you.
cc: @kenwith


Add task template mechanism

Description
This MR provides additional funcitonality for templating tasks with a class TaskTemplate.
Example
task_template = TaskTemplate('myTemplate', say,
    [{
        'message': "default value for param 'message'",
        "other_message": {"default": {"value": {"for": "other_message"}}},
    }],
)
a = task_template.task("taskWithDefaultValues")
b = task_template.task("taskWithNonDefaultValues", [{"other_message": "hello again"}])

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

@flaviuvadan Hello, can we run the tests again? Coverage for workflow_editors.py should better now.

@flaviuvadan I'm glad to see that this MR is now fully passing all the checks.
I think this would be nice to include in 3.2.0 which you've opened a MR for.
I was wondering about next steps and would like your opinion if this is what's preferred:

rebase this MR with branch hera/3.2.0
change target branch to hera/3.2.0
write changelog in that branch

I'm open to suggestions.

@flaviuvadan I've rebased into hera/3.2.0 and added info to CHANGELOG.md.
Also, I've noticed that the current codecov comment is not related to the latest commit. Running coverage locally with tox resulted in higher values.
Is there anything else I can do?

Thank you so much for the PR @kromanow94! 🙂 Following is an explanation of my perspective.
First, I merged the 3.2.0 branch and really did not expect it to close your PR automatically! I apologize for that!
I wanted to leave a high level comment on this idea; I think I understand the value of it! The point is to make it easier to create tasks from a given task template, conceptually. Users would get to define a task once and keep performing .task to keep creating tasks that are copies of the original one but with modified parameters. The idea here is to save the users from having to perform something like task.argo_task = task.get_argo_task() if they modify something on a task template. So, I definitely acknowledge the problem. However, I think it approaches the problem from the wrong angle. Here are the problems I see with the approach, which I will follow up with alternatives:

Hera aims to facilitate access to Argo Workflows by providing an easy interface for scheduling workflows. Part of this mission is to maintain consistency with the language of Argo, so that Hera's user base has an easy time maintaining a 1:1 mapping between Argo concepts and Hera concepts. Hera aims to maintain this 1:1 association but make the concepts easily accessible, by doing some work for the user. The idea of a TaskTemplate does not exist in Argo, yet at least. Only WorkflowTemplates are, currently, available
I think there is a problem with the internal design of Hera, which motivated the approach presented by this PR. I think the get_argo_spec call should be, perhaps, performed by the workflow rather than the task. This way users can make copies of a task, modify fields/parameters, and only have the task "construct" when it passes through the workflow. This open the opportunity to reduce the "work" that a task does, and make it provide builder hooks for the workflow so the workflow constructs the argo spec of the task, and task becomes lighter as a consequence of this complexity reduction. Exposing something like a (deep) copy() on the task is perhaps an easier way, conceptually, to make a "template" - a user makes a (deep) copy of a task. modifies fields as desired, then when the task is injected into a workflow, then and only then, it is assembled into an Argo task representation.

Again, I must apologize for closing the PR! I really did not expect this branch to be closed! It makes sense now since the head branch was deleted.

@flaviuvadan Thank you for your comment. No worries about closing this PR.
Although, I have other opinion on Argo not implementing the TaskTemplate: it's possible to create a template for a task inside a workflow and then reference it in other tasks. This is shown in the Argo examples:

https://github.com/argoproj/argo-workflows/blob/master/examples/dag-diamond-steps.yaml#L52
https://github.com/argoproj/argo-workflows/blob/master/examples/dag-diamond-steps.yaml#L62
https://github.com/argoproj/argo-workflows/blob/master/examples/dag-diamond-steps.yaml#L67

In current hera implementation, every call to the Task class creates a template in .spec.templates and then calls it in task defined in the DAG template that is used as a workflow entrypoint. This task (that is defined as one of the tasks in the entrypoint DAG) references it with something like spec.templates[#].tasks[#].template: A.
What I had in mind for the value in that PR is that we could get rid of redefining the templates.
Imagine I want to have a 100 of tasks that are based on the same function. This function have 100 lines. This creates 100 templates. Each of these templates have exactly the same content in source key. At end, we use about 10 000 lines for the workflow definition only for the templates (not including parameters, name and other fields). If we were to use the task template, we would have only one template defined with a 100 lines and then referenced in 100 tasks defined at the DAG level. This brings considerate savings in terms of how big this workflow defined with hera can be.
Once you have a hundreds or thousands of tasks that each uses the same python function, it results in redefinition of the template for hundreds or thousands of tasks. It's not optimal and could create an issue when workflow size exceeds maximum object size that depends on ETCD.

@flaviuvadan Thank you, much appreciated.
From what I've seen in the code - the task template generation is already handled for a Task. This PR I proposed contained reusing into that, combined with testing if given template object is already present on the list of workflow templates. Still, I understand this may not be desired solution.
I offer my help for coding if required.

@kromanow94 I've been thinking about this a bit more.. I still think the idea of saving templates is amazing but there are several cases in which resources, such as volumes, need their own dynamically provisioned volume IDs. I am wondering if you have any thoughts on how we could get around this aspect? The script template holds the resources associated with a pod running a task. If a user wants to provision an independent volume for a task the user can do something like
w = Workflow(...)
for i in range(5):
    t = Task(..., resources=Resources(volumes=[Volume('5Gi', '/mnt/vol')]))
    w.add_task(t)

The problem is that when w creates the task templates there will be independent volume IDs for each task, each corresponding to a single volume to attach. Maybe there's a balance to strike.. perhaps a task that has func_params set can use a shared template and tasks that have a single params do not? When func_params is passed Argo will create a task group rather than single tasks, and these will share resources, such as the same volume if a user specifies one. In this case the same template can be used I think. Thoughts?


Compile error

It can't use ,because it is compile error.
#import <GoogleMobileAds/GADNativeAppInstallAd.h>   what is this file? Admob no the file

hi,sorry,but you may use the old adapter just only for admob below 7.46.0, here we release the new adapter for admob 7.50.0 but just rewardVideo for temp, we will support more ad type soon.