Environment variables not being recognized

I solved this installing the dotenv gem.
I think is a good practice to put dotenv in the Gemfile, however, if your intention was to create something gem-agnostic to load environment variables (allowing the user to choose from Figaro or Dotenv), it would be great to add a section in the README indicating that.
So far, so good. Thank you, again, for reducing the boilerplate (and a great documentation to understand the why's configuring the project) :beer:.

Hi,
You don't need the dotenv gem.
The Docker Compose file is loading in the .env file (which should have all of your custom ENV variables) and it's passing them all to the Rails app when you run it.
There is 1 caveat, and that's this line in the Dockerfile:
RUN bundle exec rake RAILS_ENV=production<EMAIL_ADDRESS>ACTION_CABLE_ALLOWED_REQUEST_ORIGINS=foo,bar SECRET_TOKEN=dummytoken assets:precompile
Environment variables aren't loaded when the Docker image gets built. If it's something that Rails thinks is mission critical and it happens to be nil then you need to put a dummy value there to prevent Rails from complaining.

ohh, okok, now I see.
I wanted to do rails secret for the SECRET_TOKEN and I realized that the envs weren't loading.
good to know!

You would need to start up everything with docker-compose up and then run:
docker-compose exec --user "$(id -u):$(id -g)" website rails secret

If you're on OSX or Windows you can skip adding the --user flag.


PDO Fetch Mode in Docs

Adds PDO Fetch Mode to the documentation. Closes #63 .

There already is something fetchmode-related. In my opinion, it should be modified instead.

@neoascetic sorry, I guess I was blind this morning. Closing this now ;)


Fix a race in pkg/integration.TestChannelBufferTimeout

- What I did
Fixed a race found in #22965
- How I did it
Introduced a channel for waiting a goroutine completion
- How to verify it
TESTDIRS=pkg/integration BUILDFLAGS=-race TESTFLAGS="-test.run TestChannelBufferTimeout -test.count 100" make test-unit
Update #22965 (not closable yet, due to other races related to os/exec)
Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

LGTM :+1:
/cc @runcom @thaJeztah

LGTM


Upgrade cytoscape to next major release, fixing breaking api changes.

[x] joeferner
[x] sfeng88
[x] mwizeman joeybrk372 rygim jharwig EvanOxfeld

Also fix bug where extendedData changes wouldn't update until refresh
because of memoization. Now any changes in that object will clear the
vertex display cache
Testing Instructions: Test graph product features and plugins that modify graph
Points of Regression: Some custom plugins that access cytoscape might break
CHANGELOG
Changed: Cytoscape library upgraded to 3.x, which might break plugins that access changed API. Review graph style and selection extension points.

@jharwig can you resolve the conflicts please


[term] chapter 6+

[ ] 迭代周期 -> 迭代轮数
[ ] 池化层 -> 汇聚层

Job d2l-zh/PR-979/2 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-979/


evm_setTime

This would be useful for setting the time in a truffle test, I am not aware of any other method of doing this, and we've had several issues due to needing a historical timestamp for ENS related tests.

Looks good. @davidmurdoch will merge this one once the tests finish rerunning.

Taking this one on because I want it in the next release.

Thanks for the contribution @decanus! Expect this to go out in a release tomorrow morning, PDT.

@benjamincburns awesome, thanks for merging


Add react-native courses

Follow the guidelines in 'How To Contribute' section of README.md
and add a course that you've taken before or would like to recommend to others, related to react-native.

Can I work on it?

Yes @alphaCoder-69 you can. There's no need for assigning an issue, you can go ahead and make a PR ✨


Windows Friendly

On Windows, packup outputs 'Server running at http://<IP_ADDRESS>:1234'
This should be corrected to read 'Server running at http://localhost:1234' or ...
'Server running at http://<IP_ADDRESS>:1234'
export { serve as serveIterable } from<EMAIL_ADDRESS>returns a listener from Deno.serve.  This is where addr is unconditionally defaulted to "<IP_ADDRESS>"
Deno.serve() should use Deno.Build.os to return a correct default value.
let addr = (Deno.Build.os === "windows") ? "<IP_ADDRESS>" : "<IP_ADDRESS>";

Changed the message to Server running at http://localhost:1234. Thank you for the feedback!

Thank you for the change.


Duplicate heading: 'H2 'SQLite'

Any doc build produces the following error.
Duplicate heading: 'H2 'SQLite'(tutorials/razor-pages/sql.md(392,1) -> includes/RP/sqlite.md)'. Each second level heading (H2) in an article must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.

@Rick-Anderson, thanks for the catch.   I thought where we are keeping multiple topic versions within one .md file, that we are not avoiding the H@ warning, but I must not be up on how we handle that.   What is the proper way I should fix this?

Use a different H2 for different versions in the same doc.   So the 5.x version has an H2 of  ## SQLite and the 3.x version has a different variation of the H2 so it is unique?
Move the RP/sqlite.md include contents into the topic, but don't change the H2?  We would still of course get a warning since it is duplicated across versions, but perhaps the issue is that we must not duplicate use of includes that would generate duplicate H2's?
Thanks for any insights.

Open a bug on this. It's a bogus warning.


Something with PostgreSQL when try to use this playbook

Here is my first run and first issue. Not exactly sure what is going on.
$ ansible-playbook -i production sites.yml

PLAY [Provision db server] *****************************************************

TASK [setup] *******************************************************************
ok: [<IP_ADDRESS>]

TASK [ANXS.postgresql : include_vars] ******************************************
ok: [<IP_ADDRESS>] => (item=/usr/local/etc/ansible/roles/ANXS.postgresql/vars/../vars/Debian.yml)

TASK [ANXS.postgresql : PostgreSQL | Make sure the CA certificates are available] ***
ok: [<IP_ADDRESS>]

TASK [ANXS.postgresql : PostgreSQL | Add PostgreSQL repository apt-key] ********
changed: [<IP_ADDRESS>]

TASK [ANXS.postgresql : PostgreSQL | Add PostgreSQL repository] ****************
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "The conditional check 'postgresql_apt_repository' failed. The error was: expected token 'end of statement block', got 'http'\n  line 1\n\nThe error appears to have been in '/usr/local/etc/ansible/roles/ANXS.postgresql/tasks/install.yml': line 17, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: PostgreSQL | Add PostgreSQL repository\n  ^ here\n"}
	to retry, use: --limit @/Users/ipolynets/workspace/fundproj/sites.retry

PLAY RECAP *********************************************************************
<IP_ADDRESS>              : ok=4    changed=1    unreachable=0    failed=1

Hey,
What distribution of Linux are you using?

It's ubuntu (ubuntu.04.1 x64) the basic ubuntu image provided on Digital Ocean.
I also had to install python on it by running apt-get install python-minimal. Not sure if that may be relevant to the issue

Hi,
This ansible code is tested only for ubuntu 14.04 LTS. I am going to test it for 16.04 this weekend.


Adds autofill info to the signup form

Does this correctly add autofill etc? I'm unsure, but I can't imagine this will be harmful.

Is this a dupe of https://github.com/artsy/eigen/pull/2788 ?

lol yes, how did I miss that?


chore: add bot and bot version support

Tested bot and bot version extensively. Confirmed it can handle multiple bot folders locally.
Confirmed no changes to other metadata types.


[0.5pt] Find external API - group task

Find an API to base the development of the webapp around it. The API should allow you to

Get a list of items with a unique item id (or generate the unique id).
For a given item, get detailed information about it.
choose an APIs that doesn't need authentication. if you select an API that requires authentication, you should implement it on your own. Also, if you select an API that provides image resources your webapp will be more visual.

We selected the 'PokéAPI'(API). https://pokeapi.co/


Adding Separate Directories as Parts-Of-Speech In a an Alphabet Folder

I would suggest that in each alphabet-folder of this vocabulary builder project, There should be parts-of-speech subfolders where specific words should be.
Something like
A
  nouns
       [noun files go here]
  pronouns
       [pronoun files go here]
  adjectives
       [adjective files go here]
  adverbs
       [adverb files go here]
  preposition
        [preposition files go here]
  conjunction
        [conjunction files go here]
interjection
        [interjection files go here]

This ensures some degree of order and also avoids cluttering of too many files in one folder/directory

Hi, I would like to contribute to this issue.

Okay
Sounds great!
When do we start?

Thank you very much, ill start right now :)

Okay, I will also begin from my end here

Hi @E-wave112 , I resolved the issue on the pull request: https://github.com/Showndarya/Hacktoberfest/pull/3227.
Thank you


[tcp-close] New whocloses semantics

Closes #526

@anandbonde could you change the description of this issue so that it links issues correctly? https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue

@anandbonde could you change the description of this issue so that it links issues correctly? https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue

@anandbonde could you change the description of this issue so that it links issues correctly? https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue

Done

Tests are not passing. Why? Could you file an issue to keep track of this bug? If you disable this test for some LibOSes, could you file an issue to keep track which LibOSes fall in this condition?

Just checked the logs, the tests are failing because I have added a new argument to the tcp-close utility, but the ci scripts are not updated to use it. I think it would be good to change the ci scripts to be updated in this PR so that we don't have to revisit this area. Do you have any preference?

Please, update the CI scripts accordingly. I am also confident that this will not work for all LibOSes (it should expose bugs). For those LibOSes which the CI does not pass, disable them and file an issue to keep track of.


Prometheus Metrics

Add additional Metrics-
-> Metrics for Query latency
-> Error metrics (including 4xx, 5xx)
-> success Metrics

https://github.com/intuit/katlas/issues/100

@ssmails I'm not sure if it make sense that s.dc.Alter also need prometheus metrics, but just commented here, otherwise LGTM.

@xjiang The metrics track the below-
-> issues related to dgraph that can help us debug perf issues.
-> Service level metrics that account for the katlas service as a whole.
The metrics incremented in server_resource.go internally call the DB apis.


Log out errors

4xx errors should be logged out as warn, 5xx errors should be logged out as error. Implement on https://github.com/yoshuawuyts/merry/blob/master/index.js#L80-L83; regression in the 4.0.0 release

closed by #56 :sparkles:


