22 issue create openapi specification for person endpoints

Related Issues

fixes #22

Checklist

Commits squashed
Issues referenced (in commit and pull request)

PR has been merged even though some pipeline checks havent passed. The reason for that most likely is, that during the checks ive updated the branch which for some reason github actions didnt seem to like. ive checked the Workflow run(s) and all checks have passed, so the PR was merged by me with good consciousness.


Change master/slave naming convention or offer an alternative

Is your feature request related to a problem? Please describe.

We can be more inclusive and offer an alternative to the master/slave naming convention
Describe the solution you'd like

Outright replacing this convention is preferable but understandably disruptive.  Providing an alternative would be a great start such that the master/slave convention still works but the new convention is the default and/or works alongside the old convention.
Describe alternatives you've considered

Hive/Drone is an alternative convention that would fit nicely with this project.
Other suggestions:

Leader/Follower
Leader/Worker
Primary/Secondary
Main/Secondary

Additional context

My fault - we were using an old version.  This has already been resolved - thank you!


Running npm run watch takes a long time with images

Hey all,
Kinda a Webpack noobie here. I'm quite a long way into my project, and I'm starting to get annoyed by the long build time when I'm running npm run watch. Every time I make a change in my SCSS or PHP, it's also running the images through thedev  pipeline.
Any Webpack veterans here who can recommend me a better practice (e.g. just copying images to public in dev instead of compression)? Or point me to a good resource?

Not sure the image compression should be happening in development mode. Assuming that's the mode you're working with and watching. Make sure your package.json - watch script is set to npm run development and the dev script to NODE_ENV=development.
If that's all good then check the plugin settings at bottom of the webpack build file. Make sure the compression is indeed the problem by tweaking the compression settings.
Another thing you can do - is tell browserSync build/app.config.js to ignore the folders where you're pulling images from. Caveat ( I think) is that may not work if you're loading in background-images via scss/css.
I do my own compression for one off images, so I ripped out all the image related build aspects from tonik when I first pulled down the repo.

Images should not be compressed when running in developmend mode.

The first time i run dev, it does process the images, but just once. Any changes after that, the images dont get processed as expected.

Kinda a Webpack noobie here. I'm quite a long way into my project, and I'm starting to get annoyed by the long build time when I'm running npm run watch. Every time I make a change in my SCSS or PHP, it's also running the images through thedev pipeline.

@chrisschwartze Just tested things out on MacOSX and everything runs properly. Images get compressed only when running npm run production. On watch Webpack re-runs only tasks for particular file type. Maybe it is an OS related problem, can you tell me what system do you have?

The first time i run dev, it does process the images, but just once. Any changes after that, the images dont get processed as expected.

@msacchetti I'm aware of that problem. It looks likes Webpack watching script do not see when new image file has been created. We should address it in separate issue.

Hey @jedrzejchalubek
I'm on macOS Mojave [10.14]
Version: webpack 3.12.0
Version: npm 5.6.0
I just realized I'm on a pretty old NPM version, not sure if that causes any issues.
I haven't made any changes to the build/webpack.config.js file.

The first time i run dev, it does process the images, but just once. Any changes after that, the images dont get processed as expected.

@msacchetti I'm aware of that problem. It looks likes Webpack watching script do not see when new image file has been created. We should address it in separate issue.

I am not sure what was going on before, but this issue isnt happening anymore. Every time i run dev, all the images get processed.

If anyone still interested, I found that images are compressed only when I use image src in this format:
"../../public/images/image.png"
But if it doesn't compress when I use this format: (even as background-image )
/imagesimage.png
all in the development mood.


Dev branch can't load my configuration (string error) - stable works fine

Description of problem:
The dev branch can't load up my configuration suddenly. The error lies with devices.yaml and says it needs to be a string. The exact configuration works fine with stable branch (and has always worked with both dev and stable). This is how devices.yaml is setup (and what works under stable and previous dev).
Just to clarify: I switch between stable and dev now and then when I propose a change for dev. I ran dev for a while. Switched to stable and then switched to a dev (newer build than before) and that one doesn’t work. Stable works fine.
'0x90fd9ffffe67aa7b':
  friendly_name: Keuken Lamp Plafond 1
  transition: 0.4

Zigbee2mqtt add-on version (if edge, please report commit hash):
<EMAIL_ADDRESS>/app

Configuration:
data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto'
  user:  [REDACTED]
  password:  [REDACTED]
serial:
  adapter: deconz
  disable_led: false
  port: >-
    /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2133075-if00
