Support non-standard Responses

CURLOPT_HTTP200ALIASES
https://curl.haxx.se/libcurl/c/CURLOPT_HTTP200ALIASES.html
Example: IceCast HTTP response:
ICY 200 OK\r\n"
...

I was able to achieve this by adding a custom_status_line(string_view line)protected method to the fields::reader class. Then, the user just has to derive a custom version of fields:
struct event_fields : beast::http::fields {
    struct reader : beast::http::fields::reader {
        reader(event_fields const& f,
        unsigned version, unsigned code) : beast::http::fields::reader{f} {
            static_cast<void>(version);
            Expects(code == 200);
            custom_status_line("EVENT/1.1 200 OK");
        }
    };
};

This allows the user to use the message just as if it was the beast-provided version:
beast::http::response<beast::http::empty_body, event_fields> response;
response.result(beast::http::status::ok);
response.keep_alive(false);
response.set(beast::http::field::content_type, "application/json");
std::cout << response << std::endl;

Which prints out as expected:
EVENT/1.1 200 OK
Connection: close
Content-Type: application/json

Wow, that is quite the hack! Very creative. Just one little problem... the intent here is to be able to parse such messages not serialize them :)

I'm wondering, is there a way of doing this(both parsing custom responses and generating them) without writing a custom version of  the entire Fields class? :/.

When I wrote the library it was with the goal of implementing HTTP.
"ICY 200 OK\r\n" is not HTTP so it is unsurprising that parsing or serializing it is difficult or impossible without changes to the library itself.

Bjorn brought up the point that there are some niche cases where
applications do not strictly follow the HTTP message syntax for
responses. Specifically, for Shoutcast(?) / Icecast mp3 servers the
status-line in the response looks something like this:
ICY 200 OK\r\n

I have thought about ways to support this directly in Beast but I have
decided against it. "ICY 200" is not HTTP according to the RFC, and
trying to accommodate this use case places needless technical debt in
public interfaces.
However, I came up with a very simple technique to make this work with
Beast by writing just a tiny bit of extra code. The solution is to
implement a stream wrapper which meets the requirements of
SyncReadStream[1] and/or AsyncReadStream[2] and forwards the calls to
read to the "next layer" object, which will be the actual socket or
ssl::stream.
The implementation of the icy_stream wrapper can check to see if the
first 3 bytes received from the next layer match "ICY" and if so,
return a buffer to the caller which replaces those characters with
"HTTP/1.1" (or "HTTP/1.0"). With this wrapper, calls to
beast::http::read or beast::http::async_read can parse the custom
response as a regular HTTP message. The wrapper can embed state
information to inform the caller if the "ICY" string was not received.
The declaration for such a wrapper might look like this:
template<class NextLayer>
class icy_stream;

Usage for the wrapper:
asio::ip::tcp::socket sock{ios};
icy_stream<asio::ip::tcp::socket&> stream{sock};
beast::http::response<beast::http::empty_body> res;
beast::multi_buffer buffer;
beast::http::read(stream, buffer, res);

This technique may of course be generalized to support any desired
similar but non-standard HTTP requests or responses in a fashion that
is completely transparent to Beast.
Thanks

http://www.boost.org/doc/libs/1_65_1/doc/html/boost_asio/reference/SyncReadStream.html
http://www.boost.org/doc/libs/1_65_1/doc/html/boost_asio/reference/AsyncReadStream.html

This could be provided as an example and tutorial.


Feature: Matrix exponential

It would be great to have an implementation of matrix exponential https://en.wikipedia.org/wiki/Matrix_exponential
like the expm in matlab and scipy.linalg.expm in python

This has been implemented, as well as sinm, cosm ... Please refer to this doc for details.


Nvim-cmp is disrupted when with the TextChanged, TextChangedI config and function/dynamic nodes on the same line as the insert node them depend on

If I have a snippet that contains a function/dynamic node that depends on the input to an insert node on the same line, e.g.,
i(1), d(2, function(args) ... end, {1}), if I set update_events = "TextChanged,TextChangedI", then nvim-cmp will fail to properly provide completion items when I am in the i(1) node. Nvim-cmp will refresh its completion items each time I press <c-n> or <c-p> to select (and insert) the next or previous items, which is unusable.
Even if I use nvim-cmp's SelectBebavhior.Select, that is, the current autocomplete selection is not automatically inserted at the cursor but merely selected, nvim-cmp stills provides problematic completion items (only items from the buffer source are provided; nothing else is).
Note that if the dynamic/function node is on a different line than the one where the insert node it depends on is, nvim-cmp works properly with update_events set to "TextChanged,TextChangedI", regardless of the SelectBebavior setting.
I don't know if this is a luasnip or a nvim-cmp problem though...

Hmm, probably because we nvim_buf_set_text on the line where nvim-cmp is currently operating..
I think your best bet to get this fixed is creating a minimal example that does not depend on luasnip, and opening an issue in nvim-cmp with that, there's nothing (I think) we can do about this, here :/
For that minimal example, you could try registering an autocommand on TextChangedI, which just inserts some characters somewhere in the line (the beginning could be easiest).

I'm also facing somewhat related issue, where I have a snippet like this:
  s(
    { trig = "import", name = "Import Name" },
    fmt('import {} from "{}";', {
      c(2, {
        d(nil, function(args)
          local specifier = args[1][1]
          local import = utils.to_pascal_case(specifier)
          return sn(nil, { i(1, import) })
        end, { 1 }),
        sn(nil, { t("{ "), i(1, "named import"), t(" }") }),
        sn(nil, { t("* as "), i(1, "namespace import") }),
      }),
      i(1, "specifier"),
    })
  ),

And while the cmp menu is visible I try to select a completion item by <Tab>-ing, it then jumps the cursor to jump index 2 (the choice nodes here) instead of selecting the next completion item.
I was able to reproduce it using kickstart.nvim with the above snippet.


[Question] Can i somehow setup hypridle to suspend on battery, but not on charge?

I have a laptop and want to have suspend only on battery. Is it even possible?

Run a script that checks whether you're on battery, and only suspends if that's the case.

Run a script that checks whether you're on battery, and only suspends if that's the case.

How do i create that script? I'm newbie in linux and actually don't know how to manage sh scripts.

Okay, i made a sh file but i don't know how to activate this for hypridle
`ac_adapter="$(cat /sys/class/power_supply/ACAD/online)"
if [[ ac_adapter -eq 0 ]];
then
notify-send -u low "Amogus"
fi`
P.S. notify-send is just for test


Entry with binding to State object doesn't work properly

The entry element doesn't take input. If you write a character on it and it will be automatically deleted.
This code is directly taken from docs
public class MainPage : Component<MainPageState>
{
    public override VisualNode Render()
    {
        return new ContentPage()
        {
            new StackLayout()
            {
                new Entry()
                    .Placeholder("Username")
                    .OnTextChanged((s,e)=> SetState(_ => _.Username = e.NewTextValue)),
                new Entry()
                    .Placeholder("Password")
                    .OnTextChanged((s,e)=> SetState(_ => _.Password = e.NewTextValue)),
                new Button("Login")
                    .IsEnabled(!string.IsNullOrWhiteSpace(State.Username) && !string.IsNullOrWhiteSpace(State.Password))
                    .OnClicked(OnLogin)
            }
            .VCenter()
            .HCenter()
        };
    }

    private void OnLogin()
    {
        //use State.Username and State.Password to login...
    }
}

Typed characters in the TextBox gets automatically deleted.
I modified it to add Text property bind to the Username and Password props
public class MainPageState
{
    public string Username { get; set; }
    public string Password { get; set; }
}

public class MainPage : Component<MainPageState>
{
    public override VisualNode Render()
    {
        return new ContentPage()
        {
            new StackLayout()
            {
                new Entry()
+                  .Text(State.Username)
                    .Placeholder("Username")
                    .OnTextChanged((s,e)=> SetState(_ => _.Username = e.NewTextValue)),
                new Entry()
+                   .Text(State.Password)
                    .Placeholder("Password")
                    .OnTextChanged((s,e)=> SetState(_ => _.Password = e.NewTextValue)),
                new Button("Login")
                    .IsEnabled(!string.IsNullOrWhiteSpace(State.Username) && !string.IsNullOrWhiteSpace(State.Password))
                    .OnClicked(OnLogin)
            }
            .VCenter()
            .HCenter()
        };
    }

    private void OnLogin()
    {
        //use State.Username and State.Password to login...
    }
}

Now it doesn't delete the character but it takes the cursor to the beginning so the next char you type will be added to the left of previous characters.

yes, handling entry focus in these cases could be tricky (happens the same in ReactNative if I recall correctly).
I'm not in front of the PC but you should solve with a code like this:
public class MainPageState
{
    public string Username { get; set; }
    public string Password { get; set; }
}

public class MainPage : Component<MainPageState>
{
    public override VisualNode Render()
    {
        return new ContentPage()
        {
            new StackLayout()
            {
                new Entry()
+                  .Text(State.Username)
                    .Placeholder("Username")
                    .OnTextChanged((s,e)=> SetState(_ => _.Username = e.NewTextValue, false)),
                new Entry()
+                   .Text(State.Password)
                    .Placeholder("Password")
                    .OnTextChanged((s,e)=> SetState(_=>_.Password = e.NewTextValue, false)),
                new Button("Login")
                    .IsEnabled(()=>!string.IsNullOrWhiteSpace(State.Username) && !string.IsNullOrWhiteSpace(State.Password))
                    .OnClicked(OnLogin)
            }
            .VCenter()
            .HCenter()
        };
    }

    private void OnLogin()
    {
        //use State.Username and State.Password to login...
    }
}

But what if I want to invalidate the components? Because without that I have to use a function wherever I want to use that field

I'm not sure I correctly understood your question maybe you can post an example code to show the issue.
In general, the problem with the entry is that whenever you set the Text property even it reset the cursor position, selection etc.
Also, maybe you can be interested in another event raised by MauIReactor: instead of OnTextChanged that is fired every time user enters a character, the event OnAfterTextChanged() is raised only after the entry loses the focus.
Anyway, as said maybe an example can explain better what you mean.