Add config for remote schemas

Is your feature request related to a problem? Please describe.
I don't want to have to manually update the schema.graphql file.
Describe the solution you'd like
Add RemoteSchemaURL to generate/config.go. Temporarily download this file to disk for generation.
Describe alternatives you've considered
I currently have a ci job to download the remote schema and compare it to the schema in my project

I see a bunch of thumbs up here -- thanks for filing the issue and for those who expressed interest.
It should be easy enough to do a simple version of this (PRs are welcome or I may have time eventually), but my question is whether that's enough. For those who were interested, is just fetching the file from a fixed URL as a GET with no auth sufficient for you, or would you also need a way to configure the fetch further?
cc @connec @reiishikawa1208 @lzakharov @Diaga @wdoug

For my use case, I would need to specify custom headers for auth and specifying user roles. Specifying method GET/POST may also be needed.
Here is what I am used to in JS environment:
https://www.graphql-code-generator.com/docs/config-reference/schema-field#method
https://www.graphql-code-generator.com/docs/config-reference/schema-field#headers

@Diaga thanks for the links to the JS version, that will be a helpful reference!
@skandragon if you're fetching from a local install, is that on a fixed IP/port? Is that SDL format or introspection query? I think supporting via introspection query is going to be a fair amount of work, because we'd have to implement the transform in Go. If someone wants to do it (or better if there's a package we can pull in), that would be great, but I expect fetching SDL will be the first step.

@skandragon if you're fetching from a local install, is that on a fixed IP/port? Is that SDL format or introspection query? I think supporting via introspection query is going to be a fair amount of work, because we'd have to implement the transform in Go. If someone wants to do it (or better if there's a package we can pull in), that would be great, but I expect fetching SDL will be the first step.

What I really want is a way to take the SDL format input, and have what dgraph would use as output, on the command line.
My work flow is currently:

submit the schema to dgraph via a POST to /admin
get the schema back via the npm tool get-graphql-schema and write it to a file.
run the Go tool go run github.com/Khan/genqlient to generate graphql code for my Go app

I cannot feed the user-side schema I write to genqlicent, as it will not have all the components needed.
I cannot feed the user-side + dgraph fragment for IDEs in, as that won't generate the queries or mutations.
So, my option is to submit to dgraph, and pull the resulting full schema out.  I'd really just like to do that without running dgraph, although I will then run dgraph for my unit tests of course.


[BUG] Autocompletion popup does not work

Since version 1.7.4 аutocompletion popup does not appear.
Maybe it has something to do with this:
https://forum.obsidian.md/t/v1-7-4-add-internal-link-hotkey-does-not-provide-completion-for-file-select/90015

This link-with-alias plugin doesn't care about opening of autocompletion popup. The Standard Obsidian behavior is expected here. So I cannot fix that standard Obsidian behavior.
Workaround
Press backspace in the link text. Obsidian will show the autocompletion popup then well.


4.0 and 4.1

4. Explore variation in math score disparities and trends (8 points)
4.0 If you didn't complete the extra credit, read in the acs_wmath.pkl file (csv is backup) (0 points)
4.1 Create a visualization where one axis is the state; the other axis is the male 2013 math scores - the female 2013 math scores (gender disparity) (2 points)
You have free rein over additional details but make sure it is informative over what direction of disparity positive versus negative values mean.

Can we do other plot types, e.g. maps?

Can we do other plot types, e.g. maps?

for this one we prefer a non-map just so we can see the clear ranking between states (which would be harder to see a choropleth/heat map)- thanks for checking!

Can we do other plot types, e.g. maps?

for this one we prefer a non-map just so we can see the clear ranking between states (which would be harder to see a choropleth/heat map)- thanks for checking!

Got it, thanks Professor!


Fix language in API documentation

I'm not a native English speaker, but the following looks more correct to me.

thank you and you are right :)


Issue 812 teval units

Description
Make time for solver dimensional (seconds)
Fixes #812
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ flake8
[ ] All tests pass: $ python run-tests.py --unit
[ ] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Thanks - sol.t is still dimensionless ( I had made it dimensional but the others pointed out dimensionless is more consistent with sol.y)


why this config is no healthy upstreams

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: One line description
Description:

Describe the issue.

apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: cluster
  namespace: istio-system
spec:
  workloadSelector:
    labels:
      istio: ingressgateway
  configPatches:
  - applyTo: NETWORK_FILTER
    match:
      listener:
        #name: <IP_ADDRESS>_8080
        portNumber: 8080
        filterChain:
          filter:
            name: "envoy.filters.network.http_connection_manager"
    patch:
      operation: MERGE
      value:
        name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager"
          codec_type: AUTO
          stat_prefix: ingress_http
          route_config:
            name: http.8080
            virtual_hosts:
            - name: “*.8080”
              domains:
              - "*"
              routes:
              - match:
                  caseSensitive: true
                  headers:
                  - name: :method
                    safeRegexMatch:
                      googleRe2: {}
                      regex: G.*T
                  prefix: /
                route:
                  cluster: productpage_cluster
  - applyTo: CLUSTER
    patch:
      operation: ADD
      value:
          name: productpage_cluster
          type: STRICT_DNS
          connect_timeout: 10s
          lb_policy: ROUND_ROBIN
          dns_refresh_rate: 5000ms
          dns_failure_refresh_rate:
            base_interval: 5000ms
            max_interval: 50000ms
          respect_dns_ttl: true
          dns_lookup_family: AUTO
          #dns_resolvers:已废弃
          use_tcp_for_dns_lookups: true
          dns_resolution_config:
            resolvers:
            - socket_address:
                address: <IP_ADDRESS>
                port_value: 53
            dns_resolver_options:
              use_tcp_for_dns_lookups: true
              no_default_search_domain: false
          load_assignment:
            cluster_name: productpage_cluster
            endpoints:
            - lb_endpoints:
              - endpoint:
                  address:
                     socket_address:
                      address: productpage.istio.svc.cluster.local
                      port_value: 9080

[optional Relevant Links:]

Any extra documentation required to understand the issue.

You can try run a ping command to ensure the dns resolver is working as your expect.

cc @yanavlasov

[root@node01 ~]# telnet  <IP_ADDRESS> 53
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.
sdf
sfd
sdfConnection closed by foreign host.
[root@node01 ~]# sdf
bash: sdf: command not found...
[root@node01 ~]# ping  <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.024 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=0.023 ms
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2075ms
rtt min/avg/max/mdev = 0.023/0.029/0.041/0.009 ms

[root@node01 ~]# kubectl exec -n istio -it busybox-88847f6-l9t8r /bin/sh
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
/ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=64 time=0.066 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=64 time=0.059 ms
64 bytes from <IP_ADDRESS>: seq=2 ttl=64 time=0.060 ms
64 bytes from <IP_ADDRESS>: seq=3 ttl=64 time=0.058 ms
64 bytes from <IP_ADDRESS>: seq=4 ttl=64 time=0.057 ms
64 bytes from <IP_ADDRESS>: seq=5 ttl=64 time=0.060 ms
64 bytes from <IP_ADDRESS>: seq=6 ttl=64 time=0.058 ms
^X64 bytes from <IP_ADDRESS>: seq=7 ttl=64 time=0.059 ms
^C
--- <IP_ADDRESS> ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max = 0.057/0.059/0.066 ms
/ # telnet <IP_ADDRESS> 53
Connected to <IP_ADDRESS>
sfds
Connection closed by foreign host
/ #

/ # nslookup productpage.istio.svc.cluster.local <IP_ADDRESS>
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>:53
*** Can't find productpage.istio.svc.cluster.local: No answer


Sending to yourself through http results in API error: timeout and transaction fails to confirm

wallet713> send --to http://<IP_ADDRESS>:13415 0.7
slate [c79527d1-6ab2-4b86-a41d-d39c76eccd98] received from [http(s) listener] for [0.700000000] MWCs.
wallet713>
Error: API Request error: Cannot make request: connection error: timed out
Steps to reproduce:
1.) Start foreign API.
2.) Send funds to your own foreign API address.
Result:
time out error will occur and the received transaction will never be confirmed. Sent transaction is never entered into the txlog.
Expected behaviour:
no time out error and send is successfully finalized.

We can't fix that case. Wallet is locked during send call.  If user need to send to himself, there is method 'self'


SP5 Avalonia using CustomDrawOp

This PR simplifies rendering logic in Avalonia by using CustomDrawOp instead of WriteableBitmap. So we directly render Plot into control's SkSurface.
This fixes #2818, also AvaPlot is DPI aware now.
This also has a performance impact.
In my case FPS increased from 400-600 to 900-1200 on Windows.

Hi @oktrue, this is a fantastic improvement! Thanks for this PR!
@bclehmann if you're available to look this over I'd love your input too. Thanks!


[Bug]: weightedMean aggregation of percent change in DataTables doesn't handle nulls and zeros correctly

Describe the bug
When using totalAgg=weightedMean in DataTables to aggregate percent change, null values and zeroes in the weightCol cause the entire row to be ignored, which leads to incorrect aggregates.
Steps to Reproduce
```sql example_data
select 'Peanut Butter' AS category, 'Chunky Peanut Butter' AS item, 6678 AS sales, 1189 AS sales_ya
union
select 'Peanut Butter', 'Smooth Peanut Butter', 7155, 7651
union
select 'Peanut Butter', 'Powder Peanut Butter', 522, 9928
union
select 'Salad Dressing', 'Thousand Island Dressing', 3210, 0
union
select 'Salad Dressing', 'Ranch Dressing', 9493, 7557
union
select 'Salad Dressing', 'Italian Dressing', 9212, 8051
union
select 'Salad Dressing', 'Caeser Dressing', 2489, 9643
union
select 'Plant-Based Milk', 'Almond Milk', 2867, 5212
union
select 'Plant-Based Milk', 'Oat Milk', 7982, 2430
union
select 'Plant-Based Milk', 'Soy Milk', 9069, 5872
```

```sql table_data
select
  category,
  item,
  sum(sales) as sales,
  sum(sales_ya) as sales_ya,
  ((sum(sales) - sum(sales_ya)) / sum(sales_ya)) as sales_yoy
from ${example_data}
group by all
order by sales DESC NULLS LAST
```

