Space does not scroll on web

Pressing the spacebar should scroll the page by default. https://gallery.flutter.dev/

cc @Piinks

Removing the web label. Even though this functionality is expected on the web (perhaps only on the web), it seems the fix is purely on the framework side. However, if we find that a web engine side fix is needed, let's put the web label back.

I do not know where in the gallery you are expecting to see this behavior, so it is hard to say why it is not working as expected. Can you provide more information @guidezpl ?
The space bar is already set up to scroll content by default on web:
https://github.com/flutter/flutter/blob/f1f559df7384558edfa449c2aa571eb07a1ea1bf/packages/flutter/lib/src/widgets/app.dart#L1212
Shortcuts are based on focus, so if the current focus is not within a scrollable widget, it will see if the enclosing PrimaryScrollController has a position attached to apply to as a default. PrimaryScrollControllers do not attach automatically on desktop, so you may need to specify which scrollable is primary (or the default one for shortcuts in your case).

I was hoping it would just work on the home page. Thanks for the pointers, I had to specify primary for spacebar to work. Should we document this somewhere?
Also, there was this weird bounce-back behavior, any clues as to what that is?
https://user-images.githubusercontent.com/6655696/183131509-5a1da602-e141-4903-afe3-06dde0b3bc6f.mp4

I was hoping it would just work on the home page.

In the video above, the home page has 4 vertical scroll views. In the past, all of them would attach to the primary scroll controller, and things like keyboard shortcuts would break. When there are this many scroll views, the PSC can't decide for the user which is the 'main' scroll view, whih is why the developer needs to set primary to true for the one it wants to respond by default.

Also, there was this weird bounce-back behavior, any clues as to what that is?

Sorry, no. I would file a separate issue.
There are a bunch of docs on this, but if you went looking for guidance somewhere and did not find it where expected, we should definitely add more.
https://master-api.flutter.dev/flutter/widgets/PrimaryScrollController-class.html
https://master-api.flutter.dev/flutter/widgets/ScrollAction-class.html
https://master-api.flutter.dev/flutter/widgets/ScrollView/primary.html
https://master-api.flutter.dev/flutter/widgets/SingleChildScrollView/primary.html
https://flutter.dev/go/default-scroll-action
https://flutter.dev/go/update-psc
https://docs.flutter.dev/release/breaking-changes/primary-scroll-controller-desktop


using v7a in 64 cpu cause peerview show nothing

when i use beta-3 version，Compiling client deemo using v8a is normally, but only using v7a will report an error , the remote peerview doesn't work and show nothing , it cause:
E/RoomClient: "newConsumer" request failed:
E/RoomClient: org.mediasoup.droid.MediasoupException: Session error code: ERROR_CONTENT. Session error description: Failed to set remote audio description send parameters..
E/RoomClient: org.mediasoup.droid.MediasoupException: Session error code: ERROR_CONTENT. Session error description: Failed to set remote audio description send parameters..
at org.mediasoup.droid.RecvTransport.nativeConsume(Native Method)
at org.mediasoup.droid.RecvTransport.consume(RecvTransport.java:48)
at org.mediasoup.droid.lib.RoomClient.onNewConsumer(RoomClient.java:1052)
at org.mediasoup.droid.lib.RoomClient.access$300(RoomClient.java:38)
at org.mediasoup.droid.lib.RoomClient$2.lambda$onRequest$2$RoomClient$2(RoomClient.java:596)
at org.mediasoup.droid.lib.-$$Lambda$RoomClient$2$8B9dCuDRW2LL5UzQlkr80_pqLG0.run(lambda)
at android.os.Handler.handleCallback(Handler.java:755)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
E/RoomClient: unknown protoo notification.method downlinkBwe

+1

+1

+1

+1

@tirrcute Did you find the solution?


change the additional-tip calculation

Alex noticed that with the current network conditions (gas price ~ 50Gwei) we might be overpaying the Flashbots, giving them fixed 7Gwei tip increase.
This PR aims at lowering the additional tip in low gas price network conditions.

Codecov Report

Merging #1627 (b1546ef) into main (cfcc240) will decrease coverage by 0.00%.
The diff coverage is 48.71%.

@@            Coverage Diff             @@
##             main    #1627      +/-   ##
==========================================
- Coverage   66.59%   66.59%   -0.01%
==========================================
  Files         172      172
  Lines       33748    33764      +16
==========================================
+ Hits        22476    22486      +10
- Misses      11272    11278       +6


Writing one data source to multiple destinations

Idea is to creating a special output plugin that invokes multiple output plugins.

For multiple inputs to multiple outputs (e.g. csv file1 -> postgresql table1, csv file2 -> postgresql table2), an idea is to add another type of guess plugin that generates "multi-action" config file. The special guess plugin generates multiple in: sections and share common configuraiton by using yaml's object reference.
For example,
in: &in
  type: mysql
  database: mydb
  user: root
  # table is not here
out: &out
  type: postgresql
  database: mydb
  # table is not here
+action1:
  in:
    <<: *in
    table: table1
  out:
    <<: *out
    table: table1
+action2:
  in:
    <<: *in
    table: table1
  out:
    <<: *out
    table: table1

where +XYZ are the actions that invoke embulk runner.


Indicating polygon vertices with small circles

I am using OpenLayers 3 and have more or less implemented everything in my requirements list, except one thing: I am asked to somehow make the polygon rendering indicate the polygon's vertices with small circles.
This helps the users avoid creating accidental overlaps (or slivers) in the polygons they draw, when a neighboring polygon's edge appears to be a straight line, but in fact it's almost a straight line, and has a vertex right along its middle. Here's an example - look at the right edge of Polygon A below:

In plain words, the desired polygon outline is not just a line - it is a line "adorned" with small circles in all the places where there is a vertex.
How can I do that in OL3? I searched in the ol.style.Style docs (that is, the style I pass via setStyle to the ol.layer.Vector containing my polygons), but didn't find anything relevant.

You could this by setting a geometry function returning a MultiPoint geometry with all vertices on the style. See also this example: http://openlayers.org/en/master/examples/earthquake-clusters.html
But please ask questions on the mailing list or StackOverflow.

@tsauerwein do you know how to display both the polygon and its vertices?

@elemoine You have two styles, one for the polygon and one for the points. And the style for the points has a custom geometry function:
var styleFunction = function() {
  var image = new ol.style.Circle({
    radius: 5,
    fill: null,
    stroke: new ol.style.Stroke({color: 'orange', width: 2})
  });
  return [
      new ol.style.Style({
          image: image,
          geometry: function(feature) {
              var coordinates = feature.getGeometry().getCoordinates()[0];
              return new ol.geom.MultiPoint(coordinates);
          }
      }),
      new ol.style.Style({
        stroke: new ol.style.Stroke({
          color: 'blue',
          width: 3
        }),
        fill: new ol.style.Fill({
          color: 'rgba(0, 0, 255, 0.1)'
        })
      })
  ];
};

http://jsfiddle.net/gnegwsgx/

Neat, wouldn’t this deserve an example?

@tsauerwein, I see. Thanks for the answer.

agree with @tonio that this would make a nice example

Thank you for posting the answer to this - I tested the geometry function and it works perfectly.
As for asking on StackOverflow first, I did - and I just added your response there.

Great work, I think this is part of examples section in OpenLayers page. Could someone help me select these created circles. I need to allow certain functionality only to these circles on the corners of a Polygon..

@elemoine You have two styles, one for the polygon and one for the points. And the style for the points has a custom geometry function:
var styleFunction = function() {
  var image = new ol.style.Circle({
    radius: 5,
    fill: null,
    stroke: new ol.style.Stroke({color: 'orange', width: 2})
  });
  return [
      new ol.style.Style({
          image: image,
          geometry: function(feature) {
              var coordinates = feature.getGeometry().getCoordinates()[0];
              return new ol.geom.MultiPoint(coordinates);
          }
      }),
      new ol.style.Style({
        stroke: new ol.style.Stroke({
          color: 'blue',
          width: 3
        }),
        fill: new ol.style.Fill({
          color: 'rgba(0, 0, 255, 0.1)'
        })
      })
  ];
};

http://jsfiddle.net/gnegwsgx/1/

If I want to change the current click vertice`s style, like change it`s color, how can I do?

Because I want to remove this vertice by modify.removePoint(). (For better user experience).


Linking failed for ANTSIntegrateVelocityField