advanced:
  log_level: debug
  last_seen: ISO_8601_local
  log_directory: /share/zigbee2mqtt/log/
  log_file: log.txt
  report: true
  pan_id: 62369
  channel: 25
  network_key: [REDACTED]
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false```

Running platform (details from Suypervisor > System)
Core: core-2021.3.3
Supervisor: supervisor-2021.03.4
Operating System: Home Assistant OS 5.12

Your logs from Home Assistant Supervisor
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing...
[13:12:52] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[13:12:53] INFO: MQTT available, fetching server detail ...
[13:12:53] INFO: Previous config file found, checking backup
[13:12:53] INFO: Creating backup config in '/share/zigbee2mqtt/.configuration.yaml.bk'
[13:12:53] INFO: Adjusting Zigbee2mqtt core yaml config with add-on quirks ...
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[13:12:55] INFO: Handing over control to Zigbee2mqtt Core ...
><EMAIL_ADDRESS>start /app
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- devices['0xd0cf5efffed82e95']['transition'] should be string
- devices['0x90fd9ffffe67aa7b']['transition'] should be string
- devices['0x000b57fffed96377']['transition'] should be string
- devices['0x000b57fffeeaff88']['transition'] should be string
- devices['0x90fd9ffffe6dfed5']['transition'] should be string
- devices['0x90fd9ffffe6fc60e']['transition'] should be string
- devices['0x00158d00012f5559']['transition'] should be string
- devices['0x00158d00013bcd7b']['transition'] should be string
- devices['0x00158d00013bcde0']['transition'] should be string
- devices['0x00158d00012ec354']['transition'] should be string
- devices['0xccccccfffecba5ce']['transition'] should be string
- devices['0xccccccfffe36abbf']['transition'] should be string
- devices['0xccccccfffe36009f']['transition'] should be string
- devices['0xccccccfffe31f456']['transition'] should be string
- devices['0x14b457fffe744c51']['transition'] should be string
- devices['0x00158d00012f558f']['transition'] should be string
- devices['0x00158d000126faf1']['transition'] should be string
- devices['0x00158d000126fb1f']['transition'] should be string
- devices['0x00158d00012ee7ae']['transition'] should be string
- devices['0x7cb03eaa0a074f90']['transition'] should be string
- devices['0x7cb03eaa00b03420']['transition'] should be string
- devices['0x00158d0001271b2b']['transition'] should be string
- devices['0x5c0272fffebe23d3']['reverse_direction'] should be string
- devices['0x7cb03eaa0a0749ed']['transition'] should be string
- devices['0x14b457fffe6be2fe']['legacy'] should be string
- devices['0x00158d00012ee461']['transition'] should be string
- devices['0x00158d00012f41a4']['transition'] should be string
- devices['0x847127fffe1b72fc']['reverse_direction'] should be string
- devices['0x00158d00012f40c1']['transition'] should be string
- devices['0xbc33acfffe8acbb3']['legacy'] should be string
- devices['0xbc33acfffec040dc']['transition'] should be string
- devices['0x7cb03eaa00b02f2f']['transition'] should be string
If you don't know how to solve this, read https://www.zigbee2mqtt.io/information/configuration.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-03-13T12_12_57_341Z-debug.log
[13:12:57] INFO: Handing over control to Zigbee2mqtt Core ...

I have the same issue with stable branch. Config doesn't get applied when I change it.

I removed and installed again just now, hoping a new build would have solved this. Which seems to be the case. I can run dev again, so this is closed.


Revert "[EventHub] Raise error when primary key is rotated"

Reverts Azure/azure-sdk-for-python#36245

API change check
API changes are not detected in this pull request.

/azp run python - eventhub - tests


Shared media?

I can see its letting me share media per post, what about site wide?
Be great to click images and see all previously used assets.

You can access the image in whatever storage setting you've configured (the filesystem is the default).
If you're talking about an admin-like feature in your Rails app, you can build yourself a page that renders all Bootsy::Image records (or Bootsy::ImageGallery records if you want them grouped by container).


create_autonomy: 1.3.0-0 in 'lunar/distribution.yaml' [bloom]

Increasing version of package(s) in repository create_autonomy to 1.3.0-0:

upstream repository: https://github.com/AutonomyLab/create_autonomy.git
release repository: https://github.com/AutonomyLab/create_autonomy-release.git
distro file: lunar/distribution.yaml
bloom version: 0.6.4
previous version for package: null

ca_description
* Migrate to package.xml format 2

  Minor linting to package files.
* Update install rules
* Refactor launch files and expose robot base and odometry frame IDs as parameters
* Refactor CMakeLists.txt and package.xml files and add missing install rules
* Contributors: Jacob Perron

ca_driver
* Add explicit dependency on catkin_EXPORTED_TARGETS

  This ensures ca_msgs is built before ca_driver.
* Migrate to package.xml format 2

  Minor linting to package files.
* Add roslint test and fix lint issues
* find_package libcreate instead of downloading as external project
* Add support for defining and playing songs
* Update install rules
* Refactor launch files and expose robot base and odometry frame IDs as parameters
* Refactor CMakeLists.txt and package.xml files and add missing install rules
* Contributors: Clyde McQueen, Jacob Perron

ca_msgs
* Migrate to package.xml format 2

  Minor linting to package files.
* Add support for defining and playing songs
* Refactor CMakeLists.txt and package.xml files and add missing install rules
* Contributors: Clyde McQueen, Jacob Perron

ca_tools
* Migrate to package.xml format 2

  Minor linting to package files.
* Update install rules
* Refactor launch files and expose robot base and odometry frame IDs as parameters
* Refactor CMakeLists.txt and package.xml files and add missing install rules
* Contributors: Jacob Perron

create_autonomy
* Migrate to package.xml format 2

  Minor linting to package files.
* Contributors: Jacob Perron

Closing pending renaming see #18174


Onnx version code for rife?

I downloaded the rife v2 version of the onnx model you provided, do you have the code on how to convert it to an onnx model? And would also like to ask you about how to use the converted onnx, do you have code for all this? The computer I am learning to use right now is Windows, and I would like to run rife on this at an accelerated rate.

You can get the onnx from vsgan tensorrt docker in the models release. Use that if you want accelerated inference with ONNX.


Input Picker Resetting Input to First Option

Input Picker Resetting Input to First Option,
I Have a form in my App in which I have used 15 Picker and the First Two Picker work fine for me but when I try to change the selection of the 3rd Picker to other 11 pickers after that. They don't change their value from the first option,  It keeps resetting to the First Option of the Picker.item
My JS file:
Version Information:

npm --version
6.4.1
node --version
v10.15.3

"expo": "^33.0.0",
"expo-asset": "^5.0.0",
"expo-constants": "^5.0.0",
"expo-crypto": "~5.0.1",
"expo-font": "^5.0.0",
"expo-web-browser": "^5.0.0",
"native-base": "^2.12.1",
"react": "16.8.3",
"react-apollo": "^2.5.6",
"react-dom": "^16.8.6",
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
Expected behaviour
Picker Input Should Change to Value to the Selected Value
Actual behaviour
Picker Input Resetting to First/Default Option
[but the state is updated to the selected but Picker is value show the first option]
Q. Is the bug present in both iOS and Android or in any one of them?
Ans: I have an Android device so, I have only tested it on the Android (REAL DEVICE using Expo App on localhost)

We're using the native picker from android as our picker component. Can you try to see if it works as expected in the Picker component from react-native?

No, it didnt work... So you mean to say that react-native itself has this bug ??

Yes.


P2P to Code Review

Portfolio Peer Code Review
Hello @Bennyjoez, You did an amazing but there is some issue  you have  to do it

Could you please add Some padding under your popup image container
Optionally: Kindly add a scroll snap to the images contained in the project details popup.

We hope You will fix it. Thank you for your openness . We appreciate you.

Issues fixed and submitted


Display node names in cluster nodes

Display the name of the node in the graph view of the cluster

Assigning to self!


Visualization tutorial file access

The visualization example assumes a TNG50-1 snapshot as input. A short preamble would be appropriate explaining: (1) how to get this input file (e.g. from the TNG public data release, liking to the relevant webpage), and (2) that the example also works with the TNG50-4 input file provided for the introductory tutorial.

Pages outside of the tutorial subsection are snippets not associated with a certain data set. Ill 1.) change all examples to TNG50-4, and 2.) add an info box making this clearer.


Update GUI for the fees that require for each account name

https://github.com/bitsuperlab/bitshares_play/issues/80

Name Length  Fees Required
1 100_000
2-4 10_000
5-6 1000

6 1


add breakdown table by Languages & Editors

table like this Language Breakdown analysis

finished with https://github.com/satomic/copilot-usage-advanced-dashboard/commit/1853bb7f7e3ddaeba45cb4e46613b13e683e35a9


Changing logo no luck

Hello,
I have been trying to make this file here https://s3.us-east-1.wasabisys.com/staticsnnj/conference/2023/MutualCON Logo  (250 × 49 px).svg the logo for the script but cannot seem to be able to this is what I have so far.
/**

Copyright 2023 SNNJ.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
export default function IconLogo({
backgroundColor = 'transparent',
foregroundColor = 'var(--accents-1)',
...props
}) {
return (
<svg
width="100%"
height="100%"
viewBox="0 0 32 32"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}

);
}
Can anyone help me in why it is generating this way: https://go.snnj.org/JMh0Ij

<svg
width="100%"
height="100%"
viewBox="0 0 32 32"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>

Here is the pasted code for some reason github will not let me post it https://pasty.snnj.org/Kw8tg-3BK1v


Style changes

The export button is translucent but the search button isnt.. I think they should be the same.. my vote is for non-translucent buttons

Yeah I was actually trying to go for that at first but it wasn't working lol

And btw the search button is actually translucent, look a little closer

ight yea its fine just merge it then


MRG, FIX: Backward compat read for vol stc

Fixes reading STCs written with old versions of MNE.

@poojaprabhu9 on this PR I can run this:
import os.path as op
import mne
stc = mne.read_source_estimate('morphed_lgamma_power-stc.h5')
mri_dir = op.join(mne.get_config('SUBJECTS_DIR'), 'fsaverage', 'mri')
lut, _ = mne.read_freesurfer_lut(op.join(mri_dir, 'HCPMMP1ColorLUT.txt'))
labels = mne.read_labels_from_annot('fsaverage', 'HCPMMP1', 'both')
# limit to just the HCPMMP labels with this, or omit it to keep subcortical:
lut = {label.name: lut[label.name] for label in labels}
atlas = op.join(mri_dir, 'HCPMMP1+aseg.mgz')
src = mne.setup_volume_source_space(
    'fsaverage', pos=5., sphere=(0, 0, 0, 90), sphere_units='mm',
    verbose=True)
# This one is better
label_tc = mne.extract_label_time_course(stc, (atlas, lut), src)
stc_label = stc.in_label(1001, atlas, src)

And get:
>>> stc_label
<VolSourceEstimate  |  15 vertices, subject : fsaverage1, tmin : -1200.0 (ms), tmax : 1200.0 (ms), tstep : 5.0 (ms), data shape : (15, 481)>
>>> label_tc.shape
(362, 481)

That's nice.
I am not able to read stc file to do this, even after upgrading mne dev version.
Could you please send the HCPMMP1+aseg.mgz, HCPMMP1_combined+aseg.mgz, and LUT files of both.

I am not able to read stc file to do this, even after upgrading mne dev version.

This PR has not been merged, you'll need to install the larsoner/stc branch to see if it fixes things

Could you please send the HCPMMP1+aseg.mgz, HCPMMP1_combined+aseg.mgz, and LUT files of both.

It would be better if you could try to follow the instructions linked in this comment to make sure the instructions actually work

It would be better if you could try to follow the instructions linked in this comment to make sure the instructions actually work

I was trying the code
`    header = """
Below is the color table for the cortical labels of the seg volume
created by mri_aparc2aseg in which the aseg cortex label is replaced
by the labels in the %s aparc.
#No.    Label Name:                         R   G   B   A
""" % (parc,)
I think there is something missing in this line.


libical: fix cross-compilation

Motivation for this change
gobject-introspection cannot be cross-compiled, so disable it (and vala support, which depends on it) when cross-compiling.
cc @jtojnar @dtzWill
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

We could very easily add this wherever gobject-introspection is non-essential (since it doesn't cross compile right now).
See https://github.com/NixOS/nixpkgs/pull/88222 (@Ericson2314), though upstream hasn't responded for 4 months which is very sad.

Yeah this is fine with me.

Unfortunately, I just realized that the machine I was testing this on had binfmt_misc configured, and part of the libical's glib build process compiles an executable that generates code during the build. The build fails on machines that cannot execute host arch binaries.
I'm looking into fixing this upstream, or alternatively we could disable glib support when cross-compiling as well.

Ugh that it does that without gobject-introspection. Upstream should indeed fix that, but I'm fine skipping glib too.

I created an upstream PR to fix the glib issue, and added it to this PR: https://github.com/libical/libical/pull/439
@ofborg build pkgsCross.armv7l-hf-multiplatform.libical

The patch has been merged upstream.


Fixed assorted typos in comments and function names

Just cleaning up a few typos I noticed while browsing through the sample framework this evening. Nothing major.

Thx a lot for this. Some embarrassing typos in there 👍

No worries; we've all got 'em. I had to spend years grudgingly defending a previous employer's spelling of "indexes" and "vertexes" after they were enshrined in the official platform SDK.
And thanks right back at you! Reading through your code is giving me some great inspiration for my own Vulkan framework. Keep up the good work!


pyio

What is the PyString for? There is a PyUnicodeObject class to represent strings in the VM already. You must test the project before submission.


Add managedInstaceAdministrators.json to readme file, which reprepres…

…ents AutoRest configuration file for Sql
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Can one of the admins verify this patch?

Please add file to:

package-composite-v3
package-composite-v2
package-composite-v1
package-pure-2017-03-preview

This is added now.


Forwarded Requests from ASP.NET Core to ASP.NET MVC are throwing an InvalidOperationException looking for IHttpResponseBufferingFeature

Describe the bug
I have two projects: A legacy .NET Framework 4.8 MVC project, and a .NET 8 asp.net core project. The latter was generated using the Upgrade Assistant documented here: https://learn.microsoft.com/en-us/aspnet/core/migration/mvc?view=aspnetcore-8.0
Nothing is implemented in the Core application yet, so the expectation is that it will just behave as a proxy to the .NET Framework app.
When a request comes in to the asp.net core project it is handled by the {**catch-all} handler, forwards the request, gets a 200 response from the .NET Framework project, then logs the InvalidOperationException. When I'm using HTTPS to access the asp.net core site the website does not work, but when I use HTTP instead the website does work despite the exception.
To Reproduce

I haven't made any custom changes to the generated code for the asp.net core application, except for the remoteapp setup described here: https://learn.microsoft.com/en-us/aspnet/core/migration/inc/remote-app-setup?view=aspnetcore-8.0
This is the entirety of my core application:
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSystemWebAdapters();
builder.Services.AddHttpForwarder();

// Add services to the container.
builder.Services.AddControllersWithViews();
builder.Services.AddSystemWebAdapters()
    .AddRemoteAppClient(options =>
    {
        options.RemoteAppUrl = new(builder.Configuration["ReverseProxy:Clusters:fallbackCluster:Destinations:fallbackApp:Address"]);
        options.ApiKey = builder.Configuration["RemoteAppApiKey"];
    });

var app = builder.Build();

if (!app.Environment.IsDevelopment())
{
    app.UseHsts();
}

//app.UseHttpsRedirection();
app.UseStaticFiles();

app.UseRouting();
app.UseAuthorization();
app.UseSystemWebAdapters();

app.MapDefaultControllerRoute();
app.MapForwarder("/{**catch-all}", app.Configuration["ProxyTo"]).Add(static builder => ((RouteEndpointBuilder)builder).Order = int.MaxValue);

app.Run();

Exceptions (if any)

fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HN5B96O1HTFE", Request id "0HN5B96O1HTFE:00000029": An unhandled exception was thrown by the application.
      System.InvalidOperationException: Feature Microsoft.AspNetCore.SystemWebAdapters.Features.IHttpResponseBufferingFeature is not available
         at Microsoft.AspNetCore.SystemWebAdapters.FeatureCollectionExtensions.GetRequired[TFeature](IFeatureCollection features)
         at Microsoft.Extensions.DependencyInjection.RegisterAdapterFeaturesMiddleware.InvokeAsync(HttpContext context)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

Further technical details

I made sure the dev certificate being used by the asp.net core application is trusted.
It doesn't seem to matter if the proxy address for the .NET Framework website uses HTTPS or not.
I tried to debug it, and it seems like the exception is coming out of here source which doesn't make any sense to me since it's inside a using statement that's setting up the IHttpResponseBufferingFeature

Here's the request log when using HTTPS
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/2 GET https://localhost:7004/Account/Login?ReturnUrl=%2F - - -
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[4]
      The request path /Account/Login does not match a supported file type
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
      1 candidate(s) found for the request path '/Account/Login'
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005]
      Endpoint '/{**catch-all}' with route pattern '/{**catch-all}' is valid for the request path '/Account/Login'
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
      Request matched endpoint '/{**catch-all}'
