feat: TypeSafeHTTPBasic

Once typeSafeCredentials is merged we can implement HTTP basic auth using typeSafeMiddlware.
Docs description:
A TypeSafeCredentials plugin for HTTP basic authentication. This protocol will be implemented by a Swift object defined by the user. The plugin must implement a verifyPassword function which takes a username and password as input and returns an instance of Self on success or nil on failure. This instance must contain the authentication provider (defaults to "HTTPBasic") and an id, uniquely identifying the user. The users object can then be used in TypeSafeMiddlware routes to authenticate with HTTP basic.

I have removed inProgress from authenticate since in current credentials it will never be invoked. This will make it different from credentials authenticate signature so i was unsure if we want to maintain consistency?

The tests are currently failing since they require typeSafeMiddleware which will only be available in Kitura 2.4.

@Andrew-Lees11 FYI, Kitura and Credentials dependencies are merged and tagged - I have restarted the CI.

Codecov Report

Merging #49 into master will decrease coverage by 13.23%.
The diff coverage is 0%.

@@           Coverage Diff            @@
##           master   #49       +/-   ##
========================================
- Coverage   80.23%   67%   -13.24%
========================================
  Files           2     3        +1
  Lines         167   200       +33
========================================
  Hits          134   134
- Misses         33    66       +33

Flag
Coverage Δ