Oh got it


versionable dependencies

we've discussed this numerous times, and it makes the dependency solver deeply non-trivial; that said, it does come up in multiple packages:

deno.land requires variable rust versions to build depending on the deno version: https://github.com/pkgxdev/pantry/blob/6f7d86673e8c061f119294ca9307c275e9aef860/projects/deno.land/package.yml#L28-L40 [^1]
gnupg <2.5 depends on libassuan^2, while 2.5.0 depends on libassuan^3: https://github.com/pkgxdev/pantry/issues/6640 [^2]
facebook libraries generally all require being kept in version lockstep[^3]

designing a syntax is the easy part; allowing the solver to work with it is much harder. this is a placeholder until we get there.
[^1]: e.g.: dependencies: rust-lang.org: { '>=1.38<1.40': ^1.56, '<1.38': ~1.38, '>=1.40': ^1.80 }
[^2]: dependencies: gnupg.org/libassuan: { '>=2<2.50': ^2, '^2.5': ^3 }
[^3]: dependencies: facebook.com/fizz: version # match version exactly

I kinda feel like the facebook libraries should all be a single package since they don’t work independently.

it's very possible, except that they don't need to be used together. and some, like watchman, release every week even if their own CI doesn't build a release cleanly (as it hasn't since spring). it's not a great system and their complete unwillingness to maintain the API between weeks is what causes issues.


Identifier 'React' has already been declared with multiple external libraries

What version of Remix are you using?
1.4.1
Steps to Reproduce
More Details:
React Version: 18
Yarn

Install remix for cloudflare pages setup
Add libraries like (react-spring, framer-motion, react-hook/mouse-postion)
Use them (simple import is enough)

Expected Behavior
Application/Website loads correctly when running wrangler pages dev ./public and remix watch
Actual Behavior
Website loads, shows for a few ms, then breaks. Console sends multiple errors:
Uncaught SyntaxError: Identifier 'React' has already been declared

Uncaught Error: Cannot initialize 'routeModules'. This normally occurs when you have server code in your client modules.

Hydration failed because the initial UI does not match what was rendered on the server.

react-dom.development.js:86 Warning: An error occurred during hydration. The server HTML was replaced with client content in <#document>.

The first error shows the error into the installed packages from above, always the same line (the first react import)
var React = __toESM(require_react());
This happens to a lot of modules. You can fix that by renaming React to something else within the package and patching those with npx patch-package. But this makes things hard as you have to patch a lot of packages. It looks like something is going wrong during compilation (which naturally is part of remix - non-configurable).
Can somebody reproduce this issue?
Edit:
Node Version: v16.13.2
Mac M1 Max

I've had this issue as well. I believe it's an issue with esbuild bundler. If you minify the code, it seems to work.
https://github.com/evanw/esbuild/issues/475#issuecomment-946760991

I can also reproduce this issue with threejs and @react-three/drei. I can prepare a very simple repro repo if helpful.

I can also also reproduce this issue with threejs and react-three-fiber as well.

It seems like esbuild is the issue in this case (https://github.com/evanw/esbuild/issues/475). Is there an option for remix to pass config options to esbuild without needing to patch packages? @kiliman

Here is an incredible ugly workaround, based on a comment in the esbuiold issue:
Modify your package.json:
  "scripts": {
-   "build": "remix build",
+   "build": "NODE_OPTIONS='-r ./esbuild-overwrite' remix build",
-   "dev": "remix dev",
+   "dev": "NODE_OPTIONS='-r ./esbuild-overwrite' remix dev"
  },

Create a file esbuild-overwrite.js with the Following contents:
const esbuild = require( 'esbuild' );
const Module = require( 'module' );

const originalRequire = Module.prototype.require;
const originalBuild = esbuild.build;

const reactShim = [
    ...Object.keys( require( 'react' ) ).map( k => `export const ${ k } = window.React.${ k }` ),
    'const React = window.React; export default React;',
].join( '\n' );
const reactDomShim = Object.keys( require( 'react-dom' ) ).map( k => `export const ${ k } = window.ReactDOM.${ k }` ).join( '\n' );

// https://esbuild.github.io/plugins/#using-plugins
const externaliseReactPlugin = {
    name: 'react',
    setup( build ) {

        build.onResolve( { filter: /^react$/ }, ( args ) => ( {
            path: args.path,
            namespace: 'react-ns',
        } ) );

        build.onLoad( { filter: /.*/, namespace: 'react-ns' }, ( args ) => ( {
            contents: reactShim,
            loader: 'js',
        } ) );

        build.onResolve( { filter: /^react-dom$/ }, ( args ) => ( {
            path: args.path,
            namespace: 'react-dom-ns',
        } ) );

        build.onLoad( { filter: /.*/, namespace: 'react-dom-ns' }, ( args ) => ( {
            contents: reactDomShim,
            loader: 'js',
        } ) );

    }
};

function build( options ) {

    if ( options.platform !== 'browser' )
        return originalBuild( options );

    return originalBuild( {
        ...options,
        external: [
            ...( options.external ) ? options.external : [],
            'react',
            'react-dom',
        ],
        plugins: [
            ...( options.plugins ) ? options.plugins : [],
            externaliseReactPlugin,
        ],
    } );

};

Module.prototype.require = function ( id ) {

    // when remix requires esbuild, it will get our modified build function from above
    if ( id === 'esbuild' )
        return { ...esbuild, build };

    return originalRequire.apply( this, arguments );

};

Add react and react-dom as global objects to your window, for example via script tags within your root.jsx file:
export default App() {

    return (return (
        <html lang="en">
            <head>
                <meta charSet="utf-8" />
                <meta name="viewport" content="width=device-width,initial-scale=1" />
                <Meta />
                <Links />
+               <script crossorigin<EMAIL_ADDRESS>+               <script crossorigin<EMAIL_ADDRESS>            <body>
                <Outlet />
                <ScrollRestoration />
                <Scripts />
                <LiveReload />
            </body>
        </html>
    );

}

Interesting. I think we need to determine if this is indeed an esbuild issue or not, and if so, what can be done to fix the root cause.
But yeah, anything that unblocks you sounds good to me.

Interesting. I think we need to determine if this is indeed an esbuild issue or not, and if so, what can be done to fix the root cause.
But yeah, anything that unblocks you sounds good to me.

I agree, we definitively need to be able to say this is either a remix, esbuild or library issue.
Been trying to bundle libraries in a different way and see when this issue occurs, will let you know when I've got something more solid.

Has anyone tried using esbuild with these libraries outside of Remix to see if the issue occurs? That would be the true test. If it works there, then it may be how Remix is splitting client/server bundles that's breaking this.

In my case I am not using any third party library but just an internal component library (that has it's own package.json). If I don't use remix and just esbuild it works. I only get the problem when using remix + esbuild

Awesome. Thanks for the deep dive. I'll take a look when I get a chance. I know this is an annoying issue for many developers.

This problem is probably fixed by #3588

This problem is probably fixed by #3588 & can be tested by v1.6.2-pre.0

This doesn't fix it unfortunately. That was the minifyIdentifiers flag, not the minifySyntax in that PR.

This problem is probably fixed by #3588 & can be tested by v1.6.2-pre.0

This doesn't fix it unfortunately. That was the minifyIdentifiers flag, not the minifySyntax in that PR.

So does this mean a fix isn't possible for now or this is a "won't fix" type of issue?

Edit: I remembered wrong on the react-three-fiber issue, that is the minifyIdentifiers flag that fixes the duplicate React identifiers. minifyIdentifiers isn't something we want to enable in dev right now. (https://github.com/remix-run/remix/pull/3588)

So does this mean a fix isn't possible for now or this is a "won't fix" type of issue?

Definitely looking to fix this. It's still at the top of my priority list.

Thank you, I have the same issue with web3 https://www.npmjs.com/package/web3 on client side (used in useCallback).
I have this message : Error: Cannot initialize 'routeModules'. This normally occurs when you have server code in your client modules.

I'm also experiencing this same error (Identifier 'React' has already... and Cannot initialize 'routeModules') when trying to use https://www.npmjs.com/package/@grapecity/activereports-react on the client side only

hey @chaance,
Not sure how much you've looked into it, so I'm sorry if i'm gonna say what you already know. For context I maintain two libraries react-spring and react-three-fiber and set up the bundling for them, what's interesting is react-spring works perfectly fine with remix so that sort of scratched my itch to why one library with parallel bundling (using preconstruct) would not work.
I've had a look and got @react-three/fiber working with remix now by removing @babel/runtime from it's dependencies. I can also confirm that these other libraries – @react-three/drei & web3 both have @babel/runtime in their dependencies most likely confirming this is the problem.
As for weather this is a remix or esbuild issue, i'll leave that up to you knowledge! But I hope this helps you narrow down the problem 👌🏼
@ me if you have any questions // need any help etc.

This won't make it in time for the next release, but initial testing shows the fix should land when https://github.com/remix-run/remix/pull/3860 is merged.

This won't make it in time for the next release, but initial testing shows the fix should land when #3860 is merged.

if anyone here wants to take 0.0.0-experimental-ea38b6458 for a spin, that'd be great!

This won't make it in time for the next release, but initial testing shows the fix should land when #3860 is merged.

if anyone here wants to take 0.0.0-experimental-ea38b6458 for a spin, that'd be great!

I ran into this issue today with two packages' internal dependencies: use-onclickoutside (internal dependency use-latest), and @reach/dialog (internal dependency react-focus-lock). Somehow these two packages were yielding an additional React definition.
Results
Installing the above version allowed the pages to work properly again!
Extra information
The below is just extra information for anyone wanting to debug/investigate this further, you can safely ignore this otherwise.
I figured out the packages by following the console.log error regarding duplicate definitions (one linked to the root bundle, one to another chunk). Then based on the comment in the file with the path to the file, I figured out which packages they were and which dependencies required them via npm list. Leaving this information here for anyone who needs it.
Side note regarding the issue appearing: The odd thing is I didn't touch either of those dependencies since the last time the code was working (last Friday, the 29th of July) and today. In remix 1.4.2 only one page wasn't working (related to @reach/dialog, upon updating to 1.6.7 no pages were working (the issue appeared in use-onclickoutside, which I use in the site header's popover navigation). Presumably the esbuild version was updated between those versions?

before the update coming in #3860, esbuild has been at 0.14.22 since february 17th (https://github.com/remix-run/remix/commit/50e428b65d0ec1ae72a19ea8a06bd8012fb01ce5) which was done in 1.2.2

Thanks for the info. No idea why the problem waited until today to appear then or what else I might have done to trigger it, but the main thing is the experimental build fixes it 😄

This won't make it in time for the next release, but initial testing shows the fix should land when #3860 is merged.

if anyone here wants to take 0.0.0-experimental-ea38b6458 for a spin, that'd be great!

Looks like it works, thanks a lot!
Any idea which release this will hit?

I have just tried 0.0.0-experimental-ea38b6458 and still not working for me :(

@kokotom same error message? any particular dependencies you've narrowed down?

@kokotom - just to check (because I made this mistake the first time too) - did you change to the exact version from @mcansh's post? I had ^0.0.0-experimental-ea38b6458 in my package.json, so npm install grabbed a different version that it felt was "newer". Make sure it's just the version number (0.0.0-experimental-ea38b6458) in package.json.

@lswest @kokotom yeah i just tried the latest experimental and all is fine with that library :)
demo
commit

@lswest @kokotom yeah i just tried the latest experimental and all is fine with that library :)
demo commit

Oh man terribly sorry.
The package was:
@syncfusion/ej2-react-gantt
however I noticed that I didn't pin the version as mentioned by @lswest.
After doing so I'm getting a different error:
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

experimental-ea38b6458 solved it for me. Any ideas when this would be pushed onto a proper release?

experimental-ea38b6458 solved it for me. Any ideas when this would be pushed onto a proper release?

finishing up some windows testing before i merge the PR just to be safe, but it should go out this week unless there's something i missed in the esbuild changelog that would prevent that.

@lswest @kokotom yeah i just tried the latest experimental and all is fine with that library :)
demo commit

Oh man terribly sorry. The package was: @syncfusion/ej2-react-gantt Glad you noticed it yourself :)
However I noticed that I didn't pin the version as mentioned by @lswest. After doing so I'm getting a different error:
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
It happened both with react 17.0.2 and 18.2.0

I have just tried after having these same problems and get this same error.

My entry.server.tsx is exactly the same as the ones from the examples. I am on react 17.0.2.

In my case problem was importing the hole react module in one of the components
import * as React from 'react'

@raminrez All the imports in a module should be isolated to just that module. It’s the compiler’s job to figure out the best way to rename/merge the import statements when concatenating the modules into one bundle.
What you’re seeing is a prime example of this bug. You shouldn’t be forced to rename a variable just because it occurs somewhere else in the bundle (perhaps even a library you didn’t write)

Looks like we were finally able to get this resolved! Updated to v1.7.0-pre.0 here and everything runs swimmingly. We should be able to close this after the stable release is published 🥳

Closed by #3860

@lswest @kokotom yeah i just tried the latest experimental and all is fine with that library :)
demo commit

Oh man terribly sorry. The package was: @syncfusion/ej2-react-gantt Glad you noticed it yourself :)
However I noticed that I didn't pin the version as mentioned by @lswest. After doing so I'm getting a different error:
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
It happened both with react 17.0.2 and 18.2.0