trce: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[8]
      The endpoint does not specify the IRequestSizeLimitMetadata.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint '/{**catch-all}'
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[9]
      Proxying to https://localhost:44301/Account/Login?ReturnUrl=%2F HTTP/2 RequestVersionOrLower no-streaming
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[56]
      Received HTTP/2.0 response 200.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint '/{**catch-all}'
trce: Microsoft.AspNetCore.Server.Kestrel.Http2[49]
      Connection id "0HN5B96O1HTFE" sending HEADERS frame for stream ID 41 with length 48 and flags END_HEADERS.
trce: Microsoft.AspNetCore.Server.Kestrel.Http2[49]
      Connection id "0HN5B96O1HTFE" sending DATA frame for stream ID 41 with length 1182 and flags NONE.
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HN5B96O1HTFE", Request id "0HN5B96O1HTFE:00000029": An unhandled exception was thrown by the application.
      System.InvalidOperationException: Feature Microsoft.AspNetCore.SystemWebAdapters.Features.IHttpResponseBufferingFeature is not available
         at Microsoft.AspNetCore.SystemWebAdapters.FeatureCollectionExtensions.GetRequired[TFeature](IFeatureCollection features)
         at Microsoft.Extensions.DependencyInjection.RegisterAdapterFeaturesMiddleware.InvokeAsync(HttpContext context)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
trce: Microsoft.AspNetCore.Server.Kestrel.Http2[37]
      Connection id "0HN5B96O1HTFE" received WINDOW_UPDATE frame for stream ID 0 with length 4 and flags 0x0.
dbug: Microsoft.AspNetCore.Server.Kestrel.Http2[35]
      Trace id "0HN5B96O1HTFE:00000029": HTTP/2 stream error "INTERNAL_ERROR". A Reset is being sent to the stream.
      Microsoft.AspNetCore.Connections.ConnectionAbortedException: An error occurred after the response headers were sent, a reset is being sent.
trce: Microsoft.AspNetCore.Server.Kestrel.Http2[49]
      Connection id "0HN5B96O1HTFE" sending RST_STREAM frame for stream ID 41 with length 4 and flags 0x0.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/2 GET https://localhost:7004/Account/Login?ReturnUrl=%2F - 200 1182 text/html;+charset=utf-8 39.6825ms

(the last line says request finished with 200 but in the browser the page is blank and if I go into developer tools it says the payload of the response is empty)
This is the log when using HTTP:
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:5004/Account/Login?ReturnUrl=%2F - - -
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[1]
      Connection id "0HN5B96O1HTHR" started.
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[4]
      The request path /Account/Login does not match a supported file type
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
      1 candidate(s) found for the request path '/Account/Login'
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005]
      Endpoint '/{**catch-all}' with route pattern '/{**catch-all}' is valid for the request path '/Account/Login'
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
      Request matched endpoint '/{**catch-all}'
trce: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[8]
      The endpoint does not specify the IRequestSizeLimitMetadata.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint '/{**catch-all}'
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[9]
      Proxying to https://localhost:44301/Account/Login?ReturnUrl=%2F HTTP/2 RequestVersionOrLower no-streaming
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[56]
      Received HTTP/2.0 response 200.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint '/{**catch-all}'
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HN5B96O1HTHQ", Request id "0HN5B96O1HTHQ:00000001": An unhandled exception was thrown by the application.
      System.InvalidOperationException: Feature Microsoft.AspNetCore.SystemWebAdapters.Features.IHttpResponseBufferingFeature is not available
         at Microsoft.AspNetCore.SystemWebAdapters.FeatureCollectionExtensions.GetRequired[TFeature](IFeatureCollection features)
         at Microsoft.Extensions.DependencyInjection.RegisterAdapterFeaturesMiddleware.InvokeAsync(HttpContext context)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://localhost:5004/Account/Login?ReturnUrl=%2F - 200 1182 text/html;+charset=utf-8 23.3622ms
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[10]
      Connection id "0HN5B96O1HTHQ" disconnecting.
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[2]
      Connection id "0HN5B96O1HTHQ" stopped.
dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[7]
      Connection id "0HN5B96O1HTHQ" sending FIN because: "The Socket transport's send loop completed gracefully."

Please include the following if applicable:
ASP.NET Framework Application:

Technologies and versions used (i.e. MVC/WebForms/etc): Asp.Net MVC 5.2.9, Asp.Net WebApi 5.2.9
.NET Framework Version: 4.8
IIS Version: IIS Express (whatever's bundled with VS 2022)
Windows Version: Windows 11 Pro: 23H2

ASP.NET Core Application:

Targeted .NET version: .NET 8.0
.NET SDK version: .NET 8.0

Thanks for the report! I haven't seen that happen myself, but it's a straight forward fix for this case :) once merged, you can try it out on the ci


Can the Prover verify the Witness?

Given the public key of the Accumulator, can a Prover verify a Witness?

Great question. Based on the original construction described in the whitepaper, ${\bf Witness}(e_i) = g^{(e_0+c)(e_1+c)...*(e_{i-1}+c) \mod q}$, where $c$ is the private key, it was not possible to verify publicly because the verify function ${\bf Verify}(e_i, v_i) = z == v_i^{e_i+c \mod q}$ required knowledge of $c$.
However, I was able to reason that providing the additional information $w_i \leftarrow v_i^c$ allows a third party to use a new function ${\bf VerifyPublic}(e_i, v_i, w_i) = z == v_i^{e_i}w_i$ without knowledge of $c$. This of course requires knowledge of $z$, but that is not a sensitive value. Additionally, the ${\bf Prove}$ function must be updated to compute $w_i \leftarrow Q_{i+1}^1 Q_i^{e_0+e_1+...+e_{i-2}+e_{i-1}} Q_1^{e_0 e_1 + ... + e_{i-2} e_{i-1}} ... Q_0^{e_0 e_1 ... e_{i-2} e_{i-1}}$.
It wasn't immediately obvious to me, but all very trivial in hindsight. The new witness format $(v, w)$ is now adopted in the latest release.
https://github.com/johnoliverdriscoll/ecc-acc/releases/tag/v2.0.0


Heavy Cream and cheese working when no milk or soy present

CFB Version:  3.1.26
Minecraft: 1.10.2
Forge: <IP_ADDRESS>9
Pam's: 1.10.2b
When the table and sink are in the kitchen multiblock, I can craft heavy cream and cheese, without having any soy milk in any inventory.

#142


There is no way to disable client side

If I want to run iron router only on the server side it seems that iron-router sill adds itself on the client, and injects its own templates there in the body? Is this possible to disable?

It seems you can do Router.options.autoStart = false; on the client and it will not autostart. Which allows you to not use iron-router on the client.

thank you @mitar

But in tutorial it's said client side route can be disabled.
Should be a bug?

Thanks to this info..

opera?
On Thu, Nov 28, 2019 at 9:05 PM Ian Medina<EMAIL_ADDRESS>wrote:

Thanks to this info..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/iron-meteor/iron-router/issues/1180?email_source=notifications&email_token=ABS5HYBRXKKHDPPUNVDVUD3QWB2E7A5CNFSM4A2MTISKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFNVY5A#issuecomment-559635572,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABS5HYEBYTJC4LTBCWNUAIDQWB2E7ANCNFSM4A2MTISA
.


[Backport 1.x]  Add additional labels to service monitor

Description
Adds ability to add additional Labels to ServiceMonitor in case Prometheus is scraping for specific labels
Issues Resolved
#585
Check List

[x] Commits are signed per the DCO using --signoff

For any changes to files within Helm chart directories:

[x] Helm chart version bumped
[x] Helm chart CHANGELOG.md updated to reflect change

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

LGTM thanks @eyenx.
Adding @peterzhuamazon.


check both start and end for coords

This fix avoids
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/graph.rs:362:49
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

and helped me in debugging https://github.com/pangenome/pggb/issues/299.

Thanks for 1) finding the bug 2) suggesting a fix! I have a bad feeling that there's more to it than this, because if a path segment has an end, it must have a start. Can you provide me with the graph?

Enjoy!
gunzip smoothxg_block_0.gfa.gz

anacus table -a -c edge smoothxg_block_0.gfa | grep -e '\s0$'
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/graph.rs:362:49
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

smoothxg_block_0.gfa.gz

Awesome, thanks!

HG02572#1#JAHAOW010000052.1:1087990-1165222 is the original name of the path in the graph in input for smoothxg (here I am smoothing a subgraph for debugging, so you have a coordinate range in the name, that is 1087990-116522). The second value, 77032, indicates where the starting coordinate of a range in HG02572#1#JAHAOW010000052.1:1087990-1165222 (smoothxg applies POA on graph blocks, that corresponds to pieces of paths). So, in general, it is ORIGINALPATHNAME_START.


