alternative storage (sqlite)

There should be an option to change storage approach.
Hawk.init(context)
   .setStorage(new SqliteStorage())

Nice idea :-)

added in v1.17


[enhancement] Development and production user interfaces

Description
Currently the user interface uses some tools that improve the user experience, but there are more we can add. it would be nice to try different lab extensions before putting the into production. I am proposing at least two user interface images: the current prod version and a work in progress environment that we can use to add new features and test.
Value/benefit
currently, we can't change the user experience without impacting everyone. another development image would give us the freedom to provide an enhanced user interface without effecting the current services. i'd like to experiment with some of the collaborative tools we serve with hourhaus
this request builds off of ideas in #903 with adding different user interfaces to the qhub experience.

The fastest and easiest way I see to do so, is forking and deploying your own forks, as I did for some of my PRs. By having a personal deployment, we're free to experiment and research without any limitation. The drawback is that it implies a cost for the cloud provider.
Alternatively, we could imagine a dev.qhub.dev or alpha.qhub.dev or whatever, with its specific deploy repo, that we could use as a sandbox. The drawback here is the risk of collision if too much of us experiment at the same time.
I hope I understood the question right :)

yea. i'm not going to find the time to setup my own qhub.
i am thinking that there qhub.dev/alpha or qhub.dev/sandbox. these endpoints would deploy a different on a different endpoint that allows for experimentation on production data. in this conformation, early adopters can try out new features and fall back the blessed user interface when problems arise.

This can be part of a move to having JupyterLab images as more plug-and-play so you can easily switch in different images. Perhaps some of these ideas will help with this #1174 #1145
Ideally, people can work on JupyterLab config without understanding Docker at all.

We'll need to open an RFD to discuss the staging/production workflow.

JLab 4 allows users to install extensions by conda environments and with the addition of jhub-apps this is now possible in Nebari.


[Request] Champion: Zoe

When possible, please work on Zoe lights. She is the champion I mainly play, so that would be wonderful! The type of coding needed to animate is something I am not skilled in or I would help with a starter file.
If suggestions are needed as to what the animations should look like, please let me know! Don't want to overstep on the creative position, but I would be happy to help anyway possible!
Thank you!

Please do help this would be fun to work on as she a recast champion in most of her abilities.  any ideas will help speed the process on animation process.
Q-
W-
E-
R-


mod_md is not compatible with mod_vhost_alias

With mod_vhost_alias no specific virtualhost definitions needed, you can configure a single one like:
VirtualDocumentRoot "/var/www/%0/htdocs"
and the module tries to resolve any incoming requests to path, like:
foo.bar.net/file.html -> /var/www/foo.bar.net/htdocs/file.html
example.com/any.php -> /var/www/example.com/htdocs/any.php
etc.
but mod_md requires specific MDomain definitions and does not work with mod_vhost_alias dynamically configured virtual hosts.
I think there are no any technical detail which makes it impossible to solve this issue.

I would say this is an unsupported configuration for mod_md. I see no compatibility issue here, since I assume that the construct continues to work. It just does not work together.
I see no direct way to fix this, since for an MDomain there needs to be at least one distinguishing ServerName involved.

Is it difficult to accomplish to work without MDomain/ServerName set or with "MDomain *" (or something like that) for dynamically acquire certificate for every host/domain when apache get an incoming request for a new (previously unknown) one?

That sounds like the use case for a wildcard certificate when you have a (almost) unlimited number of subdomains to serve. That can be obtained from Let's Encrypt, but not via mod_md.
However, if the list of hostnames is known in advance, you can add them all to an MDomainSet and get one certificate matching all of those.

I thinking on mass hosting where not just subdomains but different domains used frequently. With mod_vhost_alias no apache reconfiguration and restart needed. It is served dynamically with any domains and subdomains.

Traefik proxy have an "onDemand" option which does what i looking for:
"This configuration allows generating a Let's Encrypt certificate (thanks to HTTP-01 challenge) during the first HTTPS request on a new domain."
https://docs.traefik.io/user-guide/examples/#ondemand-option-with-http-challenge
I would be very happy with a similar feature in mod_md. :)
What prerequisites are needed for such a development?

Prerequisites? A heap ton of gold always helps...
Seriously: this feature seems to make a server vulnerable to the following exploit:
for i in (0...LetsEncryptDomainLimit+1):
https_request_to '%d.exploited.domain' % i
and from that on, Let's Encrypt will not longer issue certificates for your domain.

I think this limit (and other rate limits) can be managed too. The mod_md can do checks and restrictions to stop malicious certificate generations which tries to exceed the Let's Encrypt limits.
On renewal (or instead of renewal) the mod_md can do optimizations of certificate requests to generate less separate certificates "in the future". Like merging multiple hosts and domains to one certificate (Multi-domain SAN certificates allows for up to 100 names per certificate), etc.
Let's Encrypt rate limits are documented very well so these numbers can be used for mod_md restrictions too:
https://letsencrypt.org/docs/rate-limits/
About heap ton of gold: i can offer some kind of donation if it helps. And maybe someone else is interested with this feature too... :)

No intention to implement this.

No intention to implement this.


Master to Live. New call data cmdlets plus fixes. See commits for details.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/mail-flow/Get-MessageTrackingLog.md
:white_check_mark:Succeeded
View (exchange-ps)

skype/skype-ps/skype/Get-CsCloudCallDataConnector.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Get-CsCloudCallDataConnectorConfiguration.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/New-CsCloudCallDataConnectorConfiguration.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCloudCallDataConnector.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsCloudCallDataConnectorConfiguration.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


fix: don't call logging.basicConfig

Related: #303
supabase-community/supabase-py#532
The call to basicConfig on realtime-py was messing up the config for the root logger. The docs suggest using getLogger and using a specific logger instance to make logging calls in libraries.

Could this be merged? It fixes issues, where supabase is modifing the streamhandler of my other modules loggers by using basicConfig instead of getLogger.
How to set up logging

Hi, this was done along with https://github.com/supabase/realtime-py/pull/178
So, I'll close this for now


Improved fonts readablity in title,paragraph and for the button and made the videos section responsive in yoga therapy page

Changed the background image and font, changed the 'more assans' button UI and made the videos section responsive
Issue:https://github.com/Susmita-Dey/Sukoon/issues/267
Website on which I worked:https://sukoon-stress-free.netlify.app/html/yogatherapy.html

Ok👍

 This section doesn't looks good. Also, the previous image was good. Keep the previous background.
__        Summary: 🛠 This code needs a fix

Ok👍

I am closing this pr as I am not able to m

 This section doesn't looks good. Also, the previous image was good. Keep the previous background.
__        Summary: 🛠 This code needs a fix

I am closing this pr as I am not able to resolve the merge conflicts someone has recently made commits to the website that are causing large diffs from my code will make a new pr soon


Remove jsx-a11y/click-events-have-key-events and jsx-a11y/no-static-element-interactions disables

Closes https://github.com/github/primer/issues/2793
Problem
In the treeView component, the structure looks like
li(treeItem) [keydown, focus, blur]
- div(container) [onClick, onAuxClick]
-- div(levelIndicator)
-- div(subtree chevron) [onClick]
-- content

Right now we have multipleonClick events on div tags which are non-interactive elements with no treeitem role on them as well. This needs to be managed using the eslint disables as mentioned in the issue title
Solution
My solution is to convert above to below structure and move all the event handlers to the treeitem role li tag.
li(treeItem) [keydown, focus, blur, onClick, onAuxClick]
- div(container)
-- div(levelIndicator)
-- div(subtree chevron)
-- content

Rollout strategy

[x] Patch release
[ ] Minor release
[ ] Major release; if selected, include a written rollout or migration plan

Testing & Reviewing
I have tested this in storybook and it seems to unproblematic.
Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Added/updated previews (Storybook)
[ ] Changes are SSR compatible
[x] Tested in Chrome
[x] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@pksjce The controlled story is a bit broken, i'm not sure if that's an issue in the component or just the story 🤔
https://github.com/primer/react/assets/1863771/f22603e3-7b3b-4926-892e-a1787c935515
Tested this link: https://primer-109b1de022-13348165.drafts.github.io/storybook/?path=/story/components-treeview-features--controlled

Completely optional/bonus: This component is very detailed, should we write some tests instead of manual tests to increase confidence in the refactor?

Agree with Sid on this one. TreeView is a complex beast, and I'd feel a lot less scared making updates if we had more thorough tests.

@siddharthkp - You were right about the controlled component subtree selection bug. Thats exactly what this code does 😓
Upon revert it got fixed.
This component could definitely use a lot more tests for these edge cases.

@siddharthkp - I made a commit fixing the issue along with the relevant test case. If you remove the stopPropagation, you can see that the new test fails. The component does have a ton of tests but it was lacking one for selection of child elements.


IPv6 cluster IP not routable from external to the cluster

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
We have a Cilium on-prem setup with DSR mode with native routing. Initially we had only IPv4, both anycast IP and pod cidrs are advertised using BGP.  Now I am testing IPv6 on the same LB setup with DSR native routing. I enabled IPv6 on the cilium end but facing an issue. For IPv4 used external svc IP for the routing, for IPv6 using Cluster IP itself.
The issue is: for IPv6 Service I can curl to the IP from LB node and also on the node where the pod nginx runs. But from outside cluster it is not working. v4 is fine.
cat nginx-ipv61-service.yaml
apiVersion: v1
kind: Service
metadata:
  name: nginx-ipv61-service
  namespace: kube-test
  labels:
    app: nginx-ipv6
spec:
  ipFamily: IPv6
  selector:
    app: nginx-ipv6
  ports:
    - protocol: TCP
      port: 80
      name: http

$ kubectl  get svc -o wide -n kube-test nginx-ipv61-service
NAME                  TYPE        CLUSTER-IP               EXTERNAL-IP   PORT(S)   AGE     SELECTOR
nginx-ipv61-service   ClusterIP   2001:4998:59:9ff::c281   <none>        80/TCP    5h10m   app=nginx-ipv6

kubenode-lb2 > curl -g -6 [2001:4998:59:9ff::c281]
<!DOCTYPE html>

