Testing installation

Rasa NLU version
0.10.4
Used backend / pipeline (mitie, spacy_sklearn, ...):
Operating system
windows
Issue:
curl 'http://localhost:5000/parse?q=hello'
curl: (1) Protocol "'http" not supported or disabled in libcurl
curl 'https://localhost:5000/parse?q=hello'
curl: (1) Protocol "'https" not supported or disabled in libcurl

Can you try with double quotes?
https://stackoverflow.com/questions/6684235/perl-curl-1-protocol-http-not-supported-or-disabled-in-libcurl

Double quotes work.
C:\Users\Dorai>curl "http://localhost:5000/parse?q=hello"
{"intent": {"name": "greet", "confidence": 1.0}, "entities": [], "text": "hello"}
C:\Users\Dorai>
Should we change it in the documentation? Do you want me to do a pull request?

PR would be great.

Done. This is my first pull request. Not sure about the right etiquette. So
created a branch.
https://github.com/doraithodla/rasa_nlu/pull/1
-- Dorai
http://www.doraithodla.com/
http://lbok.in/
LinkedIn Profile http://www.linkedin.com/in/doraithodla
@dorait https://twitter.com/dorait
http://lbok.in/
On 2 November 2017 at 20:11, Caleb M. Keller<EMAIL_ADDRESS>wrote:

PR would be great.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/RasaHQ/rasa_nlu/issues/669#issuecomment-341613943,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFTyns5E-XAqwhD6X2KBWx0pa-iFQevtks5syoR8gaJpZM4QMJHJ
.


Support Statemint

Add menu and make sure other things work well with Statemint

related issues
#896
#909


Is there any way to quickly switch monitoring when switching WiFi

The current idea is to shut down the current process and restart it

Is there a convenient and quick way without shutting down the current process


Theme to list down all the tips via index

List all the content via an index and easily readable format for the study purpose.

Automatically generate - content file using GithubActions
-> Create one yourself if not available.

Generating Readme file from the data automatically as of now
TODO: Try to see if jekyll theme can list it out beautifully

Done!!! Also, moved the site to /random


boards/intel_s1000_crb: fix Python string format

Fix the support script to actually use Python string formatting,
instead of C-style printf().
Signed-off-by: Daniel Leung<EMAIL_ADDRESS>

Codecov Report

Merging #13414 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #13414   +/-   ##
=======================================
  Coverage   48.56%   48.56%
=======================================
  Files         319      319
  Lines       46565    46565
  Branches    10761    10761
=======================================
  Hits        22615    22615
  Misses      19360    19360
  Partials     4590     4590

Continue to review full report at Codecov.

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


libpqxx: 6.3.1 -> 6.3.2

Motivation for this change
https://github.com/jtv/libpqxx/releases/tag/6.3.2
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

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

Closing in favor of #56663 .


add Bitbucket to home page

https://cml.dev/ "CML Use Cases" only has GH & GL (missing BB) runners.

[ ] add Bitbucket tab to https://github.com/iterative/cml.dev/blob/master/src/components/pages/Home/UseCasesSection/index.tsx