#CredentialsHTTP
67% <0%> (-13.24%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/CredentialsHTTP/TypeSafeHTTPBasic.swift
0% <0%> (ø)

Continue to review full report at Codecov.

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


Python deprecation warning for humanfriendly

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
python3.8/site-packages/azure/cli/core/commands/progress.py:182: DeprecationWarning: humanfriendly.Spinner was moved to humanfriendly.terminal.spinners.Spinner, please update your imports
    spinner=humanfriendly.Spinner(  # pylint: disable=no-member

Possibly related to #20409
To Reproduce
Run pytest on a project that includes azure-cli.
Expected behavior
No deprecation warning.
Environment summary
az cli 2.30.0
Additional context
https://github.com/Azure/azure-cli/blob/ea0286bf612f66eb4c0f0179feccbfe226a99292/src/azure-cli-core/azure/cli/core/commands/progress.py#L118

@zhoxing-ms, please take a look as humanfriendly is used by progress bar.


Add Micro

micro-editor.github.io
Github repo
micro is a terminal-based text editor that aims to be easy to use and intuitive, while also taking advantage of the capabilities of modern terminals.
Logo

Added in 3f8b2dd45dac2ecde1cd40cc4146369226fe7507
Thanks


Missiling use of the node name

Is your feature request related to a problem? Please describe.
I have been trying your solution and I had noticed a small but confusing use of the term  name
    - name: "dev"
      sequences:
        - name: "delivery"
          tasks:
            - name: "deployment"
              properties:
                deploymentstrategy: "direct"

Now the sequence name actually trigger a specific behavior both in the case of sequences that of task
Describe the solution you'd like
I would add the node type if the value "delivery" or "deployment" is functional
    - name: "dev"
      sequences:
        - name: "someName"
          type: "delivery"
          tasks:
            - name: "deployment"
              type: "deployment"
              properties:
                strategy: "direct"

in this way, the property node will not need to repeat deployment
It is just a suggestion once understood the mechanism is pretty simple to use

The technical reason for this is that when you trigger a sequence, you effectively build a cloudevent of type: sh.keptn.event.{environment}.{sequence}.triggered. In the example above, you would trigger: sh.keptn.event.dev.someName.triggered.
Then, automatically and on your behalf Keptn core will generate cloudevents for each task which take the format: sh.keptn.event.{task}.triggered. Eg. sh.keptn.event.deployment.triggered. Finally, some tooling is configured to listen for this cloudevent. OOTB behaviour is for the helm-service to listen for this event (you can of course change this service if you don't like the OOTB keptn implementation or helm itself).
 You can create your own and so create any workflow you wish.
Hope this helps clarify.


Edge TPU latency

Hi,
Why are there some architectures that have negative latency on EdgeTPU?
Thank you.

Thank you for your interest in our work!
"-1" represents that the corresponding model did not pass the compilation process of Edge GPU compiler (https://coral.ai/docs/edgetpu/compiler)


Dropdown filter not passing value

I have a problem with dropdown filter. The following dropdown filter doesn't work:
$this->crud->addFilter(['name' => 'status','type' => 'dropdown','label' => 'Status'], ['open' => 'Open','closed' => 'Closed'], function($value) {$this->crud->addClause('where', 'status', $value);});
If I change the type of the filter to 'select2' it works perfectly.
I investigated a little more and it seems that in line 48 of dropdown.blade.php the variable value doesn't get any value. But if I change the name of the attribute to something else instead of 'key' it works. So, changing atribute name from 'key' to, say, 'chave' in lines  18 and 48 fixes the problem.
Did I miss something?
Thanks.

This may be best also asked on Stack Overflow.
It's probably got to do with the underlying implementation expecting key not to be used ro some such thing.

I think I figured out the problem. I'm using Vue 2 on this project and the use of the :key props conflicts with Vue 2.
Simple solution is just to rename the prop to some othe name.

So my hunch was correct - I am very glad you found the solution.

Same issue.
However, it seems to occur as soon as vueJS is loaded:
require('./bootstrap');
window.Vue = require('vue');
const app = new Vue({
   el: '#app'
});

=> triggers the issue as soon as you have a  somewhere.
I will propose a patch to use a reserved variable in dropdown.


keyCode is now deprecated

As per a deprecation warning here, it would be nice to see the value of the recommended event property, key. Maybe as an option? :smile:

Thats funny becausekey isn't implemented in all browsers yet - I doubt keyCode will go anywhere


Update the fetcher to allow staging add-ons

This PR updates the fetcher to allow dev add-ons to be used for the PrivateLink CLI.
https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07B0000006RgitIAC/view

Codecov Report

Merging #13 into master will decrease coverage by 0.46%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
- Coverage   92.81%   92.35%   -0.47%
==========================================
  Files           9        9
  Lines         167      170       +3
  Branches       16       16
==========================================
+ Hits          155      157       +2
- Misses          5        6       +1
  Partials        7        7

Impacted Files
Coverage Δ

src/lib/fetcher.ts
58.33% <57.14%> (+2.77%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix unknown class crash in issue command;

This one fixes #17

          1 Warning

:warning:
Tests were not updated

          1 Message

:book:
Code coverage is now at 50.16% (7981/15910 lines)

  Generated by :no_entry_sign: danger


Defold engine meta

Hello! i generated some meta for Defold engine
with fork of https://github.com/d954mas/defold-api-emmylua/

@sumneko is it normal to ad files.associations in config.lua

@sumneko is it normal to ad files.associations in config.lua?

LSP has no relevant regulations on file association. You can do this, but it will only affect VSCode.

@sumneko i added some changes in config file, is it enough, but i'm not sure is it correct,
files   = {'game.project', '%.script', '%.gui_script'} we need to have at least one of .script or .gui_script file

I think it is enough.
But I rechecked files Associations, which contains many files unrelated to Lua.
I think it might be more appropriate for you to make a extension specifically, you can refer to https://github.com/sumneko/lua-language-server/wiki/Libraries#bundling-in-a-plugin-extension.

To add, I guess your goal is to create a development environment, rather than simply providing definition files.
If this is the case, I suggest you make a separate extension and provide the definition file in your extension using the method in wiki.

I left only lua file associations

for all other files i'll make extension

for all other files i'll make extension

If I am the user of Defold, I hope I can use your extension directly after installing it, instead of being discovered by my extension and asking whether to apply a the Defold environment.

I think this meta only for lua develop, other files extensions are editing from defold editor, and maybe redundant here


Add Viewer#sendBlockProgress

SpongeAPI | Sponge

I think getting progress stage from progress should be done in some different place but I'm not sure which one
Maybe SpongeServer#getOrCreateBlockDestructionId() should be changed to just SpongeServer#createBlockDestructionId()

squashed and rebased in https://github.com/SpongePowered/Sponge/commit/dbe01eaaa536ea85caf9c00f02e41444cbb0034a


Make sure the fridge placement works correctly

It was a bit annoying
https://www.twitch.tv/videos/122765464?t=01h43m57s

works just fine

For some reason it doesn't work the same in Forever Stranded pack.


routes: accept HTTP OPTIONS method

add required headers in allow list
Signed-off-by: Shivam Mishra<EMAIL_ADDRESS>
What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs from IPAMD/CNI showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades. Has updating a running cluster been tested?:
Does this change require updates to the CNI daemonset config files to work?:

Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Can we add a small unit test?


TS type broken for React Native

In this commit: https://github.com/Flagsmith/flagsmith-js-client/commit/a7ef16ab821e804e472889ee30fe1ae25c68ccff
You can see the TS declaration was changed from react-native-flagsmith to just flagsmith. Now import flagsmith from 'react-native-flagsmith' fails to pick up the types.

Ah thanks for reporting, fixed in 1.6.1 @marcshilling


docs: Clarify session affinity support on <5.7

Because network namespace cookies are only available in v5.7+, on older kernels, all pods on a given node will be serviced by the same backend for a given service, for east-west traffic.
Fixes: #13177

Ok, "clarify" wasn't the right word; it should have been "don't give the wrong impression that session affinity is inexistent on <5.7" :smile:
The table doesn't leave a lot of space for long explanation and I don't want to paraphrase the Session affinity documentation anyway. I thought "full support" would be okay because it hints that the situation may be more complex than 0/1, and further details are just a click away.

Ah, I didn't recognize when reviewing that the link explains what "full support" means. I figured there would be a little * with a footnote to briefly describe or point to the relevant docs or something. But if the session affinity link clarifies the meaning then :+1:


GitHub key needs to be easier to insert

Right now to insert the github api key we have to go into the module and paste it there. It needs to be something that we can drop in and ignore so that it doesn't get checked it.
Thoughts @AdrianRossouw
The module in question is nodezoo-github, it can currently read it via an env variable.

Just set it up in the *.yml ?
Also you could add an env_file.

in the service
env_file: ../system.env
add that file to .gitignore
make a system.env.sample with some default setting.

@AdrianRossouw Won't work because of fuge. Simple solution for now is directly in system.yml


Adding kernel argument to disable predictable NIC naming. Fixes VIP

Tested my yesterdays PR on virtualised cluster and noticed the VIP didn't come up due to Predictable NIC naming being enabled. Fixed by patching install which persists upgrades/install. See here

Made some more changes which simplifies the jinja template by using general patches which are applied to both controllers and workers.


Will this work with<EMAIL_ADDRESS>

I'm using this with a project that relies on vite: ^5 and I'm wondering if we can update the package.json to make vite: ^4 || ^5 a peer dependency?

I'm going to test it with vite 5 and will let you know soon, also if it will be fine, I'll add v5 to peer deps

any updates on this?

Lovely! Thank you very much!
On Fri, 16 Feb 2024, 11:58 pm Yaroslav Nychkalo, <
@.***> wrote:

@stevenpollack I'm sorry for waiting so long There is a progress, I've
already updated the package, added vite v5 example, so I'm sure it works on
vite 5 and allowed to use this package with any versi
DuckDuckGo removed one tracker. More
https://duckduckgo.com/-hG7aYIdtKlV0Ff_f1T4h6uCWLTt_lnMpPyNBcwi1_A3x-4MOfTXSCw4HPZID7b8dx20ZXBx0nFmHRDRSGYRZgAJipXTZIJCQ-LbPrXecj_BHIjuwC4c6l8ur6lVcboo6g2RcIK28blZXhAUgg1nc8y1oWTc1HUbjZ_Yc1APs5uyjRiLZgUJ5JIbGqi2jQQFbuXHzIdsdkFfMt9qYyiWpSVO_N6RKCw_ey4pHp0amiBpZ0M3X-kjYzEbWztq4YA9TUCDXvJ5KuJtzHMvtKr2WH3hC-FpjoLAN7qK2dOJeLlnbkXNyS7K4BgHqmuwi_e30BWcSg8asoOWkRgu2jHJqa5QclIA5kr8tMj0WAA_w5t7gy9K2tG1vLEgnZ9XLuDHul82IuYp5dYUrIZ4sLRJL8ySWbdXwN6bXDJINHp80ZduqPtDoZvtJjcdo26qqGbdvIM03d5S9Id9h42JmSiCNLe3UHWjZNbDpLJNLGGGh8silNtdZmzTlXFjhNuARI-L7t38Pyk1D4hQyD1YJdvMyiz0LIe3xuBg
Deactivate
https://duckduckgo.com/
@stevenpollack https://github.com/stevenpollack I'm sorry for waiting
so long
There is a progress, I've already updated the package, added vite v5
example, so I'm sure it works on vite 5
and allowed to use this package with any version of vite or webpack, so
you can use it with vite 5 now
https://github.com/gebeto/storybook-addon-manual-mocks/releases/tag/v1.0.4
—
Reply to this email directly, view it on GitHub
https://github.com/gebeto/storybook-addon-manual-mocks/issues/14#issuecomment-1948345396,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAT4RA5IOTZCRWIOK3U7B23YT5JX5AVCNFSM6AAAAABCZS4AI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGM2DKMZZGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sure! Thanks for mentioned about vite v5, I didn't knew it was released 😄


Implement fee mechanism for the Mint

Currently all the fees are 0 by default

would like to work on this

Hey @oxlime this issue is very important. We have a demo coming up. Will you be able to dedicate appropriate time and attention to it? :)

yes and sent you a message on tg


mqtt broker

I followed al the steps in the wiki (I installed mongodb on my hostraspberry 3(<IP_ADDRESS>) and it's running) and updated my json in homebridge but get an error:
Error: listen EADDRINUSE: address already in use :::1883     at Server.setupListenHandle [as _listen2] (net.js:1309:16)     at listenInCluster (net.js:1357:12)     at Server.listen (net.js:1445:7)     at /usr/lib/node_modules/homebridge-dafang/node_modules/mosca/lib/server.js:225:16     at makeCall (/usr/lib/nod
My homebridge is down because of this error.
With 'sudo lsof -i :1883' I get:

COMMAND     PID      USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
mosquitto 10783 mosquitto    5u  IPv4  45600      0t0  TCP *:1883 (LISTEN)
mosquitto 10783 mosquitto    6u  IPv6  45601      0t0  TCP *:1883 (LISTEN)
mosquitto 10783 mosquitto    9u  IPv4  43888      0t0  TCP <IP_ADDRESS>:1883-><IP_ADDRESS>:65361 (ESTABLISHED)

<IP_ADDRESS> is my hostraspberry 3 and it looks like there is also a tasmotaswitch(<IP_ADDRESS>) with some kind of mosquitobroker linked to my raspberry. How do I solve this error?

@remko2000 it appears that you need to do more research on MQTT, there are plenty of guides out there.


noetic: pcl requires C++14

Fixes the build on 20.04

@Jaeyoung-Lim Build is now triggered, however fails. This is due to a recent change in catkin_gprc. @tomlankhorst can you take a look at that?

@alexmillane Fixed in https://github.com/CogRob/catkin_grpc/pull/45

@Jaeyoung-Lim yeah I rolled back the version in our rosinstalls. Hopefully now things build. When your PR is merged over there, we can update the rosinstalls.

@Jaeyoung-Lim The build passes on github actions!!! Shall we pull the plug on Jenkins?

@alexmillane Yes please!


Feature/regexmatches

This feature changes the templating system somewhat and introduces matches based on regexes.
For instance, you're now able to conditionally hide/show/template with regexes
environments:
  main:
    cronjobs:
      - name: drush hourly cron
        schedule: "M * * * *"
        command: drush cron
        service: cli
      {{- if regexMatch "myproject" .projectName }}
      - name: My Examples
        schedule: "M * * * *"
        command: echo - hello from my project
        service: cli
      {{- end }}

Yeah, this is a neat solution without adding too much specialty mechanics.
Understanding the full purpose that someone building out multiple projects from a single scaffold repository and being able to template the resulting .lagoon.yml without having to bloat it with all the additional stuff like a polysite style .lagoon.yml could.


Test com rgi common util classes

Coverage increased (+0.35%) to 56.19% when pulling 58381e7b31749c39eec06188ed8909c54a6de52f on Test-com.rgi.common.util-classes into 939d15421113f47fedaeb1a826588a9f4b865ffd on master.


Update outdated link to Google Groups Forum to correct URL

Hi Felix,
I've merged this pull request into master. Thanks for your contribution!
Cheers,
Mat


use docker-in-docker instead of mounting the host docker daemon socket

This allows us to ship a version of Docker separate to Kubernetes, allowing us to write multi-stage images like in #142. I feel like this is a safe change because we only care about the build capabilities of the engine as opposed to Kubernetes being concerned about the runtime capabilities. It should be fine as long as the docker image format is backwards compatible.

I can take this on!

PR #163


deploy on openshift origin

as we know, openshift origin run container as non-root, but gogs container need root priviledge. so how to deploy gogs on openshift origin 1.2 with edit scc?

Hi, what makes you think but gogs container need root priviledge?
Also, please follow up this question on https://discuss.gogs.io/


Fix db methods

Coverage remained the same at 49.746% when pulling d939cae367b7ef5efb0786d3f4c8cae68a52d6a8 on dbfix into 39e1cc0b7b3d1173b69e837a7bbc6e339c939fff on master.

Coverage remained the same at 49.746% when pulling 43d3471816584b9518ef085d5df973f8f62a6274 on dbfix into 39e1cc0b7b3d1173b69e837a7bbc6e339c939fff on master.


Loading component in fragment with usage: "Uncaught Error: The name of the component is undefined."

Hi,
not sure if it's a bug or a feature...
Loading of components in fragments by configured usage, works only if enclosed by component.runAsOwner.
See exaple provided below.
App.contoller.js function handlePressWorks Works as expected.
App.contoller.js function handlePressBroken Well, is broken...
OpenUI5 version: 1.52.19
Browser/version (+device/version): All
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
https://plnkr.co/edit/32jCltN2VErODLszAGOQ?p=preview
Steps to reproduce the problem:

Open console (F12)
Press "Brocken!" Button
See @log for "Component-dbg.js:2022 Uncaught Error: The name of the component is undefined."

What is the expected result?
Dialog schould oupen like pressed "Works!" Button
What happens instead?
"Component-dbg.js:2022 Uncaught Error: The name of the component is undefined."
Any other information? (attach screenshot if possible)
Kind Regards
Markus

In general, I see the same behavior with older versions
The question is forwarded to the dev team for clarification on the required settings for loading other component into the current component, via #1880578895

Hey @sukramAxians,
thanks for reporting this.
The working example seems to be the only way to get this working right now.
Without calling this.getOwnerComponent().runAsOwner within the controller, the owner component is not propagated and therefore, the ComponentContainer fails to create the "usage" component defined.
It seems that the ComponentContainer is not prepared for being instantiated with a "usage" property but without having an owner component defined, that's why the error message is confusing and not really helpful.
So we have two things that should be improved:

Better error message in ComponentContainer for this scenario
Check for a better solution to create fragments (or controls in general) from a controller method by ensuring to propagate the owner component. This should also be documented somewhere in the Developer Guide.

Hi,
pretty old issue...
Anyway, in the meantime the proposals of @matz3 have been implemented for quite some time already.
So if you are still interested there is an asynchronous loadFragment() function on the sap.ui.core.mvc.Controller class that takes care of the Owner component setting internally.
Adding the Fragment content to the dependents aggregation of the view is also implicitly done, but you can opt out if needed:
https://ui5.sap.com/#/api/sap.ui.core.mvc.Controller%23methods/loadFragment
I fixed the broken path in this plunkr:
https://plnkr.co/edit/JFXYVbotyFfnlij2
BR,
T

PS: forgot to tag @sukramAxians, so you get a notification :)


Fullscreen doesn't work in OS X

Setting Scene -> Project Settings -> display -> fullscreen to "on", doesn't do anything in OS X. Pressing F5 or F6 runs the project/scene windowed.
It works well on Linux, though.
(I'm using OS X Yosemite (10.10.3).)

Tested on git HEAD.

i'm not very sure how this works in OSX, and don't have a  mac to test, do
you think you could help out fix this?
On Mon, May 4, 2015 at 7:32 PM, Ricardo Pérez<EMAIL_ADDRESS>wrote:

Tested on git HEAD.
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1811#issuecomment-98872686.

I'm a totally newbie in OS X programming :(. Do you have any clues? I can try some tweakings and compile in my Mac to see what it does. Do you know in what files may I start to look at?

There's a window manager demo to test all that stuff, one of the buttons
makes the window fullscreen. See what function that button is calling (from
OS probably). When you use settings (or command line) to go fullscreen, the
actual call would happen on OS_OSX::initialize (on platform/osx/os_osx.cpp,
see examples on OSWindows::initialize and OS_X11::initialize). See if
that's happening. initialize() should call the same thing that gets called
on the WM demo I guess. Fullscreen on OSX was kinda tricky, there was more
than one way to do it, but I think you can test all of them on that demo.
On Tue, May 5, 2015 at 4:26 AM, Ricardo Pérez<EMAIL_ADDRESS>wrote:

I'm a totally newbie in OS X programming :(. Do you have any clues? I can
try some tweakings and compile in my Mac to see what it does. Do you know
in what files may I start to look at?
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1811#issuecomment-98982028.

I think I get it! I tried using toggleFullScreen: method and it works (at least, in my OS X Yosemite). I'll send you a PR soon.

Mmm, I speak too early... My PR fixes window_management demo, but setting Scene -> Project Settings -> display -> fullscreen to "on" still does nothing: when I press F5 or F6, the project/scene still runs windowed.

Well, the point is that the code on "set_window_fullscreen" (whatever works
there) needs to also run form OS_OSX::initialize when fullscreen is
requested via the configuration or command line.. that's what the other OSs
do and probably osx is not doing..
On Tue, May 5, 2015 at 6:16 AM, Ricardo Pérez<EMAIL_ADDRESS>wrote:

Mmm, I speak too early... My PR fixes window_management demo, but setting
Scene -> Project Settings -> display -> fullscreen to "on" still does
nothing: when I press F5 or F6, the project/scene still runs windowed.
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1811#issuecomment-99005781.

Yes, I'm working on it now, and I think I get it, but I'd like to do some more testing.


ci(Mergify): configuration update

This change has been made by @CAJan93 from Mergify config editor.
Automerge will not be possible if codecov detects coverage reduction.
Thanks for the codecov fix in https://github.com/risingwavelabs/risingwave-operator/pull/275 @xxchan
CC @arkbriar

Thanks for adding this rule. It is essential for quality assurance.


Hour of Code redirects

Let's organize URL's for Hour of Code pages

[ ] Move the 2020 Hour of Code page to https://arcade.makecode.com/hour-of-code-2020
[ ] Create a redirect from https://arcade.makecode.com/hour-of-code to https://arcade.makecode.com/hour-of-code-2021

What about having the /hour-of-code page be a compilation of all our HoC's then?
It's such a nice, easy URL to remember and I have aka.ms/arcadeHoC pointing there too.
Plus we're going to be putting $30K on paid Search advertising pointing to Hour of Code page this year.
I would hate for people to keep going to our old 2020 Hour of Code by accident and not be able to find our latest...


Add storage_options parameter to lance.dataset

Currently lance.dataset can read from any Azure/S3/GCP uri, provided the environment variables allow it to authenticate with the cloud provider.
However, it'd be good to allow lance.dataset(uri, storage_options), where storage_options is a dict as seen here:

import polars as pl

source = "s3://bucket/*.parquet"

storage_options = {
    "aws_access_key_id": "<secret>",
    "aws_secret_access_key": "<secret>",
    "aws_region": "us-east-1",
}

df = pl.scan_parquet(source, storage_options=storage_options)

This is important when you need to authenticate a read operation to a bucket, but you don't want to change the env variable.

We already have storage option parsing in Rust: https://docs.rs/lance/0.9.13/lance/dataset/builder/struct.DatasetBuilder.html#method.with_storage_options
So this is just a matter to exposing in Python. lance.dataset seems like a natural place to do that 👍


docs: tailwind page not getting display

https://db-ui.github.io/elements/?path=/story/00-intro-showcases--react-and-tailwind
There are JS errors as well on the console:

https://db-ui.github.io/elements/?path=/story/00-intro-showcases--react-vite-build
https://db-ui.github.io/elements/?path=/story/00-intro-showcases--react-and-tailwind

schade 🍫: https://db-ui.github.io/elements/?path=/story/00-intro-showcases--react-vite-build


Add websockets server to librespot

Adds web socket server. Badly coded, intended as PoC. Aka. Can't Recommend A Pull (request). Also updates spotify_id.rs with new methods.
It would be good to have something like a websockets server that makes it easy for users who do not have a good grasp of rust (me)/want to integrate with librespot in a relatively easy/quick manner for whatever project they are working on. Hence this PR includes some barebones functionality that allows one to get the current activity of librespot via a websockets server running on  port 3012. It would be good if someone who has a clue what they are doing could look at and rewrite it so that librespot is not hosting a websocket server in one part of the application, then starting a client in another part just to send out the messages. From there it would be possible to add things such as client side queries, proper metadata, play queues, etc.
Like I said, this code is rubbish, and should be left in a separate branch to master. As it currently stands there are a number of issues not limited to:

Client has to wait for next song to load before being able to see what song is playing
Client cannot query librespot, only listen to server events.
There is no control over what the websocket server sends out in any way. It would be perfectly possible for someone on your network to send JSON messages to the server to make all connected clients think Rick Astley was the only artist playing, etc. You get the idea.
Rubbish code, both in terms of design and implementation. Still, beggars can't be choosers.

S.

@plietar was just thinking back to what you mentioned in the other pull request, presumably one could use websockets for the ipc that you mentioned in the other pull request?

Not sure what PR you're referring to ? The volume control #148 ?
Then not really, librespot would be making the volume change requests to the mixer program, not the other way round.
Overall I think this functionality should live outside librespot. Spotifyd maybe ? I'd be happy to add infrastructure to pull the events out of librespot if needed, but the websockets API doesn't belong in here.


404 chosen.css not found

followed your build instructions, and it don't work.  From the server I get:
Failed to load resource: server responded with a status of (404 Not Found): http://localhost:9000/bower_components/chosen/chosen.css
This problem seems to appears because you only included chosen.min.css in the package that bower installs.
Am I doing something wrong here?

Are you sure that the bower_compenents folder is setup to be served properly by your local host server?

Yes, I have other components under that folder and they are working well.  As I mentioned, the issue appears to the that there is no chosen.css under that folder (only a chosen.min.css)

Just had another look now, you shouldn't need to include chosen.css as the angular-timezone-selector.css file is built with all of the CSS from chosen that is needed.

This problem is actually happening because of - https://github.com/harvesthq/chosen/issues/2324 . If we are going with including the chosen.css in angular-timezone-selector.css, should we remove the dependency on chosen in our bower.json?

It needs to stay in bower.json so that it will be downloaded to be built into the CSS when a fresh install is done


chore: Improve error messages on invalid schemas and response validation errors

TODO:

[ ] Documentation on schema validation (a separate section + FAQ entry on status codes)
[ ] Docstrings
[ ] Tests for schemas with references, big schemas (to see that the error message is still comprehendible), response validation errors
[ ] Refs to the jsonschema issue on patternProperties & TypeError
[ ] Handle prefixes for response validation errors
[ ] Better formatting for invalid schema messages (actual schema)
[ ] Specific error message for numeric status codes
[ ] Ensure that some frames are hidden - some details from jsonschema shouldn't bother the end-user
[ ] Show all references - if it is a separate file, then it should be clear, so people can look directly to that file and find the error cause faster
[ ] Display the proper spec version
[ ] Detect the "numeric status code" TypeError
[ ] Changelog entry

Resolves #834
Resolves #829

Codecov Report

Merging #843 into master will decrease coverage by 0.14%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##           master     #843      +/-   ##
==========================================
- Coverage   99.09%   98.94%   -0.15%
==========================================
  Files          62       62
  Lines        4201     4185      -16
  Branches      721      725       +4
==========================================
- Hits         4163     4141      -22
- Misses         18       21       +3
- Partials       20       23       +3

Flag
Coverage Δ

unittests
98.94% <84.61%> (-0.15%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/schemathesis/exceptions.py
93.33% <84.61%> (-6.67%)
:arrow_down:

src/schemathesis/extra/pytest_plugin.py
98.36% <0.00%> (-1.64%)
:arrow_down:

src/schemathesis/models.py
96.17% <0.00%> (-0.10%)
:arrow_down:

src/schemathesis/runner/impl/core.py
98.24% <0.00%> (-0.01%)
:arrow_down:

src/schemathesis/lazy.py
100.00% <0.00%> (ø)

src/schemathesis/hooks.py
100.00% <0.00%> (ø)

src/schemathesis/targets.py
100.00% <0.00%> (ø)

src/schemathesis/stateful.py
100.00% <0.00%> (ø)

src/schemathesis/cli/context.py
100.00% <0.00%> (ø)

src/schemathesis/cli/cassettes.py
100.00% <0.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


Noticeable performance hit when using gdscript vs c# to do >1000s of matrix and vector math operations per frame in a single loop

Godot version: Godot Mono v3.2.3 and Godot v3.2.3

OS/device including version: Windows 10, GLES3, Geforce 2060 rtx

Issue description:

I have this procedural hair generated using ImmediateGeometry:
https://user-images.githubusercontent.com/7292421/107883893-fb097d00-6eae-11eb-9c10-86a716994d3a.mov
Calculating all the vertice positions requires a lot of vector math (cross products and such) and then also has to be converted from local, to global, to local positions at one point. Doing this on my machine has a noticeable impact in the profiler:

Recreating this in C# gives about a 10fps improvement in my main project.
Can't really see frame time in the profiler but you can see the graph and compare:

Since math is done in c++ I figured the issue was probably related to how gdscript handles loops or arrays and might be worth reporting.
Steps to reproduce:
see example project
Minimal reproduction project:

contains a C# scene and GdScript scene
ProcHairTest.zip

Duplicate of https://github.com/godotengine/godot/issues/36060. Please post your findings there as a comment.


commit status setter support manifest

test this please

BUILD on-build-config #283 : ABORTED

** BUILD Install-Ubuntu-14-04  #644: ABORTED
** BUILD SmokeTest-CIT  #875: ABORTED
** BUILD SmokeTest-FIT  #681: ABORTED
** BUILD Install-CentOs-6.5  #666: ABORTED

test this please

:+1:


--type flag for parameters

Would allow the user to filter between pollutant or meteorological parameters.
openaq parameters list --type pollutant

closing as this is already implemented:
https://github.com/openaq/openaq-cli/blob/main/cmd/root.go#L54


No Devices Detected

Hi,
I have some Refoss MSS305 Smart Wi-Fi Plug Mini which work well in the Refoss app. However they are not detected when installing the Refoss integration. Could you help, please?
Thank you,
Scott

Hello, Thank you for your feedback.
Refoss in HA currently only supports r10. We will upgrade the firmware of MSS305 in the future ,  later update the HA support documents.


More links on federated users and MFA for IAM

From discussion in Slack:
In security section:

Mention that it's possible to enforce MFA-only via IAM policy (use case is #237 from @pingles )
Mention federated users (e.g. AD FS) and also how it is one way to get MFA

Links to these (or anything better?) in security section:
https://aws.amazon.com/blogs/security/how-to-delegate-management-of-multi-factor-authentication-to-aws-iam-users/
https://aws.amazon.com/blogs/security/how-to-implement-federated-api-and-cli-access-using-saml-2-0-and-ad-fs/
Are there better links or resources on these topics?
Maybe: https://www.youtube.com/watch?v=_wiGpBQGCjU

https://aws.amazon.com/blogs/security/how-to-enable-mfa-protection-on-your-aws-api-calls/


End goal?

I came across your project on one of my feeds… What's your project's end goal? I see some issues you've created which to me seem very complex and large scope of work involved￼

Thank you for your attention to this project. I started this project to explore Go's ability to write operating system kernels. Currently it can run most of Go's standard libraries and third-party libraries, so I want to port more capabilities in to make it look more like an operating system :)
In the short term, I plan to port nuklear and fauxgl to support the GUI interface. For more plans, refer to the Roadmap in the README.
In the long-term, I plan to port to my Raspberry Pi to explore the use of go unikernel in the embedded field.

Thanks! I'm especially interested in Unikernels and found your project interesting as a way to package services written in Go to run as a virtual machine guest.

One question. Do you have a fork/branch of this codebase somewhere that is a minimal viable product in the sense that it has enough to run most/some of the Go runtime and functionality without all the bells 'n whistles you've added since then?
I'm interested in purely what it took to get Go running at all on bare-metal and a minimal viable Go Unikernel.
Do you have a Commit SHA where you thought to yourself, "cool this is working quite well! Now let's add more cool features?"

Sorry, but there is currently no branch or commit id that contains the minimum Go runtime code. In fact, most of the driver modules are pluggable, and advanced features (such as js interpreter, nes simulator) are implemented through the code in the app directory.
If you want to know how these drivers are initialized, you can look at the code of kmain/main.go. The initialization functions inside are used to initialize some drivers. By deleting all these codes, you can directly run ordinary go codes. But functions such as fmt.Println cannot be used.

Later I will add more documents to describe how the code works, how to add new drivers, how to implement new syscalls, and how to add new commands.


Impossible to run npm run dev

Describe the bug
I'm unable to run scripts from the project.
To Reproduce
Steps to reproduce the behavior:

npx @vuesion/create project-name '...'
After installation finished i ran npm install then npm run dev '....'
<EMAIL_ADDRESS>dev appears then NODE_ICU_DATA=node_modules/full-icu nuxt -o '....'
'NODE_ICU_DATA' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

I also tried to install via git clone then npm install but got same result
I have Nodejs 17 installed and npm 8.1
Screenshots

I have the same issue, I believe this is because NODE_ICU_DATA=node_modules/full-icu nuxt -o in windows will try to run NODE_ICU_DATA instead of setting the variable.
To set a variable in windows it uses SET VAR=VALUE.
I managed to get it running by changing the line in package.json to "dev": "SET NODE_ICU_DATA=node_modules/full-icu && nuxt -o"

@Loopios7 can you do me the favour and try if https://www.npmjs.com/package/cross-env could be a viable option to support windows in this case? Then I will include it in the next update.


Request for an event

Please provide the following information

Is this event for college students or professionals?

How many folks do you expect will attend this event?

When do you want this event?

Language of the event?

[ ] fill this google form.

too add in index in html


Node evacuate

It should be possible to "evacuate" a node for example before doing maintenance work (or before terminating a node). Evacuate could just disable node from accepting any new services and reschedule stateless services to different nodes .

It should also stop service instances that cannot be moved.

Blocking on #1873

@jnummelin still working on this (assigned), or bump to 1.3.0?

I did have a poke around this BEFORE #1873 got merged. Most likely it will be easier to start over again. So not really working on this currently. I'll un-assign it for now.


yaml

3.Prepare the yaml file for the RandStainNA  Hello, may I ask when will this YAML file be uploaded or what format is this YAML file in? I found that when I was trying to reproduce your code, without this YAML file, it seems that I cannot start training, and it gets stuck at the part where CAM images are generated.

The cam folder should contain what files?The files in the cam folder are generated during the training process or placed there beforehand？

where is the yaml file for the RandStainNA


generator: address bugs with migrations

Alaska Airlines Pull Request
Fixes: #160, #161
Summary:
Minor updates to file structure and migration.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 3.6.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Face enhancement process doesn't work

I found that the parameters of this part of code is a little confusing. I can't let it run according to the Readme, since the data path is not consistent in different files.

I found that the parameters of this part of code is a little confusing. I can't let it run according to the Readme, since the data path is not consistent in different files.

You can try ./face_enhancer/prepare.py, thanks for you feedback :)

I got:
XXX:~/EverybodyDanceNow_reproduce_pytorch$ python ./face_enhancer/prepare.py
Traceback (most recent call last):
File "./face_enhancer/prepare.py", line 7, in
face_sync_dir.mkdir(exist_ok=True)
File "/XXX/pathlib.py", line 1246, in mkdir
self._accessor.mkdir(self, mode)
File "/XXX/pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '../data/face/ '
XXXX:~/EverybodyDanceNow_reproduce_pytorch$
Any help is appreciated!

Yes, I also met the same problem. I could not find the face folder.


Missing CRAT workaround

Is there a workaround possible for APUs where the OEM/ODM has failed to include the correct CRAT table entries? For instance, I have an IBase MI988, which I know has a V1807B. Are the missing CRAT entries specific to the MI988 implementation, or will it be the same across all V1807B devices?
If the OEM can't update the BIOS with a corrected CRAT, can I find the appropriate values and hardcode them into the parsing code? Where would I find those values for this board?
Snipped from #435:
I should also point out that, even with code in ROCK to enable particular APUs, you may have difficulty getting amdkfd to come up on such devices. When trying to come up on an APU, the amdkfd driver expects your system BIOS to make a CRAT (component resource affinity table) available that describes the layout of the hardware (and the GPU in particular).
We have found that OEMs and ODMs that sold machines built using AMD APUs often did not make this table available in their system BIOS. As such, in the past we found that users were often unable to properly use APUs because of hardware settings outside of our control.
I don't know if this situation has improved with Raven Ridge, but it's something to keep in mind if you try to go off the "supported systems" path. :)
Originally posted by @jlgreathouse in https://github.com/RadeonOpenCompute/ROCm/issues/435#issuecomment-421821479

I also read about this BIOS dependency and I wonder why even when GPU is physically inside the CPU, the motherboard manufacturer can mess up the things ?
Also, provided that in the common case the manufacturer does not have this knowledge and relies on few AMD reference designs, doesn't AMD provide reference BIOSes with correctly set-up CRAT tables ? Because these unsolved relations AMD-Manufacturers reflect on the end users / customers.
I wonder where a customer can get a list of compatible motherboards with Component Resource Attribute Table set the right way.

Is this still an issue?  If not, can we please close it?  Thanks!

It is selfish to talk only for my case, but my main board works. PyTorch 2 ran successfully on my APU 5700G so AMD kind of did it. Let hope for even more powerful APUs in the future. But Josh started the thread.

It is not longer relevant for me, because I ditched the platform – for this reason among others. I don't know if it's still a problem for anybody else, but I guess if it was they either gave up also, or found a workaround.


[DOCS-3569] Add tagger_warmup_duration param to datadog.yaml

What does this PR do?
Adds the tagger_warmup_duration param to the datadog.yaml.  Info is based on this answer to a Github issue: https://github.com/DataDog/datadog-agent/issues/5667#issuecomment-640690972
Motivation
Requested by customer.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

Hi @maycmlee can you give a little more context on why this was requested to be in the main config? Generally we don't add these sort of configs to the config template since they are only used when a user is experiencing problems as they rarely need to be changed from the default. (we have lots of undocumented config flags :) )

Hi @gh123man, thanks for the explanation! I didn't realize this config is only used when a user is experiencing problems. There was a customer ticket where this config resolved their issue, and so they asked that it be documented. Maybe we can just add it to our docs somewhere then. Will go ahead and close this.

@maycmlee No worries! Perhaps we can put it in our troubleshooting docs?


Remove smtp_alive? (again!)

This was deleted in 9c276713 but was inadvertently reintroduced in ac7605bd.

So I might actually argue that we should re-add the use of this to the health check: it's a useful indicator, alongside the queue sizes, of overall health.

@SteveMarshall I went ahead and merged this and added a ticket to the icebox to reintroduce it later:
https://www.pivotaltracker.com/story/show/106093170

@tatyree :+1:


Add homebrew to readme ?

Just a quick note, you can simply use the brew install hidapi on OSX

The pull request has been approved https://github.com/Homebrew/homebrew-core/pull/41122
So the libusb version will take over the signal11
Thanks for the heads up


Let's add this to an image labeling tool like LabelImg!

Nice work, SAM is really cool! The first use case that pops into my mind is image labeling. Click on the object of interest, and you immediately get a bounding box or segmentation mask for the object. How can we add this to an open-source labeling tool like LabelImg?
https://github.com/heartexlabs/labelImg

Should be easy but the problem would be right now that the model needs at least 16 gb VRAM GPU to make an inference.

hahaha, using a segmentation model to create training data for another segmentation model (such as yolov8): segmentception!
actually it is a clever idea but the issue here is, errors in the output of the first segmentation model will be carried forward to the second model

Should be easy but the problem would be right now that the model needs at least 16 gb VRAM GPU to make an inference.
Such requirement is not a big problem. With manual labeling you will not create a huge server loading. And the best way is to create lxc/docker image with rest/grpc service to segment posted images. After that no problem to use it in LabelImg, Supervisely or Roboform)

Should be easy but the problem would be right now that the model needs at least 16 gb VRAM GPU to make an inference.

One way I was thinking to deal with this was to generate the model embeddings before hand on colab or some cloud provider for all the input images and store it in some format eg. npy. Then, on our local setup even with a small laptop gpu, we will be able to tag the images properly.

hahaha, using a segmentation model to create training data for another segmentation model (such as yolov8): segmentception!
actually it is a clever idea but the issue here is, errors in the output of the first segmentation model will be carried forward to the second model

@EdjeElectronics Yeah it wont be perfect but very useful as the initial data will be segmented and our labelers/taggers our job will be to refine the segmented region properly instead of segmenting from scratch.

@yogendra-yatnalkar that is a good idea really, if coupled with a nice gui (with eraser, and markers options to fix the borders, or combine the split regions, coupled with practical labeling). but SAM's inference speed is a bit slow, that may be the problem when dealing with large number of images

Might be useful, basically does what's being discussed here. Wrote a barebones GUI over SAM's decoder to label objects quickly and save them in COCO format. Requires you to extract embeddings for your images first and I have added a small helper script for that, it can be a part of the GUI most likely. Any contributions appreciated.
https://github.com/anuragxel/salt

hahaha, using a segmentation model to create training data for another segmentation model (such as yolov8): segmentception!
actually it is a clever idea but the issue here is, errors in the output of the first segmentation model will be carried forward to the second model

Since SAM doesn't churn out labels, I feel its necessary

Check out my work of Segment Anything integration to AnyLabeling - a fork of LabelMe.
Video: https://www.youtube.com/watch?v=5iQSGL7ebXE
Note: Work in progress. Welcome your comments.

I have created a simple gRPC tool for SAM that allows users to create SAM models on a server, while the local client only needs to receive the server's results. This means that when improving tools like labelimg in the future, we can create models on powerful servers and the local computer can obtain results in real-time through network communication.
the simple grpc tool of SAM: https://github.com/captainfffsama/sam_grpc

I also created a matplotlib GUI to interactively create and export masks, which can be run either in Colab or locally:
https://github.com/fsemerar/segment-anything-gui

You can now use SAM within 3D Slicer using the TomoSAM extension. We also added a video tutorial to get a quick start


[Git] Package and baseline creation form should emit events from a UI thread

GtGitPackageAndBaselineCreationForm>>#magritteAcceptAction now dispatches events from a UI thread


Disable level up folders navigation for the start folder set to the OpenDirectoryControl control

Is it possible to stick to the folder set in the OpenDirectoryControl control (start folder), meaning I can't navigate backward (disabling level up folders up to the start folder and also disabling three-dot button from the top right of the control)?

@melcug There is no such feature in the current code. Could you please explain me your use case for this specific behavior? I would like to know the context for a new feature before I start implementing it.


[AREA]: Manage project budgets

Contact details
<EMAIL_ADDRESS>Organization type
Microsoft employee
End-to-end business process
Project to profit
Specify the business process area name for the article.
Manage project budgets
Enter any additional comments or information you want us to know about this business process area.
Draft in progress
Specify the date you expect the article to be completed and ready for review.
7/31/2023
Code of Conduct

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

This was merged into other Project to profit and Record to report areas.


chore: fixup release action versioning and notes process

What this PR does / why we need it
Makes sure that release notes are correctly drawn in and that we always have the version set correctly in our CTFs.
Which issue(s) this PR fixes

This fixes up the release action in 2 important ways:

As part of the removal of the release notes we now no longer have a file to use for release notes to give to goreleaser. This means we have to temporarily create one
While discovering this I noticed that the Component Versions that are built, are actually using the VERSION variable while EFFECTIVE_VERSION is a combination of VERSION+COMMIT by default. I didnt want to change this behavior originally, so now I started to use VERSION for the Makefiles (which also means I had to export them as settable). This now leads to correct CTF versions v0.19.0-rc.1 instead of v0.19.0-dev for example.

As such its a follow up from https://github.com/open-component-model/ocm/pull/1120 and https://github.com/open-component-model/ocm/pull/1077

you're planning to get rid of the individual makefiles sooner or later, right?
Otherwise it might be worth thinking of using include ... ?

Currently unplanned, but we can create an issue for this so I can take care of it. I would really like to just get the releases working right now.


Opacity

Hello, thank you for the plugin, it's the best of both worlds!
Is it planned to add opacity settings similar to hsl-radix-colors? I feel it would bring the color palette even closer to Tailwind.

Thank you for the feedback :) I'm glad you find the plugin useful!
It's not something that we were originally intending to support but I can have a look into this. What would be the use-case / preferred syntax to introduce opacity just to make sure I've understood the request correctly

I see what you're saying :)
There are currently both variants in the hsl and hsla color space. This is how the original Radix palette exposes the alpha value and they provide a set of presets.
Allowing users to set the opacity value explicitly (tailwind style) will be more consistent with tailwind's behaviour but deviate somewhat from Radix's original behaviour.
For example with the color amber the package has both amber and amberA available:
amberLight: {
100: 'hsl(39, 70.0%, 99.0%)',
200: 'hsl(40, 100%, 96.5%)',
300: 'hsl(44, 100%, 91.7%)',
400: 'hsl(43, 100%, 86.8%)',
500: 'hsl(42, 100%, 81.8%)',
600: 'hsl(38, 99.7%, 76.3%)',
700: 'hsl(36, 86.1%, 67.1%)',
800: 'hsl(35, 85.2%, 55.1%)',
900: 'hsl(39, 100%, 57.0%)',
1000: 'hsl(35, 100%, 55.5%)',
1100: 'hsl(30, 100%, 34.0%)',
1200: 'hsl(20, 80.0%, 17.0%)',
},
amberLightA: {
100: 'hsla(40, 94.9%, 38.7%, 0.016)',
200: 'hsla(40, 100%, 50.3%, 0.071)',
300: 'hsla(44, 100%, 50.1%, 0.165)',
400: 'hsla(43, 100%, 50.0%, 0.263)',
500: 'hsla(42, 100%, 50.0%, 0.365)',
600: 'hsla(38, 100%, 50.1%, 0.475)',
700: 'hsla(36, 99.9%, 46.2%, 0.612)',
800: 'hsla(35, 99.8%, 46.0%, 0.832)',
900: 'hsla(39, 100%, 50.0%, 0.859)',
1000: 'hsla(35, 100%, 50.0%, 0.891)',
1100: 'hsla(29, 100%, 33.6%, 0.980)',
1200: 'hsla(20, 99.8%, 14.1%, 0.965)',
},
Also note that the hsl component between amber-1200 and amberA-1200 are not the same.


Allow pages to stop from navigating away, e.g. if there are unsaved state changes

Hello,
I am going to start a web project with Flutter, for another project use the Fluro library, however, I could not solve the following problem:
If a user is on a page that contains a form and is making modifications is said form, I would like that if he tries to exit without having saved the modifications (either by putting another url, with the browser's backbutton, ...) it would show him an alertdialog giving him the possibility of canceling the navigation to the new url or, on the contrary, of canceling the modifications and staying on the same page where he is.
The question is, can I do this with vrouter?
vrouter has any mechanism by which this functionality can be achieved?
Please, if this functionality is possible with vrouter could you give me some indications.
Thank you so much for all the help.
Regards,
Jose

Hi,
I think you will have a hard time finding a ready-to-go solution because Flutter does not implement this (and therefore many of the libraries build on top of Flutter do not).
I did see a discussion about this on the Flutter repo (I don't have the reference unfortunately).
I see 2 solutions to your issue (both should be applied):

Find the issue in the Flutter repo, upvote it and explain your use case in the comment
In the meantime, implement your own solution. This should not be too hard with the dart:html package since it provide easy interactions with the browser native functionalities.

I will close this for now, feel free to reopen if needed


ircbot: do not display shift change info on weekend

Signed-off-by: Will Gordon<EMAIL_ADDRESS>

[test]


Support 2019.1

Thanks for the contribution, but I have fixed this in a different way to prevent this issue in the future.
Any future contributions are welcome and thank you for bringing this issue to my attention!


demo services available in ES5 demo system

Hi,
I'm working with demo system ES5 of SAP NW Gateway. I obtained an account to that system via page https://register.sapdevcenter.com/SUPSignForms/
What is strange to me is that I do not see any demo services available in SAP Gateway Service Builder (tcode SEGW).
Does anybody have an idea how to try out any service in there?
thanks

Some demos had to be left out, as they were either too hard to support on a shared system, or they couldn't run because there is no HANA system behind ES5.
Feedback on the internals of that system are best asked on the ES5 system blog post.  Alternatively, ask the question in SAP Q&A, and tag it ES5.   The teams that support the ES5 demos can explain any of the decisions on what to include, and what they can't include.


Feature: Ratelimiter to not get banned off of Twitch

In collaboration with @3ventic I've created a ratelimiter for the Twitch IRC chat. This pull request hooks the ratelimiter in the client._sendMessage function so that your Twitch bot never gets banned due to ratelimiting. Right now the message limit is set to 100 message following the Twitch IRC specs for channels the bot is moderator in. Maybe integrate a check whether the bot is modded?
Currently non-modded channels the bot is in, it is still in risk of getting banned. I might take a look at that if you think it's worth looking into.
Workflow

Client calls the prototype._sendMessage()-function.
The ratelimiter checks whether the index is at a 100 and then sets it back to index: 0 (so there is no more than 100 timestamps in the queue).
Then it takes the timestamp from queue with the index (this.queue[this.index]) and checks what timestamp is in that specific spot.
It then checks if the timestamp + 30000ms (30 sec) is passed the Date.now(), it is allowed to be overwritter, because it's expired.
If step 4 is expired, then you're allowed to overwrite it and thus send a message.
If step 4 is not expired, you're not allowed to send a message

Tested using the following script:
test.js
var irc = require('./index');

const options = {
  options: {
    debug: true
  },
  connection: {
    cluster: 'aws',
    reconnect: true
  },
  identity: {
    username: '<username-here>',
    password: '<oauth-token-here>'
  },
  channels: ['<channel>']
};

var client = new irc.client(options);
client.connect();

client.on('chat', function chat(channel, user, message, self) {
  if (message === '!test') {
    for(var i = 0; i < 101; i++) {
      client.say(channel, 'Hello World')
        .then(console.log.bind(console, 'SUCCESS:'))
        .catch(console.log.bind(console, 'CATCH:'));
    }
  }
});

Shell:
$ node test.js

Twitch chat:
4:39 Me: !test
4:39 Bot: Hello World
4:39 Bot: Hello World
4:39 Bot: Hello World
4:39 Bot: Hello World

Shell:
SUCCESS: [ '#channel', 'Hello World' ]
SUCCESS: [ '#channel', 'Hello World' ]
SUCCESS: [ '#channel', 'Hello World' ]
SUCCESS: [ '#channel', 'Hello World' ]
CATCH: Ratelimit reached.
CATCH: Ratelimit reached.

Let me know what you guys think!

First, this would need to be a configuration setting so that it could be enabled/disabled for various reasons. This doesn't take into account non-modded bots as you said and could be an issue if relied on for that when a multi-channel bot could easily be demoted and would be vulnerable to Twitch's consequences on accidental circumstances. Personally, I'd prefer to roll my own or use some queuing module that could be tinkered with to suit my needs so that it won't drop messages and be smarter about the current situation. This addition just barely gives a minimum amount of security and doesn't feel necessary.

I agree that there should be something in place; it should be
configuration-based.
Does the twitch rate limit take into account which channel you're in? If
not, then one queue for all channels is fine, otherwise it also needs to
give each channel its own queue.
Joseph Cellucci
Software Developer
ITA Group
<EMAIL_ADDRESS>On Sun, May 15, 2016 at 10:38 AM, Jacob Foster<EMAIL_ADDRESS>wrote:

First, this would need to be a configuration setting so that it could be
enabled/disabled for various reasons. This doesn't take into account
non-modded bots as you said and could be an issue if relied on for that
when a multi-channel bot could easily be demoted and would be vulnerable to
Twitch's consequences on accidental circumstances. Personally, I'd prefer
to roll my own or use some queuing module that could be tinkered with to
suit my needs so that it won't drop messages and be smarter about the
current situation. This addition just barely gives a minimum amount of
security and doesn't feel necessary.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/Schmoopiie/tmi.js/pull/131#issuecomment-219292806

My understanding is that there's a different rate for PRIVMSG commands by regular chatters, mods, broadcasters, probably admins/staff, and for different commands, per channel or otherwise, also a data limit per connection before it just disconnects... Perhaps @3ventic or @Xangold has more information to share as a staff or knows of resources that give more detail on the subject.

@AlcaDesign I still feel like it would be inefficient to not bake in rate limiting into the library, because it is an actual Twitch IRC rule and it can get you banned. You're basically forced to implement it by yourself and letting all the library users bake in their own implementation would be a waste of time. I do agree that there are different use cases for command and message queuing, but I feel like ratelimiting is important to all users of the library.
In my own project I am currently just proxying the client.prototype._sendMessage function in order to achieve this ratelimiting, which is works, but it doesn't feel right. If you have found a way to do this in a prettier way, I am open for suggestions 😄 .
@celluj34 The rate limit is per channel, so you're right. The implementation should be a bit different, because I assumed just one channel, which was my mistake. My suggestion would be having a ratelimiter instance for each channel joined.
var internalRateLimiters = {
  "#channel1": new RateLimiter(),
  "#channel2": new RateLimiter()
};

client.prototype._sendMessage = function _sendMessage(delay, channel, message, fn) {
  if (internalRateLimiters[channel] && !internalRateLimiters[channel].canSendMessage()) {
    return reject("Ratelimit reached.");
  }
  ... other code
}

Thanks for the comments though. I feel like it's good to get this discussion going, because it can save other people's time implementing this feature.

The rate limiting is global, but does take channel status into account. Sending 25 messages in 30 seconds in a channel where you're a mod won't get you locked out, but sending a message after those 25 within the same 30 seconds to another channel where you're not a mod will lock you out.
Any rate limiting included in the library, in my opinion, should be off by default and the rate should be configurable. Bots running on other people's channels generally don't go above 20 per 30 even if modded to avoid a sudden unmod from messing with things.

Thank you very much for your contribution, @inooid and @3ventic :+1:
If you could change the target branch to "next" (You won't need to change much as you created a new file) I would really appreciate.
If we introduce this feature, we would need it configuration-based and disabled by default as there are some very large applications (bots and notifiers) using tmi.js and they won't benefit from this feature as they have their own rate limit implemented.
Let's leave this PR open and see what the community has to say!

great feature!


[BUG] - Map format not supported

Describe the bug
The bug seems to be that there is no map available when show path or show location is set. Disabling both of these options causes the map to load, but doesn't show me the cleaning path or the location (important to knowing the robot state in my opinion). Device is a Lubluelu SL60D which is marked as supported
To Reproduce
Steps to reproduce the behavior:

I added the Sweeping Robot Open Service to my cloud project
Configured this tool with the config flow

Version:
Core
2023.12.3
Supervisor
2023.12.0
Operating System
11.2
Frontend
20231208.2
Log entry
2023-12-21 11:57:53.537 ERROR (MainThread) [custom_components.tuya_cloud_map_extractor.config_flow] not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/simplejson/__init__.py", line 514, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/simplejson/decoder.py", line 386, in decode
obj, end = self.raw_decode(s)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/simplejson/decoder.py", line 416, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/tuya_cloud_map_extractor/tuya_vacuum_map_extractor/main.py", line 47, in parse_path
data = response.json()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/tuya_cloud_map_extractor/config_flow.py", line 57, in async_step_user
headers, image = await validate(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tuya_cloud_map_extractor/config_flow.py", line 214, in validate
return await hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tuya_cloud_map_extractor/tuya_vacuum_map_extractor/main.py", line 188, in get_map
path = parse_path(response, scale=scale, header=header)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tuya_cloud_map_extractor/tuya_vacuum_map_extractor/main.py", line 51, in parse_path
path_data = decode_path_v1(data)
^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tuya_cloud_map_extractor/tuya_vacuum_map_extractor/v1.py", line 111, in decode_path_v1
x, y = [_deal_pl(_highLowToInt(high, low)) for high, low in _partition(point, 2)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tuya_cloud_map_extractor/tuya_vacuum_map_extractor/v1.py", line 111, in <listcomp>
x, y = [_deal_pl(_highLowToInt(high, low)) for high, low in _partition(point, 2)]
^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)
2023-12-21 11:58:58.851 WARNING (SyncWorker_8) [custom_components.tuya_cloud_map_extractor.camera] Unable to parse map data
2023-12-21 11:58:58.852 ERROR (SyncWorker_8) [custom_components.tuya_cloud_map_extractor.camera] not enough values to unpack (expected 2, got 1)
2023-12-21 12:01:15.617 WARNING (SyncWorker_4) [custom_components.tuya_cloud_map_extractor.camera] Unable to parse map data
2023-12-21 12:01:15.618 ERROR (SyncWorker_4) [custom_components.tuya_cloud_map_extractor.camera] not enough values to unpack (expected 2, got 1)

Check out version v1.2.1! Added error logging for this problem to helo figure it out.

Hi! I updated and now it doesn't crash.... but I get this...

Recently restarted home assistant and got this log
2023-12-26 22:31:13.953 ERROR (SyncWorker_3) [custom_components.tuya_cloud_map_extractor.tuya_vacuum_map_extractor.main] Failed to parse path: b'AAA4AAIAAAB8AAABqfNp/Yr7M/2o+zP9vPsz/cb7Pf3a+1v9+Pt5/hb7g/4++5f+XPur/oT7v/6i+9P+rPvn/rb7+/7K/A/+1Pw3/sr8X/7K/HP+tvxz/qL8ff6Y/H3+jvyH/oT8ff5m/If+XPx9/kj8c/4+/H3+Pvxz/jT8ff4q/H3+IPxzCAARfQgAURb8c/4CBADxDmn97vxz/eT8ff3a/If90PyH/cb8c/28/Gn9svxpCADZ0Pxf/eT8af3k/HP92igAEX0gAPEWqPxf/Yr8X/12/Gn9bPx9/Wz8kf1s/Jv9dvyv/YD8r/12/KX9dhQAABwAAEgAcVX9+Px9/e4EAAAQAApYAAJ8AHVf/ZT8X/2AVAATh0gAAFgAMaX9bAQAE5tsANWH/y78m/8k/KX/LvylCADxRhr8kf78/H3+6Pxp/tT8Vf62/Df+ovwj/pj8D/6E+/v+cPvn/lL70/4++7/+Kvur/hb7l/34+4P95Pt5/cb7Zf3Q+1v9vPtR/dr7Pf3Q+yn92vsp/dC0AQK8AROyyAFxnvsz/ZT7M9gB8ASA+zP9dvsp/Wz7Kf1Y+zP9bPsz'
2023-12-26 22:31:13.953 WARNING (SyncWorker_3) [custom_components.tuya_cloud_map_extractor.camera] Unable to parse map data
2023-12-26 22:31:13.953 ERROR (SyncWorker_3) [custom_components.tuya_cloud_map_extractor.camera] not enough values to unpack (expected 2, got 1)

Could you perhaps enable debug logging, so i get the files from your vacuum to fix it?
Enable debug logging:

Call service camera.turn_on

Disable debug logging:

If the logs are not downloaded automatically, download the logs:

And upload them here.

error_log-1.txt
Sure, no worries :)

The path data doesn't seem to make any sense at all. I am working on a new local implementation to get the path data direct from the robot. Hopefully that will fix it!

Strange. This is the path in the smart life app. It looks reasonable here.

It is! But some of the coordinates i get are: [-51.0, -102.4], [-382.6, -2713.3], [-435.6, -2969.3]. First of, they shouldn't be negative, and they shouldn't be jumping several thousand pixels.
I'll check the OEM apps code if there is something there that i have missed.

Is the path also vacuum variant specific encoding? (Believe I read that the maps are encoded differently based on the vacuum?). Has it been proven working on the SL60D?

It's not vendor specific per sé. Tuya has a few different versions, with different implementations. It's possible that this is a compressed format of the version that the vacuum uses. A different implementation of the same format.
The SL60D is in the supported devices. But as it is confirmed working by individual users, it is possible that the path was not enabled or not working.

Is there any support I can give here? Generally how do you find the path? Is there a list of documented types or something?

I'm not sure how you could help, as i don't know how to proceed myself.
Generally, to find the path, you remove the header from the binary file, then do some binary magic, which i frankly do not understand. It is all just translated from the functions in the panel demo tuya has published.
There isn't any defined standard, it is all reverse engineered from the example above. I have only implemented the bare minimum to get it working, but it is possible that the data types that are not working is compressed or something. As soon as i get enough time i will look into the open issues which seems to have the same problems.

I've bought another one of these vacuums so now I'd really like to help hahaha. Do you have suggestions or more knowledge on what needs to be asked and I'll submit a tuya iot cloud support ticket


Hit detect symbols with declutterMode: 'none'

This pull request fixes hit detection for features with renderMode: 'none'. Previously, these were not hit detected.

Thanks for the review, @MoonE.


Error during deploy_eip4788_contract_in_background using default config

INFO[0004] ------------ EXECUTING PACKAGE ---------------
2023/10/18 09:45:09 error occurred while running starklark package
 --- at /Users/bsamuels/projects/attacknet/pkg/kurtosis.go:101 (StartNetwork) ---
Caused by: Evaluation error: '/sender.py' doesn't exist in the package 'kurtosis-tech/ethereum-package'
	at [github.com/kurtosis-tech/ethereum-package/main.star:104:72]: run
	at [github.com/kurtosis-tech/ethereum-package/src/eip4788_deployment/eip4788_deployment_launcher.star:6:38]: deploy_eip4788_contract_in_background
	at [0:0]: upload_files
 --- at /Users/bsamuels/go/go1.20.3/pkg/mod/github.com/kurtosis-tech/kurtosis/api/golang@v0.83.11/core/lib/enclaves/enclave_context.go:498 (getErrFromStarlarkRunResult) ---

Thanks for filing the issue! It seems like you're using our sdk version 0.83.11. If you update to latest (0.84.7), this issue should be resolved. We've made updates to how we identify file locations in packages since 0.83.11.

Closing this out, but please let me know if the issue persists!


Add PHP 8.0/8.1 to Timber 1.x matrix

Related:

https://github.com/timber/timber/issues/2580
https://github.com/timber/timber/issues/2548

@nlemoine Thanks a lot for taking this on. Now, what do we need to move this out of draft status?

Hey @gchtr
I had some weird issues running tests (some "segmentation fault" with no valuable message). I solved them and finally almost fixed the tests. As you can see, some pass, some don't :

PHP 7.4 | WP latest (MS) : some problems with the WP-CLI cache clearing
PHP 7.4 | WP latest (with coverage) : I don't get why the clover file isn't readable, I didn't try much

Would you be interested to take this PR over?

Coverage increased (+0.8%) to 93.049% when pulling a7fdf59bf3e22dd548e0ead6936abcabdfec2d82 on 1.x-add-php-8-matrix into 8d9bff23d2677652469badb75dcb607449a18204 on master.

@nlemoine I think this is ready now. I added some fixes for PHP 8.1 deprecation warnings, e.g. when cropping images without rounding the new width and height first.
And I found the fix for the missing clover.xml file in a7fdf59 (#2638).
There’s still a couple of warnings, but they are mostly related to WordPress itself, where we have no control.
Just need a final approval so we can merge this in.

Good job @gchtr!

@gchtr @nlemoine I confirmed that the tests all pass with the merge of #2640. I was able to do a brief review of the code and new testing elements and am so humbled by how much cleaner and more sophisticated this leaves things. Lots of green checks!!!!


Add linting to deployment tools

Adds black, isort, and mypy to the deployment tools.

A handful of the type signatures are underspecified.  The under-specifications are almost always where we're getting back an arbitrary nested json from Azure and should verify the soundness before use, but that is future work beyond this PR.


[Event Hubs] Migrate to use TSHY and vitest

Packages impacted by this PR
@azure/event-hubs
Issues associated with this PR
N/A
Describe the problem that is addressed by this PR
This PR does the following:

migrates Event Hubs client library to the new world of using TSHY for building the library and using vitest as the test runner
consolidates client building in a single module and uses fully qualified name spaces and token credentials to build clients instead of using connection strings
runs mock-hub once instead of in every test module
~reverts GeoDR changes to earliestPosition because the service doesn't currently recognize the new representation~

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
N/A
Are there test cases added in this PR? (If not, why?)
N/A
Provide a list of related PRs (if any)
N/A
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Add documentation about libraries or techniques that are being use in the template

Why
When I was learning Flutter as a new joiner, I discovered that we use flutter_gen to generate the asset path. However, there is no official documentation that mentions this. The Flutter Training Path that we follow only refers to this document: https://docs.flutter.dev/development/ui/assets-and-images. Therefore, having proper documentation can help new joiners to become familiar with our conventions and techniques more easily.
The slack discussion is here.
Who Benefits?
Developers

Learning is part of a developer's role rather than the responsibility of the Maintainer of this project.
Having an instruction about running the command: flutter packages pub run build_runner build is necessary I agree, we can add it, but asking for all lib usages is too much to handle. We are not doing it in any project.

@lydiasama I added some helpful information to the template's supported features & libraries in this PR https://github.com/nimblehq/flutter-templates/pull/238. It somehow helps resolve your concern here. I agree with Trung that we should not put deep documentation of each library at this template level.


[Experimental][DNM] Trim the list of QEMU devices

Trim the list of devices to reduce the attack surface and binary size

/test

/test

/test

/test
CI is happy, let's try again

Hi @devimc - can you explain how config-devices.mak interacts with https://github.com/kata-containers/packaging/blob/master/scripts/configure-hypervisor.sh? aiui, running QEMU's configure script sets certain CONFIG_* options, so how do they get combined with config-devices.mak?

@jodh-intel configure-hypervisor.sh + ./configure disable/enable host's features (i.e kvm, xen, etc) and devices (i.e ac97, e1000, usb audio, vga, etc). Unfortunately there are no configure options to disable specific devices, for example there is no an option to disable e1000 (--disable-e1000), the only way to disable specific devices is editing config-devices.mak (CONFIG_E1000_PCI=n). Having said that, configure-hypervisor.sh + ./configure will be used to disable/enable host's features  and config-devices.mak to disable/enable devices.

/test

/test

/test
testing QEMU 4.1.0-rc2 + new cpu topology + qemu-mini (kconfig)

/test

/test

/test

CI is happy, but I'd like to see the metrics-ci failing :smile:  https://github.com/kata-containers/tests/pull/1861

/test

/test

/test

/AzurePipelines run

/test
@jodh-intel change applied, thanks

/test

moving changes to https://github.com/kata-containers/packaging/pull/688


Add registration entry point

When implementing https://github.com/eleurent/highway-env/pull/389, I noticed that import highway_envs was required for registering all of the environments.
This is quite annoying and pycharm raises this as a unnecessary import.
This PR adds a little-known feature in Gym called entry points that allows during import gym for environments to be registered in the background.
Therefore, users can now run
import gym

env = gym.make("highway-v0")

This feature has already been added to https://github.com/farama-Foundation/minigrid if you want to see a similar project with this feature.
Warning, I found for development this can cause issue if the project is not installed in editable mode as the entry point is not loaded or if running in the projects root folder then warnings are raised saying the environment are registered twice.
However, this shouldn't be an issue for a majority of users

Ah thanks a lot, I didn't know that gym had entrypoints! That's a really nice feature :)
As you said maybe its a little bit annoying for development, but I guess we can still do
import gym
import highway_env   # as before

highway_env.register_highway_envs()   # additional step

env = gym.make("highway-v0")

which is not too bad.


Generate missing bindings for ring_buffer_*

Linux 5.8 added a new ring buffer map type as a preferred alternative to the outdated perf buffer interface. This PR adds the missing bindings for ring_buffer_* functions in libbpf, which are used to interact with the ringbuf map.

Great! I'll cut a release now.

Great! I'll cut a release now.


Bad formating IN OUT parameters for procedures

Hi
After formating:
create or replace procedure dummy(
   A in
   out varchar2,
   b in
   out number
) is
--BEFORE EACH ROW
begin
   null;
end;

I assume something like
create or replace procedure dummy(
   A in out varchar2,
   b in out number
) is
--BEFORE EACH ROW
begin
   null;
end;

In this case I can use the "After formatting" case as input, right?
And yes, I agree. The line break before out should be removed. Thanks for reporting this.

You are right, you can use "after formatting" as test case.
Thank you very much.


2nd time

What type of PR is this?

[ ] Add a new dev container collection
[ ] Update to an existing dev container collection
[ ] Documentation/spec update
[ ] Other containers.dev site update (UX, layout, etc)

Related Issues

Related Issue #
Closes #

Description
Please replace this line with a description of your PR.
Collection checklist
If your PR contributes a new collection, please utilize this checklist:

[x] Collection name
[ ] Maintainer name
[ ] Maintainer contact link (i.e. link to a GitHub repo, email)
[x] Repository URL
[ ] OCI Reference
[x] I acknowledge that this collection provides new functionality, distinct from the existing collections part of this index.

Hi there - I don't think these changes quite align with the setup and needs of the website. Please let us know if you have further context though, thank you!


Prep things for release under Philosophie's name

@taboularasa #41

gem is named philosophies-suspenders
executable is philosophies-suspenders
version bumped to 2.0.0 — this is up for discussion... two routes I see we could go here: 1) continue off the versioning of thoughtbot's gem, making this 2.0.0 as it has breaking changes; or 2) start fresh at 1.0.0

Thoughts?

I vote go to 2.0.0 since we still have all their history in the repo and we also introduce breaking changes

:shipit:


Important! Need Maintainer

Hey Everyone,
Due to my busy schedule i am unable to work on this package for a while now, but i can see people still using this and have new issues and possible PRs ( kudos ), but i don't think i can reveiw them and merge them to the main package, so if someone is willing to become the maintainer, please reply to this issue.
Thanks!

Hello. I can keep track of the code.

Hey @raj457036 , I'm interested in helping maintain this repository. My top priority would be to keeping the package up-to-date with the latest Flutter version.

Hello. I can keep track of the code.

Hey @ahmetveysels,
I noticed your open PR, and it looks promising. Would you be open to discussing further about potentially taking over the maintenance of this package?
Looking forward to your thoughts.
Best

Hey @raj457036 , I'm interested in helping maintain this repository. My top priority would be to keeping the package up-to-date with the latest Flutter version.

Hey @ahmetveysels ,
Thanks for your interest in helping maintain the repository. I noticed that you haven't submitted any PRs yet, and your recent activity seems a bit low. Before we move forward, could you share more about your experience with Flutter and your plans for maintaining the package?
Looking forward to your response.
Best


Cannot build xunit template in F#, in .NET Core

Please provide a succinct description of the issue.
Repro steps
Provide the steps required to reproduce the problem

dotnet new xunit -lang F#

dotnet build

Expected behavior
I expect the project to build and it used to until a couple of hours ago.
Actual behavior
It now stopped building with the error below, suddenly. It used to work couple of hours ago and I haven't done any updates.
c:\work\src\testNetCore>dotnet build
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files\dotnet\sdk\2.0.0\FSharp\Microsoft.FSharp.Targets(224,9): error MSB4062: The "Fsc" task could not be loaded from the assembly C:\Program Files\dotnet\sdk\2.0.0\FSharp\FSharp.Build.dll. Could not load file or assembly 'C:\Program Files\dotnet\sdk\2.0.0\FSharp\FSharp.Build.dll'. Format of the executable (.exe) or library (.dll) is invalid. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [c:\work\src\testNetCore\testNetCore.fsproj]

Build FAILED.

C:\Program Files\dotnet\sdk\2.0.0\FSharp\Microsoft.FSharp.Targets(224,9): error MSB4062: The "Fsc" task could not be loaded from the assembly C:\Program Files\dotnet\sdk\2.0.0\FSharp\FSharp.Build.dll. Could not load file or assembly 'C:\Program Files\dotnet\sdk\2.0.0\FSharp\FSharp.Build.dll'. Format of the executable (.exe) or library (.dll) is invalid. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [c:\work\src\testNetCore\testNetCore.fsproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.52

Known workarounds
I rerun the installer for .NET Core 2.0 and choose Repair. This fixed it.
Related information

Operating system: Windows 10 Professional
Branch: not sure? Installed from installer.
.NET Runtime, CoreCLR or Mono Version: dotnet --version returns 2.0.0 . fsc has version 4.1.
Editing Tools (e.g. Visual Studio Version): Visual Studio Code latest version, but haven't actually used it on this new template
Links to F# RFCs or entries on https://github.com/fsharp/fslang-suggestions: n/a?
Links to performance testing scripts n/a
Indications of severity: I'd say critical. Out of the box templates should compile.

Also apologies if I submitted this to the wrong project, maybe it should be the https://github.com/dotnet/corefx ?

Per CONTRIBUTING.md please reopen at http://github.com/Microsoft/visualfsharp

Thank you, opened https://github.com/Microsoft/visualfsharp/issues/3567

Thanks!


can I share this project with my developer friends?

Hi @sudhakar3697, how are you?
Can I share this project with my developer friends?  Is there any image or trademark rights in this open source project that restrict the dissemination and promotion of this project?

Hi @nichdemos,
I am good, hoping you are doing well. Sure, no problem at all.

Hi @sudhakar3697, thanks!


Updating the client automatically

Is there a way to automatically updated the client when neovim is updated?
I'm trying to figure out a way that's better than this one.

If you use a plugin manager like vim-plug you can do this:
Plug '??', { 'do': 'pip install --upgrade neovim' }

(however I don't know what one would put in the ?? part, which normally points to a git repo containing a vim plugin. Maybe as vim-plug (or whatever plugin manager you use) a good way to "install arbitrary stuff without actually being a vim plugin". You could just point the ?? to your personal dotfiles repo, but maybe there's a better way.
Also many OS package managers include the python modules as part of the package system, so when you do, for example, apt-get update && apt-get upgrade, nvim and the python modules will be upgraded (assuming you already installed them). E.g. debian and ubuntu and possibly others already have this: https://github.com/neovim/neovim/wiki/Installing-Neovim#debian

@justinmk, I'm not sure the above will work if you're running inside a virtualenv.

I don't think we're prepared to do the gymnastics required to fiddle with people's virtualenv/pipenv/pyenv/...
Help would be very welcome. But the evidence thus far suggests python packaging is difficult to get right for the various versions and tools out there.

You could try this plugin by @roxma: https://github.com/roxma/python-support.nvim
If it works well and someone wants to upstream it into nvim (and handle the inevitable bug reports), it would be welcome.


What is the correct way to tune the model for a multi-class classification task?

I recently learned about your impressive project and wanted to try it in a Russian text classification project of mine.
Could you please guide me to the correct fine-tuning steps?
I'm a bit confused about the correct way to use your model: I've found several references in your repository (albert.py, finetune_mlm.py, also finetune_mlm.py) and I'm aware of bert-like model fine-tuning practices.
Should I pass the desired task name in the config file and then define the model as AutoModelForSequenceClassification.from_pretrained(...)?
thanks

Hi @valeriylo, sorry for the delayed reply!
The correct way to use the model is as follows:

Create the config as in finetune_mlm.py:L111-L113, setting num_labels to the number of your classes.
Then, load the model using L118-122 from the same file. Please note that AutoModelForSequenceClassification in our code is used for the RuRoBERTa baseline and will not work for RuLeanALBERT.
That's it! You can proceed as usual with creating TrainingArguments, Trainer and finetuning the model.

If you run into any issues when running this on your task, I'm happy to help with them


Maintenance status

I have submitted a pull request that corrects a counterproductive recommendation meant to be copied-and-pasted in this project's doc guide https://github.com/logstash-plugins/logstash-input-rabbitmq/pull/121. It was approved and has been sitting there since.
Is this project maintained? If so, who are the maintainers? If not, what was it superseded by? Some clarification would be great.

hi @michaelklishin, I guess one more time apologies for the delays, as we've been a bit stretched thin for the past few weeks.
For context, we're trying to reduce the effort of maintenance of plugins so we're grouping similar plugins into "integration" plugins. and have used rabbitmq as the first one (see https://github.com/logstash-plugins/logstash-integration-rabbitmq).
This repo has both the input and the output combined into 1 repository, so the next step is adding the messaging here about how new issues/prs must be moved to the that repo, except for critical issues or important documentation changes.

@jsvd so I should resubmit to the new repository. OK, thanks for the clarification.


[Dark Mode] Update: Augmented reality

More to add here.

Having trouble to re-capture screenshots for

Navigate in AR
Flyover


Feature request for validation

Consider validation plugins, similar to filters, that run as part of the validation. This can be particularly helpful when validation run as stand-alone.
Should this plugin code receive a copy of the in-memory model and archive, or should the plugin be allowed to both find and fix a problem for the in-memory model and/or persisted model ?

Converted to Jira WDT-297


ie11 下 所有的下拉框 无法展示

I'm submitting a...

[ ] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment

Angular version: X.Y.Z

ng-zorro-antd version: X.Y.Z

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

close now for lack of information, please reopen it if you can provide an minimal reproduction code.


ValueError when fit_generator: Error when checking input: expected input_1 to have 4 dimensions, but got array with shape (16, 1)

Please help me, I ran the ssd7_training.ipynb.  I have preprocessed to parse the label_train.csv and label_test.csv which have 327 and 141 rows respectively, but the HDF5 dataset generation is 171 and 95. I think I have followed the input format which is 'image_name', 'xmin', 'xmax', 'ymin', 'ymax', 'class_id'. After that when I ran model.fit_generator(), it says the array shape is not correct. I have looked around the DataGenerator and tried different version of Keras and Tensorflow still I could not figured out what is wrong, please help me!
WARNING:tensorflow:From /Users/ivexu/opt/anaconda3/envs/ocr/lib/python3.6/site-packages/tensorflow/python/ops/math_grad.py:102: div (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Deprecated in favor of operator or tf.math.divide.
Epoch 1/20
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-7-c43c96b01be4> in <module>
     11                               validation_data=val_generator,
     12                               validation_steps=ceil(val_dataset_size/batch_size),
---> 13                               initial_epoch=initial_epoch)

~/opt/anaconda3/envs/ocr/lib/python3.6/site-packages/keras/legacy/interfaces.py in wrapper(*args, **kwargs)
     89                 warnings.warn('Update your `' + object_name +
     90                               '` call to the Keras 2 API: ' + signature, stacklevel=2)
---> 91             return func(*args, **kwargs)
     92         wrapper._original_function = func
     93         return wrapper

~/opt/anaconda3/envs/ocr/lib/python3.6/site-packages/keras/engine/training.py in fit_generator(self, generator, steps_per_epoch, epochs, verbose, callbacks, validation_data, validation_steps, class_weight, max_queue_size, workers, use_multiprocessing, shuffle, initial_epoch)
   2222                     outs = self.train_on_batch(x, y,
   2223                                                sample_weight=sample_weight,
-> 2224                                                class_weight=class_weight)
   2225
   2226                     if not isinstance(outs, list):

~/opt/anaconda3/envs/ocr/lib/python3.6/site-packages/keras/engine/training.py in train_on_batch(self, x, y, sample_weight, class_weight)
   1875             x, y,
   1876             sample_weight=sample_weight,
-> 1877             class_weight=class_weight)
   1878         if self.uses_learning_phase and not isinstance(K.learning_phase(), int):
   1879             ins = x + y + sample_weights + [1.]

~/opt/anaconda3/envs/ocr/lib/python3.6/site-packages/keras/engine/training.py in _standardize_user_data(self, x, y, sample_weight, class_weight, check_array_lengths, batch_size)
   1474                                     self._feed_input_shapes,
   1475                                     check_batch_axis=False,
-> 1476                                     exception_prefix='input')
   1477         y = _standardize_input_data(y, self._feed_output_names,
   1478                                     output_shapes,

~/opt/anaconda3/envs/ocr/lib/python3.6/site-packages/keras/engine/training.py in _standardize_input_data(data, names, shapes, check_batch_axis, exception_prefix)
    111                         ': expected ' + names[i] + ' to have ' +
    112                         str(len(shape)) + ' dimensions, but got array '
--> 113                         'with shape ' + str(data_shape))
    114                 if not check_batch_axis:
    115                     data_shape = data_shape[1:]

ValueError: Error when checking input: expected input_1 to have 4 dimensions, but got array with shape (16, 1)

how did u resolve it?