root@kubenode-lb2:/home/cilium# cilium status --verbose
KVStore:                Ok   Disabled
Kubernetes:             Ok   1.19 (v1.19.16) [linux/amd64]
Kubernetes APIs:        ["cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "core/v1::Namespace", "core/v1::Node", "core/v1::Pods", "core/v1::Service", "discovery/v1beta1::EndpointSlice", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement:   Strict   [ens9 <IP_ADDRESS> 2001:4998:59:8b1::7777 (Direct Routing)]
Cilium:                 Ok   1.10.1 (v1.10.1-e6f34c3)
NodeMonitor:            Listening for events on 96 CPUs with 64x4096 of shared memory
Cilium health daemon:   Ok
IPAM:                   IPv4: 1/254 allocated from <IP_ADDRESS>/24, IPv6: 1/65534 allocated from 2001:db8:42::/112
Allocated addresses:
  <IP_ADDRESS> (router)
  2001:db8:42::4f51 (router)
BandwidthManager:       Disabled
Host Routing:           Legacy
Masquerading:           Disabled
Clock Source for BPF:   ktime
Controller Status:      14/15 healthy
  Name                                  Last success   Last error   Count   Message
  bpf-map-sync-cilium_tunnel_map        never          16s ago      55      12 map sync errors
  dns-garbage-collector-job             12s ago        never        0       no error
  endpoint-2310-regeneration-recovery   never          never        0       no error
  endpoint-gc                           13s ago        never        0       no error
  k8s-heartbeat                         12s ago        never        0       no error
  mark-k8s-node-as-available            24m59s ago     never        0       no error
  metricsmap-bpf-prom-sync              7s ago         never        0       no error
  neighbor-table-refresh                4m59s ago      never        0       no error
  restoring-ep-identity (2310)          24m59s ago     never        0       no error
  sync-endpoints-and-host-ips           59s ago        never        0       no error
  sync-lb-maps-with-k8s-services        24m59s ago     never        0       no error
  sync-policymap-2310                   49s ago        never        0       no error
  sync-to-k8s-ciliumendpoint (2310)     9s ago         never        0       no error
  template-dir-watcher                  never          never        0       no error
  update-k8s-node-annotations           25m11s ago     never        0       no error
Proxy Status:   OK, ip <IP_ADDRESS>, 0 redirects active on ports 10000-20000
Hubble:         Ok   Current/Max Flows: 211/4095 (5.15%), Flows/s: 0.01   Metrics: Ok
KubeProxyReplacement Details:
  Status:                Strict
  Socket LB Protocols:   TCP, UDP
  Devices:               ens9 <IP_ADDRESS> 2001:4998:59:8b1::7777 (Direct Routing)
  Mode:                  DSR
  Backend Selection:     Maglev (Table Size: 16381)
  Session Affinity:      Enabled
  XDP Acceleration:      Native
  Services:
  - ClusterIP:      Enabled
  - NodePort:       Enabled (Range: 30000-32767)
  - LoadBalancer:   Enabled
  - externalIPs:    Enabled
  - HostPort:       Enabled
BPF Maps:   dynamic sizing: on (ratio: 0.002500)
  Name                          Size
  Non-TCP connection tracking   1024
  TCP connection tracking       1024
  Endpoint policy               65535
  Events                        96
  IP cache                      512000
  IP masquerading agent         16384
  IPv4 fragmentation            8192
  IPv4 service                  65536
  IPv6 service                  65536
  IPv4 service backend          65536
  IPv6 service backend          65536
  IPv4 service reverse NAT      65536
  IPv6 service reverse NAT      65536
  Metrics                       1024
  NAT                           1365
  Neighbor table                1365
  Global policy                 16384
  Per endpoint policy           65536
  Session affinity              65536
  Signal                        96
  Sockmap                       65535
  Sock reverse NAT              1772118
  Tunnel                        65536

seeing this error, not sure if it is relevant
  bpf-map-sync-cilium_tunnel_map        never          16s ago      55      12 map sync errors

any ideas how to debug?
root@kubenode-lb2:/home/cilium# cilium monitor --type drop
Listening for events on 96 CPUs with 64x4096 of shared memory
Press Ctrl-C to quit
level=info msg="Initializing dissection cache..." subsys=monitor
xx drop (Service backend not found) flow 0x0 to endpoint 0, identity unknown->unknown: [2001:4998:58:48b1::100c]:35837 -> [2001:4998:59:9ff::c281]:80 tcp SYN
xx drop (Service backend not found) flow 0x0 to endpoint 0, identity unknown->unknown: [2001:4998:58:48b1::100c]:35837 -> [2001:4998:59:9ff::c281]:80 tcp SYN
xx drop (Service backend not found) flow 0x0 to endpoint 0, identity unknown->unknown: [2001:4998:58:48b1::100c]:35837 -> [2001:4998:59:9ff::c281]:80 tcp SYN
xx drop (Service backend not found) flow 0x0 to endpoint 0, identity unknown->unknown: [2001:4998:58:48b1::100c]:35837 -> [2001:4998:59:9ff::c281]:80 tcp SYN
xx drop (Service backend not found) flow 0x0 to endpoint 0, identity unknown->unknown: [2001:4998:58:48b1::100c]:35837 -> [2001:4998:59:9ff::c281]:80 tcp SYN
xx drop (Service backend not found) flow 0x0 to endpoint 0, identity unknown->unknown: [2001:4998:58:48b1::100c]:35837 -> [2001:4998:59:9ff::c281]:80 tcp SY

also noticed, i see endpoint list on the node where pod runs
kubenode501:/home/cilium# cilium endpoint list |grep bb34
272        Disabled           Disabled          49667      k8s:app=nginx-ipv6                                                       2001:4998:59:9fe::bb34   <IP_ADDRESS>   ready

but on lb node, no such endpoint
kubenode-lb2:/home/cilium# cilium endpoint list |grep bb34
Cilium Version
1.10.1
Kernel Version
4.18.0-305.19.1.el8_4.x86_64
Kubernetes Version
v1.19.16
Sysdump
No response
Relevant log output
No response
Anything else?
Not sure if it related to https://github.com/cilium/cilium/issues/16966
Code of Conduct

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

In the same above setting, i created another service with ipv4 (as externalIP) which I could reach from external
apiVersion: v1
kind: Service
metadata:
  name: nginx-ipv41-service
  namespace: kube-test
  labels:
    app: nginx-ipv6
spec:
  externalIPs:
  - <externalpublicip>
  ipFamily: IPv4
  selector:
    app: nginx-ipv6
  ports:
    - protocol: TCP
      port: 80
      name: http

for IPv6 using Cluster IP

This requires https://github.com/cilium/cilium/pull/15650. Please reopen, if the issue persists.

Thank you @brb I tested with that flag, it is working but I had to disable maglev as well
| bpf-lb-external-clusterip | node-port-acceleration: native | bpf-lb-algorithm: maglev | external access to cluster ip |
| disabled | enabled | enabled  | not working |
| enabled | disabled | disabled  | working |
| enabled | enabled | disabled  | working |
| enabled | enabled | enabled  |  not working |

I will follow https://github.com/cilium/cilium/issues/16966 as you mentioned maglev table is not populated for this case.

This will be soon resolved by https://github.com/cilium/cilium/pull/18336.

Hi @brb,
Seems like that PR is merged missed 1.10.8, do you know will there be any patch release on 1.10.x that would get that fix? Seems its not in 1.11.2 as well

@vnandha Thanks for pinging. This will be backported to v1.11, but not to v1.10.

Thank you


Wagtail editor crashes in preview

TypeError at /admin/pages/2361/edit/preview/
'<' not supported between instances of 'RichText' and 'RichText'

Also occurred at /admin/pages/2361/edit

Closing as unreproducable.


ViewLength find in last release more offenses

ViewLength linter find offenses that were not find before when updating from 0.24.0 to 0.26.0. It is completely fine as there is actually an offense and it should complain, but in the release notes there is nothing about this linter. Was something modified there? :confused:

Sorry, I added this in https://github.com/brigade/haml-lint/pull/237 but neglected to update the changelog, and guess @trotzig didn't notice when merging.


Add-WordTable missing 1st row in Array of PSCustomObject

When I was following the Add-WordTable examples, and trying to figure out how to use my own array as input, I noticed a bug.
Since your 1st row (Row 0) is for the header, you forgot to increment the corresponding index when pulling values from the array into the table.
So in the example code below, the table will be missing the row for "Joe", Cat Lover, 32.
(Also, is there any way to specify an order to the columns?)
$myitems = @(
    [pscustomobject]@{name="Joe"; age=32; info="Cat lover"},
    [pscustomobject]@{name="Sue"; age=29; info="Dog lover"},
    [pscustomobject]@{name="Jason"; age=42; info="Food lover"}
)

Import-Module PSWriteWord #-Force

$FilePath = "C:\2\PSWriteWord-x.docx"
$WordDocument = New-WordDocument $FilePath
Add-WordTable -WordDocument $WordDocument -Table $myitems -Design 'ColorfulList' #-Verbose
Save-WordDocument $WordDocument

Thanks for reporting this. Will fix. I have also started working on tables a bit more to add more functionality to it and support multiple cases. I estimate the dev version should be today later on.

Should be fixed. Please get new version. I've also added your example into examples (hope you don't mind). I'm using all examples as part of testing if the output is as expected. I had to change few things in new version to support other stuff so -Table is now -DataTable and -Table has other meaning. There are dozen other options now as well. Let me know how it goes.

As for the order you need to use [ordered]. Otherwise you may get different results (as seen in one of the examples).

Thanks so much for fixing this so fast :)
Your PS Module is simply amazing, and I love it!
And of course, I don't mind you adding my examples to yours. Also, thanks for the tip of using [ordered] when defining my array. It does exactly what I needed.
Is it intentional that -FontSize is not a valid parameter on the text inside the table? I wanted to double check that I didn't overlook something before adding that as a feature request.

Make a feature request and I'll try to add it.


FDS-653 Dashboard as pdf report export feature

Checklist for raising a PR

[ ] Gone through UX documnetation for adding new features.
[ ] All necessary unit tests covered.
[ ] Required comments added for generating component manifest file? you can find details here
[ ] Did you check the contributing doc?
[ ] Did you check the existing issues for similar queries?

Describe your PR
Add additional question here

[ ] Yes
[ ] No
[ ] NA

@vikas-cldcvr One thing to keep in mind, all pdfs generated like this are rendered as images. No text selection or actions are possible. This is why I aborted the approach.


Ability to remove files that are not in hashtable

Hello, i found a idea for this project, as somekind game modpack installer. Its working great, but i miss feature for deleting files
For example, delete all files, thats are not in hashtable, becouse sometimes update contains deletions too :)

Working on it. Should arrive in 0.0.2

Changes are pushed into the main branch
Clone the repo or pick up the artifact from here - should have precompiled executable
I still need to append these changes into the readme but expect a full release in about a week


Switch to enum for file location

Uses enum for file location. Pull request on mobie repo too for this.
For https://github.com/mobie/mobie-viewer-fiji/issues/135

Fixed! Thanks for pointing out .valueOf - still getting to grips with java enums

still getting to grips with java enums

me too :)


No Disc Number Tag

On albums with more than one Disc, (e.g. this). It's necessary to include the disc number as metadata to avoid confusion, which does not occur.

Please follow our issue templates when reporting bugs or requesting features.
The devs put in hours of effort, and you should show enough respect to put in a few minutes & follow the template.
Following the template also provides us all the information we need, without having to ask for it.
Closing. Please create a new issue following the template if you would like assistance.


Excel complains about corrupted XLSX files?