Building latest commit (as of 2015.07.10) with pull request #198 integrated to enable MINC support.
Linking CXX executable /opt/quarantine/ANTs/git/src/build/bin/ANTSIntegrateVelocityField
/opt/quarantine/ANTs/git/src/build/lib/libl_ANTSIntegrateVelocityField.so.2.1.0: undefined reference to `itk::MINCTransformIOFactoryRegister__Private()'
collect2: ld returned 1 exit status
make[5]: *** [/opt/quarantine/ANTs/git/src/build/bin/ANTSIntegrateVelocityField] Error 1
make[4]: *** [Examples/CMakeFiles/ANTSIntegrateVelocityField.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....

I suspect it may be related to recent commits adding xfm/minc support

That's a problem with ITK: http://review.source.kitware.com/#/c/19972/
will be fixed in the next release I suppose. Right now I am applying this patch when building ITK: https://raw.githubusercontent.com/BIC-MNI/minc-toolkit-v2/develop/cmake-modules/0001-BUG-Missing-ITKIOMINC_EXPORT-on-__Private.patch

Cool, it says merged so I think I can updated the ITK commitid for ANTS to get it building. Thanks @vfonov

Fixed by #205


Add dockerfile and edit readme.

I think you may need to tell others the docket image is provided by 3rd-party. I can not examine the image.

I think so.


Update to POGOProtos v2.0.0.

I'm closing this because I've already updated to 2.0.0 before I saw your pull request.

ok ok :-)


Merge _api.py and resource.py in code

          TODO - make an issue to port this functionality to the Resource class.

Originally posted by @tdstein in https://github.com/posit-dev/posit-sdk-py/pull/300#discussion_r1833107446

@schloerke - should we close this as not planned?


ctrlh outgoing calls are giving wrong caller id

calls from 691 (sidewalk) should give ctrlh incoming number
calls from 690 (indoors) should give incoming menu number
these currently give clinton street number, just because we didn't have anything correct at the time

all the bogus callerids now give the incoming leet number


Support recursive operators

Add support for recursive (RECURSIVE) operator definitions. See one basic example.

FYI: Apalache no longer supports recursive functions or operators: https://apalache.informal.systems/docs/apalache/principles/recursive.html

At least partially supported by default for some simple test cases.

Will test further in #33.


Final Capstone Project - Kanban Board

Hi,
There are 5 people in our group:

@meryemsanem
@abdozayan12
@yin-ka
@ClarenceAtim
@yemidada

Here is the link for the GitHub Project.
Here is the inital screenshot of the Kanban Board:

Hi @meryemsanem,
Wow, you did it 🎉

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
To highlight

All cards have assignees, descriptions, and pointings according to spec. ✔

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Simplify Plugin

Changes introduced with this PR
Simplify the example plugin to the smallest 'Hello World' example to facilitate the simplification of the corresponding Arcaflow workflow.

By contributing to this repository, I agree to the contribution guidelines.

Do you think it makes sense to, instead of making it simpler, we just make all but one field optional?

Do you think it makes sense to, instead of making it simpler, we just make all but one field optional?

It's a good question. We should consider what the use cases really are. If this is just to give basic hello world functionality for automation, perhaps this PR is the right approach. But as an "example" plugin, it may be useful to have something that looks a bit more complete for reference.

no longer necessary


Mobile sidebar button weird on scrolling

While scrolling on the mobile version, there is a button to open/collapse the sidebar. While scrolling without the sidebar open, however, the button seems to get cut off by the div content. Fix this.

This has been fixed a long time ago.


CORS issue : Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
origins = ["https://abcd-1234.preview.abc.com",
    "https://something.netlify.app","http://localhost:3000/",
    "http://localhost.tiangolo.com","https://localhost.tiangolo.com"
    ]

app.add_middleware(
    CORSMiddleware,
    allow_origins=origins,
    allow_credentials=True,
    allow_methods=["*"],
    allow_headers=["*"],
)

Description
Facing issue with : "https://abcd-1234.preview.abc.com
Access to XMLHttpRequest at 'https://server.com/login' from origin 'https://abcd-1234.preview.abc.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Whereas "https://something.netlify.app" is working fine.
Please suggest what to do ?
Operating System
Linux
Operating System Details
I am using codesandbox for frontend application and deta.sh for backend fastapi.
FastAPI Version
0.83.0
Python Version
Python 3.9
Additional Context
No response

hey, I currently have the same issue, the cors headers aren't responded. I can use the copy pasted script from the documentation (https://fastapi.tiangolo.com/tutorial/cors/), it won't work

Thanks for coming back to close the issue @malwaremanu ! ☕
@novitae it's probably better if you create a new issue, following the template, with a full self contained example, etc.

hey, I currently have the same issue, the cors headers aren't responded. I can use the copy pasted script from the documentation (https://fastapi.tiangolo.com/tutorial/cors/), it won't work

Can you share your code for "app.add_middleware" ?


Flexible RPC exporter for Prometheus

The goal of this PR is to enable Warnet users to specify exactly which RPC response data from which tanks to monitor in a Grafana dashboard.

Use a new Prometheus exporter image. We started off using https://github.com/jvstein/bitcoin-prometheus-exporter but this PR defines a new image (in resources/images/exporter) maintained by us at https://hub.docker.com/r/bitcoindevproject/bitcoin-exporter. This image checks for environment variable METRICS which should be a space-separated list of labels, RPC commands, and JSON result keys. e.g. inbounds=getnetworkinfo()["connections_in"]. See the updated docs in monitoring.md for more details.
Add a new "metrics" key to the graphml schema and pass its value to the exporter container
Add a new test logging_test.py that runs in CI (after installing helm!) This test starts a network with three nodes, one with default metrics, one with a custom metric, and one with none. After setup, it runs two scenarios and then pulls Prometheus data directly from the Grafana API (just like the web-based dashboard does). This test also runs install_logging.sh and connect_logging.sh logs look something like this:

2024-08-05 12:58:22 | INFO    | cnct_log | Attempting to start Grafana port forwarding
2024-08-05 12:58:22 | INFO    | cnct_log | Forwarding from <IP_ADDRESS>:3000 -> 3000
2024-08-05 12:58:22 | INFO    | cnct_log | Forwarding from [::1]:3000 -> 3000
...

2024-08-05 12:59:27 | INFO    | cnct_log | Handling connection for 3000
2024-08-05 12:59:27 | INFO    | test     | Got Prometheus data source uid from Grafana: PBFA97CFB590B2093
2024-08-05 12:59:27 | DEBUG   | test     | Waiting for predicate with timeout 300s and interval 5s
2024-08-05 12:59:27 | INFO    | test     | Making Grafana request...
2024-08-05 12:59:27 | INFO    | cnct_log | Handling connection for 3000
2024-08-05 12:59:27 | INFO    | test     | No Grafana data yet for blocks

...
2024-08-05 13:02:34 | INFO    | test     | Making Grafana request...
2024-08-05 13:02:34 | INFO    | cnct_log | Handling connection for 3000
2024-08-05 13:02:34 | INFO    | test     | Grafana data: blocks times:  [1722877290000,<PHONE_NUMBER>000,<PHONE_NUMBER>000,<PHONE_NUMBER>000,<PHONE_NUMBER>000]
2024-08-05 13:02:34 | INFO    | test     | Grafana data: blocks values: [323, 323, 329, 329, 335]

In addition, a few clean-ups were stuffed into the pull request:

Additional grafana.ini settings were added to disable login entirely for Grafana
For reliability in a subprocess in a test, connect_logging.sh is now more resilient with a try/catch/retry
tx_flood scenario was fixed to work with only 3 nodes

I got the graphana page to open, but when I navigated to Explore -> Metrics, the webpage said it was "Unable to retrieve metric names".
My steps were: started minikube, did installlogging and connect logging, and I also added the suggested metrics to the default graphml file before starting warnet.
I did notice kubectl had a number of  pods and statefulsets with issues:
NAMESPACE        NAME                                                         READY   STATUS                  RESTARTS        AGE
warnet-logging   pod/alertmanager-prometheus-kube-prometheus-alertmanager-0   0/2     Init:CrashLoopBackOff   6 (4m28s ago)   10m
warnet-logging   pod/prometheus-prometheus-kube-prometheus-prometheus-0       0/2     Init:CrashLoopBackOff   6 (4m53s ago)   10m

NAMESPACE        NAME                                                                    READY   AGE
warnet-logging   statefulset.apps/alertmanager-prometheus-kube-prometheus-alertmanager   0/1     10m
warnet-logging   statefulset.apps/prometheus-prometheus-kube-prometheus-prometheus       0/1     10m

@willcl-ark I committed a default dashboard template and documented its use: https://github.com/bitcoin-dev-project/warnet/blob/4fb03b133a0558fc01ae6183d64cd392ac1b10e7/docs/monitoring.md
this will work with the default.graphml graph. Follow up PR will make that curl command more pretty

Thanks @pinheadmz , will test it out shortly

@mplsgrant too many open files ?? 👀

@pinheadmz I'm not sure what that's all about. I upped my minikube to 8 cpus and 32 gigs of memory, but I got the same error.

To resolve the "too many files" issue, I updated my /etc/sysctl.conf as per the docs.
I would say that this is a requirement for graphana.

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts
Reviewers, this pull request conflicts with the following ones:

#421 (make pip install warnet use prod by willcl-ark)
#419 (warcli cluster refactors by willcl-ark)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts
Reviewers, this pull request conflicts with the following ones:

#421 (make pip install warnet use prod by willcl-ark)
#419 (warcli cluster refactors by willcl-ark)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

nice


Setup Traefik

Add traefik to the docker compose file.
Don't know yet how and what you can configure traefik, but we will use it for load balancing and redirects.
Redirects to be configured:

novel.baaka.io -> https://novelbaakaio.netlify.app/
novel.baaka.io/api -> novel:3000 (inside docker network)

Because of the horrendous documentation of traefik I had to struggle a lot and even didn't find some things that are required for this project. I won't use traefik and am going to try Caddy next.


Integration Test - Release - 2018/06/12 22:44:31

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest3 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Spyder forces discrete graphics on OSX

I've found other related issues but have not been able to resolve this issue. I ran conda update spyder and conda update --all. Launching spyder still switches to my discrete graphics.
Issue Report Checklist

[X ] Searched the issues page for similar reports
[X ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ X] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[NA ] Could not reproduce inside jupyter qtconsole (if console-related)
[ X] Tried basic troubleshooting (if a bug/error)

[ X] Restarted Spyder
[ NA Reset preferences with spyder --reset
[X ] Reinstalled the latest version of Anaconda
[NA ] Tried the other applicable steps from the Troubleshooting Guide

[X ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Spyder forces discrete graphics on OSX
What steps reproduce the problem?

Launching spyder

What is the expected output? What do you see instead?
No switch to discrete graphics. Switch to discrete graphics. :)
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version: Spyder 3.3.4
Python version: Python 3.6.6 64-bit
Qt version: Qt  5.9.6
PyQt version: PyQt5 5.9.2
Operating System name/version: Darwin 18.5.0

Dependencies

IPython >=4.0     :  7.4.0 (OK)
cython >=0.21     :  0.29.6 (OK)
jedi >=0.9.0      :  0.13.3 (OK)
matplotlib >=2.0.0:  3.0.3 (OK)
nbconvert >=4.0   :  5.4.1 (OK)
numpy >=1.7       :  1.16.2 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
psutil >=0.3      :  5.6.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pyflakes >=0.6.0  :  2.1.1 (OK)
pygments >=2.0    :  2.3.1 (OK)
pylint >=0.25     :  2.3.1 (OK)
qtconsole >=4.2.0 :  4.4.3 (OK)
rope >=0.9.4      :  0.12.0 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
sympy >=0.7.3     :  1.3 (OK)

Please go to
Preferences > General > Advanced Settings > Rendering engine

and select there Automatic. That should fix this problem.

This didn’t work for me. It’s still switching. I tried starting both from anaconda navigator and from a command prompt in a python3 conda env and in both cases it switches my GPU and switches back when I exit spyder.

On May 9, 2019, at 7:59 AM, Carlos Cordoba<EMAIL_ADDRESS>wrote:
Please go to
Preferences > General > Advanced Settings > Rendering engine
and select there Automatic. That should fix this problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/9302#issuecomment-490873564, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZYPGQKRCBRQMWZ2UDVMYLPUQGYPANCNFSM4HLWFOOQ.

Sorry but that's the only thing we do to change that could affect your graphics card. Is there also a switch when after Navigator is started?

No, nothing happens when Navigator is started/stopped, only when spyder is then started/stopped. I just tried rebooting and then starting only Spyder - same problem. I triple checked the pref and rendering engine is set to automatic. Anaconda Navigator shows as not requiring high oerf gpu until I starts spyder, then it does.
I'd love to get this working to save my battery life when I'm not powered.
Thanks!
Elizabeth

We'll take a look at it after we release Spyder 4, unless @goanpeca has time to do it before that.

I recall doing something for navigator that in theory should have fixed it, but I think it was not working.
It had to do with a setting of the Spyder OSX app.

https://bugreports.qt.io/browse/QTBUG-62009
https://developer.apple.com/library/archive/qa/qa1734/_index.html

This mac is:
MacBook Pro (Retina, 15-inch, Mid 2015)
AMD Radeon R9 M370X 2 GB
Intel Iris Pro 1536 MB

If I understand
https://bugreports.qt.io/browse/QTBUG-62009
correctly, this can be caused by us importing QtQuick in app/mainwindow.py to set the OpenGL implementation set in our Preferences.

Hello! I encountered the very same issue, and have found what so far seems to be an effective resolution. Just add the following in the info.plist folder inside of the Python app within the Anaconda folder:
<key>NSSupportsAutomaticGraphicsSwitching</key> 	<true/>
I've so far found it to work perfectly. I'll say otherwise if that stops being the case.
Here's an informational image:

Make sure to put a newline between the true part and the Anaconda part.

@eagene Does this work?
@ccordoba12 Are there any potential issues I could be missing here?

I only tried a single quick test, but it seems to work!
Thanks so much, Christian.
Elizabeth

On Nov 20, 2019, at 2:34 PM, Christian Moore<EMAIL_ADDRESS>wrote:
@eagene https://github.com/eagene Does this work?
@ccordoba12 https://github.com/ccordoba12 Are there any potential issues I could be missing here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/9302?email_source=notifications&email_token=ABZYPGUUKL6QU2UJB2SLPGLQUWGMZA5CNFSM4HLWFOO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEUFDZY#issuecomment-556290535, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZYPGSORWHUDB5VZCKZ5I3QUWGMZANCNFSM4HLWFOOQ.

it's still an issue with Spyder 4.1.4
your code worked a treat - thanks @Christian-Moore

@ccordoba12 Are there any potential issues I could be missing here?

I'm very sorry for jus answering to your question now. I just missed your message. I'm still not sure, but probably there won't be because your change only applies to Spyder.

@steff456, please create a pull request with @Christian-Moore's suggestion on this feedstock: https://github.com/conda-forge/python.app-feedstock (don't forget to ping on it too).
Then we'll inform the Anaconda team that they need to apply that patch to their python.app package as well.

This problem was fixed upstream by @steff456 here:
https://github.com/conda-forge/python.app-feedstock/pull/14
Now users need to wait for her fix to be picked up by Anaconda.


[Responsiveness] Catalog - filtered results arn't within device dimentions

Description

Link to website: https://meshery.io/catalog
Path: Filters > Categories
Path: Filters > Compatibility
On mobile device, some filtered text appears cut off, as a result of not being contained within the device width.

Screenshots

Environment:

Host OS: Device Name - Samsung Galaxy Core, Dimensions - 129.3mm  (5.09 in) H / 67mm (2.6 in) W
Browser:

Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

📚 See contributing instructions.
🎨 Wireframes and designs for Layer5 site in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack.

Join the Layer5 Community by submitting your community member form.

Transefer assignemnt from layer5 repo to here for @shiivamtaneja

Hi could you assign this issue to me

Go ahead @shiivamtaneja


How would I restart with an earlier version number?

I have a repo currently at version 1.6.1 and have been using release-please to create tags and releases. Our team would like to restart the version count at 0.0.1 since we are technically still in beta. Is this as simple as resetting the manifest file back to 0.0.1? Or is there more involved (deleting all previous tags/releases, etc)? Are there any side-effects I need to be aware of? Is what I'm trying feasible or unadvisable?

If you are using a manifest config, it is possible to simply reset the version numbers using bootstrap-sha (telling release-please to only consider commit messages after that specific commit sha) and to reset the version in the manifest json to 0.0.0.
However, you will likely want to delete all the existing tags/releases because at some point you will probably collide with an existing tag and release-please does not expect that (and will likely behave poorly).


Remove O3_2DTDS from summary bash template

This commit removes lines related to O3_2DTDS.
Ozone doesn't have surface emissions, so it makes no sense to list ozone surface emission tendency (i.e., from the variable O3_2DTDS) in the summary table. This also removes an unnecessary E3SM output variable and saves I/O.

Test successfully.


Master merging gcs browser

This PR merges the GCS browser officially into master. The strings review will come in later than expected, so there will be subsequent PR with updated strings if needed.
The code has been already reviewed before and there were no significant conflicts to be resolved.

Codecov Report

Merging #707 into master will decrease coverage by 0.74%.
The diff coverage is 0.05%.

@@            Coverage Diff            @@
##           master    #707      +/-   ##
=========================================
- Coverage    7.33%   6.58%   -0.75%
=========================================
  Files         429     470      +41
  Lines       15310   17058    +1748
=========================================
+ Hits         1123    1124       +1
- Misses      14187   15934    +1747

Impacted Files
Coverage Δ

...xtension/PickFileDialog/PickFileWindowViewModel.cs
0% <ø> (ø)
:arrow_up:

...tension/GoogleCloudExtension.GitUtils/GitCommit.cs
0% <ø> (ø)
:arrow_up:

...nsion/GoogleCloudExtension.OAuth/OAuthLoginFlow.cs
0% <ø> (ø)
:arrow_up:

.../CloudExplorer/CloudExplorerToolWindowControl.xaml
0% <ø> (ø)
:arrow_up:

.../Events/GcsFileBrowserStartRenameDirectoryEvent.cs
0% <0%> (ø)

...leCloudExtension/GcsFileBrowser/GcsBrowserState.cs
0% <0%> (ø)

...oudExtension/GcsFileBrowser/GcsBrowserViewModel.cs
0% <0%> (ø)

...loudExtension.GcsUtils/GcsFileTransferOperation.cs
0% <0%> (ø)

...gleCloudExtension.GcsUtils/FileOperationsEngine.cs
0% <0%> (ø)

.../GoogleCloudExtension.DataSources/GcsDataSource.cs
0% <0%> (ø)
:arrow_up:

... and 88 more

Continue to review full report at Codecov.

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


Inconsistent allowance of annotation keyword with properties

EdgeDB Version: 1.0.0-beta.2
OS Version: macOS 11.4 (20F71)

Steps to Reproduce:
Use a schema example below then run: edgedb create-migration --non-interactive
While adding an annotation to a static property, I can get a valid schema by both specifying an annotation using the keyword or by leaving it out.
type Test {
        required property pass -> bool {
            annotation description := "this passes"
        };
    }

as well as
type Test {
        required property pass -> bool {
            description := "this also passes"
        };
    }

When adding an annotation to a computed property however, only the schema where I leave out the annotation keyword passes.
    type Test {
        required property fail := ( true ) {
            annotation description := "this fails"
        };
    }

returns me
error: Unexpected token: <Token IDENT "description">
  ┌─ ./dbschema/data.esdl:5:24
  │
5 │             annotation description :=
  │                        ^^^^^^^^^^^ It appears that a ',' is missing in a shape before 'description'

whereas
    type Test {
        required property pass := ( true ) {
             description := "this passes"
        };
    }

is good to go.
With links, both styles pass (just like static properties).

Huh.  It seems like the allowance of annotations without the annotation keyword is a parser oversight from the time when this was allowed.  Only the annotation foo is supposed to be valid syntax.  Thanks for noticing!

Hmm. I cannot reproduce declaration of annotations without the annotation keyword:
a> rollback; start transaction; start migration to { module default {
.. type Test {
..         required property pass -> bool {
..             description := "this also passes"
..         };
..     }
.. }; }; rollback;
OK: ROLLBACK TRANSACTION
OK: START TRANSACTION
error: 'description' is not a valid field
  ┌─ query:4:13
  │
4 │             description := "this also passes"
  │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error

Also, looking closer at the last two snippets, there appears to be a syntactic confusion.  What you've actually specified is not a DDL block with annotations, in fact it's an EdgeQL shape.  The correct syntax to specify both a computable expression and a block with annotations is to use the USING keyword:
    type Test {
        required property foo {
            using ( true );
            annotation description := "this fails";
        };
    }


beam elements

I've noticed that the software recognised 1m as 1 element in my model despite having 3m beam and columns, hence the reason for going over the 12-beam element limit for the demo version. How define 3m as 1 beam element on my model? I've attached a screenshot of my model below.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

ive managed to simplify the model which works. However I'm receiving an error that it's unable to locate the TEM file despite writing the correct name of the file and being located in the same place as my model file. The error I'm recieving is this: C/:CD_SAFIR2022.d.5 - DEMO\section: (Errno2) No such file or directory: 'C:CD_SAFIR2022.d.5 - DEMO\section' - will keep precedent determined value. How can I solve this?

this error is probably due to the fact that your file is rather called "section.TEM" than "section", no?

I renamed the file to "section.TEM" previously but that did not work also for some reason hence I changed it back to
"section" but it is still not working.

in your Windows Explorer, change the view to display the filenames WITH extensions, you will see that your file is indeed of name section.TEM. If still not working, send your files. Convert them first:

XXX.geo file: change name to XXX.geo.txt;
XXX.g4 file : change name to XXX.g4s.txt;
XXX.TEM file: change name to XXX.TEM.txt

thank you, this solved the issue. I'm running the XML file on Diamond but not all the time step is available. I've attached the geo, g4s, TEM file below. I've also attached images of the problem I'm having.

Final4.g4s.txt
Final4.geo.txt
section.TEM.txt

great for solving the problem in GmSAFIR. Now your execution of SAFIR ends up with a runtime error : "The following error was detected iby PARDISO in SBSTRUCTURAL: -4"
This problem has now be addressed at SAFIR help email<EMAIL_ADDRESS>


Fix 'Example 17' sample code from 'introToAngular'

This make your changes at 35:10 on 'Introduction to Angular.js in 50 Examples (part 1)' come true.
I can't believe anybody made this before, but thanks for that awesome lesson about Angular.js and the opportunity to make my first pull request on GitHub. Buy one get one free :dancer:

This is really nice, thank you.


Grid expand error: For the last row, it can't show the whole content in the  expanded panel

hello,
Here is a bug about the detail grid, need for help.
when i expanded the last row in the grid, a part of the detail content was not showed
see http://test.welcomest.com/ui/w2/bug/expand.html
(if you click the expand button at the 10st row, you can see the problem)

Can you please provide a working Fiddle/Bin/Pen to demonstrate the issue?
I cannot open the URL you've linked.

Closing issue: no response


kele--get-namespaced-resource: Make group and version optional

With #53, we implemented kele--get-namespaced-resource in such a way that group and version must always be provided. With the introduction of kele--get-groupversions-for-type in #55, this is no longer strictly necessary. That is, we can refine kele--get-namespaced-resource in such a way that the user needs to specify group and version if and only if there is ambiguity -- say, the same resource type name being specified in more than one group-version. In unambiguous cases, the function can simply pick the single possible group-version and work with that.
This paves the way to allowing end user to specify only the resource type and the object name as their GET parameters, paving the way to #45 tremendously.

Soft-blocks #45.


Commonly used Elastisearch queries and syntax info

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66741ecddd68c84f6dfc23db--harness-developer.netlify.app


Closes database connection at every health check

Codecov Report

Merging #183 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #183   +/-   ##
=======================================
  Coverage   86.71%   86.71%
=======================================
  Files          25       25
  Lines         256      256
=======================================
  Hits          222      222
  Misses         34       34

Impacted Files
Coverage Δ

health_check/views.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


JSON.stringify removes information from objects

As the title alludes, JSON.stringify only handles JSON objects. Those are only a subset of what a Javascript object can be.
Things like class instance names or functions are simply removed in the current implementation of the private Logger.stringify function.
Logging pure functions simply throws undefined and while rare and possibly almost never used in practice, this is highly inconsistent with the normal behaviour.

Solving this issue should also solve #26


[communication/send-email] Sending attachments with Mailgun is broken

Currently the mailgun map is sending all messages with application/x-www-form-urlencoded which corrupts the payload. My attempts to fix this ended up with Boundary not found for multipart/form-data request error.

Keeping this open until actual working map is delivered.


Issue related to Windows spotlight

After I installed the app, I can not manually change the background from Windows spotlight anymore, while I click the Windows spotlight icon "Learn about this picture", the popup content menu is nothing related to background pictures.

Please help. Thanks!
Happy Holidays!

this the "last uploaded" version:
https://web.archive.org/web/20240613014031/https://nilesoft.org/forum/viewtopic.php?t=21&sid=991564ba72bf76c8ef095e9d80b84f5f
https://github.com/moudey/Shell/issues/354#issuecomment-1986237067
I don't remember which one is the last one. In a week I will upload the one I am currently using.

https://github.com/RubicBG/Nilesoft-Shell-Snippets/blob/main/ext.desktop/sys.spotlight.md

Perfect! ^_^
It works! Amazing!
Thank you so much.


recombine task 8

8a + 8b -> 8
check if generators are still matching

code is slightly bad and difficult to debug

this was scary

I think it's done


multi schema, multi database migrations

Changes:

allow multi schema migrations via new attribute
split metadata into metadata_by_name/url
schema fixes
bump version

Sry for the big PR.


After accepting some completion, the schema of a kubernetes CRD used is changing and thus wrong validation error appears

using this CRD: https://github.com/apache/camel-k/blob/9e384110be106b4970af2e967e28e0877fa78359/config/crd/bases/camel.apache.org_kameletbindings.yaml
with this file:
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
  name: bitcoin-to-kafka
spec:
  integration:

calling completion and accepting on flows is giving a validation error. the schema used is no more the same.

I think this has been solved by https://github.com/Azure/vscode-kubernetes-tools/pull/924 . I tried and i don't see that validation error anymore with the new release. Closing it. Please re-open it if you face it again. Thanks!!


ZPM support

Thanks, Dmitry! I can look through compatibility on different installations once I have some time.
But anyway, I see a couple of cases not implemented here:

How does mapping to %All works here? Does it use projections anyway?
As well as mapping to all non-%All namespaces like SAMPLES and DOCBOOK?
There should be WebTerminal role set up, as well as WebTerminal Resource
WebTerminal reports installation status. Can this work in ZPM?

 Why not? Did you intentionally turn them off? You won't be able to cover everything with the install manifest; ISC products are just designed differently from the very beginning.
What you can do though, and what will be the most elegant thing is
RunProjections="1"

In the manifest :)

I can't just turn it off. I just did not put it in the package, that's it.
There are some issues with mapping, we don't have it, yet implemented in zpm. And another issue is, that IRIS Community Edition, does not allow mapping at all.
I think the best solution for ZPM will be something like npm scripts, so you would be able to call some code by some callbacks. Where you would be able to call installations reports, for instance.
Setting roles or any security should be as part of the manifest.
So, I'm sure every rollable change should be configured by manifest. Only in this case, I can be sure that instance will be better cleared after uninstall.

I can't just turn it off. I just did not put it in the package, that's it.
Say what?

Well, whatever we do in ZPM, I don't think that I will remove projections. Simply because of compatibility issues. Furthermore, supporting two installers and scripts is waaaay too complex...
Hence,

I'll maintain projections for 3 of my projects anyway
I'll need to maintain ZPM as well, I guess for newest ISC product versions

My opinion is still that RunProjections="1" is the best thing we can come up with.

I think the best solution for ZPM will be something like npm scripts, so you would be able to call some code by some callbacks.

Because if you allow scripts, you won't be ever able to

be sure that instance will be better cleared after uninstall.

I don't see any easy possibilities yet, for RunProjections="1"
As you know projection runs during compile, and we don't have any flags to stop it.

Wait, so they do run, don't they?

At this time, WebTerminal.Installer is just not in the package, if we include this class, the projection will work.

At this time, WebTerminal.Installer is just not in the package, if we include this class, the projection will work.

🙏

@daimor, to fix this thing I need to understand what ZPM build pipeline should look like:

What to output (I see <SourcesRoot>build</SourcesRoot> in module.xml, should we also create a build_zpm build, without Installer)?
How ZPM module is built and published. Do we even need build_zpm here, or is it manual for now?
I've just published WebTerminal v4.9.0. What is the process of publishing it to ZPM? Any docs on this?

If we just can put module.xml in the root of this repository this is fine only if all other jobs are manual. But I don't understand what your PR for. Thanks!

Sorry, was very busy last time. So,

build is output folder for your gulp, and then it used as a source of code in zpm, only this folder will appear in a final published package.
build zpm package is manual by now, yet. We don't have any entrypoints from OS side.
at the moment publishing packages not yet in public, not everything is finished on that side. I can do it, when I will find time.
my ideas was even to use GitHub Actions for that process, but it was not done, yet.
you can look at tgz file, by url https://pm.community.intersystems.com/packages/webterminal
and look how your package looks inside.

@daimor, thanks!
Latest Github Package Registry and GitHub actions are definitely great things for ZPM.
As for the current PR contents, build directory in this repository has a very specific meaning. To release a new WebTerminal version I run ./import.bat, which does create build directory, builds a project, then imports it into local Ensemble instance (I use 2017.1) and then export XML from there. And your PR just makes this pipeline broken.
What I would suggest is, because of the process of publishing things to ZPM is currently a manual process, we just leave only module.xml file in the root of this repo, without altering a general pipeline (by the way I cannot make it as a part of an automated CI pipeline, because exported files from 2019.* public Docker image seems to not import in previous versions). In other words, accepting only module.xml file from this PR.
Does this make sense? Can we close this PR then?

Alternatively, if we could create an automated CI pipeline for publishing WebTerminal to ZPM, as well as its XML, I would suggest creating a separate task for it, like the output to build_zpm or so.

It is not a big problem to make CI, for previous versions and for latest version, and build xml sources for older version from latest versions.
I would keep this PR, yet, until I will find the time, to check your concerns.

OK 👌

It is not a big problem to ... build xml sources for older version from latest versions.

At least I tried that, and it seems to be broken, unfortunately (because of new tags and properties in XML file introduced in 2019), as well as some other incompatibilities. They can be fixed out of IRIS instance (by simply replacing stuff in XML), but this would be a temporary crutch until the next version of IRIS kicks in (though we can live with 2019 image forever).

Did you try to export sources with flag /exportversion=2010.2
it should work even from IRIS to Cache, not back, yet.
IRIS had some issues in downgrading XML, but it should be fixed in 2019.3

Did you try to export sources with flag /exportversion=2010.2

Sounds really appealing, thanks! I'll definitely try that.

Changed a bit, can it be merged now?
Just only don't know how to deal with version in module.xml


Corrected some links, typos & referenced a sample

As Bot Builder Samples have already been migrated to MVC therefore, I chose the simplest MultiTurn sample and referred it here. The previously referenced sample is no more available in the Bot Builder Samples directory.

I agree, good suggestion. Thanks!

Related to #1102


Global functions to set/get shared values from the root context

Specific Demand
Dioxus should expose a global version of provide_root_context and a new global consume_root_context function. This would allow data stored in the root context to be treated similar to OnceCell, but with the added benefit of a guarantee that the data will be tied to the lifecycle of the context.
This would be especially useful for building more complex add-ons to dioxus that run outside the VDom, but store data for contexts in the VDom.
Implement Suggestion
The with_runtime function already underpins the existing provide_root_context implementation. This could be used to power a new global version fairly easily.

The global provide_root_context is defined here.
The global consume context from scope is defined here. You can get the root context like this: consume_context_from_scope(ScopeId::ROOT)

lol that is exactly my ask, glad to see it's already there ❤

Actually, I guess the only addition I would make to that is a provide_or_consume_context_context(ScopeId) function that is thread safe

Actually, I guess the only addition I would make to that is a provide_or_consume_context_context(ScopeId) function that is thread safe

provide_or_consume_context_context is a pretty simple combination of the two existing hooks to make without support within Dioxus. Unfortunately, I don't think we can make it thread safe. The only reason we can make the individual functions global (but not thread safe) is because we have a global context that is set within Dioxus futures, components, and event handlers. That global context cannot be multi-thread because you may have multiple different Dioxus runtimes on different threads operating at once in the SSR/fullstack renderer or Liveview.


refactor: remove common module

This PR removes the @sap/open-ux-tools-common module and moves the implementation into the client modules:

relevant translations are moved into @sap/odata-service-writer and @sap/fiori-freestyle-writer modules (please note that the keys are now hierarchical and lower camelCased: ERROR_FOO_NOT_VALID -> error.fooNotValid following the canonical case used for i18n keys).
getFilePaths() moves into @sap/ui5-application-writer
getPackageJsonTasks() moves into @sap/fiori-freestyle-writer

If we need to extract common functionality later, we'll have to either house them in common writers or utils. We will have more information to act on when the need arises.

Build failing due to unresolved todos from other PRs.

Why do we need to export the function t() doing nothing but calling i18next.t(). Suggestion: get rid of it in both places and simply import t from i18next where needed

Agreed. Could we do this when we need to extract this into a common translations module when required?

Why do we define the function initI18n() and then call it at the end of the very same file. Suggestion: remove the function and just call i18next.init directly

This is not ideal but it's done because we need to ensure the async initialization of i18n resources is done before t() is called. Otherwise every piece of code that calls t() has to be made asynchronous as well (because we need to call await initi18n(); before). Probably needs discussion.

Nevertheless, I am ok with the changes as long as the my suggestions will be considered before closing #133

Thank you. I'm for merging this now so that we can test the pipeline changes.


convert "add" task to font awesome add to list

discuss in scrum. team decide to remove font awesome icons.


Fedora 36 - Flatpak install does not launch

Ive found installing ModernDeck app through Flatpak does not launch. So, I tried launching this through terminal and have the following
flatpak run com.dangeredwolf.ModernDeck
{}
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 10:17:22.266: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:17:22.266: Failed to load module "pk-gtk-module"
Gtk-Message: 10:17:22.267: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:17:22.267: Failed to load module "pk-gtk-module"
[3:1001/101722.287786:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1001/101722.287852:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[45:1001/101722.738182:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
(node:3) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 did-stop-loading listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(Use `moderndeck --trace-warnings ...` to show where the warning was created)
(node:3) UnhandledPromiseRejectionWarning: Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error.
    at node:electron/js2c/renderer_init:93:395
    at EventEmitter.<anonymous> (node:electron/js2c/renderer_init:81:375)
    at EventEmitter.emit (node:events:390:28)
    at Object.onMessage (node:electron/js2c/renderer_init:69:746)
(node:3) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:3) UnhandledPromiseRejectionWarning: Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error.
    at node:electron/js2c/renderer_init:93:395
    at EventEmitter.<anonymous> (node:electron/js2c/renderer_init:81:375)
    at EventEmitter.emit (node:events:390:28)
    at Object.onMessage (node:electron/js2c/renderer_init:69:746)
(node:3) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:3) UnhandledPromiseRejectionWarning: Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error.
    at node:electron/js2c/renderer_init:93:395
    at EventEmitter.<anonymous> (node:electron/js2c/renderer_init:81:375)
    at EventEmitter.emit (node:events:390:28)
    at Object.onMessage (node:electron/js2c/renderer_init:69:746)
(node:3) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:3) UnhandledPromiseRejectionWarning: Error: An object could not be cloned.
    at EventEmitter.t.ipcRendererInternal.send (node:electron/js2c/renderer_init:85:328)
    at EventEmitter.<anonymous> (node:electron/js2c/renderer_init:81:357)
(node:3) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
[3:1001/101725.969688:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[45:1001/101742.325822:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[45:1001/101757.928847:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[45:1001/101801.987599:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

so I tried update and there everything appears up to date. I have checked the xorg version is the current version (not sure if that is relevant here).
I also downloaded the file ModernDeck_x86_64.AppImage and if I Run this, it works! But this is not ideal, as the runs it and isnt installed…
My system details
Dell XPS 13 9365
F36 Workstation Edition
Mesa Intel HD Graphics 615 (KBL GT2)
Gnome 42.4
Wayland

Thanks

ModernDeck has been updated to version 10.0.0, is the issue you were facing still present in the new version?

Sorry it took awhile to reply, but I wanted to let you know version 10 does work!
It is such a shame that there will be no further developments, but I appreciate your hard work and understand the position.
Thank you for all your years of putting this app out for everyone to enjoy!
Wish you the very best for the future pal!
Sent with Proton Mail secure email.
------- Original Message -------
On Sunday, February 12th, 2023 at 5:52 PM, dangered wolf @.***> wrote:

ModernDeck has been updated to version 10.0.0, is the issue you were facing still present in the new version?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Move of factories from module.php to module.config.php

In ZfcUser many factories have moved from module.php to module.config.php.
This resulted in the unwanted effect that the factories in ZfcUserDoctrineORM are ignored. In this PR the two overwritten factories are created as separate factories.

I am a bit confused. In ZfcUser/master which is currently not really under develoment I see that the services are all registered in the module.config.php where the new 2.x branch has moved al the code to the Module.php. For me both is fine, but what is best practice


Rtre20 92 timeline for viewer

Still bug interaction between loading overlay and slider
Styling of slider thumb showing metadata needs some more time but for now it works
still unsure of performence issues

Next step is to overhaul checkin and merge with some more inputs to enhance the user experience

History slider is now done and functional!


Can't use formatting because the color crate is broken

The "color" crate is broken and can't be built, therefore no Rgb struct can be passed to functions needing colors like set_background_color

I will look at this. May take a few days until I find the time.

thanks!

I updated my dependencies and ran my tests. Seems to be working?
Could you bring some error messages or so.

Turns out I used the wrong color crate (:skull:). Sorry for bothering you


Logging

Would it be sufficient just to define a few global functions that print to stdout like the following?
log_info(...)
log_warning(...)
log_error(...)
Or maybe would we also want to print the source file and line number?

I think file and line number is good.
I haven't thought about this much, but I would prefer something that could be channeled to standard I3 loggers. The minimum possible.

@javierggt
Is the goal to have this be an optional I3 project, or something installed separately and then used by I3 projects?
If the latter, it's almost impossible to directly hook into I3 logging.  But you can make an API for other code to "catch" the log messages and reformat them to I3.

Yes, here: http://code.icecube.wisc.edu/projects/icecube/browser/IceCube/sandbox/jgonzalez/i3corsika
The way I see it, whichever class that uses the reader can add a call back that routes things to the I3 loggers.

I defined three macros (corsika_log_info, corsika_log_error, corsika_log_fatal). Currently they just print out the error message, file name, line, and function name to stdout.
It should be trivial to have these macros call the i3 logging functions instead.


Is it possible to delete sessions excepts the actual (IS4 OIDC)

Question
I have an web application which is using IS4, If a user is already logged, and he wants to logged in another browser, IS4 should delete the sessions excepts the actual, is it possible to do that?

That's not really IdentityServer. That'd be done with the ASP.NET Core cookie authentication handler plumbing.


Cannot use @ark-ui/react v2.2.2 in server components with Edge runtime in Next.js

Description
I am getting the following error in using ark-ui/react with Edge runtime in Next.js.
../../node_modules/.pnpm/@ark-ui+react@2.1.1_@internationalized+date@3.5.2_react-dom@18.2.0_react<EMAIL_ADDRESS>Attempted import error: 'useState' is not exported from 'react' (imported as 'useState').

Is this error expected? I am not sure if @ark-ui/react tries to support Next.js server components or not.
Link to Reproduction (or Detailed Explanation)
https://codesandbox.io/p/devbox/vigorous-resonance-h2n274
Steps to Reproduce
Use @ark-ui/react without use client banner.
Ark UI Version
2.2.2
Framework

[X] React
[ ] Solid
[ ] Vue

Browser
No response
Additional Information

I have been observing that importing components with subpaths is the only way out like import  { Switch } from "@ark-ui/react/switch" instead of import { Switch } from "@ark-ui/react"
Removing export const runtime = "edge"; also works out

@IzumiSy
Thanks for taking your time to create this issue. A fix will be available in 2.2.3


uninitialized constant SyntaxTree::BraceBlock

Description
Reproduction steps

Start the Ruby LSP using VSCode
Open a Ruby file
Wait until the Ruby LSP server launches
Open Output Panel

This error message appears
2024-07-23 18:01:21.656 [info] (<Project>) [Info  - 18:01:21] Connection to server got closed. Server will restart.
2024-07-23 18:01:21.658 [info] (<Project>) false
2024-07-23 18:01:21.989 [info] (<Project>) Ruby LSP> Skipping custom bundle setup since /Users/tvd/code/<client>/<project>/.ruby-lsp/Gemfile.lock already exists and is up to date

2024-07-23 18:01:22.004 [info] (<Project>) Ruby LSP> Running bundle install for the custom bundle. This may take a while...
Ruby LSP> Command: (bundle check || bundle install) 1>&2

2024-07-23 18:01:22.268 [info] (<Project>) The Gemfile's dependencies are satisfied

2024-07-23 18:01:22.827 [info] (<Project>) Starting Ruby LSP...

2024-07-23 18:01:24.516 [info] (<Project>) bundler: failed to load command: ruby-lsp (/Users/tvd/.gem/ruby/3.3.3/bin/ruby-lsp)

2024-07-23 18:01:24.518 [info] (<Project>) /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/requests/folding_ranges.rb:17:in `<class:FoldingRanges>': uninitialized constant SyntaxTree::BraceBlock (NameError)

        SyntaxTree::BraceBlock,
                  ^^^^^^^^^^^^
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/requests/folding_ranges.rb:14:in `<module:Requests>'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/requests/folding_ranges.rb:4:in `<module:RubyLsp>'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/requests/folding_ranges.rb:3:in `<top (required)>'
	from /Users/tvd/.rubies/ruby-3.3.3/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
	from /Users/tvd/.rubies/ruby-3.3.3/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/handler.rb:106:in `block in respond_with_folding_ranges'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/document.rb:25:in `cache_fetch'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/store.rb:40:in `cache_fetch'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/handler.rb:105:in `respond_with_folding_ranges'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/cli.rb:50:in `block (2 levels) in start'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/handler.rb:45:in `handle'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/handler.rb:30:in `block (2 levels) in start'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/handler.rb:161:in `with_telemetry'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/handler.rb:30:in `block in start'
	from /Users/tvd/.gem/ruby/3.3.3/gems/language_server-protocol-<IP_ADDRESS>/lib/language_server/protocol/transport/io/reader.rb:20:in `read'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/handler.rb:29:in `start'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/lib/ruby_lsp/cli.rb:78:in `start'
	from /Users/tvd/.gem/ruby/3.3.3/gems/ruby-lsp-0.0.3/exe/ruby-lsp:8:in `<top (required)>'
	from /Users/tvd/.gem/ruby/3.3.3/bin/ruby-lsp:25:in `load'
	from /Users/tvd/.gem/ruby/3.3.3/bin/ruby-lsp:25:in `<top (required)>'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/cli/exec.rb:58:in `load'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/cli/exec.rb:23:in `run'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/cli.rb:455:in `exec'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/cli.rb:35:in `dispatch'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/cli.rb:29:in `start'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/exe/bundle:28:in `block in <top (required)>'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /Users/tvd/.gem/ruby/3.3.3/gems/bundler-2.5.13/exe/bundle:20:in `<top (required)>'
	from /Users/tvd/.gem/ruby/3.3.3/bin/bundle:25:in `load'
	from /Users/tvd/.gem/ruby/3.3.3/bin/bundle:25:in `<main>'