I have just tried 0.0.0-experimental-ea38b6458 after having these same problems and get this same error.  My entry.server.tsx is exactly the same as the ones from the examples. I am on react 17.0.2 and macOS 12.0.1
The library I am having issues with is @100mslive/react-sdk

@chaance FYI updating to remix 1.7.0 now gives me this error and completely breaks my app in the same way I mentioned here (which I had working perfectly fine by using patch-package to remove some react imports from modules).

@Swapnull mind opening a new issue with a repro for this one?

@chaance Sure, for posterity, new issue opened #4080 with repro


libtesseract from Hydra is unsigned on Darwin

Describe the bug
libtesseract from Hydra is unsigned on Darwin, causing binaries that use it to segfault.
Steps To Reproduce
Steps to reproduce the behavior:

nix-build -A tesseract
Run any binary that uses libtesseract, or run the command below

Expected behavior
For it to be properly codesigned
Additional context
$ codesign -vv /nix/store/xnh14k032s1y2jbp27c46bszi5lgr9hn-tesseract-5.3.3/lib/libtesseract.5.dylib
/nix/store/xnh14k032s1y2jbp27c46bszi5lgr9hn-tesseract-5.3.3/lib/libtesseract.5.dylib: invalid signature (code or signature have been modified)
In architecture: arm64

This may just be a transient Hydra issue, as seen in https://github.com/NixOS/nixpkgs/issues/162795#issuecomment-1081406101, but I have no idea how this could be happening transiently.
Notify maintainers
@schuelermine @NixOS/darwin-maintainers
Metadata
Nixpkgs version: 02f05fceedefc00f90ecf27bda9e94ed2318aa50

Do you use other library without this issue ? So they can be used as comparison.

$ codesign -vv /nix/store/ycsnhmhjj1xwgx2ljqxnifgc8id3y4yy-zlib-1.3/lib/libz.1.3.dylib
/nix/store/ycsnhmhjj1xwgx2ljqxnifgc8id3y4yy-zlib-1.3/lib/libz.1.3.dylib: valid on disk
/nix/store/ycsnhmhjj1xwgx2ljqxnifgc8id3y4yy-zlib-1.3/lib/libz.1.3.dylib: satisfies its Designated Requirement

I can’t comment on this in a useful manner because the Darwin update when I updated it to Tesseract 5 was very much half-assed since I know nothing about Darwin and don’t have a way to test it.

I found the issue 🎉
Unfortunately, it looks like this has caused libtesseract to not work on aarch64-darwin for... a very long time, possibly never.
PR incoming soon-ish.


Proposal for Roadmap Q2 - May & June

This is the list of top priorities for Q2 -
Top priorities
Kate:
Recurring contributions management
Host dashboard
Simplifying and air-proofing txns recording (DA LEDGER)
Memo:
Host Dashboard
Implement Metrics
Improve contribution experience (discovery / flow)
Ben:
Contribution Flow: (allow custom donations to OC / Fees on top)
Sign in on CF - friction point
Host dashboard
Enhancements on CP - (like custom images on tiers / sort tiers)
François
Subscription revamp
Fees on top
2FA
Ledger / host collective / collective to collective txn - Make platform simpler for users.
Leo:
Fees on top
Deprecate Host Plans
Metrics dashboard
CF (one time donations without having to log in)
Cuiki:
Host Dashboard
Behavioral analytics (Metrics)
Killing concept of host collective.
CF iteration
CP: match to new components
Kill pledges (create an issue for this) (Ben)
Pia:
Fees on top
Contribution Flow Upgrade
Host dashboard (will reduce support/optimize team time)
Upgrade PayPal Payout
2FA
I think there's a consensus that we need to build Fees on Top rather quickly because we have a window of opportunity to test it out.  I'll start a project for it.
For the rest of the priorities, let's have a quick discussion below - add things that we could have missed, etc.
Note: we are one month late in the Qs because we started at the retreat in Feb. So think of deliverables we can review in two months - This can be good practice to better define MVPS. We'll do a two month quarter to get back on normal schedule.

I know only Leo mentioned it in his priorities but I also thought the metrics dashboard was important and while it's not urgent, the need for it is never going to go away so we might as well roll up our sleeves and do it. I'm not sure what we have set up at the moment but perhaps this could be a good 2-month project for he and I to work on? We can do a spike, decide what is most important for us to track, get a dashboard set up in i.e. Grafana or something, and then going forward whenever we do a project like Host Dashboard or Create Collective Flow, the project owner would be responsible for creating metrics on the dashboard to go with it.


AI face detection

Project title
AI face detection
Project Description
AI face detection
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] JavaScript

/assign

glt bnda tag hogya tha glti se @srinjoy-26

koi ni veere

Can I work on this??

Can I work on this??

Nope


feat(plugin-prefresh): support for prefresh

Summary
Add support for prefresh.
Related Links
https://github.com/xymopen/rspack-plugin-prefresh
https://github.com/preactjs/prefresh
Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

Hi, just curious, what's the state of this draft PR? Is there an easy way to get Prefresh working with Rsbuild?

At that time, I was waiting for a stable release of @rspack/plugin-preact-refresh.
Considering that @rspack/plugin-preact-refresh v1.0 has been released, I will finish this PR soon.

Incredible. Thank you!


feat: do not run helm or kustomize when listing envs

Helm charts do not generate Tanka environments, by not running helm or kustomize we can avoid some runtime

Not needed. Hiding data should take care of this


Fix arel_attribute deprecation

Error:
ActiveSupport::DeprecationException:
  DEPRECATION WARNING: arel_attribute is deprecated and will be removed from Rails 6.2
./vendor/bundle/ruby/2.7.0/gems/active_record_distinct_on-1.1.0/lib/active_record_distinct_on/distinct_on_query_methods.rb:35:in `block in distinct_on!'
./vendor/bundle/ruby/2.7.0/gems/active_record_distinct_on-1.1.0/lib/active_record_distinct_on/distinct_on_query_methods.rb:31:in `map!'
./vendor/bundle/ruby/2.7.0/gems/active_record_distinct_on-1.1.0/lib/active_record_distinct_on/distinct_on_query_methods.rb:31:in `distinct_on!'
./vendor/bundle/ruby/2.7.0/gems/active_record_distinct_on-1.1.0/lib/active_record_distinct_on/distinct_on_query_methods.rb:26:in `distinct_on'