Hi, this issue is a sort of FAQ or placeholder for others experiencing Excel complaining about corrupted XLSX files and are looking for that problem here.
This is not related to the problem on windows that was fixed with release 4.7.0 (see #87, #85, #90 and #97).
I implemented a simple XLSX-export (or ODS) and Excel kept complaining even with the basic examples from the docs. 7-zip and LibreOffice didn't complain and could open the generated files whatsoever. After some lost hair it turned out that I simply forgot an exit; statement after $writer->close(); so that the zipped file ended with html code from the page containing the export.
A simple example would be:
<?php
if (isset($_GET['export'])) {
    $writer = new OpenSpout\Writer\XLSX\Writer();
    $writer->openToBrowser('example.xlsx');

    $writer->addRow(OpenSpout\Common\Entity\Row::fromValues([
        'foo',
        'bar',
    ]));

    // this sends the file to the browser, but does not terminate the script
    $writer->close();

    // so don't forget this, otherwise the html below is attached to the exported file
    // or prevent other output after sending the file in any other way you like
    exit;
}
?>
<!DOCTYPE html>

    <title>export example</title>

    XLSX export

P.S. Other libs, that send their created files directly to the browser, just do that exit afterwards on their own, terminating the whole script. I don't want to suggest that behavior for openspout, as from my point of view leaving that decision to the consuming party is the correct and humble way. But maybe the code examples in the docs could use that exit when openToBrowser() is used so that oblivious devs don't forget it.

But maybe the code examples in the docs could use that exit when openToBrowser() is used so that oblivious devs don't forget it.

Can you open a PR please?

@Slamdunk OK, PR is in #103


rm: -v -r should match GNU's output

with rm from GNU:
$ mkdir a
$ rm -rf -v a
removed directory 'a'

With the Rust implementation:
$ mkdir a
$ rm -rf -v a
removed 'a'

I looked at it some more.
If rm -rf is called on a directory, we get handle_dir -> remove_dir_all
If rm -rfi is called on a directory, we get handle_dir -> remove_dir
However, the comment L249-250, indicates that remove_dir_all  is only used for windows compatibility.
// we need the extra crate because apparently fs::remove_dir_all() does not function
// correctly on Windows

I think the stdout for -v should be fixed in remove_dir.
To me it looks like not calling remove_dir with flag -f is a bug.
To keep the stdout between windows systems identical to non windows system, there should probably be a cfg(windows) in remove_dir and the remove_dir_all should be moved from handle_dir to remove_dir.

@maintainers, is this the way to go?

This was fixed in #1839 and can be closed.

Another one that can be closed apparently :)

thanks
please contact me<EMAIL_ADDRESS>if you are looking for good first bug!


IonicBootstrap is not getting imported from ionic-angular

From @Mukul19jain on October 18, 2016 11:52
I just started a new ionic 2 app using start command. Then I tried to import "ionicBoostrap" from ionic-angular and it gave me typescript error that "module ionic-angular has no exported member ionicBootstrap". The thing is that I need to implement ng2-translate in my project and I am following this ionic 2' documentation:
https://ionicframework.com/docs/v2/resources/ng2-translate/
Can anyone help me out here that why I can't use ionicBootstrap the way they have used in official documentation in above link?
Thanks
Copied from original issue: driftyco/ionic#8771

The docs needs to be updated.

Yep, working on this now. Ill be submitting a pr here soon.

PR for this issue https://github.com/driftyco/ionic-site/pull/843

Closing as this was fixed in the above linked PR.


feat: added type declarations

Issue:
Projects that use typescript won't be able to have any strong type validations for multer-s3
Solution:

Added type declarations to the multer-s3 for projects that use typescript.

multer-s3 v2 types are available via "@types/multer-s3": "^2.7.12"
multer-s3 v3 types are available via "@types/multer-s3": "^3.0.0"
It would be nice to define the types directly in this project but adding both AWS SDK dependencies at the same time negates the benefit of the modular v3 SDK. Could the V2 types be added to 2.x.x and V3 types be added to 3.x.x branches?


MODLD-616: [Tech Debt] ResourceControllerITBase is too big

Resolve new Sonar issue before merging please


AssetNotPrecompiled exception

Sprockets::Rails::Helper::AssetNotPrecompiled in RequestController#show

Asset was not declared to be precompiled in production. Add
`Rails.application.config.assets.precompile += %w( logo-opengraph.png )`
to `config/initializers/assets.rb` and restart your server

When loading any page under https://github.com/mysociety/alavetelitheme/tree/0dee8c3bd06dd8779500667018185fab6dcee04e theme on https://github.com/mysociety/alaveteli/tree/c8f2707ef4b46d9b6ba73034dd9dc91ec0f91b88.

@garethrees says you probably need to replicate this commit from whatdotheyknow-theme, in alavetelitheme: https://github.com/mysociety/whatdotheyknow-theme/commit/f99f7fd4538e57c2429ee2301317785c76eb08b0

Linking to https://github.com/mysociety/alaveteli/issues/3804

This got fixed by https://github.com/mysociety/alavetelitheme/pull/99


Feature request - Hide disabled items from the logbook/rulebook catalog