2024-07-23 18:01:24.524 [info] (<Project>) [Error - 18:01:24] Server process exited with code 1.

@tvdeyen The logs indicate a very old version of ruby-lsp from more than 2 years ago. The extension attempts to use the latest version, so it's likely that something in your bundle is constraining it.
To help troubleshoot, can you try temporarily add the latest version in your Gemfile (v0.17.8) and run bundle?

(please re-open if you need further assistance)

You're still running on the extremely old v0.0.3
2024-07-23 18:18:26.794 [info] (<Project>) Note: ruby-lsp version regressed from 0.17.8 to 0.0.3
Bundle updated!

As Andy mentioned, something in your bundle is locking the ruby-lsp gem to a super old version.
If you have the ruby-lsp in your Gemfile, remove it and reload the VS Code window.
If you don't, try to update the gem and check why that's failing.
BUNDLE_GEMFILE=.ruby-lsp/Gemfile bundle update ruby-lsp

If that command does not upgrade it to v0.17.8, then the project may be constraining one of the Ruby LSP's runtime dependencies, which are

rbs
sorbet-runtime
prism

@vinistock that actually worked 🎉
› BUNDLE_GEMFILE=.ruby-lsp/Gemfile bundle update ruby-lsp
Fetching gem metadata from https://gems.contribsys.com/..
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Resolving dependencies...
Using ruby-lsp 0.17.8 (was 0.0.3)
Bundle updated!