value is valid model name test

Like in the vetevo project, lets add a test that checks if the values in a column are correct written and equal the model names.
We can also change it in a way that it can be more usefull but the functionality is quite nice
This macro gets all model names after a test or model was run:
{% macro get_model_list() %}

(

{% if execute %}

    {%- for node in graph.nodes.values()
     | selectattr("resource_type", "equalto", "model") -%}
        '{{ node.name }}'{{ ',' if not loop.last }}
    {% endfor -%}

{% endif %}

)

{% endmacro %}

and here is the test:
{% macro test_in_model_list(model, condition='true') %}

{% set column_name = kwargs.get('column_name', kwargs.get('arg')) %}

WITH meet_condition AS(

  SELECT * FROM {{ model }} WHERE {{ condition }}

), validation_errors AS(

  SELECT
    *
  FROM meet_condition
  WHERE NOT ({{ column_name }} IN {{ get_model_list() }})

)

SELECT COUNT(*) FROM validation_errors

{% endmacro %}

let's think about what of this could be usefull for gemma utils @soltanianalytics


openfast 4.0.0 regression test failure

👋 while trying to bump openfast formula to 4.0.0, the test failed as no surprise, but the test is a bit too daunting for me to make any changes. After trying a bit, I just gave it up, log an issue in here for getting some help.
relates to https://github.com/Homebrew/homebrew-core/pull/202407
cc @rafmudaf

@chenrui333 We'd like to remove OpenFAST from Homebrew as we're supporting it through Conda instead. Do you know how to go about doing this?

@chenrui333, are you using the updated regression tests found here: https://github.com/OpenFAST/r-test/tree/v4.0.0?


Add cron job of cleaning up the docker unused space on AWS (extender, server)

Occasionally we get this error, regarding the "thin pool".
It turns out AWS/Docker doesn't reclaim unused space automatically.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/CannotCreateContainerError.html
sudo sh -c "docker ps -q | xargs docker inspect --format='{{ .State.Pid }}' | xargs -IZ fstrim /proc/Z/root/"

Extender moved away from AWS. Obsolete.


waiting time until page loaded

Hi there,
i'm using this package to render pages that come from a Meteor app. The app just shows some content it gets from the server - very simple. So Meteor renders the html template and then puts in the content from the server afterwards. prerender retrieves this generated html as expected but about every 5 times the content is missing. In these cases the html which prerender retrieves only contains the stuff in the template but not the dynamic content which was inserted in by Meteor. prerender just waited about 0.5s too short.
The question is: Why didn't it wait and how can I increase that time or how can I tell prerender when the page is finished loading?
Thanks

ok found the prerenderReady = true solution

Great!

It turned out that this does not work 100% reliable. Sometimes, maybe every 50th request, an empty page is saved. Empty means html structure without the dynamic content that would have shown up if prerender waited a bit longer.
So why didn't it wait for prerenderReady == true or did I do a mistake there? Can I debug that somehow?

If one of your pages takes too long to load before setting prerenderReady to true, the Prerender server will save the page as-is. How long do your pages usually take to load?

If window.prerenderReady is not set at all, then we will count the number of requests in flight and save the page a short time (1-2 seconds) after the number of requests in flight reaches zero.
If you set window.prerenderReady to false when the page loads (in the HTML), then we will until window.prerenderReady is set to true or 20 seconds total, whichever comes first.

@thoop I would like to follow up on this problem. For my use case it is important that the Prerender server would not return a page (504) if prerenderReady is set. Is it possible that I configure prerender so that it would only 200 on fully-rendered pages?

window.prerenderReady is meant only to be a tool to help with page load timing. If you want to return a different status code, you can use the prerender-status-code meta tag and default it to 503 and then set it to 200 when you set window.prerenderReady to true. You can find the documentation for prerender-status-code here: https://prerender.io/documentation/best-practices


Path layer vertex shader improvements

Change List

Improve readability of the shader
Correctness

SVG:

Before:

After:

Coverage remained the same at 80.804% when pulling 5132af0480728218cbab5915d95231c1450669bd on x/path-extrusion into 44525a9ff334c707f4946499996bd8f0356e7f05 on master.


Add links to external data

In GitLab by @vrechdelaval on Sep 7, 2015, 21:06
For intance, add links to GEO, Ensembl and OMA.
It could be done in about and/or home page

In GitLab by @fbastian on Sep 11, 2015, 14:16
It means that we need the data sources used in the database, with correct version information, etc (it should be the case). And getting the SourceDAO working.

In GitLab by @vrechdelaval on May 21, 2019, 15:53
@fbastian @marcrr , does the page Data sources resolve this issues?

In GitLab by @marcrr on May 21, 2019, 15:56
As far as I'm concerned, yes.

In GitLab by @fbastian on May 23, 2019, 13:51
closed


INTLY-3714: Add primary task and description info to product-info.js

Motivation
https://issues.jboss.org/browse/INTLY-3714
What
Add 2 new properties to each product. One for the primary task and one for a description.
Why
This information will be used and displayed in a data list on the new Solution Explorer home page.
Checklist:

[ ] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member

Progress

[x] Finished task
[x] TODO

Sorry for not forking this! This was my first PR in a looooooong time.


Crashing when lambda is used as value

We don't allow lambdas to be used as values, but we should provide a proper error instead of crashing. Here's one example:
module A {
  pure val foo = Set(1).map(i => (x => x + 1))
}

which crashes with:
quint typecheck <input>

check types and effects of a Quint specification

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]
  --out      output file (suppresses all console output)                [string]

TypeError: Cannot read properties of undefined (reading 'freshVarGenerator')
    at /home/gabriela/projects/quint/quint/dist/src/effects/inferrer.js:288:88
    at Array.map (<anonymous>)
    at newInstance (/home/gabriela/projects/quint/quint/dist/src/effects/inferrer.js:287:56)
    at EitherConstructor.map (/home/gabriela/projects/quint/quint/node_modules/@sweet-monads/either/cjs/index.js:75:40)
    at EffectInferrer.exitLambda (/home/gabriela/projects/quint/quint/dist/src/effects/inferrer.js:223:14)
    at walkExpression (/home/gabriela/projects/quint/quint/dist/src/ir/IRVisitor.js:348:25)
    at /home/gabriela/projects/quint/quint/dist/src/ir/IRVisitor.js:336:38
    at Array.forEach (<anonymous>)
    at walkExpression (/home/gabriela/projects/quint/quint/dist/src/ir/IRVisitor.js:336:23)
    at walkDefinition (/home/gabriela/projects/quint/quint/dist/src/ir/IRVisitor.js:279:13)

A proper fix of this should also fix #456 iiuc, since the root cause this is also that we are not ensuring operator don't appear as values during type checking.

This bug is similar to #1212, though they are a bit different

This code fragment also caused the issue (observe there is no return value, since after the val there is nothing):
m.dst.flatten().forall(
                receiver =>
                    // get messages tagged with S1 sent by p relating to m
                    val sentMessages = networkState.get((p, receiver)).exists(
                        msg => msg.id == m.id and
                            msg.tag == "S1"
                    )
            ),


WIP: Move list of loaded datasets to a dataset modal tab

See #113: this begins the work of moving the dataset list to a tab.

Also currently supports displaying user-loaded data:

Adding font awesome's database icon

-- both here and in front of dataset name in the main screen might help suggest that these are dataset names.
(Inspired by Tableau: )

Instead of buttons, can we just use the dropdown? Or even better, move the samples to a new tab into a scrollable list.

@domoritz I like having all of the loaded datasets on one tab, but there's definitely some UI improvements needed :) Working on that now, I'll see whether the dropdown feels more or less intuitive.

@kanitw @domoritz Thoughts on how it's evolving?

Collapses to one column on small screens:

I like one column better.  A few comments:

should sample dataset be in the same tab as "change dataset"?   Maybe it should be in separate tabs

I also think we should pick one between "change dataset" or "switch dataset" and just use the same text both in the tab and header

@kanitw One column feels too "long" to me, so while I will absolutely change it if you feel strongly, I think two-columns on wide screens makes the list more scannable and makes the descriptions readable without artificially wrapping the text.
In a comment above I remarked to @domoritz that I prefer having user-loaded and sample data in one pane: this pane says "this is all of the current-accessible data", and all other panes are dedicated to loading data. Splitting it into two panes I feel would bury the sample data after you've loaded your own data. I feel more strongly about this than about the column arrangement; ideally we'd have time to user-test this but in the interest of completing the work today I would like to ask your pardon, and ask to keep going with the one-tab approach.
Thoughts?

I think what you said make sense, so feel free to go ahead with two columns.
That said, in the two columns screenshot above, there is not distinction between "loaded" datasets and "example" datasets.  I think the distinction between the two is quite important, otherwise it might be confusing for some users.

@kanitw that's an excellent point, let me address that—I'll have another screenshot shortly

@kanitw @domoritz How about this:

Nice!
Final small nit:  maybe add some background color to just the selected one to enhance clarity?

@kanitw Good suggestion! I've settled on this for now; I'm going to move on to another issue for the time being, but this does make it much more evident which dataset is selected

I like this.  Not sure if this is ready to merged, but if it is, feel free to do so :)

I was just doing some final checks, should be good to go! Merging now.

:tada:


Add better documentation and update polyfill to mirror mdn polyfill again

Provides a better documentation on how to use this polyfill.
Additionally, I am the writer of the polyfill for MDN and i would be very pleased to be an official contributor to this package.

Hi :)
I've updated the Readme.md file

Are you integrating it, or are there further things to add? :)

Hey sorry about that! I've published your changes as 1.2.0. :)

Cool 👍


WIP: Alt fee tests

Describe your changes
Issue ticket number and link
Checklist before requesting a review

[ ] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

REPLACE THIS TEXT WITH RATIONALE (CAN BE BRIEF)

I'm going to work out from an alternative branch, thanks for starting on this.


Hive schematool in HDP <IP_ADDRESS>-1 requires mysql connector in /usr/hdp/current/hive-client/lib

For now fixed up hive_hcatalog.rb
link '/usr/hdp/current/hive-client/lib/mysql-connector-java.jar' do
  to '/usr/share/java/mysql-connector-java.jar/mysql-connector-java.jar'
