ML 1.2 : PDFs and CDFs (V) #602

Description 📜
I have added a video contribution on PDFs and CDFs.
Fixes #602

Type of change 📝

[x] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)

Domain of Contribution 📊

[x] Machine Learning

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Good one @riyasai22. PR Approved!


⚠ gorzdrav.org has degraded performance

In 309c48b, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 6570 ms

Resolved: gorzdrav.org performance has improved in f11744f after 5 minutes.


cri-tools: 1.14.0 -> 1.15.0

Motivation for this change

Bump cri-tools to the latest release
Fix go build process to include critest as well.
Fix GitHub repo location to be kubernetes-sigs
Add me as maintainer

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build cri-tools

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/53


Make the new adaptive pool more container and numa friendly

There are 2 missing features on the new adaptive pool:

NUMA friendliness: the hashing of thread's id and the policy/strategy to pick a specific magazine in the allocation path are not customizable: making it extendable could help (by using FFM + cpu ID) to first pick/prefer chunk(s) which memory has been allocated from a specific numa node. The same applies while releasing back to the central queue of chunks: having a SPI for a more generic "centralStore" would allow users to save them in a CHM<NodeID,Queue> which use the node ID of the Chunk to categorize the available chunks (and that means that Chunk(s) should have some attachment field as well - populated in the allocation path)
Soft Limits: The adaptive pool could allow to set a watermark for the "expected used memory while idle" and an idle timer. Based on these info, it could try to release Chunk(s) draining them from the central queue and (maybe) from eacg Magazine::nextInLine (which is already using a getAndSet - expecting some sharing) till getting near the expected watermark value. I won't push it that far as shrinking magazines and freeing them, although it should be "the right thing"(TM)

This last part should allow auto trimming (on malloc), which can be enabled on Hotspot, to reduce the RSS (resident set size) of applications (@nitsanw too to share some opinions on this)

@chrisvest and @normanmaurer feedbacks too on this
Implementing this on the "old" allocator was nuts - here I believe could be easyish

@lsc1943 @linking12 @He-Pin feedbacks are well come too (especially on the latter point for containers) - and if you already have some memory-footprint related observations on the new adaptive pool in the current form (compared to the old one) - are welcome as well

@franz1981  ok, We will pay special attention to memory-footprint

Sorry for late, I this the shrinking of the Chunks and when they are idle for a while is a great feature,  which can let the JVM returns memory to OS and reduce the RSS, but this feature should be turn off by default, where some systems may want to keep systems more warmed.
Another input about this is , what about schedule the shrinking or clean up with the wall clock time/cron expression support, many systems' traffic related to humans' activities, but maybe that can be implemented by users with allocator.discardChunks, we may always keep 1 more free Chunk per core for efficiency.


Add support for detection delay

Initial implementation for https://github.com/elementary-data/elementary/issues/911
Since I'm not fully familiar with the elementary project as a developer, I'm expecting a lot of feedback and wanted to get this out before I spend too much time on the implementation.
One thing is that I added detection_delay_hours as a parameter as it didn't seem likely the delay would need specifying different time intervals.
I also implemented it as a shift in both the start and end time in the buckets. This matches my particular use-case but wanted to see if there are drawbacks compared to only changing the end time.
Also having issue getting tests to run successfully locally. Not sure why that is, but I'll keep trying to get them to succeed.
I'm sure I'm missing a bunch of things, like adding documentation, but that can be tackled as a follow-up.

@elongl I made the changes to match your request

now it seems that all the tests in test_freshness_anomalies other than the delay one fail...
this is the exception they are getting:
detection_delay.count has to be larger than 0, got: 0

i think you can fix it by doing the following:
detection_delay=dict(...) if config.detection_delay_hours else None

you can try running the tests yourself (guild here) if you would like :)

@ofek1weiss I can't seem to run the tests locally for some reason. Sorry about the churn. I've changed the config to allow 0 delay

@francoisforster seems like the test TestFreshnessAnomalies::test_stop_with_delay[hourly] fails for spark db,
do you have an idea as to why should it be the case?

Hmm, I don't know. Main branch tests fail locally for me against BQ and Postgres and I can't really test against spark db.

Nothing in my PR is datastore specific. All the logic is done in python

@francoisforster thats really bizarre.
If you can, id appreciate it if you try to run the tests on spark using this guild to create a local spark instance (basically git clone and docker compose up -d) 🙏 .
I will look into it as well, but it might take some time

Hi @francoisforster, still looking into it.
in the meantime, can you resolve the conflicts with master (there are currently conflicts)? there are some changes there to the tests that might help us get to the bottom of the issue faster

I rebased.
Running the freshness tests for me from master branch (pytest tests/test_freshness_anomalies.py):
===================================================================================================== short test summary info ======================================================================================================
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_anomalyless_table[hourly] - AssertionError: assert 'fail' == 'pass'
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_faster_rate[hourly] - AssertionError: assert 'fail' == 'pass'
============================================================================================= 2 failed, 14 passed in 321.84s (0:05:21) =============================================================================================

from my branch against Postgres:
===================================================================================================== short test summary info ======================================================================================================
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_anomalyless_table[hourly] - AssertionError: assert 'fail' == 'pass'
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_stop_with_delay[hourly] - AssertionError: assert 'fail' == 'pass'
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_faster_rate[hourly] - AssertionError: assert 'fail' == 'pass'
============================================================================================= 3 failed, 17 passed in 399.03s (0:06:39) =============================================================================================

against BigQuery
===================================================================================================== short test summary info ======================================================================================================
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_anomalyless_table[hourly] - AssertionError: assert 'error' == 'pass'
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_stop_with_delay[hourly] - AssertionError: assert 'fail' == 'pass'
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_faster_rate[hourly] - AssertionError: assert 'fail' == 'pass'
============================================================================================ 3 failed, 17 passed in 1225.18s (0:20:25) =============================================================================================

against Spark
===================================================================================================== short test summary info ======================================================================================================
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_anomalyless_table[hourly] - AssertionError: assert 'fail' == 'pass'
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_stop_with_delay[hourly] - AssertionError: assert 'fail' == 'pass'
FAILED tests/test_freshness_anomalies.py::TestFreshnessAnomalies::test_faster_rate[hourly] - AssertionError: assert 'fail' == 'pass'
============================================================================================= 3 failed, 17 passed in 400.17s (0:06:40) =============================================================================================

There's obviously something going on with the hourly tests that's not due to my changes...

yeah it looks like it...
seems the hourly tests might be a bit too sensitive ATM, Im on it 👍

Thanks @dapollak . I'm away at the moment but I'll rebase as soon as i get back

Hey again @francoisforster,
I've merged your contribution through this branch.
Thanks !!

@dapollak Thanks for merging it!


Bump nixpkgs to 20.09

Nothing to see here, just getting hydra to do some work.

Pre-submit checklist:

Branch