Since I do not have ruby-lsp in my Gemfile and none of the above mentioned gems I am not sure it's an issue on my end. I just installed the extension since it was released and kept it up to date since. 🤷🏻
My guess is Ruby 3.3.3 (that has issues with installing correct gems, no?)


[WIP/QRCoder2] Consider Removing Nested Types from Public API Signatures

MS design guidelines on the use of Nested Types suggests that they should be used sparingly and avoided in public API (amongst other recommendations).
PayloadGenerator comes to mind as well as some public enums in QRCodeGenerator. The nesting of types could be removed where unnecessary.

I don't think there's anything to add here. Where it makes sense, we can remove/unnest the nested types.

I added this as "decision" to the descision post of the meta issue. Thus I'll close this issue here, so that we can mark it as completed/decided in the "things to discuss" list here.


upgrading nanocount

The old version had a bug solved in 0.2.0.

Solved at https://github.com/biocorecrg/master_of_pores/commit/4cf54bbf9b77ab647de9ff781ef86dc541e1328d


Local Multiway System research page

Changes

Closes #334.
Adds a research page explaining how the local multiway system works, and showing some examples for both match-all and spacelike multiway systems.

Comments

This is a "living" document, and it will be improved in future PRs. Anybody can contribute, even if they are not the original author. For example, it will be updated once the progress is done on local isomorphism (see future research section).
The purpose of this pull request is essentially a peer-review of this bulletin. Feel free to leave comments for both the physics content, the system description, as well as small/technical comments about the explanation.
If you are not a SetReplace collaborator, you can still comment below.

