Websocket server stop responding after some hours.

Hello. I have used the supervisor concept to check and restart my chat server if it is stopped.
After some time interval my chat not working.When i check the console i didn't find any websocket connection fail error.
Then i use below command to check my server is running or not and see the server still running.
ps aux | grep php
So i am confused where is the issue or bug for which my chat application not working.

When i kill the chat server process manually by using the "kill" command then the supervisor start the chat server immediately and my chat working fine.

Put the following code in your script and restart it:
error_reporting(E_ALL);
ini_set('display_errors', 1);

Please paste the output of the following command here:
composer show -i

Once the error happens again don't kill the script. Check and paste the latest output of the supervisor stdout and error logs in this issue.
Once the error has happened ssh directly into the server and run the telnet command and enter the following into it (and paste the output here):
GET / HTTP/1.1
Host: localhost

I'm going through the same problem.
and here is what was shown on "composer show -i" command
cboden/ratchet           v0.3.3 PHP WebSocket library
evenement/evenement      v2.0.0 Événement is a very simple event dispatching library for PHP
guzzle/common            v3.9.2 Common libraries used by Guzzle
guzzle/http              v3.9.2 HTTP libraries used by Guzzle
guzzle/parser            v3.9.2 Interchangeable parsers used by Guzzle
guzzle/stream            v3.9.2 Guzzle stream wrapper component
react/event-loop         v0.4.1 Event loop abstraction layer that libraries can use for evented I/O.
react/socket             v0.4.2 Library for building an evented socket server.
react/stream             v0.4.2 Basic readable and writable stream interfaces that support piping.
react/zmq                v0.3.0 ZeroMQ bindings for React.
symfony/event-dispatcher v2.7.1 Symfony EventDispatcher Component
symfony/http-foundation  v2.7.1 Symfony HttpFoundation Component
symfony/routing          v2.7.1 Symfony Routing Component
I placed these statements at the starting of my server file, but didn't find any.
error_reporting(E_ALL);
ini_set('display_errors', 1);
please help me.

@rohitkhatri What happens when you do the telnet thing after the server has stopped responding?

Closing due to extended period of inactivity. I'll re-open if reporting continues.

Slightly late to the party but I've been looking into Ratchet again and I wanted to check to see if some of the issues that I encountered last time I tried to use (two years ago) have been resolved.
This particular issue was a showstopper when it came to using Ratchet for a service that ran continuously and I'm seeing a fair number of reports here with similar symptoms. Ratchet would work fine for a while before becoming unresponsive to new connections, maxing out the CPU and needing restarted. Initially, it'd run happily for several weeks but that ended dropping to needing manual intervention every couple of days.
The problem turned out to be that it's leaking file descriptors and as soon as it hits the maximum (1024 by default, I believe), restarting the process would be required. As the site's traffic grew, it'd end up hitting the limit quicker. I didn't have the time or interest fix the root of the problem on a hobby project so I can't offer up a patch but perhaps being aware that there was/is a leak can help get the ball rolling.

pradeepta20 .. got any solution for that...

Initially i have done the database coding using PDO.Later i change the code to mysqli its working fine for me.
I don't know the exact reason but it was due to some database coding error.

Use below code to connect automatically when Websocket server restarted.
var wsUri;
$(function() {
wsUri = $("ws_uri").val();
init();
});
function init() {
websocket = new WebSocket(wsUri);
websocket.onopen = function(ev) { //connection is open
}
websocket.onmessage = function(ev) {
};
websocket.onerror	= function(ev){
};
websocket.onclose = function(ev) {
init();
};
}

I am having a similar issue. The web browser doesn't connect (but it doesnt fail either) and hen I check the websocket logs, everything looks fine and the new connection isn't started. My sockets are basic without a database.

@Chaosvex The file descriptor limit issue is an operating system level feature...you will run into this problem with any language/environment (not just Ratchet/PHP). If you're hosting a WebSocket server 1024 is WAY too low if you expect any traffic at all.
@MarcGodard Please follow the directions from this comment above and report the output so we can help troubleshoot.

@cboden Yes, I know that but that has nothing to do with the leaks within Ratchet.

@cboden I figured out the issue minutes after posting that. It was my fault. Thanks for the quick responce.

@MarcGodard could you share your finding if its of general interest?

I had an error in my code, that's all.

The same problem as at @pradeepta20, in several hours sockets cease to answer. In this discussion I haven't found the solution. Whether there is a solution in general, except as restart of sockets constantly?

I'm using AWS EC2 server for my application. My chat has stopped 2 times till now automatically but when I go to terminal and use the pgrep command to find the websocket process, its showing me processes, its mean that socket is connected to server. but still chat was not working. Then i kill all two process mnually and my cron job which is set for every 1 minute to start socket its running again and my chat get live again. I faced this issue 2 times. I don't know how things are going on in the background. I didn't find any logs, I have maintained all the logs that user is attached, user msg to this user, blah blah. but there is no error log in my logs.
Further more if mobile user just turned off his/her wifi or mobile data my chat is not firing onClose method. So the thing is that how to mark a user offline in this scenario if someone met this criteria. Which is the way to mark user offline if onClose method not fired.
Thanks!

This issue may caused by this error: "Fatal error: Allowed memory size of xxxxxx bytes exhausted (tried to allocate xxxxxx bytes) in ....."
Solution:
Increase the value of memory_limit in php.ini.

Considering that neither developer has responded to a showstopper of a bug in several years, you'd be best dropping this project and looking for an alternative.

We fixed several memory leaks in ReactPHP over the last few years since your last comment. We implemented new event loops and done a ton of performance upgrades. The thing is you need to account for the following when deploying:

Raise ulimit for your user/application so it can handle more then 1024 open FD's
Use an event loop extension over the default stream select loop which is hard capped at 1024 FD's
Monitor your application's connections, memory usage, CPU usage, request/messages per second

we simple cannot debug very deeply into your problem without information like that. But what also matters is what you do when a connection has been establisht, what kind of resources you use and how you connect to databases/storage etc etc.
And last I really want to stress that we cannot change the 1024 thing for you on your deployment. You have to do that yourself. It's baked in hardcoded into stream_select and you need to change the event loop and raise it on ulimit if you want to resolve that. Wheither or not you consider raising the limit a good solution, that is how the OS works, it's entirely out of our hands and into yours to resolve that on your systems.

This was never about memory leaks or even a concurrent handle/descriptor limit, it was about the descriptors leaking so a popular Ratchet-based site would have to be frequently killed off and restarted to prevent it from live-locking and potentially bringing an entire system to a crawl. Concurrent handles was irrelevant.

File descriptors don't leak, and according to your own description hitting the 1024 limit was/is the root cause of the issue you where having. They can leak over from a parent process into a child process but that's a totally different issue. (And we added tooling against that in react/child-process v0.6.0.)
The thing is we have several users doing more then 50K+ connections in a single process with Ratchet without a hitch. And I don't want to suggest the problem is within your code, but implementing a long running service in PHP is a delicate dance between us the maintainers of Ratchet/ReactPHP and the implementer's of our libraries. This is also on a lower level PHP then your normal request-response cycle. I gladly sit down for a hangouts call with anyone to resolve their problems, but it's going to get technical and diving into tracing, logging and monitoring really fast. And to be really honest I can't do much with "It's locking up please fix". I want to dive into that and preferably try and find a way to reproduce it so we can fix it up stream.
Personally I monitor the memory usage (amongst things) fanatically to stay ahead of issues like this.

Yes, hitting 1024 total over the lifetime of the process, not 1024 concurrent. When those connections are no longer active and there's no longer a handle available, that's when it comes a leak.

Just tested this with StreamSelectLoop, no problems. I suspect you're holding a reference somewhere, holding open 1024 connections, causing your problems.
composer require cboden/ratchet
<?php
    require __DIR__ . '/vendor/autoload.php';

    $app = new Ratchet\App('localhost', 8080);
    $app->route('/echo', new Ratchet\Server\EchoServer, array('*'));
    $app->run();

// In a browser
setInterval(() => {
  let c = new WebSocket('ws://localhost:8080/echo');
  setTimeout(() => c.close(), 250);
}, 500);

^ Server still responding with 101 HTTP status code after 1024 connections.

Given example implements variant with closed connections
What about not closed connections
I'm failed after 125 connections
with
var x = []; for(var i=0; i<1024; i++) {x[i] = new WebSocket('ws://MYHOSTADDERSS/ws');}

@inri13666 What's the error you're getting? The reason I closed connections was because the browser I was testing with didn't allow that many concurrent connections to a single server as a security measure.