end

https://community.hortonworks.com/questions/92012/hive-schema-tool-fails-jdbc-problems.html

Fixed in #973


Support VSCode hover action on variables

Similar to TailwindCSS:

TODO:

Add a vscode setting enableHover to keep this feature optional.
Should be available only for CSS variables.
Should work with JS and CSS alike, point to right source value.


VEhFUkUnUyBOTyBTQVZJTkcgTUU (For June 2021)

Contains 5 patches and optimizations:
All PCBSAM for ArrayV May 2021 Release algorithms have been updated, not to mention I spotted a typo somewhere.
Contains 2 thread changes:
Exchange:

Gnome Weaves set 126 items (2, 3, 3, 7)

Impractical:

Stupid Fire delay implemented

Contains 6 algorithms:

Split Center (Ex)
X Pattern (Imp Ex)
Odd-Even Weave Low Prime (Ex)
Odd-Even Weave High Prime (Ex)
Merry-Go-Round (Imp Ex)
Head Pull (V-Imp Ex)

This one lives up to its name in more ways than one.

protips: branch off of main again whenever you want to add a new feature and don't merge with main if it isn't necessary (the commit history gets a little messy)


faster version of per_file channels

This PR implements an alternative method to generate the per_file columns, which is much more performant.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

33 of 39 (84.62%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.008%) to 92.003%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sed/loader/mpes/loader.py
33
39
84.62%

Files with Coverage Reduction
New Missed Lines
%

sed/loader/mpes/loader.py
2
86.81%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
6500

Relevant Lines:
7065

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

42 of 48 (87.5%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.003%) to 91.998%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sed/loader/mpes/loader.py
33
39
84.62%

Files with Coverage Reduction
New Missed Lines
%

sed/loader/mpes/loader.py
2
86.81%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
6496

Relevant Lines:
7061

💛  - Coveralls

@zain-sohail This solution here passes the benchmarks, even with slight improvements on speed (maybe due to different worker specs), whereas the earlier code consistently is a factor 2-3 slower. I merge this here with the other branch, and then have you review it, if you want to see the changes, you can refer to this PR.


CPANSA-DB requires Mojolicious for tests

Please don't use Mojo::Util for your tests. This causes it to install Mojolicious, just to run tests on installation. There's no reason for that.

I'm still working out some things so some stuff is rough. But yeah, Mojo::Util wasn't even used in the tests other than to load it. Thanks for catching that.


[UX] Improve API Lifecycle graph

Description:
The current API lifecycle graph need to be more clear for the user to identify the lifecycle states and transitions.

Suggestion:
Without adding the action buttons sepeartely add the action buttons to the graph instead. Make the relevant action buttons on active state and the others in disable state as shown in below image

Suggested Labels:
UX, Improvement
Affected Product Version:
2.5.0

This has been improved in latest versions of APIM.


Request to the backend service timed out - Analyze Document for Prebuilt or Custom Models (v3.0 API)

Describe the Bug with repro steps
Hello,
I would like some guidance on how to troubleshoot the following :
On my Logic App RUNDI:<PHONE_NUMBER>7534025921438520390CU18
We use the "Analyze Document for Prebuilt or Custom Models (v3.0 API) " Object to get details from an invoice document :
Here's my code snippet:
{
"method": "post",
"queries": {
"api-version": "2023-07-31"
},
"path": "/documentModels/SousContrat_19032024:analyze",
"host": {
"connection": {
"name": "/subscriptions/802be743-068d-4439-8012-52204b75102f/resourceGroups/Solisco-DEV-RSG/providers/Microsoft.Web/connections/formrecognizer"
}
},
"body": {
"$content-type": "application/pdf",
"$content": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PAovVHlwZSAvUGFnZXMKL0NvdW50ID … (content truncated for this post)"
}
}
We received the following error : GatewayTimeout
{
"error": {
"code": 504,
"message": "Request to the backend service timed out",
"source": "logic-apis-canadaeast.azure-apim.net",
"path": "choose[3]\when[1]\choose[1]\otherwise\send-request",
"policyId": "",
"clientRequestId": "281958fa-bbd1-4efc-b9ae-13afc0ece6bd"
}}
This issue has resolved by itself since it was recorded on on April 2nd, 2024 (Canada East) at 9.16AM (EST). Resolution was observed at 2.15pm (EST)
Any idea on we can either find or troubleshoot to the root cause of our issue. Please note that the files to be processed are stored on a Blob Storage.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Chrome
Additional context
No response

For issues like this we suggest opening a support ticket. We can only really help with front end UX issues here and this is something that would need an engineer to look at logs to help with and likely forward to the Gateway team to take a look at.

For issues like this we suggest opening a support ticket. We can only really help with front end UX issues here and this is something that would need an engineer to look at logs to help with and likely forward to the Gateway team to take a look at.

Hello,
Thanks for your response, Do you have the hyperlink to fill a support request ?


Captcha error

Heya,
so I'm getting the 'captcha error' repeatedly, no VPN used.

Hi, some kids just ddossing my website ; )


Seeking advice for usage of dtm

I build a service which connected to multiple MySQLs，and has a logic that will start an XA transaction on these dbs.
On the consideration of distributed transaction, should I set up the grpc server for the logic and  use DTM to control the XA transaction, or i just need to let my service to be the TM and control the XA transaction?
Looking forward to suggestions!

In DTM, the cooperating model is the same as XA/OPEN DTP, and TM refers to DTM.
In order to use DTM as XA transaction manager, APP should provide a service for each XA transaction.
An example can be found here: d.dtm.pub/practice/xa.html

@yedf2 understood. but all my logic are in the same service... so i have to expose a grpc server in my service and program my service to call itself?

Yes. It is the easiest way to implement XA transaction.

@yedf2 understood. I will have a try. thanks.

@yedf2 another question, i check the code of dtm about xa local transaction, find that the server side has to do sql.Open in every transaction. I think it will cause bad performance. It there any approach i can just pass a connection instead of the DBConf?
https://github.com/dtm-labs/dtm/blob/31bf7d9fad4d0b6a15b5573229053eda5603b745/dtmcli/dtmimp/trans_xa_base.go#L36

Because the implementation of XA transaction in Mysql cannot xa_commit a transaction began in another connection if it is still alive, so dtm will create a new connection whenever to begin a xa_prepare.
As well known, XA performance is not high. If you want high performance, you may consider Saga or Tcc

Because the implementation of XA transaction in Mysql cannot xa_commit a transaction began in another connection if it is still alive, so dtm will create a new connection whenever to begin a xa_prepare.

I am wondering, what if handling the connection like this:
// map[xid]*sql.Conn
var connMap = sync.Map{}
func HandleLocalTransaction(ctx context.Context, db *sql.DB, func (ctx context.Context, db *sql.DB, xa *dtmgrpc.XaGrpc) error {
    if phase 2{
         // get the Connection used in phase 1
         conn := connMap. LoadAndDelete(xid).(*sql.Conn)
         defer conn.Close()
         // ping here to check if the connection still alive
         err := conn.PingContext(ctx)
         if err != nil{
                // use *sql.DB to do phase 2
         }else{
                // use the connection to do phase 2
         }
    }
    // get a connection from pool
    conn := db.Conn()
    // phase 1
   // start
  // do something
   // end
   // prepare
   connMap.Stora(xid, conn)
}

As well known, XA performance is not high. If you want high performance, you may consider Saga or Tcc

You are right. But we can still do more to improve the performance.

If there is only one service instance, you implementation is OK. But in real applications, there are many service instance behind nginx or nginx-ingress, and report to dtm with an identical url. When dtm callback the url in phase 2, the requests are likely forwarded to a different service instance, make the implementation above not working.

Understood. Thanks.

@yedf2 can i call xa.CallBranch concorrently? like in different goroutine at the same time?

No, currently not supported.
Maybe supported in the future.

I get a log from dtm:
----recovered panic http/grpc result should be specified as in:\nhttps://dtm.pub/summary/arch.html#http\nunkown result will be retried: rpc error: code = Internal desc = DB group  not found
what dose it mean? what should i do to handle it?

I search the desc in google, but found nothing.
You should enable the debug log for dtm, and also log out all SQLs before executing it, and find out which sql is reporting error.

@SgtDaJim is your problem solved? not active for 2 months, I would like to close it

@yedf2 problem solved. thanks.


Add support for IDA 5.0 .idb files

Add support for IDA 5.0 .idb files, as suggested by Anthony DeRosa.

this will take a bit of work, but its not impossible.
the file header has some changes, mainly using 32-bit pointers instead of 64-bits. the btree version will be different, so we'll have to detect this and swap out the btree implementation as necessary. i have no idea what the analysis-level differences will be. im worried there will be a lot of differences there. perhaps we'll start by exposing only a minimal analysis API for .idb files from version 5.0.

Hex-Rays just released a new demo version of IDA Pro that's based on IDA 7.0. With this in mind, it may not be worth the effort of implementing 5.0 support in python-idb. I presume all freely-created .idb files will soon be v7.0.

Still worth the effort, imho, since there are tons of the already available IDBs for 5.0 version.

Fixed in https://github.com/williballenthin/python-idb/commit/58de7fec847f1b498d9325a549b4e71452b23337


Possible to pass rtsopts to hie via hie-wrapper?

I want to pass rtsopts to hie to limit heap size.
Setting GHCRTS environment variable doesn't work because cabal-helper-wrapper is compiled without -rtsopts.
Is it possible?

I don't quite undestand your request. What do you suggest to change?

When I run hie-wrapper with +RTS .. -RTS arguments, they are consumed by hie-wrapper itself and not passed to hie.
$ hie-wrapper +RTS -M1G -RTS
...
2019-07-28 10:09:21.047062268 [ThreadId 4] - args:[]
2019-07-28 10:09:21.047291876 [ThreadId 4] - launching ....
...

I suggest add an option like --hie-rtsopts for hie-wrapper to pass RTS arguments to hie.

Or maybe a more general --hie-options option (like cabal does with its called programs).

In what format should the format be passed? --hie-rtsops -M1G? How should multiple arguments be handled?

I think we could use common unix convention for various wrappers: everything after double dash should be passed to wrapped program. Like hie-wrapper --wrapper-param1 --wrapper-param2 -- --hie-param1 --hie-param2.

Well afaiu it seems hie and hie-wrapper share all params and the later passes them to the former as is.
So maybe rts params could be handled this way? Not sure if it would be useful to hie-wrapper itself

I think it should be possible to use: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime_control.html#setting-rts-options-on-the-command-line
The important flag is: --RTS. All flags after that are considered to be flags to the executable. This way we can pass the flags to hie-wrapper which can pass it to hie. Havent tried it, though.


Allow teleport beam to ignore grabbed objects

By default the teleport raycast can hit the grabbed object causing the beam not to allow any forward teleport, a tutorial showing how to prevent this.

https://www.youtube.com/watch?v=jaT1RVrkcNY


ColdCard: Invalid PSBT (multisig.py:948)

ColdCard is showing "Invalid PSBT multisig.py:940", and failing to sign.
I tried re-importing the multisig wallet file from Sparrow (though it matched the one that was already loaded), and I've tried exporting the PSBT from Sparrow with/without xpubs.
I (believe I) have used the same procedure in the past successfully, even (I thought) with the same ColdCard version (v3.2.2).
More details below. Any other ideas/suggestions would be greatly appreciated.
Sparrow: v1.6.5
ColdCard firmware: v4.1.5 (and v3.2.2)
Link to apparent problem line in Coldcard firmware: multisig.py:948 in v4.1.5. (And multisig.py:953 in v3.2.2, which I also tried)

Reading Coldcard's code, the error occurs because it has (in it's storage) a record of an xpub with the same master fingerprint but a different derivation. This could happen if you have used one of the keystores in another multisig saved on the device. I'd start by deleting all saved multisig wallets on the Coldcard and re-adding this one.
@doc-hex I've seen this a few times now, would be good to get your thoughts.


