guild.create_sticker() raises HTTPException 400 when description is None or ""

Summary
guild.create_sticker() raises HTTPException 400 when description is None or ""
Reproduction Steps

use guild.create_sticker() without specifying the description argument or specify it as None or "".

Minimal Reproducible Code
from nextcord.ext import commands
bot = commands.Bot(command_prefix="!")
@bot.command()
async def add_sticker(ctx):
    attachment = await ctx.message.attachments[0].to_file()
    await ctx.guild.create_sticker(name="sticker", emoji="👍", file=attachment)
bot.run("your_token")

then add the bot to a server with stickers and send the command `!add_sticker` with an attachment

Expected Results
the sticker should successfully add to the guild.
Actual Results
the function raises an HTTPException
Ignoring exception in command add_sticker:
Traceback (most recent call last):
  File "C:\Users\minec\.virtualenvs\nextcord_bug-bk92j3GZ\lib\site-packages\nextcord\ext\commands\core.py", line 168, in wrapped
    ret = await coro(*args, **kwargs)
  File "C:\Users\minec\PycharmProjects\nextcord bug\main.py", line 9, in add_sticker
    await ctx.guild.create_sticker(name="sticker", emoji="👍", file=attachment)
  File "C:\Users\minec\.virtualenvs\nextcord_bug-bk92j3GZ\lib\site-packages\nextcord\guild.py", line 2231, in create_sticker
    data = await self._state.http.create_guild_sticker(self.id, payload, file, reason)
  File "C:\Users\minec\.virtualenvs\nextcord_bug-bk92j3GZ\lib\site-packages\nextcord\http.py", line 336, in request
    raise HTTPException(response, data)
nextcord.errors.HTTPException: 400 Bad Request (error code: 0): The browser (or proxy) sent a request that this server could not understand.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\minec\.virtualenvs\nextcord_bug-bk92j3GZ\lib\site-packages\nextcord\ext\commands\bot.py", line 995, in invoke
    await ctx.command.invoke(ctx)
  File "C:\Users\minec\.virtualenvs\nextcord_bug-bk92j3GZ\lib\site-packages\nextcord\ext\commands\core.py", line 895, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "C:\Users\minec\.virtualenvs\nextcord_bug-bk92j3GZ\lib\site-packages\nextcord\ext\commands\core.py", line 177, in wrapped
    raise CommandInvokeError(exc) from exc
nextcord.ext.commands.errors.CommandInvokeError: Command raised an exception: HTTPException: 400 Bad Request (error code: 0): The browser (or proxy) sent a request that this server could not understand.

Intents
Intents.default (not even using intents kwarg for bot)
System Information

Python v3.8.3-final
nextcord v2.0.0-alpha

nextcord pkg_resources: v2.0.0a2

aiohttp v3.6.3
system info: Windows 10 10.0.22000

note: you might want to change the command to python -m nextcord -v 😜
Checklist

[X] I have searched the open issues for duplicates.
[X] I have shown the entire traceback, if possible.
[X] I have removed my token from display, if visible.

Additional Context
I suspect this issue stems from a misunderstanding of the strange way discord implemented this function.. the description argument is not optional in the API request, but it can be empty. it seems the library does not pass the server the description argument if its None or "". since the argument is (for some reason) required, discord freaks out and throws an error. i'm not familiar with the inner workings of discord.py myself but i suspect that actually passing the description argument with an empty string when the user specifies None or "" would fix this.

I can try taking a stab at this one

Feel free!


Confirm only when sending to mailing list

Resolves #54 using htmx in form submissions.

Thanks! I didn't realize that htmx worked with handlers that return redirects. (maybe it was just hx-boost that has issues with it... or maybe it's been changed since I tried it a while ago)


CONTRIBUTING.adoc incomplete

It seems there's a gap between CONTRIBUTING.adoc and getting mvn test to pass. At a minimum, one also needs to install the Cloud SDK and the cloud datastore emulator. There might well be other setuup steps to perform. We should document these in sufficient detail that a developer can go from git clone to mvn test passing without having to contact the development team.

Ah, yes, we have neglected that document and need to bring it up to date. We should make sure that all emulator tests can be easily disabled so that gcloud would not be required for unit tests.
Thanks for reporting this!


Web Services disabled even though network connection available

FIX: Need to update Aura

Please try out the fix in this release: https://github.com/NickvisionApps/Tagger/releases/tag/2023.8.2-rc1


Add Conditional Type Support for Variadic Read and Write Method

Summary
This pull request introduces a new feature to the binary_stream class, which conditionally checks if types support the required write and read features when using the variadic read and write methods. This enhancement ensures type safety and compatibility without adding complexity to the other read and write overloads.
Changes

Implemented hasSupportedFeature: A struct that conditionally checks if types support the write and read features.
Updated Variadic read and write Methods: Applied the hasSupportedFeature check to enforce type compatibility.
Maintained Simplicity: Ensured that the individual read and write functions remain straightforward and unaffected by the new type checks.