```sql sales_yoy_agg
select
  ((sum(sales) - sum(sales_ya)) / sum(sales_ya)) as sales_yoy
from ${table_data}
group by all
```

<DataTable data={table_data} groupBy=category subtotals=true totalRow=true>
<Column id=item />
<Column id=sales fmt='$#,##0' />
<Column id=sales_ya fmt='$#,##0' />
<Column id=sales_yoy totalFmt='pct1' contentType=delta fmt='pct1' totalAgg=weightedMean weightCol=sales_ya />
<Column id=sales_yoy totalFmt='pct1' contentType=delta fmt='pct1' totalAgg={sales_yoy_agg[0].sales_yoy} />
</DataTable>

The 'Thousand Island Dressing' row has zero sales_ya. Because it's zero, the weightedMean aggregation ignores the row, despite there being being a value in sales.
Logs
N/A

System Info
N/A

Severity
serious, but I can work around it
Additional Information, or Workarounds
This may be an inherent limitation to weightedMean, but percent change is a common calculation, so I think there should be a way of aggregating it in all cases. I can use a custom aggregation value as a workaround, but then that breaks groupBy aggregates in a DataTable.
Another workaround is to create a weightCol with the zeros set to a very small number like 0.001.

Seems to be the reverse issue of #2081 but I understand why handling of zeros/nulls was changed.


Deep links in dynamic route parameters don't work on cold launch or if the app is not in memory.

When navigating to a route like "/posts/:postId" the app crashes if it wasn't initially in memory. Normal links like /create-post work perfectly okay. If we use something "/post?&postId=1" it also works. Below is the stack trace of the error.
Null check operator used on a null value
I/flutter (31105): #0      ParseRouteTree._parseParams (package:get/get_navigation/src/root/parse_route.dart:173)
I/flutter (31105): #1      ParseRouteTree.matchRoute (package:get/get_navigation/src/root/parse_route.dart:64)
I/flutter (31105): #2      PageRedirect.needRecheck (package:get/get_navigation/src/routes/route_middleware.dart:258)
I/flutter (31105): #3      PageRedirect.page (package:get/get_navigation/src/routes/route_middleware.dart:199)
I/flutter (31105): #4      GetMaterialApp.generator (package:get/get_navigation/src/root/get_material_app.dart:340)
I/flutter (31105): #5      _WidgetsAppState._onGenerateRoute (package:flutter/src/widgets/app.dart:1482)
I/flutter (31105): #6      NavigatorState._routeNamed (package:flutter/src/widgets/navigator.dart:4447)
I/flutter (31105): #7      Navigator.defaultGenerateInitialRoutes (package:flutter/src/widgets/navigator.dart:2802)
I/flutter (31105): #8      NavigatorState.restoreState (package:flutter/src/widgets/navigator.dart:3647)
I/flutter (31105): #9      RestorationMixin._doRestore (package:flutter/src/widgets/restoration.dart:924)
I/flutter (31105): #10     RestorationMixin.didChangeDependencies (package:flutter/src/widgets/restoration.dart:910)
I/flutter (31105): #11     NavigatorState.didChangeDependencies (package:flutter/src/widgets/navigator.dart:3694)
I/flutter (31105): #12     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5629)
I/flutter (31105): #13     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456)
I/flutter (31105): #14     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335)
I/flutter (31105): #15     Element.updateChild (package:flutter/src/widgets/framework.dart:3846)
I/flutter (31105): #16     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5505)
I/flutter (31105): #17     Element.rebuild (package:flutter/src/widgets/framework.dart:5196)
I/flutter (31105): #18     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5462)
I/flutter (31105): #19     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456)
I/flutter (31105): #20     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335)
I/flutter (31105): #21     Element.updateChild (package:flutter/src/widgets/framework.dart:3846)
I/flutter (31105): #22     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6758)
I/flutter (31105): #23     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335)
I/flutter (31105): #24     Element.updateChild (package:flutter/src/widgets/framework.dart:3846)
I/flutter (31105): #25     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5505)
I/flutter (31105): #26     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5643)
I/flutter (31105): #27     Element.rebuild (package:flutter/src/widgets/framework.dart:5196)
I/flutter (31105): #28     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5462)
I/flutter (31105): #29     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5634)
I/flutter (31105): #30     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456)
I/flutter (31105): #31     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335)
I/flutter (31105): #32     Element.updateChild (package:flutter/src/widgets/framework.dart:3846)
I/flutter (31105): #33     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5505)
I/flutter (31105): #34     Element.rebuild (package:flutter/src/widgets/framework.dart:5196)
I/flutter (31105): #35     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5462)
I/flutter (31105): #36     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456)
I/flutter (31105): #37     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335)
I/flutter (31105): #38     Element.updateChild (package:flutter/src/widgets/framework.dart:3846)
I/flutter (31105): #39     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5505)
I/flutter (31105): #40     Element.rebuild (package:flutter/src/widgets/framework.dart:5196)
I/flutter (31105): #41     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5462)
I/flutter (31105): #42     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456)
I/flutter (31105): #43     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335)
I/flutter (31105): #44     Element.updateChild (package:flutter/src/widgets/framework.dart:3846)
I/flutter (31105): #45     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5505)
I/flutter (31105): #46     Element.rebuild (package:flutter/src/widgets/framework.dart:5196)
I/flutter (31105): #47     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5462)
I/flutter (31105): #48     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456)
I/flutter (31105): #49     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335)
I/flutter (31105): #50     Element.updateChild (package:flutter/src/widgets/framework.dart:3846)
I/flutter (31105): #51     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5505)
I/flutter (31105): #52     Element.rebuild (package:flutter/src/widgets/framework.dart:5196)
I/flutter (31105): #53     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5462)
I/flutter (31105): #54     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456)
I/flutter (31105): #55     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335)
I/flutter (31105): #56     Element.updateChild (package:flutter/src/widgets/framework.dart:3846)

Hello @ettaegbe, I have same issue in my old projects
after spending a lot of time I found two the solutions that you can choose

Make sure the initialRoute name is '/'
or
When the deeplink came from cold start, its always open the '/' as initial route and if your initial route name is not '/', getx throw to the unknown route property so you must set unknownRoute in the GetMaterialApp

See the code here
Hope this help you

To many question about this issue
Hope this will be fixed in current version or next getx 5 version
@jonataslaw

@nandakista it was fixed in the last merge. It's not just published. I wish he could now because trying to pull from the git commit is impossible. #3067


Minor clarification under Data types and a ref in Varint

a 64 bit float is commonly known as a double
added a wikipedia link about varints (aka VLQs)

Of note, we should also (probably) state that most, if not all, numerics in SBON/SBAsset6/SBVJ01 seem to be big endian.   Not sure where though.

...also, if you don't want to include the wikipedia link (as I just noticed it's already there, slightly above), that's fine.
It's 2am and I should not be submitting PRs in this state.  :|

Thank you @damianb! :)


chore(main): release 1.8.0

:robot: I have created a release beep boop
1.8.0 (2023-10-20)
Features

🚀 初步添加对 Linux 以及 MacOS 的支持 (569ed2e)

Bug Fixes

📝 偏好设置描述信息修改 (23d68d4)
🔧 设备列表标签显示细节调整 (4f2f00e)

Performance Improvements

📝 设备备注文本框描述信息调整 (379b325)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/viarotel-org/escrcpy/releases/tag/v1.8.0 :sunflower:


FIX #50 - Invalid JSON has misleading message (even if msg should be ignored)

When receiving invalid JSON payloads, the client was presented with a partial message that associated the subject of the subscription rather than the collected (and potentially invalid message). Changed so that the invalid message is included - the invalid message will have the correct subject the parsed from the protocol line, etc).
Also updated tests showing that error must be checked.

Pull Request Test Coverage Report for Build 164

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 87.744%

Totals

Change from base Build 161:
0.3%

Covered Lines:
810

Relevant Lines:
916

💛  - Coveralls


Develop

Fixing invalid date time format in date_helper and xmlrpc library.

i'm so sorry about the changelog. i'll keep that in mind. thank you.

function standard_date($fmt = 'DATE_RFC822', $time = '') {}
Why not switch these two paramets around?

I believe it is to emulate the date() function, which accepts format then time. Also there is no benefit to changing and breaks apps, so... no.


Add more Internships and Mentorship programs to the Networking section in the Frontend/Backend Track

Please follow the format in the code.
View how to contribute to this repository.

@Timonwa I would like to work on this issue, Can you please assign this issue to me under Hacktoberfest 2023


Prying tools cant close open airlocks

Description

Tools with prying qualities like crowbars and the jaws of life are not able to pry airlocks closed. The do-after begins and completes, but nothing happens.
Reproduction

Pry open an airlock and then attempt to pry it closed.

Might be connected to #33525.


Checkpoint restoration

Hello,
Thank you so much for putting together this dataset and codebase! I am trying to reproduce your results; however, I am unable to find any references to restore training from checkpoints. I am using the default config provided. Some pointers would be much appreciated!
Thank you very much!

Hi @nikwalia, thank you for your interest! I'll answer this from the perspective of the rxr-habitat-challenge branch.
If using the RecollectTrainer, each checkpoint saves the current training epoch and step_id. To continue training from a given checkpoint, set these additional entries in your config:
IL:
  ckpt_to_load: /path/to/checkpoint.pth
  is_requeue: True
  load_from_ckpt: True

Then when you start training again, _initialize_policy() should automatically restore the model, optimizer, and training steps. You can compare training losses to ensure the checkpoint was restored properly.
Restoring checkpoints is currently unsupported in the DaggerTrainer. Edge cases relating to the online dataset collected during training would need to be addressed. If doing teacher forcing, a precomputed dataset can be used to skip straight to model training:
IL:
  DAGGER:
    preload_lmdb_features: True
    lmdb_features_dir: /path/to/dataset


Build Failure