Done in 2.0.13!
(also, please don't put feature requests in here. I want the issue tracker to be for bugs only)


chore: Update dependencies

I just published all of my packages using Cargo 1.80 and wanted to see the effect of the enumerating targets during publish (#13849).

bstr 1.9.2 broke our build.  Following up at BurntSushi/bstr#187

I must be forgetting something. Could you make the purpose a bit clear?

I must be forgetting something. Could you make the purpose a bit clear?

I've updated it to link out to #13849.  I re-published clap, toml, snapbox, etc with 1.80 so all build-targets are explicitly enumerated in the .crate, allowing dependents to not enumerate them themselves, reducing the no-op runtime of cargo commands that parse the dependency tree (well, shifting the time over to TOML parsing which will hopefully be faster either now or in the future).

Thanks!
@bors r+

:pushpin: Commit fa5853a397348079d59ca221d25d17bf30f08c69 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit fa5853a397348079d59ca221d25d17bf30f08c69 with merge 9a0c8b3ad1335aa944c31434e0cc497403149087...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 9a0c8b3ad1335aa944c31434e0cc497403149087 to master...


Use smaller bundled fallback font

Currently VictorMono is bundled, and has a fair footprint. Ideally the font should be as small as reasonably possible, as it will be included in all builds and downloads.

Bevy uses 20KB font as default: https://github.com/bevyengine/bevy/pull/8445/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542R229

ah that's the one you meant, i was looking in the assets folder. will pop it in now

FiraMono-subset doesn't seem to play nice, thought I'd be able to just swap the files out in a quick patch job but needs further investigation, back to being a tomorrow job D:

No hurry at all... ideally if we could add to the plugin fetching font from any url on wasm...there is another plugin that already fetching assets from web, we just need to repeat the same code and supply font to plugin.


Show warning when using URLSearchParams in development mode

[x] I have reviewed the documentation
[x] I have searched existing issues
[x] I am using the latest React Native version

As noted in https://github.com/facebook/react-native/issues/9596 - URLSearchParams is not avaliable in react-native. However - it's working fine in development mode.
As URLSearchParams is related to async functionalities usually (eg fetching), you might forget (which is bad but happens) to add catch to some promies and have error swallowed with no idea what is not working. And not expecting issue to be URLSearchParams, and looking for something else for minutes or hours :)
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 7.6.0
Yarn: 1.5.1
npm: 4.1.2
Watchman: 4.9.0
Xcode: Xcode 9.3.1 Build version 9E501
Android Studio: 3.1 AI-173.4670197
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.2 => 0.52.2
Steps to Reproduce
Create an app and use URLSearchParams somewhere
Expected Behavior
It's not working both in dev and production at all so you know about it early on.
Actual Behavior
It works in dev without problems and then it's not in production. As it's related to async functionality. It's likely to have it swallowed by some promise without catch leaving you with no idea what is not working.

When you switch to development mode you are switching the execution environment and therefore using Chrome V8 instead of Safari JavascriptCore.
In order to use URLSearchParams, I think you should look into a polyfill.

@agrcrobles thanks for replying
I'm aware I can use polyfill. It's not issue here.
Issue is that I had no idea I'm not able to use it in production and it should show some warning in development when you use it.
It may become really hard to debug in production as you're not expecting native js function to cause crash, especially when it works in dev.

Yes


Add Ubuntu 22.04 support

Add Jammy as a supported OS
Some small additions, rework the github actions to include pylint in the  main pytest run (such that ut is run for both py3.8 and py3.10).

Codecov Report

Merging #44 (162c0ef) into master (fe1474e) will increase coverage by 0.80%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
+ Coverage   95.65%   96.46%   +0.80%
==========================================
  Files          24       24
  Lines        1198     1188      -10
==========================================
  Hits         1146     1146
+ Misses         52       42      -10

Impacted Files
Coverage Δ

vnet_manager/environment/host.py
100.00% <ø> (+41.66%)
:arrow_up:

vnet_manager/settings/base.py
100.00% <ø> (ø)

vnet_manager/environment/lxc.py
100.00% <100.00%> (ø)

vnet_manager/operations/interface.py
100.00% <100.00%> (ø)

vnet_manager/providers/lxc.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


While connecting metamask User rejected request comes

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
2.0.5
wagmi Version
2.6.7
Current Behavior
If the browser has phantome and metamask wallet then on connecting metamask and doing any transaction user rejected request comes but if we delete the phantom wallet from browsers everything works fine.
issue is here
this.selectExtension = ()=>jt(this, null, function*() {
var e;
if (!this.targetProvider && !this.isSelectingExtension) {
this.isSelectingExtension = !0;
try {
let t = (e = Yf.phantom) == null ? void 0 : e.ethereum;
if (t) {
if (!this.detected.length) {
this.setProvider(t),
window.dispatchEvent(new Event("ethereum#initialized"));
return
}
switch (yield t.request({
method: "wallet_selectEthereumProvider",
params: []
})) {
case "ALWAYS_USE_PHANTOM":
case "CONTINUE_WITH_PHANTOM":
{
this.setProvider(t);
break
}
case "CONTINUE_WITH_METAMASK":
case "ALWAYS_USE_METAMASK":
{
let[o] = this.detected;
for (let s of this.detected)
s.isMetaMask && this.setProvider(s);
!this.targetProvider && o && this.setProvider(o);
break
}
}
}
} catch (t) {
console.error(t)
} finally {
this.isSelectingExtension = !1
}
}
            in this rainbowkit code

Expected Behavior
We want that if the browser has any wallet irrespective if we choose metamask and it get connected so transaction should proceed.
Steps To Reproduce
Just install both metamask and phantom try to do evm transaction from metamask
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
Use chrome browser

@Snehagupta1907 What RainbowKit and Wagmi version are you using at the moment ? Could you also share a small reproducible example ?

"wagmi": "^2.5.7","@rainbow-me/rainbowkit":"2.0.5"
To reproduce this issue install phantom and metamask now connect with metamask and try doing the evm transaction.
in my website i have used this and there always user rejected issue is coming untill i uninstall the phantom wallet.And the code which throwing this error is above in the mentioned issue


added posibility to delete instituions (its not added at back so its …

…unusable right now)

Ahi corregi lo que quedaba


Incorrect instructions

Step 2 tells us to use the "Scope Dropdown", I am not seeing this on my screen. Please update the instructions to accurately describe the UX

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

ID: 7760b63d-e8bd-bdc1-4411-f2febe387f66
Version Independent ID: 4c9549d3-791e-a563-8ef3-fa2f3487622c
Content: Onboard a Microsoft Azure subscription in Permissions Management - Microsoft Entra
Content Source: articles/active-directory/cloud-infrastructure-entitlement-management/onboard-azure.md
Service: ciem
GitHub Login: @kenwith
Microsoft Alias: kenwith

@DeanGross Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

#reassign: @jenniferf-skc

AB#55813

#please-close
Article has been updated and no longer references the Scope Dropdown.


Unable to create reverse relationship

First of all thank you for making the solution open source. I am using it in my project but am stuck with reverse relationship.
Here are my models
class Collections(models.Model):
id = models.BigAutoField(primary_key=True)
name = models.CharField(max_length=200)
description = models.CharField(max_length=2000)
....
class Meta:
db_table = 'collections'
class CollectionViews(models.Model):
id = models.BigAutoField(primary_key=True)
collection_id = JoinField(Collections,on_delete=models.DO_NOTHING,db_column='collection_id',to_field='id')
page = models.CharField(max_length=100)
....
class Meta:
db_table = 'collection_views'`
Am able to do forward filters, but backward relationship fails this is my code for reverse relationship
Collections.objects.filter(collection_views__page="listing")
also tried with actual model name
Collections.objects.filter(collectionviews_page='listing')
I receive this error
Cannot resolve keyword 'collectionviews' into field. Choices are: name, description......
It tries to find the collectionviews in the field list but its a model.

I am curious too but can you try this:
Collections.objects.filter(collectionviews__page='listing')

Am sorry for being to late? Please close the issue, the issue was with Django and not your module.


Avalonia Port of WPF DataGrid

The current version of the Avalonia DataGrid is based off the old Silverlight version. This was the best way to do it back then as no other source code was available with appropriate licensing. However, the Silverlight version has a number of issues compared to the WPF version which is more complete and tested. Instead of trying to fix the Silverlight implementation it is probably better to re-base the code on the WPF version. Then bug fixes can be applied in the WPF repository as well as Avalonia benefiting everyone.
https://github.com/dotnet/wpf/blob/master/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls/DataGrid.cs

I do have an experimental DataGrid like control on my https://github.com/AvaloniaUI/Avalonia/tree/xdatagrid-experiment that doesn't use any prior code from WPF/Silverlight and is powered by ItemsRepeater. Still a WIP but hopefully will be complete before 0.9

@jmacato Having a light-weight alternative is definitely useful in some cases. But Avalonia benefits immensely from keeping the full featured DataGrid control as well.

I don't think that anyone of the Avalonia devs will have time soon to work on a rich DataGrid implementation. Contributions by the community are always welcome.

It is an extremely complex control (and frankly i hate its code and it's quite unmaintainable, give the lack of resources and time on our part). But if someone can contribute with that then that'd be great.

All good points and I'm not saying this be attempted right now. I also realize how large DataGrid is.
It's possible a refactor would be allowed in the actual WPF repo and then once that's done the code would be more easily ported. I might be willing to take a stab at that myself but I think it's going to take at least until the 0.10 release for the Avalonia feature set to be ready to make porting controls like this reasonable.

Is anyone currently working on this? I might give it a go.

@sdoroff I'm not working on it and have no plans to for the foreseeable future (many other things take priority and the existing one is good-enough for now). If you want to work on it I think that would be great!

Any updates on this? Does anyone want to collab on implementing a datagrid? I'm in desperate need to have a datagrid that supports touch gesturing which the silverlight ported one does not have. Don't mind working with someone who has more experience designing avalonia/wpf controls

CC @grokys


Fixed Spelling mistake

Bugsquad edit, closes: https://github.com/godotengine/godot/issues/90714

Solution to this raised issue:
https://github.com/godotengine/godot/issues/90714

Please make sure, that Godot compiles on iOS with your changes.
It looks like the interface is misspelled in multiple places.

Closing as the PR is abandoned and not functional.


Added ability to set authorization header

This change adds the ability to set an auth header when communicating with Logstash

Adressed in 2.0 release


Add template for new Elli Wallbox 2 devices

Ups they did it again 😂

Really great that you added support for the new box so fast. Thank you!


update(Files): Add Preview for PDF and Code Files

What this PR does 📖
1. Changed Icons on files, now files that are docs, excel, ppt, language codes will have different icons and unknown files.

3. Possible to preview PDF files
https://github.com/Satellite-im/Uplink/assets/63157656/617346ef-4604-46bb-9d9c-e738254ce4b7
4. Possible to preview Language Code files
https://github.com/Satellite-im/Uplink/assets/63157656/bacbd8bd-9f9a-48a2-bf46-c851ca7304db
5. Remove ogg from audio files and change audio layout on preview

Which issue(s) this PR fixes 🔨

Resolve #1801
Resolve #1826

Special notes for reviewers 🗒
Additional comments 🎤

also i can open pdf's i sent fine but if i try to open any pdf's phil sent me does not open and no error appears
https://github.com/Satellite-im/Uplink/assets/29093946/ad0b7bf8-1544-4500-a55d-a107bbd6dbd2


How is the start/home screen defined?

This is not really an "issue". Would be better for "discussions", but that isn't enabled for this repo.
How can I define which screen is shown first when the app is opened? I don't see that mentioned in the documentation.

After some experimentation, it seems that the screen that is first shown changes based on the order of the items in screens or tabs passed into Navio.build({ screens, tabs ]). The order in tabs seems to override the order in screens, but the order of screens is used when no tabs are defined.
I thought this might be problematic since the order of object properties in JavaScript is not guaranteed, but it seems that the order of object properties in JavaScript is actually predictable these days.

Hi @localjo! Thanks for bringing it up!
Yes, currently it does Object.keys() and the order is based on that. I was also concerned about the order of an object's keys in JS but it seemed to be working with no issues + your link as an evidence for that. But it has to be in the docs, that's right. So I will reopen the issue to keep track of that for the next version.


[WFLY-19567]: Removing ConcurrentHashMap usage

Thanks for submitting your Pull Request!
Please delete this text, and add a link to the Jira issue solved by this PR.
If this PR is not for the 'main' branch you must add a link to the equivalent change in 'main'.
Remember to use the Jira issue ID in the PR title and any commits.

<--- THIS SECTION IS AUTOMATICALLY GENERATED BY WILDFLY GITHUB BOT. ANY MANUAL CHANGES WILL BE LOST. --->

Wildfly issue links:

WFLY-19567

<--- END OF WILDFLY GITHUB BOT REPORT --->
More information about the wildfly-bot[bot]

Thanks @ehsavoie


Move Adjacency info inside the NodeMetadata struct

Also moves pseudo node generation to the probes

I didn't look deeply at the tests, but this looks good. Once the constructor thing is taken care of (or an alternate suggestion made) :+1:


aqa test jobs failed on test-docker-alpine313-aarch64-1

It's not testcase failure. It's test job failure before test running. The reason is running testing jdk pointed by environment variable TEST_JDK_HOME will end up with using java defined _=/usr/lib/jvm/jdk-17.0.4+3/bin/java. This only happened to test-docker-alpine313-aarch64-1. Other machines are configured as _=/usr/bin/java and do not have this issue.

test suite/name?
Is there an existing issue elsewhere covering this?
Which machine(s) does it work on? test-docker-alpine311-aarch64-1
Which machine(s) does it fail on? test-docker-alpine313-aarch64-1
Do you have a link to a Grinder re-run if the test with the failure? https://ci.adoptopenjdk.net/job/Grinder/5038/

Any other details:
grinder https://ci.adoptopenjdk.net/job/Grinder/5038/
rerun on test-docker-alpine311-aarch64-1 : est-docker-alpine311-aarch64-1

Ive switched its java path to /usr/bin/jdk8/bin/java. Theres a nightly test running on it currently,, https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_sanity.openjdk_aarch64_alpine-linux/16/console. I've also kicked off https://ci.adoptopenjdk.net/job/Grinder/5138/console

The grinder is failing due to cp: can't preserve ownership of './prog': Operation not permitted but this is a known issue https://bugs.openjdk.org/browse/JDK-8245748

Thanks @Haroon-Khel!


Fix footer on mobile view

Social media part in the footer overflows on mobile view.

Please Assign this to me.....I can work on this

@mohtasheem135 done. Try to do it ASAP!

starting the work right away

I have created the pull request please add the tag of hactoberfest

done @mohtasheem135


feat: apisix-website redesign, add redesigned-site sections and styles (Sub-PR3)

Apache APISIX website redesign (Sub-PR: 3)
This large feature addition wil be done through 3 chained PRs which for easier reviews and merging. Please merge all these 3 sub PRs together, in ascending order for no breaking changes. Dependency flow is like PR3 depends on PR2, depends on PR1.
This PR is supposed to be merged at last
Changes:
Addition of the redesigned sections and stylesheets.

@1502shivam-singh Hi, here have some conflicts, please take a look :)

Closing for spoiled up history.


fix 404 error and fix the wrong hyperlink

fix 404 error and fix the wrong hyperlink. ^_^

This change is

Hi
I hava set the usermail. plz verify.
^_^


Migrate kafka channel controller to use generated reconciler.

Proposed Changes

:gift: Use reconciler gen to implement strongly typed reconcilers.
🧽 lots of cleanup around requeue.
🧽 lots of cleanup around error events.

See as an example: https://github.com/knative/eventing/pull/2540
/assign @lberk

I guess... we first need to update pkg ... ?

/label channel/kafka

/close


chore: previewer catches the error when an animation breaks

refactor: some code improvements

 When a motion builder throws errors while building the previewer crashes and errors are displayed in the console


GLIBC_2.14 Error on Linux Debian

Hi,
I  installed or-tools (without any error messages) on a Linux Debian machine to the local directory. But when I try to run an example code, I am getting same error message related with 'GLIBC_2.14'. I also tried to install it on my Mac but again I got the same error. Any ideas?
thanks in advance,
bora
bedizel@login:~/tools/ortools_examples$ python examples/python/car.py
Traceback (most recent call last):
File "examples/python/car.py", line 35, in
from ortools.constraint_solver import pywrapcp
File "/homedtic/bedizel/.local/lib/python2.7/site-packages/ortools-3.3629-py2.7-linux-x86_64.egg/ortools/constraint_solver/pywrapcp.py", line 28, in
_pywrapcp = swig_import_helper()
File "/homedtic/bedizel/.local/lib/python2.7/site-packages/ortools-3.3629-py2.7-linux-x86_64.egg/ortools/constraint_solver/pywrapcp.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrapcp', fp, pathname, description)
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /homedtic/bedizel/.local/lib/python2.7/site-packages/ortools-3.3629-py2.7-linux-x86_64.egg/ortools/constraint_solver/_pywrapcp.so)

Hi,
Pypi cannot distinguish between different linux distributions. So we are
stuck.
So to move forward, you need to:
install or-tools from sources:
https://developers.google.com/optimization/installing
when you have run everything (make third_party, make
install_python_modules, make python, make test_python), run
make pypi_archive
go into /temp/ortools
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
2016-07-13 10:42 GMT-07:00 edizel<EMAIL_ADDRESS>
Hi,
I installed or-tools (without any error messages) on a Linux Debian
machine to the local directory. But when I try to run an example code, I am
getting same error message related with 'GLIBC_2.14'. I also tried to
install it on my Mac but again I got the same error. Any ideas?
thanks in advance,
bora
bedizel@login:~/tools/ortools_examples$ python examples/python/car.py
Traceback (most recent call last):
File "examples/python/car.py", line 35, in
from ortools.constraint_solver import pywrapcp
File
"/homedtic/bedizel/.local/lib/python2.7/site-packages/ortools-3.3629-py2.7-linux-x86_64.egg/ortools/constraint_solver/pywrapcp.py",
line 28, in
_pywrapcp = swig_import_helper()
File
"/homedtic/bedizel/.local/lib/python2.7/site-packages/ortools-3.3629-py2.7-linux-x86_64.egg/ortools/constraint_solver/pywrapcp.py",
line 24, in swig_import_helper
_mod = imp.load_module('_pywrapcp', fp, pathname, description)
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not
found (required by
/homedtic/bedizel/.local/lib/python2.7/site-packages/ortools-3.3629-py2.7-linux-x86_64.egg/ortools/constraint_solver/_pywrapcp.so)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/210, or mute the thread
https://github.com/notifications/unsubscribe/AKj17fhgGl0bKPZs0RTXioM2j2c-o4WIks5qVSOZgaJpZM4JLq3W
.

Then
you see a setup.py, just run:
python setup.py install
It should do the same as you installation from pypi.
I am sorry about the trouble, but there are currently no way out. I am
hoping https://www.python.org/dev/peps/pep-0513/ will solve this problem.
Thanks
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
2016-07-13 11:01 GMT-07:00 Laurent Perron<EMAIL_ADDRESS>
Hi,
Pypi cannot distinguish between different linux distributions. So we are
stuck.
So to move forward, you need to:
install or-tools from sources:
https://developers.google.com/optimization/installing
when you have run everything (make third_party, make
install_python_modules, make python, make test_python), run
make pypi_archive
go into /temp/ortools
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68
53 00
2016-07-13 10:42 GMT-07:00 edizel<EMAIL_ADDRESS>
Hi,
I installed or-tools (without any error messages) on a Linux Debian
machine to the local directory. But when I try to run an example code, I am
getting same error message related with 'GLIBC_2.14'. I also tried to
install it on my Mac but again I got the same error. Any ideas?
thanks in advance,
bora
bedizel@login:~/tools/ortools_examples$ python examples/python/car.py
Traceback (most recent call last):
File "examples/python/car.py", line 35, in
from ortools.constraint_solver import pywrapcp
File
"/homedtic/bedizel/.local/lib/python2.7/site-packages/ortools-3.3629-py2.7-linux-x86_64.egg/ortools/constraint_solver/pywrapcp.py",
line 28, in
_pywrapcp = swig_import_helper()
File
"/homedtic/bedizel/.local/lib/python2.7/site-packages/ortools-3.3629-py2.7-linux-x86_64.egg/ortools/constraint_solver/pywrapcp.py",
line 24, in swig_import_helper
_mod = imp.load_module('_pywrapcp', fp, pathname, description)
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not
found (required by
/homedtic/bedizel/.local/lib/python2.7/site-packages/ortools-3.3629-py2.7-linux-x86_64.egg/ortools/constraint_solver/_pywrapcp.so)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/210, or mute the thread
https://github.com/notifications/unsubscribe/AKj17fhgGl0bKPZs0RTXioM2j2c-o4WIks5qVSOZgaJpZM4JLq3W
.

Great!
I could successfully installed it on my mac.
One little question: These process also works exactly same on a linux machine (Debian in my case)?
thanks a lot

yes.
If not, please report the problems.
Thanks
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
2016-07-15 5:21 GMT-07:00 edizel<EMAIL_ADDRESS>
Great!
I could successfully installed it on my mac.
One little question: These process also works exactly same on a linux
machine (Debian in my case)?
thanks a lot
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/210#issuecomment-232937667,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17RWIa3a8Zq75IzrwF655MoT3OuzGks5qV3tmgaJpZM4JLq3W
.


ImportError: cannot import name 'app'

 Hello,miguel。I have finished your awesome "dog book" three weeks ago, and my code  bases on your  code. The 'app' is created in app/__init__.py,
 Now I want  to add the full-text search function,but i don't know how to import 'app'.When i tried  to import it directly  like"from app import app", it didn't work and "ImportError: cannot import name 'app'" came out. i have try google and stackoverflow , but there were not helpful answer.
so i ask you for help. My english is not very well, hope you can understand what i say.Have a nice day!

Are you using a factory function, like in the book? If you are, then app does not exist as a symbol, you only have create_app, the function that creates it.
So you need to import app from the module that creates it. For example, if you call create_app in manage.py, then you can import it from there with from manage import app.

Actually, l already try that way, but didn't work. This is heroku logs:
2016-10-21T11:06:11.766503+00:00 app[web.1]: 2016-10-21 11:06:11 [7] [ERROR] Exception in worker process: 2016-10-21T11:06:11.766512+00:00 app[web.1]: Traceback (most recent call last): 2016-10-21T11:06:11.766514+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/arbiter.py", line 495, in spawn_worker 2016-10-21T11:06:11.766515+00:00 app[web.1]:     worker.init_process() 2016-10-21T11:06:11.766516+00:00 app[web.1]:     self.wsgi = self.app.wsgi() 2016-10-21T11:06:11.766516+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/workers/base.py", line 106, in init_process 2016-10-21T11:06:11.766517+00:00 app[web.1]:     self.callable = self.load() 2016-10-21T11:06:11.766517+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/app/base.py", line 114, in wsgi 2016-10-21T11:06:11.766520+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py", line 49, in load_wsgiapp 2016-10-21T11:06:11.766518+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py", line 62, in load 2016-10-21T11:06:11.766519+00:00 app[web.1]:     return self.load_wsgiapp() 2016-10-21T11:06:11.766521+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/util.py", line 354, in import_app 2016-10-21T11:06:11.766520+00:00 app[web.1]:     return util.import_app(self.app_uri) 2016-10-21T11:06:11.766522+00:00 app[web.1]:   File "/app/manage.py", line 19, in <module> 2016-10-21T11:06:11.766522+00:00 app[web.1]:     __import__(module) 2016-10-21T11:06:11.766524+00:00 app[web.1]:     from manage import app 2016-10-21T11:06:11.766523+00:00 app[web.1]:     from app.models import  User, Follow, Role, Permission, Post, Comment, Message, Category, Star, Webpush 2016-10-21T11:06:11.766525+00:00 app[web.1]: ImportError: cannot import name 'app' 2016-10-21T11:06:11.766524+00:00 app[web.1]:   File "/app/app/models.py", line 3, in <module> 2016-10-21T11:06:11.766526+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/arbiter.py", line 495, in spawn_worker 2016-10-21T11:06:11.766526+00:00 app[web.1]: Traceback (most recent call last): 2016-10-21T11:06:11.766527+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/workers/base.py", line 106, in init_process 2016-10-21T11:06:11.766528+00:00 app[web.1]:     self.wsgi = self.app.wsgi() 2016-10-21T11:06:11.766527+00:00 app[web.1]:     worker.init_process() 2016-10-21T11:06:11.766529+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/app/base.py", line 114, in wsgi 2016-10-21T11:06:11.766529+00:00 app[web.1]:     self.callable = self.load() 2016-10-21T11:06:11.766531+00:00 app[web.1]:     return self.load_wsgiapp() 2016-10-21T11:06:11.766545+00:00 app[web.1]:     return util.import_app(self.app_uri) 2016-10-21T11:06:11.766546+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/util.py", line 354, in import_app 2016-10-21T11:06:11.766547+00:00 app[web.1]:     __import__(module) 2016-10-21T11:06:11.766530+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py", line 62, in load 2016-10-21T11:06:11.766547+00:00 app[web.1]:   File "/app/manage.py", line 19, in <module> 2016-10-21T11:06:11.766531+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py", line 49, in load_wsgiapp 2016-10-21T11:06:11.766549+00:00 app[web.1]:     from manage import app 2016-10-21T11:06:11.766548+00:00 app[web.1]:     from app.models import  User, Follow, Role, Permission, Post, Comment, Message, Category, Star, Webpush 2016-10-21T11:06:11.766550+00:00 app[web.1]: ImportError: cannot import name 'app' 2016-10-21T11:06:11.766549+00:00 app[web.1]:   File "/app/app/models.py", line 3, in <module> 2016-10-21T11:06:11.766759+00:00 app[web.1]: 2016-10-21 11:06:11 [7] [INFO] Worker exiting (pid: 7) 2016-10-21T11:06:11.836083+00:00 app[web.1]:  2016-10-21T11:06:11.836086+00:00 app[web.1]: Error: dictionary changed size during iteration 2016-10-21T11:06:11.836087+00:00 app[web.1]:
This is a part of manage.py :
`#encoding:utf-8
#!/usr/bin/env python
import os
COV = None
if os.environ.get('FLASK_COVERAGE'):
import coverage
COV = coverage.coverage(branch=True, include='app/*')
COV.start()
if os.path.exists('.env'):
print('Importing environment from .env...')
for line in open('.env'):
var = line.strip().split('=')
if len(var) == 2:
os.environ[var[0]] = var[1]
from app import create_app, db
from app.models import  User, Follow, Role, Permission, Post, Comment, Message, Category, Star, Webpush
from app.delete import deletenone
from flask.ext.script import Manager, Shell
from flask.ext.migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db, directory="migrations")
Even i tried to create amyapp.py, create app in this file, then usefrom app.myapp import app' in models.py, still not working.  I don't know why.

Your problem is that you have circular dependencies. Some of the imports in manage.py that appear before the app = create_app() line issue a from manage import app, and that obviously fails.
Move the from app import create_app and app = create_app lines above your other imports, maybe that'll help.

I create app in the models file, then use from app.models import app in the manage file. works! Thank you sir.

@WanliangWei   你好，我在学习《Flask Web开发》这本书。现在在往程序里加入文章搜索功能，出现了和你一样的问题。我按照你最后的回复，在models.py里使用app = create_app(),在manage.py使用from app.models import app 。但是出现了其他文件无法引入models.py 中的模型，好像创建实例后，下面的模型就无法被其他文件引用。但是创建语句一定要在Post模型的上面啊。你当时遇到这样的问题了吗？  求帮助！


Populate userid in bulk create

This is last PR from series about creation user based resources.
Prerequisites
To make this work we need to set resource_ownership = user in app-studio app type.
diff --git a/dao/seeds/application_types.yml b/dao/seeds/application_types.yml
index b27b4e7..51d1c20 100644
--- a/dao/seeds/application_types.yml
+++ b/dao/seeds/application_types.yml
@@ -19,6 +19,7 @@
       - gitlab-personal-access-token
     quay:
       - quay-encrypted-password
+  resource_ownership: user

 "/insights/platform/catalog":
   display_name: Automation Services Catalog

Description
Changes in this PR adds to creation with bulk_create possibility to populate column userid in created records of tables:
sources, applications, application_authentications and authentications.
user_id is taken from table users - Users are  created from xhr header- added here
user_id is populated in records which are associated with application_type with column resource_ownership=user. App studio application type will set resource_ownership=user in future PR.
How it works
In bulk create we call loadUserResourceSettingFromBulkCreateApplication (It is not added in this PR). We collect application type names which have resource_ownership=user to UserResource#ApplicationTypesNames and also we collect  source names(to UserResource#SourceNames) which are tied with this used based application type resource_ownership=user .
With those  UserResource#ApplicationTypesNames and UserResource#SourceNames we can easily ask whether we should populate userid on resources in parsing methods(parseSources,...).
Examples of bulk create request. (let's count that diff above was applied):
POST /api/sources/v3.1/bulk_create

{
  "sources": [
    {
      "name": "B17",
      "source_type_name": "bitbucket"
    }
  ],
  "applications": [
    {
      "source_name": "B17",
      "application_type_name": "app-studio"
    }
  ],
  "authentications": [
    {
      "resource_type": "application",
      "resource_name": "app-studio",
      "username": "myUser",
      "password": "myPass"
    }
  ]
}

POST /api/sources/v3.1/bulk_create

{
  "sources": [
    {
      "name": "B15",
      "source_type_name": "bitbucket"
    }
  ],
  "applications": [
    {
      "source_name": "B15",
      "application_type_name": "app-studio"
    }
  ],
  "authentications": [
    {
      "resource_type": "source",
      "username": "myUser",
      "password": "myPass"
    }
  ]
}

please re-review - it is similar to https://github.com/RedHatInsights/sources-api-go/pull/391 but less commits ;) Thanks!


Multiple geographic locations

Some data points in the Register have multiple geographic locations:
indo1316 -- Eurasia vs Pacific (Indonesian)
oira1263 -- Pacific vs Eurasia (Oirata; Indonesia)
which seem ok, but these two seem weird:
kyer1238 -- Eurasia vs Africa (Kyerung; Nepal)
kati1270 -- Eurasia vs Pacific (Afghanistan / Pakistan)
Perhaps wrong Glottolog code assignment?

Fixed in the database, will be exported with the next incremental release.

I found some more, in register.csv the following languoids have more than one Area associated with them:
‘balk1252’, ‘east2295’, ‘indo1316’, ‘kati1270’, ‘kyer1238’, ‘mart1256’, ‘minn1241’, ‘noga1249’, ‘oira1263’, ‘peri1253’, ‘taha1241’, ‘tibe1272’, ‘till1254’, ‘toho1245’
Sometimes the long/lat are also widely different, as in 'kati1270'.

glottocode
Area
longitude
latitude

kati1270
Indic
70.00
35.50

kati1270
S New Guinea
140.92
-5.75

Thanks!
Balthasar.

On 27 Feb 2019, at 06:00, Hedvig Skirgård<EMAIL_ADDRESS>wrote:
I found some more, in register.csv the following languoids have more than one Area associated with them:
‘balk1252’, ‘east2295’, ‘indo1316’, ‘kati1270’, ‘kyer1238’, ‘mart1256’, ‘minn1241’, ‘noga1249’, ‘oira1263’, ‘peri1253’, ‘taha1241’, ‘tibe1272’, ‘till1254’, ‘toho1245’
Sometimes the long/lat are also widely different, as in 'kati1270'.
glottocode	Area	longitude	latitude
kati1270	Indic	70.00	35.50
kati1270	S New Guinea	140.92	-5.75
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.


2D VQA and Image-Text Retrieval

Hope to access the 2D VQA and Image-Text Retrieval Task

@xvolica Thanks for the interest! I was busy with some deadlines and will work on this recently. I will let you know once we have updated this part.

hi @ziqipang any update?

Hope to access the 2D VQA and Image-Text Retrieval Task + 1


Verification

Hi. I wanted to as, how can we verify these results?

Hi. I wanted to as, how can we verify these results?

It’s verified by comparing with other solutions. These equations can be numerically solved by the finite difference algorithm. In some cases, theoretical solutions may be found.

Can u please put in an example of the verification? I'm unable to do so.


plz add korean

please korean. lunr for korean is below.
https://www.npmjs.com/package/@eastuni/lunr-languages-ko

We prefer to use the original package of lunr-languages, since it has better maintenance. You'd better to make an effort to make the forked one be merged into it.


Publish Tesseract 4.0 to nuget.org

the feature/321-Tesseract-4 barche has a working code for version Tesseract 4 wrapper for .net standards,
just publish the package to nuget

That would be very awesome! Please push the 321-Tesseract-4 branch as a nuget beta package.
Cheers!

@charlesw That would be very awesome! Please push the 321-Tesseract-4 branch as a nuget beta package.
Cheers!

Agreed.
On Mon., 10 Sep. 2018, 23:53 seriouz<EMAIL_ADDRESS>wrote:

@charlesw https://github.com/charlesw That would be very awesome!
Please push the 321-Tesseract-4 branch as a nuget beta package.
Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/428#issuecomment-419919810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyAI95MuWWaDjL7PNeed-clIETdoIks5uZm6_gaJpZM4VGsuO
.

As in yes, I'll push a beta release. Might as well release the latest 3.05
version too. It's 🐝 a while 🙂
Might take a couple of days though, quite busy with other priorities ATM.
On Tue., 11 Sep. 2018, 08:34 Charles Weld<EMAIL_ADDRESS>wrote:

Agreed.
On Mon., 10 Sep. 2018, 23:53 seriouz<EMAIL_ADDRESS>wrote:

@charlesw https://github.com/charlesw That would be very awesome!
Please push the 321-Tesseract-4 branch as a nuget beta package.
Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/428#issuecomment-419919810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyAI95MuWWaDjL7PNeed-clIETdoIks5uZm6_gaJpZM4VGsuO
.

@charlesw Thank you very much! Appreciated!

Yes, still plan on doing this just haven't got around to doing it. Sorry.
I have no issues with you publishing your own copy.
 Otherwise I can look in too it; I tried to publish it to
Tesseract-test (only netstandard).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/428#issuecomment-425744718,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyFv9_Xj-DclREBGtXms4H2wFGvG4ks5ugRolgaJpZM4VGsuO
.

FYI: I just created a package that now works for OSX and Windows, and should works as well on Linux if we would add the binaries:
https://github.com/arthurvb/tesseract/tree/feature/321-Tesseract-4-osx
I removed BaseAPIProcessPage since that gave errors

Nuget package is at https://www.nuget.org/packages/Tesseract-test/4.0.0-beta15

Thank you for the package.  When I installed it, I could only add it to a project with a .Net target framework of 4.6.1.  Is this a minimum requirement?

@ilochray Probably because I selected netstandard2.0 as output (I got it running on both .net core and .net framework 4.7.2)

@charlesw any update after tesseract v4.0 is RTM

@arthurvb : I trying to use your test package in asp.netCore apps (2.1), ... before official package. But, i got this error :
Failed to find library "liblept1760.dll" for platform x64.
NB :

WebApi Project in NetCore 2.1
The dll are exising in x86 & x64 directory.
Same error in Any Cpu / x64.

An idea ?

@Nonobis  Probably it is the wrong version (just unlisted all the wrong ones). Check if you use version 15: https://www.nuget.org/packages/Tesseract-test/4.0.0-beta15

@arthurvb : got it working with lastest package and TesseractEnviornment.CustomSearchPath. thx

Quick update on release of 'official' nuget package.
I've done some testing on my machine and unfortunately a number of tests are failing, mainly around detecting orientation, at this time it does look like the issue is with the tesseract library but haven't yet worked out if it's because of how we're compiling it or what. Holding of doing an official release for now until I've looked into this more however could do a 4.0 beta release if that helps others that don't require this functionality.

@arthurvb I am also trying to use this package, but the PixConverter class seems to be missing, so I can't convert my Bitmap. I am using 4.0.0-beta15.

An "official" beta release would be awesome! I've been dead in the water with 3.x recently (.NET framework version issue maybe? The exception is vague), so between that and the newer engine, I've been eager to try v4, and everything I'm using it for is portrait orientation.

@SimonChris You should be able to do var pix = Pix.LoadFromFile(tmpLocation). This location can contain png-file. Not perfect.. but it does work.
@unarix I have to say that I only tested it multiple times on OSX and Windows. It could be that the library file is not compatible with the linux version (maybe 32bit vs. 64bit?)

.net core support doesn't work on Linux atm. The issue appears that for
some reason some of the method signatures from the tesseract library don't
load resulting in errors. Others have reported that commenting them out
resolves the issue (I believe ProcessPage is the problematic one) .
On Tue., 27 Nov. 2018, 05:17 arthurvb<EMAIL_ADDRESS>wrote:

@SimonChris https://github.com/SimonChris You should be able to do var
pix = Pix.LoadFromFile(tmpLocation). This location can contain png-file.
Not perfect.. but it does work.
@unarix https://github.com/unarix I have to say that I only tested it
multiple times on OSX and Windows. It could be that the library file is not
compatible with the linux version (maybe 32bit vs. 64bit?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/428#issuecomment-441742366,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyNG_CQamkz26AH_s8WjE2yzZBNTqks5uzDBPgaJpZM4VGsuO
.

Just a quick note in case it's useful -- while waiting for this library to move to v4, we're currently doing command-line tesseract... painful but works. Today we got a PDF with one page upside down and several landscape, and tesseract totally failed to recognize the differing orientations. I don't recall it having that issue in v3, but this is an unusual PDF.
So it may be an issue with v4 itself, not with your library's use of it. The improvements in recognition in v4 are worth the hassle of dealing with orientation issues manually, so if that's the only concern at the moment, it may be worth just getting the new version out there and as users, we'll figure out a workaround for any orientation detection issues (or keep using v3 if it's a huge problem--it wouldn't be for us).

Hi @charlesw
Now it's almost 3 months since I wrote last ;-)
You answered back, that official Nuget Package release with Tesseract 4.0 was next priority, so could you please give a status and an expected time frame?
We a really waiting for this release and it dosen't seams like I/we are the only ones :-)

I support the request of @refkmd. Just a little update on your progression :) . And thanks a lot for your work.

I'm also interested to know where things stand. But as a maintainer of several open-source projects myself, I know it's an often thankless job crammed into minimal free time.
So... is there anything we in the community can be doing to help or move things forward? A certain set of issues to try to narrow or close, etc.?

Those who want to do a local nuget  for teseract 4.0;
I did the following and it worked for me;

Clone the teseract 4.0 feature branch
Do a release build in visual studio
Navigate to your Bin\Release folder and copy the full path
in visual studio > nuget packagemanager console
type the following command and press enter Install-Package Tesseract  -Source "<Full File  in step 3>"

DONE

Hi,
By no means I can launch tesseract-feature-321-Tesseract-4, it would always fail with "error-1" thing (could not be initialized). I've tried all the possible combinations of traineddata files (Data Files for Version 4.00 (November 29, 2016), Updated Data Files for Version 4.00 (September 15, 2017) - best, fast, legacy), but no luck.

Hello!
That would be awesome to have the Tesseract 4.0.0 release available on nuget!  Is the full procedure to generate a release of C# tesseract wrapper described by the "Compling tesseract and leptonica.txt" file or is there some other steps to perform?
BTW, great job, this is really good work and thank you for that!

Enjoy!
https://www.nuget.org/packages/Genesis.Tesseract4/

@Doomer3D FWIW, it doesn't work for me.
I have a project that works fine with the current release build.
Switching the NuGet package to Genesis.Tesseract4 <IP_ADDRESS>, I got a DllNotFoundException on libtesseract. I tried fiddling with TesseractEnviornment.CustomSearchPath, but that didn't help and shouldn't have, since the DLL was copied to bin\…\x64.
After that, I tried switching to Tesseract-test 4.0.0-beta16 instead, and that worked out of the box. So I think something's not quite right with your NuGet package. (I haven't tried cloning and debugging yet.)

@chucker, thanks for report.
It is my first Nuget package, ofc, it may be bugged, but I just created new .NET Core 2 solution and added Genesis.Tesseract4 package, and its works:

Can you send me your solution or project file for reproduce?
P.S. Sorry for my english, it is not my native languange.

Hello Doomer3D, could you also add a target for netstandard 2.1 in the Genesis.Tesseract package?
I have a 2.1 project but the x86 and the x64 directories are only copied to the netstandard 2.0 directory not the netstandard 2.1.


I'd like to be able to get an Enbed Code for my calculator

Type: Feature Request
I'd like to be able to get an Enbed Code for my calculator, how can I do this?
<EMAIL_ADDRESS>Thank you,
Tony Ortega
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.22000
Modes:

Hi @REtonyortega ,
Thank you for opening the issue. We're sorry to hear you're experiencing problems. It appears to be specific to the VS Code editor and tools, if we understand correctly. It's best to reach out to the VS Code team at https://github.com/microsoft/vscode/issues.
Regards,
VS Marketplace Team


Syntax issue - Use macro with same name in different methods

Hello,
I found an syntax issue within abaplint, which is not an issue in SAP himself. You can reproduce by adding code below to playground.
CLASS zcl_html DEFINITION
  PUBLIC
  CREATE PUBLIC .

  PUBLIC SECTION.

    CLASS-METHODS js
      EXPORTING
        et_script TYPE STANDARD TABLE.

    CLASS-METHODS html
      CHANGING
        ct_html TYPE STANDARD TABLE.

  PROTECTED SECTION.
  PRIVATE SECTION.

ENDCLASS.

CLASS zcl_html IMPLEMENTATION.

  METHOD js.

    DATA:
      lv_text   TYPE string.

    DEFINE add_html.
      lv_text = &1 && &2 && &3.
      APPEND lv_text TO et_script.
    END-OF-DEFINITION.

    add_html:
      'abc' 'def' 'ghi',
      'jkl' 'mno' 'pqr'.

  ENDMETHOD.

  METHOD html.

    DEFINE add_html.
      APPEND &1 TO ct_html.
    END-OF-DEFINITION.

    add_html:
      'abc',
      'dedf'.

  ENDMETHOD.

ENDCLASS.

The JSON config file in my test was that
{
    "global": {
        "files": "/src/**/*.*",
        "skipGeneratedBOPFInterfaces": true,
        "skipGeneratedFunctionGroups": true,
        "skipGeneratedGatewayClasses": true,
        "skipGeneratedPersistentClasses": true,
        "skipGeneratedProxyClasses": true,
        "skipGeneratedProxyInterfaces": true,
        "useApackDependencies": false,
        "skipIncludesWithoutMain": false
    },
    "syntax": {
        "version": "v756",
        "errorNamespace": "^(Z)",
        "globalConstants": [],
        "globalMacros": []
    },
    "rules": {
      "check_syntax": {
        "exclude": [],
        "severity": "Error"
      },
      "unknown_types": {
        "exclude": [],
        "severity": "Error"
      }
    }
}

This is the error message

It seems that abaplint has some trouble in case that a marco with same name is defined and use within several methods.
Can you please take a look.
Thank you!
Best regards,
Dominik

yea, its a known problem
suggest renaming the macros to have unique names
I'm probably not gonna fix this, its difficult, macros are evil

Alright, now problem we can do that - Thanks for your help!

suggest closing this issue and just having https://github.com/abaplint/abaplint/issues/1809 open for this issue


Websocket SSL un expected EOF while reading error

I have added "certifi" in Windows environment variables.
Getting data for 250 coins/pairs from the "trade streams", it runs good for a few hours then start throwing this error.
Apperently this error is not the same as "certifi error" since I have added the windows variable.
Error message:
WebSocket connection closed: connection was closed uncleanly ("SSL error: unexpected eof while reading (in )"), code: 1006, clean: False, reason: connection was closed uncleanly ("SSL error: unexpected eof while reading (in )")
Lost connection to Server. Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.
]. Retrying: 1

Can you reduce the stream numbers and see it's getting more stable?

thank

Hi @2pd , got quite the same error.
WARNING:root:WebSocket connection closed: connection was closed uncleanly ("SSL error: unregistered scheme (in )"), code: 1006, clean: False, reason: connection was closed uncleanly ("SSL error: unregistered scheme (in )")
ERROR:root:Lost connection to Server. Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
].
tried to work my way out from the certifi thingy, nothing to do, won't work. can't get it to work