arel_attribute is going to be deprecated (see: https://github.com/rails/rails/pull/39881), using arel_table instead.

@alecdotninja can you please give it a look?

Thanks for your work on this, @yosiat . I'm sorry to keep you waiting.
I would merge, but it looks like CI for this project is not actually running. I'll pull everything down and verify it this weekend. :smile:

@alecdotninja if you want, I can do a PR for setting-up a CI using Github Actions (I created one for panko, and it's simple - https://github.com/panko-serializer/panko_serializer/blob/master/.github/workflows/ruby.yml)

Thank you for getting this fixed, @yosiat ! This is now released in v1.2.0. :tada:


Flutter run and flutter pub sec error | flutter_driver

Hell fellow flutter devs, I have a flutter project which is running well on android (Windows) and I moved it to macos to build an artifact for ios. Somehow I keep getting the error below;
flutter run Because every version of flutter_driver from sdk depends on async 2.6.1 and fstore depends on async 2.5.0, flutter_driver from sdk is forbidden. So, because fstore depends on flutter_driver any from sdk, version solving failed. Running "flutter pub get" in ponatshego...                               pub get failed (1; So, because fstore depends on flutter_driver any from sdk, version solving failed.

https://stackoverflow.com/questions/68138448/flutter-run-and-flutter-pub-sec-error-flutter-driver

Hi @henrynewman
You getting version conflicts, update your packages, use the compatible version of third-party packages and make sure sure you're stable on Flutter too.  Closing as this is an issue with Flutter itself but package version conflicts. You override some conflicting packages if needed https://dart.dev/tools/pub/dependencies#dependency-overrides
Thank you

Managed to locate the source. One of the packages was outdated.


Cannot load meta file

WatchData.IMU.Week0.raw_segment0001_meta.json
Metadata attched - Any idea why this error is raised? Expecting a different meta structure?
week_nr = 0
subject = '046DC0262187A46154CDA7D63D0BBECE4B1E210FA91959894D7FBB17D5408E20'
metadata_path = os.path.join(PATH_DATA, 'PPP', f'WatchData.IMU.Week{week_nr}', subject, f'WatchData.IMU.Week{week_nr}.raw_segment0002_meta.json')
metadata_dict = tsdf.load_metadata_from_path(metadata_path)

@vedran-kasalica, almost, thank you. Is study_id the same as subject_id? If you look at the shared meta file it contains keys proejct_id, device_id and subject_id. Therefore, is subject_id the old (and in the new conversion replaced) version of study_id?

Resolved.


Instructions for code execution

@gcastex  Kindly provide the instructions for replicating the results and executing the code.

I'll post instructions as soon as possible.


Build fails on i.MX6 (error: inlining failed)

Build fails with errors like this one (cross-compile on an x86_64 Linux for a Linux running on an i.MX6 with g++ 9.2.1):

error: inlining failed in call to always_inline 'void vst1q_u8(uint8_t*, uint8x16_t)': target specific option mismatch

Cause: The platform is not detected correctly. Thus incorrect compiler options are inferred:

-- Platform: x86_64

Changing the else branch of
function(DumpMachine output pattern)

  if (MSVC)

    # CMake does not provide a generic shell/terminal mechanism
    #  and Microsoft environments don't know what 'sh' is.
    set(${output} 0 PARENT_SCOPE)

  else ()
      if(CMAKE_SYSTEM_PROCESSOR MATCHES ${pattern})
          set(${output} TRUE PARENT_SCOPE)
      endif()
  endif()

endfunction(DumpMachine)

back to the old version from 8.2.0
function(DumpMachine output pattern)

  if (MSVC)

    # CMake does not provide a generic shell/terminal mechanism
    #  and Microsoft environments don't know what 'sh' is.
    set(${output} 0 PARENT_SCOPE)

  else ()
    execute_process(
      COMMAND sh -c "${CMAKE_CXX_COMPILER} -dumpmachine 2>&1"
      COMMAND ${GREP_CMD} -i -c -E "${pattern}"
      OUTPUT_VARIABLE ${output}
      OUTPUT_STRIP_TRAILING_WHITESPACE)
    set(${output} "${${output}}" PARENT_SCOPE)
  endif()

endfunction(DumpMachine)

in CMakeLists.txt fixes the problem.

Done. I never liked that change. But I did not understand it, either.
Also see Commit c57ba8f63495.


⚠ GitLab Server has degraded performance

In a4159a7, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 2072 ms

Resolved: GitLab Server performance has improved in 6fea4d3.


Powerful mode can also run in Electric mode for flat boilers

The flat boiler apparently can enable its Powerful mode not only in Eco but also in Electric mode.

Closed with https://github.com/qbaware/homeassistant-eldom/releases/tag/3.1.0


Incorrect RBAC enforcement decorator

Containerized
Debian GNU/Linux 11 (bullseye)
Python 3.9.16
Airflow 2.5.3
The plugin fails to load because the API routes use the incorrect decorator to enforce RBAC on the endpoints. You will see the following error in your Airflow logs.
RuntimeError: Working outside of application context.

 This typically means that you attempted to use functionality that needed
 the current application. To solve this, set up an application context
 with app.app_context(). See the documentation for more information.

The appropriate patch is to make the following changes to all files in airflow_xtended_api/api/endpoints/*
from airflow.api_connexion import security -> from airflow.www.auth import has_access
@security.requires_access -> @has_access
https://github.com/anr007/airflow-xtended-api/blob/a97e5c50959994403153273ce2a611a84467e1d1/airflow_xtended_api/api/endpoints/create_dag.py#L4

Thanks for highlighting this @cdabella! This bug has been fixed in the v0.1.6 release.


dtheta renders as dth\eta

Pretty much what it says in the title. Entering dtheta, which I expected would give me d\theta in LaTeX, instead gives dth\eta. Not sure why \eta has precedence over \theta in this situation!
I'm aware that I can instead write d{::}theta, but that shouldn't be necessary, right???

I usually write it as d theta
But I agree it is not expected behavior.
Weirdly, dvartheta behaves as expected.
On Sat, 18 May 2019, Jolyon Bloomfield wrote:

Pretty much what it says in the title. Entering dtheta, which I expected would give me d\theta in LaTeX, instead gives
dth\eta. Not sure why \eta has precedence over \theta in this situation!
I'm aware that I can instead write d{::}theta, but that shouldn't be necessary, right???
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the
thread.[AABTULG636WHV5EC37VNRGDPWDIZHA5CNFSM4HN3TXM2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUSBLOQ.gif]

That could just be operator precedence right? \eta probably appears before \theta. So you could probably fix this by changing the order of the operators in the source; but could that have any unintended consequences?

AsciiMath doesn't define or consider operator precedence.  It parses a string from left to right, looking for the largest symbol.
For dtheta, it starts at the left and finds the symbol dt.  From there it parses the remaining heta, doesn't find a symbol, so moves on and finds the symbol eta.  So your expression is actually parsing (correctly, based on the syntax) as dt h eta.
As David Farmer noted, the correct way to prevent matching symbols you don't want is to add spacing, so d theta works because it breaks apart the dt symbol.

Ah, didn't realize there was a dt symbol. That explains the behavior.


Installing Napr

Hello, tried running Napr but I encountered some errors. Can I share them? @smortezah

@AdedejiAdewole Sure. Please share the details with potential screenshots.

Thank you @smortezah
Tried testing the model using the instructions you provided on the readme and got the following error:

I have cloned the git hub repository on my local machine, I went to the location on CLI using cd and ran pytest napr. From the error, it is saying it can't find the module 'nap.utils.random'.

hello @smortezah
I tried fixing the first error by insta.lling a lower version of pytest but that even caused more errors

hello @smortezah
I have fixed the errors I was encountering earlier, tests were successful, how do I implement this model and look at the outputs please?


Broken submodule (again)

When running git git submodule update --init --recursive , I get the following error:
fatal: reference is not a tree: 0ccd0cb024c2cb980ed2298f5f404cfd65c4eb1a fatal: reference is not a tree: 43a5dfacfc310aab31f81654cd1b143ad9ec2b1c Unable to checkout '0ccd0cb024c2cb980ed2298f5f404cfd65c4eb1a' in submodule path 'distro/extra/cunn' Unable to checkout '43a5dfacfc310aab31f81654cd1b143ad9ec2b1c' in submodule path 'distro/extra/cutorch' Failed to recurse into submodule path 'distro'
I've tried
git submodule foreach --recursive 'git submodule sync'
git submodule update --recursive and git submodule sync
Were the commits in the submodules committed/pushed?
Temporary workaround is to clone specific submodule manually

Should be working now.


[3677] Cohort filter homepage changes

Context
https://trello.com/c/xs84EsrH/3677-cohort-filter-homepage-changes
Changes proposed in this pull request

Updates to HomeView to return counts relating to current cohort
Updates to home.html.erb to add extra links to current and future cohorts
Updates to Badges component to link to current cohort filtered views

Guidance to review

Check that there's "View next year's trainees" link on the homepage that links to the registered trainees page with 'Next year's' filter selected.
Check that the count is correct on the link
Check that there's a "View current trainees" link on the homepage that links to the registered trainees page with 'Current' filter selected
Check that the boxes are only referring to the current trainee counts
Check that they all link to the registered trainees page with 'current' plus the correct state selected

Important business

Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?

 Cohort filter - homepage changes

We're re-working this, and probably won't need this PR. Closing for now.


feat: use strategy pattern

Questions
Answers

Description?
Refactor some code and use design pattern strategy to manage all data export and delete request.

Type?
improvement

BC breaks?
no

Deprecations?
no

How to test?
Test show user infos in back-office, delete user in back-office, export PDF and CSV in front-office.

I check this PR

Export (BO + FO)
Delete (BO + FO)
Show user
Good for me

Can we have a label QA approved @PrestaPierre plz ?

hi @lartist no sorry i can't. I am not authorized to do.
Paul Noel can do it

Thank you @fox-john


.gitignore in scaffolded application allows adding of cached CSS files.

See https://github.com/praekelt/molo-ndoh-yep/pull/5/files#diff-e02393403da80dc8839a33eadde10fd7R1

@bruskiza @saeedmb8 @miltontony ready for review, tiny change.

:+1:

👍🏻


CDAP-15235: BigQuery Batch Sink / Multi Sink: Better schema management

Added 'Allow Schema Relaxation' property to handle cases when destination table does not have fields from input or when field mode relaxation is needed.
Made schema property optional for BigQuery Batch Sink plugin. If not provided, input schema will be used instead. If input schema is not provided, schema will be automatically inferred during data load.
Fixed column nullability issues described in CDAP-15295.

@albertshau addressed code review comments.

@albertshau addressed code review comments.

Can you point me to where the code for changing missing fields to nullable is?

@albertshau it done internally when writing data to the BigQuery by BigQuery internals, the same as when BigQuery adds new fields or other schema modifications (https://cloud.google.com/bigquery/docs/managing-table-schemas). I don't know where in their code they do so, I just have tested it manually and can confirm, that if input field is missing and BigQuery field is required, its mode will be relaxed.

@albertshau, squashed the commits. Thanks for the review.


Update instructor for switching to team edition

Since the enterprise branch and team branch are merged into master, the instruction to switch edition has changed.

Hey @xcompass,
@JeffSchering noticed we have two places for production docker install guides:

https://docs.mattermost.com/install/prod-docker.html#production-docker-deployment
https://github.com/mattermost/mattermost-docker#production-docker-deployment-for-mattermost.

Do you know which one is more current/up-to-date? We were thinking of pointing to our docs for install guides since all our other install guides are there.

@jasonblais Actually, the first link is pointing to the send link. The first one includes other instructions like deploy "single-node preview of Mattermost". If you want all docs to be one place, we can move the content in the second link into the first one and put a link in the README.md in the mattermost-docker repo.

@JeffSchering maybe have your help on this one?

@xcompass @jasonblais  I think for now, because the instruction is short, maybe replace the link with the instruction itself.
Merging the two documents can be part of a separate Issue/PR.

@JeffSchering Done.


[Bug] Default PDF viewer

Configuration:

Web browser and its version: 86.0.1
Operating system and its version: macos

Hello,
I'm come here today for report a bug with default PDF viewer on Firefox.
I have a normal PDF document. I fill this document with PDFTK and my two cases is always checked but just one can normaly. (radio input)
My dump file with PDFTK (just for information)
FieldType: Button
FieldName: to_service_activity_field
FieldFlags: 1
FieldValue: MCO => Case checked
FieldJustification: Left
FieldStateOption: MCO
FieldStateOption: Off
FieldStateOption: SSR-PSY
First screen is name of inputs in adobe dc
Second screen is render view of Firefox PDF viewer (My trouble)
Third screen is render view PDF of Chrome viewer or Adobe reader (with the same file, it works !)
Thanks in advance

When opening an issue, please make sure that you provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md in order for the issue to be actionable/valid; in particular the "Attach (recommended) or Link to PDF file here:"-part is required here.

@Snuffleupagus Hello, thank you. I edit my post.

Hello, thank you. I edit my post.

Uncomfortably you still haven't provided the single most important piece of information here (without which there's not really much point in opening an issue):

Attach (recommended) or Link to PDF file here:

About my pdf file is confidential.

Sorry, but that make the issue non-actionable/invalid since it's impossible to debug anything from a screen-shot alone.
What you can check, is if the issue is still present in the latest PDF.js version; try opening your document with the demo viewer at https://github.com/mozilla/pdf.js#online-demo
Also, as mentioned in https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md, it helps to provide a better title than "[Bug] Default PDF viewer".

Given the lack of crucial information, let's close this issue as a duplicate of #12716 for now.

@Snuffleupagus I see this issue and fix. But this bug always exist ... I hosted soon my PDF file

But this bug always exist

Did you actually bother testing with the latest PDF.js version, which https://github.com/mozilla/pdf.js/issues/13127#issuecomment-804050673 specifically suggested?

Closing until a PDF file is provided.


Write feature tests for downloading a resource template

Hoping to move this feature out of Sinopia.

No longer applicable,  closing with merged PR #2326


NEED HELP PLEASE!

Hi i was working with this tool but when I tried to run it this is what came up
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/kali/BruteBot/BruteBot.py", line 202, in validate_elements
tmp_driver = Browser(showWindow=False, proxy=brutebot.proxy)
File "/usr/local/lib/python3.9/dist-packages/webbot/webbot.py", line 72, in init
[setattr(self, function, getattr(self.driver, function)) for function in
File "/usr/local/lib/python3.9/dist-packages/webbot/webbot.py", line 72, in
[setattr(self, function, getattr(self.driver, function)) for function in
AttributeError: 'WebDriver' object has no attribute 'switch_to_alert
this is the command
└─$ sudo python3 BruteBot.py -t https://accounts.snapchat.com/accounts/login -u Zmotala36 -p Zmotala36.txt --uid username --pid password --bname Login

The error message indicates that the WebDriver object does not have the switch_to_alert attribute, which suggests that the webbot library is attempting to use a method that is not available in the underlying Selenium WebDriver.
To resolve this issue, you can modify the webbot library's code to use the correct method for handling alerts. The switch_to_alert method was deprecated in newer versions of Selenium in favor of switch_to.alert.
Here's how you can modify the webbot library's webbot.py file to fix this issue:

Open the webbot.py file located in /usr/local/lib/python3.9/dist-packages/webbot/ (or a similar directory depending on your Python installation).
Find the line that contains switch_to_alert and replace it with switch_to.alert.

Before modification (incorrect):
[setattr(self, function, getattr(self.driver, function)) for function in dir(WebDriver) if
         not function.startswith('_')]

After modification (correct):
[setattr(self, function, getattr(self.driver, function)) for function in dir(WebDriver) if
         not function.startswith('_') and 'switch_to_alert' not in function]

This change should resolve the AttributeError related to switch_to_alert and allow the webbot library to function correctly.


consider lifecycle prefixes in osmTagSuggestingArea

Ways with lifecycle prefixes as always rendered as a line in iD, even if the feature would normally be treated as an area (for example disused:amenity=school or abandoned:leisure=stadium).
This PR makes iD consider lifecycle prefixes when deciding whether a way is a line or an area.
Example for proposed:building=yes:

Thanks


[BUGFIX] remove the hardcoded search state

Description
Please describe your pull request:

Why is it necessary?
Search JS included some hardcoded states which were preventing it to be easily adopted to bigger breakpoints
What does it improve?
Removes hardcoded states as they were unnecessary anyways (show/hide is handled by CSS)
Does it have side effects?
no

Questions
Answers

BC breaks?
no

Tests pass?
yes

Related tickets?

How to test?
test header search form across breakpoints

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-17957.
Please use this issue to track the state of your pull request.

Hey @schliflo,
thanks for your contribution. Please remember to sign the CLA.


Feature: Multi-User Support

Hi,
is support for multiple users on one installation something you would consider? I would like to host a Flox instance for my friends and family, each which his own watchlist and rankings.

Hey,
unfortunately the structure of the code is not very advantageous for a multi user implementation. There would be ways to implement it (@exane had a nice idea), but I don't really have time right now.

If nobody is working on it (or at least has it on the roadmap), I would like to give it a shot. Can you point me to @exanes idea?

The rough idea is to work with subdomains. This would probably be easier than adjusting the routing in the frontend.
https://laravel.com/docs/6.x/routing#route-group-subdomain-routing
The goal would be that every user can access Flox via the following structure: username.flox.domain. This would still allow someone to view data of other users in the Flox instance (maybe with a setting to deny access if you are not logged in as that user on the subdomain).
However, I haven't any experience with it (and also how to create dynamic subdomains on the webserver).
There is unfortunately a lot to consider:

The queries for the settings from the settings table are currently always retrieved by first(). A relation for the user would have to be made.
In the app.blade.php we access Auth::check(). There should be an exact check (am I logged in as the user on the subdomain?).
A user management would have to be built (to create/delete users). And only the "admin" should have access to it.
What happens if you call Flox without a subdomain (flox.domain)? Will there be an automatic forwarding?

If the user is logged in -> redirect to his subdomain.
If the user is not logged in -> show a list of all users or redirect to the admin subdomain or redirect to a login page.

Probably more things I don't have in my head.

I see... Subdomains per user would be great, but you are right, there are a lot of details to be considered...
Creating dynamic Subdomains can be achived by setting a wildcard DNS record. This works on my shared host with Apache (see http://flox.a14r.de/ and http://someusername.flox.a14r.de/).
However, I see a few tradeoffs with this method:

You have to change DNS settings. A lot of shared host users can not change the DNS settings, and so cannot run a multi-user installation. On the other hand, they can always create the subdomain manual by hand (and I think most shared-host user wil have only a few users at most).
I can't use Let's Encryt SSL Certs on Wildcard Subdomains (this can be a limitation by my hoster)

But I think it is better than change all the routing in the Frontend :-)

Closed because i will be completely redeveloping Flox and will try to implement multi users.


Remove router/bridge settings

Remove these parts of the RouterOS client script:
virtual access points
hidden SSIDs
interface bridge ispapp-lan
interface bridge port
ip address <IP_ADDRESS>/16
ip dhcp-server
ip dhcp-server network
ip pool ispapp-lan-pool
ip firewall nat masquerade

These are required to have a functional router that does not require configuration.

The ISPs are going to be loading their own ISP specific settings. ISPApp will just be used for performance monitoring, web shell, programmatically controlling devices using the server API, configuration management, and allowing the subscribers to set their own Wi-Fi network names and passwords. There is no reason for ISPApp to try to configure a router from scratch or change a router to a bridge or a bridge to a router.
Right now devices are in configuration loops constantly updating their settings.

That is why ISPApp should only modify the SSID and encryption key for wlan1 and wlan2 which are already going to be on the correct bridges as per the standardized configurations of the ISPs. Then the subscribers can change the WI-Fi network names and passwords without even worrying about bridge ports or any of these other settings.

To be clear, the ISPApp RouterOS client needs to stop adding and removing configurations for the following:
virtual access points
hidden SSIDs
interface bridge
interface bridge port
ip address
ip dhcp-server
ip dhcp-server network
ip pool
ip firewall nat masquerade
ipv6
Existing customers who do not use those settings can remove them from their devices using bulk commands. Existing customers who are using those settings can continue using those settings, or they can change those settings using bulk commands.


Adding new currency types

Hello, i wanted to see Syrian Pound but i could not find it in your app. So i thought that it would be awesome that ability of adding new currency types additionally.
It' s a great app tho lol

Hi Samet, thanks for the issue. It's a good idea that users can add new currencies with just providing a API URI. But the implementation won't be easy for that purpose. Because every API has a different type of way that serving the data. It could be JSON, XML, CSV and so on. It's not enough to go for implementing this idea because every JSON or XML has a different structure, right? We need a user-definable part which says to program that how to parse the data that comes from server for that section.
By the way, this project is kind a dead project which is not maintained anymore. I'll keep the issue open but you don't have to wait for implementation, you can fork that project to implement your ideas. Thank you for this issue again.

Thanks for response, I'll give a try.


DBeaver does not answer for 1-2 minutes before click on  not available resource

DBeaver vers 21.0.1
Postgresql 9.5, 12.2

I do not know that the server SERVER_MAIN is already off or available.

Open objects tree  of SERVER_MAIN  in left part of the interface.
Duble click on a stored procedure

and DBeaver absolutly locked for 1-3minutes with this picture in the down part

All DBeaver buttons are not available for this time. After that DBeaver  open the empty procedure edit window.

We need in Thread dump to understand the reason https://github.com/dbeaver/dbeaver/wiki/Making-a-thread-dump.

resource for formula tab is not available, click for this tab

and DBeaver is freeze with this procedure

no effect when i click to this button when she red color

Dbeaver version 21.0.1 it became impossible to work.

run jstack  > thead-dump.txt in windows 10 task manager

Sorry, my advice was incomplete. Embedded DBeaver Java cannot do it. Can I ask you to install Java manually and get Thread dump https://github.com/dbeaver/dbeaver/wiki/Making-a-thread-dump?


Feat hl version check

Checks for version mismatch and sends a warning notification.
TODO:

maybe skip check for hyprland < 0.31?

@N0tallion6 @xVermillionx @crimist test pls
Hyprland must be latest (43b39e0b onwards) (I don't think AUR packages are working rn - either build from source or wait till its fixed)
let me know whether or not you get an error notification - if so send logs. If you don't get the error, let me know if gestures work
for hyprload this should should help:
plugins = [
      { git = "https://github.com/horriblename/hyprgrass", branch = "feat-hl-version-check" },
]

43b39e0b onwards

Given the way it currently checks version Hyprland has to built at exactly 5b8cfdf to not trigger the error.
ie building from current  main results in:
[ERR] [hyprgrass] version mismatch!
[ERR] [hyprgrass] | hyprgrass was built against: 5b8cfdf2efc44106b61e60c642fd964823fd89f3
[ERR] [hyprgrass] | actual hyprland version: 20e7ccd48033dcacc233b2a2f46d385049bf299b
[LOG]  [PluginSystem] Plugin hyprgrass loaded. Handle: 558b77b96dd0, path: "/home/crimist/git/hyprgrass/build/src/libhyprgrass.so", author: "horriblename", description: "Touchscreen gestures", version: "0.3"

let me know if gestures work

After building Hyprland at exactly 5b8cfdf gestures do work for a couple swipes! And then promptly crash Hyprland...
I've attached a crash report though it's on the release build. Need to try sleep now but will post debug build crash logs later.
hyprlandCrashReport301275.txt

Looks like my symptoms perfectly match #47

Sorry, just seen this @horriblename . I'll try to give this a test as soon as I can

@crimist just like the logs said, your currently running hyprland is different from what hyprgrass was built with (in this case the running session is newer than the hyprgrass one). in short it's not my fault :D
the cause for the version mismatch is very dependent on your system and there's not much I can help with, the most probable cause I can think of:

you installed hyprland from multiple sources (i.e. one compiled manually, another from pacman)

remove one of them - if you uninstall the manually compiled version you need to also rm -rf /usr/local/include/ /usr/local/share/pkgconfig/hyprland.pc cuz headers don't get deleted properly right now

@horriblename I misunderstood your comment about requiring "43b39e0b onwards" - seems like you were referencing the minimum version required to test this PR. I can confirm the new code works so you can merge this PR.
Regarding your latest comment - this crashing occurs on the 5b8cfdf (0.31.0) build of Hyprland which does not have a version mismatch with hyprgrass. I completely purged Hyprland including /usr/local/include/* /usr/local/share/pkgconfig/hyprland.pc before compiling and install from said commit so there shouldn't be any issues there. Will provide debug logs in #47


docs(PULL_REQUEST_TEMPLATE): add Topic changes and Effects for driving behavior

Description

Add more Information for PR template.
Background: The current template does not make it clear to reviewers which aspects the PR will affect.
This PR adds

"Topic changes" only for standard template because the topic change has a larger impact.
"Effects for driving behavior" for both standard and small template because even if using the small change, the PR might have impact on the output driving behavior.

Tests performed

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@.kenji-miyake
Thank you for thorough review!
I already discussed this with @.tkimura4 so I will merge this.


Installation of Manim tutorial by Theorem of Beethoven on Mac

Hello everyone,
I followed the steps on Theorem of Beethoven's video on how to install Manim on Mac. I got up to this part where I had to paste
python3 -m pip install -r requirements.txt
However, when I try to paste that in, I get the following message.

I did get some warnings before this step, and I can include screenshots of them if it is necessary. Any help would be appreciated. Thanks!

Try this:
https://github.com/3b1b/manim/issues/524#issuecomment-489093651

I got
sh: latex: command not found
when typing in
python3 -m manim example_scenes.py WriteStuff -pl

Reinstall MacTeX, if that does not work then install TeXMaker and build the manimlib/tex_template.tex and run manim again.

Should I go through the same process in the video after installing it?

Only for Mactex

Try this before https://stackoverflow.com/questions/13916273/after-upgrade-to-osx-10-8-2-latex-command-not-found

How do I uninstall Mactex? When I tried to delete the folder from the applications folder, it only took up 113 MB of space, when Mactex installer says it takes up 6.96 GB of space. I think I am not deleting the entire application.

Before to reinstall MacTeX try that link

I tried that link but it didn't work. I also reinstalled MacTeX. Do I have to reinstall PIP, FFmpeg, SoX, and Cairo?

No, only mactex

alright I did that, but I tried
python3 -m manim example_scenes.py WriteStuff -pl
again yet it still doesn't work

Install Texmaker, then open tex_template.tex from manimlib using Texmaker and a build it, you can se tutoriales in youtube, that have to generate a pdf file that says "YoutTextHere", if that happen then try run manim again

Do you recommend any tutorials for me to watch?

The truth is quite simple, just open the file, and click on the arrow to the left of "Quick build". But first try using the command
python3 -m pip install latex

If it doesn't work then do the texmkaer thing

I got the below warning, and the WriteStuff command still doesn't work. When I clicked the arrow to the left of Quick build, a popup appears that says "Can't detect file name"
WARNING: The scripts futurize and pasteurize are installed in '/Library/Frameworks/Python.framework/Versions/3.7/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

The YourTextHere works, and I tried running "python3 -m manim example_scenes.py WriteStuff -pl" again. However, I still got the error:

Do not add the --use-clang, in your case that attribute does not work.
The problem is that manim is not using all latex packages at the time of execution, this problem had already been presented in #564 but in Windows. Sorry, I can't help you anymore because I'm not a Mac expert, but you can join the manim community in Discord, also post it in stackoverflow and Reddit, in this way more people can see it, when you post your problem, the content also must have the .log file, which in your case you can see at the end of the image you uploaded (47f7 ... log). When the problem is resolved please post the solution here so that people who may have this error can see it.

Alright, thanks for your help! I'll definitely check out the rest of your channel and recommend it to people!

Hey, try this brew cask install mactex

I tried that at first and it didn't work, but after I restarted my computer everything seemed to be working perfectly! Thanks for all the help!

Perfect, then you can close the issue please.


Expand Test Coverage

There are quite a few commits, but those were just to test current state of the package.
This PR is to extend the test coverage for the package
Currently, the package does not specify a minimum PHP version. This PR will require at least PHP 7.1.3 which is the minimum requirement for "symfony/dom-crawler": "^4.1".
This PR also adds a new version of orchestra/testbench which allows testing to run against Laravel 5.8.
In order for tests to pass in Laravel 5.8, I also had to add void return type to the setUp methods in the tests.
Last but not least, this PR also adds a new PHP version for the package to be tested against - PHP 7.3

Thank you @rbcunhadesign  👍
This is perfect 😎


Use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY for async boto Sessions if present

Description

Use AWS keys for boto Session for async requests.
GitHub Issues

Miserlou/Zappa/issues/1043

Coverage decreased (-0.02%) to 74.045% when pulling e24274d9937fe268d1f3b396de4369f08634bf7c on exp0nge:master into 85fde2fc9fb9f3ac2eace0ec6787db49410632d0 on Miserlou:master.

AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are set for every single Lambda invocation no matter what, so the else condition here will never execute in practice. I suspect this is working for you because you are explicitly setting those to variables via environment variables somewhere?

I'm using the zappa_settings.json environmental_variables setting. I'm not sure what's going on with the session but this patch lets me use the async calls.

I put a comment on your issue since I think that discussion is better put over there.

Check issue for resolution

Coverage decreased (-0.008%) to 74.054% when pulling cb0f43cfbcf7d5f997125e9eb2eacd70f6c48cb3 on exp0nge:master into 85fde2fc9fb9f3ac2eace0ec6787db49410632d0 on Miserlou:master.


feat: add test for storage access after panic

What ❔

Why ❔

Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.

Added some todos. I'll deal with them in the next pull requests

Fixed in #165


Datadog add-on documentation

Issue #, if available:
Description of changes:
Document the DatadogAddOn.

@ahmed-mez Any updates on this (the PR has been opened for a while)?
Based on our conversation we expected the following steps to be taken:
Public Add-on Steps
Partner Add-on Steps
Please also review the extensibility guide for any items that may be relevant for your implementation.

Hi @shapirov103 - Apologies for the delay in responding.
We just bumped the dependency (in this PR) as well as updated our repo per the partner requirements.
I will make sure this upstream contribution gets updated accordingly tomorrow and hopefully we will be good to go.


RKE2 cluster - Local etcd snapshots is taken on a cluster where S3 etcd snapshots are enabled

Rancher Server Setup

Rancher version: 2.6head - 07ee596
Installation option (Docker install/Helm Chart): docker install

Information about the Cluster

Kubernetes version: v1.23.8+rke2r1
Cluster Type (Local/Downstream): AWS Node driver - 1 node all roles

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) admin

Describe the bug
RKE2 cluster - Local etcd snapshots is taken on a cluster where S3 etcd snapshots are enabled
To Reproduce
Deploy a 1 node RKE2 cluster wth S3 enabled etcd snapshots
When the cluster comes up Active, take a snapshot on the cluster
Issue 1

local etcd snapshot is generated.
This issue is seen on 2.6.6 also

Expected:
Local etcd snapshots should not be taken when S3 enabled cluster is deployed.

This is expected behavior, and stems from K3s/RKE2 behavior. The supervisor/engine keeps a local copy and a remote copy of snapshots, and made changes on the Rancher side to reflect this.

@Oats87 , based on your explanation above as well as some side conversations we've had, I'm assuming this is actually beneficial and was done on purpose. Should we close this as "functions as designed"?

@snasovich This should be closed as functions as designed, as this is also in parity with RKE1 snapshots.


Can still get pop-up to hang off the page

Turn on "Hide Mastered"
Spam click secondaries to say that they're mastered. At some point the positioning of the pop-up gets messed up and it'll hang off the screen.
Browser & OS

Browser: Google Chrome v86.0.4240.198
Device: Windows 10

I think I may have a fix for this. Currently it chicks if the tooltip is outside the viewport only after initial display (so if you move the mouse one pixel onto a button, it'll not perform the check).


Atmel Studio 7 Serialloopback error USART.H

Hi:
I known that this issue has already been discussed in previous posts, but after reading all of the posts, i still can´t find an answer to this problem.
The project recognizes the USART.H and pinDefines.h, but when i compile, it gives many error. I checked all the code and can't find what i'm doing wrong.
The errors are in the attached file.
if someone has manged to compile and make it work with atmel studio, please help me so i can progress in the book.
Thanks
João Ferreira
error.xlsx

Same here, I tried many ways to include the files in Atmel Studio 7 but nothing works. I will take a step back and use WinAVR from here on, the IDE just adds at this stage unnecessary complexity and it is much harder to debug.

@igonine  I could compile the code on Atmel Studio 7


reserve a test

hi 2e0byo
On line 208 in scraper, you make these remarks:
        # could improve here:
        # scroll to the right calendar month
        # click
        # reserve test

I would be really grateful if you could make that happen please.
I have managed to click the 1st date but cannot seen to find a way to click the 1st time(on that date)
regards

Does that mean you managed to find a test?  Anyhow, the problem is that I don't have any tests to test it on.  What did you try to click the first date?  Have a look at one of the linked projects in the Readme---one of them had auto booking.  I'll have a look when I get back, but since I can't test it I'll be implementing blind, which is pretty dangerous....

Hi, yes found some dates and just wanted to hold it for the 15 or so
mins whilst i rush to get to the pc. ive had a good old look at the code
you refer to but im just not skilled enough to bring the solution into your
code. Im happy to try out any code snippets you might be able to put
together.
regards
On Thu, 9 Dec 2021 at 08:33, 2e0byo @.***> wrote:

Does that mean you managed to find a test? Anyhow, the problem is that I
don't have any tests to test it on. What did you try to click the first
date? Have a look at one of the linked projects in the Readme---one of them
had auto booking. I'll have a look when I get back, but since I can't test
it I'll be implementing blind, which is pretty dangerous....
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/2e0byo/YADC/issues/3#issuecomment-989625785, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKMEXC6AJFHQAMBW2A3CUFDUQBSUDANCNFSM5JUSQKUA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

....so not looking to auto book, just get to the point it is held for me and give me extra time to check its good for me then swap the dates

This is likely to have to wait until the weekend.

That world be brilliant. Thank you.
On Thu, 9 Dec 2021, 19:51 2e0byo, @.***> wrote:

This is likely to have to wait until the weekend.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/2e0byo/YADC/issues/3#issuecomment-990189477, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKMEXC4AF65RI5D3YB6UUSTUQECE5ANCNFSM5JUSQKUA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

See the draft implementation on the new booking branch in 2ed7468.
This is completely untested, but it should hopefully be enough to get things going.  I have taken the logic directly from the code which inspired this repo (see the readme for a link).  Note two new params passed when instantising a Scraper():

reserve : default= True: reserve tests.
short_notice: default = True: reserve short notice tests.  Note that I've a feeling these can't be cancelled or something: worth checking.

The implementation will likely need tweaking.  I left out all attempts at error checking, so if the underlying Browser() doesn't manage to solve the captcha for you (which it will try to do, I think---but it was a while ago I wrote it and I can't quite remember which calls trigger a check for catpchas....) it will simple throw an error.  Since error behaviour is really nice (you get a screenshot  + traceback + page source in the errors dir) you should be able to figure out what's happening and add the required code fairly easily.
Good luck!

You did amazingly given no testing. Did a few tweaks and now have a version of it running nicely - thank you, i was so close. I'll have to have a good look at the error behaviour - the screenshots etc,  as i have never had that running even in the previous code. I suspect something to do with linux v windows configuration

Great: if you open a pr with your working version I'll merge it.
Errors should land in the errors dir you pass when instantiating the
scraper.
Le dim. 12 déc. 2021 à 11:42, chrishat34 @.***> a
écrit :

You did amazingly given no testing. Did a few tweaks and now have a
version of it running nicely - thank you, i was so close. I'll have to have
a good look at the error behaviour - the screenshots etc, as i have never
had that running even in the previous code. I suspect something to do with
linux v windows configuration
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/2e0byo/YADC/issues/3#issuecomment-991882416, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOINTVJGDRRLXOFYEMR2RDUQSDDDANCNFSM5JUSQKUA
.

any chance you could open a PR with your changes? I'll happily help cleaning it up if need be.  (Once you push your changes up you should be able to open the PR from the main github page for your repo.)

closed in #5.


Migrate to dotnet foundation

Adds license and Readme updates for migration to .Net foundation

Are you migrating the build pipeline to dotnet foundation as well in this PR? If not then probably you need to change the tittle of the PR.

Yes the pipeline was added in this monstrosity of  pr. once merged will perform the last step to add the badges.

@paulodero Until it is merged didn't want to adversely affect others who rely on the current pipeline
A manual run shows that this builds and generates the artifacts


fix: Remove old babel/traverse version with a postinstall script

#minor
Description
This PR removes the old version of @babel/traverse (7.19.4) that is installed by the @microsoft/orchestrator-core package. This version of babel/traverse is vulnerable and botbuilder is also installing a later and secure version of this package (7.23.2).
Specific Changes

Added a postinstall script in the root and botbuilder-orchestrator-ai package.json files to remove the old version of babel.

Testing
These images show the dependencies tree before and after running the postinstall script.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.272%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
20291

Relevant Lines:
22803

💛  - Coveralls

/promoted 4590


has_response marks webhook as returning a response.

maybe not what you want, but figured I'd pass it your way.
This allows you to output the response when has_response is set.
I can add an example in config.
  5   - url: "/flipped"
  4     commands:
  3       - cmd: ["cmd.exe","/c","cat -B somefile.png | sic --flip-vertical"]
  2         stdin: request-body
  1         has_response: true

(using https://crates.io/crates/sic)
it works for static files.  it's not using stdin right now; that would require some more thought and extension of the multipart example, i think.

https://github.com/de-vri-es/webhook-httpd/compare/main...davehorner:webhook-httpd:passthru-example
This includes the passthru which does work for me.


tsconfig.json

Is there any way to get this to use the tsconfig.json in the project base?

Hello @amritk,
Could you describe more your idea? How do you plan to use tsconfig.json? How could this gem help you with tsconfig.json integration?

the tsconfig.json would tell it which files to reference so I don't need the reference line at the top of every file:
/// <reference path="../../definitions/hc.d.ts" />

@bdrazhzhov, I have the same issue. And the problem is if we cannot use tsconfig.json we cannot integrate Angular 2, for example. The truth is, and it was a great fight, I would like to use on a typescript file call another one, importing it. But when typescript-rails transpile the file it can find the another one, because, looks like, the file is transpiled on a tmp directory. I tried to pass several arguments to the compiler but no sucess. And more, the arguments that could solve the problem to me, pointing a tsconfig.json to the compiler, simply not works, because typescript says that we cannot point tsconfig.json files when we target a typescript file, because it is ambiguous.
I was trying to create some more complex project with typescript and rails but without this feature we simply can't do this. This feature is very very necessary in my opinion. Could we take a look on this?
To use Angular 2 the only way that I found is creating an API only rails project and a angular-cli project, for example.

Hi @Danilo-Araujo-Silva,
But right now I have no time for this gem support. I accept PRs from other people only which fix some issues or add new features.


implement uvhydrograph

See new json structure for top and bottom plots

snazzy!

{
    "title": "SW Review UV Hydrograph",
    "description": "Compare inputs/ouputs and other relevant information.",
    "inputs": {
        "serviceRequestId": "67dbdbbf-d1d6-4e86-b7ce-f92b7be48781",
        "startDate": "2009-10-01T00:00:00-05:00",
        "nwisRaAuthToken": "dabc89ea-7756-40c3-b83c-cc1edb72312f",
        "requestId": "02a9cc6f-497b-4f41-96cc-e6b8d233f829",
        "requestDateTime": "2015-04-17T11:04:32.205-05:00",
        "ratingModelIdentifier": "Gage height-Discharge.STGQ",
        "msrvPublishedBy": "aqcu-front-end",
        "stationId": "01010000",
        "endDate": "2010-09-30T23:59:00-05:00",
        "eventType": "request",
        "serviceName": "aqcu-data-retrieval",
        "dailyDischargeIdentifier": "Discharge.ft^3/s.Mean",
        "dischargeIdentifier": "Discharge.ft^3/s",
        "msrvLoggable": "true",
        "dataRetrievalType": "inputs",
        "stageIdentifier": "Gage height.ft"
    },
    "timeseries": {
        "dischargeRaw": {
            "name": "Discharge.ft^3/s@01010000",
            "type": "Discharge",
            "units": "ft^3/s",
            "description": "From Aquarius",
            "startTime": "2009-10-01T00:00:00.000-05:00",
            "endTime": "2010-09-30T23:59:00.000-05:00",
            "points": []
        },
        "effectiveShifts": {
            "name": "Effective Shifts",
            "type": "Effective Shifts",
            "description": "Produced by AQUARIUS Time-Series Software.\r\nThe accuracy and reliability of this data is not guaranteed.  Aquatic Informatics Inc. accepts no liability for its use in any way.",
            "points": []
        },
        "gageHeight": {
            "name": "Gage height.ft@01010000",
            "type": "Gage height",
            "units": "ft",
            "description": "From Aquarius",
            "startTime": "2009-10-01T00:00:00.000-05:00",
            "endTime": "2010-09-30T23:59:00.000-05:00",
            "points": []
        },
        "gageHeightRaw": {
            "name": "Gage height.ft@01010000",
            "type": "Gage height",
            "units": "ft",
            "description": "From Aquarius",
            "startTime": "2009-10-01T00:00:00.000-05:00",
            "endTime": "2010-09-30T23:59:00.000-05:00",
            "points": []
        },
        "discharge": {
            "name": "Discharge.ft^3/s@01010000",
            "type": "Discharge",
            "units": "ft^3/s",
            "description": "From Aquarius",
            "startTime": "2009-10-01T00:00:00.000-05:00",
            "endTime": "2010-09-30T23:59:00.000-05:00",
            "points": []
        }
    },
    "errorBars": [
        {
            "shiftInFeet": -1.39549316455258,
            "errorMinShiftInFeet": -1.30037840678887,
            "errorMaxShiftInFeet": -1.4973286817884401,
            "discharge": 928,
            "errorMinDischarge": 1020.8,
            "errorMaxDischarge": 835.2,
            "measurementNumber": "373",
            "qualityRating": "POOR",
            "historic": true,
            "meanGageHeight": 3.41,
            "visitStartDate": "2010-03-17T11:52:17.000-05:00",
            "ratingModelIdentifier": "Gage height-Discharge.STGQ"
        },
        {
            "shiftInFeet": -1.37712862422136,
            "errorMinShiftInFeet": -1.29292443024805,
            "errorMaxShiftInFeet": -1.46544272512131,
            "discharge": 616.13,
            "errorMinDischarge":<PHONE_NUMBER>999999,
            "errorMaxDischarge": 554.517,
            "measurementNumber": "371",
            "qualityRating": "POOR",
            "historic": true,
            "meanGageHeight": 3.02,
            "visitStartDate": "2010-01-19T09:14:31.000-06:00",
            "ratingModelIdentifier": "Gage height-Discharge.STGQ"
        },
        {
            "shiftInFeet": -1.04016274700414,
            "errorMinShiftInFeet": -0.95700695285148,
            "errorMaxShiftInFeet": -1.13315178068864,
            "discharge": 679.811,
            "errorMinDischarge": 747.7921,
            "errorMaxDischarge":<PHONE_NUMBER>000001,
            "measurementNumber": "372",
            "qualityRating": "POOR",
            "historic": true,
            "meanGageHeight": 2.77,
            "visitStartDate": "2010-02-17T09:28:43.000-06:00",
            "ratingModelIdentifier": "Gage height-Discharge.STGQ"
        },
        {
            "shiftInFeet": 0.07412336166379996,
            "errorMinShiftInFeet": 0.20864767097416026,
            "errorMaxShiftInFeet": -0.06655875778755993,
            "discharge": 3942.79,
            "errorMinDischarge": 4258.2132,
            "errorMaxDischarge": 3627.3668,
            "measurementNumber": "374",
            "qualityRating": "FAIR",
            "historic": true,
            "meanGageHeight": 3.82,
            "visitStartDate": "2010-04-28T09:49:06.000-05:00",
            "ratingModelIdentifier": "Gage height-Discharge.STGQ"
        },
        {
            "shiftInFeet": 0.013863307870200181,
            "errorMinShiftInFeet": 0.0740713002872202,
            "errorMaxShiftInFeet": -0.04859531684165996,
            "discharge": 464.441,
            "errorMinDischarge": 501.59628,
            "errorMaxDischarge":<PHONE_NUMBER>9999997,
            "measurementNumber": "375",
            "qualityRating": "FAIR",
            "historic": true,
            "meanGageHeight": 1.4,
            "visitStartDate": "2010-05-26T12:08:03.000-05:00",
            "ratingModelIdentifier": "Gage height-Discharge.STGQ"
        },
        {
            "shiftInFeet": 0.07650357493816995,
            "errorMinShiftInFeet": 0.1434938101901999,
            "errorMaxShiftInFeet": 0.006912074571129967,
            "discharge": 604.478,
            "errorMinDischarge": 652.83624,
            "errorMaxDischarge":<PHONE_NUMBER>999999,
            "measurementNumber": "376",
            "qualityRating": "FAIR",
            "historic": true,
            "meanGageHeight": 1.55,
            "visitStartDate": "2010-08-10T14:20:00.000-05:00",
            "ratingModelIdentifier": "Gage height-Discharge.STGQ"
        },
        {
            "shiftInFeet": 0.035784594228077005,
            "errorMinShiftInFeet": 0.07287063725310394,
            "errorMaxShiftInFeet": -0.0032588037916579937,
            "discharge": 145.792,
            "errorMinDischarge": 157.45536,
            "errorMaxDischarge": 134.12864,
            "measurementNumber": "377",
            "qualityRating": "FAIR",
            "historic": true,
            "meanGageHeight": 0.67,
            "visitStartDate": "2010-08-25T13:14:33.000-05:00",
            "ratingModelIdentifier": "Gage height-Discharge.STGQ"
        }
    ]
}

This could be wrong, but let's take a stab in the dark. My guess is the "effectiveShifts" timeseries will be of discharge as well and should be plotted on the top graph in a different color.

@thongsav-usgs this is a bit trickier than a simple xy plot. I am using some canned data to mock this up, but your delivery format for the timeseries arrays is going to be something I'll need to handle. I.e., are you using day of month (like the example), or do I pull that out of an isodate? Is it always just one month? It's hard to tell here, but it looks like there are lots of different timeseries in this plot, of varying frequencies. One looks ~hourly, others daily, and some from manual sampling.
Last one (vdiagram) ended up with pretty much all the logic before the rendering. Do you want to tackle this similarly? If so, these formats are going to get pretty odd I am guessing.

@dlorenz-usgs or @ldecicco-USGS - is this (see plot above) a plot type that exists in swmmrGraphs?

The plot type is a basic hydrograph. The function timePlot can create the basic hydrograph, then functions like addXY, addErrorbars, and addAnnotation can be used to add the additional features. These functions can be assembled into a script that will pretty much create the graphs shown above for any data. As it exists now, addExplanation can only create explanations in a single column, not multiple columns as in the example.

@jread-usgs it's not always one month, it's point data at an arbitrary time interval. You can look at the "inputs" to see the date range used (startDate/endDatE).
Good source of test data: https://nwissddvasvis01.cr.usgs.gov/service/timeseries/reports/swuvhydrograph/?station=01350000&dischargeIdentifier=Discharge.ft^3%2Fs&stageIdentifier=Gage+height.ft.Work.DD002&dailyDischargeIdentifier=Discharge.ft^3%2Fs.Mean&ratingModelIdentifier=Gage+height-Discharge.STGQ&startDate=2014-04-30T05%3A00%3A00.000Z&endDate=2014-05-31T05%3A00%3A00.000Z

Latest version has "dailyDischarge" now, please plot that in the top graph also.

Thanks @dlorenz-usgs looks like some handy functions for timeseries.


Update top level logging documentation

(Pressed for time—@satnam6502 assigning to you to find a reviewer. Someone should take a one-over, at least. My one questions is why we're removing all mentions of elasticsearch [perhaps it's all on subpages now?])

A different page has been added for Elasticsearch + Kibana and I will link to that in a subsequent PR.

Added a section about Elasticsearch and Kibana.

Removed absolute paths at the request of @RichieEscarez

Looks great, sorry if I gave you outdated advice about using absolute rather than relative paths.


NonZero Int type support

Implementing FromPyObject for NonZero int types.
I think it'd be a great minor feature, but far from necessary.

Agreed, I'd be very happy if someone was interested in adding this.
I've also wanted support for the ordered-float crate in the past for NotNan types, so would happily accept that as an optional feature like our other thirdparty conversion features.

Agreed, I'd be very happy if someone was interested in adding this.
I've also wanted support for the ordered-float crate in the past for NotNan types, so would happily accept that as an optional feature like our other thirdparty conversion features.

That sounds like a great idea! I'll see if I'm at a level good enough to add them myself.

Thanks for the interest! Have a look at the contents in https://github.com/PyO3/pyo3/tree/main/src/conversions.
I'd suggest putting these in conversions/std/num.rs and conversions/ordered_float.rs. I'd do them as separate PRs to keep reviews simpler and easier to track history.
Please ask if there are any parts which seem unclear which you'd like clarification.


[local-volume] Added ionice -c 3 (aka idle) to long running cleanup commands.

ionice -c 3 (aka idle) will reduce the impact of these commands on other io workloads on the node.
$ ionice -h
ionice - sets or gets process io scheduling class and priority.
<snip>
Options:
  -c, --class <class>   scheduling class name or number
                           0: none, 1: realtime, 2: best-effort, 3: idle

/assign @dhirajh

/assign @wongma7 @childsb - this PR is ready to merge.

This PR is ready to merge.
/assign @wongma7 @childsb


iOS Crashlytics Crash Report also try/catch

Hi all,
we are having a strange issue with Crashlytics reports, it seems that the console show us as a fatal exception also the piece of code that goes in a try/catch block,
We are using Xamarin.Firebase.iOS.Crashlytics 3.14.0 (the latest one).
Some one knows how to fix this ?

HI @Redth any update on this ?

@SotoiGhost should be able to help out here.