I'm experiencing a build failure when using the security_plus plugin version 2.0.1 in my Flutter project.
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':security_plus'.
> Could not open cp_proj generic class cache for build file 'C:\Users\benson\AppData\Local\Pub\Cache\hosted\pub.dev\security_plus-2.0.1\android\build.gradle' (C:\Users\benson\.gradle\caches\8.3\scripts\bul30twwdgr1tlw6rukm6qbdz).
   > Build file 'C:\Users\benson\AppData\Local\Pub\Cache\hosted\pub.dev\security_plus-2.0.1\android\build.gradle' should not contain a package statement.
> Failed to notify project evaluation listener.
   > Could not get unknown property 'android' for project ':security_plus' of type org.gradle.api.Project.
   > Could not get unknown property 'android' for project ':security_plus' of type org.gradle.api.Project.

* Try:
> Run with --stacktrace option to get the stack trace.

@angatiabenson  could you give me more details about the environment you have on your machine?

[image: image.png]

Message ID: @.***
com>

@angatiabenson thanks I fixed it and uploaded a new version. fixed in version 2.0.2


updated workshop september

Signed-off-by: Tihomir Surdilovic<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:
Special notes for reviewers:
Additional information (if needed):

this is outdated now, was never reviewed


Fix PG search to avoid display "code too big"

Fixed https://github.com/BabylonJS/Documentation/pull/549


[bug] page destroyed during hydration if a file fails to load