Examples

Read the rendered version.

This change is

Is there anything trivially impeding a  distributed/parallel port of this wrapper, or at least enhancing efficiency in some order of magnitude tied to local GPU usage? Quite ironic that I should be able to deduce the answer myself from this work, if I understood a bit more about how to frame the question.

Is there anything trivially impeding a distributed/parallel port of this wrapper, or at least enhancing efficiency in some order of magnitude tied to local GPU usage? Quite ironic that I should be able to deduce the answer myself from this work, if I understood a bit more about how to frame the question.

No, not really. In fact, it's easier to implement for the multiway system because one does not have to worry about synchronizing event order (as one would have to do in a case of deterministic singleway evolution). Here is the relevant project.

Reviewable seems to be down for me... so I'll just quote text for now. To be honest, I find the final section a little but unclear.

This isomorphism testing can be done by considering every pair of sub-evolutions starting from the same inputs. Suppose their outputs are identical up to the renaming of new atoms. In that case, we can identify the resulting expressions so that the two branches end at the same set of expressions, even if the intermediate steps are different.

This is not clear enough that I can understand it. To understand a "pair of sub-evolutions" I need to understand a "sub-evolution"? Is a sub-evolution defined somewhere formally? Local multiway systems are quite unintuitive objects, and it is maybe misleading to think about them directly. An evolution in a local multiway system is quite non-local, for example these are all evolutions of a simple expression event graph:

In the example above, we will then get:

How will we get the graph you depict? By applying the "pair of sub-evolutions" algorithm you describe? If indeed you have a particular algorithm, then how can it be "[un]clear exactly how one should identify".
Also I suggest saying 'deduplicate' rather than identify here.

Another comment that is not a criticism, just more of a suggestion.
I do find the Mathematica-produced graphs to perhaps be less clear than hand-drawn graphs could be. The advantage of hand-drawn graphs is that you can use arrows, highlighting, text, etc. in a way that is too cumbersome to set up with Mathematica. Also, Mathematica's graph drawing tends to be wildly inconsistent in scale in a way that I find highly distracting and ugly (see the graph above "The current implementation of the local multiway system does not do that" for a good example of this).
Of course drawing is too painful if one does not have an iPad and Apple Pencil or similar input device. But I can recommend the application Affinity Designer as a high-quality vector drawing program for both iPadOS and MacOS / Windows.

evolution in a local multiway system is quite non-local

Can you explain in what sense are they non-local? Other than that, I expanded the description of both the deduplication algorithm and the example a bit so that hopefully they are more clear now.

Another comment that is not a criticism, just more of a suggestion.
I do find the Mathematica-produced graphs to perhaps be less clear than hand-drawn graphs could be. The advantage of hand-drawn graphs is that you can use arrows, highlighting, text, etc. in a way that is too cumbersome to set up with Mathematica. Also, Mathematica's graph drawing tends to be wildly inconsistent in scale in a way that I find highly distracting and ugly (see the graph above "The current implementation of the local multiway system does not do that" for a good example of this).
Of course drawing is too painful if one does not have an iPad and Apple Pencil or similar input device. But I can recommend the application Affinity Designer as a high-quality vector drawing program for both iPadOS and MacOS / Windows.

I cannot say I agree. The advantage of using computer-generated graphs is that it is clear what code is needed to generate them. It also proves that they are correct (at least so far as the code is correct).
In addition, hand-drawing is limited to small graphs. If one needs to have examples of large graphs in the note, they would have to look different, which would make it inconsistent.
With respect to the graph you mention, do you think the ImageSize should be reduced?
Just to be clear, I'm not saying it never makes sense to use hand-drawn pictures, but I do think given that all but three of the graphs here are auto-generated from evolution code, it makes more sense to produce them with code here.


[ConstraintSystem] Allow LValues for the bindings of an IUO @optional…

… requirement.
We were failing to bind the alternatives for an IUO @optional
requirement because we forgot to set the appropriate type variable option.
Fixes: rdar://problem/40868990

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please smoke test Linux platform

@xedin I think this is really just a straightforward mistake in an odd corner case, so hopefully not at all scary.

@swift-ci Please smoke test Linux platform


Added ACL configuration via Helm values

This PR adds convenient ACL configuration via Helm values, therefore eleminating the need to use this as a subchart in slightly more complex deployment scenarios. This should fix #183.

@dereulenspiegel Thanks, this looks good to me. Also does not change any existing behaviour, if I'm not mistaken.

@ioolkos correct If no ACLs are configured via the Helm values the templates should render exactly as before. At least that's the intention.


⚠ Permalink sharing

Changes
This is not ready for production, but wanted to get it in before I am out for the day tomorrow so @angaither will have something to work with. I am out for the day.

Added share buttons to the CTA pattern and styled it up. Need to move this in to neue.
Added some js to open the share links in a pop up window.
First pass at some functions to create share URLs for facebook, twitter, and tumblr.

@DoSomething/front-end

@sbsmith86 looks like you need to rebase this guy :grimacing:

@angaither whoops done

Lookin' pretty good! :art:


Diagram error

Hello,
On the page http://git-scm.com/2010/03/02/undoing-merges.html, I noticed there is twice commit C8 in the schemas which makes it confusing. One of them should be C9 which is missing.
I don't know if I'm right in reporting this because the page dates from 2010/03/02, but I didn't find the same page in the current documentation.
Regards,
Gaspard van Koningsveld