Hello.
To fix this issue:
`
import certifi
FIXME: ("SSL error: unregistered scheme (in )"), code: 1006
os.environ['SSL_CERT_FILE'] = certifi.where()
`

Hi @tring-malikans @tomw777, can you try the solution proposed by @nolimitech?
In case you have further comments, please feel free to reopen this post.

@aisling-2
nice, the solution solved it
thanks


Remove implicit casts from Object

Remove implicit casts from Object: This increases readability.
public static implicit operator IntPtr (Object? val);
public static implicit operator Object? (IntPtr val);

Now this is part of #52 .


[Bug] Vulnerability detected -- package update needed?

GitHub has detected that a package defined in the docs/yarn.lock file of the mapillary/mapillary-python-sdk repository contains a security vulnerability.
Package name: immer
Affected versions: < 9.0.6
Fixed in version: 9.0.6
Severity: MODERATE
Identifier(s):
GHSA-33f9-j839-rf8h
CVE-2021-23436
Reference(s):
https://nvd.nist.gov/vuln/detail/CVE-2021-23436
https://github.com/advisories/GHSA-33f9-j839-rf8h

Hmm, I'll look into this. Probably caused by the docusaurus instance. I think I should update all the dependencies in one go. It's caused by the immer dependency that is depended by the docusaurs package under docs/.