Describe the bug
The page from the reproduction loads during SSR and then fails during hydration during dev mode if you both have adblock on and are not using the new experimental.prebundleSvelteLibraries option (https://github.com/RobBrazier/svelte-awesome/issues/775).
This particular example is kind of an edge case, but the outcome is really bad and I'm not so sure how rare it is more generally. Per Rich's point, sometimes things fail to load because you live in NYC and take the subway and lose connectivity going into a tunnel. That the entire page would be wiped out eventhough SSR succeeded is quite a bad outcome. If we wrapped the whole hydration in a try/catch maybe you'd at least see the server-rendered page. Or perhaps if we had error boundaries the developer could do something smarter
Reproduction
https://github.com/benmccann/500-import-failure
Logs
I get a message in the browser:
Failed to fetch dynamically imported module: http://localhost:3000/src/routes/index.svelte

Screenshot:

System Info
This fails on 1.0.0-next.138 and newer all the way up to master since that's when we turned on compilerOptions.hydratable: https://github.com/sveltejs/kit/pull/2024
https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md#100-next138
Severity
blocking all usage of SvelteKit
Additional Information
No response

I'm having a similar issue, but it's on the client side, I have this component called AdSlot, and it gets blocked if you have an AdBlocker turned on, and, because of that, everything gets broken in my page, the css does not load properly and so on

I'm having a similar issue, but it's on the client side, I have this component called AdSlot, and it gets blocked if you have an AdBlocker turned on, and, because of that, everything gets broken in my page, the css does not load properly and so on
EDIT: I forgot to mention, the problem only happens when running a production build, with npm run dev it works fine

For reference, looks like my Ghostery is breaking my Sveltekit SPA when in production. 'npm run preview' is ok, and dev. If I host the SPA locally though from the build folder, I can reproduce the issue. Pausing Ghostery and the page hosts fine.
Any ideas on how I can resolve  this - just spent 2 days learning SvelteKit and went to deploy for then this to happen :-(

hey! i was wondering if this issue is still open because the milestone was set a long time ago.

Closing this because I can't reproduce this on the latest version of Svelte and SvelteKit with an adblocker on.


Support for data-parallelism for find algorithms

Reopen from https://github.com/STEllAR-GROUP/hpx-local/pull/21
@srinivasyadav18 please check that everything is as it should be.

@hkaiser Thanks! Everything is in place :).


File upload bug

is not JSON serializable error.
According to API documentation post request needs file object. That means "json.dumps" is not needed here.
I've made fork, to fix that (here it is), but could not make pull request.
Merge that please.

Also there is problem sending file through that post
We need to send just binary file stream, not dictionary.
Also fixed in mentioned fork.

I've made fork, to fix that (here it is), but could not make pull request.

Can you make a pull request?

Can you make a pull request?

Got it.


refactor: move AddTransactionProvider to its own crate

the AddTransactionProvider trait is the interface that abstracts the receiving of transactions in madara.
It is implemented by:

mc-gateway-client, to forward all the transactions to another gateway. This is used in full-node mode, so that all invoke/declare/deployaccount transactions are forwarded to the starkware (or any other) public gateway.
mc-mempool. When this implementation is used, the transactions are added to the mempool for block production.

It is used, as an Arc<dyn AddTransactionProvider> by:

mc-gateway, our implementation of the gateway/feeder gateway
mc-rpc, our implementation of the rpc specs
the node operator rpcs for declare v0 txs (very soon it'll be in its own crate, see #386.)
very soon, in mc-p2p to implement the adding of transactions by p2p pubsub.
mc-eth (and long-term, its starknet equivalent for L3s) uses it to add L1 transactions into the mempool.

This abstraction is very useful to allow the "frontend" madara services like mc-gateway/mc-rpc to not care about where the transactions actually end up, whether forwarded to other p2p nodes, or forwarded to a gateway, or added to the mempool for block production.
Currently however it resides in mc-rpc, which limits its usefulness. We should put it into its own crate.
We also need to change the error types in that trait to a new error type that would also live in the same crate, because relying on starknet-types-rpc error types is a leaky abstraction that makes sense for mc-rpc but does not suit mc-p2p and mc-gateway. The consumer crates would just have to add a From implementation from that error type to the rpc/p2p/gateway server error type.

Can I work on this?


Spock integration

Spock integration
!story G17.7
!component test

I'm looking at webtest canoo right now for this. It offers Dennis an easier way to create tests. I'm building a vagrant fedora box that he can use.

As soon as the PR: https://github.com/radiantbluetechnologies/ossim-geotools/pull/94 is in, this can be closed out.

Done, per @benhosmer.


chore(deps): update spring core to v5 (major)

This PR contains the following updates:

Package
Update
Change
References

org.springframework:spring-beans
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

org.springframework:spring-context
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

org.springframework:spring-context-support
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

org.springframework:spring-jdbc
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

org.springframework:spring-orm
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

org.springframework:spring-oxm
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

org.springframework:spring-test
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

org.springframework:spring-tx
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

org.springframework:spring-web
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

org.springframework:spring-webmvc
major
4.3.22.RELEASE -> 5.1.5.RELEASE
homepage, source

Release Notes

spring-projects/spring-framework
v5.1.5.RELEASE
Compare Source
:star: New Features

Fix for ScriptUtils failure when '--' occurs inside a multi-line comment on the same line as '*/' #22392
InjectionPoint autowiring throws exception for @Resource beans autowired by name #22359
PathMatchingResourcePatternResolver may double-wrap jar: URLs #22346
mariadb-java-client 2.4.0 productName changed: breaks Spring Batch #22344
SpringEL should not throw IllegalAccessError for invalid assignment #22336
Avoid duplicate call to findAnnotations in DefaultListableBeanFactory.findAnnotationOnBean #22318
Load-time weaving support for WildFly 13+ #22297
org.springframework.web.client.HttpMessageConverterExtractor#extractData fails to detect empty body when content-length header is missing #22265
Deprecate JibxMarshaller #22249
DefaultExceptionHandler logs warning cannot be disabled [SPR-17628]#22159
Support for null literal in Jackson2JsonDecoder [SPR-17510]#22042

:beetle: Bug Fixes

IllegalArgumentException when overriding empty 'excludeFilters' array on @ComponentScan #22405
@Transactional beans not getting proxied when being initialized during failed circular reference attempt #22370
CompositeLog does not log exceptions at ERROR level #22364
ApplicationContext.refresh() causes stale listeners to be added to ApplicationEventMulticaster  #22325
ApplicationListenerMethodAdapter does not find @Ordered annotation for dynamic proxies #22307
NPE in AbstractHandlerMethodMapping when trace logging is enabled and a handler's class loader does not provide package information #22306
Incomplete fix for MethodParameter.isOptional() ArrayIndexOutOfBoundsException #22303
Wrap DecodingException thrown by WebFlux functional endpoints #22290
Fix truncation of response body in AbstractMessageConverterMethodProcessor #22287
DataBuffer.write(CharSequence charSequence, Charset charset) fails on empty string with java.lang.IllegalStateException: Current state = RESET, new state = FLUSHED #22262
Add tests for SpringBeanContainer (Hibernate ORM integration) and fix the behavior when requesting named beans #22260
ServerSentEventHttpMessageReader leaves a leading space on field decoding [SPR-17511]#22043

:notebook_with_decorative_cover: Documentation

Enhance documentation for @PostConstruct/PreDestroy and @Required #22348
Improve spring-context-indexer documentation #22339
Testing chapter of reference manual refers to old version of PetClinic #22288
Correct issues in Spring MVC section #22282
Clarify documentation about Spring MVC views rendered with Jackson versus @JsonView #22280
Spring MVC documentation has incorrect WebFlux reference #22270
Use try-with-resources in Spring 5 documentations #22269
Document effect of @DirtiesContext when used with constructor injection [SPR-17654]#22183
Add note to Scope documentation on SimpleTransactionScope [SPR-17651]#22180
Document effect of preemptive timeouts on transactional tests [SPR-17647]#22176
Document synchronous use of WebClient [SPR-17644]#22173
Error in CORS WebFilter documentation of web-reactive #19841
Improve Kotlin documentation #22400

:heart: Contributors
We'd like to thank all the contributors who worked on this release!

@benelog
@mmustaquim
@mhewedy
@artembilan
@lifenjoy51
@yrodiere
@vpavic
@kudrevatykh

v5.1.4.RELEASE
Compare Source
v5.1.3.RELEASE
Compare Source
v5.1.2.RELEASE
Compare Source
v5.1.1.RELEASE
Compare Source
v5.1.0.RELEASE
Compare Source
v5.0.12.RELEASE
Compare Source
v5.0.11.RELEASE
Compare Source
v5.0.10.RELEASE
Compare Source
v5.0.9.RELEASE
Compare Source
v5.0.8.RELEASE
Compare Source
v5.0.7.RELEASE
Compare Source
v5.0.6.RELEASE
Compare Source
v5.0.5.RELEASE
Compare Source
v5.0.4.RELEASE
Compare Source
v5.0.3.RELEASE
Compare Source
v5.0.2.RELEASE
Compare Source
v5.0.1.RELEASE
Compare Source
v5.0.0.RELEASE
Compare Source

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.

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

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 5.x releases. However, if you upgrade to 5.x manually then Renovate will then reenable updates for minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


0.9.4 REPL no longer loads cats-core 0.9.0

› amm
Loading...
Compiling <synthetic>/ammonite/predef/replBridge.sc
Compiling <synthetic>/ammonite/predef/interpBridge.sc
Compiling <synthetic>/ammonite/predef/DefaultPredef.sc
Welcome to the Ammonite Repl 0.9.4
(Scala 2.12.2 Java 1.8.0_112)
If you like Ammonite, please support our development at www.patreon.com/lihaoyi
@ import $ivy.`org.typelevel::cats-core:0.9.0`, cats._, cats.implicits._, cats.data._
https://repo1.maven.org/maven2/org/typelevel/cats-kernel_2.12/0.9.0/cats-kernel_2.12-0.9.0-sources.jar
  100.0% [##########] 32.5 KiB (147.5 KiB / s)
https://repo1.maven.org/maven2/org/typelevel/macro-compat_2.12/1.1.1/macro-compat_2.12-1.1.1-sources.jar
  100.0% [##########] 1.0 KiB (4.6 KiB / s)
https://repo1.maven.org/maven2/com/github/mpilquist/simulacrum_2.12/0.10.0/simulacrum_2.12-0.10.0-sources.jar
  100.0% [##########] 6.4 KiB (160.5 KiB / s)
https://repo1.maven.org/maven2/org/typelevel/machinist_2.12/0.6.1/machinist_2.12-0.6.1-sources.jar
  100.0% [##########] 3.5 KiB (84.5 KiB / s)
https://repo1.maven.org/maven2/org/typelevel/cats-macros_2.12/0.9.0/cats-macros_2.12-0.9.0-sources.jar
  100.0% [##########] 1.2 KiB (21.7 KiB / s)
https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.12.0/scala-reflect-2.12.0-sources.jar
  100.0% [##########] 557.8 KiB (1.6 MiB / s)
https://repo1.maven.org/maven2/org/typelevel/cats-core_2.12/0.9.0/cats-core_2.12-0.9.0-sources.jar
  100.0% [##########] 132.2 KiB (1.1 MiB / s)
https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.1/scala-library-2.12.1-sources.jar
  100.0% [##########] 965.4 KiB (3.7 MiB / s)
cmd0.sc:1: package cats contains object and package with same name: implicits
one of them needs to be removed from classpath
import $ivy.$                               , cats._, cats.implicits._, cats.data._
                                              ^
cmd0.sc:1: Symbol 'type <none>.instances.AllInstances' is missing from the classpath.
This symbol is required by 'object cats.implicits'.
Make sure that type AllInstances is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
A full rebuild may help if 'implicits.class' was compiled against an incompatible version of <none>.instances.
import $ivy.$                               , cats._, cats.implicits._, cats.data._
                                                                        ^
Compilation Failed

Thanks for the report! Will take a look

@mpilquist what if you put
interp.configureCompiler(_.settings.termConflict.value = "object")

before you do the import $ivy?

@lihaoyi That appears to fix it, at least with some trivial examples.

Sounds good. Let me know if there are further problems.
I'm guessing this is probably caused by the presence of source files on the classpath, within a folder of the same name as the package object. Somehow this causes the compiler to get confused because there is a package object, and there is also a "package" containing .scala resources of the same name.
From what I can tell, this setting is purely a "pick one instead of failing" thing, so I don't think it should cause any problems. I'll kick off a CI run to see if this setting causes any other breakage, if not I'll just turn it on by default.
Another solution would be to isolate the source jars from the classfile jars, which should definitely do the job if this doesn't work

Pushed out 0.9.5 which fixes this


donut-base pretraining learning-rate and batch size

Hi @gwkrsrch,
I need to estimate how long it could take to train donut-base on 16x A100 GPUs.
From A.5 Implementation and Training Hyperparameters of your paper: https://arxiv.org/pdf/2111.15664.pdf

The initial learning rate of pre-training is set to 1e-4 and that of fine-tuning is selected from 1e-5 to 1e-4. We pre-train the model for 200K steps with 64 NVIDIA A100 GPUs and a mini-batch size of 196, which takes about 2-3 GPU days. We also apply a gradient clipping technique where a maximum gradient norm is selected from 0.05 to 1.0. The input resolution of Donut is set to 2560×1920 at the pre-training phase.

A couple of q's:

What do you mean by mini-batch size of 196? 196 / 64 = 3,06. Was 3 or 4 the batch size per GPU?
You started per-training with LR set to 1e-4 and what then? Did you use ReduceLROnPlateau-like strategy?
Your dataset size was 11M of IIT and 2M of SynthDOG, so 13M examples. Each step took 196 examples, so it means one epoch is 66326 steps so you've trained the model for ~3 epochs. Is that correct?
Was your A100 GPU a 40GB or 80GB of memory version?

Hi, @VictorAtPL :)
Here are brief answers to your questions. Hope this helps ;) (1) 64*3 is correct, thank you for the question; (2) Yes, we used cosine scheduling and found it to be robust across different scheduling methods; (3) Yes; (4) 80GB.

@gwkrsrch
Thank you!

In pretraining, cosine scheduling like (a), (b) or (c)? I know in fine-tuning in the code there is implemented cosine scheduling with warmup, but did you use the same for pre-training or other method which is not in the code?
a)

b) (Tmax = number of all steps)

c) (Tmax < number of all steps)

If the batch size per GPU was 3 and you used 80GB A100 version, no way I can fit 2 examples in 40GB A100 version? I'd have to reduce the resolution of the input image?

same code, 2) yes you might need to adjust some hyperparamters, or maybe deepspeed, PyTorch2.0 compile , ... might be helpful to you ;)


not possible to mirror to unsecure registry

Version
$ oc-mirror version
Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.11.0-202208291725.p0.g3c1c80c.assembly.stream-3c1c80c", GitCommit:"3c1c80ca6a5a22b5826c88897e7a9e5acd7c1a96", GitTreeState:"clean", BuildDate:"2022-08-29T23:03:11Z", GoVersion:"go1.18.4", Compiler:"gc", Platform:"linux/amd64"}

What happened?
No matter how I try to mirror to an unsecure docker-registry, it always fails.
I have tried with different command options and ImageSetConfiguration.yaml files. Here the results:
Trying with localhost was not possible, because it tries to build the Registry-URL with "docker.io" as prefix.
# oc-mirror --config=ImageSetConfiguration.yaml docker://localhost --dest-skip-tls
Checking push permissions for localhost
error: error checking push permissions for localhost: POST https://index.docker.io/v2/localhost/oc-mirror/blobs/uploads/: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:localhost/oc-mirror Type:repository] map[Action:push Class: Name:localhost/oc-mirror Type:repository]]

Only using my local IP address, it tries to communicate with tls port (443), when rebuilding the catalog images.
# oc-mirror --config=ImageSetConfiguration.yaml docker://<IP_ADDRESS> --dest-skip-tls
...
info: Mirroring completed in 42.44s (0B/s)
Rendering catalog image "<IP_ADDRESS>/redhat/redhat-operator-index:v4.11" with file-based catalog
level=info msg=trying next host error=failed to do request: Head "https://<IP_ADDRESS>/v2/redhat/redhat-operator-index/manifests/v4.11": dial tcp <IP_ADDRESS>:443: connect: connection refused host=<IP_ADDRESS>
error: error rebuilding catalog images from file-based catalogs: error retrieving digest for catalog image "<IP_ADDRESS>/redhat/redhat-operator-index:v4.11": failed to do request: Head "https://<IP_ADDRESS>/v2/redhat/redhat-operator-index/manifests/v4.11": dial tcp <IP_ADDRESS>:443: connect: connection refused

Explicitly defining port 80 returned me a wrong response.
# oc-mirror --config=ImageSetConfiguration.yaml docker://<IP_ADDRESS>:80 --dest-skip-tls
...
info: Mirroring completed in 40.81s (0B/s)
Rendering catalog image "<IP_ADDRESS>:80/redhat/redhat-operator-index:v4.11" with file-based catalog
level=info msg=trying next host error=failed to do request: Head "https://<IP_ADDRESS>:80/v2/redhat/redhat-operator-index/manifests/v4.11": http: server gave HTTP response to HTTPS client host=<IP_ADDRESS>:80
error: error rebuilding catalog images from file-based catalogs: error retrieving digest for catalog image "<IP_ADDRESS>:80/redhat/redhat-operator-index:v4.11": failed to do request: Head "https://<IP_ADDRESS>:80/v2/redhat/redhat-operator-index/manifests/v4.11": http: server gave HTTP response to HTTPS client

Using the default non http port didn't work aswell:
# oc-mirror --config=ImageSetConfiguration.yaml docker://<IP_ADDRESS>:5000 --dest-skip-tls
...
info: Mirroring completed in 3m15.55s (34.34MB/s)
Rendering catalog image "<IP_ADDRESS>:5000/redhat/redhat-operator-index:v4.11" with file-based catalog
level=info msg=trying next host error=failed to do request: Head "https://<IP_ADDRESS>:5000/v2/redhat/redhat-operator-index/manifests/v4.11": http: server gave HTTP response to HTTPS client host=<IP_ADDRESS>:5000
error: error rebuilding catalog images from file-based catalogs: error retrieving digest for catalog image "<IP_ADDRESS>:5000/redhat/redhat-operator-index:v4.11": failed to do request: Head "https://<IP_ADDRESS>:5000/v2/redhat/redhat-operator-index/manifests/v4.11": http: server gave HTTP response to HTTPS client

See the ImageSetConfiguration.yaml File used below. The only thing i changed was the registry.imageURL to match the docker-registry used in the oc-mirror command:
---
apiVersion: mirror.openshift.io/v1alpha2
kind: ImageSetConfiguration
archiveSize: 4
storageConfig:
  registry:
    imageURL: localhost/oc-mirror/operator
    skipTLS: true
mirror:
  operators:
  - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.11
    packages:
    - name: odf-operator
      channels:
      - name: stable-4.11
    - name: local-storage-operator
      channels:
      - name: stable
    - name: odf-csi-addons-operator
      channels:
      - name: stable-4.11
    - name: ocs-operator
      channels:
      - name: stable-4.11
    - name: mcg-operator
      channels:
      - name: stable-4.11

What did you expect to happen?
I expect to be able to complete a semi-disconnected mirroring of operators to my private unsecure mirror-registry.
How to reproduce it (as minimally and precisely as possible)?
start an unsecure local docker-registry using the ImageSetConfiguration.yaml and command above.

apparently I was missing the "--dest-use-http" option. Using it I could mirror without issues.


test set

Hello, author, what is the ratio of the training set to the test set in your autoimpute paper? I didn’t find it in your code. I only found the ratio of the mask. Do you need the ratio of train and test? Set it yourself. Thank you very much! Looking forward to your reply!
Best wish！

Hey,
The masking_percentage parameter determines the train-test split of the input dataset. For instance, if the masking_percentage parameter is set to 20%, the script would mask 20% of the input data during the training process, essentially having a 80-20 train-test split.

Hey,
The masking_percentage parameter determines the train-test split of the input dataset. For instance, if the masking_percentage parameter is set to 20%, the script would mask 20% of the input data during the training process, essentially having a 80-20 train-test split.

Because your reply allowed me to solve the problem. I am so gald to received to your reply,thank you very  much!
------------------ 原始邮件 ------------------
发件人:                                                                                "divyanshu-talwar/AutoImpute"<EMAIL_ADDRESS>发送时间: 2021年1月18日(星期一) 下午5:53
收件人<EMAIL_ADDRESS>抄送: "stone"<759188075<EMAIL_ADDRESS>主题: Re: [divyanshu-talwar/AutoImpute] test set (#9)
Hey,
The masking_percentage parameter determines the train-test split of the input dataset. For instance, if the masking_percentage parameter is set to 20%, the script would mask 20% of the input data during the training process, essentially having a 80-20 train-test split.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Because your reply allowed me to solve the problem. I am so gald to received to your reply,thank you very  much!
------------------ 原始邮件 ------------------
发件人:                                                                                "divyanshu-talwar/AutoImpute"<EMAIL_ADDRESS>发送时间: 2021年1月18日(星期一) 下午5:53
收件人<EMAIL_ADDRESS>抄送: "stone"<759188075<EMAIL_ADDRESS>主题: Re: [divyanshu-talwar/AutoImpute] test set (#9)
Hey,
The masking_percentage parameter determines the train-test split of the input dataset. For instance, if the masking_percentage parameter is set to 20%, the script would mask 20% of the input data during the training process, essentially having a 80-20 train-test split.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Per Pixel Transparency misbehaving/broken in 3.2.2-stable on Windows

Godot version:
Godot_v3.2.2-stable_mono_win64
OS/device including version:
Windows 10 Home - 1909.  Build - 18363.900
RTX 2080ti
GLES3 / GLES2
Issue description:
Starting borderless application at monitor resolution (1920x1080) with per pixel transparency allowed and enabled now hides the background applications, but shows my models.
Setting the application to 1920x1079 allows the applications behind to be seen.  However clicks are trapped by application window.
Cursor clicks to not trickle through to the behind applications.
In Godot_v3.2.1-stable_mono_win64, the application would be transparent at 1920x1080, and clicks that weren't on my entities (ie, a mesh) would give control to applications in the background).
Steps to reproduce:
Create a new project.
Add a basic 3d spatial with a mesh and camera.
Project > Project Settings > General > Display > Window
Size >
Set width/height to the height of your monitor.
Check Borderless
Check Always On Top
Per Pixel Transparency >
Check Allowed
Check Enabled
Put a script on your root entity (eg, the Spatial)
Ensure the following is in the _Ready() method.
    public override void _Ready()
    {
        GetTree().Root.TransparentBg = true;
    }

Minimal reproduction project:
Attached is a simple project created in 3.2.1.
Run it in 3.2.1 mono  and you will see the desired behavior a sphere, with transparent background and you are able to operate on elements behind the application (eg, windows desktop or other apps).
Run it in 3.2.2 and you will see a black screen with a sphere.  The transparency will work if you resize the window in the application settings, however all the cursor interactions will still be trapped.

NOTE:
You will not be able to reopen it in 3.2.1 after opening in 3.2.2 because it changes the SLN file (really annoying - not sure if another bug).  So if you want to retest - just extract from the zip again.

BugReport.zip

@softgripper Can you test this in the various 3.2.2 betas and RCs to make it easier to bisect the regression? You can download them here.

It's probably related to #38629 (CC @bruvzg @Technohacker).

However clicks are trapped by application window.

Change in click-through behavior of the windows is probably caused by #38629 (it's now uses more efficient per-pixel transparency method), but it's in general inconsistent between different OSs and DMs.
You should not expect clicks to go through transparent areas. There's Windows API to specify clickable area but it's not currently not available from Godot (and there's no straightforward method to incorporate it to the current transparency implementation, since it uses polygon not the image buffer).

Starting borderless application at monitor resolution (1920x1080)

Transparency is not supported in full screen mode (on any platform), and on Windows borderless window with the screen resolution seems to be identical to fullscreen.

I checked the MS docs and the previous method allowed clicks to pass through:
Hit testing of a layered window is based on the shape and transparency of the window. This means that the areas of the window that are color-keyed or whose alpha value is zero will let the mouse messages through. However, if the layered window has the WS_EX_TRANSPARENT extended window style, the shape of the layered window will be ignored and the mouse events will be passed to other windows underneath the layered window.

The current method (DwmEnableBlurBehindWindow) is consistent with macOS and Linux, as in it won't allow clicks to pass through

@softgripper Can you test this in the various 3.2.2 betas and RCs to make it easier to bisect the regression? You can download them here.

Appears to have been introduced in beta3.
Bug not in Godot_v3.2.2-beta2_win64
Bug present in Godot_v3.2.2-beta3_win64

You will not be able to reopen it in 3.2.1 after opening in 3.2.2 because it changes the SLN file (really annoying - not sure if another bug). So if you want to retest - just extract from the zip again.

This is because the way the SLN is generated has changed to allow moving/removing scripts from the FileSystem dock without breaking stuff. In any case, I'd recommend using GDScript for minimal reproduction projects so everyone can try them locally (not just people with Mono-enabled builds).

Done - attatched is a version using GDScript.
BugReport.zip

Transparency is not supported in full screen mode (on any platform), and on Windows borderless window with the screen resolution seems to be identical to fullscreen.

Currently my application in 3.2.1 allows for interacterable characters to run around on the windows desktop, and it's fantastic.  It is only after 3.2.2 beta3 that this is no longer possible.

@softgripper It's definitely my change to use DwmEnableBlurBehindWindow then. The older method using WS_EX_LAYERED gives you clickthrough support but at the cost of a CPU bottleneck. You can always revert my commit and build the engine to bring that support back :)

Done - attatched is a version using GDScript.
BugReport.zip

In this zip, the height has been set to 1079 so the screen may not appear black.
After testing the other RC/Betas, "Always on Top" has stopped working even when opening the project with 3.2.1.  I'll try after a reboot, but at the moment it's 2am here, I'll have a look in the morning..

@softgripper It's definitely my change to use DwmEnableBlurBehindWindow then. The older method using WS_EX_LAYERED gives you clickthrough support but at the cost of a CPU bottleneck. You can always revert my commit and build the engine to bring that support back :)

Technohacker - I'd love to, however I'm unfamiliar with C and C++, so not comfortable doing this unless there is a simple "revert" button.    (If it was any of the other 10+ languages I'm familiar with, no problem).

@softgripper I can guide you through :)

Do a git clone of the repo
git revert 5d2683 then save the commit message file so git does the revert
Build using these instructions

I don't anticipate this commit being reverted upstream because it brings a more consistent API to all desktop platforms :sweat_smile:

@softgripper I can guide you through :)

Do a git clone of the repo
git revert 5d2683 then save the commit message file so git does the revert
Build using these instructions

I don't anticipate this commit being reverted upstream because it brings a more consistent API to all desktop platforms 😅

Got halfway through the build then decided to do some performance tests.  My system is pretty decent (32gb, 8700k, 2080ti).
The old way yields about 63fps - so basically unacceptable.  The new way is rock solid at my capped fps (144, or 240 depending on gsync monitor) - I haven't tried uncapped, but it will be insane.
I was basically using the build for debugging as I export this stuff to WASM and use it as interactive transparent overlays on twitch, so my usecase still works.
I noticed things were different (including the propagated "click through"), so I raised the bug.
My overlays still work correctly, so I don't see a real need for the revert.
That being said, the click through thing would be nice to have.  You could have an app run a whole heap of real time widgets (stock market tickers, round clocks, live feeds etc) and position them wherever you like on your desktop, or some tamagotchi type creature you keep alive while working.  Hopefully this is something that Godot can achieve in the future.  I'm not sure what other use cases there would be for transparency if it's limited to rectangles that can't have pass through input.
At any rate, I got stuck at the "saving the commit message".  I did get the existing git build working though, so might go teach myself some CPP and dig around.  I've been messing with Vulkan in Rust - and it's interesting :)
Thanks for your time and work @Technohacker

I would say having support for multiple windows would be a great way to have a widget style application, because each window could shrink itself to fit its contents exactly. One workaround as of now is to launch the project within itself again with different launch flags using OS.execute and change code paths depending on them. Fairly clunky, I know, but multi window could simplify that :)

I have opened WIP PR for click-through support, clickable area can be specified as a polygon (Path2D node for example), in works independently of transparency (currently tested only on macOS) - #39944 (for 4.0), the same changes for 3.2 are in click-through-3 branch.

I added a comment linking to this issue in the 3.2.2 release's "Known incompatibilities" section.
As it's not a bug but a necessary compatibility breakage to fix performance and cross-platform behavior, I'll close this.
But as mentioned by @bruvzg, the feature might come back as independent of per pixel transparency with #39944.


[WIP] create local version of introspection service

Signed-off-by: Kathryn Baldauf<EMAIL_ADDRESS>

The code is looking good.  Can you tell us the usecase for this?

@crosbymichael this is part of work to prevent containerd from pulling an image for a snapshotter that doesn't support it by querying the introspection service for platforms the snapshotter supports. That will be made in a separate PR on approval of this one. This PR was just to break the pieces up in the event snapshotter support check is not approved for upstream or is more controversial of a change.

This looks good lets check CI

Codecov Report

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

@@           Coverage Diff           @@
##           master    #3903   +/-   ##
=======================================
  Coverage   42.47%   42.47%
=======================================
  Files         130      130
  Lines       14716    14716
=======================================
  Hits         6251     6251
  Misses       7544     7544
  Partials      921      921

Flag
Coverage Δ

#linux
45.86% <ø> (ø)
:arrow_up:

#windows
38% <ø> (ø)
:arrow_up:

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 97712c8...f3dfcae. Read the comment docs.

@AkihiroSuda is this good to merge?


The graphql:Context Init Method Should not have Input Parameters

Description:
The graphql:Context object currently has 3 input parameters; attributes, engine, and nextInterceptor. Except for the attributes parameter, others does not make sense.

The attributes parameter: This can be used to initialize the context object with a set of attributes. This too is redundant as the set method can be used to set attributes. However, it can be useful in some scenarios.
The engine parameter: This is not useful as the users cannot create a graphql:Engine object. So there's no point in passing this in the init method. Instead, it should be set internally, without exposing it to the public.
The nextInterceptor parameter: This is not useful as well since the value should be 0 every time we create a context object. It should be incremented internally when an interceptor is executed.

Given the above reasons, I would suggest to remove the engine and nextInterceptor parameters from the init method of the graphql:Context object.
This will not break any existing code since the parameters are not used and we have not advised to use them anyway.

Fixed with https://github.com/ballerina-platform/module-ballerina-graphql/pull/1938


Structure of the .d.ts file

Hi there,
I just updated my project to Typescript 1.8.5 and I upgraded ts-events from 2.0.0 to 3.1.1 at the same time. But I have a problem with the declaration file.
In the version 2.0.0 you used to 'wrap' the exports in a declare module. But in version 3.1.1 (npm only), you do not, and it is breaking my current implementation.
I made it work by manually modifying<EMAIL_ADDRESS>to:
declare module "ts-events" {
    export * from 'base-event';
    export * from 'sync-event';
    export * from 'queued-event';
    export * from 'async-event';
    export * from 'any-event';
    import { default as EventQueue } from 'EventQueue';
    export { default as EventQueue } from 'EventQueue';
    /**
     * The global event queue for QueuedEvents
     */
    export function queue(): EventQueue;
    /**
     * Convenience function, same as EventQueue.global().flushOnce().
     * Flushes the QueuedEvents, calling all events currently in the queue but not
     * any events put into the queue as a result of the flush.
     */
    export function flushOnce(): void;
    /**
     * Convenience function, same as EventQueue.global().flush().
     * Flushes the QueuedEvents, calling all handlers currently in the queue and those
     * put into the queue as a result of the flush.
     * @param maxRounds Optional, default 10. Number of iterations after which to throw an error because
     *                  the queue keeps filling up. Set to undefined or null to disable this.
     */
    export function flush(maxRounds?: number): void;
}

Which basically wraps up everything in a module, just like 2.0.0.
I use JSPM to handle dependencies, and typings to handle external module definitions (if available). At the top of my entry file I write:
+/// <reference path="../typings/browser.d.ts" />
+/// <reference<EMAIL_ADDRESS>/>

Am I doing something wrong ? Thanks for your input.

I'm so sorry, this issue has escaped my attention completely. I'm assuming this is no longer a problem for you. If it is, let me know.


[Future][Transforms-V2] llm trans support field projection

Purpose of this pull request
support for specifying which columns of incoming data should be used as input to the LLM, reducing token consumption and eliminating the impact of irrelevant data

Does this PR introduce any user-facing change?
no

How was this patch tested?
UT:  LLMRequestJsonTest#testOpenAIProjectionRequestJson
E2E: TestLLMIT#testLLMWithOpenAIColumns

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

Thanks @hawk9821


Clarify the "direction" field of block requests

I've discovered a stupidity: when we send a block request, the "direction" field (i.e. is the starting block of the request the highest block or the lowest block) is either 0 or 1.
However, the protobuf library that we use can't make the difference between "missing field" and "field that contains a 0".
So whenever we send an "ascending" block request, we are in fact not indicating any direction.
For this reason, I'm opening this PR to clarify that the default value should be interpreted as "Ascending".
It could instead be fixable by releasing a version that also interprets "2" as "Ascending", then later a version that sends "2" for "Ascending", but I don't think it's worth the effort.

Yes

bot merge

bot merge


No 'Access-Control-Allow-Origin'

There's not much explanation about No 'Access-Control-Allow-Origin'
i use a getjson on a exemple on Jsfiddle. it's working.
http://jsfiddle.net/ZjUgY/
i copy paste de json file and did my own with the same response on mocky.io.
but mine give me a No 'Access-Control-Allow-Origin'
But it's the exacte same json file.

You need to manually specify the header using advanced mode (with the warnings mentioned here https://github.com/studiodev/Mocky/issues/7#issuecomment-142230155) - just realised myself.

@gilleard what should I specify?

@daniloprates adding a custom header with a name of Access-Control-Allow-Origin and a value of * (or whatever hostname you need) will avoid the problem while you're using Mocky.
The warning is that obviously you'd need to replicate this in production, which may not be possible if it's a third-party API.

Hello,
CORS preflight requests are now automatically accepted by Mocky server. It's no longer required to add the Access-Control-Allow-Origin header.
Thanks for your feedback.

hi there's an issue with CORS preflight requests again

A few days ago I was using mocky with no problems, but now I get an error

CORS preflight requests are OK，but the request is not ok

Access to XMLHttpRequest at 'https://www.mocky.io/v2/5cc8019d300000980a055e76' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

even if i set Access-Control-Allow-Origin = * in header  , the error is still there

How to reproduce the problem，try the follow
https://ant.design/components/upload/#components-upload-demo-basic


High max latency in KVM with Linux 5.15

With Linux 5.15 there is a regression in the max latency measured with cyclictest inside a VM.
To Reproduce
Steps to reproduce the behavior:

Run cukinia in SEAPATH guest test image using Linux 5.15

Expected behavior
In our machines we have in the previous kernel (4.19) we have a max latency ~60 µs.
With Linux 5.15 on the same machines, the max latency is over 40 ms.
Additional context
With a tracing tool, we have discovered that the CPU core running the KVM thread (the VM)  enter into IDLE mode (a CPU mode where the CPU do nothing) when the latency spike appeared.
We asked the problem in the KVM mailing list: https://www.spinics.net/lists/kvm/msg264449.html.

problem solved: https://www.spinics.net/lists/linux-rt-users/msg25928.html


Linux Systray Icon and Notifications

The issue I am facing is that there is no systray icon when starting up plex-mpv-shim despite the app starting without issue.
I'm currently on Linux
OS Name: Pop!_OS 21.04
OS Type: 64 bit
GNOME Version: 3.38.5
I've installed plex-mpv-shim and it is working as expected when started via command line and has no issues.
I've installed both pystray and tkinter per the readme documentation successfully

I've ensured that the conf.json is being used on start up and that "enable_gui" is set to true

The only thing I notice is that after running for a moment an error appears which has a timeout to StartServiceByName in org.freedesktop.Notifications.
Process STrayProcess-1:
Traceback (most recent call last):
  File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/local/lib/python3.9/dist-packages/plex_mpv_shim/gui_mgr.py", line 246, in run
    icon.run(setup=setup)
  File "/usr/local/lib/python3.9/dist-packages/pystray/_base.py", line 192, in run
    self._run()
  File "/usr/local/lib/python3.9/dist-packages/pystray/_util/gtk.py", line 64, in _run
    self._notifier = notify_dbus.Notifier()
  File "/usr/local/lib/python3.9/dist-packages/pystray/_util/notify_dbus.py", line 40, in __init__
    self._notify = Gio.DBusProxy.new_sync(
gi.repository.GLib.GError: g-io-error-quark: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached (24)

This seems like the obvious culprit and my best guess is something wrong with the notification daemon in GNOME. Other notifications are working without issue, so I'm not sure where to go from here.

Experiencing this on KDE Plasma (Wayland). Was able to work around it by running env WAYLAND_DISPLAY= plex-mpv-shim. It looks like the system tray is broken when using Wayland so specifying an empty wayland display causes it to fall back to X11/XWayland which works.
Specs:
Plex MPV Shim Version: 1.11.0-1
Operating System: Arch Linux
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X 16-Core Processor
Memory: 58.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics


selector support

Does anyone like the idea of taking a screenshot of a specific DOM element? I want this feature to detect changes of webpages, so I personally tried it: https://github.com/jooohn/rendertron/commit/bcd2a62efa27e242801881f19c870b3b7b0aeb53
You can try this online:
https://rendertron-selector.herokuapp.com/
curl -X POST -H 'Content-type:application/json' https://rendertron-selector.herokuapp.com/screenshot/https://example.com -d '{"selector":"h1"}'

the result:

I'd like to here your opinion :)

That is a really neat feature, I'd love to see a PR for this :shipit:


here comes all the extra scripts from the x84 repo.

Please start over -- you've somehow included one of my initial commits in yours, and so there is a merge conflict. Use a branch whenever possible (rather than 'master').

Hope the scripts will be available soon ...

I think that these should be hosted outside of this repo -- this repo is more or less just a "phone book" that points to other resources. We could host them one repo per script, or one repo for all of them, or even post each of them as gists and link to them that way. At any rate, this repo will not be storing x84 code.

I don't get it - if this repo is not supposed to contain 3rd party addons/extras etc. then why create it in the first place?
I agree that extras should be moved outside the official x/84 repo but then the question is: where to put them?
If no one wants these scripts anyway, which is the impression I have, then just tell us please.
Am 5. Februar 2015 16:38:23 MEZ, schrieb haliphax<EMAIL_ADDRESS>
I think that these should be hosted outside of this repo -- this repo
is more or less just a "phone book" that points to other resources. We
could host them one repo per script, or one repo for all of them, or
even post each of them as gists and link to them that way. At any rate,
this repo will not be storing x84 code.

Reply to this email directly or view it on GitHub:
https://github.com/haliphax/x84-extras/pull/1#issuecomment-73066575

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

I think that I thoroughly explained that in my last comment. Scripts should have their own repos, or live in gists -- that way, I'm not responsible for keeping every last one of them up to date. Instead, the authors of those scripts will keep them up to date. This is just a collection of links that point to extra x/84 mods, apps, and resources.
If we posted all of everyone's extra python code here, you wouldn't easily be able to cherry pick the files you wanted using git on the command line. Also, it would add a ton of extra (and double) work for me to maintain all of that stuff. You would make a change, then make a pull request, then I would merge it, then you would make another change, etc. etc. etc.


path error on code runner extension for C/C++

code-server version: 0.2 alpha
OS Version: Mac 10.14.3
Description
When I'd installed the extensions C/C++ and Code Runner, and ran the C++ code with Code Runner, an error /bin/sh 1:g++: not found was raised. However, when I copied the command cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core to the terminal and ran it, it worked.
Steps to Reproduce

Install the Extensions C/C++ v0.21.0 and Code Runner v0.9.7
New Project and create a simple cpp file with a main function
Click the > button provided by the Code Runner
An error shown in the output-code window as follows:

[Running] cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core
/bin/sh: 1: g++: not found
[Done] exited with code=127 in 0.044 seconds

Copy the command cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core to the terminal window and run it, and everything is OK

It's possible that code-server can't see you have g++ installed. How did you install it?

It's possible that code-server can't see you have g++ installed. How did you install it?

I created the C++ project just on the ide.coder.com website. I didn't install gcc or g++, however in the environment provided by the code-server, I could see the OS (linux), memory (1GB) and disk (3GB). I found the g++ installed in the path /coder/bin/g++ and I could run it by typing the command inside the terminal of the vscode, while I couldn't run it by clicking the > button provided by the Code Runner extension since the vscode couldn't find the g++ command.

Closing as it seems this is a path issue. I might be wrong though, feel free to leave a response!

code-server version: 0.2 alpha
OS Version: Mac 10.14.3
Description
When I'd installed the extensions C/C++ and Code Runner, and ran the C++ code with Code Runner, an error /bin/sh 1:g++: not found was raised. However, when I copied the command cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core to the terminal and ran it, it worked.
Steps to Reproduce

Install the Extensions C/C++ v0.21.0 and Code Runner v0.9.7
New Project and create a simple cpp file with a main function
Click the > button provided by the Code Runner
An error shown in the output-code window as follows:

[Running] cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core
/bin/sh: 1: g++: not found
[Done] exited with code=127 in 0.044 seconds

Copy the command cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core to the terminal window and run it, and everything is OK

code-server version: 0.2 alpha
OS Version: Mac 10.14.3
Description
When I'd installed the extensions C/C++ and Code Runner, and ran the C++ code with Code Runner, an error /bin/sh 1:g++: not found was raised. However, when I copied the command cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core to the terminal and ran it, it worked.
Steps to Reproduce

Install the Extensions C/C++ v0.21.0 and Code Runner v0.9.7
New Project and create a simple cpp file with a main function
Click the > button provided by the Code Runner
An error shown in the output-code window as follows:

[Running] cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core
/bin/sh: 1: g++: not found
[Done] exited with code=127 in 0.044 seconds

Copy the command cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core to the terminal window and run it, and everything is OK

Yeah I am Facing This Same Error after that ### I am Copied My Whole code and Create a new file and then Paste That code here and Now I am Compile with Code-Runner Extension it will Compile For me, I don't know Why Happening With this Code Runner Extension, But I am Trying this Check This Method in Your PC it will Work?

Hi @JayGhughriwala can you please open a separate issue (reference this issue) and we can look into it?  Thank you!

Yeah


[escaping-literal-quotes-in-strings] Still not working

Challenge escaping-literal-quotes-in-strings has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

var myStr = "I am a \"double quoted\" string inside \"double quotes\"."; // Change this line

![escaping literal quotes](https://cloud.githubusercontent.com/assets/21290175/18400642/cbfdd8dc-76a4-11e6-9b20-cd3b661daf4a.jpg)

It passes the _Variable myStr should contain the string: I am a "double quoted" string inside "double quotes".__
But fails the _You should use two double quotes (") and four escaped double quotes (\")._

+1

I have the same issue

Closed as duplicate of #10258. Thanks for submitting!

+1


Fix TS Imports by recommending folks add the .ts extension to their import paths

Adds a test for importing TS from other TS, and fixes the blueprint to allow for that use case.

Previous PR Title: Create failing test for the situation which needs rollup/plugin-resolve
I'd previously added rollup-plugin node-resolve, because of past errors, but forgot the situation in which those errors occur.
In https://github.com/embroider-build/addon-blueprint/pull/155, we removed the node resolve plugin because we couldn't generate components.
But when we import TS files from other TS files, this is when we need node-resolve.
But we can't have both!
This PR adds a failing test for the situation (a common one) where you import TS files from other TS files (especially entrypoint files)

Ready for review


Revert "ONEM-23136 Export symbols related to module name (#857)"

This reverts commit f3bb3ccdf055b3b82bbb17ea8bf04b30c9754c35.

@mikolaj-staworzynski-red I alreeady reverted it with a few additions, as your pull did make me aware of some other issues. So no need to merge this pull request anymore. Sorry for the inconvenience!


Poor performance for embedding layer with GPU ?

Recently I tried to rewrite my TF model under tensorpack framework.But when I transfered a NLP model(with a shape of 400000 * 256 embedding layer), GPU utility is only 30%~40%.Before I rewrite the code, it could be 90%+.
I found the problem: some operation of embedding layer has been placed on CPU while it was placed on GPU before.
I tried to specific the device using tf.device API, like this
        with tf.device('/gpu:0'):             user_embed = embedding(uid, 100001, hid_size, name='user_embedding')             title_embed = embedding(title, 400001, hid_size, name='unigram_embedding')
but

how can I solve the performance problem with large embedding layer?

additional infomation:

https://github.com/ppwwyyxx/tensorpack/blob/a3cc3a18c492ac16e6d678e1f26c076c3ae5f70f/tensorpack/train/tower.py#L185
When I set colocate_gradients_with_ops = False, It become faster as it was.
I think this config make embedding layer poor performance.
Any advice on this problem?

Maybe colocate_gradients_with_ops is not a good option. I saw that tensorflow/benchmarks didn't set this option either, so I was considering removing it.

The option was kept unchanged because I found it still helps my vision models. But now you should be able to set it by trainer.COLOCATE_GRADIENTS_WITH_OPS=False, before building the graph.

It worked as expected, now I can used SingleCostTrainer. COLOCATE_GRADIENTS_WITH_OPS=False to set it:)


all navigation module assigns random destination using the same seed

This makes all traffic vehicles choose the same destination all the time. However, I am not sure if setting random seed from base_vehicle will cause the system loss reproducibility:
(note that there previously the navigation module grabs global random seed to pick up the destination, instead of accepting a int as input.)

Also, I notice that in TrafficManager, when creating the vehicle there is no random seed passing in.

Another issue:
    @staticmethod
    def auto_assign_task(map, current_lane_index, final_road_node=None, random_seed=None):
        # TODO we will assign the route in the task manager in the future
        start_road_node = current_lane_index[0]
        if start_road_node is None:
            start_road_node = FirstPGBlock.NODE_1
        if final_road_node is None:
            current_road_negative = Road(*current_lane_index[:-1]).is_negative_road()
            # choose first block when born on negative road
            block = map.blocks[0] if current_road_negative else map.blocks[-1]
            sockets = block.get_socket_list()
            socket = get_np_random(random_seed).choice(sockets)
            while True:
                if not socket.is_socket_node(start_road_node) or len(sockets) == 1:
                    break
                else:
                    sockets.remove(socket)
                    if len(sockets) == 0:
                        raise ValueError("Can not set a destination!")
            # choose negative road end node when current road is negative road
            final_road_node = socket.negative_road.end_node if current_road_negative else socket.positive_road.end_node
        return final_road_node

In the line about, the sockets will only belong to the first block or the last block. It is impossible to pick a socket that is in the same block.

Do you observe that all vehicles go to the same destination if the last block is an intersection? It is obviously not what we expect and is a bug.
Random seed will be auto-generate and assigned to the object generated with engine.spawn
Yes. It is expected. You can find the blocks after the current block, so you can get sockets of not only frst/last blocks as potential destination.


Selecting a spell library and dictionary needs a rewrite

I don't know how anyone can use it, I cannot and I wrote it !
Better docs on how a user can get get a suitable library and dictionary would be good too.
Davo

OK, done, will require some testing.

tested and found good.


feat(client): KZG point evaluation accelerated precompile

Overview
Adds an acclerated precompile for KZG point evaluation to the client program.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#344  👈
#343
#342
#340
#339
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @clabby and the rest of your teammates on  Graphite

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.8%. Comparing base (d62ba67) to head (94630ff).

Additional details and impacted files

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

Merge activity

Jun 28, 3:17 PM EDT: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.8%. Comparing base (03972c8) to head (444b5e1).

Additional details and impacted files

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


Default width in LineString Vis is coerced to a sting

I believe that this line in the linestring vis has the same problem as reported in #72
https://github.com/mapbox/mapboxgl-jupyter/blob/master/mapboxgl/templates/linestring.html#L61
specifically

Thanks for the bug!  Yes, this is the same bug.  Fix is to remove the double quotes in the linestring template around {{defaultWidth }}.

Thanks @ryanbaumann ... i wasn't sure if there were other aspects of #74 that were also applicable otherwise I would have just raised a PR... I'll do that now