Update google-cloud-pubsub to 1.130.0

About this PR
📦 Updates com.google.cloud:google-cloud-pubsub from 1.116.4 to 1.130.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-pubsub" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.cloud", artifactId = "google-cloud-pubsub" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #314.


Option not to include hash to file names

First of all thanks for this tool! It was really helpful for me to get started. I read all available how-to's and materials and really understand the purpose of this tool BUT... If this app is agnostic of the backend, and just produces static HTML/JS/CSS bundles there should be an option to leave filenames as is, as some ECM/CMS and other host systems has their own caching/versioning realization. Having different file names after each build mean need for manually deal with file published previously.

I'm currently in this situation where the hashing in filenames causes issues. Whilst ejecting is a solution, it seems like a broken solution.

@WolfieZero, I did a fork and made some changes in react scripts package to get static names after build. It may be not best way but it is still much better then doing eject. Please refer to this manual: https://auth0.com/blog/how-to-configure-create-react-app/. As far as I understand it is supported approach

@FixRM Awesome, will take a look at. Thanks!

@WolfieZero You can try mine but it uses TypeScript: https://github.com/FixRM/create-react-app-typescript-static

Why don't you add query hashes instead of hashing file names?

If you generate your HTML in that way everyone should be satisfied.

I am needing this to (bundles without hashes). I dont think it to be so hard to implement. And should be like and option (by default include the hashes)

Something that I was able to do with React Rewired (https://github.com/timarney/react-app-rewired). I will say that if you are really overriding a lot in the future it might be worth ejecting.
// config-overrides.js
module.exports = {
  webpack: function(config, env) {
    if (env === "production") {
      //JS Overrides
      config.output.filename = 'static/js/[name].js';
      config.output.chunkFilename = 'static/js/[name].chunk.js';

      //CSS Overrides
      config.plugins[4].filename = 'static/css/[name].css';

      //Media and Assets Overrides
      config.module.rules[1].oneOf[0].options.name = 'static/media/[name].[ext]';
      config.module.rules[1].oneOf[3].options.name = 'static/media/[name].[ext]';
    }

    return config;
  }
};

This should take care of the hashes, mapping, and media/asset. Sadly with the way plugins are implemented in an array, I have to use fixed indexes. Also, if you do end up adding more plugins it could mess with those fixed indexes.

We serve our react app from Django staticfiles, and we use Django's builtin CachedStaticfFilesStorage, which itself takes care of hashing all static assets etc, so we end up with a doubly hashed bundle :-/ This is really a PITA and I really don't understand why there's no simple option to  deactivate hashing in create-react-app. Really, why force peoples to go through all sorts of hoops just to make things work for their own use case ?

I'm also having issues with this, here is the scenario:
The app is hosted on Netlify. Since it's an spa, redirect rules are set to redirect any route to index.html.
First access to app caches the current bundle name. If a new deployment/build is done, a new bundle name is generated.
In a second access, browser still requests old bundle name before second build. Server doesn't find requested js file, so redirect rules apply and index.html is served as a js file.
Result is a blank page and the following error on console, since it tries to read js but server delivers a html file:
Unexpected token <

Other SPA framework (Angular / Vue) CLIs support this. Ejecting feels like taking a sledge hammer to crush an ant.
Having non-hased output files is helpful if you are using something other than the generated index.html to host the SPA. An example would be hosting a new React SPA in a razor (.cshtml) view in an existing ASP.NET MVC project. I want / need the script src locations to be known at development time as this file is under source control.
Otherwise, I could update my build server to perform magic to insert the for my production builds. But then what I deploy is not reflected in source control.
Without the hashed files, cache busting would be up to the developer. But that's the trade-off we would be willing to make for predictability.

@dlbnco We are facing the exactly same issue. So, The application fails if we deploy it while a user is online.

The app is hosted on Netlify. Since it's a SPA, redirect rules are set to redirect any route to index.html.
First access to app caches the current bundle name. If a new deployment/build is done, a new bundle name is generated.
In a second access, the browser still requests old bundle name generated on first build. Server doesn't find requested js file, so redirect rules apply and index.html is served as a js file.
Result is a blank page and the following error on console since it tries to read js but server delivers a HTML file.

May I suggest that #7172 may resolve such problem without ejecting?

hello could someone correct this? i have  the same problem.

Ok so we now have at least half a dozen users that explicitely claimed they had a need for this feature (which means quite a few others also do who have not posted here yet), and at least a couple more-or-less supported "solutions" (either forks or workaround like react-app-rewired). Not mentionning those who choosed to "eject" but would rather not have if they add a better (builtin) solution.
May I kindly suggest that  it may not be such a "very specific use case"  and that the fact that "Most users benefit from cache busting naming convention" is actually unrelated since the point is not to remove this feature but only to add an option to  deactivate it ? (without having to deal with the inconveniences of the existing "solutions", that is).
FWIW I'm actually a bit suprised that Kyr's PR (cf #7172) was rejected on the premise that "this has little value for most users" - it obviously has for quite a few of us, and AFAICT it wouldn't change anything for those "most" users who don't need it.
Now I'm no react/webpack expert in anyway so there might be other technical issues (with Kyr's solution or anything similar) that I'm not aware of, but then why not just expose those issues (so someone - possibly me or someone from my team FWIW) has a chance to come with a working fix that could be accepted) instead of assuming what CRA users really need ?
My 2 cents...

@BrunoDesthuilliers And where are everyone who are happy about the way it currently works and how many are those? :) Just to balance things up... I dont like guessing but most people probably just dont question why the bundled file names are named the way they are.
I think deactivating it has significant down sides and can lead to unwanted side effects compared to building something that reads the manifest file.

@andriijas  I'm afraid I wasn't clear enough: I'm not talking about removing hashing, but about having an option to disable it (via a command line flag, envvar or config, whatever). IOW: keeping the exact current behaviour as default, but having an easy (and controlable) way to change it when necessary.
Oh and yes also: except for this point (and even despite this point) I am a happy CRA users, thank you guys ;-)

As far as I see, some people also have problems with v3 chunk/hashing schema. The option to disable this can be a rescue for them as well

Oh and yes, wrt/

most people probably just dont question why the bundled file names are named the way they are.

Well, they should, really - or, more exactly, they should not, because they should already know why those hashes are there. But it's not because some users don't understand  why this feature is there or aren't even aware it exists that there's no perfectly legitimate use cases for allowing other users to disable it.