Motivation
The new feature aims to enhance type safety when using the variadic read and write methods, ensuring that only compatible types are processed. By limiting the scope of the hasSupportedFeature check to the variadic method, we avoid unnecessary complexity in the other ``readandwrite` overloads.
Please review the changes and provide feedback. Thank you!

Thank you for the effort you've put into this pull request. I appreciate the effort to improve the library's robustness. Here's some feedback to refine the pull request:
Build Error
The pull request currently does not pass the GitHub Actions checks. Specifically, build fails on the variadic read-write methods. This indicates that the implementation may be incorrect or incompatible with the existing codebase. It's essential to ensure that all tests pass to maintain the stability and reliability of the library.
Redundancy and Existing Concepts
The current implementation uses the NetworkSerializableType concept, covering types like fundamental types, arrays, vectors, and strings. This ensures that the types are compatible with the serialization (write) and deserialization (read) methods. The introduction of your proposed changes might seem redundant, but they do offer some advantages:

Explicit Checking for Method Availability: This enhancement ensures that types are not only serializable but are confirmed to have specific implementations for serialization and deserialization, which is a more explicit approach than the current type checks.
Scalability in Code Maintenance: As the library evolves to handle more complex types, the explicit checks can prevent potential bugs by ensuring each type fully implements necessary methods.
Documentation and Clarity: The new concept can serve as self-documenting code, clearly indicating the requirements for future maintainers and users.

Modern C++20 Practices:
Instead of relying on SFINAE, which can lead to more complex and harder-to-read code, I recommend leveraging C++20 concepts. This will not only simplify the syntax but also improve code readability and maintainability. Also hasSupportedFeature is not sufficiently descriptive or meaningful within the context of the library. Alternative naming suggestions: DirectlySerializable, SerializationDefined or SerializeCheck.
If the new concept adequately replaces the functionalities of NetworkSerializableType, it would be reasonable to remove the NetworkSerializableType concept from the codebase if your testing confirms that the new concept adequately covers all previous use cases. This will help in keeping the codebase clean and focused.
I tried couple of solutions but ended up getting "overlapping concepts" problems since checking if read and write methods exist for a type is too generic. I had to add more concept definitions to distinct concepts, but the solutions I found got more complex then it needs to be.
Code Formatting
It appears that the changes have not adhered to the existing code style guidelines as outlined in CONTRIBUTING.md. Please use the .clang-format file provided in the project to format your code. Most modern IDEs can integrate this file to automatically or manually apply the correct formatting.
Improvement in Pull Request Title
A more descriptive title like "add DirectlySerializable Concept to Enforce Type Safety in Variadic Read and Write Methods" would better reflect the changes made and their impact on the library.
Final Notes
Please address these points, particularly ensuring that the unit tests pass and the code adheres to our formatting standards. Once these adjustments are made, I believe the pull request will be in a strong position for approval.
Thank you for your efforts to improve our serialization library.


beta.11-webpack: No custom server routes possible?

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 7

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.11-webpack (on node v6.3.1)

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
Added server/ folder
Added server/index.ts file

The log given by the failure. Normally this include a stack trace and some
more information.
No failure, but the index.ts didnt get executed.

Mention any other details that might be useful.
With the new build system, how can you install custom server routes?

Thanks! We'll be in touch soon.

I need some more details here. What are you trying to do specifically?

In the older angular-cli versions(1.0.0-beta.9) you could add an server/index.js:
module.exports = function(app) {     app.get('/api', (req, res) => res.send('Welcome to the api'));   }
Running ng serve would then execute this script and pass it its (express?) router object.
Navigating to localhost:4200/api would then give you Welcome to the api.

basically I need a way to integrate my backend server during development :)

@niklas-dahl and others with this problem/question:
We have found the easiest answer is to stop trying to make your front-end-development server (for example "ng serve") proxy to your API-server, and instead proxy the other way. Add a small feature to your API server to make it proxy to your front-end-development server. Depending on your server platform, this can take as little as a few lines of code. (For example, this is true with Node.)

@kylecordes this is actually a great idea, thank you, never thought about this.
Maby a small hint in the README would help a lot of people.
But still a bit strange that this worked in earlier version of the cli..

@kylecordes @niklas-dahl Proxying from the backend is possible if we have control over the backend. But what if the backend is developed by a different team who are slow or negative to such propositions? In such cases we need to be able to proxy from the frontend dev server.

@costis and others - here is a further workaround, for that situation (unfixable backend), or other more complex situations beyond what a future CLI proxy setting will handle:
You have a computer, an infinitely programmable device. You can make your own development proxy, perhaps 15 lines of Node code, and proxy each kind of request however you need:

proxy API requests to your backend
proxy client asset requests to CLI ng serve
handle any other needed endpoints - for example, perhaps you are working on client code which needs a new backend API which does not exist yet; you could serve those with placeholder data

@niklas-dahl you're right that it worked previously, but only because it was a part of the ember-cli functionality. I think it was removed when we moved to webpack because that changed the server.
I don't personally think it makes a whole lot of sense to serve the app and the API from the same server/subdomain, but understand that some setups do that. https://github.com/angular/angular-cli/pull/1487 re-adds the webpack proxy, but doesn't give you the mini-api functionality. You can proxy to a simple API server though.


Shutdown: bin/socket.cc does not check for fatal errors before calling Dart_SetReturnValue

Some code in runtime/bin/socket.cc is passing an UnwindError into Dart_SetReturnValue.  The code should probably be checking for this error and propagating it instead.
Here is the failure from the buildbot.  It is transient.
=== Failure summary:

FAILED: none-vm-checked debug_ia32 standalone/io/socket_many_connections_test
Expected: Pass
Actual: Crash
CommandOutput[vm]:

stdout:
unittest-suite-wait-for-done
unittest-suite-success

stderr:
vm\dart_api_impl.cc:4797: error: Return value check failed: saw 'UnwindError' expected a dart Instance.

Command[vm]: set DART_CONFIGURATION=DebugIA32 & build\DebugIA32\dart.exe --enable_asserts --enable_type_checks --ignore-unrecognized-flags --package-root=build/DebugIA32/packages/ E:\b\build\slave\vm-win32-debug-be\build\sdk\tests\standalone\io\socket_many_connections_test.dart
Took 0:00:01.958000

Short reproduction command (experimental):
    python tools/test.py -aia32 --write-debug-log --write-test-outcome-log --copy-coredumps --exclude-suite pkg --checked -t120 standalone/io/socket_many_connections_test

I've added code to print the current stack trace the next time this problem occurs: 2232a52ff8b93289ec7cc8f4ace2e0ac78a8db55.
If anybody sees this on the buildbot again, ping this bug with the log entry so I can fix up socket.cc.


Allow to get bounds value with eg. get("width") etc.

With tabris 1.2 layout data can be set directly on a widget. That means i can do .set("width", 213) but getting the width does not reflect the dynamic value after the view has been layouted. That is a bit confusing since what you see on screen is not the value you receive from the get("width") call.

Can we close this? While I agree it may be confusing, it's even more confusing to set one width and get another in return. Bounds is what is used for that.


Customize MG Hierarchy - Needs: Author Feedback

Does the module support customizing the management groups hierarchy? I looked in the wiki/documentation and can't find any reference to this.
I don't want to keep the default hierarchy, I want to be able to customize it (grouping the connectivity, management and identity together) and not have a root_id, but instead just have the landing zones right below the root MG.
Is that possible?

Yes it is possible @louien via custom landing zones https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/wiki/[Examples]-Deploy-Custom-Landing-Zone-Archetypes

As @jtracey93 says yes you can, but some of the intelligence in the module disappears if you don't deploy the core landing zones.
You will have to customize more policy parameters as they won't be set by default.

@jtracey93, @matt-FFFFFF - Thanks for sharing that link. I think I came across this but didn't feel like it did what I want to do.
the hierarchy I am trying to go for looks something like this:
Management Root -----------> Shared Services Landing Zone
-----------> ABC Landing Zone|
-----------> XYZ Landing Zone
-----------> Sandbox Landing Zone
I want to use the Shared Services Landing Zone for connectivity, management and identity.
From the looks of it and if I understand correctly, if I create it as a custom landing zone I can't deploy the connectivity resources to it (Hub vnet, subnets etc), and I have to customize the policy parameters as well.
Is my understanding correct? would it be just easier to stick to the default structure?

It is much easier to stick with the default recommended hierarchy

@jtracey93 Thank you for your feedback.


Lumen working example

After a few failures, I make it work. My problem was that in composer I had
    "laravel/lumen-framework": "5.0.*", instead of      "laravel/lumen-framework": "5.0.*@dev"
I am writing this "issue", taking in account it might help people to handle this packager. So, my full "receipe" was:
in .env file:
API_VENDOR=LumenApi
API_VERSION=v1
API_PREFIX=api
API_CONDITIONAL_REQUEST=true
API_STRICT=false
API_DEBUG=true
API_DEFAULT_FORMAT=json

in routes.php
$api->version('v1', ['prefix' => 'api'], function($api) {
    $api->get('users', function() {
        return ['users' => 'all'];
    });
});

In app.php
$app->register('Dingo\Api\Provider\LumenServiceProvider');
$app->register('App\Providers\AppServiceProvider');

// Get an instance of the API router so we can use it in the routes.php file
$api = $app['api.router'];

My working path
domain.com/api/users
My project was created wih
composer create-project laravel/lumen my-project
Question: can't be a constrain for     "dingo/api": "0.9.*@dev" to use '@dev' so that composer would tell you you need @dev for lumen framework?

I did mention in my intial issue posted about Laravel 5 and Lumen support that you'd need to be on the develop branch of Lumen.

Please note that if you're using Lumen you'll need to be using lumen-framework 5.0.*@dev for it to work correctly. These several routing changes that are yet to make it to a stable Lumen release.

@jasonlewis : I know you did, it was my mistake, although I have read that notice a couple of times. I just wanted to emphasize that again. Can't be made that constrain from the composer.json?

Not sure if you can but I don't think it's really worth it as Lumen should be bumping the version sometime soon.


Fix arm64 build when using Clang

The commit b5a8055b5c should target GCC builds only as -flax-vector-conversions has different behaviour in Clang and is currently making the build fail.
This PR addresses #70683.
Production edit: Fixes https://github.com/godotengine/godot/issues/70683

For the record your commit seems to be not linked to your GitHub account. See: Why are my commits linked to the wrong user? for more info.

Thanks! And congrats for your first merged Godot contribution :tada:

Cherry-picked for 3.6.


Support an association with a scope

Great gem :star2:
This misses the scope in has_many on counting, so I fix it.
It works well such as has_many :my_favorites, -> { mine }, class_name: 'Favorite'.

Looks great to me! :cool:
Nice work, thank you. :+1:

Released as v0.5.1 :gem:


Code improvement: fix Python typing issues

Environment

OS / version: any
Processor architecture: any
TPM Manufacturer: any
Keylime version: any

Description
Static code analysis reports several typing issues in most Python files.
Expected behavior vs. actual behavior
There will be no changes in behavior, apart from (hopefully) a reduced rate of failures due to unforeseen subtleties.
Steps to reproduce problem

Run any Python file through a static type analyzer (e.g. pyright)

@mdrocco I think this can be merged into https://github.com/keylime/keylime/issues/929, right?

Thanks for pointing it out, too bad I missed it in the first place, I will merge.


Running nightly tests locally results in endpoints being stuck in 'waiting-for-identity' state

Reproducing steps:

Checkout master (commit cddc01669eee92965f42ab3644a6ca3e7bcb8869 )
Run command to run nightly tests:

K8S_VERSION=1.7 ginkgo --focus="Nightly*" -v -noColor

Endpoints will get stuck in 'waiting-for-identity' state:

ENDPOINT   POLICY (ingress)   POLICY (egress)   IDENTITY        LABELS (source:key[=value])               IPv6                 IPv4          STATUS
           ENFORCEMENT        ENFORCEMENT
173        Disabled           Disabled          <no label id>   no labels                                 f00d::a0a:0:0:ad     <IP_ADDRESS>    waiting-for-identity
4314       Disabled           Disabled          259             k8s:id=app19                              f00d::a0a:0:0:10da   <IP_ADDRESS>    ready
                                                                k8s:io.kubernetes.pod.namespace=default
                                                                k8s:zgroup=testapp
13949      Disabled           Disabled          <no label id>   no labels                                 f00d::a0a:0:0:367d   <IP_ADDRESS>    waiting-for-identity
15124      Disabled           Disabled          <no label id>   no labels                                 f00d::a0a:0:0:3b14   <IP_ADDRESS>    waiting-for-identity
25729      Disabled           Disabled          <no label id>   no labels                                 f00d::a0a:0:0:6481   <IP_ADDRESS>   waiting-for-identity
29381      Disabled           Disabled          <no label id>   no labels                                 f00d::a0a:0:0:72c5   <IP_ADDRESS>    waiting-for-identity
48896      Disabled           Disabled          <no label id>   no labels                                 f00d::a0a:0:0:bf00   <IP_ADDRESS>   waiting-for-identity
60670      Disabled           Disabled          <no label id>   no labels                                 f00d::a0a:0:0:ecfe   <IP_ADDRESS>   waiting-for-identity

Endpoints that are in the "waiting-for-identity" state do not have an identity in the endpoint list output, so the state is correct and the problem is that these endpoints do not have an identity.

Making this high-priority per @jrajahalme's recommendation.

I reverted commit 8d5295d8ff16512aea7b8c4f8cbc59b208e85485 that hid this issue and ran the ginkgo test suite locally as instructed above. I seem to get a successful run:
time="2017-12-04T16:49:49-08:00" level=debug msg="deleting /vagrant/tmp.yaml" testName=NightlyK8sEpsMeasurement

• [SLOW TEST:60.367 seconds]
NightlyK8sEpsMeasurement
/Users/jarno/go/src/github.com/cilium/cilium/test/k8sT/Nightly.go:30
  Should be able to connect from client pods to services while cilium pod is being restarted
  /Users/jarno/go/src/github.com/cilium/cilium/test/k8sT/Nightly.go:110
------------------------------
SSSSSSSSSSSSSSSSSStime="2017-12-04T16:49:57-08:00" level=info msg="build is not running on Jenkins; environment variable \"JENKINS_HOME\" is not set"
time="2017-12-04T16:49:57-08:00" level=info msg="build is not running on Jenkins; environment variable \"NODE_NAME\" is not set"
time="2017-12-04T16:49:57-08:00" level=info msg="AfterSuite: not running on Jenkins; leaving VMs running for debugging"

Ran 2 of 47 Specs in 809.479 seconds
SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 45 Skipped PASS

Ginkgo ran 1 suite in 13m44.898455118s
Test Suite Passed


/ character breaks autocomplete

The / character breaks the autocomplete when selecting data channels. So, it becomes really difficult to filter on channels within a namespace since I must try to autocomplete top level only.
Example
"/foo" would show
"/foo/bar"
"/foo/baz"
but "/foo/"
show nothing and
"/foo/b"
shows nothing

This PR https://github.com/ros-visualization/rqt/pull/299 in rqt_py_common fixes this issue

PR is merged, @andrewbest-tri feel free to reopen the issue if the problem persists
PR was also backported to Humble and Iron


Faster way to read unaligned bytes

Currently "unaligned" bytes are read with "read and refill", but I think we could do quite a bit better.
The idea is to take the buffer as is and bitshift the all bytes in one loop with SIMD.
The below produces nice auto-vectorized code that is >10x faster on bigger reads.
For example here we are "4 bits into a byte":
pub fn read_n_bytes(&mut self, n: usize, input: &[u8], out: &mut [u8]) {
    let left_mask = 0b00001111;
    let right_mask = 0b11110000;
    for i in 0..n {
        let left_part = input[i] & left_mask;
        let right_part = input[i + 1] & right_mask;
        out[i] = left_part | right_part;
    }
}

I gave it a shot myself but couldn't quite get the state correct after this operation.

What an excellent idea, especially if the compiler auto vectorizes.

I've opened #31 which I believe is what you're aiming for, right? I haven't tested anything or verified that it auto-vectorized so there's still some work left.


Yelp Fusion / v3 update

See the postman collection here:
https://www.getpostman.com/api/collections/a54dde1fd81323f2203e

Collection no longer available at this URL.

Collection no longer available at this URL.


Mindate MaxDate Issue in datepickers

If we provide mindate/maxdate attributes for all datepicker controls, the year range was not showing after the latest updates.

It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-next), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

@mnajdova I'm having the same issue, starting from @material-ui/lab 5.0.0-alpha.41
This is the minimal props you need to recreate it:
maxDate="2021-01-01" //or minDate
openTo="year"

https://codesandbox.io/s/custominput-material-demo-forked-cmnig?file=/demo.js

maxDate="2021-01-01" //or minDate

This is no longer supported. You need to provide the same type as value has: https://github.com/mui-org/material-ui/pull/27392


lastInsertId() function added.

You should implement that function for every database.
For PostgreSQL you could compare strings, and search for insert into statement. One request has at best - one query. So you could append returning id if it wasn't present, and cache result for furer last insert id call.

Fixing #16


feature request: non-vcs support

I'd like hound to be able to simply operate on a folder full of files that aren't in any VCS (we have things that generate alot of code and it's handy to browse the generated results)

I found https://github.com/etsy/hound/issues/161


install

Hi, @rmbashirov,
Thanks a lot for publishing this code and really interesting paper.  As I am quite new to use the docker to build and run the examples.

According to your README.md, I have installed the docker and nvidia-docker and build the images like:

I attached my azure camera to computer (I also check by running k4aviewer with success)
After change some information in run_local.sh and  data_dirpath in renet.yaml, I run the  sudo ./run_server.sh , but it gives me this:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "python": executable file not found in $PATH: unknown

it seems that there is no python
Computer infor:

Ubuntu 18.04
NVIDIA Geforce 1080Ti

Hi @legoc1986
You should have final docker image azure_kinect:03_final in your docker images
I have added instructions in readme.md 722920ff95800ad8ec59a04a97cf19278a5865aa to check your kinect is working inside Docker container.
I have also added details of how to change paths in config.

Do
git submodule update --force --init --remote
As stated in updated readme.md 6d7e26bb7e652ba22fd72b237dd55e4cf4f05099


If there is androidtv connected, you can't run on emulator anymore

Describe the bug
Mostly observed on androidtv. If you managed to connect android tv device, but still decide to run your app on emulator weird things start happening. Even if in cli you write npx rnv run -p androidtv which should run app on emulator rnv offers one of existing emulator you choose emulator, but eventually app is being run on device.. Only way to run it on emulator is disconnect device
To Reproduce

Connect androidtv device
Try to run your app on emulator while tv is being connected and adb shows it

Expected behavior
App run fine on emulator and device whatever developer prefer
Desktop (please complete the following information):

OS: osx
Node Version v16.18.0
RNV Version 0.37.0-canary.11

supported android flags and params, with regards to device management.
-p android -t - ask
-p android
-p android -d - filter only devices
-p android -d -t - ask from devices
-p android -t IP:port
-p android -t emu-name
-p android -d -t device-name
-p android -t device-name


aiy.vision.leds missing Color class

When aiy.leds moved to aiy.vision.leds it looks like the Color class got stripped out and  __ enter __ and __ exit __ got stripped from the Leds class. Additionally, aiy.vision.leds does not import math anymore for the blend function in the Color class. I'm not sure if this was to increase performance or not - I'm still pretty terrible at Python & don't know how to do pull requests yet. The result of these omissions is that leds_example.py from the aiy.leds documentation does not work.
When you add the above items to aiy.vision.leds and change aiy.leds to aiy.vision.leds in leds_example.py, all examples in leds_example.py work.
This applies to the 2018-11-16 release image

This applies to the 2018-11-16 release image

There is no aiy.vision.leds, everything is in aiy.leds.


Stop using Google CDNs due to GFW

GFW can sometimes block Google CDNs (ajax.googleapis which we use for jquery is a common issue), so we shouldn't be using that.

We currently load two files from *.googleapis.com: JQuery and some fonts.
For the JQuery, we fall back to loading from ourselves if not loaded from the remote server (source):
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>

I verified this works in production on Firefox at least by blocking the Google server and then loading the live site:

For the fonts, I also blocked those and looked at several pages (including pages with both simplified and traditional Chinese text), and the only change I see is that the fonts are a bit uglier and a bit wider, so I don't think we need any change there for GFW blocking issues.  For example, first screenshot below is the regular site and the second screenshot is with the font host blocked:

There's the additional issue that loading from Google slows you down if you don't have it cached (because initializing a whole new TLS connection takes quite a few RTTs). The site loads really quite slowly for me if I disable cache, and a big chunk is waiting on jQuery to load. I really don't think it's worth the hassle.
On July 5, 2017 12:56:21 PM EDT, "David A. Harding"<EMAIL_ADDRESS>wrote:

We currently load two files from *.googleapis.com: JQuery and some
fonts.
For the JQuery, we fall back to loading from ourselves if not loaded
from the remote server
(source):
<script
src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="{{ site.url
}}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>

I verified this works in production on Firefox at least by blocking the
Google server and then loading the live site:

For the fonts, I also blocked those and looked at several pages
(including pages with both simplified and traditional Chinese text),
and the only change I see is that the fonts are a bit uglier and a bit
wider, so I don't think we need any change there for GFW blocking
issues.  For example, first screenshot below is the regular site and
the second screenshot is with the font host blocked:

@TheBlueMatt that seems reasonable.  I opened https://github.com/bitcoin-core/bitcoincore.org/pull/401 for the JQuery issue.  Do you also want fonts to be loaded from the BitcoinCore.org server?

No problem with locally stored (although it usually does affect user experience) but those particular CDN urls  are not affected by GFW.

Closed in #401


manifest --input not honored?

When trying to use --input for the stately input, it seems to just hang around and consume stdin.
I think that's because it's never actually trying to read the manifest from file, but always uses stdin?
https://github.com/russell/stately/blob/main/pkg/stately/actions/manifest.go#L39-L58
Expected this to write the files to tmp from manifest read from local file manifest.json in the current directory.
$ stately manifest --input manifest.json -o tmp

It just hangs around there ... 😄

Yah, it looks like it never actually reads from a file here, https://github.com/russell/stately/blob/main/pkg/stately/actions/manifest.go#L55
It should be an easy fix, i'll have it done tomorrow


Add tests mechanisms to schema structure

This PR includes the following proposed changes:

Restructures the examples directory structure to enable easy testing without duplication of test data. This includes examples of invalid JSON documents that do not meet the schema.

Any partial example (e.g. location, affiliation, organization) has been moved into the partials subdirectory for clarity that it is not a working full example, but a partial one.
Full examples have been moved to a new full subdirectory with valid and invalid subdirectories underneath.

Adjusts the upstream JSON schema metaschema to use Draft7 for better integration support, as we are not using any advanced JSON schema features that necessitate a different metaschema version than one that is standard.
Adds the tests directory with a Python-based test suite that...

Checks if the schema itself is valid against the Draft07 validator from the jsonschema package.
Checks that all examples under examples/full/valid are valid against the schema.
Checks that all examples under examples/full/invalid throw ValidationError's against the schema.

Adds a GitHub Actions workflow that will run the test suite on any branch push or pull request opening
Attaches test results to the PR and Workflow summary.
Creates a central location-identifier definition, references that definition at the field level to deduplicate field definitions.

Example PR workflow run:
https://github.com/scrthq/supplychaindata.exchange/actions/runs/11644851819
Comment on PR with results:

Awesome addition of test mechanisms and the partials folder -- will direct people to look at this folder either to complete extensions or try out new ones. Thanks so much @scrthq!


chore(google-palm): Update @google-ai/generativelanguage module to 2.5.0 [CVE-2023-36665]

This PR updates @google-ai/generativelanguage to 2.5.0.
The main reason for this is to address a vulnerability in the dependency chain (CVE-2023-36665).
To confirm these modules still work as expected, I've removed .skip for all the related integration tests and they all seem to be running green/returning generations:

libs/langchain-community/src/chat_models/tests/chatgooglepalm.int.test.ts
libs/langchain-community/src/llms/tests/googlepalm.int.test.ts
libs/langchain-community/src/embeddings/tests/googlepalm.int.test.ts

Thank you for this!

Lint failure was fixed earlier, will merge and cut new releases


Strange issue with a recent font generation

Hi there,
I recently created a new font with a single icon, it worked great for me, but started having problems when my team were playing with the feature I'd built and couldn't see the icon - all in Chrome on OSX. It works fine in other browsers for them, but it works fine in my Chrome also..
We've switched to a fontello font we generated for another project, which has the same character in (plus many others we don't need for this project) it for now, and this is working for everyone.
Not sure whats happened or how to diagnose the issue! Even the demo.html has the same issue so its not due to implementation on our part. The demo.html works for me in exactly the same version of Chrome as a colleague where it doesn't.
Its using the woff version, you can see it loading it in the network tab, but again, it doesn't display anything (not even unprintable character) if you set the content to be a printable character, it appears to be using a fallback font, but no warning saying it couldn't load the woff..
I've attached the zip, if that helps.
fontello-8f28867b.zip

Could you redownload font and check again?

Closing. Time out, let me know if problem still exists.


thread 'main' panicked at 'ERR_MISSING_WNEAR_ADDRESS

We started getting the error below on all of our refiner instances at the same time followed by a bunch of ERROR near_client::adapter: mailbox error: Mailbox has closed. For visibility, memory/cpu/disk seems to be stable and plenty of it available
We're running the refiner v0.22.0 and couldn't find the cause yet.
If it matters our relayer version is v2.1.1
thread 'main' panicked at 'ERR_MISSING_WNEAR_ADDRESS', /usr/local/cargo/git/checkouts/aurora-engine-7e378a275ccc464a/ddbde78/engine-precompiles/src/xcc.rs:282:16
stack backtrace:
   0: rust_begin_unwind
             at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:579:5
   1: core::panicking::panic_fmt
             at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:64:14
   2: aurora_engine_precompiles::xcc::state::get_wnear_address
   3: <aurora_engine_precompiles::xcc::CrossContractCall<I> as aurora_engine_precompiles::HandleBasedPrecompile>::run_with_handle
   4: <aurora_engine_precompiles::Precompiles<I,E,H> as evm::executor::stack::precompile::PrecompileSet>::execute
   5: evm::executor::stack::executor::StackExecutor<S,P>::call_inner
   6: evm::executor::stack::executor::StackExecutor<S,P>::transact_call
   7: aurora_engine::engine::Engine<I,E,M>::call
   8: aurora_engine::engine::submit_with_alt_modexp
   9: engine_standalone_storage::sync::execute_transaction
  10: engine_standalone_storage::Storage::with_engine_access
  11: engine_standalone_storage::sync::consume_message
  12: aurora_standalone_engine::sync::consume_near_block
  13: aurora_refiner_lib::near_stream::NearStream::next_block
  14: <tokio::task::local::RunUntil<T> as core::future::future::Future>::poll
  15: <core::pin::Pin<P> as core::future::future::Future>::poll
  16: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
  17: tokio::runtime::runtime::Runtime::block_on
  18: aurora_refiner::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

After trying to restart the refiner, I got a different error
thread 'actix-rt|system:0|arbiter:0' panicked at 'A Tokio 1.x context was found, but it is being shutdown.', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.28.2/src/runtime/time/entry.rs:553:13
stack backtrace:
2023-07-28T11:37:54.178319Z ERROR near_client::adapter: mailbox error: Mailbox has closed
2023-07-28T11:37:54.178333Z ERROR near_client::adapter: mailbox error: Mailbox has closed
   0: rust_begin_unwind
             at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:579:5
   1: core::panicking::panic_fmt
             at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:64:14

Any thoughts?

Thanks for the error submission, I think I know what had happened. I would need to create a proposal for the DAO to set the WNEAR address for cross contract calls, but this should have been done already. But given the error, perhaps it hadn't been set yet.

Sorry to double check, this had happened on mainnet or testnet?

Sorry to double check, this had happened on mainnet or testnet?

Thanks for the fast response @joshuajbouw. This happened on mainnet.

Yeah, just unfortunately will take a bit of time to fix as it requires DAO participation to get it set correctly.

Out of curiosity, were we just lucky to hit this error or is this something that should affect all the nodes in the network?

@muratso I suspect the ERR_MISSING_WNEAR_ADDRESS comes from your refiner instance not having a complete local state for the on-chain contract. Had that instance of the refiner consumed the full history of Aurora? And if not was it started from a snapshot of the state?
I'm not sure what the error on restart is about though. Could you send the full logs?

Hey @birchmd, sorry about the delay. I'll defer some of these questions to the person responsible for setting up this node. I'll ask him to answer this issue once he can.
Everything was working fine till this morning. We've been running these nodes for more than a month now.
Here's the full logs
2023-07-28T11:42:11.954039Z  INFO indexer: Load config from /home/aurora/.srpc2/near...
2023-07-28T11:42:11.970259Z  WARN neard: /home/aurora/.srpc2/near/config.json: network.external_address is deprecated; please remove it from the config file
2023-07-28T11:42:11.979509Z  WARN neard: /home/aurora/.srpc2/near/config.json: encountered unrecognised fields: network.reconnect_delay, consensus.reduce_wait_for_missing_block
2023-07-28T11:42:11.980409Z  INFO config: Validating Config, extracted from config.json...
2023-07-28T11:42:11.993243Z  WARN genesis: Skipped genesis validation
2023-07-28T11:42:11.994070Z  INFO config: Validating Genesis config and records.

Thanks for the logs @muratso @exodus-justinz
Looks like it is crashing on block number 97521100. That block does include a cross-contract call transact (i.e. a transaction from Aurora that is calling a contract on Near). It corresponds to this transaction on Near and this transaction on Aurora. The explorers show that the transaction was successful on the Aurora side (the Near call the Aurora contract was making did eventually fail, but this is unrelated to your issue). Therefore we know that the value of the WNEAR address (which is needed to do cross-contract calls) must be set in the on-chain contract.
The fact that your refiner instance says ERR_MISSING_WNEAR_ADDRESS means it is not able to re-play the transaction locally because some state is missing (the reason the refiner needs to replay transactions locally is related to a quirk of how Near works -- sometimes there is not enough information in the data we get from blocks). The refiner should build up the state it needs to replay transactions locally as it consumes blocks (i.e. if your refiner instance had consumed blocks starting from the first Near block where the Aurora Engine was deployed then it would not be missing any state). So the only thing I can recommend is to ensure your refiner instance processes all blocks from the history, or maybe someone else on our team has a snapshot of the relevant state they can share with you (cc @strokovok @JonathanLogan @spilin ).
Note: the state I am talking about is separate from the nearcore state needed to run the nearcore node. This state is a sort of custom indexing that is used by the refiner in replaying transactions locally.

Thanks for the feedback @birchmd. We synced again from scratch and the node is now synced with the chain again.
For future reference, how do we ensure that all block data is complete? I mean, there were no errors and the refiner instance was running smoothly. Then all of a sudden, it just crashed and threw this error. This was the only time we knew that some data was missing.
Is there anything we can do proactively to prevent this?


tree: add new method GetAndLoadForProof

This PR adds a new helper method that will assist clients in preloading the tree for proof generation.
See https://github.com/gballet/go-ethereum/pull/255

Left some comments. I am not sure I understand why you don't simply use Get?

When you call Get, it will resolve all internal nodes directly in the path to the corresponding leaf. As in, the minimal node loading needed to reach the desired leaf (as expected).
This method does something extra needed for proof generation. When we want to generate a proof for a leaf value, we also need all the internal node children in that path. That's because we need all the evaluations of the vector in that internal node to prove the opening in internal nodes. This part of the PR code is exactly doing this (also note some code comment a few lines above).
Doing all this at the Geth layer is very complicated and confusing. This API is providing a way of asking: "Load the tree for this key, and also all the auxiliary stuff that I'll need to generate a proof without any further resolving" (as you'd have with using Get).
That means that Geth can call this method for every key in the witness. After finishing with these simple calls it will know the loaded tree is fully ready to generate a proof (without a resolver or anything extra for proof generation).
That's exactly the idea of the referenced Geth PR in the PR description. While the EVM is collecting accessed keys in the witness, we use this API to load in the background the needed tree with all the resolved stuff. When the EVM finishes, the Witness already has loaded all that it needs so Geth can use this tree to generate the proof.

ah right of course. LGTM.


Pretrained models have terrible performance

I evaluate all the efficient architecture with the pre-trained weights available on this repo and the performances are different than the ones shared in this repo.
What is going on?
|                 |    top1 |    top5 |   time (s) |
|:----------------|--------:|--------:|-----------:|
| efficientnet-b0 | 0.7465  | 0.91932 |    78.2806 |
| efficientnet-b1 | 0.7461  | 0.91616 |   120.922  |
| efficientnet-b2 | 0.79394 | 0.9459  |   159.07   |
| efficientnet-b3 | 0.81212 | 0.95526 |   253.05   |
| efficientnet-b4 | 0.82788 | 0.96234 |   542.88   |
| efficientnet-b5 | 0.8345  | 0.9663  |  1049.4    |
| efficientnet-b6 | 0.84024 | 0.96908 |  1853.14   |
| efficientnet-b7 | 0.84106 | 0.9692  |  3245.83   |

Images are resized using the following code
resize_size = {

    'efficientnet-b0': 224,
    'efficientnet-b1': 240,
    'efficientnet-b2': 260,
    'efficientnet-b3': 300,
    'efficientnet-b4': 380,
    'efficientnet-b5': 456,
    'efficientnet-b6': 528,
    'efficientnet-b7': 600,

}

transform = Compose([
            Resize(size, Image.BICUBIC),
            CenterCrop(size),
            ToTensor(),
            Normalize(
            mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
   ])

valid_dataset = ImageNet(root='/home/zuppif/Downloads/ImageNet', split='val', transform=transform)

valid_loader = torch.utils.data.DataLoader(valid_dataset, batch_size=batch_size, shuffle=False,
                                                num_workers=12, pin_memory=True)

My code to compute (I used sotabencheval) top-1 and top-5 is correct.

[Edit] I did not resize the images

I meet same problems

Welcome to the club :) I guess the author is not interested at all. I am working on my own library with human-readable code.

Hi, I'm certainly interested. This issue hasn't been active since October, so I assumed it was resolved. What numbers are you getting?

Hi @lukemelas, I hope you are doing great! The issue hasn't been active since October since I was waiting for an answer from you.
Here you can find the code used to compute the scores.
I have run it again today and these are the results:

top1
top5
time
batch

0
0.7646
0.9303
89.9862
256

1
0.78398
0.94164
134.929
128

2
0.79812
0.94644
162.524
64

3
0.81318
0.95456
270.139
64

4
0.82752
0.96224
533.406
32

5
0.8384
0.96748
1089.04
32

6
0.84134
0.9697
1860.45
32

7
0.84486
0.96974
3277.51
32

Now the results are consistent with yours (even slightly better inb0).  But, interesting, now training is slower than October, I have updated my drivers. Thank you nvidia!
@daixiangzi I hope my benchmark code can help you, sometimes it is a little bit tricky to get the preprocessing part correct, for instance, if the resize function should use bicubic or not.
Just a side note, it is embarrassing how slow these models are. I got it they had to market it by calling Efficient*** but, really, depth-wise conv? Ugh!
Let me know your thoughts :)

Hi @lukemelas, I hope you are doing great! The issue hasn't been active since October since I was waiting for an answer from you.
Here you can find the code used to compute the scores.
I have run it again today and these are the results:
top1	top5	time	batch
0	0.7646	0.9303	89.9862	256
1	0.78398	0.94164	134.929	128
2	0.79812	0.94644	162.524	64
3	0.81318	0.95456	270.139	64
4	0.82752	0.96224	533.406	32
5	0.8384	0.96748	1089.04	32
6	0.84134	0.9697	1860.45	32
7	0.84486	0.96974	3277.51	32
Now the results are consistent with yours (even slightly better inb0).
@daixiangzi I hope my benchmark code can help you, sometimes it is a little bit tricky to get the preprocessing part correct, for instance, if the resize function should use bicubic or not.
Just a side note, it is embarrassing how slow these models are. I got it they had to market it by calling Efficient*** but, really, depth-wise conv? Ugh!
Let me know your thoughts :)

thank you , when I use resnet18 pre_model in imagine,my task acc is 92%(binary classification),but I use efficient_B0,acc only is 82%,input image size is 224*224,

Awesome, I'm glad to see that the results are now consistent.
I also totally agree about the depthwise conv! It's faster with fp16, but even there it could be faster. Hoping to see custom cuda code that speeds it up in pytorch soon.
Also, your glasses library looks very cool :)

@daixiangzi are you using pre-trained weights? As far as I know, they used lots of tricks to train the efficientnet models.
@lukemelas I am also very happy to have the same results, I am wondering what was wrong in the first place. Have you had a look at RegNet, they look like a good alternative. Thank you for the nice feedback, If you want to help out just let me know 😄
I think we can close the issue, @lukemelas do you want to do the honors?

Yes,resnet18 use imagenet weights,efficient use this rep offer
我没有什么天赋，我只是生而由来的执着。
---Original---
From: "Francesco Saverio<EMAIL_ADDRESS>Date: Mon, Dec 21, 2020 15:09 PM
To<EMAIL_ADDRESS>Cc: "Mention"<mention<EMAIL_ADDRESS>Subject: Re: [lukemelas/EfficientNet-PyTorch] Pretrained models have terrible performance (#237)
@daixiangzi are you using pre-trained weights? As far as I know, they used lots of tricks to train the efficientnet models.
@lukemelas I am also very happy to have the same results, I am wondering what was wrong in the first place. Have you had a look at RegNet, they look like a good alternative. Thank you for the nice feedback, If you want to help out just let me know 😄
I think we can close the issue, @lukemelas do you want to do the honors?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

It may be that resnet18 is better for your task, you have to consider that this is rocket science, sota models are sota only for one specific task

Haha，maybe
我没有什么天赋，我只是生而由来的执着。
---Original---
From: "Francesco Saverio<EMAIL_ADDRESS>Date: Mon, Dec 21, 2020 21:07 PM
To<EMAIL_ADDRESS>Cc: "Mention"<mention<EMAIL_ADDRESS>Subject: Re: [lukemelas/EfficientNet-PyTorch] Pretrained models have terrible performance (#237)
It may be that resnet18 is better for your task, you have to consider that this is rocket science, sota models are sota only for one specific task
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

:)


Unexpected behavior of array filterFns (arrIncludes, arrIncludesAll, arrIncludesSome)

TanStack Table version
v8.16.0
Framework/Library version
<EMAIL_ADDRESS>Describe the bug and the steps to reproduce it
When implementing filters on a table, I encountered an issue where the column value is a string, but the filter value is an array.
I have included a example case that shows the unexpected behavior.
I based it on the filter example from the docs, but modified it to include a new relationship state with the value complicated relationship. I also changed the setFilterValue call to set the value as an array (to simulate what would happen when selecting multiple possible values).
In my example selecting either "relationship" or "complicated" from the select filter will match with the value "complicated relationship".
This is due to how the array filters are implemented, assuming that both the column and the filter value are both arrays. But since the column value in this case is of type string it instead uses the includes method from the string prototype, which is what I think is unexpected behavior.
This is how it is currently implemented:
const arrIncludesSome: FilterFn<any> = (
  row,
  columnId: string,
  filterValue: unknown[]
) => {
  return filterValue.some(
    val => row.getValue<unknown[]>(columnId)?.includes(val)
  )
}

And this is how I expected it to work:
const arrIncludesSome: FilterFn<any> = (
  row,
  columnId: string,
  filterValue: unknown[]
) => {
  if (Array.isArray(row.getValue<unknown>)) {
	  return filterValue.some(
	    val => row.getValue<unknown[]>(columnId)?.includes(val)
	  )
  }
  return filterValue.some(val => val === row.getValue<unknown>(columnId));
}

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://stackblitz.com/edit/tanstack-table-effaj4?file=src%2Fmain.tsx
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Yes, I think I know how to fix it and will discuss it in the comments of this issue
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

+1


Determine content type of form based on file extension

you can't use file.type if it exists and do the fallback if it doesn't?

Ah good point; I didn't think of that. Apparently browsers also just use the file extension to determine the type property of a File object, so I think the behavior should be pretty similar either way. I could see that potentially simplifying the code though. I'll go ahead and merge for now, but this could be something to circle back to.


updates require to match package.json naming

I was receiving an error webpacking this module.
It appears that the parser was named differently between the package.json and the index file.  However I wasn't running into this issue until fairly recently and have been using this for a while so maybe I overlooked something somewhere else?

Thanks!


Map rendering in OL6/Angular1.7?

I posted this item on StackOverflow:
https://stackoverflow.com/questions/58599308/openlayers-5-to-6-in-angular-1-7
Posting here in case someone can help us figure what is going on as the layer does not seem to appear.  Is using a factory now an issue?

Solved this by setting a set height on my map containers.  Seems it no longer renders with only min/max-heights set.


Add mypy to CI flow

This adds mypy static type checking to the CI (and some related changes required to make it pass).
Mypy does not lint untyped functions, so I removed some type annotations for particularly hard to annotate cases.
Currently we only check the /target and /code folders.

Thank you!


provide a ui for prestage upload of files in nextcloud.

Provided a UI for prestage upload with git commit:
https://github.com/airavata-courses/airavata-nextcoud/commit/6eaf83a785a3435949684e70d19f7a18b4f5a940


feat(docs): Add image zoom to docs

Please read contributing guidelines and remove this line.

@critesjosh can this be closed as stale?


Console log errors

Description
Decided to upgrade from 2.8.4. Followed install Instructions, got Python 3.10 from Windows Store and installed all required packages / dependencies without issues.
Started backend using command python -m systembridgebackend.
Console was filled with messages and many errors as well. I have seen some database and network related ones, then the backend restarted, then there was an error each time CPU sensor was updated.
I then decided to close backend using Ctrl+C, but it didn't close, no matter how long I've waited. Figured to try Exit command in GUI but it just produced more errors. I had to close python process using Task Manager at the end.
Is this expected behavior? Logs attached..-
system-bridge (first start).log
system-bridge-console (first start).log
What Platform / OS are you running?
Windows
What version are you running?
3.2.1
Anything in the logs or a references that might be useful?
Couple of errors related to SQL/database
Couple of network errors
Error on sensors update
Errors when closing backend (not GUI)

Additional information
No response

Please upgrade and see if your issues are fixed

OK, I'll close this one and continue to investigate on #1779


Configurable newline symbol in ShortenedThrowableConverter

Log consumer in our system use \n as message separator.
Stack trace elements are concatenated by CoreConstants.LINE_SEPARATOR, so traces are split across several lines.
Currently I found solution proposed in https://github.com/logstash/logstash-logback-encoder/issues/83 , but I think It is worth adding an option to configure newline symbol inside json. If you don't see and obstacles, I can create PR.

Seems reasonable to me.  A PR would be great!

Hi @fred84
Thank you so much for your contribution!
I have merged it, made a few naming changes, and documented it in the README.md.  It will be available in 5.1 when it is released.
I made the naming changes because I wanted to use consistent terminology with Jackson.  For example, Jackson uses CharacterEscapes and escapeSequence, so I wanted logstash-logback-encoder to use the same.
The one functional change I made was to start with the standard ASCII escaping behavior by default, rather than starting with ESCAPE_NONE for every ASCII character.  If your use case requires that you start with ESCAPE_NONE for every character, then you can set <includeStandardAsciiEscapesForJSON>false</includeStandardAsciiEscapesForJSON>


Update Communication Patterns

Remove references to original reason for writing
Correct outdated descriptions of State
Update images where necessary and rename image folder
Proofread

Will publish tomorrow (15 May) if no problems are identified.

No problems highlighted - will go ahead and merge.


How to connect to existing database and\or collection

The existing documentation and samples show how to create a client, a database and a collection, but they do not show the more common examples of how to work with existing data. How to:

Create a client
Use client to connect to database\container

What is the difference?
Do you need to do both?
What is the format of a database_link or container_link? as in azure.cosmos.container.container, azure.cosmos.cosmos_client.cosmosclient

And from there... how to query, add, update and delete items

Link formats:
Database: f"dbs/{database_id}"
Collection(Container): f"dbs/{database_id}/colls{container_id}"

While these say "_id" and that does match the Data Explorer UI, its not a GUID, its the name you gave the DB and Containers.

This example shows how to connect the client and query a collection.
from azure.cosmos import cosmos_client
import json

CONFIG = {
    "ENDPOINT": "ENDPOINT_FROM_YOUR_COSMOS_ACCOUNT",
    "PRIMARYKEY": "KEY_FROM_YOUR_COSMOS_ACCOUNT",
    "DATABASE": "DATABASE_ID",  # Prolly looks more like a name to you
    "CONTAINER": "YOUR_CONTAINER_ID"  # Prolly looks more like a name to you
}

CONTAINER_LINK = f"dbs/{CONFIG['DATABASE']}/colls/{CONFIG['CONTAINER']}"
FEEDOPTIONS = {}
FEEDOPTIONS["enableCrossPartitionQuery"] = True
# There is also a partitionKey Feed Option, but I was unable to figure out how to us it.

QUERY = {
    "query": f"SELECT * from c"
}

# Initialize the Cosmos client
client = cosmos_client.CosmosClient(
    url_connection=CONFIG["ENDPOINT"], auth={"masterKey": CONFIG["PRIMARYKEY"]}
)

# Query for some data
results = client.QueryItems(CONTAINER_LINK, QUERY, FEEDOPTIONS)

# Look at your data
print(list(results))

# You can also use the list as JSON
json.dumps(list(results), indent=4)

Since this issue was created, we released a complete revamping of this package, and this problem was adressed

Since this issue was created, we released a complete revamping of this package, and this problem was adressed


Feat/configuration example

Q
A

Branch?
docs

Bug fix?
no

New feature?
no

Deprecations?
no

Tickets
Fix #...

License
MIT

Doc PR

Add a command to generate YML and XML full configuration references ( based on the content of ApiPlatform\Symfony\Bundle\DependencyInjection\Configuration.php )
Note: this branch is based on #53, will need rebase once the previous one is merged. Just have a look at the last commit

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 65.59%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
7920

Relevant Lines:
12075

💛  - Coveralls

Codecov Report
Base: 65.86% // Head: 65.86% // No change to project coverage :thumbsup:

Coverage data is based on head (d5ca8b3) compared to base (e359cb8).
 Consider uploading reports for the commit 12174da to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               docs      #54   +/-   ##
=========================================
  Coverage     65.86%   65.86%
  Complexity     5662     5662
=========================================
  Files           417      417
  Lines         14019    14019
=========================================
  Hits           9233     9233
  Misses         4786     4786

Flag
Coverage Δ

behat
65.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Setting NUMLEDS as a parameter

Hi Team,
Is it possible to set the NUMLEDS constant as a parameter so as to enable us to send number of led's over a post request? Also is it possible to send some value and parse that value inside the mclighting.ino.
For example, I would like to send a light intensity to a variable and convert that light intensity corresponding to number of led's(NUMLEDS)
Thanks and regards,
Pugazhendhi M

Hi
I’m not completely sure what you’re trying to achieve. To light only a certain amount of leds, you may use the range commands over web sockets: https://github.com/toblum/McLighting/wiki/WebSocket-API
Regards
Tobias

I think i got it now. Closing this,


Adding kibana service recipe

The New Solution/Problem/Issue/Bug:
Adding Kibana service to monitor/control Elasticsearch.
Manual Testing Instructions:
Follow the Installation section in docker-compose-services/kibana/README.md

Thanks for this!

Thanks for your work on this @alechko - Please review my commit at https://github.com/drud/ddev-contrib/pull/143/commits/a8e348c801cf4016405e03b051423f225f1a1207
There were a number of things in all 3 of those recipes that just needed to be updated to current usage. Using the bare container name, like "elasticsearch" is ambiguous if you have more than one project running, so we've been switching per docs to the official fully-qualified name of the container, ddev--. And using the ports directive actually tries to expose the ports on the host, causing conflicts between multiple projects.
This is also rebased to upstream/master so be careful to update your fork/branch.

hi @rfay, I've pulled the changes and there are lots of conflicts, I'm not sure what I should do now, should I resolve the conflicts (accepting your changes) and push the updated commit?

Hi @alechko - git fetch origin && git reset --hard origin/kibana - assuming that your git remote is named "origin"

I've tested the updated recipe, works great and now it has https as well :)

Thanks so much for this contribution!


Textarea Component FastHTML

How to fill in value for Textarea component?
Let's assume we have a form
form = Form(
Textarea(id="mytextarea", name="mytextarea", value=Item.text)
)
This does not seam to work in populating a Textarea like you can do for an Input by using the value parameter.

Passing the value as a child element might be what you're after.
Form(Textarea(item.text, id="mytextarea", name="mytextarea"))
results in a Textarea nested in a Form pre-populated with item.text

@timcol,
That was exactly it. Simple, but not very intuative. I assumed that I could only use keywords. Nut, it does make sense since the actual test in Textareas in HTML can only be input in between the tags and not as parameters.


Pass shared context and parent window as window hints.

This CL doesn't include other platform since I'm not familiar with them.
Nevertheless, it would be cool to be able to pass shared context and
parent window as optional window hints.
CreateWindow no more need extra parameter to be passed (I assume 99% of
time, no one even use this). hints.context.share already exists. Its
just set in glfwChildWindowHind (the name can be changed, I really
didn't come with anything better).

I'm cautiously in favour of this, as I agree that most users never set these to anything other than NULL.
Something to be looked into for version 4.

Definitely agree that share context should not be a parameter to glfwCreateWindow in the next API revision. Contexts and windows need to be decoupled in many ways.
There are no plans to support creating child GLFW windows of other GLFW windows, however (as opposed to attaching existing native child windows as GLFW window object, which likely will happen).


Problem with 'parse' method

Why HTML::Document.parse("one < two") returns:

one
'

?
This method cuts off the part of a text that goes after '<' sign.  Because of this, the Ruby on Rails's  #simple_format method works the same way:
simple_format("text_before < text_after")   =>  "text_before "

Rails 4.2.4
Nokogiri 1.6.7

FYI, this works
>> Nokogiri::HTML::Document.parse('one > two').text
=> "one > two"

One thing to bear in mind is that this may well be an issue in libxml2 itself

Hi,
Thanks for asking this question. Nokogiri uses XML parsing libraries under the hood (libxml2 for MRI, xerces/nekohtml for JRuby) and so we have very little control over how those libraries decide to "fix" broken markup.

Are you kidding me ?  Your code does not work on a few different servers with different operating systems and you telling me "We don't care, the library is to blame". The "less than" sign is a common case, which can occur in any text.

The "less than" sign by itself is not valid HTML or XML markup. There's no spec on how to fix broken markup.
So yes, I'm saying that the underlying libraries, written in C or Java, which are responsible for tokenizing and parsing the documents passed into Nokogiri, and most especially for choosing how to "fix" that invalid markup, are beyond the control of Nokogiri.
Lastly, I just want to ask that you keep your tone constructive. I'll point you at our Code of Conduct that's in our CONTRIBUTING.md document. It's easy to misinterpret your previous comment as entitled, rude, and judgmental. As a result I've locked this issue down to ensure nobody else will respond to you in kind.
I'm sorry we weren't able to help you in this instance, good luck on future endeavors.

Final thought, explaining the behavior, is that "one < two" is interpreted by both parsers as the string "one " followed by an incomplete tag "<two".
If you want "one < two" to be treated as "one < two" (that is, a text string) then I'd recommend escaping it first. Perhaps the Rails team, based on the context of simple_format, can selectively apply escaping? You'll have to take it up with them.


Update Composer dependencies (2024-01-04-00-10)

Visual regression test passed!
View the visual regression test report


Screenshot crop: doesn't take "editor/display_scale" into account?

The first screenshot was taken with the default Godot interface scaling.
The second screenshot was taken with Editor -> Editor settings -> Display Scale set to 150%.

Hi @davcri ,
Thank you for submitting this issue.
#6 will fix this adding a CodeSnpashot viewport and making it completely indipendent from editor settings.
Eventually, CodeSnapshot font size will be configurable as a separate setting keeping it indipendent from editor's one.
Close this issue whenever you want, I'll leave it open if you want to suggest other changes related to this issue.

Hi @davcri ,
Thank you for submitting this issue.
#6 will fix this adding a CodeSnpashot viewport and making it completely indipendent from editor settings.
Eventually, CodeSnapshot font size will be configurable as a separate setting keeping it indipendent from editor's one.
Close this issue whenever you want, I'll leave it open if you want to suggest other changes related to this issue.


GitHub pages deploy

Description
This PR will enable deployment of the master branch to GitHub pages. It works by executing the necessary commands to run the storybook static build and commit them to the gh-pages branch.
I decided to roll this manually as we have been wary of using actions from unknown sources, at least for the time being. We could fork an action and host it within our org but this would require quite a lot of extra work
There are some hopefully workable compromises.

The commit message in the gh-pages branch does not have the latest release version. This can be determined using Git but I was hoping to get this part working first.
The default token doesn't have the ability to setup Github Pages, it can commit to the branch, but can't create the static site. This will have to be done manually.
There are no unit tests for the action. Given it only executes commands and there is no logic, all we could do is assert that the commands are run.
The node modules have to be manually installed before the action is run, before deciding this I tried the following.

Committing the node modules, just felt too wrong.
Generating a built version via a Husky commit hook and https://github.com/vercel/ncc, too complex

Once deployed we will have to start to redirect traffic to the new URL.
Checklist:

[x] The commit messages follow the convention for this project
[ ] I have provided an adequate amount of test coverage

Looking good @andy-polhill!

The commit message in the gh-pages branch does not have the latest release version. This can be determined using Git but I was hoping to get this part working first.

Am I right by saying that these commits would only ever live on the gh-pages branch, so that we're able to push the static files up where they can be served by GitHub pages?

The default token doesn't have the ability to setup Github Pages, it can commit to the branch, but can't create the static site. This will have to be done manually.

This is just the initial setup and config in the Settings tab right? Or am I missing something?

There are no unit tests for the action. Given it only executes commands and there is no logic, all we could do is assert that the commands are run.

I suppose it coud be useful to test that the correct steps are ran int he correct order, and things like the build path ('storybook-static/') hasn't changed?

The node modules have to be manually installed before the action is run.

When you say manually, do you mean as part of the install action dependencies part in the workflow? Sorry I'm still fairly new to GH Actions.
Finally, two more questions :D

I guess this doesn't cover branch deploys yet? Did you have anything in mind for that? I know you mentioned something about separate directory for branches at some point.
I think we might need to do something about the next branch, as currently we run name: Push to master on every push to next. So will we need to create a separate name: Push to next so we don't deploy the next version over the current master version?

Looking good @andy-polhill!

The commit message in the gh-pages branch does not have the latest release version. This can be determined using Git but I was hoping to get this part working first.

Am I right by saying that these commits would only ever live on the gh-pages branch, so that we're able to push the static files up where they can be served by GitHub pages?

That is correct 👍

The default token doesn't have the ability to setup Github Pages, it can commit to the branch, but can't create the static site. This will have to be done manually.

This is just the initial setup and config in the Settings tab right? Or am I missing something?

Yep thats all, I did try and do it programatically, but I think it would require giving the token more access privileges.

There are no unit tests for the action. Given it only executes commands and there is no logic, all we could do is assert that the commands are run.

I suppose it could be useful to test that the correct steps are ran in the correct order, and things like the build path ('storybook-static/') hasn't changed? 🤔

I could do it, but the tests would almost be a copy of the file itself, I'm not sure it would ever catch anything. I'm happy to do it if we think it would help?

The node modules have to be manually installed before the action is run.

When you say manually, do you mean as part of the install action dependencies part in the workflow? Sorry I'm still fairly new to GH Actions.

Yep, the other option might be to create this as an external standalone action, you would then inject the dependencies as part of the build, but it would be quite a bit more work.

Finally, two more questions :D

I guess this doesn't cover branch deploys yet? Did you have anything in mind for that? I know you mentioned something about separate directory for branches at some point.

Correct, not entirely sure how to tackle that yet. One way might be to deploy to sub directories of the same branch, but I'm not sure how feasible that is.

I think we might need to do something about the next branch, as currently we run name: Push to master on every push to next. So will we need to create a separate name: Push to next so we don't deploy the next version over the current master version?

Good point 👍  I'll put in a check

There are no unit tests for the action. Given it only executes commands and there is no logic, all we could do is assert that the commands are run.

I suppose it could be useful to test that the correct steps are ran in the correct order, and things like the build path ('storybook-static/') hasn't changed? 🤔

I could do it, but the tests would almost be a copy of the file itself, I'm not sure it would ever catch anything. I'm happy to do it if we think it would help?

You're right, I think it's a bit overkill to have tests for this. Happy not to include any 👍

@owensgit / @elenagarrone I decided to put the pages deploy in a separate flow in the end..

there is no branch granularity for individual jobs in Actions, so it would get a bit hacky
a separate workflow isolates the functionality, so we can treat breakages differently here from the main package creation.

🤞 Here goes, first run should just do the git work but not actually turn gh-pages on.


Could you provide the pre-trained text embedding?

Hi, thanks for your great implementation.
I meet some problems in training a visual-semantic embedding.
Would you mind directly offering the pre-trained text embedding so that I can directly train the model?
Thanks!

@HelenMao Hi, you can access pre-trained embeddings below:
https://drive.google.com/open?id=0B9JkrC3TD6L1cXhERjNwaGNtbUU
https://drive.google.com/open?id=0B9JkrC3TD6L1R0ZwYjFMQXVObEE

Thanks a lot!


chore(main): release 1.233.1

When this PR is merged, a new tagged release will be created with the notes below.
1.233.1 (2023-05-31)
Bug Fixes

Address bug affecting XHR harvest re-schedule (#561) (cd2dc90)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/newrelic/newrelic-browser-agent/releases/tag/v1.233.1 :sunflower:


ES: key IDs not abbreviated to 8 byts

@TKlauenberg could it be that the key IDs are somewhow not reduced to the 8 bytes as per section A.1 of https://github.com/ehn-digital-green-development/hcert-spec/blob/main/hcert_spec.md ??
I am getting an unknown on dgc-testdata/ES/2DCode/raw/103.json:
  Exception: KeyID is unknown (expected b'07805b250c759584', got b'3736377a523661474c503564475a71656663506d77436e64573536556f33646f6477326176427376797938') -- cannot verify.

I confirm we got the same issue.

Getting same issue.
101.json , 102.json and 103.json
Expected :b'\x07\x80[%\x0cu\x95\x84'
Actual   :b'767zR6aGLP5dGZqefcPmwCndW56Uo3dodw2avBsvyy8'

@Santivicen can you take a look at this?

Hi, We have submit this test in our last pull request, could you take a look, please?

Files 101, 102, 103 are now valid as per https://github.com/eu-digital-green-certificates/dgc-testdata/actions/runs/878871168 (see xpasses)


docs(): generate docs for our Python SDK

It looks a little something like this:

I've manually picked a few modules that I consider to be part of our public interface for the initial version, but it's extremely easy to add more.
This will set up the scaffolding for us to autogenerate CLI reference material too.

Issues

Not sure if this is the best place to put these in the docs - perhaps we need a "reference" section?
The autogenerated docs pages can be pretty long and hence hard to navigate.

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

I'd have them live under python sdk in tools as "SDK reference"
We could thinking about moving the SDK's into the API bucket too


A clang target must have at least one public header

A lot of issues appear when I try to build this package:
        spm_pkg(
            url = "https://github.com/SDWebImage/libwebp-Xcode.git",
            from_version = "1.2.1",
            products = ["libwebp"],
        ),

It has non-standard naming that doesn't match its URL, it leads to errors when rules_spm fails to find the package
A clang target must have at least one public header. target: libwebp error appears after fixing the first issue

I have a PR that adds support for nested clang headers. It includes an example that demonstrates how to declare a libwebp-Xcode. Because the name of the package does not match the name of the repository, we need to specify the package name using the name attribute in spm_pkg.


#879 DIAL Serialization

#879

hi, the DIAL is not inserted into TADIR, add tadir_insert( iv_package ). somewhere in the deserialize method
test repository https://github.com/larshp/SHI3

I added tadir_insert.
DIAL objects are unfortunately always marked with diffs, but I can't see why.

diff probably due to https://github.com/larshp/abapGit/issues/799


[4.0] Editor don't save docks position

Godot version
4.0alpha 1
System information
Debian 11
Issue description
When I close a project the docks positions are not saved
Steps to reproduce
Create a empty project
Move "Node" and "Inspector" dock like in picture then close project.

Reopen it and see where "Node" and "inspector" docks are.
Minimal reproduction project
NA

Cannot reproduce this issue, neither with alpha1 nor current master, neither under windows 10 and Linux (Ubuntu 21.10)

I can reproduce in 90faf04
When you set the layout to the one in the screenshot, the Node dock will return to the right side after restart. Dock positions are saved properly, but looks like there are cases where they aren't. Also floating docks don't get saved at all; they return to their position before floating.


koordlet: refactor metrics advisor as framework

Ⅰ. Describe what this PR does
refactor metrics advisor of koordlet as framework for better extension.
each resource collector is defined as an independent plugin.
device like gpu are also defined as plugin.
package are organized as below:

metricsadvisor

metrics_advisor.go // main entrance
collectors // resource collector plugins
devices // device collector plugins
framework // definition of struct for framework extension

Ⅱ. Does this pull request fix one issue?
fixes #1001
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in make test

/lgtm

Great work, splitting up the metrics collection makes it easier to scale while avoiding mutual influence. In the next step, we need to adjust the interface of the local metric storage to make it scalable.

/approve


Taking Codacy suggestions into account #16

Fixes #16
Proposed Changes

This PR adds some Codacy suggestions in order to improve code quality

@rajitha1998 Can you resolve the conflict. LGTM

@rajitha1998 Can you resolve the conflict. LGTM

sure

Merge conflicts fixed @rajikaimal  ☺


peek not working with images on external storage

Microsoft PowerToys version
0.70.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Peek
Steps to reproduce
connect a sony camera with an sd card
try peeking with powertoys in file explorer
✔ Expected Behavior
to see the preview of jpeg pictures
❌ Actual Behavior
WinUI desktop displays: "An error occurred while previewing this file.
Other Software
No response

Are you still experiencing this issue? /needinfo

I will try today and report back in a few hours

followed previous steps to reproduce, however I was not able to replicate it. Used the same camera as a storage device, on the same computer, and the issue seems to be resolved.


mxnet won't load

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System:  Windows
Compiler: Using precompiled binaries
Package used (Python/R/Scala/Julia): R
MXNet version: R Package version 0.7
If you are using R package, please provide
R sessionInfo():
Error Message:
Please paste the full error message, including stack trace.
library(mxnet)
Error : object ‘combine_edges’ is not exported by 'namespace:DiagrammeR'
Error: package or namespace load failed for ‘mxnet’

But when using require only the error message about combine_edges is displayed.
require(mxnet)
Loading required package: mxnet
Error : object ‘combine_edges’ is not exported by 'namespace:DiagrammeR'

traceback()
2: stop(gettextf("package or namespace load failed for %s", sQuote(package)),
       call. = FALSE, domain = NA)
1: library(mxnet)

Either way, mxnet never gets loaded.
What have you tried to solve it?

Tried installing again
Rebooted

xgboost recently had problems due to breaking changes in DiagrammeR and it was fixed.  Perhaps the changes in DiagrammeR has caused issues with mxnet.
sessionInfo()

## R version 3.3.2 (2016-10-31)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 14393)
##
## locale:
## [1] LC_COLLATE=English_United States.1252
## [2] LC_CTYPE=English_United States.1252
## [3] LC_MONETARY=English_United States.1252
## [4] LC_NUMERIC=C
## [5] LC_TIME=English_United States.1252
##
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base
##
## loaded via a namespace (and not attached):
##  [1] igraph_1.0.1       Rcpp_0.12.8        rstudioapi_0.6
##  [4] knitr_1.15.1       magrittr_1.5       munsell_0.4.3
##  [7] colorspace_1.3-1   R6_2.2.0           brew_1.0-6
## [10] dplyr_0.5.0        stringr_1.1.0      plyr_1.8.4
## [13] visNetwork_1.0.2   Rook_1.1-1         tools_3.3.2
## [16] grid_3.3.2         gtable_0.2.0       DBI_0.5-1
## [19] influenceR_0.1.0   DiagrammeR_0.9.0   htmltools_0.3.5
## [22] assertthat_0.1     yaml_2.1.14        lazyeval_0.2.0
## [25] rprojroot_1.1      digest_0.6.11      tibble_1.2
## [28] gridExtra_2.2.1    RColorBrewer_1.1-2 ggplot2_2.2.0
## [31] htmlwidgets_0.8    viridis_0.3.4      evaluate_0.10
## [34] rgexf_0.15.3       rmarkdown_1.3      stringi_1.1.2
## [37] scales_0.4.1       backports_1.0.4    XML_3.98-1.5
## [40] jsonlite_1.2

Yes it was due to the DiagrammeR update. It has been fixed. Please update mxnet.

Looks like the version on the dmlc repo is 0.7 and the one on GitHub is 0.9.  Will the repo be updated soon?

I have the same problem too. It will be nice if you can update mxnetR for windows users. Thx for this amazing R library.

@thirdwing @hetong007 Could you update it?

I will upload the 0.9 R pkg for Windows in the weekend.

Any luck with this?  Just tried again and it's still 0.7.

I am also stuck with 0.7, will be great if you can upload the fix.

If you are stuck with this error, then you can downgrade the DiagrammeR version to resolve the issue.
Check: https://github.com/dmlc/mxnet/issues/4527

This has been fixed. Feel free to reopen if necessary.


Add Miscreated module

Module Request
Note: Please try setting up a configuration yourself before raising an issue to request a configuration:  https://config.getamp.sh/
Game Information:
Game Title: Miscreated
How to obtain: https://store.steampowered.com/app/299740/Miscreated/
Suppoted OSs: Windows 7 64bit , Windows 10
Supports RCON/Console input? Yes
I confirm:

[ x] that I have searched for an existing module request for this application.
[ x] that the server is an official server distributed by the games publishers/developers.
[ x] that the server is available to the general public.
[ x] that the server can be run headless (without a GUI).
[ x] I have already attempted to create a configuration myself using the configuration tool at https://config.getamp.sh/

Closed because repeats https://github.com/CubeCoders/AMPTemplates/issues/228
However, I did create a functioning template several months ago but never got any testing feedback from the user who requested it.
I can dust it off and you can have a look. I can't recall exactly what issues it had other than there was no console input or output in AMP (not uncommon unfortunately).

Ghosted again it seems... 👀

Ghosted ?On Apr 15, 2023 5:52 PM, Greelan @.***> wrote:
Ghosted again it seems... 👀
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I mean that I did not get any response from you.


Updated PlayGround-XamForms project

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Update of PlayGround-XamForms and PlayGround-XamForms-Android to RxUI V7 and adding a DemoView to show use of ListViews
Does this PR introduce a breaking change?
I guess not. I only added the PlayGround-Project to the Solution besides this I did not touch any RxUI code
Please check if the PR fulfills these requirements

[ ] The commit follows our guidelines: https://github.com/reactiveui/reactiveui#contribute
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

@escamoteur thanks for updating them, we won't be merging this PR however because we intend to delete these playground projects in the next coming days during the migration to VS2017 - #1327


Update UnknownUrlHandler warning to use non-deprecated methods

@mhoran That's a great idea.  I've included your suggestions.

Thanks!


OnErrorCallback must return Promise<void | boolean>

Describe the bug
From VuePlugin, I add an onError callback to add global metadata on each error event.
I'm using the async/await syntax in onError callback.
I found that if I don't return a value ( I'm returning true), event is not sent and following error is printed

'Event not sent due to onError callback'

If my code read is good, explanation is error comes from that line and is caused by that other line
Fix could be to make that type
return Promise<void|boolean>
Environment

Bugsnag version: 7.2.0
Browser framework version (if any):

Vue: 2.6.11

Browser version (e.g. chrome, safari): n/a
Device (e.g. iphonex): n/a

Example code snippet
// init bugsnag plugin with config then

// doesn't work
Bugsnag.addOnError(async (event) => {
    event.addMetadata("blah", await computeMetadata() );
})

// works
Bugsnag.addOnError(async(event) => {
    event.addMetadata("blah", await computeMetadata());
    return true;
})

Error messages:
 'Event not sent due to onError callback'

Hi @Nigui,
Would you be able to share the rest of your Bugsnag configuration, particularly the Bugsang.start() code you are using and also the structure of your computeMetadata() method.
Feel free to write in to<EMAIL_ADDRESS>if you don't want to share that code here.
Thanks

Of course ! Here it is:
   const config: BrowserConfig = {
        apiKey: process.env.BUGSNAG_API_KEY!,
        appVersion: process.env.APP_COMMIT,
        releaseStage: process.env.ENV,
        plugins: [new BugsnagPluginVue(Vue)],
    };

    Bugsnag.start(config);
    Bugsnag.addOnError((event) => {
        event.addMetadata("metadata", {
            key: "value",
        });
        // return true; ==> doesn't work without
    });

Thanks @Nigui ,
We will look into getting this corrected.

Hey @Nigui,
Thanks for the report; I've fixed the OnErrorCallback return type in https://github.com/bugsnag/bugsnag-js/pull/1224 so that it allows Promise<boolean>
I haven't been able to reproduce this problem though:

I found that if I don't return a value ( I'm returning true), event is not sent and following error is printed

'Event not sent due to onError callback'

Your example callback works for me with or without the return true, after ignoring the Typescript error. I'm not sure if I'm misunderstanding though; was your only issue the Typescript error?

Hey @Nigui,
Thanks for the report; I've fixed the OnErrorCallback return type in https://github.com/bugsnag/bugsnag-js/pull/1224 so that it allows Promise<boolean>
I haven't been able to reproduce this problem though:

I found that if I don't return a value ( I'm returning true), event is not sent and following error is printed

'Event not sent due to onError callback'

Your example callback works for me with or without the return true, after ignoring the Typescript error. I'm not sure if I'm misunderstanding though; was your only issue the Typescript error?


Figure out what do to about the mmap argument to scipy.io.netcdf_file

When Travis runs tests with scipy but not netCDF4 installed, I get a warning like this:
/home/travis/miniconda/envs/test_env/lib/python3.3/site-packages/scipy/io/netcdf.py:287: RuntimeWarning: Cannot close a netcdf_file opened with mmap=True, when netcdf_variables or arrays referring to its data still exist. All data arrays obtained from such files refer directly to data on disk, and must be copied before the file can be cleanly closed. (See netcdf_file docstring for more information on mmap.)
https://travis-ci.org/xray/xray/jobs/52341561
Despite reading the docstring, I don't know entirely what to make of this argument. Is it possible to read data from disk lazily if mmap=False? If so, we should probably set that. If not, we may need to insert a .copy() somewhere in the scipy_ backend to ensure that data is properly loaded.
I have not been able to turn this warning into an actual error or test failure, so another possibility is that we don't need to worry about this.

With slightly more comprehensive testing, I was able to turn accessing data from a netcdfs read (and closed) from scipy into a segmentation fault.
Unfortunately, as it turns out, the only way to make scipy.io.netcdf read data from disk lazily is to use mmapped arrays. So I did indeed need to use .copy() (see #365) to fix the seg-faults and make things consistent with how we use netCDF4-python.


Client navigation story

Scenario:
once you have a client to a resource with its fully built pipeline (containing credentials and any other custom work), how do you "navigate" the resources to get a client to a new resource without having to reconfigure the pipeline as you wanted it?
Current considered approach:
All clients implement a Client interface, with basic methods like getPipeline and getURL that are already implemented on each client. Builders can be initialized with a Client to contain the custom pipeline and url. All that needs to be done is to set the new resource path (e.g. set a new blob name, keeping the container name from previous client) and build.

@alzimmermsft and I chatted about this and we wanted to get @JonathanGiles's thoughts on this.


Desktop Application README File

Hi @Kushal997-das
This PR to add the README file associated  with issue #58
I hope you like it.
Thanks

Thank your very much @SamarpanCoder2002
I have another idea what is your opinion to add collapsible section with the directory tree structure?
Thanks

Thank your very much @SamarpanCoder2002
I have another idea what is your opinion to add collapsible section with the directory tree structure?
Thanks

Thank your very much @SamarpanCoder2002
I have another idea what is your opinion to add collapsible section with the directory tree structure?
Thanks

Great idea you can add tree structure in Desktop Application. For visitors point of view it would be great if you will add.

Thank your very much @SamarpanCoder2002
I have another idea what is your opinion to add collapsible section with the directory tree structure?
Thanks

Great idea you can add tree structure in Desktop Application. For visitors point of view it would be great if you will add.

Thanks @Kushal997-das
Okay I will add the tree and give me your feedback.
Thanks

Thanks @Kushal997-das
Okay I will add the tree and give me your feedback.
Thanks

Thanks @Kushal997-das
Okay I will add the tree and give me your feedback.
Thanks

I think we can add a tree structure and added a project corresponding gif or picture with the project name. I think it will better...I try it for some projects and make pull requests after some time...

Thanks @Kushal997-das
Okay I will add the tree and give me your feedback.
Thanks

I think we can add a tree structure and added a project corresponding gif or picture with the project name. I think it will better...I try it for some projects and make pull requests after some time...

@TawfikYasser One thing you can do when you gonna create tree like structure then make sure you use root tree as "Desktop Application" Then you add another tree inside "the root tree" Like basic, intermediate, Advanced then add the project name according to the levels (basic, intermediate, advanced) make you you add also hyper link.

@TawfikYasser One thing you can do when you gonna create tree like structure then make sure you use root tree as "Desktop Application" Then you add another tree inside "the root tree" Like basic, intermediate, Advanced then add the project name according to the levels (basic, intermediate, advanced) make you you add also hyper link.

@TawfikYasser One thing you can do when you gonna create tree like structure then make sure you use root tree as "Desktop Application" Then you add another tree inside "the root tree" Like basic, intermediate, Advanced then add the project name according to the levels (basic, intermediate, advanced) make you you add also hyper link.

Don't worry guys..I try it...I think I think I can make it..

@TawfikYasser One thing you can do when you gonna create tree like structure then make sure you use root tree as "Desktop Application" Then you add another tree inside "the root tree" Like basic, intermediate, Advanced then add the project name according to the levels (basic, intermediate, advanced) make you you add also hyper link.

Don't worry guys..I try it...I think I think I can make it..

Thanks @Kushal997-das
Okay I will add the tree and give me your feedback.
Thanks

I think we can add a tree structure and added a project corresponding gif or picture with the project name. I think it will better...I try it for some projects and make pull requests after some time...

@SamarpanCoder2002 This gonna be awesome if we add gif. (But make sure you have to add small gif)

Thanks @Kushal997-das
Okay I will add the tree and give me your feedback.
Thanks

I think we can add a tree structure and added a project corresponding gif or picture with the project name. I think it will better...I try it for some projects and make pull requests after some time...

@SamarpanCoder2002 This gonna be awesome if we add gif. (But make sure you have to add small gif)

Thanks @Kushal997-das
Okay I will add the tree and give me your feedback.
Thanks

I think we can add a tree structure and added a project corresponding gif or picture with the project name. I think it will better...I try it for some projects and make pull requests after some time...

@SamarpanCoder2002 This gonna be awesome if we add gif. (But make sure you have to add small gif)

Project readme containing gif will I add...But some projects not having a gif in the readme, I can't add...

Thanks @Kushal997-das
Okay I will add the tree and give me your feedback.
Thanks

I think we can add a tree structure and added a project corresponding gif or picture with the project name. I think it will better...I try it for some projects and make pull requests after some time...

@SamarpanCoder2002 This gonna be awesome if we add gif. (But make sure you have to add small gif)

Project readme containing gif will I add...But some projects not having a gif in the readme, I can't add...

Okay @Kushal997-das , @SamarpanCoder2002
See my last PR
Thanks

Okay @Kushal997-das , @SamarpanCoder2002
See my last PR
Thanks

Okay @Kushal997-das , @SamarpanCoder2002
See my last PR
Thanks

Some Changes are requested...Please See that..Thanks for your time...

Okay @Kushal997-das , @SamarpanCoder2002
See my last PR
Thanks

Some Changes are requested...Please See that..Thanks for your time...


Geometry shader SV_Position input error

The following Geometry Shader:
struct VSOutput
{
float4 Position : SV_Position;
};
struct GSOutput
{
float4 Position : SV_Position;
};
[maxvertexcount(2)]
void GSMain(line VSOutput input[2], inout LineStream stream)
{
GSOutput o;
o.Position = input[0].Position;
stream.Append(o);

o.Position = input[1].Position;
stream.Append(o);

}
gets translated to:
#version 150
layout(lines) in;
layout(line_strip, max_vertices = 2) out;
void main()
{
gl_Position = gl_Position;
EmitVertex();
gl_Position = gl_Position;
EmitVertex();
}
The input should be gl_in[0].gl_Position / gl_in[1].gl_Position
That being said I was finally able to workaround all the geometry shader issues and write all my shaders so it compiles to GLSL and works correctly. Yay!

Ah yes, "gl_in[]" is currently never written by the GLSL generator.
I'll put it on my ToDo list.

Fixed with a1db37df23084c160d6cacc172b8ac5f62cd39bf


Go timeouts

Checks to make sure default http library that have no default timeouts are not used.

🉑


[omnibus] Upgrade OpenSCAP to version 1.3.10

What does this PR do?
This change upgrades OpenSCAP to version 1.3.10.
Consequently, we remove the backported fixes,
along with the changes that were merged upstream.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge


Add initial e2e/integration for placeManifestWork

Signed-off-by: Jian Qiu<EMAIL_ADDRESS>

/assign @serngawy

Sounds good, it needs re-base AND as best practice rename/move files better to be in separate commit cause having all in same commit we may lose the history of renamed/moved files.