After update to 7.7.4 release getting No such file or directory in log

Summary
@tiredofit It seems  like // typo
2023-12-10.09:22:39 [STARTING] ** [nginx] [1] Starting nginx 1.25.3
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 2023-12-10.09:22:39 [STARTING] ** [php-fpm] [1] Starting php-fpm 8.1.26
 2023-12-10.09:22:39 [STARTING] ** [monitoring] [1] Starting Zabbix Agent (modern) 6.4.9
 2023-12-10.09:22:40 [STARTING] ** [scheduling] [1] Starting cron
 Couldn't watch /etc/nginx/services.enabled: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 2023-12-10.09:22:41 [STARTING] ** [monitoring] [2] Starting Zabbix Agent (modern) 6.4.9
 2023-12-10.09:22:41 [STARTING] ** [logging] [1] [logship] Starting fluent-bit 2.2.0
 Couldn't watch /etc/nginx/services.enabled: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory
 sed: /etc/zabbix//zabbix_agentd.conf: No such file or directory

Can you try :latest and see if it recovers?
Builds got kind of weird on Friday and I had to force a couple rebuilds and not sure if this is a byproduct of it.

Can you try :latest and see if it recovers?
Builds got kind of weird on Friday and I had to force a couple rebuilds and not sure if this is a byproduct of it.

