Cannot run demo for AMM

I wanted to compile and run the demo for automated market maker in cairo-lang/src/demo/amm_demo/amm.cairo but I could not run the compiled program. When calling cairo-run --program=test_compiled.json --print_output I get this error:
Error: Builtins {'output', 'pedersen', 'range_check'} are not present in layout "plain"
I am running inside the python virtual environment. Is there something I am missing here?

The "plain" layout does not contain any builtins. You can specify a different layout for cairo-run, like --layout=small
For more, see https://www.cairo-lang.org/docs/how_cairo_works/builtins.html#layouts

Hmmm... calling cairo-run --program=test_compiled.json --print_output --layout=small` gives me[
amm.cairo:284:5: Error at pc=0:544: Got an exception while executing a hint.     %{     ^^ Traceback (most recent call last):   File "amm.cairo", line 290, in <module>     program_input['token_a_balance'] KeyError: 'token_a_balance'

Hey @Nashtare, when calling cairo-run on a compiled program that has a program_input, these come from an external file. The path of the file (E.g., amm_input.json in the same directory as the compiled program) must be specified, which is achieved with the --program-input=amm_input.json flag.
The key is from a key-value pair in that .json file. If you create the file and populate with the values found in the docs, (search for amm_input.json).
cairo-compile amm.cairo --output amm_compiled.json

cairo-run --program=amm_compiled.json \
    --print_output --layout=small \
    --program_input=amm_input.json

If you want a second source, I did an alternative walkthough of the demo here which also covers this (search --program-input).

Ah right I was missing the input file. Working like a charm now, thank you! Guess this can be closed now


Doesnot work for number of pins = 355

Hi,
I really like this app, its very clean and quick as I don't have to compute on my system. I started off with installing the pins on my canvas and the total comes out to be 355. Strangely the app just doesn't start computing for this number of strings. could you please look into it ?
Regards,
Deepanshu

I just tested 355 and it was able to compute (albeit slowly) a full 4000 lines of string art. See attached.
https://imgur.com/Sl3GzUE
However, the more pins there are the more memory it requires from your browser so my hunch is that you might be hitting a memory limit? I'm using Chrome on a machine with plenty of RAM. Perhaps try a different browser from the one you are currently using. I would assume that it's throwing some sort of console error if it's not working for you.  Hope this helps

Hi, thanks a lot for the quick reply. Please find below the error message in Chrome.

Ok, so I know what's going on. It's not a memory limit, it's a limit on the number of recursive loops allowed by the browser. This is to prevent infinite loops which would be a problem. However, this obviously isn't an infinite loop, it;s just such a large loop it exceeds the browser's maximum when you are using 355 pins. (Behind the scenes it's using very large arrays in order to calculate the best string per loop)
Also, I wasn't clear before, I said I was using Chrome but that's not exactly correct. I'm using Vivaldi which is based on Chromium.  When I tried this on Chrome I got the same error you did. I've confirmed that it works on Vivaldi and on Firefox. If you can use one of those browsers then that should get it working much faster than I could fix the problem with Chrome.

I'll try it with Firefox. Thanks a lot!


Edit "angular2-compilers" package summary better

@dotansimha please reference the commits

https://github.com/Urigo/angular2-meteor/commit/66593685ac30cfd3734c11f152befb6536212395


Add support for Decline to Sign

The following changes have been made to the API:

There is a new parameter allow_decline for declining to sign signature requests
There is a new API status_code for declined requests
There is a new API variable is_declined on SignatureRequest objects
There is a new API variable decline_reason on Signature objects

allow_decline has been added
https://github.com/HelloFax/hellosign-dotnet-sdk/commit/e32d0fd039dae3dd5f7852d3470b4bdd4811c5cb


Local files don't play in 0.2.3-beta-1 on Sony Android TV

androidtv.news didn't play at all.
Dance Party shows the yellow background with "We're playing some music!" but no music plays.
Model: Bravia 2015 W800C
Version: 5.1.1
Build: SVPDTV15_PA-user 5.1.1 LMY48E.S127 3.017 release-keys

Yeah I'll have to figure that out. Sony TVs have been a unique case. The
local video should work on Android 5.1 and below (else you'll have to
manually grant storage permissions).
Are you getting popup messages when you change channels?
On Feb 6, 2016 7:16 AM, "Alan Cramer"<EMAIL_ADDRESS>wrote:

androidtvnews didn't play at all
Dance Party shows the yellow background with "We're playing some music!"
but no music plays
Model: Bravia 2015 W800C
Version: 511
Build: SVPDTV15_PA-user 511 LMY48ES127 3017 release-keys
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/ChannelSurfer/issues/15.

Yes, the gray pop ups are working perfectly.  The media itself is not playing.
As this is Android 5.1.1, there is no way to modify permissions.  Thought this might be a sticking point for people using your library to create channels that use other content such as local media or music.

If it is 5.1.1, the permission should be granted automatically. The playback issues could be coming from the Sony implementation. Can you check if the media files are copied correctly in the file browser? /storage/emulated/0/channelsurfer/ is the folder.

There are no files in that folder.  The folder exists however.  I can see from the message at the bottom of the screen as I go to each channel that it is trying to play a file within that folder.

Yes it is trying to play that file. If it doesn't exist, that's certainly
an odd problem. Can you resync again through Channel Sources and see if the
files exist?
On Feb 6, 2016 10:37 PM, "Alan Cramer"<EMAIL_ADDRESS>wrote:

There are no files in that folder. The folder exists however. I can see
from the message at the bottom of the screen as I go to each channel that
it is trying to play a file within that folder.
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/ChannelSurfer/issues/15#issuecomment-180935645
.

Worked fine the second time around.  Seems like the problem is now solved.

Then I may need to adjust the file copy system so that it works the first
time.
On Sat, Feb 6, 2016, 11:38 PM Alan Cramer<EMAIL_ADDRESS>wrote:

Worked fine the second time around. Seems like the problem is now solved.
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/ChannelSurfer/issues/15#issuecomment-180945405
.


Add dedicated composer for MobX

Great. Could we have some test cases for this and a doc section in the README. I'm happy to get this.

Like my last PR for redux, something got messed up. Created a new PR for this at https://github.com/kadirahq/react-komposer/pull/101
I'm not strong or very experienced in testing but I'll do my best. Can definitely add a README. I'll try to have this tomorrow.


Add chef-client version testing matrix

These create a lot of noise and obscures information more relevant to the user.
[2015-08-12T10:17:27-07:00] WARN: This will no longer work in Chef 13: you must use 'resource_name' to provide DSL.
[2015-08-12T10:09:34-07:00] WARN: Resource.dsl_name is deprecated and will be removed in Chef 13.  Use resource_name instead.
[2015-08-12T10:09:34-07:00] WARN: Resource.dsl_name is deprecated and will be removed in Chef 13.  Use resource_name instead.
[2015-08-12T10:09:34-07:00] WARN: Resource.dsl_name is deprecated and will be removed in Chef 13.  Use resource_name instead.

This should wait until it will be tested in a chef-client version matrix, i.e. once chef-provisioning#415 is ported over.

@cdoherty I removed the resource warnings in https://github.com/chef/chef-provisioning-aws/pull/293 and the provider warnings in https://github.com/chef/chef-provisioning-aws/pull/303.  I renamed this issue to reflect what is left - adding the chef version matrix to travis tests


About the event closure of Checkbox

    pub fn new<F>(is_checked: bool, label: impl Into<String>, f: F) -> Self
    where
        F: 'static + Fn(bool) -> Message,
    {
        Checkbox {
            is_checked,
            on_toggle: Box::new(f),
            label: label.into(),
            width: Length::Shrink,
            size: <Renderer as self::Renderer>::DEFAULT_SIZE,
            spacing: Renderer::DEFAULT_SPACING,
            text_size: None,
            font: Renderer::Font::default(),
            style: Renderer::Style::default(),
        }
    }

I copy from the iced code, the type of the F above is Fn(bool) -> Message, but if I want to use a captured value's self fn,
I need to write move |_| x.clone.into_something() so there actually do one more clone method.
Whether it can do some change?

I am not sure I understand the issue here. Is it the clone call? Could you elaborate a bit? Maybe you could share a specific example that showcases the problem?

Oh yes, is clone() call.
The idea is that the Fn() closure just can supply &self signature, so I want to send a ownership like pathbuf that I need to do move |bool| pathbuf.clone().into_box_path(), here captured  the ownership of pathbuf(which needs 'static lifetime so I must move it ) and then clone() one more time, if was FnOnce() that I can just move |bool| pathbuf.into_box_path().
Maybe FnOnce() just can call once? So that isn't a good choice. I don't know,  thanks anyway.

If you move the data underlying the checkbox though, it will no longer be available to the checkbox, so the checkbox could no longer function properly? Not sure I understand how moving the data underlying the UI is feasible.
In general, Iced does the 'closure-to-map-event-to-messages' thing a lot: text inputs, sliders, etc all have this approach:
pub fn new_widget_thingy<F>(some_state: state_type, f: F) -> Self
    where
        F: 'static + Fn(event_type) -> Message,

The closure you provide is the 'glue' between the user interaction and its data, and the message that gets emitted to your specific application.
In practice, try to make all your Message types 'cheap' and clone-able. If the underlying data is not cheap to clone, consider using some indirection that is: (for example, making an enum who's variants represent the different states, or using an Arc<>)


Istio ingressgateway routing broken with two different gateways with same port name (SDS)

Describe the bug
Using https/SDS to secure two gateways(in diff namespaces) which has same port name, the ingressgateway only route to the first
Expected behavior
Port name should not be necessary unique, since the gateways are in different namespaces, and ingressgateway should route correctly.
We have tested http, which works correctly and we hope https has same behavior.
Steps to reproduce the bug

Follow https://preliminary.istio.io/docs/tasks/traffic-management/secure-ingress/sds/ to create certs
apply following yaml file

# httpbin & testcurl with sidecar auto injection
---
apiVersion: v1
kind: Namespace
metadata:
  name: foo
  labels:
    name: foo
    istio-injection: enabled
---
apiVersion: v1
kind: Namespace
metadata:
  name: bar
  labels:
    name: bar
    istio-injection: enabled
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: foo
  namespace: foo
spec:
  selector:
    istio: ingressgateway
  servers:
  - port:
      number: 443
      name: https
      protocol: HTTPS
    tls:
      mode: SIMPLE
      credentialName: "foo-credential" # must be the same as secret
    hosts:
    - "foo.example.com"
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: bar
  namespace: bar
spec:
  selector:
    istio: ingressgateway
  servers:
  - port:
      number: 443
      name: https
      protocol: HTTPS
    tls:
      mode: SIMPLE
      credentialName: "bar-credential" # must be the same as secret
    hosts:
    - "bar.example.com"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: foo
  namespace: foo
spec:
  hosts:
  - "foo.example.com"
  gateways:
  - foo
  http:
  - match:
    - uri:
        prefix: /status
    route:
    - destination:
        port:
          number: 8000
        host: foo
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: bar
  namespace: bar
spec:
  hosts:
  - "bar.example.com"
  gateways:
  - bar
  http:
  - match:
    - uri:
        prefix: /delay
    route:
    - destination:
        port:
          number: 8000
        host: bar

---
apiVersion: v1
kind: Service
metadata:
  name: foo
  namespace: foo
  labels:
    app: foo
spec:
  ports:
  - name: http
    port: 8000
    targetPort: 8000
  selector:
    app: foo

---
apiVersion: v1
kind: Service
metadata:
  name: bar
  namespace: bar
  labels:
    app: bar
spec:
  ports:
  - name: http
    port: 8000
    targetPort: 8000
  selector:
    app: bar

---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: foo
  namespace: foo
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: foo
    spec:
      containers:
      - image: docker.io/citizenstig/httpbin
        imagePullPolicy: IfNotPresent
        name: httpbin
        ports:
        - containerPort: 8000
        livenessProbe:
          periodSeconds: 10
          initialDelaySeconds: 20
          httpGet:
            path: /status/200
            port: 8000

---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: bar
  namespace: bar
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: bar
    spec:
      containers:
      - image: docker.io/citizenstig/httpbin
        imagePullPolicy: IfNotPresent
        name: httpbin
        ports:
        - containerPort: 8000
        livenessProbe:
          periodSeconds: 10
          initialDelaySeconds: 20
          httpGet:
            path: /status/200
            port: 8000

call foo service: curl -v -HHost:foo.example.com   --resolve foo.example.com:443:<IP_ADDRESS>   --cacert foo.example.com/2_intermediate/certs/ca-chain.cert.pem   https://foo.example.com:443/status/418 - success
call bar service: curl -v -HHost:bar.example.com   --resolve bar.example.com:443:<IP_ADDRESS>   --cacert bar.example.com/2_intermediate/certs/ca-chain.cert.pem   https://bar.example.com:443/delay/1 - failed, reported error:

Connected to bar.example.com (<IP_ADDRESS>) port 443 (#0)
ALPN, offering http/1.1
Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
successfully set certificate verify locations:
CAfile: bar.example.com/2_intermediate/certs/ca-chain.cert.pem
CApath: none
TLSv1.2 (OUT), TLS header, Certificate Status (22):
TLSv1.2 (OUT), TLS handshake, Client hello (1):
OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to bar.example.com:443

Version
$ istioctl version --remote
client version: version.BuildInfo{Version:"1.1.0-rc.4", GitRevision:"d23daa3d242e51b8fff513f3ac86a708e9bcceba", User:"root", Host:"5ceb25bc-4506-11e9-b4f5-0a580a2c0404", GolangVersion:"go1.10.4", DockerHub:"docker.io/istio", BuildStatus:"Clean", GitTag:"1.1.0-rc.3-18-gd23daa3"}
...
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.0", GitCommit:"91e7b4fd31fcd3d5f436da26c980becec37ceefe", GitTreeState:"clean", BuildDate:"2018-06-27T22:29:25Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.4", GitCommit:"f49fa022dbe63faafd0da106ef7e05a29721d3f1", GitTreeState:"clean", BuildDate:"2018-12-14T06:59:37Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}

Installation
Follow https://preliminary.istio.io/docs/setup/kubernetes/install/helm/#option-2-install-with-helm-and-tiller-via-helm-install
Environment
Ubuntu 16.04.5 LTS   4.15.0-1036-azure   docker://18.6.0
Cluster state
see attached file

@philrud is this similar to something you've looked at in the past?
Actually, this is a special P0 - we need to do it asap, but we can't get it into 1.1 because it shipped already
CC @costinm

@duderino another team previously reached out regarding a similar/related issue, but their use case was pretty simple: a single gateway with multiple hosts and the same name for secure ports. My understanding was that this is a known limitation with existing workaround: using distinct names for the ports solves the issue. That's what we ended up recommending them. No further investigation was done at that point, so I don't have any additional info besides what's already covered in the comments here: https://github.com/istio/istio/issues/11509
Now as we actually want to get it fixed asap this is a different story of course -- I'll start digging into what the root cause is and what the least intrusive fix could be.

I can reproduce this issue with file mount based approach. ingress_config_dump_filemount_ingress.txt is the config dump of ingress gateway envoy, it only has one active_dynamic_listener for foo.example.com
ingress_config_dump_filemount_ingress.txt
This is my yaml file for reproducing this issue.
foo-bar-filemount-gateway.yaml.txt

yes, I don't believe this has something to do with SDS, just the lack of scoping while generating listener names or something like that

@philrud thanks for digging in.  please take it.  ideally this will go into 1.1.1

Thanks folks for prompt investigation.

The gateway port names have to be unique, if they are sharing the same port. Thats the only way we differentiate different RDS blocks. We went through this motion earlier as well. I wouldn't rock this boat unless absolutely necessary.

@rshriram @costinm @duderino
I have drafted a PR for this: https://github.com/istio/istio/pull/12556 (also fixes https://github.com/istio/istio/issues/11509)
This is currently against 1.1, I'll rebase it over 1.1.1 once the branch is cut.

@duderino Shipping with 1.1.1 makes sense. Have we decided when the 1.1.1 release will be?

@philrud please use the release-1.1 branch.

@philrud https://github.com/istio/istio/pull/12556 has been merged. Anything left to do here?

no, this and #11509 should be addressed by that PR

Fixed by #12556 which will be in 1.1.1


Ghost's duplication on gib

Description
When player's mob is gibbed while player is inside ghost(both MobObeserver or AdminObserver), player would be teleported to gib location and put inside new Ghost, leaving old Ghost inactive and visible.

This is not the case anymore


⚠ ClamAV has degraded performance

In 81348e2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 212 ms

Resolved: ClamAV performance has improved in 84c27ea.


Set device resource root to "mgmt" where it should have been originally.

@swormke
Fixes #382
To upgrade to the correct directory structure I defined a new class in bigip/__init__.py called "ManagementRoot" it's the proper class to use moving forward.    For backwards compatibility I defined a class "BigIP" that inherits from it, and has the old root and lazy attributes set.
ConcreteSubclasses have moved into the tm subdirectory.   There's a new OrganizingCollection "Tm" that contains the original "TopLevel" OCs.
All tests that were passing continue to pass.  (There are 8 unrelated failures, I was unpleasantly surprised to discover.)

All good except for Auth inclusion in bigip/init.py

Ship it!


Get-Help does not work in JEA sessions

Note: Ported from bug 9314110

Steps to reproduce
New-PSSessionConfigurationFile -Path .\repro.pssc -SessionType RestrictedRemoteServer -RunAsVirtualAccount
Register-PSSessionConfiguration -Path .\repro.pssc -Name Repro -Force
Enter-PSSession -ComputerName . -ConfigurationName Repro
Get-Help Select-Object

Expected behavior
NAME
    Select-Object

SYNOPSIS
    Selects objects or object properties.
[...]

Actual behavior
Cannot find path '' because it does not exist.
    + CategoryInfo          : ObjectNotFound: (:) [Get-Help], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetHelpCommand

Environment data
> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.15063.413
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.15063.413
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

WG-Security:
Need to review Get-Help for security before it can be allowed as a default JEA command.

Is there any known any work around for this issue, IE: using online help / populating files some where?


Load testing w/ portal is also deprecated

Should be removed from docs as an alternative

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

ID: cde00a22-c654-f6e9-5bad-c4deb0852899
Version Independent ID: 88ff6f31-199d-e3f6-bc68-be91dc695b0e
Content: Load test overview - Azure Test Plans
Content Source: docs/test/load-test/overview.md
Product: devops
Technology: devops-test
GitHub Login: @steved0x
Microsoft Alias: sdanie

The 'Performance Test' option is no longer available:

I misunderstood the docs as listing alternatives. I think the verbiage here could be improved instead of speaking to these offerings as "entrypoints"... just mention that "it affects the following products ..."


$where is not working in find query

I have seeded some data using mongomock, but when I am trying to find some document using $where clause but not returning anything.

Hi @vikashupadhyay thanks for reporting. This is both a feature request (because $where is not implemented in mongomock yet) and a bug (because $mongomock should report that instead of returning silently).
Can you please provide a simple example?

Simple example (as in the mongoengine issue I mistakenly opened, referenced here above):
class IntPair(Document):
  fielda = IntField()
  fieldb = IntField()

a = IntPair(fielda=1, fieldb=1)
b = IntPair(fielda=1, fieldb=2)
c = IntPair(fielda=2, fieldb=1)
a.save()
b.save()
c.save()
query = IntPair.objects.where('this[~fielda] >= this[~fieldb]')
results = list(query)

Resulting exception stack trace:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/kurt/temp/venv/lib/python3.8/site-packages/mongoengine/queryset/queryset.py", line 62, in __len__
    list(self._iter_results())
  File "/Users/kurt/temp/venv/lib/python3.8/site-packages/mongoengine/queryset/queryset.py", line 110, in _iter_results
    self._populate_cache()
  File "/Users/kurt/temp/venv/lib/python3.8/site-packages/mongoengine/queryset/queryset.py", line 129, in _populate_cache
    self._result_cache.append(next(self))
  File "/Users/kurt/temp/venv/lib/python3.8/site-packages/mongoengine/queryset/base.py", line 1590, in __next__
    raw_doc = next(self._cursor)
  File "/Users/kurt/temp/venv/lib/python3.8/site-packages/mongoengine/queryset/base.py", line 1671, in _cursor
    self._cursor_obj.where(where_clause)
AttributeError: 'Cursor' object has no attribute 'where'

Version info:
mongoengine==0.20.0
mongomock==3.19.1.dev17
pymongo==3.10.1


feat(revm): return journal entries

expose and return internal journal entries as they can potentially help with the optimization.

This seems useful for inspecting changes to state for a transaction. Just curious why this was closed instead of merged?

This seems useful for inspecting changes to state for a transaction. Just curious why this was closed instead of merged?

There can be multiple changes in journal in regards to same storage/account, this can get confusing and can be a footgun imo. And any account returned from revm can be checked if it got changed


Max length text field

📥 Proposed changes
Added max length to input-field.
☑ Submission checklist

[x] I have read the CONTRIBUTING doc
[x] yarn build works locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

I think you're requesting a bit more than you intended. Either rebase on master, or create a new branch from master and cherry pick in your commit.

Hehe I know, should be fixed now


allow_duplicates should work for async code too

I want to make my tests async so I can easily parallelize them for speed. I also want to use allow_duplicates!. Unfortunately this doesn't work as it uses a non-async helper function, and if I were to have that function return a future then the future wouldn't support duplicates as the code would not be running from within the context of allow_duplicates! anymore.
What I'd like is an allow_duplicates_async! version that acts like an async {} block except allowing duplicates for code running in the future. This could work by returning a custom future that sets up the duplicates infrastructure on each poll (thus still allowing for the use of thread-local state in the implementation).

Happy to accept a PR here. I'm unlikely to do this myself at the moment since I do not have a use for this.


Feature/issue 607 travis ci

Summary:
Gets Stan to use travis-ci.
Intended Effect:
Runs some of the unit tests on travis-ci on a linux machine.
How to Verify:
Look at travis-ci.com
Side Effects:
Fixes some of the includes in some of the tests.
Documentation:
None required.
Reviewer Suggestions:
Anyone.

I reran the test case that failed and it passed: http://d1m1s1b1.stat.columbia.edu:8080/job/Stan Pull Request - Interface - CmdStan/95/.
I'm pushing this through since it's a trivial change to the code base. Most of it is includes that got shifted for a couple of the segfaults, then one for the .travis.yml.


Make USB powered and battery powered Badger2040 work the same

One annoyance with the badger is difference in the behaviour of halt() between running with power connected and without.
I realised this would be simple to fix - instead of just looping forever in halt(), instead wait for a button press and then reset - this should give you exactly the same behaviour as when running from battery.
I've also included a couple of other small changes:

A fix to make convert.py handle images that are already black and white
And I hope you might indulge me and allow a change from the internal state of the Badger2040 class from private to protected, which would help me continue to use your class as a base for my LowPowerBadger.

I'm going to be honest- I barely touched the C++ stuff outside of ripping it to pieces in order to make it work for MicroPython. T'was all very last minute, seat of my pants. As such I'm really grateful for your efforts here- thank you!
I will gladly indulge you!


problem about the test script

I can not use your test script with my own image.
the problem is:
labels_shape (2, 80) result_shape (2, 80) bboxes.shape[0] 2 labels.shape[0] 160 Traceback (most recent call last):   File "tools/test_images.py", line 17, in <module>     show_result(img, result,filepath='/mnt/lustre/fangkairen/mmdetection')   File "/mnt/lustre/fangkairen/.local/lib/python3.6/site-packages/mmdet-0.5.4+f509f8e-py3.6.egg/mmdet/apis/inference.py", line 69, in show_result     out_file=filepath)   File "/mnt/lustre/fangkairen/.local/lib/python3.6/site-packages/mmcv/visualization/image.py", line 102, in imshow_det_bboxes     assert bboxes.shape[0] == labels.shape[0]
and the scipt I used is:
import mmcv
from mmcv.runner import load_checkpoint
from mmdet.models import build_detector
from mmdet.apis import inference_detector, show_result
import cv2
import numpy as np
cfg = mmcv.Config.fromfile('configs/mask_rcnn_r50_fpn_1x.py')
cfg.model.pretrained = None

# construct the model and load checkpoint
model = build_detector(cfg.model, test_cfg=cfg.test_cfg)
_ = load_checkpoint(model, 'work_dirs/kellen/epoch_12.pth')

# test a single image
img = mmcv.imread('test_images/test.jpg')
result = inference_detector(model, img, cfg)
show_result(img, result,filepath='/mnt/lustre/fangkairen/mmdetection')

and my model is good because i use tool/test.py to test my model in test datasets

Just to remind that the above script needs some modifications when using the latest version of mmdetection and pytorch.
# -*- coding: utf-8 -*-
import os
import numpy as np
import mmcv
import torch
from mmcv.runner import load_checkpoint
from mmdet.models import build_detector
from mmdet.apis import inference_detector
from mmdet.core import get_classes
import pycocotools.mask as maskutils

def show_mask_result(img, result, save_img, dataset='coco', score_thr=0.7, with_mask=True):
    segm_result = None
    if with_mask:
        bbox_result, segm_result = result
    else:
        bbox_result = result
    if isinstance(dataset, str):  # add own data label to mmdet.core.class_name.py
        class_names = get_classes(dataset)
        # print(class_names)
    elif isinstance(dataset, list):
        class_names = dataset
    else:
        raise TypeError('dataset must be a valid dataset name or a list'
                        ' of class names, not {}'.format(type(dataset)))
    h, w, _ = img.shape
    img_show = img[:h, :w, :]
    labels = [
        np.full(bbox.shape[0], i, dtype=np.int32)
        for i, bbox in enumerate(bbox_result)
    ]
    labels = np.concatenate(labels)
    bboxes = np.vstack(bbox_result)
    if with_mask:
        segms = mmcv.concat_list(segm_result)
        inds = np.where(bboxes[:, -1] > score_thr)[0]
        for i in inds:
            color_mask = np.random.randint(0, 256, (1, 3), dtype=np.uint8)
            mask = maskutils.decode(segms[i]).astype(np.bool)
            img_show[mask] = img_show[mask] * 0.5 + color_mask * 0.5
    result_img = mmcv.imshow_det_bboxes(img_show, bboxes, labels, class_names=class_names,
                                        score_thr=score_thr, show=False, out_file=save_img)
    return result_img

config_path = config file path
model_path = model file path

cfg = mmcv.Config.fromfile(config_path)
cfg.model.pretrained = None
cfg.data.test.test_mode = True

# construct the model and load checkpoint
model = build_detector(cfg.model, test_cfg=cfg.test_cfg)
model.cfg = cfg
device = torch.device("cuda:0")
model = model.to(device)
model.eval()
_ = load_checkpoint(model, model_path)
mask_score_thresh = 0.6

img = []
img_folder = your image folder
for single_img in os.listdir(img_folder):
    img.append(os.path.join(img_folder, single_img))

img_result = inference_detector(model, img)
for single_img in img:
    img = mmcv.imread(single_img)
    result = next(img_result)
    answer = show_mask_result(img, result, os.path.basename(single_img),
                              score_thr=mask_score_thresh, with_mask=True)

The official demo has supported visualizing bbox/mask results for a long time...

@hellock Thanks for your reply. I did not notice the official demo..

Never mind. This repo is developed rapidly.

Yeah, hope to see more networks and papers in this repo.

@hellock  how to provide filter class names to get a particular class instance in the output image similar to a mask rcnn?

I am not able to run the videoextractor.py script using newer version of mmcv as it does not contain any module named 'runner', even though if forced install the 1.7.1 version of mmcv, still the script won't run as there is no module available in mmdet in mmdetection with name build_detector. Kindly check and update the code.


In JS, importing JSON should not give an error

We don't have to give a good type, but there should not be an error.
Search terms: import require json
const version = require('./package.json').version

Expected behavior:
No error and maybe even version: string
Actual behavior:
Error and version: any.

Duplicate of #7071. Should be fixed by https://github.com/Microsoft/TypeScript/pull/22167

OK, I updated #7071's title to be searchable.


Update jackson-databind for sbt plugins

Resolves: https://github.com/apache/incubator-pekko/issues/376

@pjfanning Seems like updating the jackson dependency didn't break anything

Still leaves us having to find out which plugin is causing the long dead jackson v1 (codehaus groupId) to be used

So I found out the issue, it appears we are using a no longer maintained https://github.com/spotify/docker-client which is bringing in the ancient jackson version. I have done a temporary workaround but we should replace/remove this test dependency (likely with something like testcontainers). Making an issue on it now.


Debug config applied twice, so the JVM process fails

What happened?
In a Spring Boot application, after the fix delivered for https://github.com/paketo-buildpacks/debug/issues/43, I tried using the BP_DEBUG_ENABLED  variable to include the debug buildpack into the final image (for Java 11).
When I run the container with BPL_DEBUG_ENABLED set to true, the process fails because it looks like the debug configuration is appended twice to JAVA_TOOL_OPTIONS.
The error message is:
Setting Active Processor Count to 8
Debugging enabled on port *:8002
Calculating JVM memory based on 48731716K available memory
Calculated JVM Memory Configuration: -XX:MaxDirectMemorySize=10M -Xmx48062573K -XX:MaxMetaspaceSize=157142K -XX:ReservedCodeCacheSize=240M -Xss1M (Total Memory: 48731716K, Thread Count: 250, Loaded Class Count: 25330, Headroom: 0%)
Enabling Java Native Memory Tracking
Adding 128 container CA certificates to JVM truststore
Spring Cloud Bindings Enabled
Debugging enabled on port *:8002
Picked up JAVA_TOOL_OPTIONS: -Djava.security.properties=/layers/paketo-buildpacks_bellsoft-liberica/java-security-properties/java-security.properties -XX:+ExitOnOutOfMemoryError -XX:ActiveProcessorCount=8 -agentlib:jdwp=transport=dt_socket,server=y,address=*:8002,suspend=n -XX:MaxDirectMemorySize=10M -Xmx48062573K -XX:MaxMetaspaceSize=157142K -XX:ReservedCodeCacheSize=240M -Xss1M -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+PrintNMTStatistics -Dorg.springframework.cloud.bindings.boot.enable=true -agentlib:jdwp=transport=dt_socket,server=y,address=*:8002,suspend=n
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
Error occurred during initialization of VM
agent library failed to init: jdwp

Build Configuration

What platform (pack, kpack, tekton buildpacks plugin, etc.) are you
using? Please include a version.
Spring Boot 2.5.5 with Gradle and Java 11.

What buildpacks are you using? Please include versions.
The default buildpacks for Spring Boot.

What builder are you using? If custom, can you provide the output from pack inspect-builder <builder>?
The builder used by the Spring Boot plugin: paketobuildpacks/builder:base (feded0d5b468).

Checklist

[X] I have included log output.
[X] The log output includes an error message.
[X ] I have included steps for reproduction.

Thanks for the report. I'm pretty sure I know what's causing this. Let me run a few tests to confirm & we'll get this fixed.

Yes, sorry. This is my fault.
We have recently moved the functionality of the Debug & JMX buildpacks into libjvm, which means that you no longer need to set BP_DEBUG_ENABLED. The helper for them is always present. You only need BPL_DEBUG_ENABLED at runtime to enable debug.
I was supposed to remove these's buildpacks from the composite Java CNBs and that got missed. We'll pull them out in the next release.
In the meantime, you can work around this by simply not setting BP_DEBUG_ENABLED. This will cause the Debug buildpack to not run. The debug helper will still be there though, because o the libjvm work we did & you can still set BPL_DEBUG_ENABLED and enable Debug at runtime.

@dmikusa-pivotal Perfect, I'll do that. Thank you very much for the quick response and help!

PR is in. We'll cut a release Friday at the latest.


Parent element positioning is incorrect

Description of the issue
When I specify the option parent, the picker is always display on top even if there is not enough space on top.
Example
<div id="test-me" class="c-color-input">
  <input type="text" data-coloris/>
</div>

if I put "test-me" in parent the positionning is not correct

The picker will default to displaying on top when there is not enough space at the bottom. I'm unsure of what to do when there is not enough space on top either.

No I mean the issue is that you are calculating the position based on the parent  we pass instead of the first scrollable element.
Look at the screen:

As you can see there is plenty of space on the bottom but instead the picker is placed on top because the height of parent is the height of the input 😅

In that case, the picker should be attached to the srollable parent

In that case the picker should be attached to the first scrollable parent.


feat: make Column a subclass of Sequence

Summary of Changes

🦙 MegaLinter status: ❌ ERROR

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ PYTHON
black
5
1
0
1.22s

❌ PYTHON
mypy
5

1
1.74s

✅ PYTHON
ruff
5
1
0
0.05s

✅ REPOSITORY
git_diff
yes

no
0.02s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

:tada: This PR is included in version 0.12.0 :tada:
The release is available on:

v0.12.0
GitHub release

Your semantic-release bot :package::rocket:


Add Go Report Card badge

Pull Request Test Coverage Report for Build 505562780

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.04%) to 74.787%

Files with Coverage Reduction
New Missed Lines
%

controllers/config/k3osconfig_controller.go
2
58.73%

Totals

Change from base Build 505546538:
0.04%

Covered Lines:
439

Relevant Lines:
587

💛  - Coveralls

Pull Request Test Coverage Report for Build 505562780

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.04%) to 74.787%

Files with Coverage Reduction
New Missed Lines
%

controllers/config/k3osconfig_controller.go
2
58.73%

Totals

Change from base Build 505546538:
0.04%

Covered Lines:
439

Relevant Lines:
587

💛  - Coveralls


Add image button, to animate stuff.

Also convert the existing buttons that should be converted.

Changed to AnimatedImageButton, to make it clearer what we're trying to do with it.

@bwinton Just so we're on the same page, I'm mostly interested in these changes: https://github.com/victorporof/tofino/pull/101#discussion_r117623525 :) The renaming was at your discretion.

Changed to AnimatedImageButton, to make it clearer what we're trying to do with it.

Yeah, I thought the renaming was a good idea, so I kinda slid it in there too.  😄


Solidity 0.8 Diamond Version

Please add a diamond version that supports Solidity 0.8.   An example of such an implementation is here: https://github.com/mudgen/diamond-3-hardhat

in hardhat-deploy@next I revamped the diamond deployment
I got rid of the Diamantaire and the new diamond is the one here.
Plus you can now specifiy your own implementation too
It has not been tested but if you could try it out that would help me
this is the new DIamondOptions : https://github.com/wighawag/hardhat-deploy/blob/e8737d53247acf5d6ad91a2b6f3da63b79933fdf/types.ts#L80-L99

Awesome, thanks.


Documentation problem

Please make a demo vault in which everything is setup and atleast a demo video to use it properly. The plugin could be amazing but why create resistance for user to use it? Documentation should be more visual.

There is actually a demo Vault here and Alternatively Josh Plunkett did a tutorial video covering the basics
Some updates have been made since then so I guess getting more examples down could be welcome
Thanks for the heads up

There is actually a demo Vault here and Alternatively Josh Plunkett did a tutorial video covering the basics
Some updates have been made since then so I guess getting more examples down could be welcome Thanks for the heads up

I checked your demo vault and it looks like a nice plugin. I found some issues.

Strips(the line that representing the date range) are not rendering right. I put different start date and same end date of two different notes so the strips should start at different location and end at same but it is not happening.

It is not live updating. We need to refresh the note

When I installed the plugin in my vault then it was not rendering the content of the note like it is doing in demo vault. In my vault it was saying the body content is missing even when I typed in the note below frontmatter.

Regarding documentation I saw lot of plugins show important links(videos and articles) and also an uploaded demo video on readme page so it is easy to instantly get the idea about what the plugin is. And also I think you should put the folder in code section for demo vault so people can instantly see here is a demo vault. But overall you did a great job. I like this plugin because I also write stories so it is easier to write various events in different notes but still we can see all in visual form at a single place.

Strips(the line that representing the date range) are not rendering right. I put different start date and same end date of two different notes so the strips should start at different location and end at same but it is not happening.

This looks like an issue on it's own

When I installed the plugin in my vault then it was not rendering the content of the note like it is doing in demo vault. In my vault it was saying the body content is missing even when I typed in the note below frontmatter.

Did you re-render the timeline ?

It is not live updating. We need to refresh the note

True, there's no live updating, haven't come around doing that yet.
In the meantime entring and exiting the markdown code block does the trick
If you have the time and the will, you're welcome to open each of those as separate issues and perhaps I'll come around and attempt to handle them, they are all valid points, thank you for the feedback


Processing of Forwardrefs

Features

Introduce processing of ForwardRef in relations.
Now you can create self-referencing models - both ForeignKey and ManyToMany relations.
ForwardRef can be used both for to and through Models. solve #78
Introduce the possibility to perform two same relation joins in one query, so to process complex relations like:    B = X = Y
  //
 A
  \
    C = X = Y <= before you could link from X to Y only once in one query
                 unless two different relation were used
                 (two relation fields with different names)

Introduce the paginate method that allows to limit/offset by page and page_size.
Available for QuerySet and QuerysetProxy.

Other

Refactoring and performance optimization in queries and joins.
Add python 3.9 to tests and pypi setup.
Update API docs and docs -> i.e. split of queries documentation.

Codecov Report

Merging #87 (75c003c) into master (e641365) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master       #87    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           95        95
  Lines         7515      8074   +559
==========================================
+ Hits          7515      8074   +559

Impacted Files
Coverage Δ

tests/test_more_same_table_joins.py
100.00% <ø> (ø)

tests/test_order_by.py
100.00% <ø> (ø)

tests/test_selecting_subset_of_columns.py
100.00% <ø> (ø)

ormar/fields/base.py
100.00% <100.00%> (ø)

ormar/fields/foreign_key.py
100.00% <100.00%> (ø)

ormar/fields/many_to_many.py
100.00% <100.00%> (ø)

ormar/models/helpers/models.py
100.00% <100.00%> (ø)

ormar/models/helpers/relations.py
100.00% <100.00%> (ø)

ormar/models/helpers/sqlalchemy.py
100.00% <100.00%> (ø)

ormar/models/metaclass.py
100.00% <100.00%> (ø)

... and 33 more

Codecov Report

Merging #87 (75c003c) into master (e641365) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master       #87    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           95        95
  Lines         7515      8074   +559
==========================================
+ Hits          7515      8074   +559

Impacted Files
Coverage Δ

tests/test_more_same_table_joins.py
100.00% <ø> (ø)

tests/test_order_by.py
100.00% <ø> (ø)

tests/test_selecting_subset_of_columns.py
100.00% <ø> (ø)

ormar/fields/base.py
100.00% <100.00%> (ø)

ormar/fields/foreign_key.py
100.00% <100.00%> (ø)

ormar/fields/many_to_many.py
100.00% <100.00%> (ø)

ormar/models/helpers/models.py
100.00% <100.00%> (ø)

ormar/models/helpers/relations.py
100.00% <100.00%> (ø)

ormar/models/helpers/sqlalchemy.py
100.00% <100.00%> (ø)

ormar/models/metaclass.py
100.00% <100.00%> (ø)

... and 33 more


W3C DCAT

Some popular tools in the market use the W3C DCAT v2 or v3 standard to import and export metadata, ontologies and taxonomies.
Is there any plan to embrace it?
https://www.w3.org/TR/vocab-dcat-3/

Definitely interested in building compatibility with dcat! Would you be willing to provide an suggestion (rfc) for how we would map the DataHub metadata model to the DCAT standard?

Are you still interested in this @ricardosouzamorais? My organisation is quite likely to need this functionality in the future, so I may be able to collaborate on the RFC, or point you to others who can help.


[TASK] Fix comma operator should not be used issue

Task Context

The Codacy Static Code Analysis reports the following error in the codebase: The comma operator should not be used (MISRA 12.3 Rule)
More details can be found here: https://app.codacy.com/gh/jmakhack/myanimelist-cli/issues?bid=22863233&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W119LHsiaWQiOiJDYXRlZ29yeSIsInZhbHVlcyI6WyJFcnJvclByb25lIl19LHsiaWQiOiJMZXZlbCIsInZhbHVlcyI6W119LHsiaWQiOiJQYXR0ZXJuIiwidmFsdWVzIjpbIjE1MTUyIl19LHsiaWQiOiJBdXRob3IiLCJ2YWx1ZXMiOltdfV0=
Acceptance Criteria

The acceptance criteria for this task is to fix the issues mentioned in the Codacy link. After opening a pull request, the Codacy check will automatically run to see if the issues were fixed.
Additional Context

Please read through the Contributing to the Project document before working on this project.
For any questions or discussions, join the Discord to meet and engage with other contributors!

@jmakhack can you please assign this issue to me?


crash at start

root@xps ~/z/build (main)# ./zenway
[2024-10-12 16:57:29.972] [info] Loading configuration at: /root/.config/zenway/config.lua
[2024-10-12 16:57:29.989] [info] Bound to global interface wl_compositor version 4. Max version 6. Built with version 6.
[2024-10-12 16:57:29.989] [info] Bound to global interface wl_shm version 1. Max version 1. Built with version 2.
[2024-10-12 16:57:29.989] [info] Bound to global interface zwlr_layer_shell_v1 version 3. Max version 4. Built with version 3.
[2024-10-12 16:57:29.989] [info] Creating keyboard
[2024-10-12 16:57:29.989] [info] Bound to global interface wl_seat version 5. Max version 9. Built with version 9.
[2024-10-12 16:57:29.989] [info] Bound to global interface wl_output version 4. Max version 4. Built with version 4.
[2024-10-12 16:57:29.994] [info] Keyboard layout received: English (intl., with AltGr dead keys)
[2024-10-12 16:57:29.995] [info] Adding output eDP-1
Assertion 'pthread_mutex_destroy(&m->mutex) == 0' failed at ../src/pulsecore/mutex-posix.c:85, function pa_mutex_free(). Aborting.
fish: Job 1, './zenway' terminated by signal SIGABRT (Abort)
root@xps ~/z/build (main) [SIGABRT]#

Does it hard-depend on Sway? I am using river.

Only Sway supported so far. Experimented a bit with hyprland but far from ready.
Never heard about river, you are welcome to add a compositor implementation for it, would be interesting to see what needs to change to add another one.
Should probably print a nicer error if sway is not present.

Sorry I was very quickly scanning over multiple options for replacing Waybar which depend list was just too extreme for my Linux from scratch installation. River is quite small window manager based on wlroots. I am not in a position right now to invest time to support it. I like the ideas put forward by your project here. For now I will use yambar it works without any bells or whistles.
Oh, https://codeberg.org/river/river


MetaCAT BERT update to tutorials 4.1 and 4.2

Updates to Tutorials 4.1 and 4.2: Integration of BERT Implementation

Tutorial 4.1: No changes were necessary since BERT utilizes its own pre-trained tokenizer. A note has been added advising users to proceed directly to Tutorial 4.2 if using BERT.

Tutorial 4.2: BERT implementation has been added, showing training on the given dataset. Unlike BiLSTM, which fine-tunes a previously trained model pack, BERT is trained from scratch.

For 4.2:

MetaCAT configuration and the Train MetaCAT  and subsections for BERT and Bi-LSTM in them.
Since model_variant isn't commonly changed, I haven't added it in the tutorial. There is a link to all config options.
For the config section for BERT, we have to explicitly change the model_name, category_name and other variables since we are starting the training from scratch. For Bi-LSTM, we are loading the model pack; if we were training Bi-LSTM from scratch, we would have the do the same.


Problem: expected outer doc comment

Solution: move it before items

Changes Unknown when pulling 529d2400df8705e7df1ef1ed25f5f3147868bf2b on sorpaas:master into ** on ethereumproject:master**.

Changes Unknown when pulling 529d2400df8705e7df1ef1ed25f5f3147868bf2b on sorpaas:master into ** on ethereumproject:master**.

Changes Unknown when pulling 529d2400df8705e7df1ef1ed25f5f3147868bf2b on sorpaas:master into ** on ethereumproject:master**.

Changes Unknown when pulling 529d2400df8705e7df1ef1ed25f5f3147868bf2b on sorpaas:master into ** on ethereumproject:master**.


Minimal pre-commit config

Add minimal CI checks such as linting and formatting

This looks correct, but is it complete?

Installing pre-commit locally is not required for the CI to run and make changes on your behalf.
I was intentionally leaving that out so as not to add additional install steps to such an infrequently contributed to package. I can add if you still want but that was my reasoning.
The pre-commit ci github action is enabled for all great-expectations repos, but it won't do anything unless it sees a .pre-commit-config.yaml file.


Broken on MacOS

Shaders complain that version 130 is not supported. I had the impression it had been fixed before...

Was fixed in 540cbd699f661f5f7df06b73adc540cdc75e196e
However the student was probably not using the latest code but the release one.

This is how the demo selector looks like:

Tested on the Pierre's Mac OS X El Capitan (10.11.4)

The Swing layout is now fixed, but the canvas is still not working on Mac :(

No idea what to do as I don't have any Mac to test. This is probably hard to fix.

Swing seems to not be very platform independent :( This was the first layout issue. For the second, it will be hard to solve it, yes. The OpenGL canvas is not display on Mac (tested on OS X 10.11.3 latest).

I think we should set this issue for a next milestone. A Mac guy should help us to solve this. I tried a quick fix but I did not get better results.
Currently, a Mac user can launch every demo individually, but not using the demo selector.

I agree. The problem being mac specific, we can't solve it without a Mac.
On Thu, 28 Apr 2016 at 22:02 Christopher<EMAIL_ADDRESS>wrote:

I think we should set this issue for a next milestone. A Mac guy should
help us to solve this. I tried a quick fix but I did not get better results.
Currently, a Mac user can launch every demo individually, but not using
the demo selector.
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/hevs-isi/gdx2d/issues/118#issuecomment-215545129

Just providing some information,might help.
Im a mac user,cant run the demo too.
When I use JDK8 (oracle jdk) ,the window looks like below.The canvas was misplaced,and only display grey.

As we know,apple only provide java up to java6,so any later jdk was provided by oracle.And oracle jdk removed all heavyweight components(even awt turned into lightweight),so anything rely on heavyweight component wont work under oracle jdk on mac(like LwjglAWTCanvas).
So I change the project to apple jdk6(which still have heavyweight components),thinking this may solve the problem.But after I run,I get this:

The canvas was not misplaced,but still shows nothing.Which makes me really confused.
The console shows the following info when using jdk6:
2017-01-02 08:33:43.665 java[17091:87589438] 08:33:43.664 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
[gdx2d]: gdx2d-core v1.2.1, libgdx v1.5.6 | mui, chn, mei, pim (c) 2012-2016
[gdx2d]: Fragment shader 'res/lib/circle_aa.fp' loaded.
[gdx2d]: Vertex shader 'res/lib/default.vs' loaded.
[gdx2d]: Shader message - WARNING: Output of vertex shader 'v_color' not read by fragment shader
WARNING: Output of vertex shader 'vTexCoord' not read by fragment shader
WARNING: Output of vertex shader 'vSurfacePosition' not read by fragment shader

The console shows the following info when using jdk8:
2017-01-02 08:38:05.907 java[17127:87627414] 08:38:05.907 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
[gdx2d]: gdx2d-core v1.2.1, libgdx v1.5.6 | mui, chn, mei, pim (c) 2012-2016
[gdx2d]: Fragment shader 'res/lib/circle_aa.fp' loaded.
[gdx2d]: Vertex shader 'res/lib/default.vs' loaded.
[gdx2d]: Shader message - WARNING: Output of vertex shader 'v_color' not read by fragment shader
WARNING: Output of vertex shader 'vTexCoord' not read by fragment shader
WARNING: Output of vertex shader 'vSurfacePosition' not read by fragment shader


chore: Add V2 build and unit tests to PR validation workflows.

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build 797347673

0 of 0   changed or added relevant lines in 0 files are covered.
1021 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-23.3%) to 35.026%

Files with Coverage Reduction
New Missed Lines
%

pkg/azuredisk/azure_common_linux.go
6
48.74%

pkg/azuredisk/azure.go
6
61.4%

pkg/azuredisk/identityserver.go
34
0%

pkg/azuredisk/fake_azuredisk.go
43
23.81%

pkg/azuredisk/azuredisk.go
68
53.85%

pkg/azuredisk/nodeserver.go
258
4.16%

pkg/azuredisk/controllerserver.go
606
12.51%

Totals

Change from base Build 793378352:
-23.3%

Covered Lines:
1021

Relevant Lines:
2915

💛  - Coveralls


Keyboard navigation no longer works

Tested in chrome and firefox latest versions, typing d does nothing.

Fixed in 9a7dbea04db5947fc3461736371528af5ca541e2

🙇🏼


Support Rails 6 by loosening fixed Rails dependencies

Hi 👋, thanks for this great gem, it's made using graphql-ruby much nicer. 👍
Currently the gemspec is locked to ~> 5.0 mentioning "because it's not tested with Rails 4." Rails 6 just came out, and this is our last blocker gem. I forked it and allowed any version greater than 5. It works perfectly fine with Rails 6, which is nice. Let me know if you need anything from me to get this merged and launched.
Thank you!

Thanks for update!
New version (1.2.1) is available on rubygems

Thanks for the fast merge and release! 🎉


mvglive bug fixes and improvements

Description:
@DavidMStraub provided a first implementation of public transport departures in Munich through MVG-live.de. This pull requests carries forward this work by:

Refactoring the code so that multiple sensors for departures can be added
Rewrites the transport mode restrictions ("products") to be more modular and allows to filter U-Bahn departures by direction
Fixes bugs: Configuration of line restrictions has no effect on sensor due to missing implementation
Other improvements, such as including data attribution and flexible icons

The change breaks the configuration, however, since it is currently still in dev, this should be acceptable.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2386
Example entry for configuration.yaml (if applicable):
sensor:
  - platform: mvglive
    nextdeparture:
     - station: Hauptbahnhof
       name: Hbf
       destinations: ['München Flughafen Terminal','Markt Schwaben']
       products: 'S-Bahn'
       timeoffset: 2
     - station: Sendlinger Tor
       lines: ['U2','U8']
     - station: Scheidplatz
       products: ['U-Bahn']
       directions: '1'

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[  Local tests with tox run successfully. Your PR cannot be merged unless tests pass
(Have had some trouble getting tox to run locally - Travis tests appear to pass)

Hi @mountainsandcode,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Hi, thanks for the fixes and improvements. What is the rationale for the nextdeparture argument?

By the way, the previous version is part of the PR  #6956 for 0.42 which I guess will be merged on the weekend, so unless this PR can be merged in time probably the whole platform should be postponed to 0.43...

@DavidMStraub - Agree on the reasoning with release since there doesn't seem much of a point releasing something if configuration will be broken in the next release. From my side I think this should be good to go already for 0.42 (have been testing the different combination of options during the afternoon), so if you don't see any problems with the changes and the maintainers are happy with code quality, maybe this is good to go already for this release.
With regards to the nextdeparture argument, I am hoping that networkupdates or disruptions can be added as a second type of sensor in future (see pc-coholic/PyMVGLive#10)

OK. I am fine with the changes - I leave it to @fabaff whether this can be merged in time for 0.42 or otherwise 78b5eb7aac10adb3b0083498afe240d299923f64 should be removed from the 0.42 PR and postponed to 0.43.

OK so the original version was released as part of 0.42 now. @mountainsandcode, I suggest you (I can do it as well) open an issue and a PR to resolve the bug of the missing implementation of line restrictions. Then as a second step you can add the improvements for 0.43. OK?

@DavidMStraub I'm travelling for the week without access to my dev machine, so if you have time for the line restriction part then that would be super! Will get to it next week otherwise

Hi, I added an issue and PR just adding the line name restriction for now.

@DavidMStraub cheers for the work on the line restrictions! I've updated this PR to adress the resulting merge conflict from that bug fix with the changes proposed in PR.
@fabaff, from my side this would be good to merge. Do you have any issues you'd like to see adressed before this can be released?


OverridePropertyName to blank?

RuleFor(x => x).Must(x => x.SomeThing.SomeOtherThing.IsValid == true).WithMessage(x => x.SomeThing.SomeOtherThing.Reason);
This works great produces and error where the property key for the error is blank...it is a model type of error.  Perfect.
However, rather than use Must, I would like to use the built in methods like this:
 RuleFor(x => x.SomeThing.SomeOtherThing.IsValid).Equal(true).WithMessage(x => x.SomeThing.SomeOtherThing.Reason).OverridePropertyName("");
This does not work, because OverridePropertyName will not let me use a blank string.
How can I indicate this is a model error and should not have a property key at all?
It would be nice if OverridePropertyName allowed null or blank and would set it as a model error.  Or a .AsModelError() would be even better.
Thoughts?

I'll change OverridePropertyName to allow empty strings. For now you can use Configure (which is what OverridePropertyName does internally)
RuleFor(x => x.Wahatever).Equal(true).Configure(cfg => cfg.PropertyName = string.Empty);

Ok, cool...configure is fine with me.  I will probably just make an AsModalError() extension to clearly show what is happening here anyway.

This is part of 7.2


[alembic] Cannot open include file 'half.h'

I use Alembic with x64-windows.
When I include <Alembic/AbcGeom/All.h>, it fails.

Hi @FishHe
Thanks for posting this issue.
Could you please provide your project case? Do you use CMake project or VS project?

I use it in VS project and with "integrate install".
The problem now has been solved by adding OpenEXR's Include Directory to the VS project.


fix(container): Add desc field to docker-compose:up task.

Add desc field to docker-compose:up task.
It let change the visibility of task when calling task -l

This PR is included in version 1.3.1 :tada:


Clojure require configuration

The clojure language manager interface needs a textbox for 'require' that should automatically added - like the "imports" textbox for java plugin.

added the require configuration


RDS-SnapshotQuotaExceeded

Can we copy 4 snapshots at a time to another region?
An error occurred (SnapshotQuotaExceeded) when calling the CopyDBSnapshot operation: Cannot copy more than 5 snapshots across regions: SnapshotQuotaExceededFault
AWS only allows 5 snapshots copy across regions. So, 'IN PROGRESS' status can't exceed more than 5.
File: backup-rds.py

Hi @jeswant
Thanks for reporting this, I agree the code should catch the error and exit more gracefully! Functionality-wise this should not be a problem, however, the next run of the Lambda will copy the missing snapshots.
If you have a lot of databases (and so a lot of snapshots) and some are not being copied over, you should schedule the lambda to run more often.
Thanks,
Paulina


Table sort is lost if data changed on a re-render

If user has sorted a column and the table data changed afterwards, the table is render with the new data but the sort is not taken into account.
Expected Behavior
When the table data is updated, the re-rendering of the MUI DataTables should take into account the previously selected sort by the user.
Current Behavior
Currently, in this situation, the rows are back to the initial order and not sorted correctly. However, the column header still indicates the sort icon correctly (based on the previously clicked column).
Steps to Reproduce (for bugs)
I am storing the table data in the state and derive it from the props. If the props change, the data in the state is updated. The MUIDataTable component is retrieving the data directly from the state on the render method.
Your Environment

Tech
Version

Material-UI
1.4.3

MUI-datatables
2.0.0-beta-38

React
16.5.0

Browser
Chrome

I have encounter this same issue. Anyone know if there is a work around until this is resolved?

I was using react.  I created a wrapper component that would save off the state of the table and re-apply it during render.  Because of a sort issue (#273) I was also sorting the table and saving that to updatedColumns.  The important code is below.
const options = {
      filter: true,
      selectableRows: false,
      filterType: 'dropdown',
      responsive: 'stacked',
      rowsPerPage: this.state.tableState ? this.state.tableState.rowsPerPage : 10,
      onTableChange: (action, tableState) => {
        this.state.tableState = tableState;
      },
      filterList: this.state.tableState ? this.state.tableState.filterList : filterList,
    };
    return (
      <MUIDataTable
        title={title}
        data={dataSorted || data}
        columns={updatedColumns}
        options={options}
      />
    );

Bump. Can anyone confirm?

I'm on 2.0.0-beta-54 and I am wrestling with this issue now.  Will try the work around mentioned by cwkeller

My take on how to deal with this issue :
I created a function columns as such
const columns = (orderBy,) => {
  const columns = {...}; // base column data here
  Object.keys(orderBy).forEach(
    key => (columns[key].options.sortDirection = orderBy[key])
  );
  return Object.values(columns);
}

Each column entry is of the following format
  id: {
      label: "ID",
      name: "id",
      options: { download: false, filter: false, sort: false, display: false }
    },

Now in the render function
render() {
    const { orderBy, } = this.state;
    return (
        <MUIDataTable
          title="Hosts"
          data={...}
          columns={columns(statusMapping, actionMapping, orderBy,)}
          options={...}
        />
    );
}

Can anyone affected by this upgrade to "2.0.0-beta.59" and let me know if this is still an issue? otherwise I will look to close

@gregnb While we no longer seem to experience "sort order" loss with 2.0.0-beta.59, we do still experience "rows per page" and "current page" loss.

I'm still experiencing sort order loss when updating the data with 2.0.0-beta.59

I can verify that the currentPage and numberOfRows is lost after a data state change if a custom page option is provided, but I can't verify the sort order problem. @stephan-king Can you post an example of the sort order being lost?

In my case, data is bound to the state, and I am updating the table by updating the state. I've implemented an edit button that makes the network call when the edit form is submitted and then raises an event that in turn updates the state and triggers a refresh of the grid. The new data is there, but the sort order is lost. I'll work on a code example for you.

Thank you @stephan-king! I have an example locally, without any network calls, that updates state in between changing sort order, but I don't see any change in the sort order after doing so, hence why I might need to see what you're doing in case there's something else happening I'm not accounting for.

@gabrielliwerant
Still experiencing this issue on "mui-datatables": "^2.0.0". We use Meteor for reactive data, but even when child components in customBodyRender re-render, it affects the whole table and the following is lost:

Current page
Sort order
Filtering

@ShaggyKris It sounds like what you are describing might be a separate issue. Can you open up a new issue with an example codepen of this not working? I could look into it then. It's hard to say at this point, but it might have something to do with the way meteor is interacting with react.
Also, be aware that these changes have not yet found their way into a new release, so the situation may be different once they do. For now, you can experiment by pulling master.

Also, be aware that these changes have not yet found their way into a new release, so the situation may be different once they do. For now, you can experiment by pulling master.

I'll try making a sample project to test with master, but it won't be done today as I have some other obligations I need to fulfill. I'll report back.

Closing this issue, as I was unable to verify it, and it's possible it was fixed in a new release since the issue was originally open.

Closing this issue, as I was unable to verify it, and it's possible it was fixed in a new release since the issue was originally open.

This is not closed. I am currently using ^2.2.0, and any state change causes the sort to be lost. I tested this by creating a button that simply toggles a bool state value, and it causes all sorting to be lost. That's not all. All settings from the table are abandoned.
However, I've done a little digging and I think it has to do with customBodyRender. I put the MUIDatatable into a PureComponent class and used the following code:
difference(object, base) {
	function changes(object, base) {
		return _.transform(object, function(result, value, key) {
			if (!_.isEqual(value, base[key])) {
				result[key] =
					_.isObject(value) && _.isObject(base[key])
						? changes(value, base[key])
						: value;
			}
		});
	}
	return changes(object, base);
}

componentDidUpdate(prevProps, prevState, snapshot) {
	if (this.state !== prevState){
		console.log(
			"State Difference: ",
			this.difference(this.state, prevState)
		);
	}
	if (this.props !== prevProps){
		console.log(
			"Props Difference: ",
			this.difference(this.props, prevProps)
		);
	}
}

I determined that was changing was the columns themselves. Upon further investigation, it was ONLY the columns that used customBodyRender. One of my typical customBodyRender functions are as follows:
customBodyRender: (value, tableMeta) => {
	if (
		value === "Not Registered" &&
		typeof tableMeta.rowData[0] === "object"
	) {
		const { containerValue } = tableMeta.rowData[0];
		return (
			<Button
				onMouseOver={this.disableRowClick}
				onMouseOut={this.enableRowClick}
				onClick={() =>
					this.resendInvite(
						containerValue.subValue1,
						containerValue.subValue2
					)
				}
				variant={"contained"}
			>
				Resend
			</Button>
		);
	}
	return value;
},

However, it is even triggered on customBodyRender functions which simply return a <a> tag.

@ShaggyKris I need to see your code in a sample project, as I cannot verify this locally. I've used existing examples and added state changing with sorting, and I do not see the issue you are referring to, which means there may be something happening that is specific to your exact situation.

@gabrielliwerant I found the issue. I was generating a title for the filename in the downloadOptions with the name of the table and current date. However, this caused the whole table to re-render and lose state whenever it updated. Containing the MuiDataTable in a PureComponent and setting the downloadOptions.filename there solved the issue. However, I don't think the table should lose state should the title be updated.

@gabrielliwerant Again, this isn't something I'm able to reproduce, so I can't resolve the issue. :( I need you to provide a specific, minimal implementation to demonstrate this breaking. You may have a lot going on in your codebase which is affecting this and I can't tell what that might be form my end.

@gabrielliwerant
Hey there, so I have no idea what happened by apparently it seems to have resolved itself? I appreciate it regardless. I'll contact you if it seems to happen again.

@ShaggyKris Glad it worked out! It's possible that there was a fix or code change at some point that corrected it.

@gabrielliwerant
I think I found the issue. If using functions in either "options" or "columns" when assigned in the "render()" function, it seems to cause a loss of table state on each re-render. Assigning "options" or "columns" to state, or to define them as static consts outside of the class seems to solve the problem.

Problem persists in ^2.6.4.
@ShaggyKris : Could you let me know which version you are using, would be very helpful.

Hello @Fabbok1x. Can you please open a new issue with details about what difficulties you are encountering and a minimal code example to reproduce the issue?

@gabrielliwerant :
Yes. Submitted: https://github.com/gregnb/mui-datatables/issues/807

@gabrielliwerant here's the codesandbox - https://codesandbox.io/s/muidatatables-custom-toolbar-29pms
I think it should be opened. When certain properties are set via state, the table state is getting lost. I am using the latest version as of writing this. Go to the codesandbox and sort on name and wait for 5 seconds to see it getting reset.

@gabrielliwerant same issue here. I’ll try to debug more tomorrow.

Looks like some people are still having issues. I just tackled this one today. Data was lost on search or sort. It worked after second page load. I discovered that datatable initialization happened before table was fully rendered from using data from api call. I'm using hooks so documentation and help is spotty still.
Solution was to create async function to a) use await to make call to update dataset then b) init datatable. Async function was called from useEffect function to run on load. Everything is working like a charm now. Can provide code if anyone wants it.

@camba063 I would love to see your solution. I am using hooks as well.

This still seems to be an issue on the latest version. The sorting state is getting lost on each re-render


Tweak installation/clone instructions

Prior to this change, I get the following error when following the installation instructions:
$ git clone https://github.com/bswinnerton/GitHub.lbaction ~/Library/Application\ Support/LaunchBar/Actions
fatal: destination path '~/Library/Application Support/LaunchBar/Actions' already exists and is not an empty directory.

After this change:
$ git clone https://github.com/bswinnerton/GitHub.lbaction ~/Library/Application\ Support/LaunchBar/Actions/GitHub.lbaction
Cloning into '~/Library/Application Support/LaunchBar/Actions/GitHub.lbaction'...
remote: Counting objects: 263, done.
remote: Total 263 (delta 0), reused 0 (delta 0), pack-reused 263
Receiving objects: 100% (263/263), 716.25 KiB | 0 bytes/s, done.
Resolving deltas: 100% (98/98), done.

❤ thank you very much for this change, @jasonrudolph. The installation instructions were admittedly untested 😬.


Add kernels demo

Title: Kernel-based training with sciket-learn
Summary: Implements stuff from the new kernels paper.

@josh146, with changing the base branch, does the demo get merged this cycle, even if it is after feature freeze? :)

@josh146, with changing the base branch, does the demo get merged this cycle, even if it is after feature freeze? :)

@josh146, with changing the base branch, does the demo get merged this cycle, even if it is after feature freeze? :)

I'll defer to @glassnotes for this one, as there is a demo release schedule somewhere!

@josh146, with changing the base branch, does the demo get merged this cycle, even if it is after feature freeze? :)

I'll defer to @glassnotes for this one, as there is a demo release schedule somewhere!

Hey @glassnotes and @ixfoduap. I am not sure how our release schedule looks like for uploading another demo, but I couldn't stop working on this one. It had quite a surprising result in my eyes!
Feel free to defer review and/or merging as you wish.

Hey @glassnotes and @ixfoduap. I am not sure how our release schedule looks like for uploading another demo, but I couldn't stop working on this one. It had quite a surprising result in my eyes!
Feel free to defer review and/or merging as you wish.

[ch4608]

[ch4608]

@josh146, with changing the base branch, does the demo get merged this cycle, even if it is after feature freeze? :)

I'll defer to @glassnotes for this one, as there is a demo release schedule somewhere!

@mariaschuld Week of Feb 15 if that works for you? #188 is scheduled for next week after release, so the 15 is the next "slot" afterwards.

@josh146, with changing the base branch, does the demo get merged this cycle, even if it is after feature freeze? :)

I'll defer to @glassnotes for this one, as there is a demo release schedule somewhere!

@mariaschuld Week of Feb 15 if that works for you? #188 is scheduled for next week after release, so the 15 is the next "slot" afterwards.

@ixfoduap and @glassnotes thanks so much for your thorough (and very differently styled :wink: ) reviews! I hope I addressed everything, although a few things were deliberate decisions and I tried to offer a compromise!
@ixfoduap thanks for pointing out that I am not constructing the projector. I don't know why I had this odd thought stuck in my head that the tensor product of all PauliZ is equivalent...and am still puzzled it served as a good kernel!
Ready for re-review.


Postprocessed CSV outputs normalized vs transformed

Can these have more informative descriptions? -eg- normalized is cell-size normalized, transformed is arcsin-h transformed

We should add a description to the jupyter notebook cell that produces these for how they're computed.


Minimum and maximum file size

Currently, it will take in any file. We need to add limitations on the file size so the software doesn't break.

Closing issue, this will be tackled in new implementation

Adding a comment to clarify that for now, this will be left for an equivalent report implementation within ASReview.


Add a "publish" command

Draft
cat event.json | eh publish --name my-event-hub

Here's how read multiple lines from STDIN.


[Bug] find jar in error path

Search before asking

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

What happened
When building the project, the log shows that the build was successful, but failed on the ui.
The log shows that the jar could not be found.
The suspicion is looking for the tar/jar by the folder name 'target', not by the maven folder structure.

can't find tar.gz or jar in /opt/streamx_workspace/project/flink/hlx_bigdata_root-develop/hlx_bigdata_flink/src/main/scala/com/cn/hailanxin/flink/project/shoreline/target

StreamX Version
1.2.3
Java Version
No response
Flink Version
1.13.0
Scala Version of Flink
2.11
Error Exception
2022-06-02 11:09:42.972 StreamX [streamx-build-executor-19] ERROR c.s.s.c.c.s.impl.ProjectServiceImpl:206 - deploy error, project name: flink, detail: [StreamX] can't find tar.gz or jar in /opt/streamx_workspace/project/flink/hlx_bigdata_root-develop/hlx_bigdata_flink/src/main/scala/com/cn/hailanxin/flink/project/shoreline/target

Screenshots
No response
Are you willing to submit PR?

[x] Yes I am willing to submit a PR!

Code of Conduct

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

fixed,


Add resource config for lead controller resource

This PR adds resource config for lead controller resource to enable/disable the resource.

You want to add the field to enable/disable the resource right?

@Jackie-Jiang Yes, but we can also add the code saying if the field is missing or the field is false, then the resource is disabled by default.

You should still put the field when creating the resource config so it is more explicit, and easier for us to change

You should still put the field when creating the resource config so it is more explicit, and easier for us to change

Done.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@365ee85). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #4449   +/-   ##
=========================================
  Coverage          ?   65.59%
  Complexity        ?       20
=========================================
  Files             ?     1061
  Lines             ?    55126
  Branches          ?     7889
=========================================
  Hits              ?    36160
  Misses            ?    16368
  Partials          ?     2598

Impacted Files
Coverage Δ
Complexity Δ

...ot/controller/helix/core/util/HelixSetupUtils.java
92.3% <100%> (ø)
0 <0> (?)

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 365ee85...5476637. Read the comment docs.


Jepsen monotonic test failed with anomalies

Bug Report

What version of TiKV are you using?

What operating system and CPU are you using?

Steps to reproduce
run jepsen misc pessimistic case
What did you expect?
no error report
What did happened?
INFO [2024-01-06 05:52:50,160] jepsen test runner - jepsen.core {:perf
 {:latency-graph {:valid? true},
  :rate-graph {:valid? true},
  :valid? true},
 :workload
 {:perf
  {:latency-graph {:valid? true},
   :rate-graph {:valid? true},
   :valid? true},
  :sequential
  {:valid? false,
   :results
   {0 {:valid? true, :errors []},
    121 {:valid? true, :errors []},
    65 {:valid? true, :errors []},
      ...
    81 {:valid? true, :errors []},
    120 {:valid? true, :errors []},
    79 {:valid? true, :errors []},
    38 {:valid? true, :errors []},
    126 {:valid? true, :errors []},
    98 {:valid? true, :errors []},
    I124
    {:valid? false,
     :errors
     [{:type :ok,
       :f :read,
       :process 5,
       :time<PHONE_NUMBER>11,
       :txn-info {:start_ts<PHONE_NUMBER>14350625},
       :index 124812,
       :missing #{31292},
       :expected-count 202}
      {:type :ok,
       :f :read,
       :process 9,
       :time<PHONE_NUMBER>67,
       :txn-info {:start_ts<PHONE_NUMBER>14350642},
       :index 124823,
       :missing #{31292},

node-2.tar.gz
node-3.tar.gz

Possible relatated to https://github.com/tikv/tikv/pull/16261.


feat(org-selector): Remember the last selected org and order the list.

This remembers the last selected org
in localstorage instead of session storage to improve the UX. Furthermore,
the list of organizations is ordered by
name instead of just the returned result set.

(rebased)


Update Tempest walltime for comparison.

PULL REQUEST
Purpose and Content
The --order option in Tempest expects polynomial order + 1 as an input. The Tempest walltimes in the comparison pipeline are revised to reflect this change for an accurate comparison.
PR Checklist

[ ] This PR has a corresponding issue OR is linked to an SDI.
[x] I have followed CliMA's codebase contribution and style guidelines OR N/A.
[x] I have followed CliMA's documentation policy.
[x] I have checked all issues and PRs and I certify that this PR does not duplicate an open PR.
[x] I linted my code on my local machine prior to submission OR N/A.
[x] Unit tests are included OR N/A.
[x] Code used in an integration test OR N/A.
[x] All tests ran successfully on my local machine OR N/A.
[x] All classes, modules, and function contain docstrings OR N/A.
[x] Documentation has been added/updated OR N/A.

bors r+


current() in XPath predicate may not be working correctly

https://github.com/kobotoolbox/enketo-express/issues/347

Looks like a more serious issue. E.g. in Chris' form this returns empty result when value is present:
form.ex('../survey_region', 'string', '/samplecascading/testgroup/survey_country', 0, true)

requires extra step down:
form.ex('../../survey_region', 'string', '/samplecascading/testgroup/survey_country', 0, true)

similarly:
form.ex('./survey_country2', 'nodes', '/samplecascading/testrepeat/testgroup2/survey_country3', 0, true)
to
form.ex('../survey_country2', 'nodes', '/samplecascading/testrepeat/testgroup2/survey_country3', 0, true)

when current() is used inside a predicate it goes back one step by itself. Very weird. When used outside a predicate, e.g. in a constraint, it works normally.

I think the smart way to fix #2 is to replace current() with /model/instance[1]/path/to/current/node, so e.g. in a /path/to/node
current()/../../anothernode

would become something like:
/model/instance[1]/path/to/node/../../anothernode
``

Also need to inject repeat positions if that is not handled by FormModel.prototype.makeBugCompliant already.

#1 is indeed a javarosa bug: https://groups.google.com/forum/#!topic/opendatakit-developers/nN8HTA5pUIM


Upgrade to cookiecutter release v0.16

This supports the additional changes:

Use PIP_FIND_LINKS environment var instead of requirements.txt

Any pip options can also be set via environment variables. With this change, RGD now has a single source of truth for its dependencies (setup.py).

Remove _account.scss, as django-girder-style now provides this styling
Add missing Pillow requirement

@banesullivan I'm not clear on the actual purpose of the worker extra. In particular, under what circumstances should it not get installed?

@banesullivan I'm not clear on the actual purpose of the worker extra. In particular, under what circumstances should it not get installed?

My intention was to prevent some of the heavyweight depends from being installed in the Heroku server instance and just keep those packages in the worker. Many our depends are only used in the ETL routines (triggered by celery tasks) so they do not need to be installed/running within the app

My intention was to prevent some of the heavyweight depends from being installed in the Heroku server instance

The worker extras are currently getting installed on Heroku: https://github.com/ResonantGeoData/ResonantGeoData/blob/8a4fdcb10f4d4bc445d33564372a83f1351f9ee2/requirements.txt#L5
I'm not sure if there's a way to install a separate set of dependencies on a per-dyno basis. On the other hand, we're not using Heroku to run workers.

I'm all for removing the [worker] flag in requirements.txt to clean up the heroku server since we're currently running the worker on my local machine via doker-compose which installs the worker deps:
https://github.com/ResonantGeoData/ResonantGeoData/blob/8a4fdcb10f4d4bc445d33564372a83f1351f9ee2/dev/django.Dockerfile#L30


Feature/pytest

Coverage decreased (-0.06%) to 90.662% when pulling 83ca438aa800caf89d313d66de0fe6106bc81e65 on feature/pytest into e56e1ddad0bfb3c93bd58028305d886f8e02fa8d on master.


Uses of the Dense Mesh and the Frozen Mesh

I don't see the reason behind using the dense mesh, as smelting and smoking can be performed without the mesh. I also don't know what the frozen mesh it used for, as I expected it to possibly convert ice or something but nothing happened. It would also make sense to be given the frozen effect when in the frozen fan range, as all of the other fans perform some sort of effect on the player.

 Having freezing Air Current would be cool to be honest but sadly Create doesn't provide a way to add custom ones, you can only have smoking/blasting/washing/haunting.

Oh ok that makes sense, thanks for the reply


chore:Prep release 1.17.0

This is automated release prep. Remember to update CHANGELOG.md to capture changes in this release. Please review changes carefully before merging.

[ ] Updated CHANGELOG.md

Codecov Report
Patch and project coverage have no change.

Comparison is base (e7fb00c) 78.57% compared to head (c216962) 78.57%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1381   +/-   ##
=========================================
  Coverage     78.57%   78.57%
  Complexity      651      651
=========================================
  Files            74       74
  Lines          2506     2506
  Branches        259      259
=========================================
  Hits           1969     1969
  Misses          455      455
  Partials         82       82

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


difference between the video Inference and single Image Inference in the code

Hi , Thanks for your great work !
I am confused . what the difference between the video inference and the single image inference? except that where the picture came from.  and the difference between the two ckpt file: modnet_webcam_portrait_matting.ckpt, modener_photographic_portrait_matting.ckpt. Thank you!

Hi, thanks for your attention.
The main implementation of  the video inference and the single image inference are the same. We just provide two demos for different users.
The two ckpt files are different:

modener_photographic_portrait_matting.ckpt is the model trained on our labeled dataset only.
modnet_webcam_portrait_matting.ckpt is the model trained on our labeled dataset and finetuned in the real-world unlabeled video data by using SOC.

It is useful, Thank you very much!


Proposal: rename DialogicDisplay_* nodes to DialogicNode_*

Why
The use of the word Display, makes you think of visual nodes. However these nodes range from visual, audio, input to holding nodes. Thus this terminology can be quite misleading.
What
As written in #1184 I suggest renaming DefaultDialogNode to DefaultScene. After that is done, DialogicDisplay_***** could be changed to DialogicNode_***** . This should be done on the scene, script and class names. I'm open for other suggestions, this is what we could come up with so far.
We should decide this asap, before people start using these, as renaming them will break already built scenes.

Yes, it makes sense to call them DialogicNode now that we have many kinds of nodes.

Closed by https://github.com/coppolaemilio/dialogic/commit/a19d2c8d2a33dac1f1641bebc837fed7cb49582d


SCIM 2.0 base URL

Step 5: Configure automatic user provisioning to Smartsheet

Under the Admin Credentials section, input the SCIM 2.0 base URL and Access Token values retrieved earlier from Smartsheet in Tenant URL and Secret Token respectively.. Click Test Connection to ensure Azure AD can connect to Smartsheet. If the connection fails, ensure your Smartsheet account has SysAdmin permissions and try again.

I believe these instructions were a copy paste from another set of instructions as I am unable to see a step in these instructions which explains how to retrieve SCIM 2.0 base URL.
Please update instructions to include where can someone find SCIM 2.0 base URL for Smartsheet.

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

ID: a53b5040-1612-5f4b-df45-e58637b8c290
Version Independent ID: a315f833-df85-7b61-796e-b82723efbe81
Content: Tutorial: Configure Smartsheet for automatic user provisioning with Azure Active Directory
Content Source: articles/active-directory/saas-apps/smartsheet-provisioning-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @zchia
Microsoft Alias: jeedes

@maheshau1 Thanks for the feedback. We will engage the content development team for further investigation, they will verify and perform necessary changes in the document as needed.
@zchia Can you have a look at this ?

any update on this? the URL is nowhere to be found

https://scim.smartsheet.com/v2/

#reassign:twimmers

Thanks @maheshau1 for the feedback.The change to doc to fix this issue is already live.
#please-close


Apply for grants

I mean I guess why not, right?  Haven't heard back from anyone, but this is done just the same.


Add icon with basic options on system tray, menu bar

Since this app doesn't need to be on the dock of macOS, it will be good to add control options in app icon at menu bar/system tray

Done


New Crowdin updates

I'm a bit late to this party, but I updated Norwegian on crowdin with the latests additions.

I'm a bit late to this party, but I updated Norwegian on crowdin with the latests additions.


Website shows "Add to Safari" button when using Safari

It's very confusing when I clicked the "Add to Safari" button but it opened a link to Chrome Web store. Simply change it to "Not Support Safari" would be okay to me. Nice work btw.

Hi @KElee01,
Oh sorry, The safari version is still not ready, for now, the extensions work only on Chrome/Brave/Firefox/Opera/Edge.
Thanks for the feedback!


DiskGenius language

English URLs are used by default now.

The edition with English and the edition with Chinese use different licenses, which means professional license of Chinese edition (for example) won't activate the pro features of English edition. I think we should rename current package to "DiskGenius_en" or something similar.
Also, I hope someone can add Chinese edition considering maybe there are just differences in url and hash. (Links for Chinese x86 and x64 edition are respectively https://download.eassos.cn/DG5431328_x86.zip and https://download.eassos.cn/DG5431328_x64.zip)


feat: add Windows pause image to 3.4.1

Updating pause image to v3.4.1
https://github.com/Azure/aks-engine/pull/4333

Per @jsturtevant , we've cut over to using the same versioning as Linux
May I ask, besides the version change, what else is included in the new pause image? Thanks.

May I ask, besides the version change, what else is included in the new pause image?

3.4.1 is built from https://github.com/kubernetes/kubernetes/tree/master/build/pause/windows and includes 20H2 support.


empty_item_single_line should apply to trait definitions as well

1.4.37-nightly
Using this rustfmt.toml
brace_style = "AlwaysNextLine"
empty_item_single_line = true

rustfmt will format the following code like this:
fn function() {}

struct Struct {}

enum Enum {}

trait Trait
{
}

impl<T> Trait for T {}

This is inconsistent, and empty traits end up sticking out like a sore thumb. Intended behaviour is probably this:
fn function() {}
struct Struct {}
enum Enum {}
trait Trait {}
impl<T> Trait for T {}

This is important, as empty traits are often quite useful. For instance, you might want something like this:
trait Trait: Send + Clone {}
impl<T: Send + Clone> Trait for T {}

which will look quite ugly at the moment.

Thanks for the report. Seems the handling of brace_style when AlwaysNextLine isn't accounting for the configured empty_item_single_line value (which is true by default)
For anyone interested in working on this, suspect you'll probably want to start somewhere around here:
https://github.com/rust-lang/rustfmt/blob/bc46af97423cef7484a806e8282c545d7607889e/src/items.rs#L1125-L1172
The format_impl function in that same file may serve as a useful reference for how to account for those. When adding tests, please be sure to include a combination of cases that include where empty_item_single_line is true with brace_style = AlwaysNextLine as well as one where empty_item_single_line is false

Hi. Can I try this one?

Hi. Can I try this one?

Absolutely!


print the debugging message in handleDebug event handler

Fix REPL functionality by printing the result messages from the core in
the Golang debug event handler.

Creating draft at the moment to follow up with the equivalent "enrichment" pretty printing translating instance IDs to their class names.

Creating draft at the moment to follow up with the equivalent "enrichment" pretty printing translating instance IDs to their class names.

I saw you requested a review. Should I wait for the follow up?