Converted types to Swift Value types

Fixed issue #21

Thanks @kaunteya. I intend to merge this, but I'm going to hold off until a 2.0 release, since changing the return types might break things.

Thanks again. Sorry for not responding for so long. I originally merged those changes to next, but the end, I don't think I want to change it. The reason why is because I think the new approach in the next (2.0) branch is much better (give this a read for more info: http://radex.io/swift/nsuserdefaults/static/) and I want to promote that instead. I'm going to treat the Proxy-based API as legacy, probably deprecate it eventually, and so I'd rather just not change anything.

No problem.
next looks very promising. Stringly Typed was a real big problem. Loved the static approach !!!

Thanks! Glad you like it.


Bug:

Describe the bug

Steps to reproduce
i just made an index.js file on replit and just copy pasted the code in the nodejs sdk docs and it seems to appear like this when i run it...
Expected behaviour
I would expect it to start the db server and listen for queries. any solutions to this?
SurrealDB version
latest
SurrealDB.js version
0.9.0
Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

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

idk if this is due to my noobness but i just tested it out and just copied the code from the replit docs like this

For anyone else reading, i can't be 100% sure if this is actually the solution, but when i tried running surrealdb.js 0.9 on node v16, it gave me the same error. When i switched node over to v20 with NVM, it started working.


collector.SetCookies() isn't setting Cookie header

Hi. First of all, thank you for the awesome work!
I just noticed collector.SetCookies() method isn't setting any header.
Example:
var cookies []*http.Cookie
cookies = getCookiesFromSomewhereElse()

collector := colly.NewCollector(
		colly.AllowedDomains("example.com")
)
collector.SetCookies("example.com", cookies)
collector.OnRequest(func(r *colly.Request) {
		log.Println("headers:", r.Headers)
})