I do not have any errors in the log, the socket not responding and only socket command restart may help :(

I found the cause for my issue,
Web browsers allow huge numbers of open WebSockets
The infamous 6 connections per host limit does not apply to WebSockets. Instead a far bigger limit holds (255 in Chrome and 200 in Firefox).
https://cs.chromium.org/chromium/src/net/socket/client_socket_pool_manager.cc?q=WEBSOCKET_SOCKET_POOL&sq=package:chromium&type=cs&l=29

Totally I found the final solution
Never use React\EventLoop\StreamSelectLoop this is the cause of all issue on Linux it's limited to 1023 connections on windows it fails after 512
To solve the issue described here install one of the following PHP extensions

Event extension My Choice, but for windows, have some issues
libuv wrapper This loop is known to work PHP 7+.
interface to libev library This loop is known to work with PHP 5.4 through PHP 7+.
Libevent - event notification Not recommended for PHP 7+ but have An unofficial update
PHP libev Extension

P/S
Sample application to check connections
Server: https://github.com/inri13666/web-socket-echoserver
Client: https://github.com/inri13666/web-socket-test

Hi I am sorry for this late comment. I was having a similar issue that server seemingly stopped responding after some time. Tried many solutions but at the end turned out that MySQL was taking timeout after 8 hours of inactivity and disconnecting. So I put a root cron job
0 0,8,16 * * * systemctl restart abc.service
It worked for me.

I know this issue is quite old and has been closed for a while but it best covers what I have been running into.
Every once a while, my websocket message interface just stops working/responding. I restart the server and things immediately work again, with clients immediately reconnecting. Sometimes it breaks again within 10 or so minutes and sometimes it works for hours or days without any issue. I have a cronjob that restarts this server every 3 hours, so my question is:
Is there determinism on which PECL extension (ev, event) is used whenever the websocket loop is defined? Is there a chance that sometimes I'm getting a loop that uses one interface and sometimes I get the other if I have both PECL extensions installed?
I do not see any memory or CPU issues on the server, but whenever I see a series of broken pipe issues:
An error has occurred: Unable to write to stream: fwrite(): SSL: Broken pipe
I restart and either don't see these errors again or do, in which case I restart again until they subside.

I had an experience which may help somebody.
My server was stoping responding after one hour when the number of concurrent socket connections reached about 700. After doing all of the possible solutions, I realized that I had a ProxyPass in apache which redirects port 443 (SSL) to 8080 (my socket port). Finally, I increased the ServerLimit in my Apache prefork configuration from 700 to 1700 and the problem was solved temporarily.
This shows that if you use ProxyPass of Apache (or another webserver) the Apache will become busy as it is between the client and WebSocket server.

Well, folks, I dunno quite well whether my issue has something to do with one in specific... However, this is what I've experienced for practically one month or so: I have a websocket service running via supervisor on port 8080, and it works perfectly with my code implementation (PHP/Javascript/Codeigniter)... Yes, it works well, but just until PAST 10 OR 12 HOURS (GENERALLY THE FOLLOWING DAY). When I'm gonna check the websocket service itself, okay, it's there... Running on port 8080, okay... The issue seems to be on client side (at least apparently, because I also suspect that there may be some hinder on server side). Checking my console (Javascript logs), and I see that:

It really connects (onopen is fired)
onmessage works
But... when the algorhythm tries to do anything with websocket.send(), the connection is closed immediately (note: onerror() is not fired, but onclose()). This happens on client side (browser)
I have ev (installed via pecl) installed and running there, I did it yesterday, but the issue seems to persist.
I'm using OriginCheck, but I believe it has no relation at all with the issue
In Ningx, I'm using a server block similar to this:

  map $http_upgrade $connection_upgrade {
      default upgrade;
      ''      close;
  }

  upstream ws-backend {
      # server websocket.your-site.com:8080;
      # server localhost:8080;
      # server 135.659.25.124:8080;
      server <IP_ADDRESS>:8080; #leave only this, if localhost
  }

#If you want to force HTTPS, use the server block below:
  server {
      listen 80;
      listen [::]:80;

      server_name websocket.your-site.com

      return 301 https://$host$request_uri;
  }

  server {
      listen 443 ssl http2;
      listen [::]:443 ssl http2;

      server_name websocket.your-site.com;

      #Start the SSL configurations
      #ssl on;
      ssl_protocols TLSv1.2;

      # Fix The Logjam Attack.
      ssl_ciphers EECDH+AESGCM:EDH+AE...; #only for example purposes
      ssl_prefer_server_ciphers on;
      ssl_dhparam /etc/ssl/dh2048_param.pem;

      ssl_certificate /etc/pathto/websocket.your-site.com/fullchain.pem; # managed by Certbot
      ssl_certificate_key /etc/pathto/websocket.your-site.com/privkey.pem; # managed by Certbot

      location / {
          proxy_set_header       X-Forwarded-For $remote_addr;
          proxy_set_header       Host $http_host;
          proxy_pass             http://ws-backend;
          proxy_http_version     1.1;
          proxy_set_header       Upgrade $http_upgrade;
          proxy_set_header       Connection $connection_upgrade;
      }
  }

As you can see above, I created a subdomain just for the websocket thing. and I'm using Connection $connection_upgrade always. If I use Connection "", I simply will not be able to connect to the websocket any longer, it outputs: WebSocket connection to 'wss://websocket.your-site.com/' failed:. But... Of course, this doesn't have anything to do with the issue either
In nginx.conf, I set worker_processes auto;,  worker_rlimit_nofile 500000;, worker_connections 1024;... At least so far... But I think those numbers are more than enough
I checked the file descriptors limit and I solved to increase (absurdly) some values: fs.file-max = 2097152 there in /etc/sysctl.conf, root hard nofile 500000, oot soft nofile 500000, there in /etc/security/limits.conf, session required pam_limits.so there in /etc/pam.d/common-session
I'm using PDO and the database connection settings have been placed inside the construct method of the websocket app main class
These are server specs: 16GB RAM, 400GB SSD, 6vCPU cores, 32TB bandwidth (unlimited incoming traffic)
In sum, I just dunno what on Earth is causing this. In truth, I can't take it any longer, lol.

in 2023 I am also facing same issue. Nothing in logs, no errors but after few hours the messages are not sent.


BluetoothAdvertisement - Watcher - How to unsubscribe from/filter out devices that were already received?

Hi there,
Is there a way to unsubscribe from/filter out devices that were already received by the watcher?
For example:

The BluetoothLEAdvertisementWatcher is started by the method Start()
Received event is triggered by a device and calls method OnAdvertisementReceived that will handle the event.
After handling the event, it filters out this device somehow and then the watcher received event will no longer be triggered by this device until the watcher is stopped.

Is there a way to achieve this?
I have checked the use of BluetoothLEAdvertisementFilter, but it seems you can only filter devices that match a certain criteria, not the other way round. In this case, I want to filter out already processed device(s) that match a certain criteria i.e. To no longer receive advertisements from a device with certain UUID, Major and Minor.
Thanks

This is a question about the platform, not about the sample. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


Send mined transaction IDs to the download and verify task for cancellation

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn


Controller resolve since 1.3.0 give error: "Provider must return a value from $get factory method."

Hi,
We face a strange error when migrating from 1.2 to 1.3.
We use resolvers in our route definition to load data before displaying a screen. (@see https://code.angularjs.org/1.3.0/docs/api/ngRoute/provider/$routeProvider)
For instance, here is a simple Resolver:
    .factory('MyStuffResolver', function (StuffService) {
        return StuffService.query();
    });

And here is a simple route definition:
$routeProvider
            .when('/foo/bar', {
                controller: 'MyCtrl',
                resolve: {
                    myStuff: 'MyStuffResolver'
                }
            })

But now we got an error https://docs.angularjs.org/error/$injector/undef?p0=MyStuffResolver
Reading this error, I tried to change the code as the documentation said to:
    .factory('MyStuffResolver', function (StuffService) {
        return {query: StuffService.query};
    });

But obviously, this does not work at all. I do not have any error with that code but the resolver does not resolve anything...
jsbin is coming...

what is the error


Hdf5DataSetReader does not seem to properly set Axes of ImgPlus

The way you construct the ImgPlus in the Hdf5DataSetReader is like this:
https://github.com/ilastik/ilastik4ij/blob/master/src/main/java/org/ilastik/ilastik4ij/hdf5/Hdf5DataSetReader.java#L130
If I read an image, e.g. like this
ImgPlus< R > probabilitiesInput = new Hdf5DataSetReader( probabilitiesInputImagePath, "exported_data", "tzyxc", new LogServiceWrapper( ij.log() ), ij.status() ).read();

And write it again using the Hdf5DataSetWriter, I get errors here:
https://github.com/ilastik/ilastik4ij/blob/master/src/main/java/org/ilastik/ilastik4ij/hdf5/Hdf5DataSetWriter.java#L275
with dimensionIndex = -1, indicating that it cannot determine the dimension.
My feeling is that in the Hdf5DataSetReader you should maybe use another constructor for the ImgPlus, specifying the axes order.

...indeed constructing the image like this fixes the bugs:
ImgPlus<T> result = new ImgPlus<>(img, Paths.get(filename, dataset).toString(), new AxisType[]{ Axes.X, Axes.Y, Axes.CHANNEL, Axes.Z, Axes.TIME });

This change will be part of our refactoring branch.

awesome @tischi, thanks for fixing this! It would  be great if you can use either one of the "closing" keyword together with this issue number (e.g. fixes @26) in a commit, or add it to the to the PR description.

Nice catch @tischi. This got fixed in https://github.com/ilastik/ilastik4ij/pull/24


Assets are missing after EAS Build

I added some assets in an assets subfolder (assets/images/onboarding/onboarding_1.png) and loaded them in a code like this:
const [assets] = useAssets(     require('myapp/assets/images/onboarding/onboarding_1.png')   );
on emulator everything works fine, but it does not work during eas build. Images are not there.
Am I missing some configuration?
Thank you!

No i dont think there is any config for that. Probbaly it's just a build issue. any way this issue should be related to EAS and has nothing to do with the template.
will close it for now


Log transaction hash and link to etherscan upon successful mint/ colour change (in a popup under relevant button)

Currently, the app indicates that it is awaiting confirmation. But once confirmation occurs, it does not indicate the successful confirmation.
Instead, it should log the confirmed transaction, and provide a link to etherscan so that users may inspect the transaction.

This is a great idea. I think a much needed feature. We could possibly implement this with Modals

or perhaps Toasts

Have made some progress in commit ea360382e2a790ad5cc7e44176a6fc17cd30c15b
Went for the Alert component because of its show and dismissible prop. But if you wanted to change it to either Modals or Toasts, that would also be cool.
Keeping this issue open, because currently the notifications work perfectly for SquareManager (both claim and colour change), but not on the SidePanel. This is weird to me because both are reusing the same forms. But will look into it tomorrow.

Resolved in commit 116bd9b254a1b25284afdce623987b5db06aef04 . Now confirmation / error message shown in a snackbar at the bottom of the screen. Closing this issue.


As a user, I want to filter search results by collection so that I can include or exclude groups of materials based on my interests.

Suggestions for Testing

add a collection
add a digitized work (on its edit screen) to that collection
the collection should appear on the main search form and allow you to use a checkbox to filter by collection

Notes for Development

add a solr collection field to use as a facet (consider text collection field and string collection_exact copy field)
add logic to reindex digitized works when they are updated (i.e. when associated with a collection)
modify the search form to provide a collection facet select field

We were able to search a keyword and filter search by collection.


How to babylonjs in nextjs

I tried to use babylonjs in nextjs. However, it cannot be used with the following error:
Do you know how?
my code:
import React from 'react';

import { CannonJSPlugin, PhysicsImpostor, Vector3 } from '@babylonjs/core';
import { Scene, Engine } from 'react-babylonjs';

const gravityVector = new Vector3(0, -9.81, 0);
const Map: React.FC = () => {
  return (
    <div className="App">
      <header className="App-header">
        <Engine antialias={true} adaptToDeviceRatio={true} canvasId="sample-canvas">
          <Scene enablePhysics={[gravityVector, new CannonJSPlugin()]}>
            <ground name="ground1" width={10} height={10} subdivisions={2} receiveShadows={true}>
              <physicsImpostor type={PhysicsImpostor.BoxImpostor} _options={{ mass: 0, restitution: 0.9 }} />
            </ground>
            <vrExperienceHelper webVROptions={{ createDeviceOrientationCamera: false }} enableInteractions={true} />
          </Scene>
        </Engine>
      </header>
    </div>
  );
};

export default Map;

error:
export * from "./abstractScene";
^^^^^^

SyntaxError: Unexpected token 'export'
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1031:15)
    at Module._compile (node:internal/modules/cjs/loader:1065:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at eval (webpack-internal:///@babylonjs/core:1:18)

Could you move the conversation to https://forum.babylonjs.com/
We keep github for validated issues and feature request only after discussion on the forum.
In your case it seems your bundler (or plugin of it) does not support es6 import style so you would need to transpile to es5 first with babel for instance


fix: open save dialog correctly while save new file

Types

[x] 🐛 Bug Fixes

Background or solution
close #1358
Changelog
open save dialog correctly while save new file

/publish


uv fails to install nvidia package nvidia-curand-cu12==<IP_ADDRESS>

Installing a bunch of packages from a requirements.txt file fails with the following error:
+ uv pip install -r integration-requirements.txt
Resolved 453 packages in 4.68s
Downloaded 290 packages in 41.83s
error: Failed to install: nvidia_curand_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (nvidia-curand-cu12==<IP_ADDRESS>)
  Caused by: failed to rename file from /home/runner/_work/zenml/zenml/.venv/lib/python3.10/site-packages/.tmpOgydOs/__init__.py to /home/runner/_work/zenml/zenml/.venv/lib/python3.10/site-packages/nvidia/__init__.py
  Caused by: No such file or directory (os error 2)

This is all happening on self-hosted runners via Github Actions. Script works fine with pip, but with uv we hit this failure. Unsure whether there's something special about this package that doesn't work well with uv?
Running locally (on a Mac) hits this error:
  × No solution found when resolving dependencies:
  ╰─▶ Because nvidia-curand-cu12==<IP_ADDRESS> is unusable because no wheels are available with a
      matching platform and you require nvidia-curand-cu12==<IP_ADDRESS>, we can conclude that the
      requirements are unsatisfiable.

...though this is fair enough I suppose.

Sorry but I can't figure out which command to run to try and reproduce this. Can you please provide more detail? I looked at your CI log and tried to naively run the command there:
(.venv) [andrew@duff i1454]$ uv pip install -e .[server,templates,terraform,secrets-aws,secrets-gcp,secrets-azure,secrets-hashicorp,s3fs,gcsfs,adlfs,dev,mlstacks]
error: Failed to build editables
  Caused by: Failed to build editable: file:///home/andrew/astral/issues/uv/i1454
  Caused by: Invalid source distribution: The archive contains neither a `pyproject.toml` nor a `setup.py` file at the top level

And I don't see any integration-requirements.txt file in the linked repo.

The commands in order:
pip install -e .[server,templates,terraform,secrets-aws,secrets-gcp,secrets-azure,secrets-hashicorp,s3fs,gcsfs,adlfs,dev,mlstacks]

ignore_integrations="feast label_studio bentoml seldon kserve pycaret skypilot_aws skypilot_gcp skypilot_azure"

ignore_integrations_args=""
  for integration in $ignore_integrations; do
      ignore_integrations_args="$ignore_integrations_args --ignore-integration $integration"
  done

zenml integration export-requirements \
        --output-file integration-requirements.txt \
        $ignore_integrations_args

echo "" >> integration-requirements.txt
    echo "pyyaml>=6.0.1" >> integration-requirements.txt

    pip install -r integration-requirements.txt

Our CI is basically running this script when it sets up the environment. The script itself is executed from a workflow file here.

It sounds like that script specifically needs to be run from the root of that repo too?

I can see where (in the code) this is happening, but I don't yet see how.

Sorry, didn't mean for this to close on-merge, so it still might fail -- needs to be tested after release.

v0.1.3 is out now. Do you mind retrying? (It may not solve it, but it could.)

@charliermarsh this seems to fix it. I hit a new error, but at least the nvidia package issue installs fine now. Thanks!


Enable network

This PR enables a full networking support for ARM FVP, which means that a Realm running on top of ARM FVP can interact with PC Host that launches ARM FVP, via ethernet.
For detail of its network configuration, see docs/network.md.
Commits that this PR relies on:

islet-asset
3rd-optee-build-230407

Nice :) Please update submodule to lastest assets

submodule (assets) updated:)


Add setDescription.

Closes #633
This PR will introduce the setDescription method. It'll allow the user to edit their accounts' description.

Would it make more sense to return a string rather than an object with a single key?

See #702 . Thanks for the contribution!

oh shoot, im so sorry about that hiatus. thank you much for fixing that though!! i'm still learning about how this project is structured lol, looks like i got more homework to do c;


New hastebin endpoint

Describe the bug

Not really a big bug, but hastebin changed their endpoint result in not being able to POST request when using hastebin as transcript type in the config

Screenshot

(also produced an open bug: can not send transcript to users)

Quick fix...maybe?

Fix the code at around line 290+

(also produced an open bug: can not send transcript to users)

It was reported here https://github.com/AnonDev-org/discord-tickets_transcripts/issues/5

Changed hastebin url to my selfhosted - https://haste.pinglik.eu


Have the values of local_neural_points been modified between being selected from and reassigned to global neural points?

Thanks for your great work! I have the following question:
In NeuralPoints.reset_neural_points(), local_neural_points are selected from global neural points:
self.local_neural_points = self.neural_points[local_mask]

In NeuralPoints.assign_local_to_global(), local_neural_points are reassigned to global neural points:
self.neural_points[local_mask] = self.local_neural_points

But after searching all the usages of local_neural_points, I cannot see whether their values are modified anywhere in the code. In other words, doself.neural_points[local_mask] remain the same values after the NeuralPoints.assign_local_to_global() operation?
Thanks for your time and explanation.

Thanks for your interest in our work and your kind words.
Indeed, only the neural point features, certainty and timestamp are being updated during the map optimization for each frame. The coordinates and orientations of the neural points are not changing. They are only changing after loop correction and the change is conducted for the global map instead of the local map.
Therefore, the following two lines can be commented out:
# self.neural_points[local_mask[:-1]] = self.local_neural_points
# self.point_orientations[local_mask[:-1]] = self.local_point_orientations

Thanks for pointing it out. I will update the code later.

Thanks!


To the folks at google

I'm trying to look at this stuff... but you guys are really thrashing the api on me.
Chrome 90 required the use of SharedArrayBuffers
Chrome 91.0.4472.77 in windows uses the new api reflected in the current README
But Chrome Headless 91.0.4469.0 (Linux x86_64) from puppeteer is giving me errors that I need to use a SharedArrayBuffer....
I know the api is going to change, but I'm really perplexed by the inconsistency of what i see in tooling...

I was under the impression that you were shipping updates using these vehicles (https://chromiumdash.appspot.com/schedule) , and not patches

puppeteer is finally giving me 91.0.4472.77
Still not sure why the api change was made in that fix version


🐝  Ghost Image Preview in Markdown.

Removes the upload image button in the markdown preview.
Refs: https://github.com/TryGhost/Ghost/issues/8248

Coverage remained the same at 74.645% when pulling ad372700231051a09986ba1b0a989ecf3ede9ccc on disordinary:markdown-image into e7633eff1e80d47f1f5e704e58ccf9b32920b467 on TryGhost:master.


Request for Vuejs support

Plugin is great !
I used your simple example of having header.js to use as a template and it did generate the file header in all the files. Unfortunately, even App.vue extension files got added with JS comment section, so this broke the application. So, Is there any idea to support Vue files or how to tweak to get this work for the Vue project?
Vue files expect HTML way of comments like
But there will be javascript files as well along with this with /* */. So, need to handle both scenarios.
And by any chance, can we have a pattern match also enabled inside header.js for copyright year to ignore 2020 strictly, some files will be 2019?

Please share a codesandbox example, i.e. a vue application that shows your usage scenario.
Please also clearly document your expected behavior (in vue HTML files) as well as the current behavior.
That gives us a solid foundation to iterate your feature request. Maybe you can even contribute JS in HTML support (vue and svelte both need that).

I would like to have this reopened. The underlying issue is probably that strictly only javascript-type files are working. When using the --fix option, working with .vue SFC components, this plugin fails quite spectacularly, even worse than with  https://github.com/nikku/eslint-plugin-license-header/issues/13
@nikku Would you like me to elaborate here, or open an new issue?

@suterma The issue is closed for a reason.
If you want to contribute a test cases that reproduces the issue then we may be able to look into a fix. I agree that JS in HTML support could be neat.

A fix would probably not be that simple, because, from a quick code inspection, you do actually work with code statements, not the first part of a file. Thus, for supporting multiple languages / source file types, you would need to implement or use a language parser/model, instead of just a quick search/insert at the beginning of the files(s).

Thus, for supporting multiple languages / source file types, you would need to implement or use a language parser/model, instead of just a quick search/insert at the beginning of the files(s).

A great start could be a failing integration test case (using vue as an example).


Cannot install wrangler, the binary website is down

🐛 Bug report

Describe the bug
Running npm i -g @cloudflare/wrangler will report this error:
❯ pnpm i -g @cloudflare/wrangler
 WARN  deprecated<EMAIL_ADDRESS>The functionality that this package provided is now in @npmcli/arborist
 WARN  deprecated<EMAIL_ADDRESS>Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
 WARN  deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
 WARN  deprecated<EMAIL_ADDRESS>Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
Packages: +6
++++++
Progress: resolved 323, reused 307, downloaded 0, added 6, done
node_modules/.pnpm/@cloudflare+wrangler@1.19.8/node_modules/@cloudflare/wrangler: Running postinstallnode_modules/.pnpm/@cloudflare+wrangler@1.19.8/node_modules/@cloudflare/wrangler: Running postinstall script, failed in 1.4s
.../node_modules/@cloudflare/wrangler postinstall$ node ./install-wrangler.js
│ Downloading release from https://workers.cloudflare.com/get-npm-wrangler-binary/1.19.8/x86_64-app
│ Error fetching release: Request failed with status code 401
└─ Failed in 1.4s

The download link https://workers.cloudflare.com/get-npm-wrangler-binary/1.19.8/x86_64-app is down right now, this is a screenshot of the current status:
https://www.webpagetest.org/result/220317_BiDcKY_AHN/
The page says Error 1101.
Please enable cookies.
Error 1101 Ray ID: 6ed66e6828a38b42 • 2022-03-17 14:31:16 UTC
Worker threw exception

Reproduce the bug
A list of steps to reproduce the bug.

Run npm i -g @cloudflare/wrangler

Expected behavior
A clear and concise description of what you expected to happen.
Environment and versions
Fill out the following information about your environment.

operating system:
output of wrangler -V:
output of node -v:
content of wrangler.toml:

Seems fixed now


0.1.4 (bugfix for telepath streamfields)

Fixes a bug where on wagtail 2.15 (and probably earlier - from when telepath appeared) validationerrors inside streamfields are handled a bit differently.
Version bump.

I assume it's wagtail/wagtail@87cdc21#diff-274e32be0c2619c8dce049e0bcc6a9eeebed809a45ecd5f24715f057266630fdR709 which is breaking?
If so, maybe it's worth a double check if it's an upstream bug also.

Could be!


Performance: Adds AuthorizationHelper Improvements to ConvertToBase64string method

Pull Request Template
Description
Instead of using ‘ArrayPool.Shared.Rent(capacity)’ to allocate byte array temporarily, we can use stackalloc byte[]. It avoids the overhead of allocating and deallocating the buffer .
|                       Method |           Mean |     Error |  StdDev |  StdErr |    Min |     Q1 |   Median   |     Q3 |      Max |      P80 |      P85 |      P90 |      P95 |     P100 |      Op/s |
|------------------------------------ |---------:|----------:|----------:|----------:|---------:|---------:|---------:|---------:|---------:|---------:|---------:|---------:|---------:|---------:|----------:|-------:|------:|------:|----------:|---------------------:|-----------------:|
|    CreateSignatureGeneration-Master | 726.9 ns | 34.16 ns | 51.13 ns | 9.34 ns | 667.8 ns | 680.9 ns | 722.5 ns | 746.6 ns | 863.3 ns | 753.1 ns | 774.0 ns | 799.1s | 822.4 ns | 863.3 ns | 1375,743.5 |
|      ReadSignatureGeneration-Master | 698 ns | 7.57 ns | 10.61 ns | 2.04 ns | 682.6 ns | 689.4 ns | 696.9 ns | 706.3 ns | 720.7 ns | 708.7 ns | 709.1 ns | 712.3 ns | 713.3 ns | 720.7 ns | 1432,681|
| CreateSignatureGeneration-Updated   | 672.9 ns | 19.06 ns | 28.54 ns | 5.21 ns | 634.2 ns | 651.4 ns | 668.5 ns | 688.8 ns | 737 ns | 700.4 ns | 703.6 ns | 709.4 ns | 728.6 ns | 737 ns | 1486,017 |
|   ReadSignatureGeneration-Updated   | 647.5 ns | 7.80 ns | 10.41 ns | 2.08 ns | 625.3 ns | 642.2 ns | 648.3 ns | 654.8 ns | 665 ns | 656.7 ns | 659 ns | 660.5 ns | 662.1 ns | 665 ns | 1544,291

Type of change
Please delete options that are not relevant.

[] Bug fix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[] This change requires a documentation update

Closing issues
To automatically close an issue: closes #IssueNumber

Would be great to include memory also part of diagnostics.

Closing the issue for now as there is lack of clarity around the ask and still waiting on requesting team.


README.md

I know Ty; I am being lazy. I have read your documentation so I will work on the code later.

 It is so
magnificent.
On Sun., Sep. 8, 2019, 2:17 p.m. Ty<EMAIL_ADDRESS>wrote:

Merged #1 https://github.com/AmFobes/R6pp/pull/1 into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AmFobes/R6pp/pull/1?email_source=notifications&email_token=AE65UY2YDSL63JYA3PO3BGTQIU6UTA5CNFSM4IURESEKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTP5MJKI#event-2616902825,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE65UY2UUYR3VRFVK5JBINDQIU6UTANCNFSM4IURESEA
.

If you want to call it that, sure


1.19.2 apotheosis texture bug

hello, after connecting a gem from Apotheosis mod and a weapon (no matter what)on a table, the texture of the weapon in the hand becomes the texture of a gem, please help

Hey, I might be missing something here but I can't quite understand wht the issue is?


[Flink][bugfix] Fixed the problem of duplicate primary key data in Arctic table with upsert feature enabled

fixed #592
Why are the changes needed?
When an Arctic table with the write.upsert feature enabled is read, data with the same primary key will exist, which should be fixed
Brief change log

replace the shuffle policy involved in write operations

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

@lklhdu Could you please add some description of the case and solution of this bug.
And I'm very curious why only Flink 1.14/1.15 version is affected.

@lklhdu Could you please add some description of the case and solution of this bug. And I'm very curious why only Flink 1.14/1.15 version is affected.

@lklhdu Could you please add some description of the case and solution of this bug. And I'm very curious why only Flink 1.14/1.15 version is affected.

Actually, I also found the same problem with upsert on Flink 1.12 later. The reason for this problem is that when the write distribution mode is null, no shuffle is performed on the data, whereas for data with the same primary key, a shuffle should be performed by the primary key to keep the data in order.

@lklhdu Could you please add some description of the case and solution of this bug. And I'm very curious why only Flink 1.14/1.15 version is affected.

Actually, I also found the same problem with upsert on Flink 1.12 later. The reason for this problem is that when the write distribution mode is null, no shuffle is performed on the data, whereas for data with the same primary key, a shuffle should be performed by the primary key to keep the data in order.

When I use Flink SQL client to add two data with the same primary key to an Arctic table, in DistributionHashMode.NONE mode, the cdc data read may be out of order, causing the delete data to not work, like the following:
-D 1,eric,2022-07-01T12:32
-D 1,eric,2022-07-01T12:32
+I 1,eric,2022-07-01T12:32
+I 1,eric,2022-07-01T12:32

@lklhdu Could you please add some description of the case and solution of this bug. And I'm very curious why only Flink 1.14/1.15 version is affected.

Actually, I also found the same problem with upsert on Flink 1.12 later. The reason for this problem is that when the write distribution mode is null, no shuffle is performed on the data, whereas for data with the same primary key, a shuffle should be performed by the primary key to keep the data in order.

So the default None distribution mode in FlinkSink.Builder makes the table property write.distribution.hash-mode is not used, and all Flink version is affected. Is my understanding correct？
Can we add some unite test to validate this case?


Deprecated history command page shows up in docs search

Problem description
When using the search bar on the docs page, searching for 'history' will show an old result for the 'pulumi history' command which was moved to 'pulumi stack history' a while back.

Suggestions for a fix
Remove the old page or redirect to stack history command.

for seo reasons i believe we will want to redirect, so we maintain any seo weight we have built up on the pulumi history page


[fuzz][risc-v] il_riscv.cc: 3545: error: expected: result != left

../../runtime/vm/compiler/backend/il_riscv.cc: 3545: error: expected: result != left

https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8730237112974830465/+/u/collect_shards/dartfuzz_-_generated_programs_shard_14/task_stdout_stderr:_dartfuzz_-_generated_programs_shard_14
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8730689782374288881/+/u/collect_shards/dartfuzz_-_generated_programs_shard_16/task_stdout_stderr:_dartfuzz_-_generated_programs_shard_16
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8730513209482036129/+/u/collect_shards/dartfuzz_-_generated_programs_shard_25/task_stdout_stderr:_dartfuzz_-_generated_programs_shard_25
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8730603807197750145/+/u/collect_shards/dartfuzz_-_generated_programs_shard_33/task_stdout_stderr:_dartfuzz_-_generated_programs_shard_33
First occurrence 21st of November, so it's probably a recent change.

Thanks @rmacnak-google! 👌


Fixed Error in Batch Normalization Implementation

Resolved an issue in the Batch Normalization implementation within the deep learning framework. The error occurred during the normalization process, particularly in calculating the running mean and variance, which affected the stability and performance of the model during training and inference. The fix involved ensuring that the moving averages for the mean and variance were updated correctly based on the batch statistics, allowing for effective normalization of inputs across different layers. This enhancement improves the overall training efficiency and model accuracy.

Hello, @ravin-d-27 I wanted to let you know that I have resolved the issue Fixed Error in Batch Normalization Implementation #32. If there are any changes or further adjustments needed, please let me know. I would appreciate it if you could accept my pull request.

Hi @SujitSakore , thank you! Will check the code and merge the PR soon!

Hi @SujitSakore ! Thank you for the enhancement ! I am merging this PR to main branch !

Thank you! @ravin-d-27  Glad to contribute.


Add 'CaptureStateBeforeExecutionStep$Operation$Details' class to removed-types.txt

Develocity plugin references that class in versions 3.13 and up, and by removing that class we broke the plugin. This fixes it.
Also, now we tests Develocity plugin with --build-cache that reproduces the issue.

@bot-gradle test AST

I've triggered the following builds for you. Click here to see all build failures.

AllSmokeTestsPullRequestFeedback build

I've triggered the following builds for you. Click here to see all build failures.

AllSmokeTestsPullRequestFeedback build

@bot-gradle test AST

I've triggered the following builds for you. Click here to see all build failures.

AllSmokeTestsPullRequestFeedback build

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


how to proguard

how to proguard

AFAIK there shouldn't be any special proguarding setup for RxLifecycle. It doesn't use reflection or anything else that would throw Proguard off.


Unable to set user_data when is_windows = true

When the is_windows option is set to true and the driver is AWS, the user_data option is supplied by a hard coded value.

This is a reasonable ask.  Out of curiosity, what do you want to add to the user_data?

Mainly to add some custom powershell to the user-data.  In this case, I wanted the ability to rename the machine to what is passed in to the machine resource.  I just figured it would be useful to be able to override what is currently defined.

:+1:  I am throwing in my support for this request as well. I ran into the hard-coded winrm per-shell memory limit (300MB) which stopped me from being able to converge a windows Jenkins slave when the recipe executed a Java which wanted to reserve 2GB of heap. It would be nice if the winrm settings were attached to some attributes and/or the user_data is settable.

This still seems to be an issue. I just ran into it myself.

No movement, if you'd like to help I'd love to see PR, but I'm closing this due to no movement.


change all api key/rate limit pages to link to documentation/overview

because updating things is hard, we should change the 'api-keys-rate-limits.md' file to link to the documentation overview page to prevent huge changes to a bunch of docs repos

[ ] mapzen.js

@kkowalsky - these should all be ready for review when you want to look. The remaining item is the old Tangram tutorial, which we can talk about because it needs some other updates.
Thanks!

closing this issue and moving tangram into another issue


Root Path (~) not working on Helios

I'm using Helios (Microsoft.AspNet.Loader.IIS), with this code on DefaultNancyBootstrapper:
`Bundle.JavaScript()
.Add("~/Scripts/JavaScript1.js")
.Add("~/Scripts/JavaScript2.js")
.AsCached("JavaScripts", "~/Bundles/JavaScript");'
And Helios give me this error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\IIS Express\Scripts\JavaScript1.js'.
My mistake or SquishIt is not compatible with NancyFX running on Helios (not using MVC nor System.Web)?

I am not very familiar with Nancy but I have looked into it - I think you need to define a root path provider for SquishIt if you haven't.  This post details my most recent attempt to get things working - if you need to make any change with later versions I'd love to hear about it, we get these issues popping up on the mailing list from time to time and I'm not really familiar enough with nancy to be very helpful.
http://blogs.lessthandot.com/index.php/webdev/serverprogramming/squishit-and-nancy-part-deux/
https://github.com/AlexCuse/SquishIt.NancySample


npm install refers to digium private stash

I ran
npm install -g grunt
npm install
and got errors like this :
478 error Error: Command failed: Cloning into bare repository '/Users/tim/.npm/_git-remotes/ssh-git-stash-digium-com-7999-stratos-grunt-stratos-git-118a5c20'...
478 error ssh: Could not resolve hostname stash.digium.com: nodename nor servname provided, or not known
478 error fatal: Could not read from remote repository.
478 error
478 error Please make sure you have the correct access rights
478 error and the repository exists.
478 error
478 error     at ChildProcess.exithandler (child_process.js:637:15)
478 error     at ChildProcess.EventEmitter.emit (events.js:98:17)
478 error     at maybeClose (child_process.js:743:16)
478 error     at Socket. (child_process.js:956:11)
478 error     at Socket.EventEmitter.emit (events.js:95:17)
478 error     at Pipe.close (net.js:465:12)

grunt-stratos is no longer in package.json. Closing for now but feel free to reopen.


[Connection Issue]: Unable to load websites from Phone through PiVPN

In raising this issue I confirm that

[X] I have read the documentation
[X] I have read and understood the PiVPN General Guidelines
[X] I have read and understood the PiVPN Troubleshooting Guidelines
[X] The issue I am reporting isn't a duplicate, see closed issues and open issues.
[X] I have searched for similar issues and solutions
[X] I can replicate the issue even after a clean OS installation

Describe the issue
Attempt to enable Wireguard and browse the web through the android phone app. (I also ensured that I was on mobile and not on the same network as the PiHole + PiVPN)
Internet pages on the phone do not load
Expected behavior
I should be able to browse the internet with WireGuard enabled.
Please describe the steps to replicate the issue

PiHole Setup
PiVPN Setup

Made sure to check that the VPN will use the PiHole DNS server for all clients
The PiHole setting to allow clients from all adapters is set

Port forwarding on the router is setup to forward port 51820 to the pihole
The pihole IP Address is reserved as <IP_ADDRESS>
Setup Wireguard Phone App (Android) by scanning the QR Code

Attempt to enable Wireguard and browse the web through the phone app. (I also ensured that I was on mobile and not on the same network as the PiHole + PiVPN)
Internet pages on the phone do not load
Have you taken any steps towards solving your issue?
I ran through the troubleshooting steps on the webpage.
The  output of pivpn -d was as follows:
pivpnd_output.txt
The output after running:
sudo systemctl restart wg-quick@wg0
lsmod | grep wireguard
grep wireguard.txt
cat /etc/pivpn/wireguard/setupVars.conf
cat.txt
 ip -f inet address show enxb827eb06c4ac
ip.txt
I can confirm that the command curl -s https://checkip.amazonaws.com matches the pivpnHOST variable, but am omitting it for privacy.
The packet capture from tcpdump
tcpdump.txt
In addition I am able to ping the phones IP Address from the pihole.
Screenshots
No response
Where did you run pivpn?
I ran this on a Raspberry PI 2 B
Please provide your output from uname -a
Linux pihole 6.6.20+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.20-1+rpt1 (2024-03-07) armv7l GNU/Linux
Details about Operative System
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Installation
No response
Profile / Client creation
No response
Debug output
This information is included in the above as well.
pivpnd_output.txt

Do DNS requests from VPN clients show in the Pi-hole dashboard / logs?

Do DNS requests from VPN clients show in the Pi-hole dashboard / logs?

Yes, I see the DNS requests in the PiHole Query log. They show up as DansPhone.pivpn

I was also able to confirm that when WireGuard is enabled on the phone I can ping the DNS server.
I also was able to confirm that with WireGuard enabled on the phone I CANNOT ping google.com or <IP_ADDRESS>

I resolved this by uninstalling PiVPN and manually installing wire guard. Everything works as expected now.
I followed the wire guard guide on the pihole site


Using VersionedClient for SeekableByteChannel Tests

Description
Using existing versioned service client to allow live tests to pass.

/azp run java - storage - tests

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

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests


Fix deprecation warnings

Closes #115 and #116

Fix #115, fix #116

Resolves #115
Resolves #116

@davegravy @Matteonewchangefx thank you, folks, for bringing up the issues.
I'm going to test the PR for a couple of days and then merge it to the main, add a new version and update the v2 tag.

@davegravy @Matteonewchangefx thank you, folks, for bringing up the issues.
The PR has been tested and merged already. I've created a new version v2.3.3 with these changes, and the v2 tag was updated to the same commit as the v2.3.3.


fix(community): Add support for Bedrock cross-region inference models

Merged for langchainjs: https://github.com/langchain-ai/langchainjs/pull/6682
Hey, I recently I switched to Bedrock Inference models.
Basically, I've introduced a property to check if the modelId belongs to an inference model or not.
With Inference models, Amazon introduced a new prefix which is a region code. If modelId previously was anthropic.claude-3-5-sonnet-20240620-v1:0 now, with the change it's eu.anthropic.claude-3-5-sonnet-20240620-v1:0
Fixes langchain-ai/langchainjs#6690

Hey Zeeland @Undertone0809, I see you approved the PR, what are the next steps to make this merged?

Hey there! Any chance you could add this to the non-deprecated version in langchain-ai/langchain-aws instead? This community integration is deprecated

Hey @efriis, can you please check the following PR on langchain-aws: https://github.com/langchain-ai/langchain-aws/pull/187 🙏🏼


Can i use it for uploading a excel sheet to firestore using angular 5 for huge amount of data in the excel sheet

@puhu1: I have done absolutely no performance testing on this package - it was originally designed as a Grunt task to create static data on project build. My guess is that performance will be defined by what the libxmljs and excel packages I depend on can do - my code is light "decoration" on top of those packages.
Some implementation questions occur to me:

do you want your users to sit through parsing and upload?
will your user's computers and browser have enough RAM to pull the spreadsheet into memory?
if the user processes a couple of spreadsheets, will your app eat all their RAM?
what happens if a connection is interrupted during upload - will that be a good user experience?

There are already good tools for reliable file upload. Have you considered uploading the xlsx file and creating a server side task that does the import? That way, the parse and upload happens on a server you control, and you will likely have good bandwidth. You also won't care about speed - it will be an offload task and not really impacting user experience.


Definition snippets

Release Playbook

[ ] Rebase against master
[ ] Code review
[ ] Merge into master
[ ] Verify changes at http://site-staging.convox.com
[ ] Promote release on site-production in the convox/production Rack

 Definition snippets in the docs

Fixed Heroku -> 12-factor for real this time


'reciveTransition' function is not working plz guide about this or give a example

Hi,
you need to override this method when the deviceReady event is triggered, or if you use ionic :
$ionicPlatform.ready(function() {
   if(window.geofence){
        window.geofence.onTransitionReceived = function (geofences) {
            var geofence;
            for(geofence in geofences){
                ...
            }
        };
    }

Javascript is not being executed if application is in background, I guess that could be a reason of this issue.


Linq2Couchbase queries returns wrong docs

This one is a bit weird.  In my NeonCodeGen Couchbase integration tests, I create some documents and perform queries to verify that my custom type filters are working.  I have two tests that basically do the same thing, one where I've customized all of the serialized property names and the other where I didn't.  In each test, I also perform a query for an object type with no actual documents and verify that the query result is empty; the query returns all of the objects in the database.
The strange thing is that the first test executed always fails and the second one succeeds.  This has nothing to do with the custom names because if I modify the first failing test to just call the second one, it still doesn't work.  Even stranger, performing a low-level query at the same place returns the (correct) empty set.
I don't believe this has anything to do with the CouchbaseFixture because I tried introducing some delays or always calling Clear() in the test constructor without success.  I also tried creating an index on the document type property in the test constructor and that didn't help.
So, this seems like a Linq2Couchbase issue but I have a hard imagining that something this basic isn't working.
I'm commenting out the offending lines in the unit tests for now but will need to come back and investigate further.

I figured this out.  I register the Linq2Couchbase type filter in the generated entity class' static constructors, assuming that this would be hit before any database operations are performed.  This is almost true, but this is not the case when the first operation performed is a query, which is what's happening in this case.
We need to figure out a better way to register the filters.

FIXED: I no longer generate the static constructor for the persisted types and generate the public static void PersistableInitialize() method instead and I added TypeSerializationHelper.PersistableInitialize() to actually handle scanning all loaded assemblies for IPersistableType and then looking for and calling these generated methods.
I also added a call to TypeSerializationHelper.PersistableInitialize() in the CouchbaseFixture constructor and will do the same within Neon.Web.NeonController so this will be performed transparently for most applications.


[BUG] docker database Data Source has been initialized!

Every time I redeploy docker, my data will disappear and I have to renew

If you like to persist your data (flows, logs, apikeys), set these variables in the .env file inside docker folder:
DATABASE_PATH=/root/.flowise
APIKEY_PATH=/root/.flowise
LOG_PATH=/root/.flowise/logs
Updated README


Inbox (GET; POST post); Fix likes (urls, responses)

Inbox

Add InboxObject model
Create inbox api (GET; POST {"type": "post"} -> only post is working currently; like is redirected)

Likes

Fix urls (+"https://" or "/api/") to request.data or when creating likes
Fix instance key when creating likes
Fix response format for likes (list -> json)

Utils

Fix the bug that UUIDs generated by generate_id() are missing "-"s (hex -> standard)

Leave a message that there is a potential problem with the author in the navigation bar, that is not able to display author and logout people automatically


simulator: add gamm and tokenfactory messages

Closes: #XXX
What is the purpose of the change
This is my first contribution to the refactored simulator. The purpose of this PR is to ensure I am heading in the right direction with the added messages. If so, I will continue to add messages for all tested modules.
Brief Changelog

Adds a SelAddrWithDenom function (I am sure there is a way to modify the SelAddrWithDenoms function to only take one denom, but did this as a work around)
Changes from NewMsgBasedAction to NewCurriedMsgBasedAction
Adds RandomExitPoolMsg, RandomCreatePoolMsg, and RandomMsgCreateDenom
Changes the default genesis params of tokenfactory to take "stake" denom in place of "uosmo" denom due to current sdk constraints

Testing and Verifying
This change is already covered by existing tests, such as the simulator itself
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
How is the feature or change documented? not applicable

Nice job on this!!

Is this r4r?

added the mint token factory denom logic so now createuniv2pool works as well. The only thing missing I think is restricting accounts that dont have enough for the pool creation fee from creating pools, then I think it is good to go


Fix comment-reformatting spillover

Please check if the PR fulfills these requirements:

[x] The commit message follows our guidelines.
For bug fixes and features:

[ ] You tested the changes.
[ ] You updated the docs or changelog.

Related issue (if applicable): #

What kind of change does this PR introduce?
The change from multiline comments to block comments in https://github.com/GDQuest/godot-open-rpg/commit/2ff2c29114370f0c8e9b104183d5a43148a5cdc3 seems to have been done by an automated tool that did not properly handle block comments ending on a nonempty line; this caused errors due to incorrect indenting or missing functions on attempts to run.
Does this PR introduce a breaking change?
No; the prior commit did.
New feature or change
What is the current behavior?
Code crashes when run because of syntax errors (several functions partly or completely commented out).
What is the new behavior?
Game runs.
Other information

Thanks much! Yes, the tool I wrote didn't handle one case I hadn't thought about. It was all automated, including git commits and push, covering our 100+ godot projects in batch, and I forgot to test this project after running it.


fix cmake header path in install with custom CMAKE_INSTALL_INCLUDEDIR

Pull request checklist
Read the Contribution Guidelines for detailed information.

[x]  Changes are described in the pull request, or an existing issue is referenced.
[x]  The test suite compiles and runs without error.
[x]  Code coverage is 100%. Test cases can be added by editing the test suite.
[x]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header files single_include/nlohmann/json.hpp and single_include/nlohmann/json_fwd.hpp. The whole process is described here.

coverage: 100.0%. remained the same when pulling 4ec42c9918dae5dfa78659c393ae2752ad2905d9 on bebuch:patch-1 into 58d6aa58316a84fc770bdd0409934cdfdf0697dc on nlohmann:develop.

I don't understand how the CI error is connected to my PR. Please tell me if I need to change something.

You're right, this is unrelated.

Thanks!


[MAUI 9.0 Preview 6] Android Maui app hangs up at splash screen when PublishTrimmed is true / release configuration

Android framework version
net9.0-android
Affected platform version
Android 14 (hang up) and Android 13 (immediate crash)
Description
My app GnollHack (https://github.com/hyvanmielenpelit/GnollHack) hangs up in release configuration on Android 14 if PublishTrimmed is true. When PublishTrimmed is false (also with RunAOTCompilation being false), the app starts fine. I might note that trimming does not seem to currently work on iOS either. In both cases, something important seems to have been trimmed off.
On another, very old test device running on Android 13, the app crashes immediately, and Sentry breadcrumbs look as follows:

Steps to Reproduce

Build GnollHackM with PublishTrimmed = true
Start the app
The app hangs up at splash screen

Did you find any workaround?
PublishTrimmed needs to be set to false.
Relevant log output
No response

This seems to be fixes now, too, in Preview 7.


DXFobject&entityobject

I am a little confused, what is the difference between dxfobject and entityobject? Thanks~

DxfObject is the base for all main classes, anything that requires a handle is a DxfObject. EntityObject inherits from DxfObject and is the base class for all objects that have a graphical representation in the drawing such as lines, circles, arcs, polylines, etc.
This is similar to how the TableObject class work, it inherits from DxfObject and it is the base for other classes like layers, text styles, line types, etc.


Stop all enemies in debug mode

If you enter debug mode while enemy is moving towards you, he'll continue to move in that direction forever.

@kolumb looks good to me! :+1: Thank you for your contribution!


error: unterminated raw string

G++ 4.8.2
I'm not 100% sure that I'm doing things correctly--nevertheless, the first error I get when running make is:
g++ -std=c++11  -Wall -Wextra -pedantic -Weffc++ -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder -Wdeprecated -Wfloat-equal  -I src -I test test/unit.cpp  -o json_unit
test/unit.cpp:9675:32: error: unterminated raw string
             CHECK_NOTHROW(json(R"(

I'll check this. If I remember correctly, this error occurs in the following constellation:

g++-4.8
Catch (the unit test framework) we use
C++11 raw strings

If you cannot compile the unit tests, the library will still work. I'll check if there is anything I can do to fix this.

bug Preprocessor macros with C++11 raw string literals fail to compile

I close this issue, because it does not affect the code as such. I also added a note to the README file that the unit tests cannot be compiled using GCC 4.8.

@nlohmann   What is the way to bypass the unit test compilation ?

You can pass -DJSON_BuildTests=OFF to CMake.

Thanks.

?Can I try this in bazel build

I am running build like below
export TF_NEED_GCP="0"
TF_NEED_HDFS="0"
GCC_HOST_COMPILER_PATH="/usr/bin/gcc"
TF_NEED_OPENCL="0"
CUDA_TOOLKIT_PATH="/usr/local/cuda-9.0"
TF_CUDA_COMPUTE_CAPABILITIES="3.0,3.5,5.2,7.0"
CUDNN_INSTALL_PATH="/usr/local/cuda-9.0"
TF_NEED_CUDA="1" TF_ENABLE_XLA="0"
PYTHON_BIN_PATH="/home/ec2-user/anaconda3/envs/tensorflow_p27/bin/python" TF_CUDNN_VERSION="7"
TF_NEED_JEMALLOC="0"
TF_CUDA_VERSION="9.0"
TF_UNOFFICIAL_SETTING="1"
bazel build -c opt --copt=-msse4.1 --copt=-msse4.2 --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-O3 --verbose_failures tensorflow_serving/...

Sorry, I am not familiar with bazel. But the library is a single header, so you just need to include it in your code - there is no need to compile the unit tests at all.


Install CRDs with Helm chart

Installing CRDs as a separate step before running helm makes it more difficult to manage infrastructure using Terraform, particularly since the CRDs are currently incompatible with the Terraform Kubernetes Provider. I propose adding them to the helm chart in the same way that cert-manager has: using set installCRDs=true when running helm.

As explained elsewhere, this is not something we're planning on doing.


How to change refresh rate?

Hi, I see the default refresh rate is 15 mins, would it be possible to set the refresh rate to every 5 mins instead? Is there a way to configure it in the UI?

It is not intended for users to reduce this to anything less than 15 since the APIs are not intended to provide realtime weather updates and the frequent calls may overwhelm the service.
Will not be adding this feature. Power users who knows what they are doing can easily modify the code to achieve this.


Question: calculation of the actor loss

Hi,
Thanks for the implementation!
I noticed that in this implementation, when calculating the actor loss, DMC tasks use the dynamics loss and atari tasks use the reinforcement loss (w/o return normalization), which should be similar to the Dreamer v2 https://github.com/NM512/dreamerv3-torch/blob/4e50f302cdfaca1c8104f203376844f82c635a4e/models.py#L406-L412. However, in the dreamer v3 paper and the official Jax code, reinforcement loss with a normalized return is used for all domains https://github.com/danijar/dreamerv3/blob/251910d04c9f38dd9dc385775bb0d6efa0e57a95/dreamerv3/agent.py#L319-L320. Have you tried with this loss for DMC tasks? Or do you think the dynamics loss still works better for DMC tasks?
Thanks a lot!
Best

Hi,
Thank you for bringing this to my attention!
I noticed that the paper and the official implementation were updated in April of this year as shown below.
paper before update, paper after update
The difference in the actor loss calculation is due to this implementation being done prior to that update.
I'll look into the differences between the two approaches, but it may take some time, so I appreciate your patience.
Best


Different strategy for measuring the last date in the IERS table

[Seeking advice from: @mhvk @eteq @pllim]
Is this PR sufficient for measuring the age of an IERS table? In #436, we're getting an error when we download an old version of the IERS A table from ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals2000A.all which appears to not contain the PolPMFlag_A column.
cc @tepickering and @bjweiner.
Fixes #436.

I'm very much hoping part of the problem will be fixed by https://github.com/astropy/astropy/pull/9623 - at least if this is an astropy 4.0 only problem...


Directory watcher freaks out on recursive symlinks

On OS-X, starting in an empty folder, setting up a watcher:
@ {
  import $ivy.`io.methvin:directory-watcher:0.9.0`
  import io.methvin.watcher.DirectoryWatcher
  val watcher = DirectoryWatcher
        .builder
        .fileHashing(false)
        .path(java.nio.file.Paths.get("."))
        .listener{ event => println("EVENT " + event.path())}
        .build

  watcher.watchAsync()
}

Followed by a recursive symlink:
$ mkdir folder
$ ln -s ../folder folder/link

Causes a bajillion events to fire:
EVENT /Users/lihaoyi/test/folder
EVENT /Users/lihaoyi/test/folder/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link/link/link/link/link/link/link/link/link/link/link/link/link
EVENT /Users/lihaoyi/test/folder/link

I'm not sure if this a property of the underlying OS-X filesystem API, or part of this library. Is there any way to make it not do that?

Seems it's a problem in the Java layer. Creating a recursive symlink when watching using the raw JNA API has no issue:
@ {
  import $ivy.`io.methvin:directory-watcher:0.9.0`
  import com.sun.jna.{NativeLong, Pointer}
  import io.methvin.watcher.DirectoryWatcher
  import io.methvin.watchservice.jna.{CFIndex, CFStringRef, CarbonAPI, FSEventStreamRef}
  import io.methvin.watchservice.jna.CarbonAPI.FSEventStreamCallback

  val streamRef = CarbonAPI.INSTANCE.FSEventStreamCreate(
    Pointer.NULL,
    new FSEventStreamCallback{
      def invoke(streamRef: FSEventStreamRef,
                 clientCallBackInfo: Pointer,
                 numEvents: NativeLong,
                 eventPaths: Pointer,
                 eventFlags: Pointer,
                 eventIds: Pointer) = {
        val length = numEvents.intValue
        val arr = eventPaths.getStringArray(0, length)
        println("FSINVOKE " + arr.toSeq)
      }
    },
    Pointer.NULL,
    CarbonAPI.INSTANCE.CFArrayCreate(
      null,
      Array[Pointer](CFStringRef.toCFString(os.pwd.toString()).getPointer()),
      CFIndex.valueOf(1),
      null
    ),
    -1,
    0.01,
    0
  )
  CarbonAPI.INSTANCE.FSEventStreamScheduleWithRunLoop(
    streamRef,
    CarbonAPI.INSTANCE.CFRunLoopGetCurrent(),
    CFStringRef.toCFString("kCFRunLoopDefaultMode")
  )
  CarbonAPI.INSTANCE.FSEventStreamStart(streamRef)
  CarbonAPI.INSTANCE.CFRunLoopRun()
  }

mkdir folder
ln -s ../folder folder/link

FSINVOKE WrappedArray(/Users/lihaoyi/test/)
FSINVOKE WrappedArray(/Users/lihaoyi/test/folder/)
FSINVOKE WrappedArray(/Users/lihaoyi/test/folder/)

I agree this is undesirable behavior. Do you expect it to follow the symlinks? I actually don't think it should, at least not by default.

Actually it's not too hard to stop when we hit a cycle. I think that's better since we currently do follow symlinks and I don't want to break anyone relying on this behavior.

For my current use case, I don't want to recurse into symlinks at all. Perhaps you could make it configurable? Similar to how most java.nio APIs take an optional FOLLOW_LINKS and NOFOLLOW_LINKS flag. At the very least it should stop on infinite recursion.
I also ended up using the raw CarbonAPI, rather than relying on your Watcher implementation. It's not clear to me why the recursion here is necessary, since FSEventStreamCreate already registers events for any file/folder recursively within the target path; at most you should only need a shallow listing to figure out which file changed

Actually the immediate fix for this is probably not to follow symlinks, because the existing macOS recursive watching functionality won't follow them when reporting changes. I could add support for it in the future perhaps, but it'd take more work to do it properly.


normalizeObj in replay not fully working

Before normalizeObj:  map[ntoreturn:10000 query:map[$hint:map[_id:1] $query:map[ag_id:map[$oid:5433f7254d32daa1e3000198] _id:map[$in:[map[$oid:547af4cf62194fd252005d9a]]] $and:[map[up.pu_at:<nil> pt.t:map[$ne:<nil>]]]]] ns:XXXX.users op:query ntoskip:0 ts:map[$date:1.431009423378e+12]]
After nomralizeObj:  map[ts:2015-05-07 07:37:03.378 -0700 PDT ntoreturn:10000 query:map[$hint:map[_id:1] $query:map[ag_id:ObjectIdHex("5433f7254d32daa1e3000198") _id:map[$in:[map[$oid:547af4cf62194fd252005d9a]]] $and:[map[up.pu_at:<nil> pt.t:map[$ne:<nil>]]]]] ns:XXXX.users op:query ntoskip:0]

As you can see  it is  not parsing inside  $or , $in and other operators. My thoughts are rather than just a  type switch it needs to be  a type switch or where the value starts with $ it needs to cast it?
I honestly feel very week at golang, so I could be off base but I am seeing this with $and, $or, and $in type operators.

Never-mind, realized this was an old pre the move to the mongo-tools library causing this.


Grouping: Added the option to display the job name without the leading folders.

Now you can display the job names without the folders.
My team use a lot of sub folders, and with the latest updates the name became too large.

This looks like a merge got mixed up with original pull-request. Possible to split out into just the relative folder name?

+1 we need this please

It is still planned to merge in this feature ? Without it, it is sometimes simply not possible to gather jobs into folders even though it would organize things better: the repeated folder prefixes from lines to line make views very difficult to read and understand.
My Image Toobox
   Processing >> Image >> smooth
   Processing >> Image >> clip
   Processing >> Image >> crop
   Processing >> Image >> blurt
   Processing >> Image >> sepia

Where we could have:
My Image Toobox
  smooth
  clip
  crop
  burt
  sepia

Thanks!

bump. We really need this

Please, many people would be happy to have this implemented!
Can it be done soon?
We hope for the best!
Thanks

Hi,
Please, can we get a reply?
Prioritize this please.
Thanks.
BR
Richard


[Feature Request] Expose use of "no-touch-required" for sk ssh keys in webui

Feature Description
Per the ssh-keygen docs, sk type ssh keys have an option to disable touch presence via passing -O no-touch-required during key generation. sshd rejects such signatures by default, but this can be overridden by adding no-touch-required to the authorized_keys option.
It would be nice for no-touch-required sk keys to be supported, via some interface when adding ssh keys on the webui.
An example authorized_keys entry:
no-touch-required<EMAIL_ADDRESS>AAAAInN...Ko==<EMAIL_ADDRESS>
Manually editing the authorized_keys file when using the internal sshd works as expected. It would be nice for this to be exposed in the UI.

Any updates on this one?

Not on a per key basis right now, but you can globally edit the template of what gets added to the autorized_key file, so you could have no-touch-required added to each line. I'm not sure if for keys that don't require that it'd be breaking though, and I'd be interested to hear your experience.
The setting is SSH_AUTHORIZED_KEYS_COMMAND_TEMPLATE and the line it modifies ends up being used here: https://sourcegraph.com/github.com/go-gitea/gitea/-/blob/models/asymkey/ssh_key_authorized_keys.go?L41

We close issues that need feedback from the author if there were no new comments for a month. :tea:

Why does this need feedback @lunny? I think the task is pretty clear: Allow the use of no-touch-required through the web UI.
Maybe you could re-open this issue? Thank you!


cdk synth stack selection fails to find a stack by name

Repro:
$ cdk synth bi-subscription-stack-us-west-2
Including dependency stacks: test-producer-us-west-2
Multiple stacks selected (test-producer-us-west-2, bi-subscription-stack-us-west-2), but output is directed to stdout. Either select one stack, or use --output to send templates to a directory.

Is this a duplicate of #1783?

It is.


Fixes for non-interactive (client/server) mode on Java 9

More fixes for #156.

This can be updated when a new ammonite "unstable" is published after merging lihaoyi/ammonite#769.

Also for #224.

looks good to me, @lihaoyi what do you think?

After this is merged, let's change ci/test-mill-0.sh to use non-interactive mode in order to test it on travis Java 9.
I can create another pull request (or someone that has commit access to master can make that change directly) after a new mill release build is published.

@rockjam no idea, if it looks good to you it looks good to me I guess

@robby-phd I gave you commit access to the repo; you can merge this whenever you're ready. Also feel free to fix things on your own and merge other's PRs, though for big changes that need discussion let's still go through a code review.

@lihaoyi OK, thanks. I'd definitely want someone to review (non-trivial) changes.


A issue about Regex with flag 'u'.

Test Case
print(/\udc00/u.test('\udc00\uDC2A'));
print(/\ud800/u.test('\ud800\uDC2A'));

Excepted Output
true
false
Chakra Output
true
true
Other JS Engines Output
true
false
Description
Is this a bug in chakra? Or is it just that chakr is coded differently from other engines?
Looking forward your reply, thx.

Yes this is a bug - with unicode mode (the 'u' flag) a regular expression should not match lone surrogates.
I hope to fix this for a future release but from having had a quick look it's a not an immediately obvious fix, so I can't give a time scale at the moment.
This bug has been reported before so closing this issue as a duplicate: https://github.com/microsoft/ChakraCore/issues/98

@rhuanjl I get it, thanks for your reply! 👍


Deleted database showing in UI

OSX: 10.10.5.
Mongotron: v1.0.0-alpha.2.
Mongotron throws the following error when trying to access only one of my many local collections:
Error opening database
{"message":"field missing/wrong type in received authenticate command"}

Update
Looks like its adding a duplicate of one of the DBs to the UI that is broken, the second link in the list works, the first one throws the error reported above.

@imaustink did you delete the db and the UI just didn't refresh?

I deleted it in the Mongo shell a very long time ago, 6 months at least, way before even hearing about Mongotron.


version number?

It would be super useful to be able to see the version number at the top of the pixi.js file or pixi.min.js file.  The version I've downloaded does not have that.

Yeah, been meaning to add the license header back in and haven't had time. Good call out.
In the meantime you can run PIXI.VERSION in the console and it will outpu the version, or search the file for "VERSION" and you will see it.

Just to note, the package.json is included in every v3 build. It's not at the top in a comment header, but it is within the source, devDependencies and all. The version is exposed as PIXI.VERSION directly from the required package.json.


Is it possible to run Selenium-Grid-Extras as a windows service ?

I have a selenium grid setup by installing the hub and nodes as windows services using NSSM so remote tests can be run without being logged into the remote machine. When I try to do the same with the grid extras the services fail to start.
Is it possible to do this with the grid extras or does the additional functionality mean it has to be run as an interactive process and not a background service ?

I don't ever suggest running selenium nodes as a non-interactive process.
With that said, what errors do you get when you try to start the grid extras hub and node as a service?

I had a similar problem, non-interactive and Session 0 is really a bad idea, the Browser behavior is not normal.
My solution for a Headlesstesting Via Jenkins in my case was creating a lokal user inside a Windows VM, and adding a link to the selenium grid extras start bat inside autorun, setting up reboot after each test run, and Opening a RDP session insiede jenkins shell execute via freerdp started over xfb run. and then waiting for the sgextras port to come up.

Closing this issue. Running as a windows service is not recommended.


Write C FFI bindings

Note: When dealing with data structures, serializing them in Rust and deserializing them in C (with a zero-copy library like Flatbuffers or Cap'n Proto) might be a way to simplify FFI stuff. It would alow our API to communicate through a read_bytes and write_bytes function, without the usual FFI hassle.
On the other hand this would introduce yet another dependency, so as long as our interface is not too large, we should probably just stick to regular FFI.

I'm not yet sure if it's currently possible to write task-independent C bindings. It might be good to at least provide commonly used common functionality. Right now everything is done in the https://github.com/saltyrtc/saltyrtc-task-relayed-data-rs crate.


unnamed expressions

the current proposal does not set an optional Binding Identifier for AsyncGeneratorExpression.
Ref https://tc39.github.io/proposal-async-iteration/#prod-AsyncGeneratorExpression
Is this intended? (I'm writing tests accordingly the answer).

I'm sorry, I don't really understand. That section is mostly done with analogy to GeneratorExpression. Is this perhaps covered by https://tc39.github.io/proposal-async-iteration/#misc-patches , i.e. the general places that need to be patched to also consider AsyncGeneratorExpression?
Could you share what spec text you think might be missing, and how it affects a test result?