@tiredofit I'll try it and let you know. Thanks.


Zuul filter and customizing routing based on conditions

Not sure where should I put this question. I have a zuul filter and I am trying to do conditional routing. I am looking for API where I can override route configuration and route the traffic. Example

2 services ( Store and Customer)
If request body has amount greater than $5000, then redirect traffic to Store  else customer.
I am stuck and trying to find api on which I can customize routing. I tried ZuulRoute and didn't find how to use in spring cloud.

 I'm not sure what your question is.

if(price > 5000) {
// Go to service version 1- Customer 1.0
}
else {
// Go to service version 2- Customer 2.0
}
And I want to store and define all  route remotely, not in yaml file.

@pradeepsingh1234 if you are using springcloud, then I am not sure what are the interfaces there, but otherwise, the filter code would look something like this
This is for 2.x branch though, which version are you trying?

@NiteshKant the "something like this" look is not found. Could you give some examples.


Linker and Config

Add a way to render the page given some Linker and Config files.

Great job @zain08816!

Great job @zain08816!


Can't find the openwhisk sample

From this site there is a link to openwhisk sample but the link is broken
Site: https://cloud.spring.io/spring-cloud-function/#quick-start
Link: https://github.com/spring-cloud/spring-cloud-function/tree/master/spring-cloud-function-samples/function-sample-openwhisk

@csantanapr  - here are two examples

https://github.com/kameshsampath/openwhisk-scf-docker (Docker Image)
https://github.com/kameshsampath/ow-scf-fruiteason - (POF example)
https://github.com/kameshsampath/ow-scf-greeter - (Spring Boot App example)

@dsyer  - is it possible for document to point to these repos or can it be forked under spring-cloud-functions repo ?

We could put a link in the README for the openwhisk adapter I guess, if you are planning on maintaining the samples. Send a PR and we can do that quickly. Longer term we might want to start a new project in github.com/spring-cloud-samples.