[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

If you updated any cabal files or added Haskell packages:

[ ] $(nix-build default.nix -A dev.scripts.updateMaterialized) to update the materialized Nix files
[ ] Update hie-*.yaml files if needed

If you changed any Haskell files:

[ ] $(nix-shell shell.nix --run fix-stylish-haskell) to fix any formatting issues

If you changed any Purescript files:

[ ] $(nix-shell shell.nix --run fix-purty) to fix any formatting issues

Pre-merge checklist:

[ ] Someone approved it
[ ] Commits have useful messages
[ ] Review clarifications made it into the code
[ ] History is moderately tidy; or going to squash-merge

@krisajenkins @shmish111 Some issues in the clients. I tried bumping some node stuff to v12, since v10 doesn't seem to be in nixpkgs any more. Problem seems related to that since it's going on about NODE_MODULE_VERSION. I did bump the headers, which I thought might be causing it, but apparently not...

@michaelpj I'm building this branch locally now. Will take a look.

What about https://github.com/input-output-hk/plutus/blob/imp/bump-20009/nix/lib/agda/default.nix#L1 ?
# Copied from nixpkgs, remove when we hit 20.09

We can also drop the nixpkgs-fmt overlay since 20.09 has nixpkgs-fmt 1.0.0 which will do I think (might want to double check that there is no difference in indentation output)

Nice, yes, I should do those!

Okay, I think I fixed everything! Let's see if Hydra agrees.

Hydra agrees!

Okay, let's try this.


On macOS, when delete file dialog is open and cancel button has focus, hitting enter still deletes the file

VSCode Version: 1.45.1
OS Version: 10.15

Steps to Reproduce:

Create new file
Delete said file
Notice blue highlight around Cancel button
Hit enter
Notice file was still deleted

Does this issue occur when all extensions are disabled?: Yes

I have not confirmed if this happens on my Linux or Windows machines.

This seems standard macOS behaviour, I suggest you file an issue against Apple.


[Docs] Create 'center' snippets template

Description
More often than not, when a doc code snippet example uses --template=stateful_widget_scaffold, they also wrap their example in a Center widget. This creates a template that bakes the Center in to the template, to clean up the samples slightly.
Tests
This change did affect any existing tests, and no tests were added.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

@gspencergoog is the expert on templates, and should be the Flutter eng reviewing this PR. I'm just the person who jammed DartPad into the system. :)


Lingering performance issues after dealing with a very complex model

Hi!
First of all, thanks for all the hard work put into this awesome library.
I'm in the process of migrating a service heavily reliant on pydantic from v1 to v2.
For context, this service deals with document content, utilizing complex, deeply/recursively nested models with heavy use of tagged unions. Models represent various "building blocks" like block, text, image, table, etc. Basically, imagine parsing an HTML with pydantic and you get a feel of what these models look like.
I was particularly excited about the performance improvements promised by Pydantic v2. However, after completing the migration, our benchmarks showed unexpected results.
There's a significant performance degradation (compared to v1) and notable variance in benchmarks that serialize and deserialize synthetic data using various models. After looking closer, I noticed that this issue only occurs when running multiple benchmarks sequentially. When executed individually, the performance is much better and more consistent. I also noticed that it depends on the order of benchmarks. Eventually, I came to the conclusion that degradation starts on the first fairly complex benchmark and lingers, affecting subsequent simple benchmarks. I managed to boil down the repro to this (full gist here):
benchmark_simple_model()
benchmark_complex_model()  # with wide and deep synthetic data
benchmark_simple_model()

The first benchmark performs well, outpacing v1 with minimal variance. However, the second and third benchmarks exhibit much worse performance compared to v1, with significant variance. What's most interesting is that the third benchmark's performance is more than an order of magnitude worse than the first one, even though they exercise the same simple model with the same small/simple data.
Removing the complex_model benchmark removes this issue - both simple_model benchmarks perform consistently and well.
It seems that processing large and complex data with a highly intricate model leaves a lingering negative performance .
I attempted to profile pydantic-core during these benchmarks. The flamegraph revealed that about 80% of the time in the third benchmark is spent in GILPool::drop.

In comparison, the first benchmark only spends 3% of the time in GILPool::drop.

 I also feel like this issue might be related to https://github.com/PyO3/pyo3/issues/1056, this feeling is reinforced by https://github.com/pydantic/pydantic-core/pull/997#issuecomment-1742776731.
At this point, I'm unsure how to proceed and would appreciate your help. Thanks in advance!

FWIW, I tried running the same benchmarks using the pydantic version that runs under mimalloc (pre-#900). The issue is still present but not as severe. Under mimalloc, the third benchmark is only 3 times slower than the first one; under the default allocator, it's 25 times slower.
I'm not sure what exactly this evidence suggests, but thought I'd share it nonetheless.

You're probably right that the issue is related to https://github.com/PyO3/pyo3/issues/1056. One thing we've observed is that after the "GILPool" hits a certain threshold, we get a permanent performance regression which is probably related to CPU cache sizes, see https://github.com/PyO3/pyo3/issues/3299
Are you able to share any "minimal" reproductions of this? It would be extremely helpful for future optimization work. (Also, we're actively working on ripping out the GIL pool upstream!)

@davidhewitt probably not the most minimal, but here's the gist I ended up with.

Also, we're actively working on ripping out the GIL pool upstream!

Nice! Do you have any rough estimates on how soon that work will land and make its way to pydantic?

Also thanks for sharing the gist! I get the same reproduction on M1 Mac but on my desktop PC there is no slowdown (which again supports the theory this is related to cache sizes or other platform specific pains).

@davidhewitt what about using
unsafe { py.new_pool() };

At the start of every validation?


editorial changes

consistent use of P4 Runtime API
consistent use of Ingress/Egress
remove TBD on packet_in.lenght() and support the same semantics as P4_16.
removed references to Antonin for finalizing the P4 Runtime format
of class of service methods
clone and resubmit: moved the add_metadata discussion to the open
issues, since it is not defined in the extern.
add recirculate extern definition
removed reference to making the PRE/BQE available to the Ingress/Egress
controls

I have addressed your questions, and I took the liberty to remove the truncation for clones TBDs. Ran the spellchecker too :)

Thanks for the spell check run.  Please feel free to merge this yourself, or I can do so if you prefer.


Add CachedCompression fairing

Motivation
I'm working on a side project called Jonline that serves up a compiled Flutter Web app with Rocket. The compiled JS and OTF files are fairly large (~3MB and 1.5MB respectively) and Brotli on "Best" is pretty slow. The compression time for these files was around 10s each.
The new CachedCompression fairing lets developers manually specify, like in the documented example, that the server should keep an in-memory cache of compressed OTF and compiled JS files. I found that this brought page load times from 20-30s for my Flutter app down to ~500ms, basically instant loads on my cheap DigitalOcean Kubernetes server running multiple instances of my app.
Implementation Notes
I implemented this with specfication of the files whose compressed versions should be cached being done in Rust. I noticed the EXCLUSIONS thing in the current fairing mentioned some TOML configuration, but I'm not convinced that's actually working as documented; it looks to just pass the statically-coded exclusions 😕 But I'm not that familiar with Rocket TOML things.
So, if it would make more sense to implement the caching configuration in TOML than Rust, just tell me how! 🫡

This looks great - tyvm for sending in the PR!  Will be a very useful addition to the crate.
Wrt. the exclusions/config thing, I think using an argument is fine.  Since this compression isn't baked into Rocket anymore and is an external dep, I think that having the config be explicit during the fairing construction makes the most sense.  I will update the comment to remove the mention of rocket.toml config; that's a remnant from when I tore out the old Rocket compression code to build this crate.
I glanced at the diff and it looks good, but I'll take a closer look and get it merged + tag a new release after work.  Thanks again for upstreaming this!

Just updated to use rocket::tokio and RwLock from it rather than Mutex!

Also, DRYed up the accepted algorithm logic a bit.

@Ameobea What do you think? Any further changes? Happy to document things out or modify behavior! Would like to be able to use this rather than my own custom fairing.

Hey, sorry for the delay!  Looks great, will merge and tag a new release now.  Ty again for contributing this

New release has been tagged: https://docs.rs/rocket_async_compression/0.2.0/rocket_async_compression/
I've also updated the README with info about the CachedCompression fairing and added an example to the examples dir on how to use it.


angular-xeditable Date is not working with (AngularUI Bootstrap 0.11.0 + Bootstrap 3)

The Home page mentioned the Angular UI bootsrap version 0.11.0, but the fiddle on the home page uses 0.6.0. The date is not working with the combinationed mentioned in the homepage.
Here is a fiddle of the bug : http://jsfiddle.net/NfPcH/6510/

I'm experiencing the same issue.

+1 it open one time

I'm having the same issue. I can't get the datepicker to open. It does work perfectly outside xeditable though...

i solved the problem sample code :
{{ staff.birth_issue_date | persianDate:'yyyy/MM/dd'}}
                                </span>

            $scope.opened = {};

            $scope.open = function($event, elementOpened) {
                $event.preventDefault();
                $event.stopPropagation();

                $scope.opened[elementOpened] = !$scope.opened[elementOpened];
            };

@phpniki :Thanks , I am facing an issue,date picker  in ng-repeat , if have multiple rows ,if i click on one cloumn the calnder is popping up in all remaining columns.

It is problem with X-editable js.
changed x-editable.js
to angular-xeditable - 0.1.9
http://plnkr.co/edit/pBnxWiqrLwOG1UNWyTJM?p=preview****

What issue are you trying to show?  I am not seeing any errors in the console and I am able to select a different date in the popup.

@eugef please close.  bs-date is working with the current version of xeditable and uibootstrap


PPF-300: removed unused import

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (dbdb12d) compared to base (7533c07).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #302   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           18        18
  Lines          970       970
=========================================
  Hits           970       970

Impacted Files
Coverage Δ

PyPDFForm/core/template.py
100.00% <ø> (ø)

PyPDFForm/core/watermark.py
100.00% <ø> (ø)

PyPDFForm/middleware/template.py
100.00% <100.00%> (ø)

PyPDFForm/middleware/wrapper.py
100.00% <100.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


update nodejs goldens

goldens needed to be updated because of a bunch of recent data updates (data diffs can be seen here: https://github.com/datacommonsorg/mixer/pull/1438, https://github.com/datacommonsorg/mixer/pull/1439)

thanks for updating the description!


STM32H7XX support

An attempt at adding STM32H7XX support to stm32-eth.
TODO:

[x] Switch to ring mode for f1, f4 and f7 so the same descriptor infrastructure can be used for h7
[x] Make DMA work
[x] Make MAC work
[x] Integrate MDIO with MAC
[x] Make PTP work

Closing in favor of #77


Many functionalities missing for vertex/edge collections

There are many functionalities missing for the vertex/edge collections that are present for collections created by normal create_collection method of the database.
Some of them are to allow creating shards, allowing bulk_import.

Hi @akki
You can access the vertex/edge collection using the standard collection interface like db.col('my_vertex_collection_name'). Let me know if that meets your needs.

Thanks for the quick reply @joowani
I am currently doing db.col('my_vertex_collection_name') as an alternative. My main concern was regarding creating shards. I am unable to create shards for vertex/edge collections. I was kinda under the impression that vertex/edge collections would be subclasses of standard collections but when I saw the code that wasn't the case.

Hi @akki,
Right. The reason for the not-very-clean separation is due to the limitation of the HTTP REST API provided by ArangoDB (which python-arango uses under the hood). For now, you will have to create the collections you need for your graph using the standard collections interface so you can specify the shard configuration, and then create graph by using those collections and its vertices.

Yes, I create my collections using Arangosh currently.
Is it possible to do it in some way using multi-inheritance (I haven't looked at the code very closely right now).
Anyways, this isn't a very critical issue and there are work-arounds but I thought of reporting it. Thanks for the help!

Noted. I'll see what can be done to address this next release. Thanks @akki!

Hi @joowani , Thanks for creating this library to make Arango easy to access from Python.
Please see https://github.com/arangodb/arangodb/issues/3020 that I had raised in ArangoDB.
As per the suggestion there ,I am supposed to use replication factor while creating vertex collections. But there is no API to do that in python-arango for vertex-collections or at graph level itself.
Do you have any suggestions how I could achieve that or is an enhancement needed in python-arango to support that ?

Thanks @joowani , will try the workaround that you suggested.

@joowani, the db.create_collection() seems to set the replication_factor correctly for vertex collections.
However, for edge collections, the below method does not seem to set it properly.
graph.create_edge_definition(
    name='my_def',
    from_collections=['my_col'],
    to_collections=['my_col']
)

As per recent ArangoDB changelog
v3.2.6 (2017-10-26)
-------------------

* allow changing of collection replication factor for existing collections

* UI: replicationFactor of a collection is now changeable in a cluster
environment

Will python-arango be enhanced with more support for configuring replication factor beyond db.create_collection() ?

@jeeveeyes I sent you the below snippet in earlier emails for changing the replication factor for edges and that would also be quite fast using the document API directly.
edge_colls = {}
for from_coll,to_coll in edge_data:
name = from_coll + "ref" + to_coll
db.create_collection(name,edge=True,replication_factor=2)
edge_colls[name] = grph.create_edge_definition(name=name, from_collections = [from_coll], to_collections = [to_coll])

Thanks @kunalak. I shall try above method.
Can you also clarify if replication factor is required to be tuned for graphs too ?

As can be seen above , for a simple graph, the default replication_factor is 1.
I could not locate the Arango REST API to set that replication_factor for a graph while creating it or as a PUT of the properties.

@joowani , there is a configure() API on collection classes, but that does not accept and propagate replication_factor.

@jeeveeyes, the configure method is just a wrapper on top of this HTTP API call: https://docs.arangodb.com/3.2/HTTP/Collection/Modifying.html#change-properties-of-a-collection.
And it does not accept replication factor as a parameter. In fact I don't know if there is one exposed by ArangoDB at all (there does not seem to be one in their HTTP API spec. For now, you may need to use something like Arangosh or the web UI directly. @akki please refer to ArangoDB documentation or create an issue with them for more details on how to do this.

I would like to get back to the original question since I didn't understand how the workaround works. You said:

For now, you will have to create the collections you need for your graph using the standard collections interface so you can specify the shard configuration, and then create graph by using those collections and its vertices.

I know how to create standard collections but I don't know how to use them to create a graph. Do I need to manually insert each document from the collection to the vertex collection? If so that would invalidate the bulk import process.
Could you give me an example of how to use the workaround you suggest?

I didn't have the need to create a named graph. I just wanted to make collections of vertex/edge type which is possible through the standard collections interface.
From what I remember I used to create collections using the standard collection interface and then load them separately into the graph afterwards.
If you're looking for creating a graph, I guess this would be helpful for you - http://python-driver-for-arangodb.readthedocs.io/en/master/graph.html#edge-definitions

How do you load the standard collections into the graph?
I do need to use the graph interface but I also have a lot of data that I need to bulk import into the graph. But if I create a vertex/edge collection, the method for bulk importing is not available.

Hi @danielapoliveira,
After creating the vertex and edge collections, try using the standard collection interface.
So instead of doing something like this:
client.db('db').graph('graph').edge_collection('edge_collection').insert(edge_document)

Try this (untested):
client.db('db').collection('edge_collection').bulk_import(edge_documents)

Hi @joowani,
That workaround seems to work fine. Thanks!


Add navbar(non-functional atm), delete other paragraphs and image to …

…make room to update. Currently adding the main index.html functionality, more commits to come

Sorry about the large-ish commit there, got carried away and forgot to commit earlier.
Adds flexbox functionality to entire site, adds about me section with pictures, bio, and skills/projects section. Also adds connect buttons, links to 4 social media.
I am sure some stuff violates the style guides, I plan on fixing that in another PR, but feel free to point out violations as you see them.

Alright, I committed again.
TL;DR: Addresses all PR comments, ensures the following of Google style guidelines, updates the first minor piece of work in the week 3 curriculum.
I went in and fixed the things you suggested, converted my CSS and HTML files to properly follow the Google styles guides (if only just to get in the habit of following them). Also tried to revert that pom.xml file back to original, removed an extra line.
Also started on the Week #3 curriculum so DataServlet.java was updated, but a very minor change..


UDP connection handler for DNS/TCP fallback

Implements a UDP connection handler that responds to DNS queries with a truncated bit in order for the query to be retried over TCP.

This is useful for servers that do not support UDP, and/or networks that block UDP traffic to non-standard ports.
While TCP support is advisory in DNS resolvers, we have found that major resolvers support it in practice. Additionally, DNS clients in all major operating systems support the retry behavior when receiving a truncated response.
See RFC 1123, section <IP_ADDRESS> for more details.

Exposes a flag -dnsFallback to enable this behavior by overriding the specified UDP proxy handler.
Builds the module when "dnsfallback" is present in $BUILD_TAGS.
Sets a default value for $BUILD_TGAS, so it can be customized from the command line.

Thx.


have bug in 1.12.2 when model primaryKey is null

my migrations:
$table->unsignedInteger('platform_id');
$table->unsignedInteger('channel_id');
$table->unique(['channel_id', 'platform_id']);

protected $primaryKey = null;
BUG IN file DetectsChanges.php line 41
$properties['attributes'] = static::logChanges($this->exists ? $this->fresh() : $this);
but use 1.10.3 no bug

To me it's a bit unclear how we should reproduce this problem.
Could you PR a failing test?

Closing due to inactivity.


Roborock 4E serial

The serial is undefined:
INF getSerialNumber | roborock.vacuum.a01 | Serial Number is undefined
Therefore:
This plugin slows down Homebridge. The read handler for the characteristic 'Serial Number' was slow to respond! See https://homebridge.io/w/JtMGR for more info.

Please follow this: click; then report back with your response 😉


unescapeHtml does not replace &nbsp with white space

&nbsp stays unchanged in resulting unescaped text

Confirmed to be a bug. Apparently the HtmlEscapeSymbols#binarySearch(...) methods are not properly doing their job when reporting about partial matches, and this provokes some misses when unescaping those NCRs that are supported to be unescaped even if their final ; symbol is missing.

Already in 1.1.5-SNAPSHOT


Support for vladmandic/automatic fork?

Thank you for making this paperspace notebook, I use it daily for my professional work!
It seems there's a better version of Auto1111 emerging, better UI, better maintenance, new features, etc...
https://github.com/vladmandic/automatic?fbclid=IwAR0Fbmgbcvq8sWFfUQBpsCVYTwA5o4nAbAcUp3NjIII2ymSuBicmoZyQOd8
would be amazing if we could use that on paperspace too. maybe it's possible to add it to this notebook and have an option which fork to launch?
thanks anyway.

I welcome pull requests.


Make date time standard when not editing

The edited datetime should be the same format as the display-only datetime

done


Minimap scale

I run 2.0.0 LoL Bot and I pre-set options already on my way, but It doesn't recognize the Mini-map size the option has.
I don't wanna mess up with other settings since I have to reset again, so what is the exact scale of the Minimap coded in?

When minions are created, Mouse locates under the midline with my settings

Does Adding up Account for the program might affect?
If not, need to know the original size of the minimap coded.

is that window 1024x768? again, the bot should be setting the settings.

The bot should completely override all league of legends settings in the latest version of the bot and thus this issue should be resolved.


Index update: Failed to parse String literal at velocity[line 19, column 3]

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
v16.14.0
Amplify CLI Version
8.0.3
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Amplify Categories
api
Amplify Commands
add, push
Describe the bug
Making index changes in GraphQL-object after creation will result in an error during GraphQL-execution.
Expected behavior
shouldn't be a problem.
Reproduction steps

amplify create api

create schema with index

amplify push

change index

amplify push

appsync -> mutation MyMutation {
createTodo(input: {isPublic: 1, name: "test", isTeamTodo: 1}) {
id
begin
createdAt
}
}

Error:
"errors": [
{
"path": [
"createTodo"
],
"data": null,
"errorType": "MappingTemplate",
"errorInfo": null,
"locations": [
{
"line": 2,
"column": 3,
"sourceName": null
}
],
"message": "Failed to parse String literal at velocity[line 19, column 3]"
}
]
}

Error in Mutation.createTodo.preAuth.1.req.vtl

GraphQL schema(s)

# Put schemas below this line
input AMPLIFY { globalAuthRule: AuthRule = { allow: public } } # FOR TESTING ONLY!

type Todo @model {
  id: ID!
  name: String!
  description: String
  begin: AWSDateTime
  end: AWSDateTime
  createdAt: AWSDateTime!
  isTeamTodo:Int! @default(value: "0")
  isPublic: Int! @default(value: "0") @index(name: "byIsPublicByByCreatedAtByIsTeamTodoByBeginByEnd",sortKeyFields: ["createdAt","isTeamTodo","begin","end"], queryField: "TodoByIsPublicByByCreatedAtByIsTeamTodoByBeginByEnd" )

}

Log output

# Put your logs below this line
  "errors": [
    {
      "path": [
        "createTodo"
      ],
      "data": null,
      "errorType": "MappingTemplate",
      "errorInfo": null,
      "locations": [
        {
          "line": 2,
          "column": 3,
          "sourceName": null
        }
      ],
      "message": "Failed to parse String literal at velocity[line 19, column 3]"
    }
  ]
}

Additional information
No response

Hey @MichaelPlan, thank you for reaching on replicating this in my Amplify application I observed that the sort key field end on a build creates a VTL template with expression containing  createdAt#isTeamTodo#begin#end. As the #end is a reserved keyword the query fails. https://velocity.apache.org/engine/devel/vtl-reference.html#foreach-loops-through-a-list-of-objects
Marking this as bug.

Thanks for raising @MichaelPlan, we'll look at adding support for field aliasing for these reserved keywords, but to unblock yourself in the short-term, you should be able to rename your field resolved, todoEnd or something similar.

@ykethan @alharris-at Thanks for your infos. After renaming the field, it works again.


Expand

copy can be generalized considerably.
copy :: Monad m => Stream (Of a) m r -> Stream (Of a) (Stream (Of a) m) r

would generalize imediately to
copy :: (Monad m, Extend f)
     => Stream f m r -> Stream f (Stream f m) r

where Extend is just Comonad without extract. We don't currently
depend on semigroupoids or comonads, however, so Of a isn't an
instance of either class. Fortunately, we can generalize still further,
producing
expand :: (Monad m, Functor f)
       => (forall a b. (g a -> b) -> f a -> h b)
       -> Stream f m r -> Stream g (Stream h m) r

We can also produce a version with a Functor constraint on g instead,
expand2 :: (Monad m, Functor g)
       => (forall a b. (g a -> b) -> f a -> h b)
       -> Stream f m r -> Stream g (Stream h m) r

It's not clear to me whether one is inherently better.

This looks good. Concerning naming, see my comment in the other PR. You'll need to decide on a suffix for functions that put the functor constraint on the layer type of the resulting stream.

I have the feeling @ekmett may not like the names very much. If he comes up with something better before the next release, we can take his advice.


get IMvcBuilder from AssemblyLoadContext

Is there any way to get IMvcBuilder from AssemblyLoadContext ? I want to make a plugin system like Wordpress. When the plugin is enabled, I can automatically add my own page to the menu.
Is there any way to solve this problem or has another way to add Add or remove controllers outside of ConfigureServices?

@j4587698 thanks for contacting us.
I'm not sure that's the best way to achieve what you want. Before you implement your own solution I would recommend you look into Orchard core, which has a bunch of facilities like these that can be used to build modular apps like the one it seems you are trying to build.


nano: add file as a dependency to allow libmagic usage

Description of changes
Nano’s manpage mentions the -! option, but Nano on Nix is currently built without libmagic so it doesn’t work. This fixes that.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Demonstration: https://asciinema.org/a/dV93n1KQOu9FONzL0yOFXkiBj

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

1 package blacklisted:

tests.nixos-functions.nixos-test

21 packages built:

cabal2nix
crip
cvs
cvs-fast-export
cvs2svn
cvs2svn.dist
cvsps
cvsq
debian-devscripts
dep2nix
haskellPackages.cabal2nix-unstable
ikiwiki-full
nano
nano.info
nix-prefetch-cvs
nix-prefetch-scripts
nix-update-source
nix-update-source.dist
tests.testers.nixosTest-example
tests.testers.runNixOSTest-example
tests.trivial-builders.references

This looks to me like bloating a core utility with a dangerous C library for the sake of rainbow barf.

Why is libmagic dangerous? Also, nano itself is written in C.
I don’t see by what standard we can judge this to be “bloat” considering it’s in the documentation for nano, so it’s officially a feature. After all, nano is not a minimal editor, just a small one.
Also, there is a tiny version of nano enabled with the enableTiny flag if what you want is a minimal editor.
Granted, file is much bigger than nano. So maybe there could be an option to enable/disable file specifically? I don’t see why it shouldn’t be on by default though.


Include Debugger Tutorial in Resources

@KMCreatesWorlds Is this still something we want to do, considering the Scope for Phase 2?


apply the closures exception to matches in actual args

So we can put everything except the match body on one line.

I'm not sure I understand this one.. Could you add an example?

To allow:
        foobar(f, "{}", match *self {
            TaskState::Started => "started",
            TaskState::Success => "success",
            TaskState::Failed => "failed",
        })

Aaah, gotcha!


Master Issue List

This is going to be a single list of issues discovered from Cake Wallet Testing. Issues added here that seem to be upstream related can be commented on and we can create an upstream issue. I'll upload this issue list from time to time.

[x] Rescan button should be hidden if wallet is not ready for a rescan : I noticed this error when I attempted rescan on a newly created wallet(before it finished syncing):

[ ] Newly created dcr wallet does not show an address but it isn't the same with a newly created btc wallet.

[ ] Node entry displays as connected but the wallet isn't:

[ ] Clicking on an information card on the dcr wallet page causes a screen display error:

[x] The rescan page looks off, button not properly aligned

[ ] dcr wallet exchange page should auto choose another asset by default:

[ ] Importing a wallet whose seed already exists works (for dcr and btc).

[ ] Clicking on the Scan Qr btn does nothing (on macos, proly upstream but I doubt if dcr wallet has support for this on mobile):

@ukane-philemon Thanks! Nice stuff!
Will add these to https://github.com/cake-tech/cake_wallet/issues/986 :
Rescan button should be hidden if wallet is not ready for a rescan : I noticed this error when I attempted rescan on a newly created wallet(before it finished syncing): (probably add to todo, I don't want to mess with ui too much)
Newly created dcr wallet does not show an address but it isn't the same with a newly created btc wallet. (I think I already have a todo for this, it's because not synced yet, we should say that somewhere, another UI think I rather not do in the first pr...)
Node entry displays as connected but the wallet isn't: (Currently we only check if this is a pingable port, which is the same they do for electrum, so it's probably fine but it could be smarter. Unsure of a simple way to make it smarter though. I guess we send a version request to the port and see if it's a dcrd response? pretty involved though)
Will try to fix these in the current pr:
The rescan page looks off, button not properly aligned
Clicking on an information card on the dcr wallet page causes a screen display error: (this sounds like a bug on their part but maybe I missed something. If our bug maybe should fix in the current pr)
dcr wallet exchange page should auto choose another asset by default: (I don't know if we even have exchange capabilities? Havent tested this at all. What exchange? Maybe should disable this page for now? I'm pretty sure we didn't promise exchange capabilities in the proposal?)
Unsure if a problem:
Importing a wallet whose seed already exists works (for dcr and btc). (intenended? I know cryptopower doesn't allow this...)
Clicking on the Scan Qr btn does nothing (on macos, proly upstream but I doubt if dcr wallet has support for this on mobile):

Thanks for yor input @JoeGruffins. I'm yet to test on ios.
As for the last the last two issues you sited, I'm not sure if it's intended until the cake wallet team say something about them.

New Issues:

Importing a wallet whose seed already exists works (for dcr and btc). (intenended? I know cryptopower doesn't allow this...)

The wallet becomes watch-only and users are not able to send from it. However, the send and exchange btns remains active and the user gets an error:

[ ] DCR Wallet address is not shown when the wallet is disconnected or it just reconnected but we were already on the view address page. (I think we should still show the wallet address connected or not, btc does)

[ ] DCR wallet address qr has no usable data (btc wallet address qr has a trustwallet link)

[ ] Missing transaction history: I sent 500 and 45 dcr to the same address at the same time. But got only the transaction history for the first transaction.

But the desc I used for the first and second tx were combined. Also, the tx note field is editable, it shouldn't be.

Upstream issues I think:

[ ] AnonPay page is wonky, seems there's an overflow.

[ ] Address book is bugged. it creates a new field entry and uses the title as the wallet address and error

[ ] Cake wallet keychain store is nameless.

[ ] This page makes an API call and API error response (403 HTTP code) is not properly propagated to the user. The screen continues to load until user leaves the page.

[ ] The wallet dropdown selection froze after I left the wallet app running for a long time:

Another exception was thrown: 'package:flutter/src/material/dropdown.dart': Failed assertion: line 1339 pos 12: '_dropdownRoute == null': is not true.
flutter: ══╡ EXCEPTION CAUGHT BY GESTURE ╞════════════════════════════════
flutter: The following assertion was thrown while handling a gesture:
flutter: 'package:flutter/src/material/dropdown.dart': Failed assertion:
flutter: line 1339 pos 12: '_dropdownRoute == null': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself,
flutter: or we should provide substantially more information in this error
flutter: message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on
flutter: GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=2_bug.yml
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      _DropdownButtonState._handleTap (package:flutter/src/material/dropdown.dart:1339:12)
flutter: #3      _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1183:21)
flutter: #4      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:315:24)
flutter: #5      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:652:11)
flutter: #6      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:309:5)
flutter: #7      BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:242:7)
flutter: #8      PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:670:9)
flutter: #9      PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
flutter: #10     PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
flutter: #11     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
flutter: #12     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
flutter: #13     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
flutter: #14     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:495:19)
flutter: #15     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:475:22)
flutter: #16     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:430:11)
flutter: #17     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:420:7)
flutter: #18     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:383:5)
flutter: #19     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:330:7)
flutter: #20     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:299:9)
flutter: #24     _invoke1 (dart:ui/hooks.dart:330:10)
flutter: #25     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:429:7)
flutter: #26     _dispatchPointerDataPacket (dart:ui/hooks.dart:262:31)
flutter: (elided 5 frames from class _AssertionError and dart:async)
flutter:
flutter: Handler: "onTap"
flutter: Recognizer:
flutter:   TapGestureRecognizer#39fb5
flutter: ═════════════════════════════════════════════════════════════════

[ ] The date picker on the btc rescan page was unresponsive after running the wallet for a long time:

flutter: ═════════════════════════════════════════════════════════════════
flutter:
Another exception was thrown: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 4821 pos 12: '!_debugLocked': is not true.
flutter: ══╡ EXCEPTION CAUGHT BY FLUTTER FRAMEWORK ╞══════════════════════
flutter: The following assertion was thrown:
flutter: 'package:flutter/src/widgets/navigator.dart': Failed assertion:
flutter: line 4821 pos 12: '!_debugLocked': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself,
flutter: or we should provide substantially more information in this error
flutter: message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on
flutter: GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=2_bug.yml
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      NavigatorState._pushEntry (package:flutter/src/widgets/navigator.dart:4821:12)
flutter: #3      NavigatorState.push (package:flutter/src/widgets/navigator.dart:4778:5)
flutter: #4      showDialog (package:flutter/src/material/dialog.dart:1423:65)
flutter: #5      showDatePicker (package:flutter/src/material/date_picker.dart:246:10)
flutter: #6      _buildMaterialDataPicker (package:cake_wallet/utils/date_picker.dart:23:16)
flutter: #7      getDate (package:cake_wallet/utils/date_picker.dart:15:10)
flutter: #8      BlockchainHeightState._selectDate (package:cake_wallet/src/widgets/blockchain_height_widget.dart:161:24)
flutter: #9      BlockchainHeightState.build.<anonymous closure> (package:cake_wallet/src/widgets/blockchain_height_widget.dart:107:32)
flutter: #10     _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1183:21)
flutter: #11     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:315:24)
flutter: #12     TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:652:11)
flutter: #13     BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:309:5)
flutter: #14     BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:242:7)
flutter: #15     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:670:9)
flutter: #16     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
flutter: #17     PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
flutter: #18     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
flutter: #19     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
flutter: #20     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
flutter: #21     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:495:19)
flutter: #22     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:475:22)
flutter: #23     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:430:11)
flutter: #24     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:420:7)
flutter: #25     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:383:5)
flutter: #26     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:330:7)
flutter: #27     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:299:9)
flutter: #31     _invoke1 (dart:ui/hooks.dart:330:10)
flutter: #32     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:429:7)
flutter: #33     _dispatchPointerDataPacket (dart:ui/hooks.dart:262:31)
flutter: (elided 5 frames from class _AssertionError and dart:async)
flutter: ═════════════════════════════════════════════════════════════════

Clicking on "Your wallet is syncing" paned on Android takes you to your web browser so I think their bug if it's not working on mac

Some of your new issues don't seem to be dcr specific. Will add the one about our qr code needing something useful to the TODOS

But the desc I used for the first and second tx were combined. Also, the tx note field is editable, it shouldn't be.

I think the note field should be editable, its for user notes?

But the desc I used for the first and second tx were combined. Also, the tx note field is editable, it shouldn't be.

I think the note field should be editable, its for user notes?

That's an already concluded transaction. Besides, the note was from the sender, a receiver shouldn't be able to edit it.

Some of your new issues don't seem to be dcr specific. Will add the one about our qr code needing something useful to the TODOS

Yeah, I listed everything I could find, maybe the cake team would be interested in fixing them.
I proly should create an upstream issue master list yeah?

Adding another bug found by you.

wallet is not found on ios:

I've noticed that creating a dcr wallet on iphone takes a considerable amount of time to finish, ~70sec+.
There's something wrong with the wallet data path(as observed on iphone). You create a wallet, restart the app and the wallet dir no longer exists. I've investigated the issue but I've got only some information.
a. Even when a new wallet is created, args["dataDir"] does not exist.
b. args["dataDir"] is the same as walletInfo.dirPath.

flutter: create walletflutter: create wallet
flutter: /var/mobile/Containers/Data/Application/4B56953B-9A65-49F4-82B0-6BABCF5D4253/Documents/wallets/decred/Cylindrical Layer # print(args["dataDir"]!);
flutter: false # print(File(args["dataDir"]!).existsSync());
flutter: create wallet end
flutter: /var/mobile/Containers/Data/Application/4B56953B-9A65-49F4-82B0-6BABCF5D4253/Documents/wallets/decred/Cylindrical Layer # print(args["dataDir"]!);
flutter: false # print(File(args["dataDir"]!).existsSync());
flutter: create wallet end

After a restart:
flutter: load wallet
flutter: /var/mobile/Containers/Data/Application/4B56953B-9A65-49F4-82B0-6BABCF5D4253/Documents/wallets/decred/Cylindrical Layer # print(args["dataDir"]!)
flutter: false # print(File(args["dataDir"]!).existsSync();
flutter: load wallet end

Other Issues(so I don't forget to check back):
DCR send form does not handle ALL option. It tries to parse it as a double instead of sweeping the wallet.
Fee estimation is not shown on the form as they have for btc.
USD price value is not shown(on my end).
Switching btw dcr wallets or from other wallets to dcr take about ~25 secs on ios.


Our Makefile is dangerous

What happened:
Our Makefile does some pretty intrusive things such as installing manifests, scaling up and down services, and deleting untracked files in the git repo, with the assumption that the current kubeconfig is pointing to a cluster which is safe for development purposes.
This is not always a safe assumption, especially when the development namespace we are manipulating is the argo namespace (where we install by default)
It's okay to have convenience make targets, so long as if it were accidentally run against a prod kubeconfig, it would fail with no affect.
Let's not default to the argo namespace, and/or allow a different namespace to be used.

KUBERNETES_NAMESPACE now supported


invalid transaction behaviour.

'HI!
I've met several issues.
I used this as dependency:
[dependencies.sqlx]
version = "0.5.5"
features = ["postgres", "runtime-tokio-rustls", "macros", "chrono", "migrate"]

My code:
async fn do(pool: &PgPool) {
  let mut conn = pool.acquire().await.unwrap();
  let mut tx = conn.begin().await.unwrap();
  // or I can use let mut tx = pool.begin().await.unwrap(), it does not matter
  sqlx::query("DELETE FROM foo_table").execute(&mut tx).await.unwrap()
  sqlx::query("INSERT INTO foo_table...").execute(&mut tx).await.unwrap()
  tx.commit().await.unwrap().
}

First of all, when pool configured with max_connections(1) the second query not exeuted.
When pool configured with max_connections(2), then each query executed with different connections.
pg_stat_activity:
state_change	state	wait_event_type	query
2021-07-14 12:46:59.488504	idle in transaction	Client	DELETE FROM foo_table...
2021-07-14 12:46:59.498768	active	Lock	INSERT INTO foo_table...

postgres logs:
postgres_1  | 2021-07-14 13:03:24.536 UTC [433] LOG:  statement: /* SQLx ping */
postgres_1  | 2021-07-14 13:03:24.539 UTC [435] LOG:  statement: BEGIN
postgres_1  | 2021-07-14 13:03:24.542 UTC [435] LOG:  execute sqlx_s_1: DELETE FROM foo_table
postgres_1  | 2021-07-14 13:03:24.542 UTC [435] DETAIL:  parameters: $1 = '1', $2 = '1'
postgres_1  | 2021-07-14 13:03:24.545 UTC [433] LOG:  statement: /* SQLx ping */
postgres_1  | 2021-07-14 13:03:24.547 UTC [433] LOG:  execute sqlx_s_2: INSERT INTO foo_table...
postgres_1  | 2021-07-14 13:03:24.547 UTC [433] DETAIL:  parameters: $1 = '1', $2 = '1', $3 = '{qwdwqdw}'

As you see, the first query (DELETE) called with pid 435 and the second with pid 433.

What you're showing here would be quite bad. Are you absolutely sure you weren't running this as .execute(pool) instead of .execute(&mut tx)? No matter what I tweak locally, I cannot reproduce what you show here.
Could you setup a reproduction repo? Maybe I'm missing something. What environment are you on?

God, you're absolutely right: the second query executed with pool instead of tx. I'm sorry for your spent time and thanks for your help and project.


Replace isPlainObject with isObjectLike

This pull request replaces the use of lodash.isPlainObject with lodash.isObjectLike. There seems to be some  reported issues since the change to the object validation to use lodash. We were running into issues using node-postgres which returns an anonymous object as query results such as:
const user = await knex('user')
  .first('id', 'name', 'email')
  .where({ 'email: email });

Which would return something like this:
anonymous {
  id: '1234',
  name: 'John Doe',
  email<EMAIL_ADDRESS>}

Which failed the isPlainObject validation returning the error: Expected "payload" to be a plain object. However, it will pass the isObjectLike validation and returns the token without any issue.

Nice catch.
Taking a look to what isObjectLike allows and what isPlainObject or joi.object() allowed you should need to fail when an array is used.
Could you add tests for the different use cases? ie:

Valid: {}, Object.create(null), new (function Payload() { this.some = 'data' })(), { some: 'data' }
Invalid: [1, 2]

And any other you can think of. That way if we change to another library in the future we won't break these scenarios again.


Wrong binding OrderByRaw with type of array

I'm try this query with playground.  Array variable only get first index and variables after it use value of array.
Query
using SqlKata.Extensions;

var test1 = "test1";
var test2 = "test2";
var test3 = new int[]{1,2,3};

var query = new Query("Test")
.Select("test")
.OrderByRaw("Id = ? and test3 in (?) and test2=?",test1,test3,test2)
.Select("Id", "Name", "Url");

Result
SELECT * FROM "Test" ORDER BY Id = 'test1' and test3 in (1) and test2=2

I think it's because the array becomes flat
https://github.com/sqlkata/querybuilder/blob/d9d0441a8a1a27735e962d11fafd4bc4fc396ab4/QueryBuilder/Helper.cs#L27-L49

I think so, too. Now I'm Join array to string split by , but I think this is also a bug need to fix


Compiler errors in C# client generated code when request has a List as path parameter

I have a request that takes List<Guid> as a path parameter.
And there's code in the generated client that doesn't compile.
This is the signature of the generated client method:
public virtual System.Threading.Tasks.Task<System.Collections.Generic.ICollection<string>> GetSomethingAsync(System.Collections.Generic.IEnumerable<System.Guid> input)

This is the piece of code that doesn't compile (it's the piece that builds the input parameter for the url):
for (var i = 0; i < input.Length; i++)
{
    if (i > 0) urlBuilder_.Append(',');
    urlBuilder_.Append(ConvertToString(input[i], System.Globalization.CultureInfo.InvariantCulture));
}

The compiler errors are:
1>error CS1061: 'IEnumerable<Guid>' does not contain a definition for 'Length' and no accessible extension method 'Length' accepting a first argument of type 'IEnumerable<Guid>' could be found (are you missing a using directive or an assembly reference?)
1>error CS0021: Cannot apply indexing with [] to an expression of type 'IEnumerable<Guid>'

This used to work fine in preview10, but doesn't anymore in the released v14.
For reference, this is the working generated code that was in preview10:
urlBuilder_.Append(System.Uri.EscapeDataString(string.Join(",", System.Linq.Enumerable.Select(input, s_ => ConvertToString(s_, System.Globalization.CultureInfo.InvariantCulture)))));

This change is the culprit apparently:
https://github.com/RicoSuter/NSwag/commit/9175311f5427ccc899098971c8a4dd2353a1400a#diff-416f8759e9ce0cecba7578a64bf1fc4b9fee9325d331641eaf7b07d62e7455bbR18-R22
Not sure where's the bug is here though...
is it  parameter.IsArray that wrongfully returns true?
or shouldn't this code use parameter.IsArray? I see in other parts that the code checks for xxx.GetType().IsArray, which is another kind of "IsArray" (the c# array type vs openapi array type)

I'm running into this exact same issue with NSwag 14

Same here.
Controller method:
[HttpGet]
[Route("getsomething/{interestIds}")]
public async Task<IEnumerable<string>> GetSomething(IList<string> Ids)
{
    var somethings = await _accountService.GetSomething(Ids).ConfigureAwait(false);
    return somethings ;
}

Generates:
public virtual async System.Threading.Tasks.Task<System.Collections.Generic.ICollection<string>> Account_GetSomethingAsync(System.Collections.Generic.IEnumerable<string> IdsPath, System.Collections.Generic.IEnumerable<string> IdsBody, System.Threading.CancellationToken cancellationToken)
{
    if (IdsPath == null)
        throw new System.ArgumentNullException("IdsPath");

    if (IdsBody == null)
        throw new System.ArgumentNullException("IdsBody");

    var client_ = _httpClient;
    var disposeClient_ = false;
    try
    {
        using (var request_ = new System.Net.Http.HttpRequestMessage())
        {
            var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(IdsBody, _settings.Value);
            var content_ = new System.Net.Http.StringContent(json_);
            content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
            request_.Content = content_;
            request_.Method = new System.Net.Http.HttpMethod("GET");
            request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json"));

            var urlBuilder_ = new System.Text.StringBuilder();

            // Operation Path: "api/Account/getsomething/{Ids}"
            urlBuilder_.Append("api/Account/getsomething/");
            for (var i = 0; i < IdsPath.Length; i++)
            {
                if (i > 0) urlBuilder_.Append(',');
                urlBuilder_.Append(ConvertToString(IdsPath[i], System.Globalization.CultureInfo.InvariantCulture));
            }

// etc. ....

I get error at Length and indexing [i]

You would expect some unit test would break here right?

@RicoSuter friendly bump. List arguments does not work at the moment

I have created a reproduction here: https://github.com/jake-carpenter/nswag-4672-repro


Go to File doesn't find my gulpfiles

I've got a folder open which has many sub-folders, many of them containing gulpfile.js. However, when I do Ctrl+P (Go to File), they are not listed.
In the screenshot, I've executed a search alongside Ctrl+P to demonstrate this:

This is the first time I see this issue, Ctrl+P has always been working reliably. I've tried restarting VSCode to no avail.
VSCode version: 1.15.0
OS: Windows 10

BTW I've tried for other files which come in larger quantities in our repo and all is fine there, it's just gulpfiles that are weird.

It seems to be JS files, for example, Ctrl+P doesn't find my webpack.js file either.
This has been in my user settings for a very long time:
{
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/.DS_Store": true,
        "**/*.js": {
            "when": "$(basename).ts"
        },
        "**/*?.js": {
            "when": "$(basename).tsx"
        },
        "**/*.js.map": {
            "when": "$(basename)"
        }
    },
    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/dist": true,
        "**/user-portal/client/public": true
    }
}

Is it possible that the "when" resolution changed in 1.15?

This looks like https://github.com/Microsoft/vscode/issues/31956, which is fixed in insiders, and will be fixed in the upcoming 1.15.1. Sorry for the trouble.

Cool, thanks.


updated package data for new repo

Update package meta data due to migration to HackerHappyHour

@geekytime all of our builds (including production), are failing due to the following error:
1) Overlay shows when connectionState is not `online`:
     TypeError: Cannot convert object to primitive value

This test had to have passed in order for you to commit it initially, so I'm scratching my head as to why this is failing now. The only thing that comes to mind is that something changed within how JSX is rendering the output of the Overlay component itself.
If you have any ideas, I'd love to hear them.

Regarding the failing test: just had the issue on Travis with #75, but it passes locally.


tomcat 7.0.100 can not load META-INF/services/javax.servlet.ServletContainerInitializer file of webApp jars

My web app can not be loaded by tomcat when upgrading to version-7.0.100. My start class is loaded by defining in 'META-INF/services/javax.servlet.ServletContainerInitializer'. In tomcat-7.0.100, WebappServiceLoader.java has a bug:
public List load(Class serviceType) throws IOException {
String configFile = "META-INF/services/" + serviceType.getName();
....
if (orderedLibs == null) {
if (loader instanceof URLClassLoader) {
resources = ((URLClassLoader)loader).findResources("/" + configFile);
while(resources.hasMoreElements()) {
URL resource = (URL)resources.nextElement();
this.parseConfigFile(applicationServicesFound, resource);
}
}
7.0.100
resources = ((URLClassLoader)loader).findResources("/" + configFile);
pre-version
resources = loader.getResources(configFile);
why here add a "/" in version-7.0.100, which lead to ServletContainerInitializer can not be load.

How is this related to this project?


remove remaining ZK_ values

If I understand properly, you moved from the google tutorial image to the official zookeeper docker image.
The naming convention is ZOO_ for all variables, I'm guessing those two ZK_ values were left overs.
I also added the ZOO_ADMINSERVER_ENABLED value because I'm not sure if admin.enableServer= would evaluate to true or false.
Reference:
https://github.com/31z4/zookeeper-docker/blob/master/3.5.8/docker-entrypoint.sh

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] Title of the PR starts with chart name (e.g. [stable/mychartname])

yes, my concern was it was using an unmaintained demo image.

oh that was quick.
I have an additional question then: I don't understand why all the values are set as ZOO_xyz but then in the config script all I see is ZK_xyz... Am I missing something?


async handle did not wait for closing

Found while experimenting with nuxt3.
In my nuxt app, h3 will use a lazy/promisify/async middleware handle, which will eventually be invoked in callHandle:
https://github.com/unjs/h3/blob/2805d4cc42d22c22c7798a41514aca5cceeb8e19/src/handle.ts#L18-L21
But async function will return a promise instance, if async handler does not send/close the response before they return, callHandle resolve immediately.
The following patch is helpful on my case:
--- a/node_modules/h3/dist/index.mjs
+++ b/node_modules/h3/dist/index.mjs
@@ -109,7 +109,7 @@ function callHandle(handle, req, res) {
     const next = (err) => err ? reject(err) : resolve(void 0);
     try {
       const returned = handle(req, res, next);
-      if (returned !== void 0) {
+      if (returned !== void 0 && !(returned instanceof Promise)) {
         resolve(returned);
       } else {
         res.once("close", next);

Suspect it is root cause of #21.

In latest (0.8+) version of h3, you should explicitly convert legacy middleware using h3.fromNodeMiddleware((req, res) => {}).


Update eval_table.py - fix type error

BTW, I'm liking this app quite a lot!

Ah thanks for the pull request! Didn't get a notification for it. So just saw it.


Remove drafts instead of moving them to the Trash on sending

Expected behavior
Sending a message that was stored in the Drafts folder should remove the Draft
Actual behavior
The draft is moved to the Trash folder.
Developer notes
See #1467

I don't think we ever want to move a draft to the trash folder, so this is probably much more straightforward than it was made out to be.

I don't know if it's just me but I feel like I end up with a half-written message in my trash/deleted folder every time I compose a message using K9.
Is there any purpose in doing that? I definitely want a drafts folder, but I see no reason to move any drafts to the trash, and I can't even image a reason one might want the draft in the trash after the final message has been successfully sent.

I think it was just written wrong originally.
I've actually rewoke my Android from the dead recently but I'm still snowed under with other projects.

Excuse my ignorance, is it a simple type of fix? If it is - I can try to help. I don't have any spare time either but I could dedicate a few hours to this.

@cketti I want to work in this issue, But I have one question on that:
How should be the behavior, if I delete a draft? Should it move to the deletion directory or should it delete compleatly too?

@schlagi123: Nice :+1:
I think discarding or deleting a draft should still move it to the trash folder.


An array property's changes did not reflect automatically.

Description
An array property's changes did not reflect automatically.
When the array property calls splice method, then it changes but its connected DOM did not.
Please look at Live Demo. It will more easy to understand than I explained.
What do I do?
Live Demo
https://stackblitz.com/edit/array-change-not-reflects
Steps to Reproduce

Expected Results

Rerender as it's connected property changed
Actual Results

DOM does not change even the property has been changed.
Browsers Affected

[x] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari 11
[ ] Safari 10
[ ] IE 11

Versions

lit-element: v0.6.0
webcomponents: v2.0.0

Thank you.
Hard-copying the array, then it works well.

Hello, I have a question, would it be better to copy the array/object or calling this.requestUpdate directly? Thanks

Fixed it by doing:
  onRemove(index) {
    console.log(`prev: `, this.myList);
    const myList = this.myList.slice();
    myList.splice(index, 1);
    this.myList = myList;
    console.log(`now: `, this.myList);
  }

@JSilversun I like calling requiresUpdate(), though you (and future readers) do have to understand the LitElement lifecycle for that.

RequestUpdate? Is that the recommendation? As opposed to using property accessors?

@justinfagnani did u mean requestUpdate or indeed requiresUpdate?

Sorry, I meant requestUpdate. There is no requiresUpdate.

Thanks for the clarification! I do it all the time this way, just never heard of requiresUpdate.


docker quickstart updates [#396, #397]

Closes #396
Closes #397
Code Changes

[x] Remove the references to fidesctl init in the docker guide - fidesctl isn't installed yet in this section of the guide
[x] Update the docker-compose.yml to the correct db url
[x] General copy updates

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation Updated:

[x] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Updated the docker compose file, confirmed it ran on a new project, and resolved the conflicts from main - @PSalant726 can you confirm this is the correct config for docker-compose.yml?


bug: Uncaught TypeError in console

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://million.dev/'
Open console

Expected behavior
Nothing in console
Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

OS: Arch Linux with i3 (😤)
Browser: Edge
Version: Version 112.0.1722.64

Additional context

Can I try to contribute?

you sure can. can you reply with the code sample of the problem code

Closing because issue does not have reproduction + due to inactivity. Please open another issue with a valid reproduction if you still have this issue.
https://antfu.me/posts/why-reproductions-are-required


wip: Support Fluentd v1

[ ] Fix errors related to old APIs
[ ] Support td-agent3

systemd, windows???

[ ] Update recommended plugins
and more

Update recommended plugins #226


Licence information

Hi, we are considering using Maxwell in the educational software GCompris. We could not find a license information, could you please clarify it.

Hey @bdoin so sorry for the very, very delayed response. Your message slipped under my radar somehow and I only just noticed it. I've added the MIT license to repository so feel free to use it as you wish.
Also, there have been several updates and bugfixes since your message. If you're interested, I'd be happy to hear more about what it is you're working on.

Anthony

 Sample Github


fix grpc json codes

jsonpbMarshaler.MarshalToString make enum type translate to string in response, and cause many problems in web side.

Surely this is going to cause more problems than it solves. Most people are expecting this to deal with proto types like oneof. Which doesn't work without this.

we can accept some options to marshaler to change it behaviour, but current pr brings problems with others


CI: Docker: Change context path for docker compose

Description

During the description that says us to navigate to:
git clone https://github.com/inovex/scrumlr.io
cd scrumlr.io/deployment/

We are finding that current directory will include docker dir, that incorrectly will not be found at docker-compose.yml
So it would be great to have correct path for one more level at the top
Changelog

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] The light- and dark-theme are both supported and tested
[x] The design was implemented and is responsive for all devices and screen sizes
[x] The application was tested in the most commonly used browsers (e.g. Chrome, Firefox, Safari)

(Optional) Visual Changes

@Lennart01 @mateo-ivc what do you think of this?

@Lennart01 @mateo-ivc what do you think of this?

This has already been resolved with #4401 but we can take over the changes for the docs

You're right. I'll resolve the conflicts and merge it then ✌

@mateo-ivc actually I just realized we had yet another update to the docker compose in https://github.com/inovex/scrumlr.io/pull/4521, are the changes here still relevant then?

@mateo-ivc actually I just realized we had yet another update to the docker compose in #4521, are the changes here still relevant then?
Not really, we could take the change in the docs, but since we need to make changes to the docs anyway, we could add it there.


[global] fix transform-runtime helpers import

Fixing the problem of incorrect helper imports
Description + Motivation and Context
Due to a bug in babel-runtime, not all helpers are imported correctly, instead, some of them are simply inlined INTO EVERY module, which affects code size and performance degradation
These are links to a detailed description of the problem
https://github.com/babel/babel/issues/10334
https://github.com/babel/babel/issues/10261
https://github.com/facebook/docusaurus/pull/2111
This fix will definitely improve code size and performance, but to make it even better, you need to get rid of babel-runtime-helper and use @babel/preset-env with properly configured browserslist, then native method will be used for the same code spread
How has this been tested?
All tests passed, build does not crash, website works locally
Screenshots (if appropriate):
Before:

After:

Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Thank you very much for work you have done!


誤変換　監理銘柄

Category of the typing issue
Choose one of them

Out-of-vocabulary (e.g. "夕日" is not in the candidate list at all).
Word ranking issue (e.g. "夕日" is in the list, but ranking is lower than expected).
Conversion issue (e.g. "夕日がきれい" is not converted as expected).
Others

Issues
Write issues to the following table. (It's in the markdown format)

input [e.g.ゆうひ]
expected [e.g. 夕日]
actual [e.g. ユウヒ]

かんりめいがら
監理銘柄
管理銘柄

Version or commit-id
[e.g. Mozc-2.28.4960.100+24.11.oss or d50a8b9ae28c4fba265f734b38bc5ae392fe4d25]
You can get the version string by converting "Version" or "ばーじょん".
Additional context

f396cde added words based on your feedback.
Thank you,


Network: gateway geneve

Description
This PR adds the container used to connect the gateway with geneve tunnels

/build

/merge


Support for short form hex colors for StyleSheets

The current implementation allows StyleSheet color properties to be set with hex strings or html color strings, for example
borderColor: '#d6d7da',
color: 'red'

However, short form hex colors do not work:
borderColor: '#ccc', // throws 'InvalidColorString'

Short form for hex colors should be supported for similarity to CSS.

Looks like the conversion just checks for a hash (#) and then assumes it'll be a six-character string:
https://github.com/facebook/react-native/blob/master/React/Base/RCTConvert.m#L360
Should be fairly easy to add a length check in there too and behave accordingly.

Yep. Thanks for the code reference. I've submitted a potential fix at #455.

Pull request merged internally.


On server start: Invalid version of rubyntlm. Please use v0.3.2+.

I am add this gem to my rails project and on run rails s:
ArgumentError: Invalid version of rubyntlm. Please use v0.3.2+.
and
/home/rails/.rvm/gems/ruby-2.2.0/gems/httpi-2.2.7/lib/httpi/adapter/net_http.rb:12:in `<top (required)>': Invalid version of rubyntlm. Please use v0.3.2+. (ArgumentError)

Solved on comment all others gems...


Clarify / explain communication channel and priority within open space

[x] Defaults when joining the organisation.
https://github.com/settings/notifications

Hint for adjusting added with 50c95b5.


When to open source code

Dear author, I'm interested in your work and wonder when you will open source your code.

+1

+1

Hello! My team and I are working on a publication about lossy data transmission in cooperative perception. Do you have any plans to publish your code in the near future? It would be very helpful for our work. Thank you!

Dear Author, I'm highly impressed by your project"Learning for Vehicle-to-Vehicle Cooperative Perception under Lossy Communication", and believe it could greatly benefit the community. Would you consider open-sourcing the code to foster further innovation and collaboration?

+1

+1


New Blog Post Input Prompt

User Story
AS A developer who writes about tech,
I WANT a CMS-style blog site,
SO THAT I can publish articles, blog posts, and my thoughts and opinions.

Acceptance Criteria
GIVEN a CMS-style blog site,
WHEN I click on the button to add a new blog post,
THEN I am prompted to enter both a title and contents for my blog post.

Complete. See PR https://github.com/nestibry/umnbc-mod14-mvc-tech-blog/pull/24


How to use action_restart in rasa_core version 0.10.4

Does default action 'action_restart' is supported by rasa_core version 0.10,4?

Yes. Please ask these kind of questions in our forum


how to use proxy for slyd

Hi all
I have been looking for quite a while on how to use a proxy with portia. I can configure slybot to use a proxy for crawling no problem. and have configured scrapyjs and splash middleware to use a proxy also and tested splash stand alone works fine. But i cant seem to find where portia fetches the page. i see QTNetworks but am sure i dont have to configure that. I have launched portia like so:
slyd --proxy-profiles-path=/vagrant/slyd/slyd/splash/proxy-profiles
vagrant@portia:/vagrant/slyd$ slyd --proxy-profiles-path=/vagrant/slyd/slyd/splash/proxy-profiles
[-] Log opened.
[-] Splash version: 1.8
[-] WARNING: Lua scripting is not available because 'lupa' Python package is not installed
[-] Qt 5.5.1, PyQt 5.5.1, WebKit 538.1, sip 4.17, Twisted 15.4.0
[-] Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]
[-] Open files limit: 1024
[-] Open files limit increased from 1024 to 4096
[-] Xvfb is started: ['Xvfb', ':1343', '-screen', '0', '1024x768x24']
[-] proxy profiles support is enabled,
proxy profiles path: /vagrant/slyd/slyd/splash/proxy-profiles
slyd.splash.proxy.ProxyResource instance at 0x7fbadf7bbd88
Site starting on 9001
Starting factory slyd.server.Site instance at 0x7fbadf7bbf80
But when i try to view a webpage in portia , it dose not use the proxy.
Please help me with this i have been looking into it for a while.
i have also tried adding middleware to portia/slyd/slyd/settings.py
DOWNLOADER_MIDDLEWARES = {
'slybot.splash.SlybotJsMiddleware': 725
}
Its probably some thing simple i am missing.
Thanks for any help it would be very much appreciated.

You can set up a proxy on your vagrant box. Supporting proxies within portia isn't possible at the moment


fix(core): IPC remote domain check bypassed by isolation iframe usage

A regression introduced in the last commit from #5918.

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[ ] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information

我现在就是http嵌套web 一直被拒绝访问 有什么办法解决在iframe内嵌时候


My-portfolio

In this project I did the following:

Create an index HTML file.
Create the styles.css file.
Modify the README.md file.
Add the MIT License to my project.

Thank you for your guidance and directives. We are learning a lot by doing these projects.

Hi  @.**,
Please help. I accidentally merge my feature branch with the main branch
before approval. Is there a way to revert it back?
*Thanks for your kind assistance. *
On Tue, Sep 27, 2022 at 2:38 PM Omar Salem @.***> wrote:

@.**** requested changes on this pull request.
Hi @WilhelmK109 https://github.com/WilhelmK109 😊,
Good job so far! 👏
You have done well reaching this point of the milestone, but there are
some issues that you still need to work on to go to the next project but
you are almost there!
[image: you-are-near]
https://camo.githubusercontent.com/24e9f6bcfc9c66d6f90ce4fc937ec10b7ba92a648dadb764fb2c37246d36fbce/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f53535231374b36795a5776474359726655682f67697068792e676966
Highlights

There is no linter error present ✔
The Pull Request has a proper title and description. ✔

Required Changes ♻
Check the comments under the review.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
In styles.css
https://github.com/WilhelmK109/My-portfolio/pull/1#discussion_r981174656
:

@@ -0,0 +1,110 @@

+body {

display: flex;

width: 375px;

line-height: 1.5;

background-color: #fff;

+}

Kindly add the following class in your code to prevent extra white
space in your project.

html,body
{
width: 100%;

height: 100%;

margin: 0px;

padding: 0px;

overflow-x: hidden;

}

Also consider adding a background image to match the Figma design

Your design Figma design
[image: image]
https://user-images.githubusercontent.com/53402600/192527528-42eac29a-abeb-453e-a696-e2b820109dd3.png [image:
image]
https://user-images.githubusercontent.com/53402600/192527625-b05e406a-a520-4dfc-8d21-dfe9a616c1ed.png
—
Reply to this email directly, view it on GitHub
https://github.com/WilhelmK109/My-portfolio/pull/1#pullrequestreview-1121888883,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARYYJW7KNWFDCPPH3WSXS6TWALTDDANCNFSM6AAAAAAQUMBGV4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Task: Remove tabindex attributes on site H2s and H3s

I belive we don’t need tabindex=-1 on H2s and H3s because they are not tabbable.

tabindex=-1 allows focus but not tabbing. It's weird.
Here's the implication for the current version of page-navigation component. When a reader selects a link in the page-navigation component, we need the browser's focus to shift to the relevant section of the document. If the reader hits tab after selecting a page-navigation link, we want the focus to go to the next link (or whatever tabbable thing) where the reader is actually reading.
Before, the focus would stay in the page-navigation widget. So upon tabbing again, the page focus would shift back up to the next link in the page-navigation component. The whole page would scroll away from where the reader was reading upon hitting tab again.
We fixed this in #670 by using JS to ensure the focus, or "next focus", would go to the correct part of the page after clicking a page-navigation link. Upon hitting tab again, the page does not shift back up to the page-navigation widget. This is where tabindex=-1 and .focus() play their part.
None of this is necessary on the component pages (like the one in your link) because the page-navigation component isn't on those pages. Pages with the page-navigation component, like the About page, would be a better example. However, we need to add tabindex=-1 to headings in the markdown processor for all pages, even those that don't have the page-navigation component. It should be safe, if superfluous.
I agree it's annoying to need to put tabindex=-1 on all of our headings, and also annoying that we use .focus() instead of just relying on the browser's anchor linking. We'd need to rewrite the page-navigation component to overcome the above concerns. I'm on board with addressing this. I'm just trying to say it's more work than meets the eye.


Auction UI still showing "Selling" when disabled

When I disable selling in the configuration file and only enable bidding, it still shows the selling uI when using /ah, not entirely sure why this is a thing.
https://i.imgur.com/6NpdCW6.png

Added to project board.


copy files on macOS X return error: "could not copy extended attributes"

When I try to copy file to a utahfs-client mounted folder on macOS X with latest version utahfs-client binary, and the command cp returns with error:
# cp **** .
cp: ****: could not copy extended attributes to ./****: Operation not permitted

while utahfs-client printed following logs:
# utahfs-client -cfg ~/.utahfs/utahfs.yaml -mount ~/utahfs
Password:
2020/06/28 15:01:52 main.go:73: filesystem successfully mounted
fuse: 2020/06/28 15:01:52 connection.go:499: *fuseops.GetXattrOp error: function not implemented
fuse: 2020/06/28 15:02:00 connection.go:499: *fuseops.ListXattrOp error: function not implemented
fuse: 2020/06/28 15:02:49 connection.go:499: *fuseops.SetXattrOp error: function not implemented

This happens because UtahFS doesn't support a filesystem feature known as "extended attributes." Despite the error message, you should still see that the file copied over fine and that the error messages aren't really a problem. I'll leave this open and tag it as an enhancement in case someone wants to add support


update sequence generator to support generation from a language model

This is a simple update for the sequence_generator.py script to support generation from a language model trained on the target vocabulary. Changes include:

Clone max_positions for source / target if it's set by a monolingual  LM;
Set the encoder output dictionary to None when using LM;
Check for None values of encoder output dictionary when calling reorder_encoder_out
Assert targets are given for adaptive softmax only at training time;
Copy attention values only if provided by the decoder model;
Squeeze the probs tensor instead of decoder_out as the adaptive softmax probability function expects 3D inputs.

This is a follow up on the issues: #213 and #212. I'm basically replicating the LM results from the hierarchical story generation paper (https://arxiv.org/abs/1805.04833), but I can't find the LM generation code in the repo. I'd appreciate if @huihuifan can take a look at this, in case it's a replicated or redundant pull request.

The experiments from the story paper were actually run with luatorch, but I wanted a PyTorch code release because most people use PyTorch now. @alexeib implemented the convlm model in PyTorch as well (I had it in Lua as well when we originally worked on that paper). Will take a look right now. @alexeib as well?

Cool! @alexeib already covered all the comments I'd have. Please also make sure the integration tests pass: python setup.py test.


Add minor stylistic fixes

Hope it's ok, otherwise I'll close this.
Not sure about the change to value receiver in ChainError also but compiles, I'll revert that in case.
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

ping @icecrime I don't know who other to include here because this pr is not really needed

LGTM but I'm sure @LK4D4 will catch anything that can possibly be caught ;-)

I'm sure as well :smile:

LGTM


Choose a branding color

Ref: Choose a branding color · gaepdit/air-web · Discussion #4

AH - I changed the Status to Complete to test how the workflow works.  It has been reopened.


Reset link not working

Hi,
I tried to reset my password using the following link:
https://readthedocs.org/accounts/password/reset/
But I've never received the email (not even in spam).
I tried a few times on several days, but I'm still unlucky.
It looks like this issue is similar to issue #1792
Any idea on how to recover?
Thank you in advance.
C.

Is this still an issue? We haven't had any problems with our outbound email, maybe this is a straight forward content filtering issue.

Hi agjohnson. Indeed it's still an issue. Tried today 2016-01-04 at 13:30 and 13:45 (GMT+1) without success. We're using Google Apps email accounts. No content filtering and nothing in spam either. Could you please check the outbound mail again? Thanks in advance.

Not sure this is related, but I deployed a fix for a similar problem today. If you are still not receiving mail after this change, I would guess that this is a problem with your mail provider dropping the email from us. Feel free to reopen if we can change anything to allow for delivery.


Issue/519 Tabs show home instead of webpage

Task/Issue URL: https://github.com/duckduckgo/Android/issues/519
Tech Design URL: N/A
Description:
The root cause of the issue seemed to be not setting the 'browserShowing' view state when view gets restored. That led to home screen showing even for tabs with url as the default setting is false.
Added a trigger to set 'browserShowing' to true if there is an url after view restore.
Steps to test this PR:

Turn on the "Don't keep activities" in developer settings
Open a few webpages in separate tabs and switch between them

Internal references:
Software Engineering Expectations
Technical Design Template

Many thanks for submitting this 🙌, I'll PR it next week.

Great work, thanks for submitting this!


Inline optimizer should not run too much

I.e. maybe it should turn off if there are more than 5 instances?

But if there are 5 instances of 2 lines, that's just 10 more lines (but maybe even just 5 lines after optimizations)... heuristics are difficult.
I found a reference that says the C# inliner won't inline if it's less than 32 bytecodes. I can't find a reference that mentions a limit on the number of times it will inline...
I also thought about comparing the total # of lines: say a 7-IL proc called 5 times, becomes 35 new lines, less 7 (maybe even more than 7 less, because of the jumps) = 28. Originally it was 7 + 5=12 lines.


TRAINVM-253 #resolved #time 30m

The release of this will need to be coordinated with courseware rake changes.

I'm going to hold off on this until we get the courseware release coordinated


k8s: label constraints on addons

Before we can support clusters with both linux and windows nodes, we need to have os label constraints on the addons.

assigning as won't fix since I use "nodeSelector: beta.kubernetes.io/os" to choose between windows and linux.
Please re-open if we should provide another way to select OS.

The solution proposed only works for K8s. Are there equivalents for Swarm and Mesos?

DCOS does not support windows.  For Swarm-Mode, please determine if this functionality does not exist and then file a separate issue to distinguish between Windows and Linux if it doesn't.


[many ports] Fix port installation conflicts

Fixes https://github.com/microsoft/vcpkg/issues/40559

Fix installation conflict between dbg-macro and c-dbg-macro.
Fix installation conflict between ijg-libjpeg and libjpeg-turbo.
Fix installation conflict between range-v3-vs2015 and range-v3.
Fix installation conflict between signalrclient and microsoft-signalr.

[X] Changes comply with the maintainer guide.
[ ] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

Compile test pass with following triplets:
x64-windows
x64-android

You must also check that one of each conflicting pair is marked as  skip in ci.base.line.txt for all supported triplets. (fail isn't enough if both could be installed.)

You must also check that one of each conflicting pair is marked as skip in ci.base.line.txt for all supported triplets. (fail isn't enough if both could be installed.)

Okay, I have checked the markings for each conflicting pair in ci.baseline.txt and marked one of them as skip.