[x] basic demo repo (https://bitbucket.org/iterative-ai/cml-base-case, also used in https://cml.dev/doc/usage?tab=Bitbucket)
[ ] DVC demo repo (also should be used in new tab in https://github.com/iterative/cml.dev/blob/master/content/docs/cml-with-dvc.md)
[ ] Tensorboard demo repo
[ ] Runner demo repo (https://bitbucket.org/iterative-ai/cml-cloud-case?)
[ ] Runner GPU demo repo (use TPI directly?)

[ ] add to Bitbucket "example projects" section https://github.com/iterative/cml.dev/blob/master/content/docs/usage.md

Just a couple relatively off-topic notes wrt terminology (sorry, it may be annoying but I think we also want to make sure we're talking the same language):

I call cml.dev/ the home page. To me landing pages are other pages intended to capture new traffic for the site (e.g. use case pages in dvc.org/doc, which brings me to...)

The "Use Cases" here are a bit low-level. I would not really call these "use cases".

Going with Wikipedia on this one 😋: "situations where a piece of software may be useful"; to me this means very general, high-level situations. It may well be that there's a single one e.g. CML let's you do ML on CI/CD.

hmm, levels to me:

highest-level: features (currently should be on "home" pages but often neglected)
high-level: scenarios/problems
mid-level: use cases
low-level: user guide
lowest-level: cmd ref

worth discussing, wonder if worth cross-posting somewhere else (cough https://github.com/iterative/dvc.org/issues/144)

high-level: scenarios/problems

That's what I mean by use case. Happy to change our official terminology if we can get more people to agree.

mid-level: use cases

Yes there's also the more technical use of the term "use case" (as in UML diagrams), if that's what you're thinking.

wonder if worth cross-posting somewhere else

https://www.notion.so/iterative/Framework-7e86e484e50e42529df3dbfe32b4e987#cc1d6d4ea1c2408d9892d7954aa98b12 🙂 (not a great place for discussions though).

Worth mentioning https://github.com/iterative/cml-examples-dev

Worth mentioning https://github.com/iterative/cml-examples-dev

Indeed I have a question. Do I have to create the repos? It's not that repo generating that for us? @0x2b3bfa0

No, you don't have to do anything. The cml-examples-dev generator is in charge of both creating and provisioning the repositories.

Ok so according to this I should just make a PR a slightly alter the yaml in BB

Yes, please open pull requests with whatever changes you want and grab the repository links from the table in the README.

@0x2b3bfa0 are you going to push https://bitbucket.com/iterative-test to https://bitbucket.com/iterative-ai? Specifically these:

https://bitbucket.org/iterative-test/cml-example-dvc
https://bitbucket.org/iterative-test/cml-example-tensorboard

(currently blocking #362)

@0x2b3bfa0 are you going to push https://bitbucket.com/iterative-test to https://bitbucket.com/iterative-ai?

Do I have the choice? 😂


Other consoles should support ping wget and curl commands

We should support the ping curl wget command in other consoles.
The test results in RancherOS v1.5.1 are as follows:
alpine console:

ping --support
wget --support
curl --support

centos console:

ping --support
wget --nonsupport
curl --support

debian console:

ping --support
wget --nonsupport
curl --support

fedora console:

ping --nonsupport
wget --nonsupport
curl --support

ubuntu console:

ping --nonsupport
wget --nonsupport
curl --support

Tested with rancher/os:v1.5.2-rc1 from May 20
This version of the other console support ping wget and curl commands.
Verified fixed


feat: improve public key recovery for advanced mode on Arbitrum

In #293 we introduced the following change/limitation to supporting sending to a user's standard address on Arbitrum. From getSentTransaction in umbra-js/src/utils/utils.ts:
// Skip the first outgoing transaction if we are on Arbitrum. This is because the first one may be a
// bridge deposit transaction, which is a "fake" transaction in the sense that it's chain ID, r, s,
// and v values are all zero, since it's not an actual signed transaction from the account, and
// therefore you cannot recover the public key from it.
// NOTE: An alternative approach here is to traverse the history in the reverse order, but this is
// a more significant change than just skipping the first transaction and would require testing this
// functionality on all supported chains to ensure we did not break anything. This means there's
// currently a limitation that accounts must have sent at least two transactions for this to work on
// Arbitrum.

The scope of this issue is:

Traverse history in the reverse order by default
Test sending directly to a pubkey on all supported networks
We can also recover the pubkey for an EOA from any chain--consider supporting that in the same PR for this

Closing, this will end up getting resolved in https://github.com/ScopeLift/umbra-protocol/pull/293


fixing typo in modules/core/client/directives/page-title.client.directives.js

fix(modules/core/client/directives/page-title.client.directives.js): typo
Fixes #1332

Coverage remained the same at 70.615% when pulling 1752b67687650555ef4135e7efe44612009ad63d on aanev:master into e3572d2ef0127fc236a5acf6c541fe035f0ce0df on meanjs:master.

@aanev I can't rebase this PR for you - you need to make sure you are pushing only 1 commit and that the commit message is styled correctly (take a look at our contribution guidelines or other commits)

I made a new PR pushing a single commit. I guess it's OK now. Do excuse me for the mess.

Ok, closing this one.


Improve popup UI

The UI works fine in most cases, but there are some things I think it can improve user experience as well fix some bugs related. Here are some ideas:

Get rid of the hiragana next to the word and use the pitch accent graph below the word, or put furigana above the word instead.
Set a maximum width and height for the popup, so it doesn't go off-screen and takes up less space (ex.  mobile devices). This would require some CSS changes.

If I come up with more ideas, I'll add them here. Let me know what you think, and I could even start working on these changes.

Already asked Kou for furigana on words, but unfortunately there is no API to get them yet

Definitely :+1: on the popup height and mobile accessibility. All help on mobile support is super appreciated.

Starting with version 11.0, popup height is now limited and scrolling is enabled. Not sure how this interacts with mobile currently.


Example doesn't support IHostingStartup

In the section "Accessing options during startup" it states, "IOptions and IOptionsMonitor can be used in Startup.Configure." However this is not true when using a Hosting Startup Assembly. This is because you must implement IHostingStartup which requires a single IWebHostBuilder parameter in Startup.Configure().
I would suggest mentioning this and providing an alternative to access the options in this case.

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

ID: ed39cb0e-aa85-8bba-ffb4-859b56a60723
Version Independent ID: dc7e3449-650b-d117-5eac-69e5ccb250cb
Content: Options pattern in ASP.NET Core
Content Source: aspnetcore/fundamentals/configuration/options.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

using a Hosting Startup Assembly:

is not typical of most readers.
Is an advanced scenario, that advanced users like yourself can figure out.

cc @serpent5, the author, to see if he disagrees.


LNURL-auth with BlueWallet

Describe the bug
Using LNURL-auth currently leads to different identities when you import your Alby account into BlueWallet.
To Reproduce

Go to lightninglogin.live (or any other site with LNURL-auth support)
Login with your Alby extension and remember the generated identity
Logout
Import your Alby account into BlueWallet
Try to login again by scanning the QR-Code with BlueWallet
The identities do not match

Expected behavior
The identities generated from step 2 and step 5 should be the same.
Are you working on this issue?
No.

this is known and fixed in https://github.com/getAlby/lightning-browser-extension/pull/968
We had updated the key generation to follow the scheme with bluewallet (because with custodial wallets the key is derived from the login/password).
But we still did use an invalid hash.
the problem with this is: how to best roll it out. because it would break the login for existing users.

Ahh, okay. Isn't that somehow the same as with the legacy signing option we already have in Alby? Can we maybe even change the signing key based on this setting, too?

The sooner we switch the less people are impacted by this change, right?

that legacy singing was when we changed the way we generate keys to be compatible with bluewallet.
It is related, but not the same.
Yes, the sooner the better.

I see. How about adding another setting and putting them in some separate section of the settings page that is a little less prominent than the current one and remove them in some months?
That way we would offer a migration path for existing users but don't overwhelm new users with those settings.

Closing as out of date.


Disabled flaky unit test

Category
This change is exactly one of the following (please change [ ] to [x]) to indicate which:

[X] a refactoring

Description
I commented out a unit test that was randomly failing
Testing
Required verification:

[X] I've verified that there are no regressions in mvn test (there are no new failures or errors).
[X] I've verified that this change works as intended.

[X] Downloads all relevant content.
[X] Downloads content from multiple pages (as necessary or appropriate).
[X] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.

[X] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

[ ] I've added a unit test to cover my change.

Coverage decreased (-0.1%) to 31.573% when pulling f51d9c03e933674e93094f709290b6e3c2edfc70 on cyian-1756:wordpressunittest into a4880ecf804fb91a0c559e38351556cb0641e20f on RipMeApp:master.


[功能请求]增加字体尺寸选项；增加笔的粗细选项；

笔太粗，字体太小了，用笔来写字，字会很大，用文本工具输入，字体就很小，两者不能契合在一起；

If I understand correctly, then what you can do is resize the text using the resize handles, which will scale the font size up.

Me too. I need to configure bold.

Duplicate of https://github.com/excalidraw/excalidraw/issues/5138


a : unstyled (or link : unstyled)

Throwing out a tiny mixin to possibly include, for resetting the styling of anchor tags.
I regularly need to reset styling for <a> tags at the class-level, like so:
.my-link-class {
    text-decoration: none;
    color: inherit;
}

I've made a tiny mix-in for it, inspired by scut-list-unstyled. I reach for both of these regularly.
Any interest? Would be quick for me to whip up.

If you would find this useful and pull off a PR, I'm happy to add it. Thanks.

+1, if you find it useful then there are probably others that will benefit

OK cool. I'll smash it out on the weekend!

Any plans to merge this? If you don't, I'm going to, soon enough. I wanted to reach for it today :)

@jonscottclark sorry mate, totally blanked. will smash it out now. Gotta do my bit for open source! :)

Smashy smashy! :facepunch:
Thanks @timiyay !

Done in 1.3.0


MINOR Text fixes in docs

Remove value from the name of param (flush), fix pipe symbol (showqueries)

Thanks @michalkleiner!


[language][functional tests] allow overiding sequence number per transaction & migrate some epilogue tests

Summary
This adds an option to override the sequence number in tests per transaction. (By default, the current sequence number will be used.) Two old tests that require this feature are also migrated.
Test Plan
cargo test
Related Issues
#789

:umbrella: The latest upstream changes (presumably a68d7236db252405d1d1fc5f5c4593f120b8e3ae) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=tzakian

:pushpin: Commit e899603 has been approved by tzakian

:hourglass: Testing commit e89960352619068c65b78ff494b5d1c5ce0c0448 with merge 3d6238bb8daff37ee4beaf45e023b4afa71c4a71...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: tzakian
Pushing 3d6238bb8daff37ee4beaf45e023b4afa71c4a71 to master...


I use Pyinstaller to freeze my script into a Unix file, and execute the Unix file. Installation of the certificate fails.

Problem Description
I want to freeze my custom mitmproxy service into a Unix file for others to use. When I typed mitm.it in the browser of an Android device to install the certificate, the following problem occurred:
--- Logging error ---
Traceback (most recent call last):
  File "flask/app.py", line 2447, in wsgi_app
  File "flask/app.py", line 1952, in full_dispatch_request
  File "flask/app.py", line 1821, in handle_user_exception
  File "flask/_compat.py", line 39, in reraise
  File "flask/app.py", line 1950, in full_dispatch_request
  File "flask/app.py", line 1936, in dispatch_request
  File "mitmproxy/addons/onboardingapp/__init__.py", line 14, in index
  File "flask/templating.py", line 138, in render_template
  File "jinja2/environment.py", line 930, in get_or_select_template
  File "jinja2/environment.py", line 883, in get_template
  File "jinja2/environment.py", line 857, in _load_template
  File "jinja2/loaders.py", line 115, in load
  File "flask/templating.py", line 60, in get_source
  File "flask/templating.py", line 89, in _get_source_fast
jinja2.exceptions.TemplateNotFound: index.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "logging/__init__.py", line 1084, in emit
TypeError: a bytes-like object is required, not 'str'
Call stack:
  File "threading.py", line 890, in _bootstrap
  File "threading.py", line 932, in _bootstrap_inner
  File "threading.py", line 870, in run
  File "concurrent/futures/thread.py", line 80, in _worker
  File "concurrent/futures/thread.py", line 57, in run
  File "asgiref/sync.py", line 462, in thread_handler
  File "asgiref/wsgi.py", line 140, in run_wsgi_app
  File "flask/app.py", line 2464, in __call__
  File "flask/app.py", line 2450, in wsgi_app
  File "flask/app.py", line 1871, in handle_exception
  File "flask/app.py", line 1891, in log_exception
  File "logging/__init__.py", line 1463, in error
  File "logging/__init__.py", line 1577, in _log
  File "logging/__init__.py", line 1587, in handle
  File "logging/__init__.py", line 1649, in callHandlers
  File "logging/__init__.py", line 950, in handle
  File "logging/__init__.py", line 1089, in emit
Message: 'Exception on / [GET]'
Arguments: ()
192.168.xxx.xxx:46364: GET http://mitm.it/

This is my script mitm_async.py
class MetaHttp:
    pass

def main():
    myaddon = MetaHttp()
    # prot = sys.argv[1]
    prot = '8888'
    opts = options.Options(listen_port=int(prot))
    pconf = proxy.config.ProxyConfig(opts)
    m = dump.DumpMaster(opts)
    m.server = proxy.server.ProxyServer(pconf)
    m.addons.add(myaddon)

    try:
        m.run()
    except KeyboardInterrupt:
        m.shutdown()

if __name__ == "__main__":
    main()

This is my freeze command:
pyi-makespec -F --name mitm mitm_async.py
Steps to reproduce the behavior:

freeze the script
Execute Unix file
Android device connection proxy
Device browser input: mitm.it

System Information
Paste the output of "mitmproxy --version" here.
Mitmproxy: 6.0.2
Python:    3.8.0
OpenSSL:   OpenSSL 1.1.1i  8 Dec 2020
Platform:  macOS-10.15.7-x86_64-i386-64bit
It looks like I didn't pack the static files in when I freeze the program, and I executed the script without error.

We have a few special PyInstaller hooks at https://github.com/mitmproxy/mitmproxy/tree/main/release/hooks. I'm happy to merge a PR where someone integrates them properly, but it's not a priority for us.
Repackaging mitmproxy is nothing we really intend to support, so I'm closing this here.


implement SpecialPickerType.noSelection

implement SpecialPickerType.noSelection
Motivation
"No Selection Mode" is meant for use cases when the user of the library does not need to implement asset picking, but just a view of the assets.
The concept alone may be questionable, but this work will be succeeded by allowing the user of the library to add custom actions per asset (like sharing button, or saving asset-ID).
The feature is implemented separately for the sake of modular development.
Effect
SpecialPickerType.noSelection disables the selection buttons from the grid view and from the asset view.

I am implementing the succeeding feature and I noticed I want to change the name of this flag for something more explanatory,
I will change it and reopen the PR


converted native profile(.py) to yaml | Different packet length shows in GUI packet editor.

Hello, Egor.
Description:
I am converting native(.py) stl traffic profiles to YAML files to test it in stateless GUI.
Created a basic traffic profile with payload size of 1000 bytes and converted it to YAML through ./stl-sim tool and verified packet length in GUI packet editor.
Expected Behavior:
GUI-Packet Editor expected to set packet length as defined in the native profile.
Actual Behavior:
Different packet length shows in GUI packet editor
Steps to Reproduce:
On importing the YAML file in stateless GUI, could verify the length is 1046 bytes initially.

When try to edit the stream in packet editor, the packet size changes to 51 bytes.

Clicking save, changes the packet size to 51 bytes.
The issue same in all the native profiles that has payload set in packet construction.
Version:
trex-core: v2.44
Stateless GUI: v4.4.1
Files checked:
traffic_yaml.zip
Thanks and Regards,
Mohan

Hi,
Checkout latest release v4.4.2.
There was an issue with payload import, it wasn't imported, and was being overwritten by default "dummy" payload, now it imports correctly.
Thanks & regards,
Egor.

Hi Egor,
Thanks, issue has resolved.
Regards,
Mohan


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.4 to before v5.15",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4e3b0468e6d7f3c38ce52320803769b49ba87930",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=52849bcf0029ccc553be304e4f804938a39112e2"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "4e3b0468e6d7f3c38ce52320803769b49ba87930",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "52849bcf0029ccc553be304e4f804938a39112e2",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: mscc: ocelot: avoid overflowing the PTP timestamp FIFO\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15 by commit 52849bcf0029ccc553be304e4f804938a39112e2, it was introduced in version v5.4 by commit 4e3b0468e6d7f3c38ce52320803769b49ba87930. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002163


Messages feature should be configurable by organization

Fixed in feature-conversation

Done in https://github.com/mumuki/mumuki-office/pull/47


SnowFlakes Example Clarity

Using a consistent id name and show a constructor might be helpful for understanding

Thanks!


Initial support for installing Poetry dependency groups

Closes https://github.com/cjolowicz/nox-poetry/issues/663

Does this library have a policy on minimum supported Poetry version (MSPV 😆)?
I was wondering if the preference would be to drop support for Poetry 1.x in a future release to keep the code cleaner? Probably a question for @cjolowicz

See also:

#1080

Closing in favor of https://github.com/cjolowicz/nox-poetry/pull/1080


Chore/align folders with react starter

@SethDavenport @neilff @andrewdamelio @kosz @rbrander
I've changed the directory structure and some parts of package.json to align this one with what you have been doing in react-redux-starter

:shipit:


App Service CORS vs. your CORS

https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-rest-api#app-service-cors-vs-your-cors
This section of the document states that to use your own CORS configuration, then not to use APP Service CORS.
But it does not state how to actually do that.
Do I need to allow all (*) origins on App Service and let my app filter the origins?
What about the access control header?
Here's my current setup, but I'm not sure if the CORS requests are failing because App Service is blocking the request, or if my app isn't setup correctly and is not responding to the preflight request.

app.UseCors(builder =>
            {
                builder.WithOrigins(appSettings.CorsOrigin)
                    .WithExposedHeaders("Set-Cookie")
                    .AllowAnyHeader()
                    .AllowAnyMethod()
                    .AllowCredentials();
            });

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

ID: dbcc24f0-9856-a7db-f229-c383e5e5c57d
Version Independent ID: 55d51b2a-c8fe-086e-a1c2-b0592f57967c
Content: Tutorial: Host RESTful API with CORS - Azure App Service
Content Source: articles/app-service/app-service-web-tutorial-rest-api.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

Hi @philip-reed, enabling CORS on the App Service will overwrite what you're using in the UseCors middleware. Can you include what appSettings.CorsOrigin is set to?

I think I have figured it out, the problem was that I still had the * in the allowed origins.
Once I removed that, the application configuration for CORS worked as expected.
So for application CORS config to work, the CORS settings in app service need to be completely empty:

Glad to hear that @philip-reed. The checkbox doesn't enable/disable the origins; it's for Access-Control-Allow-Credentials.


Add JSONSplitter

For reference, https://project.marklogic.com/jira/browse/JAVA-165
From Jira task,
"

Large sets of records are often serialized as a single JSON data structure (typically, an array containing an object for each record).
For that reason, adopters should be able to split an JSON file into separate payloads for writing to the database.
Each payload must be buffered because the application might accumulate a batch of payloads before sending the payloads to the server.
The design should resemble the design of the XML splitter in that the JSON splitter will walk the data structure tree, notifying a visitor about container nodes so the visitor can decide whether to split out the container node as a separate payload and how to represent that payload (which can matter if the application needs to change or inspect the payload downstream).
One important difference is that a JSON data structure tree has two kinds of container nodes (arrays and objects) where XML only has one (elements). When an array contains other arrays, the visitor might need to know the depth to decide whether or not to split out the container node as a payload. The developer should track array depth within multidimensional arrays in their visitor.

"
So we can address your issue, please include the following:
Version of MarkLogic Java Client API 5
See Readme.txt
Version of MarkLogic Server 10
See admin gui on port 8001 or run xdmp:version() in Query Console - port 8000)
Java version 8
Run java -version
OS and version
For MAC, run sw_vers.
For Windows, run  systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
For Linux, run cat /etc/os-release and uname -r
Input: Some code to illustrate the problem, preferably in a state that can be independently reproduced on our end
Actual output: What did you observe? What errors did you see? Can you attach the logs? (Java logs, MarkLogic logs)
Expected output: What specifically did you expect to happen?
Alternatives: What else have you tried, actual/expected?

Tests are written and they are part of all splitter tests.


Completion: Several problems regarding type formatting

In the completion popup, specially for functions, the type hint may be ok for simple signatures, but it easily gets messy for complex ones. Here you have an example for Seq.fill:
What Intellij Idea reports:

What ensime-vim reports:

I can see a few problems so far:

[ ] Only the first entry is shown for overloaded functions (but all are present in server's response)
[ ] Type parameters are not included at all
[ ] Only the first argument list is used
[ ] Fully qualified names are used which gets pretty unreadable

Now that ensime/ensime-server#1468 has been merged these problems seems quite simple to solve. I will start working on it and hopefully I'll be raising a PR in a few days.

Sounds great. Please ask if you get stuck.
On Jun 3, 2016 08:25, "Gastón M. Tonietti"<EMAIL_ADDRESS>wrote:

In the completion popup, specially for functions, the type hint may be
ok for simple signatures, but it easily gets messy for complex ones. Here
you have an example for Seq.fill:
What Intellij Idea reports:
[image: screen shot 2016-06-03 at 9 59 43 pm]
https://cloud.githubusercontent.com/assets/1324947/15777970/907c371a-29d6-11e6-8507-a0c4ad3606ca.png
What ensime-vim reports:
[image: screen shot 2016-06-03 at 9 18 01 pm]
https://cloud.githubusercontent.com/assets/1324947/15777613/1e5b03b6-29d4-11e6-9883-7b3238f4e428.png
I can see a few problems so far:

Only the first entry is shown for overloaded functions (but all are
present in server's response)
Type parameters are not included at all
Only the first argument list is used
Fully qualified names are used which gets pretty unreadable

Now that ensime/ensime-server#1468
https://github.com/ensime/ensime-server/pull/1468 has been merged these
problems seems quite simple to solve. I will start working on it and
hopefully I'll be raising a PR in a few days.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ensime/ensime-vim/issues/273, or mute the thread
https://github.com/notifications/unsubscribe/AFH9dTQROn4MlMegBVRzDfail5bUSJn8ks5qIB0tgaJpZM4Iteuo
.

Regarding the "fully qualified names" issue, you can work around it by using the ensime command EnToggleFullType.

@jvican I checked the code and it formats the signature directly using the "sections" field which only has the full names and is hard to manipulate due to its lack of structure.
On a side note, I don't think it's necessary to make it configurable. 93% of the times, full names in the signatures is useless and confusing. I saw this number once in a Harvard research :P

Well, today I was able to make some progress, and this is the result so far:
Before

After

It's almost finished, I'm only missing a way to add the type params to the generic methods, but I cannot figure it out with the actual structure of typeInfo. I've already asked about it in ensime-server gitter channel.
I have a few more improvements in mind but I'll propose them in separate issues/PRs.
Cheers.

Adding type params list to methods signature is not possible with the available information in the response.
It will need some work on the server first. So let's track it with #276

looking good so far...
On Mon, Jun 6, 2016 at 1:11 PM Gastón M. Tonietti<EMAIL_ADDRESS>wrote:

Adding type params list to methods signature is not possible with the
available information in the response.
It will need some work on the server first. So let's track it with #276
https://github.com/ensime/ensime-vim/issues/276
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ensime/ensime-vim/issues/273#issuecomment-224041025,
or mute the thread
https://github.com/notifications/unsubscribe/AAAdPLT8zLcLEmZAaRRakRiappIfU36Cks5qJGLugaJpZM4Iteuo
.

btw you might want to consider using :name instead of :full-name to keep the completion view manageable! :smile:


feat: move to read-package-json-fast

This moves away from read-pkg to a much, much lighter package maintained by the npm team themselves (read-package-json-fast).
Saves us ~90k of install size and the time spent fetching the 15-20 dependencies read-pkg has

Right on, let's see if it breaks anything in CI.

Codecov Report
Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (79e2c97) 96.82% compared to head (62b8703) 95.83%.
Report is 16 commits behind head on master.

Files
Patch %
Lines

lib/run-task.js
84.81%
12 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
- Coverage   96.82%   95.83%   -1.00%
==========================================
  Files          35       34       -1
  Lines        2080     2064      -16
==========================================
- Hits         2014     1978      -36
- Misses         66       86      +20

Flag
Coverage Δ

macos-latest-18
?

ubuntu-latest-18
95.83% <85.00%> (-0.53%)
:arrow_down:

windows-latest-18
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Looks good, will test locally and release tomorrow.

Thanks so much for taking a look so soon! 🙏

No problem. I'll take all the easy, future facing improvements this can get!

Give https://github.com/bcomnes/npm-run-all2/releases/tag/v6.1.2 a shot.


Upgrade camera image packages

Title: Upgrade camera and image packages to latest versions
Body:
This pull request updates the camera and image packages to their latest versions (0.10.5 and 4.0.17 respectively).
Changes:

Updated the camera package to version 0.10.5
Updated the image package to version 4.0.17

Motivation:
Updating these packages ensures that our project benefits from the latest features, enhancements, and bug fixes provided by these versions.
Testing:
All unit and integration tests pass with these updates. Please note that the example has not been updated, but the changes should not affect its functionality.
Impact:
This change should not impact any existing functionalities but should improve the overall performance and stability of the application.
Please review these changes and let me know if there are any concerns or questions. Thank you!

Hello, there.
Thanks for your commitment. It is a fantastic work.
But I met some problems after trying to pub add your tflite_helper. My previous tflite_helper is 0.3.1, and yours is 0.3.0(It is ok). The problem is after I switch the camera to 0.10.5, my tflite_flutter^0.9.0 will be forced to 0.9.5. But 0.9.5 has a TensorflowSwift problem, which means it cannot be used currently. I checked I could only make it back to 0.9.0 until I switched the camera to 0.9.8+1.
Is there any modification I can do for my tflite_helper? Such as changing the code to the one you committed? I really hope to install camera^0.10.5 works because it solved a problem of using nv21 format in mlkit for android devices.
Thank you so much.

Hello, there.
Thanks for your commitment. It is a fantastic work.
But I met some problems after trying to pub add your tflite_helper. My previous tflite_helper is 0.3.1, and yours is 0.3.0(It is ok). The problem is after I switch the camera to 0.10.5, my tflite_flutter^0.9.0 will be forced to 0.9.5. But 0.9.5 has a TensorflowSwift problem, which means it cannot be used currently. I checked I could only make it back to 0.9.0 until I switched the camera to 0.9.8+1.
Is there any modification I can do for my tflite_helper? Such as changing the code to the one you committed? I really hope to install camera^0.10.5 works because it solved a problem of using nv21 format in mlkit for android devices.
Thank you so much.

Update status.
The tflite_flutter was upgraded to 0.10.0 already. But your commit looks like you need it to be 0.9.0. Is this conflict can be solved?

Hello,
Thank you for your kind words regarding my work, and for bringing this compatibility issue to my attention.
I, too, have identified the issues with TensorflowSwift in tflite_flutter 0.9.5. In my own project, I've been using tflite_flutter at 0.90 and camera at 0.10.5, by downgrading the ffi of tflite_flutter_helper to 1.0.0.
Here is the branch where I downgraded ffi to 1.0.0: https://github.com/pnyompen/tflite_flutter_helper/commits/downgrade-ffi
You can use this by adding the following changes to your pubspec.yaml:
tflite_flutter_helper:
    git:
      url: https://github.com/pnyompen/tflite_flutter_helper.git
      ref: d058bac556019546ff308c3df63ded02ed760ee2

It seems tflite_flutter 0.10.0 was released just recently, but I haven't had a chance to review the changes yet.
As this is my first time contributing to an open-source project, I would greatly appreciate if you could modify my code and submit another pull request. Also, I have the impression that this repository is not being maintained anymore, so I'm not sure whether it is appropriate to send a pull request to it. If you have any advice on this, it would be very welcome.
Thanks again for your feedback and please do not hesitate to contact me if you have further questions.
Best,

Hello,
Thank you for your kind words regarding my work, and for bringing this compatibility issue to my attention.
I, too, have identified the issues with TensorflowSwift in tflite_flutter 0.9.5. In my own project, I've been using tflite_flutter at 0.90 and camera at 0.10.5, by downgrading the ffi of tflite_flutter_helper to 1.0.0.
Here is the branch where I downgraded ffi to 1.0.0: https://github.com/pnyompen/tflite_flutter_helper/commits/downgrade-ffi
You can use this by adding the following changes to your pubspec.yaml:
tflite_flutter_helper:
    git:
      url: https://github.com/pnyompen/tflite_flutter_helper.git
      ref: d058bac556019546ff308c3df63ded02ed760ee2

It seems tflite_flutter 0.10.0 was released just recently, but I haven't had a chance to review the changes yet.
As this is my first time contributing to an open-source project, I would greatly appreciate if you could modify my code and submit another pull request. Also, I have the impression that this repository is not being maintained anymore, so I'm not sure whether it is appropriate to send a pull request to it. If you have any advice on this, it would be very welcome.
Thanks again for your feedback and please do not hesitate to contact me if you have further questions.
Best,

Thank you for your replying. Actually, I am a newbie to Flutter, don't understand the mechanism of Flutter and its plugin well. So hard for me to help you to modify the code and send a pull request.
Below is the message I got when I do pub get
Running "flutter pub get" in testdemo...
Resolving dependencies...
Because every version of tflite_flutter_helper from git depends on tflite_flutter ^0.9.0 and testdemo depends on tflite_flutter ^0.10.0, tflite_flutter_helper from git is forbidden.
So, because testdemo depends on tflite_flutter_helper from git, version solving failed.
pub get failed
command: "/Users/xxx/Downloads/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --directory . get --example"
pub env: {
"FLUTTER_ROOT": "/Users/xxx/Downloads/flutter",
"PUB_ENVIRONMENT": "flutter_cli:get",
"PUB_CACHE": "/Users/xxx/.pub-cache",
}
exit code: 1
Looks like Google is preparing a new package to replace the tflite_helper, but it is not done yet.

Hello,
Thank you for reaching out and explaining the issue you're encountering.
I've checked the code for tflite_flutter 0.10.0 and it seems there have been significant changes. Because of these alterations, it's challenging to immediately modify the tflite_flutter_helper.
I would recommend either waiting for Google to release a new version of tflite_flutter_helper or considering using tflite_flutter 0.9.0 in the meantime.
Thank you for your understanding and patience with this. Please don't hesitate to contact me if you have any other questions or concerns.
Best regards,

Hello,
Thank you for reaching out and explaining the issue you're encountering.
I've checked the code for tflite_flutter 0.10.0 and it seems there have been significant changes. Because of these alterations, it's challenging to immediately modify the tflite_flutter_helper.
I would recommend either waiting for Google to release a new version of tflite_flutter_helper or considering using tflite_flutter 0.9.0 in the meantime.
Thank you for your understanding and patience with this. Please don't hesitate to contact me if you have any other questions or concerns.
Best regards,

Thank you so much. I want to stay at tflite_flutter^0.9.0 at this moment. But the camera package version is limited to 0.9.8, and I need the latest 0.10.5 to be installed because it fixed a bug for android camera. I tried the new git link you mentioned above. Looks like after the image update from 3.1 to 4.0.17, some of my functions that convert cameraImage to image.image does not work any more.
  /// Converts a [CameraImage] in BGRA888 format to [imageLib.Image] in RGB format
  static imageLib.Image convertBGRA8888ToImage(CameraImage cameraImage) {
    // image ^4.0.17 error here
    imageLib.Image img = imageLib.Image.fromBytes(cameraImage.planes[0].width!,
        cameraImage.planes[0].height!, bytes: cameraImage.planes[0].bytes,
        format: imageLib.Format.bgra);
    return img;
  }

  /// Converts a [CameraImage] in YUV420 format to [imageLib.Image] in RGB format
  static imageLib.Image convertYUV420ToImage(CameraImage cameraImage) {
    final int width = cameraImage.width;
    final int height = cameraImage.height;

    final int uvRowStride = cameraImage.planes[1].bytesPerRow;
    final int? uvPixelStride = cameraImage.planes[1].bytesPerPixel;
    // image ^4.0.17 error here, I add parameters
    final image = imageLib.Image(width: width, height: height);

    for (int w = 0; w < width; w++) {
      for (int h = 0; h < height; h++) {
        final int uvIndex =
            uvPixelStride! * (w / 2).floor() + uvRowStride * (h / 2).floor();
        final int index = h * width + w;

        final y = cameraImage.planes[0].bytes[index];
        final u = cameraImage.planes[1].bytes[uvIndex];
        final v = cameraImage.planes[2].bytes[uvIndex];

        image.data[index] = ImageUtils.yuv2rgb(y, u, v);
      }
    }
    return image;
  }

  /// Convert a single YUV pixel to RGB
  static int yuv2rgb(int y, int u, int v) {
    // Convert yuv pixel to rgb
    int r = (y + v * 1436 / 1024 - 179).round();
    int g = (y - u * 46549 / 131072 + 44 - v * 93604 / 131072 + 91).round();
    int b = (y + u * 1814 / 1024 - 227).round();

    // Clipping RGB values to be inside boundaries [ 0 , 255 ]
    r = r.clamp(0, 255);
    g = g.clamp(0, 255);
    b = b.clamp(0, 255);

    return 0xff000000 |
        ((b << 16) & 0xff0000) |
        ((g << 8) & 0xff00) |
        (r & 0xff);
  }

  static void saveImage(imageLib.Image image, [int i = 0]) async {
    // image ^4.0.17 error here
    List<int> jpeg = imageLib.JpegEncoder().encodeImage(image);
    final appDir = await getTemporaryDirectory();
    final appPath = appDir.path;
    final fileOnDevice = File('$appPath/out$i.jpg');
    await fileOnDevice.writeAsBytes(jpeg, flush: true);
    // print('Saved $appPath/out$i.jpg');
  }
}

imageLib.Image? processCameraImage(CameraImage cameraImage) {
  imageLib.Image? image = ImageUtils.convertCameraImage(cameraImage);

  if (Platform.isIOS) {
    // ios, default camera image is portrait view
    // rotate 270 to the view that top is on the left, bottom is on the right
    // image ^4.0.17 error here
    image = imageLib.copyRotate(image!, 270);
  }

  return image;
  // processImage(inputImage);
}

I am trying to figure it out, but I would appreciate it if you have the answer.
Thank you so much.

Update.
I found a solution in this link
https://github.com/brendan-duncan/image/issues/512

Do you have any version of camera^0.10.5 but Image^3.3.0? I noticed that 4.0.17 has a runtime issue with converting image, but Android 13 needs camera^0.10.5.

Do you have any version of camera^0.10.5 but Image^3.3.0? I noticed that 4.0.17 has a runtime issue with converting image, but Android 13 needs camera^0.10.5.

I just change the camera version in original package's pubspec.yaml and then works

This is extremely helpful, and I hope that the owner can merge this even though it is "deprecated". Furthermore, since you've clearly gained some exposure to the codebase through this upgrade, what you think about addressing this issue.
I am doing a version overhaul on my app, and tried to bump tflite_flutter from 0.9.0 to 0.10.0. this is the response I got:

Because every version of tflite_flutter_helper from git depends on tflite_flutter ^0.9.0 and  depends on tflite_flutter ^0.10.0, tflite_flutter_helper from git is forbidden.

Hi @pnyompen
First of all, let me thank you for taking up this task of extending the package's life.
I am trying to upgrade my Flutter 2.10.5 to the latest 3.13 version.
After doing all the required Gradle upgrades and other stuff I got stuck with this helper package.
I spent close to 2 days finding a solution until I stumbled upon your comment.
While your version works, to some extent, the build now fails with the Kotlin version.
Here is the output:

[ +202 ms] FAILURE: Build failed with an exception.
[   +2 ms]  What went wrong:
[        ] The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
[        ] The following dependencies do not satisfy the required version:
[        ] project ':tflite_flutter_helper' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

Is there a way you could help out?

Hello @ykiran,
I apologize for the delay in my response.
In order to address the issue you pointed out, I have updated the versions of Kotlin and tflite_flutter. You can see the specific changes in the following commit:
https://github.com/pnyompen/tflite_flutter_helper/commit/131b48aab353e81c7fffb1ad40b6d2bb9a0e9b66
I hope that with this update, the errors occurring with the build on Flutter 3.13 will be resolved. If there are any issues or further support is needed, please feel free to let me know. I am here to help.
Thank you for your cooperation.

Hi @pnyompen ,
thank you so much for taking some time out for helping me. Much obliged.
However, I'd need a couple of days to report back as I had to revert all the upgrade changes to release a build.
In the next two days, I'll once again try to do the upgrade and report back.
Thank you, once again.

Hi @pnyompen , thank you so much for taking some time out for helping me. Much obliged. However, I'd need a couple of days to report back as I had to revert all the upgrade changes to release a build.
In the next two days, I'll once again try to do the upgrade and report back.
Thank you, once again.

Hi @pnyompen I'm really glad to report back that this change is working as expected and thank you so much for this help.
However, I had to make a change for the latest to work.
I had to swap TfLiteType with TensorType.
I'm yet to test for IOS. That'll take a few more days; I'll try to get it done earlier if possible and report back.
Again , thank you  @pnyompen  for your efforts.

Hi @ykiran !
Have you used the package tflite helper with the last version of tflite _flutter ?
If yes, can you please show us what reference did you put in .yaml file :
tflite_flutter_helper:
git:
url: https://github.com/pnyompen/tflite_flutter_helper.git
ref: d058bac556019546ff308c3df63ded02ed760ee2
Thanks !!


Enhancement: option to Get All Tokens with a single Blockchain Document Loader call

The Blockchain Document Loader's default behavior is to return 100 tokens at a time which is the Alchemy API limit.  The Document Loader exposes a startToken that can be used for pagination against the API.
This enhancement includes an optional get_all_tokens param (default: False) which will:

Iterate over the Alchemy API until it receives all the tokens, and return the tokens in a single call to the loader.
Manage all/most tokenId formats (this can be int, hex16 with zero or all the leading zeros).  There aren't constraints as to how smart contracts can represent this value, but these three are most common.

Note that a contract with 10,000 tokens will issue 100 calls to the Alchemy API, and could take about a minute, which is why this param will default to False.  But I've been using the doc loader with these utilities on the side, so figured it might make sense to build them in for others to use.

thanks! and thanks @skcoirz for review!


Add the extra items in *GET command.

Description of the feature
mapdl.get current only supports parameters up to item3:
get(self,par="__floatparameter__",entity="",entnum="",item1="",it1num="",item2="",it2num="",item3="",**kwargs,)
However, for certain types of inquiries, e.g. CINT as entity, it requires up to IT4NUM.
*GET, Par, CINT, CrackId, Item1, IT1NUM, Item2, IT2NUM, Item3, IT3NUM, Item4, IT4NUM
Steps for implementing the feature
Require some changes on the mapdl.get function.
Useful links and references
No response

Hi @yeguang-xue
Thank you very much for your suggestion! We working on that! :)


Even prettier

Re-add the prettier config from #56, as well as making CI fail if prettier isn't satisfied.

Leaving in draft, since need to do the initial prettierification, but want to wait until there are no PRs open.


Implement timestamp property on TarNode

TarNode should have a timestamp property, which should correspond to the last modification time of the corresponding TAR file.

Accessing the timestamp of the TAR file requires drilling a hole through the SegmentNodeStorePersistence interface. I will not implement this now. If needed, we can reopen the issue and implement this later.


Fails on a subset of connections…

with:
* Connected to pji72ddreblowfjk4gqein7yrq.srv.us (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server did not agree on a protocol. Uses default.
* Server certificate:
*  subject: C=CA; CN=*.srv.us
*  start date: Jul  5 11:51:36 2022 GMT
*  expire date: Nov 20 11:51:36 2049 GMT
*  issuer: C=CA; CN=*.srv.us
*  SSL certificate verify result: self signed certificate (18), continuing anyway.
> GET / HTTP/1.1
> Host: pji72ddreblowfjk4gqein7yrq.srv.us
> User-Agent: curl/7.84.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (OUT), TLS alert, protocol version (582):
* OpenSSL SSL_read: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, errno 0
* Closing connection 0
curl: (56) OpenSSL SSL_read: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, errno 0

I was writing "No endpoint available." on the raw connection rather than TLS, duh. Why I get so many "No endpoint available." is the next question.


Misspelling of "Hierarchy"

Small issue on a wonderful project:
react-proto/src/components/RightTabs.jsx, line 93
"Heirarchy" should be "Hierarchy"
Not sure where else it appears, but that was the immediately noticeable typo prevalent in all screenshots.

Thanks, @nsriv I will work on a fix now.

Fixed


README.md should reflect presumptive usage

The README.md is bare.
It should:

include the description of what this provider does and can accomplish in broader configurations.
include install notes
include testing notes

Installation will presumably look like this:
apiVersion: pkg.crossplane.io/v1alpha1
kind: Provider
metadata:
  name: provider-cloud-init
spec:
  package: "crossplane/provider-cloud-init:master"

Configuration and usage will need to be determined.
Inspiration for this provider comes from https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/cloudinit_config (now https://registry.terraform.io/providers/hashicorp/cloudinit/latest/docs/data-sources/cloudinit_config).
The syntax of that provider allows for rendered cloud-init with several benefits, including gzip, multipart mime encoding, and implicitly, HCL templating and variable interpolation (especially from other TF managed resources).
An example of this Terraform provider in action is offered at https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/cloudinit_config#example-usage (reproduced here):
data "template_file" "script" {
  template = "${file("${path.module}/init.tpl")}"

  vars = {
    consul_address = "${aws_instance.consul.private_ip}"
  }
}

# Render a multi-part cloud-init config making use of the part
# above, and other source files
data "template_cloudinit_config" "config" {
  gzip          = true
  base64_encode = true

  # Main cloud-config configuration file.
  part {
    filename     = "init.cfg"
    content_type = "text/cloud-config"
    content      = "${data.template_file.script.rendered}"
  }

  part {
    content_type = "text/x-shellscript"
    content      = "baz"
  }

  part {
    content_type = "text/x-shellscript"
    content      = "ffbaz"
  }
}

# Start an AWS instance with the cloud-init config as user data
resource "aws_instance" "web" {
  ami              = "ami-d05e75b8"
  instance_type    = "t2.micro"
  user_data_base64 = "${data.template_cloudinit_config.config.rendered}"
}

For Crossplane providers that depend on userdata, and would benefit from cloud-init interpolation, this provider could serve an important role.
What features will we need?

to produce a multi-part mime encoded document
to gzip that document
to store that document in a configmap
to read content a spec parameter or from a configmap
to be used in larger configurations, allowing for HCL like interpolation (take the address of a provisioned resource and include it in a cloud-init part, via substitution.
not have a ready status until all configmaps are ready and rendered with all needed inputs (how will get these?)


BAU: Update i18next to v22.4.13

Closes https://github.com/alphagov/di-account-management-frontend/pull/876


Install and run the fsm2 viewer tool

I've created a StateMachine and I was now trying to follow the steps to generate the visualization:
$ flutter pub global activate fsm2
$ flutter pub global list
fsm2 2.0.1
fvm 1.3.7

$ fsm2 --install
Failed to precompile fsm2:fsm2:
Dart_LoadScriptFromKernel: The binary program does not contain 'main'.
pub finished with exit code 1

$ fsm2 --show packages/xyz/lib/my_state_machine.dart
Failed to precompile fsm2:fsm2:
Dart_LoadScriptFromKernel: The binary program does not contain 'main'.
pub finished with exit code 1

Is there anything wrong/missing in the steps I took?

Published 2.0.2 Its a nnbd version.
If needed you can use the 1.x version in your pubspec.yaml and use the 2.0 via pub global activate.


[WIP] Update to the latest ember-qunit.

Updates to allow either ember-qunit 0.1.x or ember-qunit 0.2.x (by checking for the existence of the specific file locations).
Needs to wait until ember-qunit 0.2.0 is shipped (which is blocked on https://github.com/switchfly/ember-test-helpers/pull/12 at the moment).

This is a backwards compatible change, so should be able to be published as 0.3.2....


[eas-cli] Add metadata commands

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why

Part of PR #1083
[x] Requires PR #1130
[x] Requires PR #1131
[x] Requires PR #1132
[x] Requires PR #1133
[x] Requires PR #1134
[x] Requires PR #1135

This adds the EAS CLI commands to let users interact with the metadata features.
How
Originally we wanted to include it in the submission commands, but that workflow does not work well.

We have to wait until the binary is shipped and processed, else we might be editing a wrong version
There is no good way to wait until the binary is processed
It's not that great to ask the user to wait until that's all done

As a temporary solution, the metadata is split into its own commands.
Test Plan
After all PRs are merged and ready:

$ eas metadata:configure
_Edit the store configuration`
$ eas metadata

This also applies to this PR https://github.com/expo/eas-cli/pull/1135#pullrequestreview-995166194 (the commands)

If we can't find the app entity with this bundle identifier, we will exit early here. We could add some additional help text to guide users to check their config, or to create a new ASC app entry with that bundle identifier though.

we create app store connect entry in submit, so I would expect that those commands should also do that. A lot of people will want to setup metadata before submit

I've reused the getBundleIdentifierAsync from the submit parts (here, and there). That should take both managed and bare into account, and, if necessary, load it from the native files. This is done in the metadata context, and I think you and Dominik approved that one right?

I double-checked that and it's not correct for multitarget projects because you are not passing the third argument there. We have 2 approaches:

for build we always know the build profile, so we can identify a specific target.
for submit we didn't want to define both build and submit profiles, so if bundleIdentifier is ambigous it can be defined in submit profile

given that you already have submit profile the second approach is better, it should be sth like this
const bundleIdentifier = iosSubmissionProfiile.bundleIdentifier ?? await getBundleIdentifierAsync(params.projectDir, exp);

given that you already have submit profile the second approach is better, it should be sth like this

Done in https://github.com/expo/eas-cli/pull/1147

we create app store connect entry in submit, so I would expect that those commands should also do that. A lot of people will want to setup metadata before submit

I think so too, but one of the issues that I ran into with adding this part in the submit workflow is that we edit everything per version. Once users upload a new binary, a new version is created. We/I have to think and test a bit more for these scenarios, where we intentionally edit the right version of the app (instead of the old one).


⚠ Bofrost.be has degraded performance

In 2acb9c0, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1083 ms

Resolved: Bofrost.be performance has improved in 2627271.


Update README

Added clarification for npm usage and module: "amd"

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


"Restore" command should be named "Checkout"

GitLens Version: 11.4.1
Git Version: 2.30.0.windows.2
VSCode Version:

1.56.0
cfa2e218100323074ac1948c885448fdf4de2a7f
x64

OS Version: Windows 10 19042.928

The "commits" tree view has a "Restore" command that basically does a git checkout of that version of the file into the index. I think it would be a lot more intuitive for git users if this were called "Checkout", as it seems to be the same as the git checkout ref -- file command we use on the CLI.

I changed it to be Restore (Checkout) as that should make it clearer -- and aligns with the more recent git restore command (as checkout has been split into restore and switch)

Can you please verify this fix in tomorrow's GitLens insiders edition?
You can install the GitLens insiders edition from here. Be sure to disable/uninstall the stable version of GitLens first.


Export Notebook has disappeared from the command palette

Seriously. This is what just happened to me. I was happily coding when "Hydrogen: Export Notebook" suddenly wasn't available in the menu any more. I had definitely used it in the same session. Restarting did not help.
The problem occurred when I was editing Julia and modifying (in fact, newly creating) my snippets.cson file. But I can't export from python, either.
No idea how I would reproduce this. Can anyone help me track down this issue?
Versions:
Windows 10, Hydrogen 2.9.0, Atom 1.37.0
Plugins:
Do you have any Hydrogen plugins installed and active?

[ ] hydrogen-python
[X] Hydrogen Launcher
[ ] Data Explorer

Logs:
Console with Hydrogen debug output activated didn't show anything suspicious.

@sschuldenzucker assuming you mean the ctrl-Shift-p menu from atom, did you have any other Hydrogen command available. If not, the package may not have been activated. The export command is added immediately once the package is activated and doesnt not remove until the package is deactivated.

Yes, the other commands are there, e.g., Import Notebook works just fine.
What's even weirder: when I renamed my .atom directory for a fresh start
and reinstalled only hydrogen, the problem persisted. Does the export
function depend on any external files maybe?
On Wed, May 29, 2019, 23:46 Thomas Denton<EMAIL_ADDRESS>wrote:

@sschuldenzucker https://github.com/sschuldenzucker assuming you mean
the ctrl-Shift-p menu from atom, did you have any other Hydrogen command
available. If not, the package may not have been activated. The export
command is added immediately once the package is activated and doesnt not
remove until the package is deactivated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nteract/hydrogen/issues/1635?email_source=notifications&email_token=AAIMX2BCP2GWIP6TLNABYCDPX32SDA5CNFSM4HQV4FXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWQXMFA#issuecomment-497120788,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIMX2GZGR7OHS6CDBHYOLDPX32SDANCNFSM4HQV4FXA
.

@sschuldenzucker Yes it relies on export-notebook.js in the hydrogen/lib folder, but the command does gets added at the same time as all the other functions

I experienced the same problem, all hydrogen commands exist except export notebook... the export-notebook.js file is intact. I finally re-install the Hydrogen package and the export command come back.

@sschuldenzucker @hoishing The export-notebook.js file also requires 4 modules. 2 are npm (fs and path) The other two are listed below.
const { dialog } = require("electron").remote;
const { stringifyNotebook } = require("@nteract/commutable");

The commutable module should be installed with hydrogen and the electron module is what atom is built on top of.
You could trying running those 2 lines in the dev tools of atom, and seeing if any errors are produced while Hydrogen is active and you can see the other commands.

Aha! "So that's why you call it a baked potato!," as we say in German. The electron line goes through, but the @nteract/commutable one does not. I get (modified the line to be able to run it several times):
> thestringifyNotebook = require("@nteract/commutable");
module.js:545 Uncaught Error: Cannot find module '@nteract/commutable'
    at Module._resolveFilename (module.js:543:15)
    at Module._resolveFilename (C:\Users\steff\AppData\Local\atom\app-1.37.0\resources\electron.asar\common\reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (C:\Users\steff\AppData\Local\atom\app-1.37.0\resources\app\static\<embedded>:11:154765)
    at Module.require (file:///C:/Users/steff/AppData/Local/atom/app-1.37.0/resources/app.asar/static/index.js:40:43)
    at require (internal/module.js:11:18)
    at <anonymous>:1:24

The commutable package sits at:
C:\Users\steff\.atom\packages\Hydrogen\node_modules\@nteract\commutable

together with the following other packages below ...\@nteract\
commutable/    markdown/  plotly/            transforms/      transform-vega/
display-area/  mathjax/   transform-plotly/  transform-vdom/  vega-embed-v2/

Turns out I cannot load any of them using the method above.
Could this be a file naming issue on Windows?
NB: In contrast to @hoishing, re-installing did not help for me.

@wadethestealth @sschuldenzucker
If you call require("@nteract/commutable") from the dev console, you're supposed to be unable to import it, because the npm is not there under the default console scope.
require("electron") works just because Atom itself requires it.

I doubt this issue is because of import/require stuff, because if an Atom package can't load its dependency module, the error notification is shown and the package itself can't be activated.
And I found that the commands defined after the Hydrogen:Export-Notebook (like Hydrogen:Fold-Current-Cell) are also sometimes disappear.
Thus our store seems to dispose its subscriptions partially, which still sounds really weird.
/cc @BenRussert You have any idea to this ??

@aviatesk True, I can confirm that these commands (at least Hydrogen:Fold-Current-Cell) are also gone for me.

@sschuldenzucker could you try running the Hydrogen:Start-Local-Kernel command if you already have a kernel running than ctrl-shift-f5 and run then

@aviatesk There is no way for store to partially dispose itself. There is only one function that disposes the whole store subscriptions. My guess is the package is not actually activated, and therefore only displays activation commands but no other commands.

@sschuldenzucker Can you confirm you still have these issues after the steps I gave above?

@wadethestealth Sorry for the delay. Yes, this does its thing! Hydrogen:Start Local Kernel makes the lost commands reappear, including Export Notebook and Fold Current Cell.

@sschuldenzucker You don't have any problems with your hydrogen then. When you want to use hydrogen you must use one of the availabile commands first. These are called activation commands, and they start the hydrogen package and enable all other commands

@wadethestealth Ah, I see! Thanks a lot for resolving my issue, and so quickly!
Having said that, the fact that these "activation commands" exist was not obvious to me. You might want to make this clearer to the user. I'm sure there are reasons why you implemented it like this and I'm sure it's in the documentation somewhere, but from a mere user perspective I just didn't expect that you'd need a running kernel to export as a notebook or even do a very editor kind of thing like cell folding. Perhaps you want to make the commands available, but raise an error if there's no kernel? Just a thought.

@sschuldenzucker
Good thought.
I think it's more reasonable to add hydrogen:import-notebook and hydrogen:export-notebook as activation commands.
Your thought ? @wadethestealth

I also wonder why you didn't register the commands as activation ones when you implemented those features. Is there any reason ?
cc/ @kylebarron

@aviatesk I am not too sure what justifies an activation command and how many we are allowed. What I know is that the activation commands are meant to save atom time while booting
If we don't decide to make these activation commands this should be addressed in the documentation.

@wadethestealth
AFAIU activation commands are there just because they allow an user to speed up package-loading time by delaying package-loading until one of these activation commands is invoked (i.e.: when an user don't use Hydrogen while using Atom, s/he can ignore Hydrogen's loading time at all).
Thus activation commands are those can be used as the very first-time command when an user start to use Hydrogen features.
I suspect @kylebarron only exported hydrogen:import-notebook since an usual Hydrogen workflow with the command would be like:

import .ipynb file as, say, .py file: hydrogen:import-notebook
edit the .py file using interactive features of Hydrogen
finally export again the file as .ipynb notebook: hydrogen:export-notebook

In this workflow, hydrogen:import-notebook is better to be registered as an activation command, since it's used as the first-time command.
But atst I think those import/export notebook features are so useful that I suspect some users may want to use the export-notebook command as the first-time command, for example, when they only want to use the command.
In this case, an user should invoke one of current activation commands (like hydrogen:start-local-kernel) first to use export-notebook, which seems inconvenient.
And IMO we can say the cost of registering export-notebook command as an activation one is nothing because it's currently not bind to any keybindings by default, and thus it's very rare that an user accidentally invokes this command and have to wait for undesired Hydrogen loading time.

@aviatesk go ahead and submit a pr ask for review and I'll sign off on it.


"Practice" dropdown menu arrow

Show a dropdown menu arrow beside the "Practice" button matching the color scheme (light/dark mode)
Change the background ripple of "Practice" from oval to rectangular to match that of "Upcoming" or "Ongoing"

Hey assign this issue to me .
suggestion - you should add screenshots for more clarifications of issues.

Hey I have generated a pull request regarding this issue


Slow Training, any Advice?

Hi, I'm using this command line:
CUDA_VISIBLE_DEVICES=0,1,2,3 python3 train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224  --batch-size 24
I'm trying to understand why is it so slow, I'm getting an epoch per day, in the paper they were talking about 3 days for 40 epoch.
My question is this a known issue, or that I'm missing something?
I'll be happy for any advice
Thanks!

Hi, for now I suggest training on 1 GPU with 2 batch size. It will take you a couple hours per epoch. It’s still not fast enough but we’re working on it.

Hi it doesn't seem to help.

98 hours to finish the epoch..
I know that this repo in still under optimization, I have no complains at all you are doing wonderfull job, but if think about something susspicous that I'm doing wrong please share.
maybe related to those warnings?

what GPUs are you running on?
and also, i see that you used the coco dataset. we usually conduct all our experiments with cityscapes.
could you try to train with cityscapes with the default args and see what you get?

hi，I met the same question with you. I'm getting an epoch per day.
I start training with this command line.
CUDA_VISIBLE_DEVICES=0 python train_autodeeplab.py --dataset cityscapes
I use a single GPU quadro gv100, training with cityscapes. Batch size is 2. Other I am configured by default.
Have you solved this problem?@albert-ba
Do  you have any advice?@NoamRosenberg @iariav

@fanrupin currently the multi-gpu doesn't always work faster. I have to look into this further but I don't have time now. If you have time to experiment and find the problem I would love you to make a pull request and become a contributer.

Hi, I'm using this command line:
CUDA_VISIBLE_DEVICES=0,1,2,3 python3 train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224 --batch-size 24
I'm trying to understand why is it so slow, I'm getting an epoch per day, in the paper they were talking about 3 days for 40 epoch.
My question is this a known issue, or that I'm missing something?
I'll be happy for any advice
Thanks!

Hello, I also want to use this code on COCO dataset. I adopted the command line just like yours:
CUDA_VISIBLE_DEVICES=0,1 python3 train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224 --batch-size 24 ----gpu-ids 0,1
But  I got an error:

I wanna know whether you have met this error? If yes, could you please tell my how to solve it?
Thanks a lot!

Hi, I'm using this command line:
CUDA_VISIBLE_DEVICES=0,1,2,3 python3 train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224 --batch-size 24
I'm trying to understand why is it so slow, I'm getting an epoch per day, in the paper they were talking about 3 days for 40 epoch.
My question is this a known issue, or that I'm missing something?
I'll be happy for any advice
Thanks!

Hello, I also want to use this code on COCO dataset. I adopted the command line just like yours:
CUDA_VISIBLE_DEVICES=0,1 python3 train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224 --batch-size 24 ----gpu-ids 0,1
But I got an error:

I wanna know whether you have met this error? If yes, could you please tell my how to solve it?
Thanks a lot!

you need to change the crop size

Hi, I'm using this command line:
CUDA_VISIBLE_DEVICES=0,1,2,3 python3 train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224 --batch-size 24
I'm trying to understand why is it so slow, I'm getting an epoch per day, in the paper they were talking about 3 days for 40 epoch.
My question is this a known issue, or that I'm missing something?
I'll be happy for any advice
Thanks!

Hello, I also want to use this code on COCO dataset. I adopted the command line just like yours:
CUDA_VISIBLE_DEVICES=0,1 python3 train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224 --batch-size 24 ----gpu-ids 0,1
But I got an error:

I wanna know whether you have met this error? If yes, could you please tell my how to solve it?
Thanks a lot!

you need to change the crop size


Introduce the STATE driver

First off, thanks for making this project!
I've played with Cycle.js a couple of months ago. I found its concepts to be novice and in a way, I felt a bit like when learning Haskell. However, at least for me, the all-or-nothing approach that the official docs seemed to preach (DOM driver, "Typically, when writing a Cycle.js app, you do not need to create your own drivers.") felt kind of out-of-touch with reality.
Abandoning React and reinventing the wheel is a tough sell.
Going from event log + projection of all events that'd happened (aka Redux) to having DOM structure depend on DOM events is primitive... so, I've put Cycle into the mental "revise later" bucket and I wouldn't probably have come back if...
It weren't for this very project, which opened my eyes to the way Cycle can be used to augment existing React/Redux project. Sagas and typing is a sad story; redux-observables don't separate side effects in any way 😞 so the objective of redux-cycle-middleware resonated with me. I'm trying to migrate parts of my react-native project onto Cycle and I feel quite good about having analytics, push notifications, payments, and more abstracted as Cycle drivers.

Anyway, my story is getting too long already. This PR adds a STATE driver which is similar to the select effect in redux-saga... because all too often you have "sagas"/"epics" which are triggered by some Redux action, BUT ALSO need to access the current state to make some side-effect to a custom driver.

Sweet thanks for the interest! redux-observable exposes the entire store so you can also call dispatch, however it's considered bad practice so perhaps just this read-only STATE driver sounds good. I will give it a test tonight and let you know.


xrdp cannot connect my ubuntu 18.04 server showing ERROR in systemctl status

system: ubuntu 18.04
my xrdp was compiled from source:
cgwx@cgwx-PowerEdge-R720:~/下载/xorgxrdp-0.2.15$ xrdp --version
xrdp 0.9.15
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:

  Compiled with OpenSSL 1.1.1  11 Sep 2018

and xorgxrdp-0.2.15 was compiled and installed.
but error while connecting from windows 10  RDP with Xorg session:
cgwx@cgwx-PowerEdge-R720:~/下载/xorgxrdp-0.2.15$ sudo systemctl status xrdp
● xrdp.service - xrdp daemon
   Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2021-01-15 18:21:27 CST; 3min 1s ago
     Docs: man:xrdp(8)
           man:xrdp.ini(5)
  Process: 22157 ExecStop=/usr/local/sbin/xrdp $XRDP_OPTIONS --kill (code=exited, status=0/SUCCESS)
  Process: 22191 ExecStart=/usr/local/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 22201 (xrdp)
    Tasks: 2 (limit: 7372)
   CGroup: /system.slice/xrdp.service
           ├─22201 /usr/local/sbin/xrdp
           └─22340 /usr/local/sbin/xrdp

1月 15 18:22:01 cgwx-PowerEdge-R720 xrdp[22584]: [ERROR] libxrdp_query_channel - Channel 3 name drdynvc
1月 15 18:22:01 cgwx-PowerEdge-R720 xrdp[22584]: [ERROR] libxrdp_query_channel - Channel out of range 4
1月 15 18:22:01 cgwx-PowerEdge-R720 xrdp[22584]: [INFO ] drdynvc_process_capability_response: DVC version 3 selected
1月 15 18:22:08 cgwx-PowerEdge-R720 xrdp[22584]: [INFO ] xrdp_wm_log_msg: sesman connect ok
1月 15 18:22:08 cgwx-PowerEdge-R720 xrdp[22584]: [INFO ] xrdp_wm_log_msg: login successful for display 10
1月 15 18:24:08 cgwx-PowerEdge-R720 xrdp[22584]: [ERROR] libxrdp_query_channel - Channel 0 name rdpdr
1月 15 18:24:08 cgwx-PowerEdge-R720 xrdp[22584]: [ERROR] libxrdp_query_channel - Channel 1 name rdpsnd
1月 15 18:24:08 cgwx-PowerEdge-R720 xrdp[22584]: [ERROR] libxrdp_query_channel - Channel 2 name cliprdr
1月 15 18:24:08 cgwx-PowerEdge-R720 xrdp[22584]: [ERROR] libxrdp_query_channel - Channel 3 name drdynvc
1月 15 18:24:08 cgwx-PowerEdge-R720 xrdp[22584]: [ERROR] libxrdp_query_channel - Channel out of range 4

what the problem is it?

I have same problem. Do you have some decision?

I have same problem. Do you have some decision?

no, finally I given up


Update crud_exec.go

See Patch-1

Fixed in pr #92. I ended up abstracting out the logic between the two cases so they use common code. I also had to change the scanner to create the pointer properly when scanning rows.


Fix typo in StringUtils's Java-Doc.

I saw typo in the line I'm interested in, so just fixed it.

Coverage remained the same at 95.081% when pulling d1611b8ea52f863adb56cdcb576a515dca1add4a on SimSonic:patch-1 into 9747b14469aa88714bc979cab24e1ffda663aa78 on apache:master.


Bug- Uncaught Invariant Violation: editorNode.firstChild is not an HTMLElement

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When I select or type anything on DraftJS editor I get below error. If I use the same code in a separate project then everything is working as expected.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.
When I select or type anything on DraftJS editor I get below error. If I use the same source code in a separate project then everything is working as expected. I highly suspect this issue is due to some package in my current project which is clashing with draftJS editor.

It shouldn't clash due to other packages.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
"draft-js": "^0.11.7",
"draft-js-mention-plugin": "^3.1.5",
"draft-js-plugins-editor": "^3.0.0",
Browser- Chrome
OS- Windows 10

#1321 This is the same issue I am getting

Hello, were you able to find a solution?


Create initial E2E tests

Create initial E2E tests
Why
End-to-end tests are required in creating an automated test suite in preparation for the platform migration.
What

Creates tests for:

Creating a new workbasket
Assigning a worker to a workbasket
Assigning a review to a workbasket
Creating a footnote
Pausing the packaging queue
Unpausing the packaging queue
Running business rules on workbasket
Creating a measure
Sending workbasket to packaging queue (requires a local instance of S3/minio e.g docker-compose up s3)

Note: all tests are currently set up to target a locally running server instance created in the background of the test.

LGTM! For my own edification, is there a list somewhere of which tests are to be included/what percentage of coverage we need to have to consider this complete?

Ah yes, TP2000-1350 should link to the confluence page with all the test plans.


[open discussion] Our philosophy

So in regard to the earlier discussion with @petecarapetyan on slack, I think we have some things that require some more explanation/argumentation. I think it would be good to have an 'Our philosophy' page. I made a little draft of what could be on that page, with a couple of points that are good to cover, PR here: https://github.com/open-wc/open-wc/pull/141 (very much a draft to iterate on, phrasing/wording is not perfect etc)
Furthermore, per category, I think it's good to write some clarification/argumentation on why we made some of the choices that we did:
Developing:
	- Why lit-html/lit-element over Hybrids, Gluon, Skate, Svelte, etc etc etc?
		-> developed/maintained by Google

Testing:
	- Why karma over WCT
		-> State some of the WCT painpoints

Demoing:
	- Why Storybook

Publishing:
	- Why Netlify over heroku, firebase, etc

Automating:
	- Why circleci

How did we come to these conclusions, what did we try
Do we have blogs/links to back up our choices?

Would love to get some input from anyone.
Edit: Some of the documentation in the webpack branch lars is really good. Im not saying every section has to be as elaborate, but it really gives me some trust-like feeling, as opposed to simply saying "Here is the tool. Use this.".

Closed by https://github.com/open-wc/open-wc/pull/141


Add Screenshot Element option

Updated code and README.md  Feedback welcome!

I signed it!

It's live in here: https://fathomless-beyond-52997.herokuapp.com/

Thanks @aslafy-z Demo: https://fathomless-beyond-52997.herokuapp.com/screenshot?url=https://www.wikipedia.org&element=.central-featured


Possible to override default region?

Is it possible to override the default region seen in the example on PhoneNumberKit?
class MyGBTextField: PhoneNumberTextField {
    override var defaultRegion: String {
        get {
            return "GB"
        }
        set {} // exists for backward compatibility
    }
}

Nevermind, I found it in the code, it just wasn't documented in the readme.

You can use  .defaultRegion("GB") modifier. And yes we should reconsider the readme file as soon as possible since there are many cool new features since it was written.


Displaying Leaflet map of coverage bounding box on work show pages

Closes #94

This looks great. Styling might need a little spruce up later on. :+1:


[BUG] Landing Page Overflow

Landing Page Overflow Issue

Homepage shouldn't have any overflow.
Nav bar links isn't working.

https://github.com/user-attachments/assets/eb6bac22-460d-467f-8d26-bec9aa7ded65
Please add hactoberfest and GSSoC24 tag. You can assign me for this issue.

@4F24L Sure, please follow the guidelines mentioned in #42

This PR will fix this


fix error "empty test name must be omitted"

When I used wasm-zig as a dependency for wasmtime-zig with zig master (0.10.0-dev.3602+df507edff) I ran into the following issue:
...
git github.com/zigwasm/wasm-zig                                 3a96556d [######################################] 100%
/Users/cvoigt/go/src/github.com/voigt/wasmtime-zig/.gyro/wasm-zig-zigwasm-github.com-3a96556d/pkg/src/main.zig:797:6: error: empty test name must be omitted
test "" {
     ^~
error: wasmtime-zig...
...

Giving the test a name resolved the issue.

Since a while ago, empty tests names are now possible:
test {
    // some test
}

Regardless, I'll merge this as-is. Thanks for the fix!


Is the ILI9486 Waveshare supported  ?

Looking at the driver fort the ILI9486 it looks like it uses different pins than is documented for the Waveshare board.
I presume if this is the case I'd need to make a copy of the ili9486 folder and modify it to make a Waveshare driver ??

I know long time is passed, though I've found this python library (https://github.com/huliqun/Myway_Python_ILI9486) that works fast like a charm on displaying things. I have to admit anyway that the image quality is slightly lower than the one from using your library. I smell this is due to how the image is managed by the library.
Not sure if maybe you can borrow some concept from this one to fasten up your ;)

thanks for info, quick look and I see that the image is used as a buffer. I will look deeply, maybe some LCD setting is a key

I think the problem of the speed is on how you draw the image. I've just checked how you do it on the draw_image method of Area.py class and it seems a lot more cumbersome way of the one from the other library I've sent you. Basically they use numpy to get the bytes buffer of the image and then they send this buffer in chunks without making lots of checks. Maybe this is rendering the image with a slightly worst resolution (and anyway it is very good) of yours, but surely is quite fast.
One further improvement would be recognize those areas that are actually changed from the previous image and render just those (for example when rendering a menu we might just change the color of the highlighted element and restore the previous selected one, so why render the whole image again instead of maybe smaller and faster to render areas?) but I still can't foresee how to do it.

I will look into it but my function is more complicated. It checks for transparency and tries to avoid overwriting pixels.
But I think rewriting it to use numpy and bytes should improve performance a lot.  I will also check different access to SPI
Thanks for pointing it out
As for buffer, I was thinking about it (as I use a buffer in CharLCD lib) but it is faster to just rewrite some parts than call area function on display. I haven't got time to find solution to detect how large the change is and if we want to skip or rewrite area


[New game]: Pixel copter

🎮 Game Request
It's a helicopter game which you need to take your pixel-copter through a pixel world.
Point down the features
To navigate through, watch out for the tricky gravity with pressing space bar to add thrust to your pixel-copter and release it before hitting the top. Don't forget to collect the fuel power-ups for your pixel-copter petrol. That's all you need to do.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @S-ishita !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @S-ishita ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Getting device info such as Localizations.localeOf(context) shouldn't require context

Why do we need to provide a context to get device info such as Localizations.localeOf(context)?
The device doesn't care for the app's current state to provide its information.
Such methods should use the main app context and we shouldn't be required to provide one.
Or am I missing something here?

This plugin seems to do it the right way: https://pub.dev/packages/devicelocale
This should be the default.

The Localizations widget is typically built the the app (like WidgetsApp or MaterialApp) and does reflect the device's locale by default. However, the locale can be overridden at any point within the widget tree, see for example https://api.flutter.dev/flutter/widgets/Localizations/Localizations.override.html. That's why it's necessary to provide a context when looking up a widget's locale.

I am going to close this one with the explanation that Hans gave above.

Yes, it makes sense when it is needed to override the i18n. But I still think the context should be optional. If used, then it gets the MaterialApp/widget localization. If not, then it gets the device language. Otherwise, there's no way to get the device language before a valid context and sometimes we need it to set our environment.


release-20.2: util/log: stop syncing writes excessively

PR: https://github.com/cockroachdb/cockroach/pull/58996
From release notes:

Previously, for certain log files, CockroachDB would both flush individual writes (i.e., propagate them from within the cockroach process to the OS) and synchronize writes (i.e., ask the OS to confirm the log data was written to disk). The per-write synchronization part was unnecessary and, in fact, found to be possibly detrimental to performance and operating cost, so it was removed. Meanwhile, the log data continues to be flushed as previously, and CockroachDB periodically (i.e., every 30s) requests synchronization as previously. [#58996][#58996] {% comment %}doc{% endcomment %}

Closed by #10273.


Update nRF IEEE 802.15.4

Cherry-pick commits introduced upstream in https://github.com/zephyrproject-rtos/zephyr/pull/67137

The following west manifest projects have been modified in this Pull Request:

Name
Old Revision
New Revision
Diff

hal_nordic
https://github.com/zephyrproject-rtos/hal_nordic/commit/b9633ecea67bf52925d4c61455046223b46402b1
https://github.com/zephyrproject-rtos/hal_nordic/commit/3786c55424d4d64c62dd25219de31618cef26fdf
<EMAIL_ADDRESS>

Note: This message is automatically posted and updated by the Manifest GitHub Action.


Introduce mock data preset

allow to statically starts from mock data in MOCK mode.

i'm going to HODL this PR until we fill up actual interesting data sets ;)

no longer needed


Make sure that the config.ps1 is not locked before accessing it from the init.ps1 script.

This implements the suggestions I described in detail with Issue #269.
Once merged, this Closes #269

Btw, for linux implementation there is suggestion to add additional timeout for the whole wait of this file to not have running containers on corner cases, would you like implement it for win?

Do you refer to #252? I can have a look at a windows implementation here. When I read this correctly you wanted to make this configurable from the UI?

Like current settings passed to config, in script it's possible to insert timeout into waiting script

Sure. What value would you suggest here? As far as I understand this option wasn't added to the UI just yet. #252 adds a hardcoded 60 seconds timeout.
So if you want me to I can add an option to the UI and then make sure that the timeout works on windows containers. I think we should maybe do this in a separate PR.

Codecov Report

Merging #270 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #270   +/-   ##
=========================================
  Coverage     19.19%   19.19%
  Complexity      248      248
=========================================
  Files            74       74
  Lines          3079     3079
  Branches        295      295
=========================================
  Hits            591      591
  Misses         2427     2427
  Partials         61       61

Continue to review full report at Codecov.

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

I will merge current code, timeout could be added later.


Video Player not working on android after flutter upgrade

After flutter run, I ran into this error
E/flutter (30800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/services/message_codec.dart': Failed assertion: line 111 pos 15: 'code != null': is not true.
E/flutter (30800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (30800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (30800): #2      new PlatformException (package:flutter/src/services/message_codec.dart:111:15)
E/flutter (30800): #3      VideoPlayerApi.create (package:video_player_platform_interface/messages.dart:205:13)
E/flutter (30800): <asynchronous suspension>
E/flutter (30800): #4      MethodChannelVideoPlayer.create (package:video_player_platform_interface/method_channel_video_player.dart:46:42)
E/flutter (30800): #5      VideoPlayerController.initialize (package:video_player/video_player.dart:282:45)
E/flutter (30800): #6      _HomeScreenState.initState (package:wahey/screens/home_screen/home_screen.dart:21:9)
E/flutter (30800): #7      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4765:58)
E/flutter (30800): #8      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
E/flutter (30800): #9      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter (30800): #10     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter (30800): #11     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6118:14)
E/flutter (30800): #12     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter (30800): #13     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter (30800): #14     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4652:16)
E/flutter (30800): #15     Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
E/flutter (30800): #16     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4606:5)
E/flutter (30800): #17     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
E/flutter (30800): #18     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter (30800): #19     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter (30800): #20     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6118:14)
E/flutter (30800): #21     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter (30800): #22     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter (30800): #23     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6118:14)
E/flutter (30800): #24     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter (30800): #25     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter (30800): #26     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4652:16)
E/flutter (30800): #27     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4800:11)
E/flutter (30800): #28     Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
E/flutter (30800): #29     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4606:5)
E/flutter (30800): #30     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4791:11)
E/flutter (30800): #31     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
E/flutter (30800): #32     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter (30800): #33     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter (30800): #34     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6118:14)
E/flutter (30800): #35     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter (30800): #36     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter (30800): #37     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6118:14)
E/flutter (30800): #38     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter (30800): #39     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter (30800): #40     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4652:16)
E/flutter (30800): #41     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4800:11)
E/flutter (30800): #42     Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
E/flutter (30800): #43     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4606:5)

It doesn't crash the app, but the video does not show up. This happens only on android and after upgrading to flutter 1.22.0

Hi @tienthai0205
Can you please provide your flutter doctor -v, your flutter run --verbose ?
Thank you

Hi @hamdikahloun
I have just updated the description. This is flutter docker -v,
[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.7 19H2, locale en-GB)
    • Flutter version 1.22.1 at /Users/thaithuytien/flutter
    • Framework revision f30b7f4db9 (6 days ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/thaithuytien/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.0

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

• No issues found!

Possible duplicated issue https://github.com/flutter/flutter/issues/66627

Hi @tienthai0205
I see there's an open issue addressing the case you described. https://github.com/flutter/flutter/issues/66627
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you