@dsyer  - where should we send the PR , README.adoc of this repo ?

There's a readme in the ow adapter module (in this project) isn't there?

oh yeah !! I can add them there to OW Adapter

#147  should solve this.
@dsyer  - added the links to README, please feel free to mere when you are on it. thanks.

thanks @dsyer for merging


skip parameter in listMembers

Hello, here's my code:
mg.lists.members.listMembers(settings.mailingList, {
skip: 300,
limit: 50
}).then(data => console.log(data))
.catch(err => console.error(err));
Let's say I have 350 members in my mailing list. I want to see only those who are past 300, unfortunately my script ignores "skip". I am always getting first records, no matter what I set in skip option.

Hello MateuszDMSI
Mailgun API doesn't support the skip parameter for this route, unfortunately.
At the same time, this route has pagination functionality that may be used for your need.
Pagination wasn't implemented correctly in the current version (7.0.4), but I fixed this in the pull request that is linked to the issue.
So starting from version 8.0.0. you can receive the last 50 records by adding 'limit' and 'page' parameters to the query. There is a new section "Navigation thru lists" in Readme where you can find details of usage.
Thank you for letting me know about this issue.


Naming issue about profile reports

tritonbench export
kineto traces  to /tmp/tritonbench/<operator>/<debug_type>/<name>_<input>/<hostname>_<id>.pt.trace.json ,
ncu reports to /tmp/tritonbench/<operator>/<debug_type>/<name>_<input>/ncu_output.ncu-rep, and nsys reports to /tmp/tritonbench/<operator>/<debug_type>/<name>_<input>/nsys_output.nsys-rep.  Because the report file names don't have any useful information, it is hard to identify different tests when we compare multiple reports.
Q1: Can we change the names with more information? Will this interrupt many places in testing?
Q2: Those reports locate at different folders for a single test, can we collapse the path structure like /tmp/tritonbench/<operator>/debug_type_name_input_nsys_output.nsys-rep? and add mode(fwd,bwd,fwd_bwd) etc.?
Q3: Can we add username into the path? like /tmp/tritonbench/user or /tmp/tritonbench_user like torchinductor? This can help for multi-users servers' testing.
@xuzhao9

Sure, all the changes make sense to me. We can add helper functions in path_utils.py to manage the output paths.


Update the RecursiveSNARK API (Nova forward port)

Ports https://github.com/microsoft/Nova/pull/238 and https://github.com/microsoft/Nova/pull/242 (squashed together, as part of #242 reverts part of #238).
TL;DR, z0 no longer needs to be provided to Nova on every prove_step, and the creation of the RecursiveSNARK copies a set of z0_{primary, secondary} passed by reference. This is expected to require adjustment in Lurk.
I added one commit for the SuperNova adjustments.

Companion PR at https://github.com/lurk-lab/lurk-rs/pull/811


Camera stops streaming after a few minutes

Which version are you using?
v1.0.1
Which operating system are you using?

[ ] Linux amd64 standard
[x] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
Camera stops streaming after a short period, appears to be due to the url coming from google being incorrect. To note: this did not happen in nest-rtsp, in case that helps to diagnose a difference here!
Describe how to replicate the issue
Add a nest wired doorbell camera, start the container and after a random amount of time (usually a few minutes) the stream fails and does not work until the docker container is restarted (sometimes disabling and enabling the camera works but this is not consistent)
Did you attach the server logs?
{"level":50,"time":1725131891867,"pid":8,"hostname":"93f60798ad73","service":"camera-1","msg":"Error starting FFmpeg process:"}
{"level":30,"time":1725131891867,"pid":8,"hostname":"93f60798ad73","service":"camera-1","msg":"Starting FFmpeg process for RTSP stream"}
{"level":30,"time":1725131891867,"pid":8,"hostname":"93f60798ad73","service":"pm3","msg":"Starting process: camera-1"}
{"level":30,"time":1725131891867,"pid":8,"hostname":"93f60798ad73","service":"pm3","msg":"Starting new process: camera-1"}
{"level":50,"time":1725131891910,"pid":8,"hostname":"93f60798ad73","service":"gstreamer","camera":"camera-1","msg":"-vsync is deprecated. Use -fps_mode"}
{"level":50,"time":1725131902025,"pid":8,"hostname":"93f60798ad73","service":"gstreamer","camera":"camera-1","msg":"[rtsp @ 0x7ff9e8b4e600] method DESCRIBE failed: 404 Not Found"}
{"level":50,"time":1725131902025,"pid":8,"hostname":"93f60798ad73","service":"gstreamer","camera":"camera-1","msg":"[in#0 @ 0x7ff9e8c458c0] Error opening input: Server returned 404 Not Found"}
{"level":50,"time":1725131902025,"pid":8,"hostname":"93f60798ad73","service":"gstreamer","camera":"camera-1","msg":"Error opening input file rtsps://stream-eu1-bravo.dropcam.com:443/sdm_live_stream/{{removed}}"}
{"level":50,"time":1725131902025,"pid":8,"hostname":"93f60798ad73","service":"gstreamer","camera":"camera-1","msg":"Error opening input files: Server returned 404 Not Found"}
{"level":30,"time":1725131902033,"pid":8,"hostname":"93f60798ad73","service":"pm3","msg":"Process exited: camera-1"}

Did you attach a network dump?
no

Did a bit of digging - it looks like the ExtendRtspStream functionality returns a new access token, which in turn invalidates the old rtsp url and requires a new one (with the new access token query parameter ?auth=g.0. in it)


vectorize fails on datetime

There are a couple issues here:
When I construct a function with vectorize, seemingly equivalent ways to construct the signature yield different errors:
First try:
import numpy as nb
import numpy as np

@nb.vectorize(nb.types.NPDatetime('us')(nb.int64))
def convert_it(x):
    return np.datetime64(x)

gives: TypeError: 'NotImplementedType' object is not callable
Second try:
import numba as nb
import numpy as np

@nb.vectorize('NPDatetime("us")(int64)')
def convert_it(x):
    return np.datetime64(x)

gives: TypeError: Invalid datetime metadata string "(us)" at position 1.
In the latter case, the signature name 'datetime64(ns) is being passed to np.dtype here: https://github.com/numba/numba/blob/master/numba/npyufunc/ufuncbuilder.py#L158 which fails because it should be datetime64[ns]. However after adding that change, numba crashes the interpreter:
diff --git a/numba/types.py b/numba/types.py
index d4b7438..284a35a 100644
--- a/numba/types.py
+++ b/numba/types.py
@@ -212,7 +212,7 @@ class _NPDatetimeBase(Type):
     """

     def __init__(self, unit, *args, **kws):
-        name = '%s(%s)' % (self.type_name, unit)
+        name = '%s[%s]' % (self.type_name, unit)
         self.unit = unit
         self.unit_code = npdatetime.DATETIME_UNITS[self.unit]
         super(_NPDatetimeBase, self).__init__(name, *args, **kws)

In [3]: @nb.vectorize('NPDatetime("us")(int64)')
def convert_it(x):
    return np.datetime64(x)
   ...:

In [4]: convert_it(np.datetime64('now').view('int64'))
/Users/pcloud/miniconda/envs/py27/bin/python.app: line 3: 22194 Segmentation fault: 11

@cpcloud , it seems numpy won't less us call ufuncs with non-unitless datetimes and timedeltas, so we're cooked:
>>> def identity(x): return x
...
>>> ii = vectorize([types.NPTimedelta('s')(types.NPTimedelta('s'))], nopython=True)(identity)
>>> ii(np.timedelta64(5))
numpy.timedelta64(5)
>>> ii(np.array([np.timedelta64(5)]))
array([5], dtype=timedelta64)
>>> ii(np.timedelta64(5, 's'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: ufunc 'ufunc' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
>>> ii(np.array([np.timedelta64(5, 's')]))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: ufunc 'ufunc' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

Built-in ufuncs such as np.add use a special resolver (e.g. PyUFunc_AdditionTypeResolver) that hardcode some datetime coercion rules. Numba ufuncs can only use the generic resolver (PyUFunc_DefaultTypeResolver), short of reimplementing our own resolver...
So if you want to vectorize datetime/timedelta operations, my best advice would be to use @jit, not @vectorize.

@pitrou I just stumbled upon this limitation, which for people who do a lot of work with time-series data is a significant one.  Has anything been done to communicate with the NumPy developers about getting a fix in NumPy that would enable supporting time units in Numba vectorize?

Categorizing this as a feature request that is awaiting changes in NumPy. Numpy has plans to improve ufunc dispatch (https://github.com/numpy/numpy/pull/16723)

The NumPy PR above has been merged, and apparently there is now a C API.
Would the easy solution just be copying the code for PyUFunc_AdditionTypeResolver into Numba and using that as a resolver?


XAML FlipView sample code is out of date

[Enter feedback here]
I'm looking into Flip View control, the code liked to XAML FlipView sample is out of date, and can't be opened by Visual Studio 2017. So can you upgrade it?

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

ID: aba6bc61-ac42-754f-7410-56e4a0c64a8e
Version Independent ID: 53e11f76-e089-090e-1a8c-b53c6c9c9a1d
Content: Guidelines for flip view controls - Windows UWP applications
Content Source: windows-apps-src/design/controls-and-patterns/flipview.md
Product: uwp
Technology: design
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

We have more up-to-date samples in the GitHub repos. Here:
https://github.com/Microsoft/Xaml-Controls-Gallery
and here:
https://github.com/Microsoft/Windows-universal-samples
@predavid can you fix the link in this article to point to a modern sample in the controls gallery?

Thanks. @jevansaks


Window title is untitled when no files are open

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
The title of the window is untitled even when there is no new/untitled file open.
Steps to Reproduce

Open a project folder
Ensure all file tabs are closed

Expected behavior:
The title of the window should show the location of the project folder, so that when you are viewing the window and the tree view happens to be scrolled down (moving the root folder out of view) you will still know what window you're looking at.
Are present, if you have multiple windows open, they will all say untitled which isn't very helpful. I'm pretty sure this has been introduced in one of the latest releases and that it didn't use to be like this.
Actual behavior:
The title of the window says untitled
Reproduces how often:
100%
Versions
Atom 1.14.0-dev-157e8e1
OS X 10.11.5

I was able to reproduce the issue using Atom v1.14.0-beta3 on Mac OS X 10.12.3. Thanks for reporting this! (I had actually seen the bug before but hadn't gotten around to filing it :blush:)

Cheers, I wasn't sure if it was a regression or just something that I only noticed recently!


Merge this cool component for private use

Description

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[ ] 🌎 Translation (addition or update a translation)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

Checklist

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

nvm, sorry created the PR on the wrong repo


(maint) Merge 5.5.x -> 6.0.x

CLA signed by all contributors.

Thanks @tavilarion! There's an additional conflict now that I merged the server list change. I'll submit a new merge up PR