I would say the problem was solved through https://github.com/git/git-scm.com/commit/a52537d95be7d6d993f3001c6846c408722debdc on https://github.com/git/git-scm.com/pull/893 @peff

also, https://github.com/git/git-scm.com/issues/215 seems a duplicated from this one

Yea, looks fixed to me.


Cannot properly build Mac applications

electron-packager . ${APP_NAME} --platform=darwin --arch=x64 --version=${ELECTRON_VERSION} --out=${OUTPUT_DIR}/mac64

Apparently the above command doesn't output anything

Hi, can you answer these questions to help us triage your issue? https://github.com/maxogden/electron-packager/blob/master/CONTRIBUTING.md

Version: 4.1.3
CLI Arguments:
- Platform: Darwin
- Arch: x64
- Version: 0.28.1
- Out: /dist
Platform: Building for Mac
There was no stack trace.

@Stephn-R to clarify, are you building on a mac as well?

no I am building on a windows machine

+1 same issue, building mac on Windows. same params.
When running it with node, I get this error in the callback:
{ [Error: EXDEV, rename 'C:\Users\User\AppData\Local\Temp\electron-packager-mac
AppName.app']
errno: 52,
code: 'EXDEV',
path: 'C:\Users\User\AppData\Local\Temp\electron-packager-mac\AppName.app' }`

Ah, looks like a cross-device error which we've run into before. @normmcgarry is there a stack trace or a line number associated with that?

Looks like electron-packager\mac.js:83:27
Trace: { [Error: EXDEV, rename 'C:\Users\Norm\AppData\Local\Temp\electron-packag
er-mac\Hook Flash MOV Exporter.app']
  errno: 52,
  code: 'EXDEV',
  path: 'C:\\Users\\Norm\\AppData\\Local\\Temp\\electron-packager-mac\\Hook Flas
h MOV Exporter.app' }
    at s:\Repositories\Internal\Development\hook-internal-repos.internal-tools-f
lash-mov-exporter\trunk\app\index.js:19:15
    at moved (s:\Repositories\Internal\Development\hook-internal-repos.internal-
tools-flash-mov-exporter\trunk\app\node_modules\electron-packager\mac.js:83:27)
    at Object.oncomplete (fs.js:107:15)

Looks like #60. I'll file a PR later today.

Same Problem here...

@s-a whose problem is the same as yours?

@malept same as Stephn r. I am on Windows too.

I"ve noticed more along the lines of what the original comment in this issue states, as well - even running on the OS drive, if I tell electron to build for darwin, it seems to immediately exit after saying "Packaging app for platform darwin x64".  No error is output whatsoever in this case.  I'm hoping to trace through later today to see how far it's actually getting.

I'm finding that the process is dying silently in extract-zip when running .  The call to extract never fires its callback.  I'm wondering if this could have something to do with the OS X .app having symlinks in it?

Yep...pretty sure it's the symlinks doing it.  Just tested again on a Windows VM running as administrator, and it completes successfully there.  (AFAIK Windows inexplicably requires elevation to create symlinks, yet doesn't to create junctions.)

Thank you @kfranqueiro for the confirmation. I can also confirm that building my app on OSX with the same command had no issues

The fs.symlink callback in writeSymlink in extract-zip/index.js reports an error, but that error is never properly passed to the callback passed to extract in electron-packager/index.js, so it gets entirely lost.

It occurs to me that even if you manage to get past the symlink issue when running electron-packager, I'm not sure you have too many options for actually packing the application up into a zip or anything either, because Windows trips on the symlinks there too (even with admin permissions).

"build:macos": "npm run clean:macos && electron-packager ./app \"fileSharp\" --out=dist/macos --platform=darwin --arch=x64 --version=0.25.3 --icon=assets/macos/icon.icns"
Outputs nothing and fails silent.
"build:macos": "npm run clean:macos && electron-packager ./app \"fileSharp\" --out=dist/macos --platform=darwin --arch=ia32 --version=0.25.3 --icon=assets/macos/icon.icns",
returns
> npm run clean:macos && electron-packager ./app "fileSharp" --out=dist/macos --platform=darwin --arch=ia32 --version=0.25.3 --icon=assets/macos/icon.icns

><EMAIL_ADDRESS>clean:macos C:\git\fileSharp
> rm -rf ./dist/macos

Downloading electron-v0.25.3-darwin-ia32.zip
Error: GET https://github.com/atom/electron/releases/download/v0.25.3/electron-v0.25.3-darwin-ia32.zip returned 404
[ [Error: GET https://github.com/atom/electron/releases/download/v0.25.3/electron-v0.25.3-darwin-ia32.zip returned 404] ] undefined

let me know if I can test something out

@s-a The Darwin v0.25.3 ia32 package does not exist. Selected versions and architectures should match those that exist in the Electron releases.
Ref: Electron Releases

@Stephn-R Thanks for this info . osx is not my world :smile:

Since @kfranqueiro added the warning message when symlinks cannot be copied, it "fixes" the original bug of there not being any output when building on Windows for the target OSX platform. I don't know what else we want to do here, other than perhaps close this and create a new bug that adds docs about building on Windows for OSX.

Why switching the issue into symlinks discussion?
I have same failure building for darwin x64
The electron-v0.35.0-darwin-x64.zip has been downloaded succefully an then cmd on win 10 exits.

Sorry for being that guy but... Any update or workaround for this?
Building for darwin does absolutely nothing :crying_cat_face:

We need a community member who uses Windows to debug this. I don't believe any of the current maintainers has consistent access to a Windows development environment.

I have access to Windows and I'm who added the "skip" workaround to begin with.  Windows requires elevation to create symlinks, but even then, I haven't managed to properly create archives out of builds that would seem to retain symlinks the same way they're retained on other platforms.  So I've been at a loss as to whether there's really a real "solution" to this other than "build for OS X on OS X or Linux".

This might be worth documenting somewhere, either in the readme or as a runtime warning.

same problems here

Electron-packager fails when building for Darwin (on Windows host)
I'm running cmd.exe as Admin.
# npx electron-packager --version
Electron Packager 13.0.1
Node v11.3.0
Host Operating system: win32 (x64)

# npx electron-packager . --platform=win32 --arch=x64 --electron-version=4.0.0
Packaging app for platform win32 x64 using electron v4.0.0
Wrote new app to d:\Projects\Public\atomic-tweetdeck\master\Atomic TweetDeck-win32-x64

# npx electron-packager . --platform=linux --arch=x64 --electron-version=4.0.0
Packaging app for platform linux x64 using electron v4.0.0
Wrote new app to d:\Projects\Public\atomic-tweetdeck\master\Atomic TweetDeck-linux-x64

# npx electron-packager . --platform=darwin --arch=x64 --electron-version=4.0.0
Packaging app for platform darwin x64 using electron v4.0.0
EPERM: operation not permitted, stat 'C:\Users\dogan\AppData\Local\Temp\electron-packager\darwin-x64\Atomic TweetDeck-darwin-x64\Atomic TweetDeck.app\Contents\Frameworks\Squirrel.framework\Versions\Current'

# npx electron-packager . --platform=darwin --arch=x64 --electron-version=4.0.0 --no-tmpdir
Packaging app for platform darwin x64 using electron v4.0.0
Cannot copy '.' to a subdirectory of itself, 'd:\Projects\Public\atomic-tweetdeck\master\Atomic TweetDeck-darwin-x64\Electron.app\Contents\Resources\app'.

# npx electron-packager . --platform=darwin --arch=x64 --electron-version=4.0.0 --no-tmpdir -out=build
Packaging app for platform darwin x64 using electron v4.0.0
Cannot copy '.' to a subdirectory of itself, 'd:\Projects\Public\atomic-tweetdeck\master\Atomic TweetDeck-darwin-x64\Electron.app\Contents\Resources\app'.

# npx electron-packager . --platform=darwin --arch=x64 --electron-version=4.0.0 --no-tmpdir -out=..\build
Packaging app for platform darwin x64 using electron v4.0.0
Cannot copy '.' to a subdirectory of itself, 'd:\Projects\Public\atomic-tweetdeck\master\Atomic TweetDeck-darwin-x64\Electron.app\Contents\Resources\app'.

It probably has something to do with the fact that your app directory is on one drive and the temp directory is on the other. Also, it's --out, not -out.


Dsimissed Toasts With Timeouts Close Other Toasts

Current Behavior
Currently when opening multiple Toasts that have a timeout, if the first toast that was opened is dismissed, that toast's timeout will close other toasts.
Steps To Reproduce

Trigger a Toast with a timeout (10000ms)
Wait a short amount of time (5000ms)
Trigger another Toast with the same timeout (10000ms)
Dismiss the toast triggered in step 1
Watch the toast triggered in step 3 close earlier than is should

This issue can also be easily tested on the toast utility page by using the "Adjusted Timeout" example.
Anything else?
Explanation/References
This issue seems related to this code in the toast store. When the index of the toast can't be found we're given back a -1. This affects the splice(index,1) by removing the most recently created toast.
Potential Solutions
I'd be more than happy to open a PR for this and get it rolling but would love to first get some feedback on potential solutions from some contributors/community members. This to me seems like a great opportunity to implement a Set or Map, but I personally haven't done much testing on a Svelte store with a Set or Map.
As for a simpler solution a check could just be added to determine if the index wasn't found and execute an early return.
As well another solution could be storing the timeouts and calling clearTimeout() on them.

I think I'd like the clearTimeout() on dismiss the most :)

@ZWubs I've been aware of this one for an while and it's been driving me nuts. Sometimes you just need a second set of eyes to resolve stuff though. I'd welcome a PR addressing this.
My only requirement I'd put upfront would be to lean into the simplest and least invasive solution. Aim for something that doesn't change how the feature works for end users. We're now in v1.x.x, which means we have to keep breaking changes to an absolutely minumum.

This to me seems like a great opportunity to implement a Set or Map, but I personally haven't done much testing on a Svelte store with a Set or Map.

I don't quite follow how this would help with the timeout issue. Can you expand on this? Sounds like a fairly drastic change perhaps?

As for a simpler solution a check could just be added to determine if the index wasn't found and execute an early return.

Seems reasonable.

As well another solution could be storing the timeouts and calling clearTimeout() on them.

Seems like the simplest solution at first glance.
Feel free to submit a draft PR and ping me when you're ready for a review. Here's our contribution guidelines if you need some help getting started:
https://www.skeleton.dev/docs/contributing

Thanks @endigo9740 and @Sarenor for the feedback! I think I'll look into clearTimeout, as I agree it seems to be a simple and direct solution. I'll take some time here soon and get a PR tested and ready for some feedback and a review.


withAWS not using ECS container role credentials

Description
I've got a declarative pipeline with the following:
withAWS(role: 'MyTestRole') {
  sh 'aws s3api list-buckets'
}

I get a failure with "access denied". My suspicion is that the plugin is not using the correct credentials to call sts:AssumeRole.
This is running in an ECS container which has a role attached to it. The role has permissions to sts:AssumeRole, and I have verified that without the pipeline-aws-plugin, I can call aws sts assume-role --role-arn ...MyTestRole... and it works as expected.
The aws-cli works, because it finds the container credentials using AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variable. It seems the latest aws sdks have added this search path when finding credentials: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
My suspicion is that withAWS is not using this, and is therefore attempting to authenticate with the underlying instance IAM role (which does not have permissions to assume the role).
Steps to Reproduce

Launch an ECS build slave with RoleArn that has permissions to assume a "TestRole"
Create Jenkinsfile withAWS(role: "TestRole") to run on build slave
Build

Expected behavior:
The slave runs steps under the assumed "TestRole"
Actual behavior: [What actually happened]
The slave gets an exception "Access Denied" from STS.
Jenkins-Version: 2.109
Java-Version: 1.8.0_151
Plugin-Version: 1.32
Master/Slave Setup: ECS Build Cloud
AWS SDK Plugin Version: 1.11.403

Bear with my newness to the ecosystem here, but I was able to turn on some extra logging for com.amazonaws.auth.AWSCredentialsProviderChain in the Jenkins UI, and I see that perhaps it is actually doing the right thing?
Nov 04, 2018 4:27:20 AM FINE com.amazonaws.auth.AWSCredentialsProviderChain getCredentials
Unable to load credentials from EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY))
Nov 04, 2018 4:27:20 AM FINE com.amazonaws.auth.AWSCredentialsProviderChain getCredentials
Unable to load credentials from SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey)
Nov 04, 2018 4:27:20 AM FINE com.amazonaws.auth.AWSCredentialsProviderChain getCredentials
Unable to load credentials from com.amazonaws.auth.profile.ProfileCredentialsProvider@527681da: profile file cannot be null
Nov 04, 2018 4:27:20 AM FINE com.amazonaws.auth.AWSCredentialsProviderChain getCredentials
Loading credentials from com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@2d4afa0d
Clear This Log

Those lines seem to match up with the order things are checked in the DefaultAWSCredentialsProviderChain...:
https://github.com/aws/aws-sdk-java/blob/aaa0a6f506314d314a77774ddadd303cf6e4c354/aws-java-sdk-core/src/main/java/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.java#L45
The last one says Loading credentials, so maybe my problem lies further ?
My pipeline is doing these two things, the first one succeeds, the second still gives me the error:
com.amazonaws.services.securitytoken.model.AWSSecurityTokenServiceException: Access denied (Service: AWSSecurityTokenService; Status Code: 403; Error Code: AccessDenied; Request ID: eb908129-dfe9-11e8-9acd-210b14bef54c)

         sh 'aws sts assume-role --role-arn arn:aws:iam::1234567890:role/TestRole --role-session-name test-session-name'
        withAWS(role: 'arn:aws:iam::1234567890:role/TestRole', ) {
          sh 'aws s3api list-buckets'
        }

Ok, a little further - I found the awsIdentity function, and when I run that, it is spitting out the role from my Jenkins master ... not the ECS container...  still investigating how.

I think this is the critical difference:
From sh('env'):
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI=/v2/credentials/4da17ad9-afa1-483a-bffc-c00292a4306c
From echo(System.getenv().collect({environmentVariable ->  "${environmentVariable.key}=${environmentVariable.value}"}).join("\n")):
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI=/v2/credentials/fa3658a1-6943-4e18-911c-7ffd488778e1
This seems related,:
https://issues.jenkins-ci.org/browse/JENKINS-29144

Whammy. Is it supported by Jenkins plugin architecture? We don't really want to give out permissions to resources across every agent we define (by attaching them to the master). I suppose for now I can fall back to the shell commands and export some environment variables for our other tools to use, but it's not as elegant as the pipeline step :-(

Jenkins plugins are intended to run on master. But time will tell if this changes with the new Cloud strategy for Jenkins. I will look into it again.

Ok, I run into the same issue and the awsIdentiy, withAWS steps. It would be great if this is reopened as an issue as in my opinion it is a valid issue.
withAWS(role: SOME-ROLE, account: SOME-ACCOUNT) {
 SOME-CODE
}

In this example , withAWS(role: SOME-ROLE, account: SOME-ACCOUNT) executes on master, but SOME0-CODE runs on agent. If it is meant to work that way, it feels a bit messy, but I am open for suggestions.

The location where SOME-CODE runs depends on the steps used. Steps that use/manipulate data in the workspace run on the agent, other steps run on master.
I will talk to Cloudbees again, if it is possible to change this.

It looks like this article explains the general process for getting things to run remotely on the slave: https://wiki.jenkins.io/display/JENKINS/Making+your+plugin+behave+in+distributed+Jenkins#MakingyourpluginbehaveindistributedJenkins-Performanceconsideration - I'd offer to help myself, but it looks far beyond my current java capabilities!

As you can see in the referenced article, this is meant to move the code to the data for performance reasons. But code not dealing with data is running on the master. I checked this again with Cloudbees at the AWS re:Invent and this is the expected behavior. What is the problem when you give the needed permissions to the Jenkins master?

The jenkins slave is where the the job happens, and I suspect most people would argue that the switch role should happen relative to the slave instance. There may be other security restrictions which means it is not sensible to allow the jenkins master's policy to be able to perform the switch role. It might be expected behaviour from this plugin's perspective, but from an AWS IAM standpoint, this is completely contrary to what people would expect.

Could there be a way to request this as a feature?

I am open for a pull request with this feature, but I am not sure how to implement it.

@l8nite I am running the same situation as you were, as currently there is no support to assumeRole from ECS container, what is the best workaround if I would like to assume role from ECS by jenkins pipeline?

@JadyDJ I did it with some custom shell scripting inside my Jenkinsfile:
      environment {
        ROLE_ARN = "arn:aws:iam::1234567890123:role/JenkinsBuildRole"
      }
      steps {
        script {
          containerRole = sh(returnStdout: true, script: """
            curl <IP_ADDRESS>\$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
          """).trim()

          env.AWS_ACCESS_KEY_ID = sh(returnStdout: true, script: """echo '${containerRole}' | jq .AccessKeyId | xargs""").trim()
          env.AWS_SECRET_ACCESS_KEY = sh(returnStdout: true, script: """echo '${containerRole}' | jq .SecretAccessKey | xargs""").trim()
          env.AWS_SESSION_TOKEN = sh(returnStdout: true, script: """echo '${containerRole}' | jq .Token | xargs""").trim()

          def sanitizedJobName = env.JOB_NAME.replaceAll("[\\W]|_", "")
          def sanitizedBuildNumber = env.BUILD_NUMBER.replaceAll("[\\W]|_", "")
          def roleSessionName = "jenkins-$sanitizedBuildNumber-$sanitizedJobName".take(64)

          tempRole = sh(returnStdout: true, script: """
            aws sts assume-role --role-arn \$ROLE_ARN --role-session-name ${roleSessionName}
          """).trim()

          env.AWS_ACCESS_KEY_ID = sh(returnStdout: true, script: """echo '${tempRole}' | jq .Credentials.AccessKeyId | xargs""").trim()
          env.AWS_SECRET_ACCESS_KEY = sh(returnStdout: true, script: """echo '${tempRole}' | jq .Credentials.SecretAccessKey | xargs""").trim()
          env.AWS_SESSION_TOKEN = sh(returnStdout: true, script: """echo '${tempRole}' | jq .Credentials.SessionToken | xargs""").trim()
        }

could we please reopen this issue?? we're facing the same issue in that we're using distributed builds on agents not the master!! It really doesn't make sense allowing the master to assume the role when the builds are taking place on the agents.. I don't get the logic in that.. Please could this be addressed? In the meantime, we'll need to resort to using @l8nite solution which is not as elegant as using this plugin... such a shame..

I am open for PRs implementing this feature but I have no idea how to implement it and no setup to test it.

@hoegertn how come other plugins managed to implement a solution to run on agents and not master. Please refer to the Pipeline Maven Integration Plugin: https://jenkins.io/doc/pipeline/steps/pipeline-maven/ . When you run withMaven in your pipeline, it runs it on the agent and not the master.

I ended up here after searching the Internet for this same issue. The solution is the useNode option. See Issue #249.
withAWS(role: 'MyTestRole', useNode: true) {
  sh 'aws s3api list-buckets'
}

omg why, WHY, this sucked so hard to debug.


Avoid unnecessary follow Queries by examining Header from LISTEN Event

While not always suitable (LISTEN messages are limited to 8k in length), it might be a nice feature to test the header to avoid unnecessary queries when following.

With the classic JDBC Driver, we now only treat the first of a batch of notifications. Otherwise, we'd need to compact on the subscriber side again.
The possible gain does not seem to account for the complexity it would add.
i'll close this for now, but we can reopen, once anyyone has proof, this would considerably lower the load on PG.


Add Safe Navigation Operator (&)

For when @response_map returns nil for a given ID.

@jhlee-mitre if it's erroring on both, and you don't have the same local changes on both devices, then maybe it's an issue with the fix. Could you post more information about the error you're seeing/suggest a possible fix?


fix: fix app run connection to field

It was not possible to add an app run to a field in the result_file method of SampleResultFolder and ProjectResultFolder classes.

I put this fix to another PR.


Add vscode latex-workshop workspace setting for easy use

[ADD] xelatex Build tools for vscode latex-workshop
then users could use the xelatex setting directly as default without extra setting efforts.

Thanks