The other Issue that was about this was closed a while ago but I wanted to add my own updated package.json that works with dropping the hashes out of a chunked file for people Googling:
"build": "react-scripts build && npm run rename-build-files && npm run replace-build-files-text",     "rename-build-files": "renamer -f '/\\.[^\\\\.]+\\.chunk\\./gmi\\' -r . 'build/**'",     "replace-build-files-text" : "replace-in-file '\/\\.[^\\\\.]+\\.chunk\\.\/g' '.' 'build\/**' --isRegex --verbose",
Uses the renamer package to actually change the filenames and replace-in-file to change the references.
The raw, unaltered commands (you have to escape them to put them in package.json) are:
renamer -f '/\.[^\\.]+\.chunk\./gmi\' -r . 'build/**'
replace-in-file '/\.[^\\.]+\.chunk\./g' '.' 'build/**' --isRegex --verbose
If you wanted to add query string cache busting you could probably write another line using the replace-in-file to do it.

Would love to see the ability to witch to query based hashes. That way logrocket would finally work correctly with our Netlify deploy https://docs.logrocket.com/docs/troubleshooting-sessions#styles-are-not-appearing-in-recordings

If you're looking for a solution right now, there are definitely ugly ways to automate this using asset-manifest.json, which is a sort of mapping from the original names to the hashed names.

This does sound like the right way to me. And you could right an automated script that reads it, does something, and even share that script between projects.

lot of requests for this over the years, is it a technical issue that is difficult to fix or a disagreement on that it not needed

We'd also appreciate the option to not add hashes to file names and use query strings or other methods to bust the cache instead so that when someone has an expired html file, they still get the js files instead of a blank page.
The janky workaround we ended up going with to solve this is serving the new bundle.js file even if the hash doesn't match.

Here's a minimal working configuration for react-app-rewired which works for us:
module.exports = function override(config, env) {
    if (env !== "production") {
        return config;
    }

    // Get rid of hash for js files
    config.output.filename = "static/js/[name].js"
    config.output.chunkFilename = "static/js/[name].chunk.js"
    config.output.assetModuleFilename = 'static/media/[name][ext]'

    // Get rid of hash for css files
    const miniCssExtractPlugin = config.plugins.find(element => element.constructor.name === "MiniCssExtractPlugin");
    miniCssExtractPlugin.options.filename = "static/css/[name].css"
    miniCssExtractPlugin.options.chunkFilename = "static/css/[name].css"

    return config;
};


Stevenabreu7 nir

From my understanding/experience yes, they are always ordered.
On Wed, Oct 25, 2023, 17:01 Steven Abreu @.***> wrote:

@.**** commented on this pull request.
In spyx/nir.py
https://github.com/kmheckel/spyx/pull/16#discussion_r1372002158:

elif isinstance(node, nir.Scale):  # not needed atm

   pass

elif isinstance(node, nir.Delay):  # not needed atm

   pass

elif isinstance(node, nir.Threshold):  # not needed atm

   pass

+def to_nir(spyx_pytree, input_shape, output_shape) -> nir.NIRGraph:

"""Converts a Spyx network to a NIR graph."""

construct the edge list for the NIRGraph

keys = list(spyx_pytree.keys())
edges = [(keys[i], keys[i + 1]) for i in range(len(keys) - 1)] # assume linear connectivity

will the keys of the pytree always be ordered? if not, the edges of the
NIR graph would be incorrect, wouldn't they?
—
Reply to this email directly, view it on GitHub
https://github.com/kmheckel/spyx/pull/16#pullrequestreview-1697748228,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMG7YKF25CSOGWLOQXGVZMTYBEZVVAVCNFSM6AAAAAA6PCSPCWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTMOJXG42DQMRSHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Support --no-serve-devtools for running tests

A --no-serve-devtools flag was added in 4b96d7a09d5d8a7755f88c0192fad3c7eb57f9f6 to allow running the VM without spawning its own DevTools. This is used by VS Code which currently hosts its own version of DevTools for some additional functionality and having another DevTools address printed in the output is confusing.
The flag doesn't seem to work when running tests (I'm using dart run test:test test/foo_test.dart based on this thread):
dart --enable-vm-service=0 --no-serve-devtools run test:test test/basic_test.dart
Observatory listening on http://<IP_ADDRESS>:50892/BHdTT1HoCkc=/
The Dart DevTools debugger and profiler is available at: http://<IP_ADDRESS>:50892/BHdTT1HoCkc=/devtools/#/?uri=ws%3A%2F%2F<IP_ADDRESS>%3A50892%2FBHdTT1HoCkc%3D%2Fws
00:01 +5: All tests passed!

I tried putting the flag in other places in the command but nothing seemed to work.
@bkonyi

As discussed offline, this is WAI since --no-serve-devtools needs to be passed after dart run. dart --observe --no-serve-devtools foo.dart is also valid (e.g., implicit dart run).


test: The integration test is broken

Describe the bug
The compilation of the integration test is broken. It seems to have regressed due to the refactoring in PR #522.


LDAP Integration Issues

Hello, again,
I'm having issues getting LDAP integration to work. Sorry if I'm bugging you too much. I'm a sysadmin, not a developer. PHP and other programming languages are not my forte.
I added the correct information in /var/www/html/kvm-vdi/functions/config.php, but I am getting the following errors when I try to authenticate via LDAP

The whole error is: PHP Warning:  ldap_bind(): Unable to bind to server: Invalid credentials in /var/www/html/kvm-vdi/functions/functions.php on line 327
I've checked functions.php and everything seemed ok. I checked how the variables correspond to the form values in the client_index.php file. Is there something I'm missing? I've verified my AD server is listening on port 389 and used a test .php file to verify I can successfully bind with AD.
`<?php
$username = 'jtest';
$password = 'jtest';
$server = 'x.x.x.x';
$domain =<EMAIL_ADDRESS>$port = 389;
$connection = ldap_connect($server, $port);
if (!$connection) {
exit('Connection failed');
}
// Help talking to AD
ldap_set_option($ldap_connection, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($ldap_connection, LDAP_OPT_REFERRALS, 0);
$bind = @ldap_bind($connection, $username.$domain, $password);
if (!$bind) {
exit('Binding failed');
}
// This is where you can do your work
echo 'Hello from LDAP';
ldap_close($ldap_connection);
?>
As always, any help is much appreciated! `

So are you using AD or LDAP backend for your credential provider?

I’m using AD as my credential provider.
From: Tadas Ustinavičius<EMAIL_ADDRESS>Sent: Tuesday, November 22, 2016 4:32 PM
To: Seitanas/kvm-vdi
Cc: norwalk350; Author
Subject: Re: [Seitanas/kvm-vdi] LDAP Integration Issues (#72)
So are you using AD or LDAP backend for your credential provider?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Seitanas/kvm-vdi/issues/72#issuecomment-262372013, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVkoqgkWmstnqcAqd8OEN8rf_NTqQoPNks5rA19pgaJpZM4K55of
.

This sounds, that your $base_dn  is perhaps misconfigured.
You need to set proper base_dn for your AD connection.
Something like:
$base_dn = 'OU=People,DC=adserver,DC=domain,DC=lcom;

LDAP seems to be working now. My $base_dn was correct. I verified it with another web application I use. I did some research online. I think adding this line to the functions.php helped:

Now, I'm having this issue:

When I login as a LDAP user, it creates the account in the mySQL backend, which is good. However, I keep getting the "valuechar" error when I login. I'm also not seeing the clients in the dashboard either.

You should get new git pull and update KVM-VDI web part. Login to dashboard afterwards for it to update database.

I went into the database and fixed the structure. Thanks Seitanas!


fix: initialize editor features after participants have been run

Fixes https://github.com/CodinGame/monaco-vscode-api/issues/231
With this change, we ensure that editor features are only initialized after we've run our init participants. This ensures that the WorkbenchThemeService is not initialized before the StorageService is initialized, because WorkbenchThemeService already calls to the StorageService in its constructor.
The risky thing here is that we're changing how StandaloneServices works. This is one approach, the other approach that we can take is initialization of some services manually, and then register those as part of the service collection initialization.

Good job!
As an alternative, to be even more close to vscode, you can even remove the editor feature instantiations from the service initialization, and import vs/workbench/contrib/codeEditor/browser/editorFeatures.ts from monaco.ts

Good one! Updated the PR.


Implement header in Sphinx

As discussed in #51, we need a separate PR to implement header. I think we probably need to determine what the value should be, though, whether we should stick to panda's implementation or not (& if not what the value of header should be).

For a bit of extra information...
In pandas the standard is to assume in all docs that pandas and numpy are already imported (as pd and np). I really hate the practices (both importing implicitly and using aliases), but that has been like this for years, and the rest of the maintainers prefer not to change it.
Since every file in the docs had those imports, and few things more, we ended up standardizing it in a variable, so when something changes, it changes everywhere.

@galuhsahid can you provide some more details about this issue and may be an entry point to tackle this?

@Aya-S Sure! When I tried to build the docs I saw these undefined {{ header }} variables in all of the pages, which happens because we haven't yet initialized the header variable in our current setup of the docs.
I think a good entry point would be to replicate what pandas is doing and see if it works, then if it does maybe we can iterate from there should we want to change something. The content of the header variable in pandas can be found here--it's a bunch of import statements and the reason why they're there, I'm guessing, is what @datapythonista said.
Seems like we also need to set these up too:
https://github.com/pandas-dev/pandas/blob/master/doc/source/conf.py#L330
https://github.com/pandas-dev/pandas/blob/master/doc/source/conf.py#L695

Is anyone working on this? If not, I can give it a go.

I guess no one is, I'll take it then.

@MKhalusova I was planning to work on it but fell ill and am still recovering. you can go ahead and attempt this.

For a bit of extra information...
In pandas the standard is to assume in all docs that pandas and numpy are already imported (as pd and np). I really hate the practices (both importing implicitly and using aliases), but that has been like this for years, and the rest of the maintainers prefer not to change it.
Since every file in the docs had those imports, and few things more, we ended up standardizing it in a variable, so when something changes, it changes everywhere.

Why do docs need to import pandas and numpy?

Not the right person to answer that, since I think it's a very bad idea, and I'm strongly against doing that. But some people in the core dev team want to avoid having an import pandas at the beginning of examples, since it's supposed to be obvious by readers.

@datapythonista Sorry, that's not what I meant. Let me rephrase. Generated documentation is in HTML, so what purpose does an added import serve in an html file?
So here for instance https://pandas.pydata.org/pandas-docs/stable/development/contributing.html
I don't see it in the resulting html.
Having import would make sense if the resulting "thing" was executable, that's the source of my confusion

Ah, I understand now, good point.
I don't think in the contributing documentation there is much code, but in the user guide for example there are lots of ipython block codes that sphinx runs to show the output in the html pages.

I've had some circumstances that prevent me from completing this. Someone else can take over.

I could give it a try if this is still relevant.

I proposed yesterday to remove it from pandas (https://github.com/pandas-dev/pandas/issues/28038), but I'd say it's a good learning exercise, and relevant in the short term.


Template reference variable not recognized when *ngIf is on the tag as well

In the following example the drawer variable is not recognized when I have the *ngIf directive on the material-drawer tag. When I click on the icon I can see a NoSuchMethodError. Without the *ngIf directive this is working.
<material-drawer persistent #drawer="drawer" *ngIf="userService.isLoggedIn()" >
    <material-list>
    </material-list>
</material-drawer>
<material-content>

            <material-button icon
                             class="material-drawer-button" (trigger)="drawer.toggle()">
                <material-icon icon="menu"></material-icon>
            </material-button>

</material-content>

[Dart VM version: 2.0.0-dev.53.0 (Thu May 3 12:35:47 2018 +0200) on "macos_x64"
] Dart SDK Version (dart --version)
[5.0.0.alpha+11] AngularDart Version (i.e. 4.0.0, 5.0.0-alpha+5, MASTER)
[chrome ] Whether you are using Chrome, Safari, Firefox, Edge (if appplicable)

So, this is WAI, but I'll explain. *ngIf is a form of sugar of typing the following:
<template [ngIf]="userService.isLoggedIn()">
  <material-drawer #drawer>...</material-drawer>
</template>
<material-content>...</material-content>

As you can see from the (partially) de-sugared form, the #drawer reference is out of scope in the <material-content> section. I'm not sure of the best way to use this pattern though.
/cc @nshahan @TedSander any ideas?

I haven't tested this, but I would maybe suggest using @ViewChild:
class MyComponent {
  @ViewChild(MaterialDrawerComponent)
  MaterialDrawerComponent drawer;
}

<material-drawer *ngIf="userService.isLoggedIn()"></material-drawer>
...
            <material-button icon
                             class="material-drawer-button" (trigger)="drawer?.toggle()">
...
</material-content>

Note that I added a ?.toggle() to handle the case where the drawer isn't shown.
You can also do:
@ViewChild('foo')
MaterialDrawerComponent bar;

<material-drawer *ngIf="..." #foo="drawer"></material-drawer>
...
            <material-button icon
                             class="material-drawer-button" (trigger)="bar?.toggle()">
...

I used the extreme names `foo` and `bar` to demonstrate where each variable is used. I'm not sure if they could both be named `drawer`, but that *may* work. Or you may want to think of clever names to make it clear....so most likely, better to use the former approach than the latter.


Sub into a vector variable

I keep running into places where I want to do this
x = VectorVariable(1, 'x')
subs = {'x': 1}
m = Model(x, [x >= .5], subs)

is there a reason we don't allow it? I've also wanted to do this for vector variables of length > 1 (expecting the entire vector variable to assume the substituted value).

{'x': [1]} should work, right?

don't thinks so...just ran this and got the following error
x = VectorVariable(1, 'x')

subs = {'x': [1]}

m = Model(x, [x >= .5], subs)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-9-bd19a0f8ce23> in <module>()
----> 1 m = Model(x, [x >= .5], subs)

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gpkit/constraints/model.pyc in __init__(self, cost, constraints, substitutions, name)
     49         cost = cost if cost else Monomial(1)
     50         constraints = constraints if constraints else []
---> 51         CostedConstraintSet.__init__(self, cost, constraints, substitutions)
     52         if self.__class__.__name__ != "Model" and not name:
     53             name = self.__class__.__name__

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gpkit/constraints/costed.pyc in __init__(self, cost, constraints, substitutions)
     15     def __init__(self, cost, constraints, substitutions=None):
     16         self.cost = cost
---> 17         subs = dict(self.cost.values)
     18         if substitutions:
     19             subs.update(substitutions)

AttributeError: 'NomialArray' object has no attribute 'values'

As the error says, your cost is a vector. (admittedly a vector of length 1,
but we don't check for that).

shoot didn't even read the error, just assumed it was the sub. That's my bad. The vector of length 1 seems like something potentially worth checking though?

Too special-case for my taste...we could potentially make it a
zero-dimensional array.

fair enough, in real models its likely not a real use case

Decided in #930 not to allow scalar substitution for a vector, but open to reconsideration on that issue.

but just want to confirm, we do support subbing a vector for a vector? and is that unit tested?

agree with do special-casing the 1-element cost -- users should make c.sum() their cost if c is a 1-element vector.

We've supported vector/vector for years! It's tested. :)


Test a URL with an HTTP port number

It seems that file_object_path_split is splitting on the colon between the server name and the file path.

Actually, there were two issues: the file_path, object_path was overzealous, interpreting port numbers as the start of the object_path because it's the rightmost colon (wouldn't happen if an actual object_path had been provided) and I was using urlparse wrong: I wanted the hostname, not netloc (see pymotw).


iOS safari cannot window.open from touchstart event

Tested on both iPhone and iPad, the event function is triggered, however window.open or similar is completely ignored.  On non-iOS devices, the new window opens as expected.
http://codepen.io/staff0rd/pen/PzvvNg?editors=0010#0

Out of curiosity, does regular  links work? (I have an issue with my project, where regular links stopped working after one point, just thought 2 issues might be related, or mine might be originating from something else)

Yeah it does - I just updated the pen to include an <a> tag with the same detail, window opens using the link directly.

As reference (and hopefully to help solving this), here's a phaser example that works properly in iOS Safari.
That it doesn't work in pixi has me thinking it's something to do with iOS Safari blocking window.open from sources that it doesn't think was an actual button press.  There's obviously some way around this though considering the phaser example works.

I just debugged my issue, it was unrelated to this by the way, turns out, events propagate from links, and if you call event.preventDefault in a lower level, it prevents opening a new window
Hope you solve your issue, assuming it's solveable, event issues are always demotivating

Investigating the phaser example I saw that the event was touchend rather than touchstart.  Changing my example to use touchend or tap causes the window to open as expected.
Updated pen

Funnily, both out window.open's were probably prevented by the .preventDefault's - I just inspected the pixi source, if you don't disable it, the touchend is preventedDefault'ed by default

In iOS it wont work in most cases, due to strict policy on popups. Please use accessability so user touches actual html  tag with target=blank.


uv add "uwsgi; platform_system == 'Linux'"  fails when on Windows machine

I'm very new with this package manager and I am trying to learn how to properly use it by trying to convert old projects to use uv.
I do most of my development work on Windows but deploy on Linux. Most of my projects use the uwsgi package but I do not want it to install on Windows.
uv add "uwsgi; platform_system == 'Linux'"
warning: No `requires-python` value found in the workspace. Defaulting to `>=3.12`.
  x Failed to build `uwsgi==2.0.28`
  |-> The build backend returned an error
  `-> Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit code: 1)

      [stderr]
      Traceback (most recent call last):
        File "<string>", line 14, in <module>
        File "C:\Users\jacobthetechy\AppData\Local\uv\cache\builds-v0\.tmpUMmIEX\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\jacobthetechy\AppData\Local\uv\cache\builds-v0\.tmpUMmIEX\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
          self.run_setup()
        File "C:\Users\jacobthetechy\AppData\Local\uv\cache\builds-v0\.tmpUMmIEX\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\jacobthetechy\AppData\Local\uv\cache\builds-v0\.tmpUMmIEX\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
          exec(code, locals())
        File "<string>", line 3, in <module>
        File "C:\Users\jacobthetechy\AppData\Local\uv\cache\sdists-v6\pypi\uwsgi\2.0.28\IcmJI-FyWg16K1hit9AeZ\src\uwsgiconfig.py", line 8, in <module>
          uwsgi_os = os.uname()[0]
                     ^^^^^^^^
      AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'?

      hint: This usually indicates a problem with the package or the build environment.
  help: `uwsgi` (v2.0.28) was included because `new_project` (v0.1.0) depends on `uwsgi`

From this issue comment I followed the build failure guided a little checked how pip would attempt to install.
pip install --use-pep517 "uwsgi; platform_system == 'Linux'"
Ignoring uwsgi: markers 'platform_system == "Linux"' don't match your environment

I expected uv to follow this behavior, but if there is a proper way to add uwsgi as a dependency without it failing on Windows I am open to learn.

If you use uv add, we need to resolve your dependencies for all possible environments. So we still need to resolve it, even if it's not going to be installed on the current platform. And in this case, that appears to mean that we have to build it.
You can add this to your pyproject.toml to skip the build and instead pre-define the metadata:
[[tool.uv.dependency-metadata]]
name = "uwsgi"
version = "2.0.28"
requires-dist = []

See: https://docs.astral.sh/uv/concepts/resolution/#dependency-metadata

Okay, that makes sense. Thanks for help!
Is there a better/preferred method then manually adding the metadata?

The best would be if the package was updated to report static metadata via a pyproject.toml file, but in the absence of that, there aren't great options unfortunately!


az provider registry help message is not working

If you run the help message command you get an error

Did you mean az provider show?

@johanste : I believe the issue is that the help or the previous command az provider register says  "az resource provider show" which is misleading. @lolodi let us know if that's right?
Adding existing issue on this.

Ah, missed that little nugget 😃.

@mayurid Correct!

This has been fixed #1176


Unable to find v1 tag error in Github Actions

If you try using this action on Github Actions, you're met with the following:
Error: Unable to resolve action `thebritican/fetch-latest-release@v1`, unable to find version `v1`

We should update the tags to point to v2 as it's the most recent one and update the documentation to reflect that as well.

v2.0.0 actually

Clearly not a priority. Closing.


Inconsistent behaviour in multiple select

Problem
For some reasons,  if the value of multiple is a boolean, then the behaviour is wrong, default selection should not happen.
Steps To Reproduce
fn app() -> Element {
    rsx! {
        select {
            multiple: "true",
            option { label: "Brand", value: "2" }
        }

        select {
            multiple: true,
            option { label: "Brand", value: "2" }
        }
    }

Screenshots

Environment:

Dioxus version:  master

Just to add more context to the issue.
The followings behave the same. so the issue is something different.
select {
    multiple: true.to_string(),
}
select {
    multiple: if true { "true" } else { "false" },
}
select {
    multiple: true,
}

Hmm strange “true” is treated differently than ”true.to_string() (or the other examples you gave) 🤔
That makes me think this is an issue for dynamic attributes in RSX, since string literals are handled differently as static attributes.


Support 'output'-field

The output field can be used to manipulate or override the output of a task. This would prevent the need of an additional transformation task or tasks having to manipulate it in their inputs.
The actual output of a task is calculated by taking the actual function output and applying the output on to it.

Fixed in #194


MAT model not converting to CanonicalModel

Next issue... the yeast-GEM downloaded from here errors when converted to a CanonicalModel
using MATFBCModels, COBREXA
import AbstractFBCModels.CanonicalModel as CM
model = convert(CM.Model,load_model("yeast-GEM.mat"))

Think it was initially a problem in v1 as well but can't remember what the problem actually was!

@HettieC should be fixed by #9 , I'll try to release that ASAP.


click-outside directive on iOS only working if clicking on inputs

When you try the demo on an iOS device, it is only working if you click on an input field.
I guess it is related to what is explained here: http://www.shdon.com/blog/2013/06/07/why-your-click-events-don-t-work-on-mobile-safari.

Hi @gwildu, thank you for giving me an issue. But I'm sorry can't help you. Because I have no IOS device to work on right now. :confused:
Your contribution will be very helpful~

Currently I don't have time to work on that, maybe in some week it looks different...

@gwildu This is not the package available as vue-click-outside on npmjs.com!

@mediafreakch Yeah, I've also noticed that and I'd like to use that package and receive updates to it!
@BosNaufal Would you mind taking some time to publish it to npmjs.com? I'm able to give you a hand of help, if you need any, just ping me!

Actually, I discovered that vue-click-outside is not compatible with Vue 2.0. You'll be better off using vue-clickaway.


"All of DSpace" browse menu has odd behavior for Community/Collection Admins

Describe the bug
Initially reported via mailing list: https://groups.google.com/g/dspace-community/c/X3bpHumqsdI/m/rT26okUkCAAJ
When you login as a Community/Collection Admin and select one of the "All of DSpace" browse options, you only see partial results.  This is reproducible on the demo site (https://demo7.dspace.org)
To Reproduce
Steps to reproduce the behavior:

First, while unauthenticated, select one of the browse-by options in "All of DSpace" menu.  Note down how many results you see (e.g. on demo site, Browse by Issue Date returns over 10,000 results.)
Then, log as a Community or Collection Admin.  Go to that same browse-by option.  You will see a much smaller set of results.  (e.g. on demo site, Browse by Issue Date returns only 13 results when authenticated as a Community/Collection Admin)

Expected behavior
Obviously, Community/Collection admins should see as many (or more) browse-by results as an anonymous user.
This issue appears to be specific to "All of DSpace" menu.  Searching and browse by Community/Collection seem to work fine.

Further testing done today.  This still exists on main as of today.
After further testing, I've narrowed down the issue.  It appears that, as soon as you authenticate as a Community/Collection Admin, your global browse results become specific to the Communities/Collections you Administer.
So, for example:

Setup a user who administers a single Community.  Make sure another Community exists which has at least a few Items under it.
Login as that user.
Verify that the global "Browse by Title" (/browse/title) is identical to the "Browse by Title" for the Community you administer (/browse/title?scope=[community-uuid]).  In other words, you will never see any Items from other Communities in the global browse.
Now logout so you are anonymous.  Verify that global "Browse by Title" (/browse/title) now includes items from all Communities.

Not sure where/how this occurs, but there's definitely some improper filtering of results here

@tdonohue I think this problem is caused by adding this filter to the solr query:
https://github.com/DSpace/DSpace/blob/8b739d4b30b78891d43e15aa8cb1b587d0360c36/dspace-api/src/main/java/org/dspace/browse/SolrBrowseDAO.java#L233-L243
In previous versions, this filter was added to allow local administrators access to non-discoverable items, and has more clauses. See:
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/browse/SolrBrowseDAO.java#L212-L237
I think we can remove this filter because it doesn't work and undiscoverable items have already been removed from browse indexes in #8642
I will submit a PR.


Useless assignment when using kilt templates

For example, this in a crystal file
data = "for template"
Kilt.render(template_path.ecr)

and a template that looks like this:

some data <%= data %>

results in UselessAssign: Useless assignment to variable 'data'

This is expected and there is no way to handle this situation.
You can disable UselessAssign rule for this file.

Thanks! Worked a charm

@veelenga I'm assuming there is also no fix for ECR rendered templates?

@Blacksmoke16 unfortunately, there is no robust solution that could work in all situation.


can you please update kleeja script

can you please
-update kleeja to support latest php 8.1.4
-use the new framework latest bootstrap 5.1.3
-update plugins
-update theme
-use a more advanced UI
-can you add features as much as you can
-you can see this a file hosting script "https://yetishare.com"
-bro I want to contribute to this script but I am still junior at programming

@Mustafa6699
KLEEJA is free software, and it need someone to give it all his time to make it as you thinking about.
i am enjoying so much when developing kleeja, and it's a lot of fun. BUT i can not give it all my time, because there is noting that we got from developing kleeja. that's why i am only adding new features, and fixing the bugs on my free time.


Makefile wildcard expansion sorting mismatch linux/mac on protoc

It seems that $(wildcard hapi/chart/*.proto) in Ubuntu linux expands into different file orders than Mac OS. Adding some differences in the generated files.

Fixes #844

I believe this was closed by #844


chore: bump to rc6

Overview
WIP, as I'm still debugging why https://github.com/celestiaorg/celestia-app/pull/1991 broke the blob module test. When testing using a local branch that doesn't have that change, the test works.
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Do we want to include here the rc7?

We can close this since we've merged rc9


add http user-agent cloudbase-init

cloudbase-init does not set http user-agent.By default, it is "python-requests" for now.
As for canonical's cloud-init, metadata server can use http user agent to adapt its response when necessary. Please consider to make cloudbase-init work more like cloud-init.
Thanks

Hello,
I saw that the implementation in cloud-init https://github.com/canonical/cloud-init/blob/9bcb3dce9d7abfbb7273e313d5056eda0424108f/cloudinit/url_helper.py#L427 has this format:
 "User-Agent": "Cloud-Init/%s" % Cloud-Init-Version

Can you please give more information on your scenario and how the data should look like in the case of Cloudbase-Init?
Thanks.


How to use with PHP?

I'm trying to use Lumx in a WordPress project I've included all the dependencies and I've confirmed Angular is working by trying this simple Angular code:  <input type="text" ng-model="yourName" placeholder="Enter a name here">
Hello, {{ yourName }}!
 and that works. However, when I try and use the lumx dropdown for example `

Dropdown toggle

<lx-dropdown-menu>

Notification

Another action

Something else here

Header

Separated link

</lx-dropdown-menu>

` It 1. doesnt do whats expected and 2. it actually displays that ul element as if angular isnt picking up on the lx-dropdown tag?
Can anyone help me?

Is that your entire code for the dropdown ? Or did you correctly include the code you posted in a  (with a button like in this example http://ui.lumapps.com/directives/dropdowns )
Have you included lumx as a module dependancy in your Angular app ?


Uploaded .h5 model

The file contains the neural network model for the digit recognition of handwritten images.

Changes Accepted


Issue restarting when running into wall

When running into a wall, the loss screen appears but when you click ok the snake collapses by 1 block then prompts the loss screen again. The game never resets.

fixed

fixed


Add remote support to Yggdrasil

This allows derivatives of the RDir and RFile classes, and the new RFileInfo class, to be used for accessing files remotely using RADRunner as a server.

Name of branch conflicts with Yggdrasil directory, so closing this PR.


fix: Use saveAlertDialog when back home button in action bar

Details:
I don't know why when I try using Action Bar, setDisplayShowHomeEnabled(true), setHomeButtonEnabled(true), setDisplayHomeAsUpEnabled(true),... all of that but when onItemOptionMenuClicked, I called android.R.id.home on R.id.home, the back home button is not triggered.
So that's why I use toolbar and set a navigation icon for it. I also add saveAlertDialog for it so that the saveAlertDialog is not only used when backPressed() but also when clicking on up home button
This resolves issue 1519
Fixes #1519
Screenshots for the change:

This is a workaround, not a fix.


Order of columns in selection is ignored RTS-750

Previous to this change the order of the columns in the selection were ignored and returned in the order defined in the table definition.
12> riakc_ts:query(Pid, "select weather, temperature from GeoCheckin10 where time > 1234560 and time < 1234569 and myfamily = 'family1' and myseries = 'series1'").
{[<<"weather">>,<<"temperature">>],
 [{<<"hot">>,23.5},{<<"windy">>,19.8}]}
13> riakc_ts:query(Pid, "select temperature, weather from GeoCheckin10 where time > 1234560 and time < 1234569 and myfamily = 'family1' and myseries = 'series1'").
{[<<"weather">>,<<"temperature">>],
 [{<<"hot">>,23.5},{<<"windy">>,19.8}]}

This change converts the selection spec from a list of column names to a list of erlang funs that extract the specified column from the result row.

@borshop merge


Java Method profiling returns different stack traces other than traced one

Hi Team,
We are trying to trace all the invocations of an exception using event type -e ClassName.methodName. But the collapsed output doesn't have any traces related to our method.
Exception thrown: java.util.concurrent.TimeoutException
We are trying to trace rx.internal.operators.OperatorTimeoutBase$TimeoutSubscriber.onTimeout
command used : sudo -u user1 ./profiler.sh -e rx.internal.operators.OperatorTimeoutBase$TimeoutSubscriber.onTimeout -d 160s -o collapsed -f /tmp/collapsed.txt
We checked the logs to make sure the exception was thrown in the logs but not seen on collapsed output. Are we missing any parameters or is the approach we tried is the correct one. Please suggest
Stack Trace snippet:
java.util.concurrent.TimeoutException
at rx.internal.operators.OperatorTimeoutBase$TimeoutSubscriber.onTimeout(OperatorTimeoutBase.java:177)
at rx.internal.operators.OperatorTimeout$1$1.call(OperatorTimeout.java:41)
at rx.internal.schedulers.EventLoopsScheduler$EventLoopWorker$2.call(EventLoopsScheduler.java:189)

Do you escape $ in the command line? Otherwise, $TimeoutSubscriber is interpreted as an environment variable and substituted with an empty string.

Hi Andrei,
Even without escape we couldn't the relevant traces. But by specifying the correct name we were able to generate the traces confined to the method name.  Thanks

Yes Andrei issue resolved


Support "phantom" MAST call targets

We should modify the assembler to allow call targets for which we do not have the associated CodeBlock.  We should remove the constraint in the code below.  We should add an argument that allows the user to toggle whether phantom calls should be allowed or not.
https://github.com/0xPolygonMiden/miden-vm/blob/0440c081d291542ba843efd65ad0e07e61574944/assembly/src/assembler/instruction/procedures.rs#L71-L76
see https://github.com/0xPolygonMiden/miden-vm/pull/911/files#r1202962206 for more context.

Closed by #1019


MAINT: fixes python 3.9.0 build for 1.5.x maint branch

Reference issue
closes github issue 12935
What does this implement/fix?
Fixes compiler/build issue with python 3.9.0
Additional information
see #12935
This is a bit late for the 1.5.3 release but if we decide to do a 1.5.4 release this PR will fix the issue noted in associated github issue.
Note: The issue mentioned in #12935 is fixed on master branch for 1.6.0 release, this PR does not need to be included in a 1.6.0 release.

Thanks, let's hold off on merging until I'm ready because we would want to bump the version on the maintenance branch first and I'm still doing release work there.

Yes, agreed 100%. Let me know if I can help, when we get there or in the interim.
Sincerely,
-Lucas Roberts

On Oct 16, 2020, at 11:51 PM, Tyler Reddy<EMAIL_ADDRESS>wrote:

Thanks, let's hold off on merging until I'm ready because we would want to bump the version on the maintenance branch first and I'm still doing release work there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Just a note for us to remember the situation--we may need to adopt a patch similar to this one to fix the XCode 12 + SciPy build issue: https://github.com/scipy/scipy/issues/12860#issuecomment-711096661
Probably one of us should check before/after using patch on MacOS / XCode 12 locally.

@andyfaff I've tried pulling in your CI changes to add Python 3.9 + XCode 12 MacOS here to see if this branch can pass; we are more confident in the patch for the 1.5.x maintenance branch so fingers crossed on this one.
If this does work/pass the CI we can revisit master a little later so that I can focus on the release first.
I removed the qhull shims from the sage patch as well--that worked locally to transition from fail/succeed on XCode 12 build.

No wonder there's a problem I can't reproduce locally with this new CI--@andyfaff--I'm seeing it trying to build its own version of SciPy separate from the one under test:
Collecting scipy>=1.0.0rc1
  Downloading scipy-1.5.3.tar.gz (25.2 MB)
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'

Looks like we've figured out the CI issue in gh-12937; once that is cleaned up and merged in I'll backport the CI change to 1.5.x maintenance branch and we'll hopefully see the CI failure there & then confirm fix from a patch applied here after rebasing (already confirmed locally in any case, but good to see in CI as well).

The XCode 12 build bug is clearly fixed by this PR as shown by the CI now (vs. the maintenance branch CI) & concurs with local testing on XCode 12.1.
Most of the CI failures have fixes waiting/labelled for backporting.
Some of the Travis CI fails are a bit strange though, and I believe @andyfaff and I saw (some of) those in gh-12937, at least for the pre-release NumPy wheels entries.

Ok, all CI failures are "ok" here because there are backports targeted for them in 1.5.4.  The one exception is a sporadic precision issue that has already been discussed with Ralf as something we can ignore here: https://github.com/scipy/scipy/pull/12906#issuecomment-706767409


Qualification tool: Add more information for unsupported operators

This PR fixes #626 and fixes #656
In 626 - Output file had duplicate values once for Exec and another for Expressions.
Exec" "Filter" ""
"Exec" "Filter" "Filter Exec is not supported as expressions are not supported -  `AtLeastNNulls`"

This PR deduplicates the Exec in output files. i.e if an Exec is not supported due to unsupported expressions, then output will contain Exec name along with unsupported expressions. This PR also identifies UDF and dataset operations and includes that as the reason for the unsupported Exec. Also adds a new column "Ignore Operator" which indicates whether the operator is something like a DDL, Table operation which can be ignored. This helps to make sure we document all the unsupported operators in the output file but we can filter the operators to be prioritized based on "Ignore Operator" column.
Sample Output:
App ID,Unsupported Type,Details,Notes,Ignore Operator
"application_1700986078276_0001","Exec","LocalTableScan","","true"
"application_1700986078276_0001","Exec","AdaptiveSparkPlan","","true"
"application_1700986078276_0001","Exec","Scan hive cust2cc_v1.stats","","false"
"application_1700986078276_0001","Exec","SetCatalogAndNamespace","","true"
"application_1700986078276_0001","Exec","Execute CreateDataSourceTableAsSelectCommand","","true"
"application_1700986078276_0001","Exec","Filter","Filter Exec is not supported as this operation is from dataset which is not supported","false"
"application_1700992056158_0001","Exec","BatchEvalPython","BatchEvalPython Exec is not supported as it contains UDF which is not supported","false"
"application_1700992056158_0001","Exec","Filter","Filter Exec is not supported as it contains UDF which is not supported","false"
"application_1700992056158_0001","Exec","Project","Project Exec is not supported as expressions are not supported -  `normalizeIp`","false"
"application_1700992056158_0001","Exec","Filter","Filter Exec is not supported as expressions are not supported -  `validateIP;normalizeIp`","false"
"application_1700992056158_0001","Exec","SortMergeJoin","SortMergeJoin Exec is not supported as expressions are not supported -  `normalizeEmail`","false"
"application_1700992056158_0001","Exec","Sort","Sort Exec is not supported as expressions are not supported -  `normalizeEmail`","false"
"application_1700992056158_0001","Expression","normalizeName","","false"
"application_1700992056158_0001","Expression","normalizeEmail","","false"

For 656 - Generates new output file (rapids_4_spark_qualification_output_unsupportedOperatorsStageDuration.csv)  based on comment - https://github.com/NVIDIA/spark-rapids-tools/issues/656#issuecomment-1810339041 .  This file helps to determine wallclockStageDuration to appDuration ratio and corresponding unsupported operators in that stage. This helps in prioritizing the unsupported opeators.
Sample output:
App ID,Unsupported Type,Stage ID,Stage Duration,App Duration,Recommendation,Ignore Operator
"application_1700992056158_0001","LocalTableScan",65,4323,1691909,Recommended,true
"application_1700992056158_0001","Execute InsertIntoHiveTable",107,3940,1691909,Recommended,false
"application_1700992056158_0001","BatchEvalPython",81,141962,1691909,Recommended,false
"application_1700992056158_0001","Filter",81,141962,1691909,Recommended,false
"application_1700992056158_0001","BatchEvalPython",81,141962,1691909,Recommended,false
"application_1700992056158_0001","Project",81,141962,1691909,Recommended,false
"application_1700992056158_0001","Filter",7,77,1691909,Recommended,false
"application_1700992056158_0001","LocalTableScan",7,77,1691909,Recommended,true

Thanks @parthosa for the review. I updated the PR based on @viadea 's offline feedback. I have updated the description. PTAL.
@viadea - Would be good to get your feedback.


Feature/karseng feat accept float64

Hello,
May I ask why it was closed?
Also, please note that I did try using float64 and it didn't work as expected in my case. However, if you've been able to make it work, I don't mind the change.

Hello,
I accidentally created a PR while trying out using float64 on my side, sorry for the inconvenience.
On 16 Oct 2023 at 4:18 PM +0800, Abdelaziz Mahdy @.***>, wrote:

Hello,
May I ask why it was closed?
Also, please note that I did try using float64 and it didn't work as expected in my case. However, if you've been able to make it work, I don't mind the change.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

will see the output of the integration tests, i think its not working correctly on ios btw, (i mean the changing type use Float64 as input instead of uint8list)

and the classification doesnt even run on android :_(


simple code for String isBlank

Codecov Report

Merging #751 into master will increase coverage by 0.03%.
The diff coverage is 75%.

@@             Coverage Diff              @@
##             master     #751      +/-   ##
============================================
+ Coverage     47.02%   47.05%   +0.03%
  Complexity     1543     1543
============================================
  Files           352      352
  Lines          9683     9675       -8
  Branches        959      957       -2
============================================
  Hits           4553     4553
+ Misses         4790     4784       -6
+ Partials        340      338       -2

Impacted Files
Coverage Δ
Complexity Δ

...java/com/ctrip/framework/apollo/ConfigService.java
87.5% <ø> (ø)
13 <0> (ø)
:arrow_down:

...internals/provider/DefaultApplicationProvider.java
68.18% <100%> (ø)
10 <1> (-1)
:arrow_down:

...om/ctrip/framework/foundation/internals/Utils.java
60% <66.66%> (+13.84%)
4 <3> (+1)
:arrow_up:

...tion/internals/provider/DefaultServerProvider.java
63.15% <66.66%> (ø)
16 <0> (ø)
:arrow_down:

...ervice/service/ReleaseMessageServiceWithCache.java
84.52% <0%> (-1.2%)
23% <0%> (-1%)

.../apollo/internals/RemoteConfigLongPollService.java
77.91% <0%> (+0.61%)
28% <0%> (+1%)
:arrow_up:

...work/apollo/biz/message/DatabaseMessageSender.java
56.25% <0%> (+6.25%)
6% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Changes Unknown when pulling 946898b852b69ab0f739f0eca591305a81016b17 on Acceml:huming into ** on ctripcorp:master**.


Restrict petsc to <= 3.19 for the moment

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


FEATURE - Move motor to dispense candy

Write Arduino code to move the servo motor when the /dispense endpoint is hit.

The first motors that I was using require 5V to operate, but, since I am using an ESP8266 (which has ~5V on it's Vin pin) there was issues with power delivery and every time I would try to move the motor the ESP8266 would turn off.

As a solution to this, I purchased these servo motors  which have an operating voltage of 3-6V. I can use the 3.3V power supply on the ESP8266 to drive this motor without requiring an external power supply.


4:2:2 desyncs at speed 0

Found through a master branch run. See the log.
This run, though incomplete, shows that this was not introduced by #2224.

commit ace686ddb84bf2abb937172093e6ae7b523d593f
./target/release/rav1e ~/sequences/flower_garden_422_ntsc.y4m -o test.ivf -r test_rec.y4m --quantizer 20 --speed=2 --limit=3 --rdo-lookahead-frames=1 --low_latency # mismatch, when sub 8x8 used!

#2083 seems to have caused it.

Some more info:
The other smaller frame size video, https://media.xiph.org/video/derf/y4m/football_422_qcif.y4m, also gives the mismatch.
./target/release/rav1e ~/sequences/football_422_qcif.y4m -o test.ivf -r test_rec.y4m --quantizer 20 --speed=2 --limit=3 --rdo-lookahead-frames=1 --low_latency
And, I have diff image for you, which has mismatch in the 1st frame.

The black grid is 64x64, so there are rowxcol = 3x3 SBs, and the 1st mismatch occur at SB (row, col) = (0,2).
Meanwhile, please note that AOM Analyzer does not decode and display 422 bitstream correctly, adding lots of artifacts, which seems wrong. The aomdec or dav1d decode correctly.

To obtain diff image, I have used https://github.com/IENT/YUView.

I have confirmed that the reproduction in https://github.com/xiph/rav1e/issues/2299#issuecomment-629399836 is resolved by #2313.


Ability to exclude symbols from generated documentation

While a discussion is underway on how to exclude certain methods and properties in #101, this PR adds an argument to the generate command to add the ability to exclude full top level symbols from the generated documentation.
This is done using an external file containing a list of line separated symbol names, like:
MyExcludedClass
MyMockClass

This PR:

Adds an excluded-symbols argument in the generate command options that takes in a path to a file containing a line separated list of symbols to be excluded. Defaults to nil.
Adds a new argument to the Module initialiser, taking in an array of exclusions and filters the symbols by them.
Updates README and action.yml with the new argument.

Thanks for sharing this PR, @biocross. I really appreciate your taking the time to work on this.
I'm glad to see an alternative strategy to controlling the output of symbols in documentation (as opposed to a directive like @hidden or :nodoc:). However, I'm still not entirely sold on the idea in the first place...  I'd be interested to hear examples of when a public API shouldn't be documented.

Hi @mattt!
For my use case, it's mostly been the documented symbols competing with more important information. Since there's no way to currently manually section / order the generated documentation instead of the default sectioning by symbol type (enums / structs / protocol), I decided to have an exclusion list to keep important information at the top..

I appreciate your expanding on that, @biocross. There's a discussion about how section headers / symbol organization should work in #107, and I'd be interested to get your take on that.

An example was to hide some unit testing related mock symbols, which ideally should be documented and included, but were being put at the top of generated documentation.

Curious to know more about this specific case. I wouldn't normally consider test-related symbols to be part of a public API (and therefore be documented) unless testing were the sole purpose of the module. Is there any reason why those mocks couldn't be internal and imported with the @testable attribute?

However, I'm still not entirely sold on the idea in the first place...  I'd be interested to hear examples of when a public API shouldn't be documented.

I was looking for this feature when I came across this. I could describe a couple of use-cases I have, if it helps:

Types exposed via typealiases.
I have a lazy collection type, LazilyPercentEncodedGroups, which does percent-encoding as a 2-dimensional collection - the Element of the collection is itself another collection, consisting of either the 3 bytes of the percent-encoded codepoint, or the original codepoint if it was not encoded. This is a useful type for my internal use, but it's not so useful as a public API. Users should really call .joined() on this to collapse the 2D collection. So, for the public API, I've defined a typealias LazilyPercentEncodedUTF8<Source> = FlattenSequence<LazilyPercentEncodedGroups<Source>>.
LazilyPercentEncodedGroups has to be public because it appears in a public typealias, but it isn't intended to be used directly. The constructor is internal and there is no way AFAIK to dig the underlying instance out from the FlattenSequence, meaning users should never encounter it.

Associated types of protocol conformances for said types.
As mentioned, the Element of LazilyPercentEncodedGroups is a collection called _PercentEncodedByte. As LazilyPercentEncodedGroups is public, the Collection conformance and associated Element type must also be made public.
Similarly, I have a LazilyPercentDecoded type (which is public and intended to be used directly), with a custom, opaque Index. swift-doc lists the Index type separately, which clutters the type list. There isn't really anything anybody can do with the Index - it conforms to Equatable and Comparable as Collection requires, but has no other API.

The same goes for custom Iterator types:

Funky API design!
Swift libraries often have exotic API designs in order to make their usage sites clearer and guide features such as generics and type-inference. I have an example in the same library with a set of types which should preferably be referred-to by KeyPath as a guide for type-inference!


kick from team from chat

cc @malgorithms

How else am I supposed to test it

Talked IRL, it'd be good to hide "Kick user" for people who aren't in the team anymore


macos m1 ubuntu guest "bad access"

Describe the issue
I do not get a hit matching my issue when searching this project for "bad access".  I get intermittent UTM failures running Ubuntu VM guest(s) with UTM on mac mini m1.  The timing is unpredictable.  But it usually happens within a week, sometimes more than one failure in a day.   Happens when running a single guest or multiple guests.  Very rarely happens when actually using the guest, usually just crashes when using other apps.
All Ubuntu guests are os release:
PRETTY_NAME="Ubuntu Jammy Jellyfish (development branch)"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Sorry to bother,
n00mad
Configuration

UTM Version: 3.0.4
OS Version: 12.3.1
Intel or Apple Silicon? M1

Crash log
attached
Debug log
There is substantial private / confidential information involved in the Ubuntu guest VMs.  Sharing the
debug log would seem like a breach of contract or trust.   I do not currently enable the debug log. You can delete my issue if the debug log is required.
config copy.txt
Upload VM
UTM-2022-04-21-154405 copy.ips.txt
attached config.plist.txt

The crash is in SPICE. In the next beta (3.2.x) to be released, SPICE will be updated. Hopefully that fixes the issue.

I just want to ask, where do "images" are installed?
I want to recover ±4GB space after installing Ubuntu.
I use M1 MacBook Air.


Enum values not listed on mapping page

This issue relates to using IPT for publishing Camtrap DP and is not applicable to production IPTs.
The mapping (schemaMapping.do) seems to be aware a term has a controlled vocabulary/enum (e.g. baitUse), but doesn't list controlled values (empty dropdown):

Those values are present in constraints$enum.

Just checked, all dropdowns are populated


Add explainability to the connectivity analysis output

Add as a new command line query , input: src / dst (endpoint/subnet/)  , optionally protocol and port to explore
output: explain which resources (SG/NACL) are relevant for connectivity blocked/allowed , and which rules in the resource.
if blocked: which NACLs is blocking (and if there is deny rule / deny by default) , and which SGs can allow (if exist)
if allowed: which NACLs + SGs allow (and which rules)
phase2: gateways / LBs / PGW (+ ip-address as src/dst )  / TGW

Stage 1:
input:
src (dst) which is a network interface
dst (src) which is an external IP
and assuming a single sg that governs the traffic from the given network interface
produce the following output:

Is the connection enabled or blocked
What are the rules in the sg enabling/blocking the connection or is it just by default with no specific rules addressing this connection

This may be considered as some type of a POC

Few comments about proposed output:

(1) Is the connection enabled or blocked -- if enabled, I think it will also help to add the connection properties.
(2) default setting - how do we know if a SG is the default one or a one that overrides the default SG? in the input config object contains the configured resources without such indication. (there is no situation where the config object has no SG and the analyzer assumes then a "default" resource to use).

https://github.com/np-guard/vpc-network-config-analyzer/issues/42#issuecomment-1853471622
@adisos I assume you refer to the output below.

currently only SG are handles, and connections are only enablers. Makes sense, I'll add it.
Agrees, but trying to have small PRs lets defer it to the next PR. The relevant check that we will need to add here is in a way independent in what we have already done.

There is a connection between vsi2-ky[<IP_ADDRESS>] and vsi3b-ky[<IP_ADDRESS>].
Egress Rules:
~~~~~~~~~~~~~
Security Groups Rules
---------------------
enabling rules from sg2-ky:
        index: 5, direction: outbound, protocol: all, cidr: <IP_ADDRESS>/24
        index: 6, direction: outbound,  conns: protocol: tcp,  dstPorts: 1-65535, cidr: <IP_ADDRESS>/32,<IP_ADDRESS>/32

Ingress Rules:
~~~~~~~~~~~~~~
Security Groups Rules
---------------------
enabling rules from sg2-ky:
        index: 7, direction: inbound,  conns: protocol: tcp,  dstPorts: 1-65535, cidr: <IP_ADDRESS>/32,<IP_ADDRESS>/32

---------------------------------------------------------------------------------------------------------------------
There is a connection between vsi2-ky[<IP_ADDRESS>] and vsi1-ky[<IP_ADDRESS>].

Egress Rules:
~~~~~~~~~~~~~
Security Groups Rules
---------------------
enabling rules from sg2-ky:
        index: 1, direction: outbound, protocol: all, cidr: <IP_ADDRESS>/24

Ingress Rules:
~~~~~~~~~~~~~~
Security Groups Rules
---------------------
enabling rules from sg1-ky:
        index: 3, direction: inbound, protocol: all, cidr: <IP_ADDRESS>/32,<IP_ADDRESS>/32

Use cases for specifying connection details (protocol and port):

"As a security person I would really like to know why TCP 22 is open from my laptop to VSI-5, as this is a security risk for my company. TCP 443 is also open between these two, but I'm totally OK with it, and couldn't care less about the rules involved."
"As a developer I want to understand why VSI-3 fails getting answers for its DNS queries (UDP 53), while connecting to a known IP via TCP 8080 works."

2nd PR includes list of ingress and egress rules relevant to given src to dst in case there is a connection or, in case there is no connection, information regarding the blocking - ingress, egress or both.
Next PR:

Input can be a vsi whether than a network interface in which case all relevant network interfaces will be considered.
Add the existing connection in the output
If a specific enabling rule is the default one, mention it

The last two items are these mentioned by @adisos  https://github.com/np-guard/vpc-network-config-analyzer/issues/42#issuecomment-1853471622

1 is solved by PR #270

Regarding item 2 above:
Currently working on SG in IBM VPC, I got 3 different answers for the question: what are the default SG rules?
In the documentation it says "by default, a security group is set up with rules that deny all inbound traffic and permit all outbound traffic. As new rules are added to a security group, the new rules redefine the scope of permitted inbound or outbound traffic."
In the API spec it says "If unspecified, no rules will be created, resulting in all traffic being denied."
Finally, when actually creating a VPC then the default SG automatically enables all outbound traffic and allows inbound traffic from the same SG.
Am I missing something? Any idea how to resolve this? Who to ask?

2 is solved by #286

This issue seems to be covered by the other explainability issues; specifically #387 and #368 covers V0.4
May I close it? @zivnevo @adisos


Downscaling not exiting as expected

https://gitlab.com/finestructure/swiftpackageindex-builder/-/jobs/707004183

Fixed as part of https://gitlab.com/finestructure/swiftpackageindex-builder/-/merge_requests/32

Deployed


Slow toLocaleString

I realized that localizing decimal toLocaleString consumes around 3-4 ms which is huge performance problem if you need to render 100 elements which lead to 300ms scripting time and can cause rendering glitches.
Is there any workaround. Obviously this function does not feel light at all.
I am using version 2.5.0

There is no toLocaleString here, fella.

here is working example:
https://codepen.io/dcrystalj/pen/eoboBM

var a = new Decimal('123.456778');
var b = (+a).toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 4});
console.log(b);

In your code above, (+a) is equivalent to Number(a.toString()), so you are calling toLocaleString on a JavaScript number, not a Decimal. The performance of toLocaleString is nothing to do with this library.
How about:
var a = new Decimal('123.456778');
console.log(a.toFixed(4));    // '123.4568'

oh... my bad. Not sure why this is slow then if it is native. Looks like I will have to make my own localization.
toFixed looks fine but for specific language only. Will have to check for all other possible formats.
Thank you.


No-op endpoint does not forward query params automatically?

Describe what are you trying to do
Use no-op proxy endpoints.
Your configuration file
{
      "endpoint": "/test/{route}/{params}/{work}/{correctly}",
      "output_encoding": "no-op",
      "backend": [
        {
          "url_pattern": "/test/{route}/{params}/{work}/{correctly}",
          "host": "{{ env "SERVICE_HOST_TEST" }}",
          "encoding": "no-op"
        }
      ]
    },

Commands used
Via the krakend docker image (dev/watcher version):
version: "3"
services:
  service-slice-gateway:
    image: devopsfaith/krakend:config-watcher
    environment:
      # KrakenD vars
      - FC_ENABLE=1
      - FC_SETTINGS=config/settings
      - FC_PARTIALS=config/partials
      - FC_TEMPLATES=config/templates
      - FC_OUT=debug_config.json
      - KRAKEND_CONFIG=config/krakend.json
      - SERVICE_HOST_TEST=${SERVICE_HOST_TEST:-http://example}

    ports:
      - "2000:8080"
    volumes:
      - .:/etc/krakend
    working_dir: /etc/krakend

When running a no-op endpoint, my experience has been that query parameters sent to the endpoint are not automatically passed to the backend. They seem to have to be specified in the querystring_params config.
In the no-op docs it states the following under "Key Concepts":

The KrakenD endpoint works just like a regular proxy

Headers passing to the backend still need to be declared under headers_to_pass, as they hit the router layer first.

With no mention of query params or anything else that might need to be manually specified, I naturally assumed they would be passed to the backend automatically. Is this not intended to be the case? If so, I think this should probably be stated in these docs alongside the point about headers.
Thanks

Hello @EthanML . No parameters are forwarded to the backend by default. It's documented here but we will add it to the section you are referring to.
Thanks


Remove omitempty json field tag from SendableEntry.IncludeAll

The presence of the omitempty tag on this field makes it functionally
impossible to make a sendable entry that does not IncludeAll CaseIDs.
The TestRail Server API defaults this field to true if omitted and
Golang's JSON encoding rules will omit an explicitly declared false
boolean.

I think there is high liklihood that this bug will effect other structs in the API but I haven't yet scoured all of them. I encountered this while leveraging this API for some  automation activities. If I get a response, I will make an effort to work with you to correct all related bugs in the codebase.

Good catch, I missed the "default: true" on the documentation.
Thank you


OlMeasurementHandler: update PROJECTED_LENGTH_GEOMETRY_PROPERTY of old features onChange

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 99.645%

Files with Coverage Reduction
New Missed Lines
%

src/modules/olMap/handler/draw/OlDrawHandler.js
1
98.48%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.01%

Covered Lines:
13534

Relevant Lines:
13537

💛  - Coveralls


⚠ PrivateHD has degraded performance

In 7a639a5, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1659 ms

Resolved: PrivateHD performance has improved in 2c6e3cd.


Allow to assign simple shapes to ponctual

For now we are just enabled to assign a marker. We should be able to draw a simple shape, as a cicrcle, square.

Closed in favor of https://github.com/kalisio/kdk/issues/795


Test case for nested paragraph in list

When doing a nested paragraph in a list element, the first following list item has a nested paragraph, but not the other ones.
I've added a test case to cover the expected output and I'm currently getting the following diff:
-
That item is simple

+

+
That item is simple

+

I noticed this when looking at a recent DRF release note, where the output feels a bit weird.
Not sure yet how to fix it though... I'll keep digging for a bit.

The existing behavior is actually correct. To understand, ignore the multi-paragraph item for now and consider what many refer to as a "loose list". The rules state:

If list items are separated by blank lines, Markdown will wrap the
items in
 tags in the HTML output. For example, this input:
*   Bird
*   Magic

will turn into:

Bird

Magic

But this:
*   Bird

*   Magic

will turn into:

Bird

Magic

Notice that both the list item before and the list item after the blank line are wrapped in
 tags. Obviously, by it's nature, a multi-paragraph list item is also a "loose" list item, therefore the item following it will also be a "loose" list item. This is supported by Babelmark, where Python-Markdown's output matches the reference implementation (markdown.pl).
Of course, as you note, this looks weird in the output. In fact, you may have noticed that Babelmark shows that the Commonmark implementations maintain a consistency. In fact, the Commonmark spec is different than the original Markdown rules in this regard. The spec states:

A list is loose if any of its constituent list items are separated by blank lines, or if any of its constituent list items directly contain two block-level elements with a blank line between them. Otherwise a list is tight. (The difference in HTML output is that paragraphs in a loose list are wrapped in
 tags, while paragraphs in a tight list are not.)

In other words, either the entire list is "loose" or the entire list is "tight". However, Python-Markdown is a Markdown implementation, not a Commonmark implementation. Regardless, the logic in this part of the Commonmark spec makes sense. Of course, we aren't going to change the parser (as we are a Markdown implementation not a Commonmark implementation), but I always encourage document authors to follow that rule in principle. When authoring your Markdown lists, if any item is "loose, then make all items in the list "loose". In others words, add a blank line between each of the simple items to maintain consistency with the more complex items. Therefore, your example list should be formatted like this:
* This is a list

    This is a nested multi-line content

    Another nested paragraph in the same
    list item

    And yet another one

* That item is simple

* So is that one

Note that Babelmark shows a very consistent rendering of that source text. This is the sort of thing that a Markdown linter would have caught (by suggesting that a blank line be added between the last two items). It's one of those things that is not strictly required by the rules, but is a good practice to avoid surprising results.

Waw! Thank you for your thorough answer, after digging a bit I started to expect it, but I don't understand enough of the dark corner of Markdown. I appreciate you taking the time to write this detailed explanation!