prints only:
headers: &map[User-Agent:[colly - https://github.com/gocolly/colly/v2]]

No Cookie header was added. For now, I'm setting Cookie header manually.

Have you tried using r.Request.Headers instead?
r.Headers is the response header instead of the request header

collector.OnRequest(func(r *colly.Request) {
		log.Println("headers:", r.Headers)
})

Function already takes a colly.Request object. Hence r.Request.Headers is not a valid code.

These cookies are set from storage in the http client when http client Do function is called. So it works really, but not exist in colly.Request . You can get it from the collector itself.
collector.OnRequest(func(r *colly.Request) {
		cookies := collector.Cookies("example.com")
})


Ability to programmatically open the dropdown

I need the ability to open the dropdown programmatically when setting options dynamically. Currently someone has to type an extra character for the dropdown to show. Atleast make the open function public or provide an open input. Otherwise great job.

This might help you.


feat(docker): build image on release

SUMMARY
Create a specific build when a GH release is published. Tag the image with the release tag has is.
Also limits to master branch and PR's
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11828 (4713d61) into master (bac84a3) will decrease coverage by 4.40%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11828      +/-   ##
==========================================
- Coverage   67.56%   63.16%   -4.41%
==========================================
  Files         916      459     -457
  Lines       44545    28159   -16386
  Branches     4227        0    -4227
==========================================
- Hits        30098    17786   -12312
+ Misses      14344    10373    -3971
+ Partials      103        0     -103

Flag
Coverage Δ

cypress
?

javascript
?

python
63.16% <ø> (-0.94%)
:arrow_down:

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

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/databases/commands/create.py
32.65% <0.00%> (-59.19%)
:arrow_down:

superset/db_engine_specs/hive.py
54.08% <0.00%> (-29.97%)
:arrow_down:

superset/views/database/mixins.py
59.64% <0.00%> (-22.81%)
:arrow_down:

superset/db_engine_specs/presto.py
69.76% <0.00%> (-12.53%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/databases/dao.py
94.11% <0.00%> (-5.89%)
:arrow_down:

superset/databases/api.py
83.67% <0.00%> (-5.31%)
:arrow_down:

superset/views/database/validators.py
78.94% <0.00%> (-5.27%)
:arrow_down:

... and 476 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 bac84a3...4713d61. Read the comment docs.


Grid export - scale mismatch when exporting percent values

Configure a grid column showing a percent value with renderer: percentRenderer() and exportFormat: ExportFormats.PCT - the exported value will display 100x the rendered value.
Not sure if this is possible to workaround - the Excel format makes it clear (within the Excel "format cells" UI) that it will display the value x100 with a percent sign.  Can workaround by providing exportValue: v => v/100 - but should our percentRenderer match Excel's behavior and also x100 for display?  Would that be more natural in general?  (If so we can close this ticket or modify to make it about the renderer itself.)

Don had some cycles, and is the original expert on formatting


Added rxi's LoveDOS under the Platforms category

I haven't made a game using LoveDOS, but I've used at the source as a reference for embedding Lua.

:+1:


CPU compile live_demo

E external/xla/xla/service/slow_operation_alarm.cc:65]
********************************
[Compiling module jit_apply_fn] Very slow compile? If you want to file a bug, run with envvar XLA_FLAGS=--xla_dump_to=/tmp/foo and attach the results.
********************************
E external/xla/xla/service/slow_operation_alarm.cc:133] The operation took 9m29.906265931s

********************************
[Compiling module jit_apply_fn] Very slow compile? If you want to file a bug, run with envvar XLA_FLAGS=--xla_dump_to=/tmp/foo and attach the results.
********************************

I was just trying to run live_demo.py on CPU and I got these messages.
How much time the compilation time it requires?

What is the current coverage of this on different device types?
from jax.experimental.compilation_cache import compilation_cache as cc

TAPIR compilation often takes minutes on GPU.  This is an unfortunate limitation of JAX: large graphs take a long time to compile.  We don't have immediate plans to simplify the graph (it would be another entire paper), so if this is a problem for you, I'd suggest you raise an issue with the JAX team.
That said, 10 minutes seems a bit excessive (I think in my experiments, I was seeing more like 5 minutes to compile).  I'm not sure what can cause that kind of discrepancy; it might have to do with CPU model, but I doubt that's very helpful to you.

Do we have different levels of components compilation? E.g. the live demo it seems to me most demanding

Not currently.  I'd like to optimize this better, but I'm not very familiar with how compilation_cache works.
From what I can find, jax compilation_cache now seems supported on GPU.  We might be able to distribute a compilation cache for the live demo, but I'm not sure we have the bandwidth for it.  This is more intended for research than production currently.

Ok thanks


appmetrics removes its own files during install

The intention was probably to save disk space, but the side effect is that once appmetrics is installed, it can't be reinstalled: npm rebuild fails.
This is made worth because npm2 under some conditions appears to install modules twice even though they only appear once on disk. We see this in CI on Windows boxes mostly. This wouldn't be such a big issue, except the second time the install script runs it fails, the install tgzs were all deleted after the first install.

I'm not able to find the troublesome install scripts in this repo to attempt a fix.. am I missing something?

The script isn't in this repo, the actual packaging is closely tied to the
multi-platform build system, which aggregates the binaries from all the
platforms. I think the script should be moved here, though.

https://github.com/RuntimeTools/appmetrics/pull/303

Closing as fixed in #300

Build system is now using this version, changes will go into 1.1.1


Missing information to run locally

I am trying to use the template but after trying to follow the development steps i can't make it work

Maybe can you please consider update the README.md with more clear setup information. The template is really cool
I already create the reCAPTCHA but i don't know how to fill this

do i need a real domain to run the template locally?
wich key do you need secret or public?
i guess is secret but is not specifyed

which scopes need the github token?

Ty so much in advance
where should i run this command?
vercel env pull

After a close look to the code i identifyed an error on the .env.development.local.template
https://github.com/smakosh/next-portfolio-dev/pull/2

🙌🎉


token refresh

Hi @JoDehli ,
Nice job of yours indeed, without knowing much of Loxone API, I'm not sure I get how token refresh is working.
https://github.com/JoDehli/PyLoxone/blob/master/custom_components/loxone/api.py#L287
You set "valid_until"  (set_vaild_until) but I cannot see where the actual token is being set.
Is there not a self._token.set_token() missing somewhere in the _refresh_token() function?
Thanks

I did not check it in detail but I think you are right. As it is already a old implementation of the pyloxone api I will not change it. I am currently working on a complete rewrite of the api which does not use the websocket lib anymore. It uses the aiohttp lib. In the future I want to separate the communication between the miniserver and the home assistant part completely.
I am really not happy with the implementation as it is today. I started it as a project for myself but no I work most of the time to implement things for other people and I have no time to work on the implementation itself.
Do have python skills and want to support me with the programming?

We can try, I know python a bit, not as advance as yours but I can learn.
If you setup the code framework (eg function blocks with comments on what is the expected return), I'm happy to implement the functions itself. Start a new branch?

@sooslaca Ok then you can wait until we implemented the new api. This should be a good starting point. The implementation as it is now not not recommended to use for other projects then homeassistant.


develop suggested process for visualizing the output

once we have a bunch of points with Green View Index (GVI) scores, we need a way to look at it 😁
sample dataset:

Three_Rivers_Michigan_USA_points_2_images.gpkg.zip
Three_Rivers_Michigan_USA_points_2_images.geojson.zip

ideas?

e.g., maybe a hex-bin density map like described here: YouTube tutorial;  blog post example 1;  blog post example 2
e.g., perhaps documenting how to use tippecanoe and QGIS in a workflow like the one described here: https://digital-geography.com/create-your-own-vector-basemaps-the-easy-way/
is there a way we could have a self-contained leaflet.js map with all the data and requirements contained in a GitHub Pages?
something else???

something better than just this...

What's the downside of just a standard heat map? Might be simpler to implement than a hex grid.

Demo/comparison of hex vs heatmap:

Aesthetically I think there's not much in it, and both are easily supported by webmapping tools.
A benefit of using a hex grid would be the ability to show attributes as labels or in pop-ups - e.g. you could label the polygon with the GVI mean, or show a popup that has the summary stats.
Could enable both and give an option to toggle between them on the webmap?

For me, the heatmap suggest an absence of the variable in the locations with no color. That is, areas of no vegetation. Whereas, for me, the hex grid is makes me think "no data" or "not part of the analysis" for the areas outside of the hex. It would be interesting to do a user study and ask them how they interpret the different options to figure out which most accurately helps them take away the intended information.

Sure, I can have a go next week and share something for input.

Have submitted a pull request for a first stab at this.
There are still some things that could be improved in building the webmap, like dynamically setting the hex resolution and webmap zoom level based on the extent of the dataset. Suggestions welcome on the best way to do that!

looking at this real quick, both versions so far have clean lines (street, hexmap)
the hexmap also covers the building roofs and the area between the streets, which makes sense on an aggregated level but on a "extreme technical level" there's no actual vegetation


Question about deps.sh and embed.sh

I am looking into ways to unify my macros across various uses, between my configs and multiple plugins, so I don't have to make sure I have to keep them all up to date manually. For my Aniseed plugins, I was looking at embed.sh, which says that it puts the result of deps.sh into the lua folder of the Aniseed enabled project. However, when I go to require the macros from the embedded repo, they can't be found. I have tried various pathnames for the macro call, but none seem to work
The repo I am testing this feature out on is found here: https://github.com/katawful/test-fennel

Hmm did you try test-fennel.katcros-fnl.macros.nvim.api.utils.macros? Since it's embedded under your Lua directory which is placed in the path. I worked out that path by looking in the Lua dir and just walking the directories down to your macros file.
I know that's a little weird but the tradeoffs between inventing new path ideas and just piggiebacking on the Lua path are difficult. I went with "just put it under Lua and use that path system as a base" which works well but leads to this duplication of .fnl files into the lua dir which smells off but doesn't cause much harm for the value it provides (when it works...).

Yeah, that doesn't seem to work still for whatever reason

I think the issue is that because these are macros, the fennel compiler needs them in the fennel path. Unlike runtime files I embed via embed.sh, which just get the output lua files into the appropriate lua folder of my project. Should there be a script to embed a project within fnl/?

Just looking into this now because Conjure embeds Aniseed's macros inside of it's own Lua directory and they can be referenced fine.
I think you're right with the path issue, so you could manage that yourself by requiring aniseed.fennel and calling the add-path function in there if your plugin isn't on your path for some reason.
What I think is happening here (could be wrong!) is that you're working on your plugin without it being added to your path, so just as a directory of Fennel files. This technically works for evals but it doesn't include the directory in the path like Aniseed expects.
So when I'm working on an Aniseed based plugin I'll always either include a https://github.com/Olical/nvim-local-fennel file that adds my CWD to the runtimepath at startup OR I'll do what I do 99% of the time: Point my dotfiles plugin manager at the directory I'm working with like: "~/repos/Olical/conjure" {:mod :conjure}
This means the plugin and it's Lua directory is added to the path and is ready for evals. This is a caveat I should document somewhere in Aniseed I guess 🤔 that if you're working on a plugin you need it in your Neovim path or Fennel / Lua paths won't find your modules.

If you are doing this already then something else is afoot of course. It could be that your lua or runtimepath's aren't being set in the way that I expect. Aniseed does this sync at startup so your Fennel path reflects all of the equivalent Neovim paths. This, I think, is the least surprising way for this to work. If Lua plugins can see it, so can Fennel etc.
(defn sync-rtp [compiler]
  "Synchronises the runtime paths into the fennel.macro-path"
  (let [;; For direct macros under the fnl dir.
        fnl-suffix (.. fs.path-sep "fnl" fs.path-sep "?.fnl")

        ;; For macros embedded from other tools under your lua dir.
        lua-suffix (.. fs.path-sep "lua" fs.path-sep "?.fnl")

        rtps (nvim.list_runtime_paths)
        fnl-paths (a.map #(.. $ fnl-suffix) rtps)
        lua-paths (a.map #(.. $ lua-suffix) rtps)]
    (tset compiler :macro-path (str.join ";" (a.concat fnl-paths lua-paths)))))

Fennel/lua paths isn't something I'm super familiar with. I tried looking around in the fennel table, but not sure what exactly I should be seeing or doing within the module

So if you can make sure your plugin is loaded by your plugin manager, even though you're still working on it, the paths will be managed for you automatically, it doesn't require you to modify any paths since plugin managers / neovim put your plugin's lua dir on the path and Aniseed automatically picks that up and syncs it with Fennel for you.
One alternative is to require aniseed.fennel (may be prefixed like conjure.aniseed.fennel or whatever you plugin's prefix is) and then call (fnl.add-path "path-to-my-project/fnl/?.fnl").
Another approach could be to do something like the Aniseed internal compiler script
#!/usr/bin/env bash

# Compiles all Fennel code into Lua assuming you have Aniseed cloned through dep.sh.
# Usage: deps/aniseed/scripts/compile.sh

nvim --headless -u NONE \
    -c "let &runtimepath = &runtimepath . ',deps/aniseed,' . getcwd()" \
    -c "lua package.path = package.path .. ';$(pwd)/lua/?.lua;deps/aniseed/lua/?.lua'" \
    -c "lua require('aniseed.compile').glob('**/*.fnl', 'fnl', 'lua')" \
    +q

I'm modifying the runtimepath to add my current directory which Aniseed will pick up automatically and sync into Fennel's path.

So I think I sorta got the hang of it, but it's not working how I expect still. Added my test repo to my Neovim package manager (packer if it matters), then Conjure started working perfectly. However, Aniseed still wouldn't compile with my macros (path being: plugin-name.macro-embed-name.macro-path). When I copied the Aniseed compile script, and added the path for the sourced macro repo added from dep.sh, it would then compile with macro-embed-name.macro-path, but not plugin-name.macro-embed-name.macro-path. This change in path now means Conjure won't work
Test plugin for seeing what I did: https://github.com/katawful/test-fennel

Ok, figured out the Aniseed compiling issue. The makefile made by seed.sh puts compile.sh before any embed.sh. Swapping those two scripts lets me properly compile. I think this is an issue with Aniseed then?

Ohh yeah it may well be! I can't remember why it's in that order, maybe there's a reason for it so it won't be as simple as swapping (since it'll break something else, maybe?) but I'll have a look. If swapping works for you, please use that for now, I'll see if it's all the same for me and swap it in the repo too if it seems okay.

I think I've fixed this on the develop branch! So the embed is before the compile now and compile supports a little sed magic to ensure your compiled lua refers to your embedded Aniseed copy. Maximum flexibility and you can properly depend on macro files of your deps now. I hope this helps!

New method seems to work well in my test repo, thanks for the help!


Fix janus-idp-backstage-plugin-rbac path

The path for the community "janus-idp-backstage-plugin-rbac" is incorrect. It should not end with "-dynamic".

/cherrypick 1.2.x


[MAINT] add docker GHA worklow

Test the solution here for separating build and push: https://github.com/docker/build-push-action/issues/219
Limit the files that triggers this workflow

Also did a PR on your branch if you want to trim the number of commits. Feel free to merge whichever.
https://github.com/Remi-Gau/giga_connectome/pull/5

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

Project coverage is 92.11%. Comparing base (fd1ae30) to head (1ba7836).
Report is 4 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
+ Coverage   90.05%   92.11%   +2.05%
==========================================
  Files          11       17       +6
  Lines         523      672     +149
==========================================
+ Hits          471      619     +148
- Misses         52       53       +1

see 6 files with indirect coverage changes

Looks good.
Will merge to have this work on main from now on.


DynamicRayCastVehicleController in Rapier v0.17.0

Hello. I see that r3p currently depends on rapier 0.11.1, however 0.17.0 got DynamicRayCastVehicleController. Would be great to have it exposed in r3p.

Agree, it will be great to get this in rt/rapier!
But this is blocked on bindings being added to rapier.js packages - https://github.com/dimforge/rapier.js
If you're keen to see this sooner, you could contribute to the bindings effort there. Last I heard on the dimforge discord, someone was working on them, but it's been a while.

There's also no open issue on rapier.js for adding vehicle bindings. Would be good to open one there to track the effort.

The vehicle controller is currently available through the canary release of @dimforge/rapier3d-compat

Some folks on the discord have had some success overriding the version of @dimforge/rapier3d-compat that @react-three/rapier uses. See: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides
This isn't ideal though 😞 unfortunately the maintainer of rapier is busy with non-rapier work right now and hasn't had time to get a release out.

@react-three/rapier now uses a version of rapier.js with the dynamic raycast vehicle controller.
Example of usage:
https://sketches.isaacmason.com/sketch/rapier/dynamic-raycast-vehicle-controller
https://github.com/isaac-mason/sketches/blob/main/src/sketches/rapier/dynamic-raycast-vehicle-controller/use-vehicle-controller.ts


Functions turned to yacky colors

This is the most awesome theme out there, but for some reason, the functions became this yucky color:

Why did it change, is it possible to go back to a little brighter color?

Hey @sittim, do you have an example of how it was before? I suppose the change comes from #33 (pinging @shmerl for that :)).

Unfortunately I do not have the other color without going back though git, I just remember that its intensity was closer to the other colors.  Its current intensity looks closer to the comments.

I proposed to use a bit different color (to make a new one), but @whatyouhide asked to re-use existing one. See example here. The proposed color was brighter.

Okay, I see now. The current color looks indeed a bit "outside" the theme, so I'll revert #33 and keep the close colors we had before. Thanks both for the help! 💟

Much better, but it would be nice to add a dedicated color to a function as was proposed.  Now the keywords and functions look the same:

By the way, I tried lots of themes, this one is the most pleasant.


React@17 and Nextjs

Bug report 🐞
Im using the create-next-app example found in this repo to look ash the feasibility of using these components in my Nextjs app. the example works fine with react 16, but the moment I upgrade react to react 17 running the app fails with:
Error: Invalid hook call.
Version & Environment
Safari: Version 14.1.1 (166<IP_ADDRESS>.4)
Firefox: 88.0.1 (64-bit)
Firefox: 89.0 (64-bit) (Firefox updated with testing)
geist-ui/react: Version 2.1.5
React: Version 17.0.2
React-DOM: Version 17.0.2
Expected Behaviour
The behavior I expect is ...
I Should be able too update React to 17 without everything breaking
Actual results (or Errors)
I got an error:

create-next-app example with
package.json update
"react": "17.0.2",
"react-dom": "17.0.2",

This issue has been fixed in the canary version: yarn add @geist-ui/react@canary

very much appreciated


Reconsider costing for Aether spell design

TODO: Reconsider costing for Aether spell design

https://github.com/LittleKingsguard/Eternity-Core/blob/a021b0c2cf114336377ab301c22245d33b421229/ToDo.md#L23

Halved Effort --> Aether conversion to encourage use of Flare power, and reduced Scaling for most spells


Update yellow highlight when selected relation members are changed

When I delete members from a selected relation, the yellow flashing highlight is not updated to reflect this change.

Hmm, this isn't actually reproducing consistently.  Sometimes it works, sometimes it doesn't.


tx-generator: bug fix: breakup large STM transactions.

This fixed a bug in the tx-generator that affects proper shutdown of
the Node2Node submission clients.
The tx-generator uses an internal TX queue of size 32
and the code for shutting the submission clients down
had tried to write n times Nothing to that queue (n== number of nodes) in one atomic transaction.
TODO: TX-queue is not really needed in the new design and is to be removed altogether.

bors r+


chore(e2e/install-script): Adds more visibility to the security communicaiton to system-probe

What does this PR do?
This PR adds more visibility to the e2e CheckCWSBehaviour/system-probe and security-agent communicate test by removing the silent failing and adding some logging to the tt suite.
Motivation
This test flakes, but it is unclear the step that leads to this.

/merge


Parse modules for hotpatchable functions.

In order to represent functions in Orbit we read information from various sources: elf files, coff files, pdb's. In the end all of these produce SymbolInfo protos. This change adds a is_hotpatchable field to SymbolInfo. Only for elf files we parse for hotpatchable functions and set the new field to true if appropriate. Msvc also supports hotpatchable functions but for now we ignore this.
SymbolInfo is translated into FunctionInfo - so this also gets the is_hotpatchable field.
FunctionInfo is translated to a InstrumentedFunction in the capture options. The is_hotpatchable field is added there as well.
The rest of the PR is basically adding the new is_hotpatchable field to all the tests. The only real addition to testing is in ElfFileTest - it is parsing the hotpatchable function section from a test binary.

Thanks for the reviews!


[WIP for GodotCon] Better network buffers

I'll update the desc, I'd like to discuss this a GodotCon for now :wink:

Allow setting buffer size & max packets WebSocket a84c22fe231c218a5877abf7c6abbc62ab0c0cb3
Yessss. Thank you, Faless. That would solve #22496. Thank you. 👍

Updated PR, removed core changes (PacketPeerUDP), will do that another PR in case

Time for an update now I think ;)

@akien-mga indeed it was :)

Update PR to use KiB directly for buffers (and actual number for packets).
Sadly, due to the way we capitalize, they look like kilo-bits. Also, maybe I should write kib instead? Should really be KiB to be correct.

Sadly, due to the way we capitalize, they look like kilo-bits. Also, maybe I should write kib instead? Should really be KiB to be correct.

I think it's good enough to use KB, in a computing environment most people understand that it's for 1024/kibi and not the SI kilo.

Thanks!


Use server helper in in_http

Which issue(s) this PR fixes:
I couldn't find any issue about HTTPS support of in_http.
#2124
What this PR does / why we need it:
I replaced an implementation of in_http with server helper to prepare for HTTPS support.
Docs Changes:
no
Release Note:
no

https://github.com/fluent/fluentd/issues/2124 is related issue.

Could you check?

Thank you for reviewing it.
In my environment, it would work with this patch(https://github.com/fluent/fluentd/pull/2413).

I confirmed it works with 2413.

Thanks!


ProducerConfigurationData & ConsumerConfigurationData is not documented with @ApiModelProperty

Search before asking

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

Motivation
ClientConfigurationData has all its fields annotated with @ApiModelProperty, but ProducerConfigurationData & ConsumerConfigurationData do not have that.
It would be very useful to have documentation on these properties, too, especially if this documentation generates a list of available properties for clients, consumers & producers. Also, the documentation could be a bit more detailed.
Solution
Add @ApiModelProperty for each public property with a detailed enough description.
Also, expand on the descriptions for ClientConfigurationData :)
Alternatives
No response
Anything else?
I guess I could add those myself and send a PR but I might not have the right description for some of those properties.
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

I can see that some field of ConsumerConfigurationData and ProducerConfigurationData have the ApiModelProperty annotation.
And yes, feel free to submit a patch to add any description you think is good for documenting. I'm glad to give them a review.
It's not quite easy to set up the assertions all fields are well documented but we can gradually improve it,

I'll do my best.


provide an example

can you elaborate in the readme with an example what this actually does ?

https://github.com/yongjhih/android-proguards#details


Cerebro wont load overview if cluster is big

Hello there,
Im trying to connect Cerebro to my 10TB ElasticSearch cluster, but without success. Request is pending on /overview, which after some time timeouts.
I checked all endpoints in app/elastic/HTTPElasticClient.scala, but all of them was completed after few seconds, could you please help me with this problem?
Thanks you in advance.

Same issue here.  Success with smaller clusters, larger clusters with many member instances of elasticsearch seems to hit some timeout somewhere,  but I'm not sure where.
I am upgrading to 0.9.2 and am hitting this issue.  Version 0.7.2 seems to play nicer with the larger clusters.

i have same question

i also have same question

Hi @D4NNYX ,
I would need more information to debug the problem. i.e:

version
how many indices
Equivalent request executed against elasticsearch takes also few seconds?

Thinking about possible problems I wonder if:

Elasticsearch is slow then cerebro will be slow and we can do nothing.
Elasticsearch is fast but API part of cerebro is slow
UI is slow because there are too many items to show

It would actually be great if you could provide a script that creates all indices in your cluster. Field names, index names and etc are not important, but the amount of them and the sharding setup are. If you could also tell us how many nodes, we might be able to debug this.

Cerebro
v0.9.2
ElasticSearch
v7.8.0
8643 indices
17116 shards (most of indices have 1 shard)
1 replica for all indices
3 master, 12 data, 2 coordinate nodes
I dont have a script which create all the indices, Elastic is part of Elastic Stack, so Logstash is the component which creates indices dynamically.

Hello @moliware, @lmenezes ,
here are my information:
cerebro version : v0.9.2
elasticseach version: 7.5.1
indices in cluster: 10835(5541 indices open , 5346 indices close)
nodes in cluster: 29nodes
total shards: 38211
total docs: 43 105 545 558
total size: 12.26 TB
I download source code find overview request cluster state,nodes stats,stats docs,cluster settings,aliases,cluster health、nodes jvm, it takes a few seconds, by debugging source code I find it pending at app/models/overview/clusterOverview.scala line 53.

Through debugging I think property blocks only contain index close, blocks get index open not in json obj will take lots of times, so I change this, now is worked well.

Good catch @xiaowushen . I investigated a bit further and in the following scenario:

A big number of indices
Many of the indices are closed

this line becomes a bottleneck:
val indexStats   = (indicesStats \ "indices" \ index).asOpt[JsObject].getOrElse(Json.obj())
Being indicesStats a big json object, when doing the lookup to find index and this index is closed (then the lookup fails) the json library construct a string with the full json (https://github.com/playframework/play-json/blob/2eb4900/play-json/shared/src/main/scala/play/api/libs/json/JsLookup.scala#L107). Doing this for each closed index ruins the performance.
I will prepare a fix to be released in the next version.
Thank you!


Added missing patch chord to fluid.audiotransport~ help file second tab

Nice to see this PR - If you look at the diff (changed lines) you'll see a large block that is about a "dependency cache" - that's file paths that Max stores locally to make reloading quicker. Some of those paths will be local to your computer.
It's best to stop max from doing this when committing to repos. You can do this by going into Max Preferences and turning "Save Dependency Paths" off. Once you've done that, resave the patch you've altered here and make a new commit "remove dependency paths" or similar.


Look into/fix mythical high eye shape for USDC

Fixed this in https://github.com/aavegotchi/aavegotchi-contracts/commit/774c8ae0a15fd467b1a4aa30da5e2489f42b9486.

Fixed this in https://github.com/aavegotchi/aavegotchi-contracts/commit/774c8ae0a15fd467b1a4aa30da5e2489f42b9486.


APP-583

Password passing in cleartext on command line
Remove hardcoded default password / plaintext password in source

ok to test

@dnsymphony please check