implement storage staging with filesystem destination

Background
The #333 enables us to store load packages in a bucket. It is a regular destination. In this ticket we extend the load stage to use this destination (and others exposing the right interface) to prepare a storage stage for other destinations to load from.
Example of that: the normalizer

creates a set of csv/parquet files and stores them as load package
a new staging method of load uses the filesystem destination to send the package to a s3 bucket
now the Redshift destination can use COPY command to load such data to the cluster

Tasks
Implement the stage method in load:

[ ] add the stage method that will execute filesystem destination to move the files to the bucket

[x] when the job is completed it will create followup jobs which contain references to the staged files. this is the same concept we do with merge followup jobs. we should also group files from a single table in a single reference job (we'll fix replace bug at least partially the #271 )

[x] staging is filtering out the reference file and ignores the schema update file. in case of abort it abort the package like load

[x] dlt must be smart with file type generated by normalizer. it should use a preferred type of the destination but also make sure that this file type is compatible with the staging. if not it must pick first type from supported types. ad hoc capabilities will be created and injected to support that (to normalize)

[ ] the staging destination is configured in destination credentials.

Changes to load method in load:

[x] load method must recognize reference job and pass them to job clients

[x] the job clients must start accepting reference jobs and pass them to newly created copy jobs.

[x] build a copy job for BigQuery which should be trivial

Load storage and destination capabilities:

[ ] maybe we can reorg how preferred formats and supported formats are processed

finally we decided to execute both staging and destination jobs in one queue so they can run in parallel. staging is passed in staging argument, not via destination credentials


include tagMetadata in EntityTags object

@ajordens PTAL
I tried removing the top level lastModified and lastModifiedBy fields, but those are required to satisfy the Timestamped interface, which is required by StorageServiceSupport class, so left them in.

Ahh yes, that's fair.


SEC-1334: update confluent-log4j version

This pull request updates confluent-log4j from 1.2.17-cp1 to 1.2.17-cp2. The former had a few accidental commits that made the repackaged version slightly different than the upstream log4j. 1.2.17-cp2 fixes the issue and applies a CVE fix (and no additional code changes) to the upstream log4j:1.2.17.
This commit ought to be cherry picked to 2.6 branch as well.

Test failures are unrelated.

LGTM. Thanks for thoroughly testing this change - it may be worth it to succinctly describe the testing done here for completeness

Thanks @stanislavkozlovski. Good point. I updated the PR description with a pointer to the Jira ticket.


[BUG] add region from selected layer _ for atlas space

Describe the bug
When attempting to use the "Add Region" feature from the bottom of the region segmentation plugin, an error occurs only when loading the project in the atlas space. The error is reported when trying to run the "Analyze Regions" or "Summarize Volumes" functions. The log error files indicate a ValueError: operands could not be broadcast together with shapes. This might happen if the layers were not generated in the atlas space and were exported from another source.
To Reproduce
Import the project into the atlas space. Import a different layer with a threshold generated outside the atlas space. Try to run "Analyze Regions" after clicking the "Add" button for the external layer.
Expected behaviour
Generation of output files, summarize regions and volumes. As in sample space.
Log file
See attached error file
Additional context
The same issue does not occur if the threshold is generated over layers that were already generated from files existing in the atlas space, which is logical. Alternatively, I can include both approaches in the documentation, so it will be clear that this is not a bug.
I think this last option of specifying how to proceed in case adding from the atlas space is the option. Maybe if trying to add from a region that is not atlas space we just need to include a window advising the layer is not in the atlas space. I will include this details in the documentation.
logErrorFile_AtlasSpace.txt
logErrorFile_AtlasSpace.txt

Thanks for raising this, to clarify do these two cases work:

Segment a feature in sample space and analyse in sample space
Segment a feature in atlas space and analyse in sample space

And this doesn't:
3. Segment a feature in sample space and analyse in atlas space (or vice versa)
If so, that's expected, but you're right, this should be documented. If either 1. or 2. don't work, then something is broken and I should fix it!

This is correct. Points 1 and 2 work without any issues. Point 3, on the other hand, does not work (as it shouldn't), but we can address this by implementing a window that displays a message indicating the need to move to the correct space. I will include this information in the documentation to ensure clarity.

Great, thanks for the clarification. The plugin should warn users about this so that they don't get a cryptic error message (and so they don't spend ages segmenting data in the wrong coordinate space)! I'll add something.


[WIP] Wet/dry capabilities for 1D shallow water equations

This implements the hydrostatic reconstruction technique of Chen & Noelle that is able to handle wet/dry transitions and remain well-balanced. Blending factors for the DG / FV scheme are added / modified to ensure well-balancedness in partially wet elements. The indicators accurately track the wet/dry front as well for evolving flows. The positivity preservation limiter is modified to avoid limiting of the bottom topography variable.
Two (constant) threshold quantities are added to the shallow water equations such that the wet/dry capabilities are easier to use and adjust for different simulation setups.
Tests are added to exercise the new features.

Tests are added to exercise the new features.

I do not see any new tests added in the test/test_tree_1d_shallowwater.jl. You added elixirs for the new run configurations but the reference values for the tests need to be added. Feel free to ping me if you need more instructions on how to do this.

Just so the method to my madness is known, my plan is to iterate and merge the 2D wet/dry PR #1340 into dev first. Then I will tackle the (hopefully) easier task of unifying the code here in the 1D wet/dry implementation before merging it into dev as well.

I transferred the big discussed changes on the 2D branch to this branch. If I have forgotten something, please let me know.

I merged this functionality into the 2D branch and resolved all conflicts in https://github.com/trixi-framework/Trixi.jl/pull/1340/commits/0cbf94ded522041726d88fd62a832554428ef4d1, so this PR can be closed.


Improvements to the FLAG_FAIL_FAST option

Currently the centrifugation script has a hardcoded constant called FLAG_FAIL_FAST which defaults to being set to False, but when it's set to true it will propagate errors.
As seen here: https://github.com/ooni/pipeline/pull/177#discussion_r279317109, the fact that exceptions are not obviously thrown can lead to bugs creeping up.
Moreover it's probably beneficial to at least run the CI tests with this flag on.
I think at bare minimum it should be possible to enable this flag as an argument to centrifugation, but maybe we could also revisit this pattern.
Here are some comments from @darkk which may be of help to inform a decision:

Yes, garbage-in-garbage-out.
That's done that way so the malformed measurement is still indexed and marked with exc and does not block the pipeline.
You may enable FLAG_FAIL_FAST to avoid exceptions suppression.

Storing exception as 32bit hashsum may sound like a strange idea, that's done to prevent database bloat in a pathological case as 1M of traces is not something trivial to deal with.
That idea is to use the hashsum to triage "failures" and pay attention to "popular" failures first.

FTR, the hash is computed by exc_hash().

Note: I tried enabling FLAG_FAIL_FAST on the CI which operates on the bucket 2018-05-07, yet it fails due to:
  File "/mnt/af/shovel/centrifugation.py", line 1803, in main
    meta_pg(opt.autoclaved_root, bucket, opt.postgres)
  File "/mnt/af/shovel/centrifugation.py", line 1756, in meta_pg
    copy_data_from_autoclaved(pgconn, stconn, in_root, bucket, bucket_code_ver)
  File "/mnt/af/shovel/centrifugation.py", line 632, in copy_data_from_autoclaved
    row = feeder.row(msm_no, datum)
  File "/mnt/af/shovel/centrifugation.py", line 1511, in row
    ret += self._row(msm_no, r)
  File "/mnt/af/shovel/centrifugation.py", line 1525, in _row
    headers = ujson.dumps(http_headers(headers))
  File "/mnt/af/shovel/centrifugation.py", line 139, in http_headers
    return {pg_uniquote(k): pg_uniquote(v) for k, v in headers.iteritems()}
  File "/mnt/af/shovel/centrifugation.py", line 139, in <dictcomp>
    return {pg_uniquote(k): pg_uniquote(v) for k, v in headers.iteritems()}
  File "/mnt/af/shovel/oonipl/pg.py", line 184, in pg_uniquote
    assert isinstance(s, unicode)
AssertionError

Yep, that's clear indicator of the lack of the ongoing cleanup process implied by #137.


Fix: HTTP errors with data = None

obj.get("data", {}) returns None if the data field is explicitly set to None. the default value of get is used only if the key is not found in the object.
500 errors seem to return a payload with a null data, thus failing the parsing.

No I did not.Frankly I don't remember what the error was...

Yes of course !
I'll be bumping to v0.1.0, are you ready ?


Complete the Proxy configuration for MTR part with Proxy PAC file usage

Please complete the part https://docs.microsoft.com/en-us/microsoftteams/rooms/rooms-prep#proxy wchich states at #8 that Proxy PAC file could also be referenced in this registry hive.
ex.: the part Lance has written in his doc for MMR:
NOTE: If customer is using a PAC file the configuration would look like the example below
[HKEY_USERS\Skype\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings]
"MigrateProxy"=dword:00000001
"ProxyEnable"=dword:00000001
"AutoConfigURL"=http://contosoproxy.corp.net/proxy.pac
Many customers still use Proxy.PAC and the support of Proxy PAC file is lacking from our documentation.

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

ID: a711c07e-10b3-baf0-b92c-9dbcf6ab9474
Version Independent ID: 2038cd48-44b1-1ed1-6e50-48290eef5605
Content: Prepare your Environment - Microsoft Teams
Content Source: Teams/rooms/rooms-prep.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@ccygan Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@ccygan thank you for pointing this out and helping improve MS Docs. Just for clarity are you suggesting adding the above example as the second example for number 8?

@ccygan thank you for pointing this out and helping improve MS Docs. Just for clarity are you suggesting adding the above example as the second example for number 8?

Hello,
I wanted to add the part which explains the Proxy.PAC file configuration in the registry. This is to add on existing content, which is correct, but incomplete.
Chris
De : Lindsay<EMAIL_ADDRESS>Envoyé : mardi 5 janvier 2021 14:38
À : MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc : Christophe Cygan<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Objet : Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Complete the Proxy configuration for MTR part with Proxy PAC file usage (#6302)
@ccyganhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fccygan&data=04|01|Christophe.Cygan%40microsoft.com|a932e0fbb9f54f8cfe9108d8b17f1237|72f988bf86f141af91ab2d7cd011db47|1|0|637454506624983198|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=dXsoL9zmiroc0wyNNPV%2FBVxEWA9%2BJPMoE5RoDy4pBe8%3D&reserved=0 thank you for pointing this out and helping improve MS Docs. Just for clarity are you suggesting adding the above example as the second example for number 8?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F6302%23issuecomment-754641041&data=04|01|Christophe.Cygan%40microsoft.com|a932e0fbb9f54f8cfe9108d8b17f1237|72f988bf86f141af91ab2d7cd011db47|1|0|637454506624993155|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=eogxRdeOmTuqxpK59Oq4pmrpsEKiXfXvXZBfVuAPHRk%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAET7JV4UD3BCMFPM3YC5SJTSYMI2HANCNFSM4UMIE42A&data=04|01|Christophe.Cygan%40microsoft.com|a932e0fbb9f54f8cfe9108d8b17f1237|72f988bf86f141af91ab2d7cd011db47|1|0|637454506624993155|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=jlMZPEe6154BbG%2FOoWC07Ni67mM%2BjBLL21qm4YyDgoo%3D&reserved=0.

Hello,
I wanted to add the part which explains the Proxy.PAC file configuration in the registry. This is to add on existing content, which is correct, but incomplete.
Chris
De : Lindsay<EMAIL_ADDRESS>Envoyé : mardi 5 janvier 2021 14:38
À : MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc : Christophe Cygan<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Objet : Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Complete the Proxy configuration for MTR part with Proxy PAC file usage (#6302)
@ccyganhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fccygan&data=04|01|Christophe.Cygan%40microsoft.com|a932e0fbb9f54f8cfe9108d8b17f1237|72f988bf86f141af91ab2d7cd011db47|1|0|637454506624983198|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=dXsoL9zmiroc0wyNNPV%2FBVxEWA9%2BJPMoE5RoDy4pBe8%3D&reserved=0 thank you for pointing this out and helping improve MS Docs. Just for clarity are you suggesting adding the above example as the second example for number 8?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F6302%23issuecomment-754641041&data=04|01|Christophe.Cygan%40microsoft.com|a932e0fbb9f54f8cfe9108d8b17f1237|72f988bf86f141af91ab2d7cd011db47|1|0|637454506624993155|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=eogxRdeOmTuqxpK59Oq4pmrpsEKiXfXvXZBfVuAPHRk%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAET7JV4UD3BCMFPM3YC5SJTSYMI2HANCNFSM4UMIE42A&data=04|01|Christophe.Cygan%40microsoft.com|a932e0fbb9f54f8cfe9108d8b17f1237|72f988bf86f141af91ab2d7cd011db47|1|0|637454506624993155|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=jlMZPEe6154BbG%2FOoWC07Ni67mM%2BjBLL21qm4YyDgoo%3D&reserved=0.

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Add required permissions for integrating snyk with code scanning

Trello: https://trello.com/c/srqkwMUh/3430-spike-integrating-snyk-findings-with-github-code-scanning
Adds required permissions for integrating snyk with code scanning.

Since we are moving away from using snyk do we still need this PR? No worries if we still need it, I was just in a tidying mood


Support for tanssi orchestrator and async backing pallets

Both Tanssi and Moonbeam are now experimenting with a new pallet called AyncBacking, which is in charge now of holding slot information. This PR adds support for that, as otherwise using the authorInherent will no longer yield this info.
Additionally this PR adds support for tanssi orchestrator, and distinguishes between orchestrator (the tanssi chain itself) and containers (the chains for which tanssi lends collators). I verified that both work.

@ermalkaleci Is there any date where you are planning to do a release for this? Let us know so that we can test "officially"

@girazoki I will release a beta version first

@girazoki https://github.com/AcalaNetwork/chopsticks/actions/runs/7787910719/job/21236139929


⚠ T:Riza Api has degraded performance

In 85e56bb, T:Riza Api (https://infra.triza.dev/api) experienced degraded performance:

HTTP code: 200
Response time: 2658 ms

Resolved: T:Riza Api performance has improved in e58d785.


go stopped working in VScode devcontainer after a few hours of running mirrord.

Bug Description
User reported:
After working for several hours, stealing traffic from a remote container, debugging locally a GO service (Intel Mac, VScode devcontainer), suddendly hit this:
Build Error: go build -o /workspaces/the-x/__debug_bin2795526562 -gcflags all=-N -l ./main.go
# command-line-arguments
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: cannot find /lib64/ld-linux-x86-64.so.2: No such file or directory
collect2: error: ld returned 1 exit status (exit status 1)

Only rebuilding the devcontainer from scratch, worked...
Intel Mac, Go is 1.20, I'm using the vscode ext. so I assume mirrord version is fetched from latest?
This happened only once. The only possible way to recover was rebuilding the devcontainer.
It was bunch of trial & errors, running in debug, stopping, re-running, stopping again untill I hit this.
Discord thread
Steps to Reproduce

Run go project with mirrord in steal mode a bunch of times;
After a few hours of this flow, go stopped working;

Backtrace
No response
Relevant Logs
No response
Your operating system and version
Intel Mac, Go is 1.20
Local process
go build -o /workspaces/the-x/__debug_bin2795526562 -gcflags all=-N -l ./main.go
Local process version
No response
Additional Info
No response

I think this is related to the VSCode - I think we get loaded into the build tools and we can avoid it from vscode perspective.
If the fix is in VSCode let's move it there (up to the assignee)


neovim issue with opened help

:e ~/.config/nvim/init.vim
:h startify
:SS
So saved session looks like:

Then I load this session in another nvim, it looks a little bit different:

buffer has now two file (init.vim, startify.txt)

See :h 'ssop'. You may want to remove help from it.
E.g. set sessionoptions-=help.

A like situation with NERDTree plugin (I install it using dein.vim manager)
I save this session, with opened NERDTree:

And load this, with empty side pane, and in buffer with additional NERD_tree_2 file (which is empty)

What gets saved in a session is only affected by 'sessionoptions'. Startify is not the problem.
:SSave and :SLoad are convenience wrappers around :mksession and :souce.
The problem with NERDTree is probably that it doesn't set its own window as buftype=nofile. So Vim think it's a file and includes it in a session. But it was dynamically created, so restoring the session will only lead to an empty window.
I'm not 100% sure, but I think you can avoid restoring empty windows by using :set sessionoptions-=blank.
Also, have a look at :h g:startify_session_before_save which seems to use NERDTree as an example.

Ok :set sessionoptions-=blank seem not to show the black nerd tree. think may be close.
Thank!


Add support for emitDecoratorMetadata compiler option

I try to use the plugin for angular 2. I would like to set moduleResolution, emitDecoratorMetadata, experimentalDecorators. Is there some possibility to set these? Is it possible for extend the plugin to support the params. Where could I start?

Looks like experimentalDecorators and moduleResolution are already supported (its in the project settings for a TypeScript-enabled project). The emitDecoratorMetadata support is missing. If you are interested in contributing this back, check out https://github.com/palantir/eclipse-typescript/commit/5caabc641eef9bf0b8310b392e1364deaabd1770 for an example of hooking up a compiler option.

Apparently, this little compiler option is a pretty big deal in the world of Angular2 and Dependency Injection (@Injectable).  After two days of banging my head against the wall and wondering why DI was throwing exceptions (TypeError: Cannot read property 'query' of null in RC2 and Can't resolve all parameters for ...: (?, ?) in RC4 ), I came across this open issue.
Anyway, I could definitely use this option in the future, however, it appears this coincides a bit with Issue #268 and is currently being addressed with PR #323, so having tsconfig support would be an amazing short term "workaround" for me!

Thanks @JustinCIS, #323 PR should be checked by the end of the week.
I added emitDecoratorMetadata option in this commit: 3762c20


Use of init.py

I was struggling with importing a Python module into a notebook, and I found that creating an __init__.py file fixed the problem, but this is not mentioned in the article, so suggesting it be included.
Here is my scenario:

DBR 12.2
Using Repos
I have a util directory within the repo where I have a configurestorage.py file.
I have a project directory within the repo where I have a MyProject notebook into which I want to import the configurestorage.py file.

The documentation states the following (emphasis added):

In Databricks Runtime 11.2 and above, the current working directory of your notebook is automatically added to the Python path. If you’re using Repos, the root repo directory and all subdirectories are added.

This led me to believe that I could simply from configurestorage import * in my notebook; however, the import was not successful. I also attempted from util.configurestorage import * which was also unsuccessful. In both cases the module was not found.
After some research, I added an __init__.py file into my util directory, and once I did that using from util.configurestorage import * was successful.
(Note that if the file I was attempting to import was in the same directory as the notebook into which I was importing, a simple from configurestorage import * works fine.)
So it seems there are a couple of pieces of information missing from this article if the file being imported is in a different directory from the notebook into which it is being imported:

You must add an __init__.py file into the directory where the Python file is located.
You must include the directory namespace in the import statement.

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

ID: 5c008ed7-f7e6-4d45-2e48-aa7b1dac9e9a
Version Independent ID: 5c008ed7-f7e6-4d45-2e48-aa7b1dac9e9a
Content: Work with Python and R modules - Azure Databricks
Content Source: databricks/files/workspace-modules.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@matthewtatsch
Thanks for your feedback! We will investigate and update as appropriate.

@matthewtatsch
Thank you for bringing this to our attention.
I've delegated this to content author @mssaperla, who will review it and offer their insightful opinions.

Thanks for providing feedback that helps improve our documentation. We've created an internal work item (DOC-11126) to address your feedback. The timeline for resolution varies based on resourcing.
#please-close


Add Export Data Feature

Add export to excel or csv

will be using mongooseToCsv
with array for audio and video eq to be using virtual feature to implode from array to string with different character like :
:tired_face: :sleepy:  lets wind up for today..


Add SKRegion support

This changeset add the basic bindings needed for the SKRegion class.

Awesome! This is looking good already!


Add link to Pipfile specification

This is useful for people using Pipenv and looking for more information related to specifying VCS dependencies.

@charlax thanks for the contribution, this looks good to me!

Thanks Dan!


Change of color of components' background

What's the style idea?
We need to improve the color of components' background to light grey before hovering and white after hovering for better appearance of website.
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

Pls provide the supporting screenshots of your issue @MehakDogra2005


Remote set a Cell editingColIdx and editingRowIdx

Is there a way that I can remotely set editingColIdx and editingRowIdx so that when I add a new row a cell of it already came in the editor mode?

@gabrieldonadel hmm..  i think it's not so easy to implement lol .  in deprecated react-bootstrap-table, we had similar case that is due to we natively support "row adding" functionality.  but so far we don't have in this package.  In my perspective, this requirement is a big stuff for me, I mean we probably need to implement row adding, in addition, this feature is not make sense to be a part of cell editing.

Let's close it due to i will not implement it. but as I mention, this should be the part of row adding.


Any adversarial attack that sustains after resize attack

Hi Sir,
This is Bala. I have a query regarding adversarial attack.
Is there any adversarial attack that sustains/consists of added noise, after resize attack ? (adversarial image -> converting into High / low resolution image -> resize to original adverarial image size)
Thanks,
Bala

If you use some form of EOT (Athalye et al. 2018) then it should be possible to make resize-robust adversarial examples.


rust-lib-requiring-envvar test fails on cmake 3.22.2

On Ubuntu 20.04LTS, after building CMake 3.22.2 from the tag, running
git clone https://github.com/corrosion-rs/corrosion.git
cd corrosion/test
cmake -G Ninja .
ninja

fails with:
   Compiling rust-lib-requiring-envvar v0.1.0 (/tmp/corrosion/test/envvar) error: environment variable `REQUIRED_VARIABLE` not defined
 --> build.rs:2:16
  |
2 |     assert_eq!(env!("REQUIRED_VARIABLE"), "EXPECTED_VALUE");
  |                ^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `rust-lib-requiring-envvar` due to previous error

As noted elsewhere, I traced this problem to commit 93ae1fe. It still fails with CORROSION_EXPERIMENTAL_PARSER=OFF.

Thanks for the report! The issue should be fixed on master now. Can you confirm that?

Yes, I can confirm it works now, thanks!


Expand lpc system command to work for all ARM MCUs

Resolves #654

Coverage remained the same at 75.699% when pulling 6e3fb76258d87674e491a28a48b35bf48c3226b4 on system-command-agnostic into fd7f82851822053bcd669ea38a92d301ccfd469f on master.


Post release automated changes for loadtesting releases

Post release automated changes for azure-rest-load-testing

API change check
API changes are not detected in this pull request.


Only add quantity or units keys in step directions if they are defined

Prior to this change, if a quantity or a unit is undefined for an ingredient, cookware, or timer, then the resulting parsed direction item would still include the quantity or unit key despite the value being undefined.
For example, given the following ingredient:
@cauliflower{1}

The resulting parsed direction item would be:
{
  "type": "ingredient",
  "name": "cauliflower",
  "quantity": 1,
  "units": undefined
}

The problem with this is that it makes it trickier to convert the resulting steps structure to JSON using JSON.stringify(), as undefined is not a native JSON value:
Reason: `undefined` cannot be serialized as JSON. Please use `null` or omit this value.

This commit causes the keys to be omitted from the structure entirely if their values are undefined:
{
  "type": "ingredient",
  "name": "cauliflower",
  "quantity": 1
}

The quantity and units keys in the StepIngredient, StepCookware and StepTimer types are already marked as optional, so omitting the keys entirely should not cause any issues.

Technically the default values for quantity and units should be "some" and "" according to the spec https://github.com/cooklang/spec/blob/8559ec59683e47412ebd1c7c17bcbd9ed78ea355/tests/canonical.yaml#L270

Technically the default values for quantity and units should be "some" and "" according to the spec https://github.com/cooklang/spec/blob/8559ec59683e47412ebd1c7c17bcbd9ed78ea355/tests/canonical.yaml#L270

This is a good point, perhaps I've been a bit overzealous with my removal of the keys 😅
It seems that the latest spec has different default values for quantity, depending on whether it's an ingredient (default of "some") or a piece of equipment (default of 1).
From what I can tell, the default unit is always "" if unspecified. Is "units": "" preferable to omitting the "units" key entirely?

Following on from the above discussion, closing this in favour of making the quantity and units adhere to the default values laid out in the spec - as per #5.


deploying the app docker inconsistency with recipes directory

On the README for "Setup with Docker" the example shows -v <path to recipes>:/app/recipes while in the docker-compose.yml example it shows - ferdium-recipes-vol:/app/build/recipes.
Which of the 2 paths should be used for the recipes?
README: https://github.com/ferdium/ferdium-server#deploying-the-app
DOCKER COMPOSE: https://github.com/ferdium/ferdium-server/blob/main/docker/docker-compose.yml

you can login into the container with docker compose exec <ferdium> sh and ls into the two directories to figure out.
in short, tldr: <host-path-or-volume-name>:/app/recipes


[Q] Donation without Paypal

I am using TSduck for personal purposes and I want to donate. However, Paypal is forbidden in the country I am located. Is there a way to donate without paypal ? Such as, is there a bank account information where I can transfer cash directly ?

Paypal is currently the only possible way. There were some recent issues with Paypal but the account is now unlocked again.


Stringify does not JSON stringify

If you stringify an object it will not JSON stringify it:
s = require('javascript-stringify')

console.log(JSON.stringify({hi:'howdy'}))
console.log(s.stringify({hi:'howdy'}))

outputs:
{"hi":"howdy"}
{hi:'howdy'}

This means it is not a real stringifyer. it is a make human readable stringifyer. If you try to run JSON.parse(s.stringify({hi:'howdy'})) it will throw an error Unexpected token h in JSON at position 0

This is not a JSON stringifier, this is a JavaScript stringifier. As the README notes, the intent is to generate valid JavaScript not JSON. Otherwise you could just use JSON.stringify, as you have noted.


systemvm: setup radvd correctly

Description
Fixes radvd setup on VR for isolated network
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6343 (SL-JID-1508)

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3336

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3337

Trillian Build Failed (tid-4093)

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with
SystemVM template(s). I'll keep you posted as I make progress.

@blueorangutan package

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3340

Trillian Build Failed (tid-4097)

Trillian Build Failed (tid-4095)

Trillian test result (tid-4096)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 24228 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6343-t4096-vmware-70u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py

Trillian test result (tid-4099)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 20767 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6343-t4099-xenserver-71.zip
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py

Trillian test result (tid-4094)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 37328 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6343-t4094-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_affinity_groups.py
Intermittent failure detected: /marvin/tests/smoke/test_affinity_groups_projects.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py

Trillian Build Failed (tid-4110)

Trillian test result (tid-4101)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36794 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6343-t4101-kvm-centos7.zip
Smoke tests completed. 95 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Trillian test result (tid-4103)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 41392 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6343-t4103-xenserver-71.zip
Smoke tests completed. 94 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_02_verify_ipv6_network_redundant
Failure
712.64
test_network_ipv6.py

Trillian test result (tid-4100)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 47283 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6343-t4100-vmware-70u3.zip
Smoke tests completed. 94 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_07_deploy_kubernetes_ha_cluster
Failure
405.61
test_kubernetes_clusters.py

test_08_upgrade_kubernetes_ha_cluster
Failure
0.05
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Failure
0.04
test_kubernetes_clusters.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
47.20
test_kubernetes_clusters.py


Adding BackendPolicy for Service-level config

This is roughly based on the Service-level config doc we've been discussing. It also incorporates the excellent work from @danehans in https://github.com/kubernetes-sigs/service-apis/pull/184. This PR still needs examples and documentation but I'm opening it early so we can get some more feedback on the concept. This is meant to be a starting point, I think there's still lots of room for improvement here.
/cc @danehans @hbagdi @jpeach

@robscott this is a PR for a BackendPolicy, i.e. a policy for a backend. I think the docs should be updated to define what a "backend" is.

This might of interest to Knative folks @mattmoor @tcnghia @ZhiminXiang.

I've pushed an update that dramatically reduces the scope of this first version of TLSPolicy. This now only includes TLS Config. This is one relatively simple thing that we know we'll want to be associated with a backend whereas the other fields I'd initially added had significantly more potential for variation among implementations and could also potentially fit on routes instead.

protobuf tags should be removed from fields since https://github.com/kubernetes-sigs/service-apis/pull/283 merged.

Can you add add a BackendPolicy example in /example?

@danehans Thanks for the review! I've removed the protobuf tags and added a BackendPolicy example.

I'm not certain here but a thought: should this be named BackendNetworkPolicy? My (tiny) concern is that BackendPolicy might be a tad generic and we might be creating a kitchen sink.

I'm not certain here but a thought: should this be named BackendNetworkPolicy? My (tiny) concern is that BackendPolicy might be a tad generic and we might be creating a kitchen sink.

@hbagdi I'm reluctant to use Network in the type's name due to the existing k8s NetworkPolicy type. I feel like the schema is modeling connection-level attributes. Maybe this is a nit, but if we want to narrow the scope of the name, what do you think about BackendConnectionPolicy?

@hbagdi @danehans I think everything has been resolved now except for naming, let me know if I've missed anything. As far as naming, I'm open to a less generic name than BackendPolicy but concerned about how painful it might become to kubectl get a long resource name. I agree that BackendNetworkPolicy makes me think of something more closely related to the NetworkPolicy resource. I think BackendConnectionPolicy feels like a very accurate name, it just may become annoying to interact with due to its length. I created a quick Slack poll to see what others think and/or if anyone has other ideas for a name here.

xref slack thread from https://github.com/kubernetes-sigs/service-apis/pull/268#issuecomment-696514015.

LGTM.
I'm not adding /lgtm because Daneyon might have additional comments.
Let's do another PR for the naming issue if needed.

/lgtm

/lgtm


Handle cases where n1ql doesnt return error details

More work is needed for more informative error reporting,
but this fix will at least report the correct error and return code

+1 on this fix, we are hitting this bug with CE 4.0.0 and N1ql
node_modules\couchbase\lib\bucket.js:654
throw new Error("CB_Guy " + JSON.stringify(val) + "***" + JSON.stringify(errCode));
^
Error: CB_Guy null***23
at C:\GIT\hackathon\BatchWrangler\backend\node_modules\couchbase\lib\bucket.js:654:10

This has been resolved for the release coming on January 5th.

This isnt fixed. Having the error code returned was sort of the point
err = new Error('An unknown error occured. Error code: ' + errCode);
err.errCode = errCode


Median wages by occupation

Description: Median wages by occupation
Do not compare with 2000; switched from average to median
Logic:
Source(s): ACS PUMS
Year(s):

[ ] 2008-201
[ ] 2015-2019

Geographies:

[ ] PUMA
[ ] Borough
[ ] City

Race and ethnicity breakdown: Yes
Denominator: civilian employed population 16-64 with earnings; no percent calculated
SME: DCP Population Division
Questions:
Roadblocks:

@AmandaDoyle Quick question about this indicator. Given our other conversations about having denominators included in the final datasets, would the value for "civilian employed population 16-64 with earnings;" be the number of people fitting that description or the median salary of all the people fitting that description?


Scala SDK proposal-4

Reward Size in USD
1000 USD
Reward category
SDK
Description
Here is the state of the SDK as of now , it's 1.4.15 compliant.
https://github.com/abahmanem/casper-scala-sdk
Here are all the methods to update or to add for compliance with latest 1.5.2
We will be updating the following method to V 1.5.2
"chain_get_state_root_hash",
and adding the following two methods :
"info_get_validator_changes",
"info_get_chainspec",
Tasks :

Implementation
review of unit tests and adaptation
Deployment of a new version of the SDK on the Maven and SBT repositories
Update github documentation

Estimated workload: 8 hours
Hourly rate: 125 US
Acceptance Criteria
1-  Method : "chain_get_state_root_hash"
updated to V 1.5.2 of Casper node
2- Methods :
"info_get_validator_changes",
"info_get_chainspec"
implemented accordining to  V1.5.2 of Casper node
2- Unit tests added and updated to V1.5.2 and running successfully for the above methods
3- Github documentation updated
4- New version of the SDK available on maven and sbt Repos

We are in the process of introducing standardized integration tests across all Casper SDKs. Any changes to the SDKs we support must incorporate these changes.
In general, we are working to upgrade the standard of code structure and documentation across our SDKs. We are building a team to accomplish this goal. Additionally, we are looking to improve the discoverability of the Node API. Therefore, it doesn't make sense to green-light this development until the process for doing so is clear.
Due to the recurring update process and ongoing process definition, SDK Update Proposals will no longer be included in the DevReward Program and are not a part of it. Consequently, SDK update proposals are highly likely to be rejected in the future.
Thank you for your patience.


Add awesome-coronavirus

Thanks for the PR Soroush, love the logo! I have moved the project to the awesome-* section and modified the description a bit; from my understanding 2019-nCoV/SARS-CoV-2 and COVID-19 are two different things, so I wanted the description to reflect that more clearly.

Thanks for the PR Soroush, love the logo! I have moved the project to the awesome-* section and modified the description a bit; from my understanding 2019-nCoV/SARS-CoV-2 and COVID-19 are two different things, so I wanted the description to reflect that more clearly.

@jnv Thanks.


Scrape Prometheus service itself

@fabxc or am I missing something you have in your setup?

I kept it out initially as I wanted to build out a dedicated meta-monitoring story.
However, with the governing prometheus service we originally only use for PetSets, this should unintentionally be solved by default.
I think keeping it within the prometheus-k8s is a sane choice for anyone using the default configuration.


Added Sinhalese locale

Added some translations for Sinhalese (si) locale for portal. which is making it possible for the Sri Lankan community to engage with ghost sites in a more reliable.
in order to improve the translation experience will update once I see it in action!

Excample Ghost site: Technews.lk Technews in Sinhala
looking forward contributors to improve the translation.
Any feedback, improvements are welcome!

@daniellockyer

Sure @daniellockyer would love to test it locally before committing

Ok great! If you've got the Ghost repo cloned locally, you can:

add si to the list of supported locales
run yarn dev --portal
Load http://localhost:2368/ghost/#/settings/general to change your locale to si + save
Go to http://localhost:2368/, click the Portal button and it should show Sinhalese 🙂

Note: it seems Vite doesn't auto-rebuild Portal when you change a locale JSON file, so for now you'll need to save any file in ghost/portal/src in order to trigger that until I find a workaround

yeah as I expected I've encountered some issues when trying to run it on vs code unfortunately, @daniellockyer as for now, the contributed sinhala words are okay for the site because on sites traditionally we uses Sinhala with English words together for contents because of the accessibility. in addition, I will improve the si translation in another pr once this merged and tested

@daniellockyer I faced issues running it on VS Code, but as for now the Sinhala words are fine for the site since we typically use Sinhala mixed with English for accessibility. I'll improve the translation in future PRs once I see it in action and test. in addition, I also improved the current translation state for the portal completely.

Thanks @kasuncfdo! Looking forward to seeing further PRs in the future 😀


What date quickstart docker image for stellar-core v20.1.0 will be released?

What version are you using?

What did you do?

What did you expect to see?
What did you see instead?
As I pulled the current latest stellar/quickstart image, it installed stellar-core:v20.0.2.
What date quickstart docker image for stellar-core v20.1.0 will be released?

Thanks for highlighting this. It got missed being updated. cc @anupsdf

Got a change open now upgrading stellar-core to v20.1.0:

https://github.com/stellar/quickstart/issues/552


Add no index meta tag

The product page won't need to be search engine discoverable for the remainder of the platform's lifecycle so this may cut down slightly on the number of unrelated emails received to the mailbox published on the product site.
We're also slowing down onboarding internally so sharing the product site link directly when necessary will be fine.

Perfect!


Devrel release fixes

@ttscoff  -can you please help me to validate the release_files.json as for tag 0.1 the action did not run/I had created the releases manually.

@ttscoff - can you validate once ,i am unable to merge.


Fast node lookup

This code here adds a fast lookup map for nodes that also contain the source file the node came from.  It reduces the transpile time by a factor of 10x.
For a sample usage that should be integrated into the OZ transpiler, please look at this updated ast-resolver.ts from the transpiler fork.
https://github.com/GeniusVentures/openzeppelin-transpiler/blob/diamond/src/ast-resolver.ts

Thanks. Is this simply a faster version of ASTDereferencer? Can it replace that?
Are you able to explain where the speedup comes from?
How does it compare against this simpler change: https://github.com/OpenZeppelin/solidity-ast/commit/9de415b137111b7afad75e5dacbb0a425abfd025 ?

This is similar to ASTDerefencer, but just pre-caches all the nodes into a map of id -> NodeInfo, which contains the scope (file, class, etc), which is useful for keeping track of dependencies as well.  In the diamond version of the transpiler, it uses this information to gather dependencies for different things like which files or classes are imported.

Prompted by this PR I looked into the topic more and found a simple optimization to the AST Dereferencer in this library that doesn't require traversing the entire AST in preprocessing.
See https://github.com/OpenZeppelin/solidity-ast/commit/835dc06543df0bad9dc24a59a0486f9bab4bbccf.
I released it in the latest version of the library. The Transpiler needs to be updated to use this instead of the custom ASTResolver.
I ran a simple benchmark against the (very large) AST output of the OpenZeppelin Contracts repo.
console.time();
const deref = astDereferencer({ sources });
const node = deref('ContractDefinition', 70032);
console.timeEnd();

console.time();
const info = new NodeInfoResolver({ sources });
const node = info.getNodeInfo(70032).node;
console.timeEnd();

Note that the preprocessing time is included in the benchmark. NodeInfoResolver took about 90ms, the old astDereferencer took 5ms, and the new version took 0.9ms.
As for the other features in this PR, mainly getting the scope of a node, I think there may be room to provide a helper in this library but it is possible to do it by using astDereferencer along with a node's scope property.


Fails to run Monero miner on raspberry pi

(node:5095) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Timed out after 30000 ms while trying to connect to Chrome! The only Chrome revision guaranteed to work is r497674
(node:5095) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
node -v
v8.9.3
uname -a
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
chromium-browser -version
Chromium 60.0.3112.89 Built on Ubuntu 14.04, running on Raspbian 9.1
Code:
`const CoinHive = require('coin-hive');
(async() => {
// Create miner
const miner = await CoinHive('address', {
launch: {
executablePath: '/usr/bin/chromium-browser',
args: ['--disable-setuid-sandbox', '--no-sandbox']
}
});
// Start miner
await miner.start();
// Listen on events
miner.on('found', () => console.log('Found!'))
miner.on('accepted', () => console.log('Accepted!'))
miner.on('update', data => console.log(    Hashes per second: ${data.hashesPerSecond}     Total hashes: ${data.totalHashes}     Accepted hashes: ${data.acceptedHashes}  ));
// Stop miner
setTimeout(async() => await miner.stop(), 60000);
})();`

have you tried this? https://github.com/cazala/coin-hive#troubleshooting

Yes

On Dec 14, 2017, at 1:36 PM, Juan Cazala<EMAIL_ADDRESS>wrote:
have you tried this? https://github.com/cazala/coin-hive#troubleshooting
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm having the same issue. Already tried with https://github.com/cazala/coin-hive#troubleshooting but I think it's a chromium's problem from what I've read here https://github.com/GoogleChrome/puppeteer/issues/550
I also tried installing a lower version of puppeteer and installing an alternative built for headless-chromium but still no success.
Anyhow, if anyone figures out how to fix this please share it.

The way I did it was by downloading the chromium build from this url https://drive.google.com/a/chromium.org/uc?id=0B7RLEApsOKBLZUZuQl9JR3dXS2c&export=download
Then set executablePath to where you extracted it to. For example:
  const miner = await CoinHive('something', {     launch: {       executablePath: '/home/pi/coin-hive/headless-chrome/chrome',        args: ['--disable-setuid-sandbox', '--no-sandbox']     }   });
This has been tested on Pi 3.

@felixgalindo Thanks for that man, it worked! I was about to buy ExaGear to run Chrome instead of Chromium and then I found your hack. Awesome!

No problem. Glad it worked for you too.

On Dec 23, 2017, at 2:37 AM, Antonio Gomez<EMAIL_ADDRESS>wrote:
@felixgalindo Thanks for that man, it worked! I was about to buy ExaGear to run Chrome instead of Chromium and then I found your hack. Awesome!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Flexible vs. fixed units for token values

I am not sure whether this is possible due to Figma’s implementation of these but I am wondering if it is possible to use flexible instead of fixed values for (some) tokens.
For instance, currently I am working on a typographic scale where the line-height is dependant on the font-size. For headings, narrow text, etc. I use a multiplier of 1.2 × font-size and for body text 1.5 × the font-size. Ultimately I use two tokens for line-height; a line-height--tight (1.2 ×) and a line-height--loose (1.5 ×).
What I am essentially doing in order to achieve this, is to enter the font-size in Figma’s line-height field followed by one of these multiplier tokens, like so:

Would it be possible to facilitate this?

Yes, totally possible!
Here's a short video demonstrating how that works.

Add line height tokens (1.1 and 1.4 respectively)
References line height tokens and font size values in typography of text style

Yes, totally possible!
Here's a short video demonstrating how that works.

Add line height tokens (1.1 and 1.4 respectively)
References line height tokens and font size values in typography of text style

Awesome, thanks for the extensive explanation!

Awesome, thanks for the extensive explanation!


MM-15670 Mark as unread

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Build the App failed. See the logs for more information.


Visualization and IO (export to disk) must be separated from the analysis

Currently, the main function does too much: analysis, visualization, and IO (export to disk). We need to do less babysitting and let the user be more in charge. Showing some default graphs is a good idea for the anticipated GUI though.

This is mostly done, except for the Bayesian inference part, which I'll fix soon.


IDENTITY-7177 [XACML][EntitlementAdminService] Inappropriate response code when resource already eixst

Moved from: https://wso2.org/jira/browse/IDENTITY-7177
Steps To Recreate:
Add a policy from admin service, which is already existing(policy id is same as existing one)
https://localhost:9443/services/EntitlementPolicyAdminService.EntitlementPolicyAdminServiceHttpsSoap11Endpoint/ >> addPolicy
Actual Result:
The client(jmeter) getting the response as a failure since it is receiving the response code as 500 (internal server error)
But response message clearly says Policy Id is already exist
Expected Result:
So this is not correct. Response code should be 409(conflict) ideally. Since client side validation would implement according to the response code then this will not give the correct intention of the error

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


SNAP-1656_2 Miscellaneous security related changes

Changes proposed in this pull request

Set isRestricted flag of procedures START_SNAPSHOT_TXID and ROLLBACK_SNAPSHOT_TXID to false.

Patch testing
precheckin in-progress
ReleaseNotes changes
NA
Other PRs
https://github.com/SnappyDataInc/snappydata/pull/763

LGTM. As discussed, if you think there is an alternative and you are going to revert this back in future, kindly open a ticket for tracking.

Tickets:
https://jira.snappydata.io/browse/SNAP-1857
https://jira.snappydata.io/browse/SNAP-1862

LGTM


Added template for online web form using MongoDB #11

#11
This PR adds the template for an online web form that has the backend setup done as well. It uses MongoDB for storing form entries.

Kindly let me know if any corrections are needed. Thank you for giving me a chance!

Thanks for the PR 😄


Add Stream support for maps.

Codecov Report

Merging #18 into master will decrease coverage by 0.42%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #18      +/-   ##
============================================
- Coverage       100%   99.57%   -0.43%
- Complexity      416      418       +2
============================================
  Files            19       20       +1
  Lines          1385     1405      +20
  Branches         58       59       +1
============================================
+ Hits           1385     1399      +14
- Misses            0        6       +6

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/swaydb/java/StreamImpl.java
100% <100%> (ø)
5 <5> (?)

...in/java/swaydb/java/eventually/persistent/Map.java
99.09% <100%> (-0.91%)
67 <1> (-1)

src/main/java/swaydb/java/persistent/Map.java
99.09% <100%> (-0.91%)
67 <1> (-1)

src/main/java/swaydb/java/memory/Map.java
98.94% <100%> (-1.06%)
67 <1> (-1)

Continue to review full report at Codecov.

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


Match API parity with 0.19.0-alpha.16

This PR is to match parity up to 0.19.0-alpha.16: https://github.com/LemmyNet/lemmy-js-client/compare/0.19.0-rc.14...0.19.0-alpha.16. This will remain a draft until changes are made on Thunder to allow for the changes in the responses.
A few notes:

There are quite a few API changes whose responses have changed. The solution to this was described in this discussion
A few attributes related to post_score and comment_score has been removed, which is an issue since Thunder has the option to show those scores.

Is score essentially just upvotes - downvotes? If so, could we maintain that behavior via an extension? Or maybe if Lemmy is moving away from displaying that, we should too.

Ahh, I should clarify: post_score and comment_score are on PersonAggregates. This means that "karma" is essentially being removed from the API.
From what I can see in this discussion, it seems like the best approach here moving forward is to not display these scores at all within Thunder starting in 0.19.x.

Sounds good. It was already optional and off by default in Thunder, so hopefully not too many people will miss it. 😊

I'll merge this in now and create a PR for Thunder with the required changes!


Help messages are different from documentation

The latest version prints different help messages from those shown in the document
$ ./klein --help
Usage of ./klein:
  -key string
    	upload API Key
  -length int
    	code length (default 3)
  -listenAddr string
    	listen address (default "<IP_ADDRESS>:5556")
  -path string
    	path to urls (default "/srv/www/urls/")
  -root string
    	root redirect
  -template string
    	path to error template
  -url string
    	path to public facing url (default "http://<IP_ADDRESS>:5556/")

In addition, the following option does not seem to work:
./klein --auth key --auth.key foo
flag provided but not defined: -auth

Oh, sorry about that. I need to release the latest git version as a binary. For the version you've got this should work:
./klein -key foo

Also, curious to know how you found out about klein 😃

Hey @pdharma, the latest build is now up on the releases page: https://github.com/kamaln7/klein/releases


Generalization for higher-dimensional data

Dear normflows,
I'm having a hard time understanding something, and if you have a moment to help that would be amazing. I was looking over the real_nvp_colab example, and I wanted to make a few changes. First, I would like to use more than 2 inputs (with a different data set), and I can't quite figure out the changes necessary to make that work. My data set, labeled 'x' in the training section of the notebook, has e.g. torch.Size([6544, 3]), for ndim=3, then I change
nf.flows.Permute(2, mode='swap') to nf.flows.Permute(3, mode='swap') nf.distributions.base.DiagGaussian(2) to nf.distributions.base.DiagGaussian(3)
but then I can't quite figure out how to change
nf.nets.MLP([1, 64, 64, 2], init_zeros=True)
for the ndim=3 case. Or, is a more dramatic change to the code required for ndim=3? I get a lot of pytorch/normflows errors associated with the matrix sizes.
Thank you,
Andrew

Hi @awsteiner,
This is the neural net computing the parameters of a coupling flow layer. It takes in half the dimensions and returns two parameters per dimension for the other half. Since you have an odd number of dimensions, this is indeed a little bit tricky and you have to look at the code to understand what's going on.
The splitting is done here, using torch.chunk, where the first return value will have 2 dimensions and the other 1 in your case. The parameters are computed from the first half of the dimensions, so the parameter network should expect input dimension 2. There will be only one dimension to compute parameters for, so we need output dimension 1 * 2 = 2. So the parameter network has to be nf.nets.MLP([2, 64, 64, 2], init_zeros=True).
Best regards,
Vincent


Morphia does not recognize my @ID annotated field

I have a simple POSO GroupACLTemplate which I want to persist. It is subclassed from an abstract class. I have annotated it with @Entity and also have an @Id
@Entity("aclTemplate")
@SerialVersionUID(1L)
class GroupACLTemplate(@(Id@field) id: String, groupRoleAccess: Set[GroupRoleAccess]) extends AclTemplate(id) with Serializable

When I deploy my war, I am not seeing any collection of GroupACLTemplate. I also tried this
class GroupACLTemplate(@Id id: String, groupRoleAccess: Set[GroupRoleAccess]) extends AclTemplate(id) with Serializable

I added a test case and tried saving an object like this
@Inject
var aclTemplateRepository: AclTemplateRepository = _
aclTemplateRepository.save(aclTemplate.head)

The error says
NoId complained about com.java.sample.acl.GroupACLTemplate. : No field is annotated with @Id; but it is required

Am I missing something here?

Source


BK-197: Image mask

Adds code to generate masks for panorama images based on the heading of the car. These masks are to be used to obscure the view from the front and back of the car, so only the the right and left side of the image is preserved.

This should have tests :stuck_out_tongue_winking_eye: but I want to package this repo and extract this functionality to the data pipeline (and have the tests live there). It seems a bit much to add a bunch of testing functionality to this repo, just for a piece of code that will be moved later.


Fixing pack and bfp instructions unit tests.

Fixing #1464 issue.

Rejecting since it leaves ooo_window corrupted (0.91 encoding is tested with 0.92 tests).
Instead, either the whole master branch or no branch must be merged.


fondo: 1.5.0 -> 1.5.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for fondo is: "Find the most beautiful wallpapers for your desktop"
meta.homepage for fondo is: "https://github.com/calo001/fondo"
meta.changelog for fondo is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.5.1 with grep in /nix/store/gkqkcv9qvrg6gx30930rc62ccbldz3ds-fondo-1.5.1

directory tree listing: https://gist.github.com/d3a539688d1f2ba6824dc2148257a92a

du listing: https://gist.github.com/2f4c7f6233962b9c99be7d5b62882c40

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

575 total rebuild path(s)

192 package rebuild(s)

192 x86_64-linux rebuild(s)
169 i686-linux rebuild(s)
69 x86_64-darwin rebuild(s)
145 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
appcsxcad
aspellDicts.en
aspellDicts.en-computers
aspellDicts.en-science
catt
celluloid
cgal_5
compactor
csxcad
cura
curseradio
dehydrated
ding
drone
eksctl
element-desktop
flyctl
fondo
gns3-gui
gns3-server
goldendict
gpsbabel
gpsbabel-gui
haskellPackages.cut-the-crap
jellyfin-mpv-shim
jftui
jruby
jucipp
just
kodi-cli
krusader
libsForQt5.qcsxcad
libsForQt512.qcsxcad
libsForQt514.qcsxcad
libsForQt515.qcsxcad
linuxPackages_zen.acpi_call
linuxPackages_zen.akvcam
linuxPackages_zen.amdgpu-pro
linuxPackages_zen.anbox
linuxPackages_zen.asus-wmi-sensors
linuxPackages_zen.batman_adv
linuxPackages_zen.bbswitch
linuxPackages_zen.bcc
linuxPackages_zen.bpftrace
linuxPackages_zen.broadcom_sta
linuxPackages_zen.can-isotp
linuxPackages_zen.chipsec
linuxPackages_zen.cpupower
linuxPackages_zen.cryptodev
linuxPackages_zen.ddcci-driver

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gkqkcv9qvrg6gx30930rc62ccbldz3ds-fondo-1.5.1 \
  --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 fondo https://github.com/r-ryantm/nixpkgs/archive/9405148798805b3fe7149f202c86c95a83bc5d7d.tar.gz

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

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @worldofpeace for testing.

Result of nixpkgs-review pr 106799 run on x86_64-linux 1

1 package built:

fondo

I'm getting issues trying to copy the images from the application.

Closing because this requires a manual update and is targeted against staging.

Closing because this requires a manual update and is targeted against staging.


Are there plans to add settings to open screen sizes?

Environment

Description
Are there plans to add settings to open screen sizes?

Sorry, but I didn't understand what you mean with "open screen sizes"! Which setting do you want and for what?

Sorry, but I didn't understand what you mean with "open screen sizes"! Which setting do you want and for what?

Thank you for your answer. I mean, after the webview is opened, it defaults to full screen. Can you provide parameters to display in a certain part of the screen


Provide custom AWS Credentials for storage category

Is your feature request related to a problem? Please describe.
I would like to upload file to bucket but I can't figure out how to set up Amplify configure by accessKeyId/secretKey with sessionToken which i get from my server:
let tempCredentials = AWSCredentialIdentity(
  accessKey: "accessKeyId",
  secret: "secretKey",
  expiration: nil,
  sessionToken: "sessionToken"
)

Hi @oleg-moseyko, thank you for using Amplify! Amplify Storage library manages the tokens retrieved from Cognito to interact with S3 buckets.
You could follow our official documentation to Set up Storage. And if you haven't done yet, you could follow the guide in Quick Start to create Amplify Backend with Authentication.
Let me know if you have any other questions! 😁

Hi @edisooon
thank you for sending me the links that I have read many times before
And could you answer the specific question that I asked?

@edisooon, @harsh62
.. my current state is like on harsh62-avatar.
so in 21 century basic developer with basic size mobile application and basic backend to implement basic upload to S3 should:

inject Amplify dependency
investigate kilometers of the documentation
implement very complex (and in whole unneeded for basic developer) complete flow for authentication (AWS resources, IAM roles, user database on AWS, login/signup pages, lambda functions, tons other things)
make it work through dozens hours,
use Amplify.Storage API
.. maybe i forgot something

is this way suggested as the best and simplest?
thanks!

Hi @harsh62
finally i got something like a normal answer from support
thanks
i will investigate


pdf.js does not support rendering some PDFs

It looks like pdf.js does not render properly the following file:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=test5.pdf;att=1;bug=687379
The image should render as:
https://issues.apache.org/bugzilla/attachment.cgi?id=29364
thanks !

Closing as fixed by PR #8168.


chore(deps): replace dependency eslint-plugin-node with eslint-plugin-n 14.0.0

This PR contains the following updates:

Package
Type
Update
Change

eslint-plugin-node
devDependencies
replacement
11.1.0 -> 14.0.0

This is a special PR that replaces eslint-plugin-node with the community suggested minimal stable replacement version.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

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

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: pnpm-lock.yaml
/opt/containerbase/tools/pnpm/3.4.1/20.12.2/node_modules/pnpm/lib/node_modules/graceful-fs/polyfills.js:285
        if (cb) cb.apply(this, arguments)
                   ^

TypeError: cb.apply is not a function
    at /opt/containerbase/tools/pnpm/3.4.1/20.12.2/node_modules/pnpm/lib/node_modules/graceful-fs/polyfills.js:285:20
    at /opt/containerbase/tools/pnpm/3.4.1/20.12.2/node_modules/pnpm/lib/node_modules/graceful-fs/polyfills.js:285:20
    at FSReqCallback.oncomplete (node:fs:205:5)

Node.js v20.12.2

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: pnpm-lock.yaml
/opt/containerbase/tools/pnpm/3.4.1/20.13.1/node_modules/pnpm/lib/node_modules/graceful-fs/polyfills.js:285
        if (cb) cb.apply(this, arguments)
                   ^

TypeError: cb.apply is not a function
    at /opt/containerbase/tools/pnpm/3.4.1/20.13.1/node_modules/pnpm/lib/node_modules/graceful-fs/polyfills.js:285:20
    at /opt/containerbase/tools/pnpm/3.4.1/20.13.1/node_modules/pnpm/lib/node_modules/graceful-fs/polyfills.js:285:20
    at FSReqCallback.oncomplete (node:fs:198:5)

Node.js v20.13.1


Update powershell to 6.0.0-alpha.17

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Closed in favour of https://github.com/caskroom/homebrew-cask/pull/30861.


Partially Failed Provision

Describe the issue
Second Attempt: Template lookbook-schools-staff homepage
Screenshots

Details (please complete the following information):
Your request to provision"Staff home page" template failed!Please report the issue here providing the following provisioning action correlation ID: df7b6846-ab8e-49ef-ac26-f751fdf94af9 !
Template lookbook: Schools-Staff homepage
https://lookbook.microsoft.com/details/eb5d4741-e2f4-44f1-954b-e7d598585c63
Additional context
This is the second post. I recieved this message, and so I tried it again. It failed again though! : Thanks for using the Look Book site. This seems to be a random hiccup on the SharePoint side which would imply that the template should work properly if you try it one more time. Seems that the provisioning did succeed partially. Can you test this one more time and, in case of any failure, share the updated Correlation ID (by creating a new issue) for us to double-check the flow. Thanks.

Hi,
Thanks for trying again. In the log, we see the following exception: "Access denied. You do not have permission to perform this action or access this resource" while uploading a sample file (Updated Classroom Policies and Procedures.pptx) into a library. Could it be that you were already using/browsing the site before the end of the provisioning and, as such, the file was accidentally locked? Or could it be that you targeted the same site as before (the first try), and that file is somehow locked/checked-out? Please, let me know. I'll keep this item open in the meantime. Thanks.

I'm having the same issue. In my case, I created a site, then realized you can't apply this theme to an existing site. So, I deleted the site (also permanently deleted the site) I created and tried to provision the Schools template using the same name and URL and go this same error message as above. I tried this twice - same result both times. I did not browse the new site URL during provisioning.

Third time's a charm! My site was successfully provisioned.

Unfortunately, it can be because of temporary hiccups in the APIs on the server side. Thanks for the update.


fix(registries): handle loading state for 2 queries separately in PanelHistogramInner

Description

Fixes https://wandb.atlassian.net/browse/WB-21178
Fixes #NNNN

Bug:
Users run into issues while expanding the version table columns on their registries pages where the page crashes due to improper handling of null values in this component.
Root Cause:
Turns out this was happening due to the Versions table since the table passes null values to the Panel renderers for versions that don't have the key we're looking for. (Metadata keys are added based on the metadata of the latest version). This PR adds some null-value handling to PanelStringHistogram. This is specifically triggered when we log an artifact metadata key with a value = list[string]
Testing
Repro:

Log an artifact version with no string-list in metadata dict
Log another version to the same artifact, this time with a metadata key which has a list of strings as its value
This generates a versions table with 2 versions, such that the second version has metadata with a list of strings. Since the 2nd version has that key, the column is added to the table and we try to fetch its data for all versions. For version1, however, the value of that metadata key is null. So when PanelStringHistogram tries to render it, it crashes since it can't handle null values

Here's an example of such an artifact collection, where its latest version has a metadata key with a list of strings, such that the panel crashes for the other versions.
https://wandb.ai/registry/model?selectionPath=dev-team-ibindlish-org%2Fwandb-registry-model%2Ftest-link-1&view=versions

/cherry-pick server-release-0.60-x

Cherry pick: https://github.com/wandb/core/pull/24417


"Encryption not available on this event-machine"

After setting up a twitter oauth agent, the huginn process terminated and now won't start.
It gives the error:
~/huginn$ foreman start
18:53:01 web.1  | started with pid 23945
18:53:01 jobs.1  | started with pid 23947
18:54:45 web.1  | [2014-06-20 18:54:45] INFO  WEBrick 1.3.1
18:54:45 web.1  | [2014-06-20 18:54:45] INFO  ruby 1.9.3 (2013-11-22) [x86_64-linux]
18:54:45 web.1  | [2014-06-20 18:54:45] INFO  WEBrick::HTTPServer#start: pid=23950 port=3000
18:54:47 jobs.1 | Found 1 agent(s).  Loading them now...
18:54:47 jobs.1 | terminate called after throwing an instance of 'std::runtime_error'
18:54:47 jobs.1 | what():  Encryption not available on this event-machine
18:54:48 jobs.1 | Aborted (core dumped)
18:54:48 jobs.1 | exited with code 134
18:54:48 system | sending SIGTERM to all processes
18:54:48 web.1  | terminated by SIGTERM
I've had a google but this isn't obvious to me, has anyone had a similar issue?

I'm having the same problem. But getting the following error:
$ bundle exec foreman start
Could not find http-0.6.4 in any of the sources
Run bundle install to install missing gems.

What happens when you run bundle install?

Thanks for replying @cantino
$ sudo apt-get install libssl-dev
Solved the problem. I also needed to reinstall the gems

Glad to hear it's working!

+1. Installing libssl-dev and reinstalling/rebuilding eventmachine gem worked perfectly to resolve same issue using TweetStream gem. Thanks @cantino @craigmayhew

i am a windows user..what have to be done to get fix this issue?

We recommend using VirtualBox with Linux if you're on Windows.

thank youu!! it works
sudo gem install eventmachine


Building image for CentOS fails on Step 13/22 with "Error getting repository data for rhel-fast-datapath-beta, repository not found"

I've just tried to build the images by using the source code as well as the documentation provided. My runtime environment is a CentOS7 (7.7.1908) VM.
I've tried building the branches master and release-4.7 with this command:
make build VERSION=2
In both cases it (execution of a Dockerbuild) fails on step 13/22 with:
Error getting repository data for rhel-fast-datapath-beta, repository not found
The command '/bin/sh -c curl http://mirror.centos.org/centos-7/7/os/x86_64/RPM-GPG-KEY-CentOS-7 -o /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 &&     INSTALL_PKGS="dejavu-sans-fonts rsync gettext git tar zip unzip openssl bzip2 java-11-openjdk java-11-openjdk-devel java-1.8.0-openjdk java-1.8.0-openjdk-devel jq" &&     DISABLES="--disablerepo=rhel-server-extras --disablerepo=rhel-server --disablerepo=rhel-fast-datapath --disablerepo=rhel-fast-datapath-beta --disablerepo=rhel-server-optional --disablerepo=rhel-server-ose --disablerepo=rhel-server-rhscl" &&     yum $DISABLES -y --setopt=tsflags=nodocs --disableplugin=subscription-manager install epel-release &&     yum $DISABLES -y --setopt=tsflags=nodocs --disableplugin=subscription-manager install $INSTALL_PKGS &&     rpm -V  $INSTALL_PKGS &&     yum clean all  &&     localedef -f UTF-8 -i en_US en_US.UTF-8' returned a non-zero code: 1
make: *** [build] Error 1

Any ideas? The repo rhel-fast-datapath-beta is excluded by --disablerepo... strange...

We see this sometimes. The workaround is to remove the exclusion of the repo.


Add generate features documentation

Can we include an example snippet of the plugin configuration for LGP pointing to the snapshot release too?

I think this is it in this section: https://github.com/turkeylurkey/ci.gradle/blob/gen-1337/docs/generateFeatures.md#tech-preview-limitations

@yeekangc "an example snippet of the plugin configuration for LGP" Did you see the sample build.gradle snippet near the end?

@yeekangc based on https://github.com/OpenLiberty/ci.maven/pull/1343#pullrequestreview-835576972, you mean something users can copy into their build.gradle to get this snapshot release


[Prophet]Leverage predictive analytics to trigger alerts

Is your feature request related to a problem? Please describe.
Would love the ability to trigger alerts if new data falls outside of the confidence intervals. Would also like to display confidence intervals without enabling the forecast.

Describe the solution you'd like
this probably requires input from the superset team but possibly setting up alerts from within the predictive analytics tab by selecting a button.
cc: @villebro @junlincc @bkyryliuk

is this prophet? did you get it to work in docker?

Heyhey, thanks for the request, this new feature is gonna be epic! I'm not sure how many people are using prophet in the community, let's kickoff a discussion and see how wider audience think. (We will post it in next weekly announcement) @villebro and I are very supportive on this!

Closing this as stale, since it hasn't gotten any attenti0on in over a year. That said, it's certainly a fantastic feature request idea. If you're still hoping for this, I'd echo the suggestion to start an Ideas thread in Github Discussions, and see if it gets any traction/volunteers.
CC @villebro just for fun since he added the Prophet feature and would probably love to know people are using it and hope to expand on it :)


Update Builder.php

Allow using callbacks as a data value.

Sorry for the short description, but I was sure that I make full described PR with a use case and it disappeared or simply I forgot to click "Save"..

Generally this code is tested, with callback and string as well. We need
semicolon to separate (js allow to ommit but I don't like do it) next
variable. I would to improve this code with handling types - now, int is
converting to string.
śr., 20 maj 2020, 04:04 użytkownik Arjay Angeles<EMAIL_ADDRESS>napisał:

@yajra requested changes on this pull request.
In src/Html/Builder.php
https://github.com/yajra/laravel-datatables-html/pull/127#discussion_r427700224
:

@@ -260,7 +260,8 @@ protected function makeDataScript(array $data)
{
$script = '';
foreach ($data as $key => $value) {

       $script .= PHP_EOL . "data.{$key} = '{$value}';";

       $dataValue = $this->isCallbackFunction($value, $key) ? $value : "'{$value}'";

Maybe the semi-colon should be placed here? "'{$value}';"
In src/Html/Builder.php
https://github.com/yajra/laravel-datatables-html/pull/127#discussion_r427700335
:

@@ -260,7 +260,8 @@ protected function makeDataScript(array $data)
{
$script = '';
foreach ($data as $key => $value) {

       $script .= PHP_EOL . "data.{$key} = '{$value}';";

       $dataValue = $this->isCallbackFunction($value, $key) ? $value : "'{$value}'";

       $script .= PHP_EOL . "data.{$key} = {$dataValue};";
   }

And remove the semi-colon here. "data.{$key} = {$dataValue}";
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yajra/laravel-datatables-html/pull/127#pullrequestreview-414942684,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEB5GJH2CO7S4HC5WJCTT4TRSM3EHANCNFSM4NFNXB2Q
.

Sorry for overlooking this PR. Released on v4.30.2. Thanks!


Shell integration test timeout

  1) vscode API - Terminal.shellIntegration
       execution events should fire in order when a command runs:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/1/s/extensions/vscode-api-tests/out/singlefolder-tests/terminal.shellIntegration.test.js)
      at listOnTimeout (node:internal/timers:569:17)
      at processTimers (node:internal/timers:512:7)

  2) vscode API - Terminal.shellIntegration
       end execution event should report zero exit code for successful commands:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/1/s/extensions/vscode-api-tests/out/singlefolder-tests/terminal.shellIntegration.test.js)
      at listOnTimeout (node:internal/timers:569:17)
      at processTimers (node:internal/timers:512:7)

  3) vscode API - Terminal.shellIntegration
       end execution event should report non-zero exit code for failed commands:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/1/s/extensions/vscode-api-tests/out/singlefolder-tests/terminal.shellIntegration.test.js)
      at listOnTimeout (node:internal/timers:569:17)
      at processTimers (node:internal/timers:512:7)

  4) vscode API - Terminal.shellIntegration

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=271298&view=logs&j=a5d99aad-4929-5289-bf4a-26b78032353d&t=888b7555-7209-5029-feda-3525ceaad869

/duplicate https://github.com/microsoft/vscode/pull/211808


Add  function Patch to HttpClient

Rest APIs use http method "patch" to update resources.
For example the Graph API: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/message_update
The httpClient seems to support only get, post, put and delete.
Please add the missing http method(s).
Is there a workaround to make "patch" working with current implementation of HttpClient?
thanks &
regards
Tobias

None as far as I know.

Have you tried the following?
procedure Test()
    var
     client : HttpClient;
     request : HttpRequestMessage;
     response : HttpResponseMessage;
    begin
        request.Method('Patch');
        client.Send(request, response);
    end;

I get an error message:
Invalid value for parameter httpMethod: patch
    if httpMethod = 'patch' then begin
        httpReqMsg.Method('patch');
        httpReqMsg.Content.WriteFrom(content);
        httpReqMsg.GetHeaders(httpHeaders);
        httpHeaders.Remove('Content-Type');
        httpHeaders.Add('Content-Type', 'application/json');
        _HttpClient.SetBaseAddress(url);
        _HttpClient.Send(httpReqMsg, httpRspMsg);
    end;

I get a 400 - Bad Request
{
"error": {
"code": "BadRequest",
"message": "Request type is not supported.",
"innerError": {
"request-id": "7268c0c6-cee7-49bd-8ba9-ec821aa318e3",
"date": "2018-07-14T06:37:21"
}
}
}
From Postman it works.
My code is:
httpContent.WriteFrom(content);
httpContent.GetHeaders(httpHeaders);
httpHeaders.Remove('Content-Type');
httpHeaders.Add('Content-Type', 'application/json');
httpReqMsg.Content(httpContent);
httpReqMsg.Method('patch');
httpClient.DefaultRequestHeaders().Add('Authorization', StrSubstNo('%1 %2', 'Bearer', accessToken));
httpClient.SetBaseAddress(url);
httpClient.Send(httpReqMsg, httpRspMsg);
Another problem is that I can't change BaseAddress after the first Send() call.
So I have to use a new httpClient for every call.
My experience is that using a new httpClient for every call consumes a lot of resources, if making a lot of calls.

Can you foresee, when it'll be  available in NAV 2018?
We need it for a project with a golive date in 2018.
It would be really annoying, if we have to implement the patch calls in C/AL and every other calls in AL.
thanks &
regards
Tobias

Stanislaw's code snippet works, if you change
request.Method('Patch');
to
request.Method('PATCH');
(uppercase PATCH).

Thanks @finstx. I updated my sample with this fix

I am going to close this issue as PATCH is supported, but as HttpClient.Send(). You can find more about HttpClient in the Docs e.g., https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-httpclient#supported-http-methods
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/httpclient/httpclient-send-method
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/httpclient/httpclient-send-method#example-http-patch


fix: Hacky fix of null args list marshaling issue

@clockworkgr
Can you run yarn prettier to fix the linter?
Otherwise I guess we can merge this out

Can do but driving rn


[Joox] Add new extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
A new extractor for www.joox.com

I have added the changed accordingly.

Re-read my comments, re-read coding conventions and fix all remaining issues.


ripgrep: PCRE2 is not available in this build of ripgrep

Describe the bug
PCRE2 is not available in ripgrep that is installed with nix-env -i ripgrep. This wasn't always the case, i.e. some time ago (not sure how long though, maybe a month) it was available.
To Reproduce

nix-env -i repgrep
rg --pcre2 foobar

Expected behavior
Search using a PCRE2 regex should happen.
Additional context
I see that the expression has an option for PCRE2 and it is enabled by default:
https://github.com/NixOS/nixpkgs/blob/2c33e5da9eb9feb82e2b77000e8488fdb8032fbc/pkgs/tools/text/ripgrep/default.nix#L7
Notify maintainers
@tailhook @globin @Ma27 @zowoq
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.3.0-61-generic, Ubuntu, 18.04.4 LTS (Bionic Beaver)`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.6`
 - channels(sergey): `"nixpkgs-20.09pre232692.7db146538e4"`
 - nixpkgs: `/home/sergey/.nix-defexpr/channels/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Should be fixed by https://github.com/NixOS/nixpkgs/pull/91689

@zowoq I've noticed that the PR that you referenced was merged 9 days ago. However, the current version of ripgrep still does not have PCRE2. Do you know what are the steps that we need to take to make sure that nix-env -i ripgrep yields a PCRE2-enabled version?

@zowoq ping

This was correctly fixed in #93128 and it's available in nixpkgs-unstable.
Updating the nixpkgs channel and nix-env --upgrade --always ripgrep should get the fixed version.

Thanks for the instructions, works!


Suggestion

Hello! This architecture looks strange. The search service should be between Cosmos Db and the web portal. Tks

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

ID: ddae0f8b-245b-751d-8960-dfd0d1f62997
Version Independent ID: c2e88fc0-e750-9eae-b309-bc08c61ae3cf
Content: Retail and e-commerce using Cosmos DB - Azure Solution Ideas
Content Source: docs/solution-ideas/articles/retail-and-e-commerce-using-cosmos-db.md
Service: architecture-center
Sub-service: solution-idea
GitHub Login: @adamboeglin
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#207248

This is on our backlog for improvement. Thanks for reporting. We'll close here for now and will hopefully get it updated soon!


[stable/atlantis] for bitbucket server credentials: baseURL name consistency

Signed-off-by: Ryan Blankemeier<EMAIL_ADDRESS>
What this PR does / why we need it:
for deploying with bitbucket server, if you supply baseUrl, you get the token generated, but if you supply baseURL you get the webhook secret generated due to inconsistency in naming. I switched them all to be baseURL
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @anubhavmishra

/ok-to-test
/lgtm


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-source-version-target/pull/228 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-source-version-target.git

Docs Build status updates of commit bf31009:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

versioningArchiveSourceFolder/TOC.yml
:white_check_mark:Succeeded
View (sql-server-2014 || azuresqldb-current || azuresqldb-mi-current || azure-sqldw-latest || >= aps-pdw-2016 || >= sql-server-2016 || >= sql-server-linux-2017 || sql-server-previousversions || sqlallproducts-allversions)

versioningArchiveSourceFolder/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Lambda BatchInvoke on local environment

When calling BatchInvoke on a Lambda function in app sync the payload and response changes so that now app sync expects an array of values for both. This is fine, except when writing code and testing locally BatchInvoke does not work. Calling the Lambda function locally with Amplify will always treat the function call as a regular "Invoke" and so its difficult to test. It's annoying to have two different responses, one for local and one for the real appsync environment.
Am I missing something here? Whats the best way to BatchInvoke a Lambda function and have it consistent across local and once deployed?

Are you trying to call AppSync API from mock Lambda function?

Not exactly. Whenever I run amplify mock and I'm testing my code locally BatchInvoke will still call the Lambda function once for reference instead of batching them together. For example say I had this graphQL structure
listUsers {      name      email      posts {         title         description      } }
If the response returns 2 users then BatchInvoke will ensure that the posts field lambda function gets called only once. Thereby preventing the N+1 issue.
However when doing this locally the lambda function still gets called twice, making it hard to test and debug


Date and time sorting

Greetings,
We're looking to use this component in our websites as we are in the process of replacing all legacy jQuery components. It has thus far everything we need and applying our datatable style to this one was a pretty smooth process.
However it appears the sorting of dates is hardcoded and does not support other formats such as the french DD/MM/YYYY format out of the box. While this can be easily fixed by swapping the parts in the isDate util function, it will not work in a scenario where we have to support multiple styles in the same app.
Do you have any plans regarding the sorting of date and datetime elements? Perhaps momentjs support?

The current date matching is experimental and there were plans to extend it to include cuser defined regex for sorting the columns. However, I think Moment.js support would probably be a better option and less prone to error.
It shouldn't take long to implement so keep your ear to the ground for the next update.


email: Migrate to new Python ≥ 3.3 email API

Cc @mateuszmandera
Testing Plan: Enabled email gateway at https://andersk.zulipdev.org.

I posted a few quick comments, but assuming @mateuszmandera will do the main review.

(I merged the first commit as d49e880c09faba22024206b81ae4ef58b5017449)

Merged, thanks @andersk!


南向配置

File: [/zh_CN/getting-started/quick_start.md](https://neugates.io/docs/zh/latest/getting-started/quick_start.html
按照教程操作，plugin无数据

Open source versions require manual addition of a plugin, please refer to Plugin-management.
The deb version is recommended for commercial versions.