Led-Strip doesn't light up

Hi guy,
I am trying to set up this code for a few days now and it still doesn't work.
After a few hours i managed to get the 'strandtest.py' working, but when i start the visualization this appears:

pi@raspberrypi:~/audio-reactive-led-strip/python $ python visualization.py
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
FPS 16 / 30
FPS 12 / 30
FPS 11 / 30
FPS 10 / 30
FPS 10 / 30
FPS 10 / 30

I would be happy if some of you could help me.

Hi guys,
i tried to reinstall everything and run it on Python 2.7. It still doesn't connect to the audio source.
Thats my print:

pi@raspberrypi:~/audio-reactive-led-strip/python $ sudo python visualization.py                                     ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
No audio input. Volume below threshold. Volume: 9.98995e-17
No audio input. Volume below threshold. Volume: 0.0
No audio input. Volume below threshold. Volume: 0.0
No audio input. Volume below threshold. Volume: 0.0
No audio input. Volume below threshold. Volume: 0.0
No audio input. Volume below threshold. Volume: 0.0
No audio input. Volume below threshold. Volume: 0.0

I already tried to change the audio settings in the upper right corner of raspbian. There is my "USB PnP Sound Device" set to default, but i still don't get the lights to show up.
May you please help me?

I also tested the USB sound card by typing

arecord -D plughw:1,0 -f cd -d 3 test.wav && aplay test.wav

into the terminal. It worked great so i think that it has to do something with the code itself.

I have the same issue. I connected my Pi 3b with 150-pixel LED strip with power supply, without logic converter. With GPIO 18, I can't get it to light up, nor does the strandtest work. With GPIO 19, strandtest works, at least it's lighting up and looking like it's responding to the different mode. However, GPIO 19 doesn't work with the code in this repo, because GPIO 18 is LED channel 0 and GPIO 19 is channel 1, I don't see any way to set the channel in this code.
Can anyone help? What issue could it be?

Follow up: I figured out how to use GPIO 19 i.e. LED channel 1 in the code, just add another argument in the adafruit_neopixel initializer which is the LED channel. Then it worked with GPIO 19. Don't know what happened to my GPIO 18 though...

@loganyc1934 Sounds like I'm having the same issue as you, my sound card is working fine I just can't get the LED strip to respond, could you walk me through what you did to the adafruit_neopixel initializer to add the argument? Thanks!

I have the same issue, while the strip as well as the microphone/recording is working fine on it's own, it doesn't seem to work, once pyaudio and NeoPixel is initialised.


Fix Hover Issues and Feature Visibility in Featured Pumpkins Section for Hacktoberfest

Our featured pumpkins section is experiencing hover problems, and the listed features are too large. Additionally, the features of each card aren't properly visible on mobile devices. I would like to address these issues. Could you please assign it to me for Hacktoberfest?

@Alexandrbig1 is this issue assigned to someone? If not, then I would like to work on it

@solanki03 @vivek1842 This issue is being worked on as part of another opened issue: Features Section Design #24

@christalchronicles ok no problem .. also fix the hover issue of featured section... It's still not aligned properly

@christalchronicles I went through Issue #24, which resolves the responsiveness problem. However, the list mentioned in the card is not visible on mobile devices. I have attached a video regarding this issue.

https://github.com/user-attachments/assets/1aa290ea-9a96-4223-b36b-7057ada2577b


RFM -  Software Ideas Modeler

Current Maintainer

[x] I am the maintainer of the package and wish to pass it to someone else;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/software-ideas-modeler
Package source URL: https://github.com/abejenaru/chocolatey-packages/tree/master/automatic/software-ideas-modeler

Please add boubou as a maintainer.
Thanks Abejenaru!

Please add boubou as a maintainer.
Thanks Abejenaru!

Done! You still have to confirm it, probably on the package page: https://chocolatey.org/packages/software-ideas-modeler.
Thank you so much!


Question regarding commits.

I asked the same question from other groups too,
For securing the points we need to make multiple commits, so, If I fork a repository and say, make 3 commits and request for a pull so would it be counted as three commits or only one because the pull request was just one? I hope the first one is correct, otherwise there should be a lot of pull requests, right?

Yes, you are correct. Thank you


[WIP] Add counter to textarea component

Please add this in the business repo, we don't need this anywhere else AFAIK


Add more coordinate grid formats

Support multiple coordinate formats

Maybe the pointers to the OS grid (as one of the gird formats) come in handy before they get lost (#788)

https://www.movable-type.co.uk/scripts/latlong-os-gridref.html
https://getoutside.ordnancesurvey.co.uk/guides/beginners-guide-to-grid-references/
https://en.wikipedia.org/wiki/Ordnance_Survey_National_Grid

Would come in very handy in the UK.

coordinate formats used for maps

Not just maps, but also those which are clearer for human-to-human communication (such as over a low-fi voice channel, and/or have denser encoding to require fewer characters be read(-back) for the same precision of location compared to purely-numerical types (I forget the name of the very short-string one I'm thinking of)).
Plus, ones that should be promoted (because common!=quality).
For clarity, I am absolutely not meaning the proprietary horror that is ///what.three.words {shudders}; libre-only.
As for maps specifically; include clues as to which format a user might want.
Why? Well, I have a user-story for you.
Visited Australia (Victoria, near Melbourne, to see family) for a month back in 2010. Took a traditional GPS(-only) receiver (Garmin eTrex; the older grey-body ones, with the monochrome display) with me. Rather limited compared to what a modern nano-computer with various apps can do now, but it's what I had at the time. My thinking was that I could at least save the coördinates of the various places we visited, in order to easily find them on a map when back home. The logging & re-finding coördinates part was successful.
One day, we were doing some 4×4 adventuring, and become less-than-certain of where we were (to decide which route to take). So, instead of hopeful-gazing at the map like others, I fetched GPS receiver to get the coördinates.
The trouble was, the paper map wasn't really designed for using regular latitude & longitude. It expected you to use whatever grid-system is common in Australia. None of us knew (and the map itself was none too helpful) which grid system that was. GPS receiver had many options for output; I just didn't know which to choose (and didn't feel like brute-forcing it, at the time; non-tech folks wouldn't have been receptive to that tedium).
If I recall, I think I (much) later determined that it might have been a 4-letter one beginning with M (MGRS(?); I'd have to re-check).
At the time, had the UI given hints as to which were likely to be used in Aus, then there may have only been a few possibilities to try.
A usability suggestion given what modern software is capable of; by default, list only the notations which are applicable to where the user currently is (or where on the map is being displayed, or where the beacon is; you get the idea: make it context-sensitive), with the possibility to show-all anyway (to allow for weird edge-case usage).

Good idea, and thank you for the background! Here's a new issue to track that: https://github.com/kylecorry31/Trail-Sense/issues/1087
I've also edited my previous comment to remove the word maps as I didn't intend this issue to just map coordinate formats.

have denser encoding to require fewer characters be read(-back) for the same precision of location compared to purely-numerical types (I forget the name of the very short-string one I'm thinking of)

Open Location Code.

Marsden Square translator service
as described in Jersey sea level and coastal conditions climate review (page 71):

Jersey Transverse Mercator
local ordinance datum

this may relate to the Ordinance Survey grid reference system used in Jersey

Marsden Square translator service
as described in Jersey sea level and coastal conditions climate review (page 71):

Jersey Transverse Mercator
local ordinance datum

this may relate to the Ordinance Survey grid reference system used in Jersey

@Lee-Carre I had originally excluded Open Location Codes because of their lack of use in hiking (https://github.com/kylecorry31/Trail-Sense/issues/59#issuecomment-871260227), but hadn't considered the ability to read back the code - I'll give it another review with that in mind

@Lee-Carre I had originally excluded Open Location Codes because of their lack of use in hiking (https://github.com/kylecorry31/Trail-Sense/issues/59#issuecomment-871260227), but hadn't considered the ability to read back the code - I'll give it another review with that in mind

Systems common (ubiquitous?) in China (because government department says so):

GCJ-02
BD-9

OSGB Grid Reference to OSM Map

Open Location codes AKA Plus Codes support would be cool. It's a system created by google but it has an open license.
Here is one: 9C3XGV5P+V7
They are short, simple to read thanks to the a limited selection of letters (only 20 alphanumeric characters), easy to write down or even say verbally to others.
They are also supported by most navigation smartphone apps like OsmAnd, Organic Maps and Google Maps.
Seems like the perfect coordinate system for offline use and for this app.
https://plus.codes/
https://github.com/google/open-location-code
https://maps.google.com/pluscodes/support/
https://en.wikipedia.org/wiki/Open_Location_Code

@Junkyard5031 thank you for the suggestion. I believe I also have some more info about that in one of the new feature idea issues, but it is nice to have that all consolidated here for easy reference, thank you!
My only concern about that is the code displayed in Google Maps will be incompatible because it uses the city name shortened format - but the code itself is still useful outside of that now that it has picked up a bit more popularity.

It was also recommended to look into sometime like What 3 Words, or some non-proprietary version of that.

My only concern about that is the code displayed in Google Maps will be incompatible because it uses the city name shortened format - but the code itself is still useful outside of that now that it has picked up a bit more popularity.

I may be wrong but at least on OSM And this Google-Stuff only works if I have an online connection. So I assume they need some of G web services to resolve their proprietary codes into real coordinates.

My only concern about that is the code displayed in Google Maps will be incompatible because it uses the city name shortened format - but the code itself is still useful outside of that now that it has picked up a bit more popularity.

I may be wrong but at least on OSM And this Google-Stuff only works if I have an online connection. So I assume they need some of G web services to resolve their proprietary codes into real coordinates.

If you use the shorted code (which contains the city name), that requires an internet connection. If you use the longer (less readable) code, it does not require an Internet connection. So the version that I would implement in Trail Sense is definitely less usable than the one displayed in Google Maps and the code from Google Maps would be incompatible with Trail Sense unfortunately (but it works the other way around - Google Maps could use the code from Trail Sense).

Suggested by a user: EGSA87 (more details needed)


test: migrate build-std/main to snapbox

What does this PR try to resolve?
Part of https://github.com/rust-lang/cargo/issues/14039.
Migrate following to snapbox:

tests/build-std/main.rs

This is ready for  a review!

@bors r+

:pushpin: Commit 04cccfa259516d34e8c447ded82e4f9c8033b2e5 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 04cccfa259516d34e8c447ded82e4f9c8033b2e5 with merge 8b1d18afceb970c46d3c1d33b4d94b109f5254c0...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 8b1d18afceb970c46d3c1d33b4d94b109f5254c0 to master...


build(releas): use GH and GITHUB secret

Description
using GH token and Github token

:tada: This PR is included in version 4.1.0-develop.1 :tada:
The release is available on:

v4.1.0-develop.1
GitHub release

Your semantic-release bot :package::rocket:


执行Update时报错：The database operation was expected to affect 1 row(s), but actually affected 0 row(s);

Description
在Command中执行实体更新时报错：The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded.
Reproduction Steps
#主模型
Model Order{
string Name {get;set;}
List Items {get;set;}
}
#子模型
Model OrderItem{
Order Order{get;set;}
Guid OrderId{get;set;}
string Name{get;set;}
double Price{get;set;}
}
// UpdateOrderCommond代码
//1、查询已存在的实体，并Include 子模型集合
var list = await _orderRepository.GetListAsync(x=> x.Id == xxx);
var order = list.FirstOrDefault();
// 2、对子集合添加一条数据
order.Items.Add(new{
Name: 'xxx',
Price: 111
});
// 3、执行更新主模型
await _orderRepository.UpdateAsync(order);
// miniapi调用
var cmd = new UpdateOrderCommand(id);
Expected behavior
正常更新主模型并新增一条OrderItem明细
Actual behavior
The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded.
所有订单明细全部执行Update，而非Insert。
Known Workarounds
EFCore本身是支持这种场景的，但在MASA Framework中执行会出错。
.NET version
7
MASA Framework version
1.0.0
Other information
请检查Entity.State的状态是否正确

从表进行添加时设置了主键，而从表主键又是自增类型导致


Module not found: Error: Can't resolve 'fs'

It looks like *.page.js files choke when trying to resolve core node modules.
Here's a simple page config file that grabs the contents of a SQL file and makes a simple database query:
import { file } from "ez-file";
import { query } from "~/util/db";
import page from "./index.vue";

export default {
  route: "/vars/",
  view: page,
  renderToHtml: true,
  async addInitialProps({ res: { req }, res, next }) {
    const sql = file("./vars.sql");
    const [ vars ] = await query(sql);

    return {
      vars: {
        ...vars,
        timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
      },
    };
  },
};

This seems to build successfully, but when visiting this page, I get the following error:
ERROR in ./node_modules/ez-file/index.js
Module not found: Error: Can't resolve 'fs' in '/Users/chriscalo/Projects/viaticus/node_modules/ez-file'
resolve 'fs' in '/Users/chriscalo/Projects/viaticus/node_modules/ez-file'

My guess is that webpack isn't configured to resolve core node modules, but I don't have experience using webapck to build for Node.js execution.

Yes exactly, webpack tries to build fs.
A trick to bypass webpack is to use eval:
import assert from '@brillout/assert';

export default {
  route: "/vars/",
  view: page,
  renderToHtml: true,
  async addInitialProps({ res: { req }, res, next }) {

    // Make sure that addInitialProps is always only called in Node.js
    assert.internal(isNodejs());

    // The `~/database/query` module will not be built by webpack.
    // Instead, Node.js's `require` will directly load the module.
    const query = eval("require('~/database/query')");

    const sql = "SELECT text from TODO;";
    const [ vars ] = await query(sql);

    return {
      vars,
    };
  },
};

function isNodejs() {
  return typeof window === "undefined";
}

Note that this works only because renderToHtml: true: when renderToHtml: true, Goldpage calls addInitialProps on the server. (You can see that the result of addInitialProps is serialized and added to the HTML of your page in order to make the data available in the browser when your page is rendered to the DOM.)
Otherwise, if renderToHtml: false, then Goldpage calls addInitialProps in the browser and any attempt to require('fs') will inherently fail. In that case you'd need to use Wildcard API. Let me know if you are not sure why — I'm happy to explain.
If you plan to always render your pages to HTML then you should be able to skip using Wildcard.
If it makes things easier for you, you can invite me to your private repo and then we can talk about the codebase directly.
Let me know when something's not clear.

Thanks for the explanation. I might give Wildcard API a try, that looks promising.
Here's what I'm trying to do. Do you see anywhere I'm going astray. Any recommend?
Server-side render Vue components to HTML, passing in data from the file system / database. I'm hoping to avoid building an API just to merge data into a Vue component. And I don't want to have to limit my options just to universal npm modules that can run in Node.js and in a browser. I'd really love if the logic in Goldpage *.page.js config files ran only on the server, not in the browser, making it possible to use modules like fs and mysql-promise.
Rehydrate the Vue component HTML once it reaches the browser. I'm loving that Goldpage handles this for me. I don't want to give up rich client-side interaction to get the benefits of server-side rendering. Of course, I'll need to build an API for on-page interactivity that requires a server round trip, but that's not hard to do in Express.
Keep all routing logic on the server. I want to keep all of my routing logic the server, either in Express handlers or in Goldpage *.page.js config files. Every time a new URL is requested, there's a full page refresh. This means I don't have to write universal code that can run in Node.js or on the browser for each page refresh. Instead, I'd rather every page load be loaded entirely on the server. Down the road, I might consider something a little more sophisticated like what inertia.js is doing with their mix of HTML and XHR responses.
Thoughts? How do I write non-universal code for fetching data from a database in Node.js and passing it to a SSR'd Vue component using Goldpage?
Thanks again.

I'm hoping to avoid building an API just to merge data into a Vue component.

Yes that's a great idea, there is no need for GraphQL/REST when there is a 1:1 relationship between frontend and backend.

I'll need to build an API for on-page interactivity that requires a server round trip, but that's not hard to do in Express.

Yep exactly. You can then use Wildcard instead of creating Express routes yourself.

Any recommendations on the approach?

That's a wonderful approach that I would also choose.

How do I write non-universal code for fetching data from a database in Node.js and passing it to a SSR'd Vue component using Goldpage?

You can do that by using the eval trick I mentioned earlier. But you're absolutely right, what you are describing should have first-class support; you shouldn't have to use the eval trick to achieve that. I'll have some thoughts about this. I'll come back to you once I found a user friendly solution. In the mean time you can use the eval trick (let me know if the eval trick is not clear to you and I'll show it to you in a PR to your Goldpage starter).
I'm curious; what it is you are building?

A trick to bypass webpack is to use eval:

Is there not some way to specify Node.js as the target environment for the server-side Goldpage build? Something like webpack-node-externals?
From their README:

In your webpack.config.js:
var nodeExternals = require('webpack-node-externals');
...
module.exports = {
    ...
    target: 'node', // in order to ignore built-in modules like path, fs, etc.
    externals: [nodeExternals()], // in order to ignore all modules in node_modules folder
    ...
};

And that's it. All node modules will no longer be bundled but will be left as require('module').

I'm curious; what it is you are building?

Nothing too exciting: it’s an old PHP app a friend wrote that I’m modernizing to Node.js + Vue. Because it’s something we won’t spend a lot of time on going forward, I’m trying to really optimize for developer economics so it's easy to make changes. But I’m also using this project as an opportunity to build out some patterns I like (a simple Vue SSR + Express setup) so I can quickly scaffold future projects.

Telling Webpack to ignore native node modules alleviates the problem only to a certain degree. Goldpage shouldn't add any server-side code to browser bundles.
Goldpage shouldn't add import { query } from "~/util/db"; to the bundles that are being shipped to the browser.
I'm thinking about a solution. I'll keep you updated.

Ah, got it. I keep forgetting that the page config modules are entry points for both server and client bundles. Thanks for giving this some thought 👍

I made good progress this WE on how to solve this.
I don't know (yet) when I will finalize and implement the solution.
In the meantime I recommend using Wildcard. (Instead of using the eval trick.)
Using Goldpage with Wildcard will provide what you want. If it's not clear let me know and I will elaborate.
I opened a new ticket for it: #13.

Sounds great, I will try using Goldpage with Wildcard. If you have a working example that I can reference, let me know. I didn't find a wildcard example in the Goldpage examples directory, and the example in the Wildcard API repo doesn't appear to be using Goldpage. If not, no worries, I'll see how far I can can get.

I was able to find reframe-full-stack repo. I'll start there.

:+1: Let me know if you have questions. Happy to do some more PRs to your repos.

Just tried to add Wilcard API to my app, but getting Error: only absolute urls are supported.
pages/index.page.js:
import { endpoints } from "wildcard-api/client";
import index from "./index.vue";
import { route } from "~/util";

export default {
  route: route(__filename),
  view: index,
  async addInitialProps() {
    return {
      time: new Date(),
      greeting: await endpoints.greet(),
    };
  },
  renderToHtml: true,
};

api/index.js:
import { endpoints } from "wildcard-api";
import { file } from "ez-file";

endpoints.greet = async function greet() {
  return await file("./greeting.txt");
};

api/greeting.txt:
Hello, World!

The server seems to start fine, but when visiting the root URL, I get the following error:
{ Error: only absolute urls are supported
    at /Users/chriscalo/Projects/goldpage-vue-express-starter/node_modules/node-fetch/index.js:54:10
    at new Promise (<anonymous>)
    at new Fetch (/Users/chriscalo/Projects/goldpage-vue-express-starter/node_modules/node-fetch/index.js:49:9)
    at Fetch (/Users/chriscalo/Projects/goldpage-vue-express-starter/node_modules/node-fetch/index.js:37:10)
    at addHandli (/Users/chriscalo/Projects/goldpage-vue-express-starter/.build/nodejs/webpack:/node_modules/wildcard-api/client/makeHttpRequest.js:9:1)
    at /Users/chriscalo/Projects/goldpage-vue-express-starter/.build/nodejs/webpack:/node_modules/wildcard-api/client/makeHttpRequest.js:90:1
    at makeHttpRequest (/Users/chriscalo/Projects/goldpage-vue-express-starter/.build/nodejs/webpack:/node_modules/wildcard-api/client/makeHttpRequest.js:29:1)
    at callEndpointOverHttp (/Users/chriscalo/Projects/goldpage-vue-express-starter/.build/nodejs/webpack:/node_modules/wildcard-api/client/WildcardClient.js:80:1)
    at fetchEndpoint (/Users/chriscalo/Projects/goldpage-vue-express-starter/.build/nodejs/webpack:/node_modules/wildcard-api/client/WildcardClient.js:57:1)
    at Proxy.<anonymous> (/Users/chriscalo/Projects/goldpage-vue-express-starter/.build/nodejs/webpack:/node_modules/wildcard-api/client/WildcardClient.js:226:1)

    at Object.greet [as addInitialProps] (/Users/chriscalo/Projects/goldpage-vue-express-starter/.build/nodejs/webpack:/pages/index.page.js:11:33)
    at retrieveInitialProps (/Users/chriscalo/Projects/goldpage-vue-express-starter/node_modules/@brillout/repage/common/getInitialProps.js:55:22)
    at getInitialProps (/Users/chriscalo/Projects/goldpage-vue-express-starter/node_modules/@brillout/repage/common/getInitialProps.js:21:41)
    at renderPageHtml (/Users/chriscalo/Projects/goldpage-vue-express-starter/node_modules/@brillout/repage/common/renderPageHtml.js:10:36)
    at getPageHtml (/Users/chriscalo/Projects/goldpage-vue-express-starter/node_modules/@brillout/repage/getPageHtml.js:25:24)
    at getHtml (/Users/chriscalo/Projects/goldpage-vue-express-starter/node_modules/@goldpage/server-universal-middleware/ServerRendering.js:62:24) isNetworkError: tru
e, isServerError: null, response: null }

Things are getting closer with Wildcard API, and I'm loving the elegant programming model. I ran into an error when trying to access this in a wildcard endpoint function and filed an issue:
https://github.com/reframejs/wildcard-api/issues/16

I don't think this was mentioned in the Wildcard API docs

It's purposely not mentioned in the docs.
The idea is to show proper error messages and normally you would have gotten an error like this:
    Endpoint `greet` doesn't exist.
    You didn't define any endpoint function.
    Did you load your endpoint definitions? E.g. `require('./path/to/your/endpoint-functions.js')`.

But I forgot to add this explanation as well for SSR. It's not fixed & published under 0.5.4.

I'm loving the elegant programming model

Glad to hear.
Btw thanks for pushing on goldpage dev & nodemon ./path/to/server.js. I like it a lot. It's lovely to have a user that pushes me to improve the design.

Btw thanks for pushing on goldpage dev & nodemon ./path/to/server.js. I like it a lot. It's lovely to have a user that pushes me to improve the design.

It's so nice to hear that, thanks 🙏. For me, that change was definitely the moment Goldpage went from something with a lot of potential to a very compelling tool. I've tried every other method I could find for SSRing Vue components, and Goldpage is the only one that both works and isn't a convoluted mess. I think you're really onto something powerful here.

isn't a convoluted mess

Yes, that was precisely my goal with Goldpage. To be do-one-thing-do-it-well whereas others are too framework-ish.

I've tried every other method I could find for SSRing Vue components, and Goldpage is the only one that both works and isn't a convoluted mess. I think you're really onto something powerful here.

Hehe thanks. Could I use this quote in a future landing page?

Could I use this quote in a future landing page?

Yes, feel free 👍


chore: add husky on library

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
108

Relevant Lines:
108

💛  - Coveralls


Document attrs

The attrs module is completely incompatible with Bazel. It would be very nice if there are some docs on the detail of attrs.

I was looking for this last night and I agree; in the mean time you can look here for all the exported functions, it's 1-to-1: https://github.com/facebook/buck2/blob/abde273eea10c98dfe51c01f3db47832065cf88d/app/buck2_interpreter_for_build/src/attrs/attrs_global.rs#L138
The website has most of the APIs broken down now. I wonder if just adding Rustdoc comments to those functions is enough? I'm not sure if they'll appear on the website then. Or maybe they need a doc field somewhere too and something else.

Rustdocs is not enough - i'll figure out what is sufficient though.

See https://buck2.build/docs/api/build/attrs/ which documents this.


Schedule missing probe

What happened:
When I apply chaoschedule , probe settings are missing
What you expected to happen:
My schedule engine need probe to test
How to reproduce it (as minimally and precisely as possible):
my ChaosSchedule.yaml
kind: ChaosEngine
kind: ChaosSchedule
metadata:
  name: mynginx
  namespace: nginx
spec:
  schedule:
    now: true
  engineTemplateSpec:
    appinfo:
      appns: 'nginx'
      appkind: 'deployment'
      applabel: 'litmus=on'
    annotationCheck: 'false'
    engineState: 'active'
    chaosServiceAccount: pod-delete-sa
    monitoring: true
    # It can be delete/retain
    jobCleanUpPolicy: 'retain'
    experiments:
      - name: pod-delete
        spec:
          httProbe:
          - name: "check-frontend-access-url"
            type: "httpProbe"
            inputs:
              url: "http://nginx-service"
              expectedResponseCode: "200"
              insecureSkipVerify: false
            mode: "Continuous"
            runProperties:
              probeTimeout: 5
              interval: 5
              retry: 1
              probePollingInterval: 2
          components:
            env:
              - name: TOTAL_CHAOS_DURATION
                value: '30'
              - name: CHAOS_INTERVAL
                value: '10'
              - name: FORCE
                value: 'false'

Anything else we need to know?:
When I use chaoengine, the probe is available, but in schedule not working
result:
missing probe
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosSchedule
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"litmuschaos.io/v1alpha1","kind":"ChaosSchedule","metadata":{"annotations":{},"name":"waynenisnginx","namespace":"nginx"},"spec":{"engineTemplateSpec":{"annotationCheck":"false","appinfo":{
"appkind":"deployment","applabel":"litmus=on","appns":"nginx"},"chaosServiceAccount":"pod-delete-sa","engineState":"active","experiments":[{"name":"pod-delete","spec":{"components":{"env":[{"name":"TOTAL_CHAOS
_DURATION","value":"30"},{"name":"CHAOS_INTERVAL","value":"10"},{"name":"FORCE","value":"false"}]},"httProbe":[{"inputs":{"expectedResponseCode":"200","insecureSkipVerify":false,"url":"http://nginx-service"},"
mode":"Continuous","name":"check-frontend-access-url","runProperties":{"interval":5,"probePollingInterval":2,"probeTimeout":5,"retry":1},"type":"httpProbe"}]}}],"jobCleanUpPolicy":"retain","monitoring":true},"
schedule":{"now":true}}}
  creationTimestamp: "2021-01-29T07:40:45Z"
  generation: 3
  name: mynginx
  namespace: nginx
  resourceVersion: "58596361"
  selfLink: /apis/litmuschaos.io/v1alpha1/namespaces/nginx/chaosschedules/waynenisnginx
  uid: c774a785-ed2c-44e8-9003-8b1b51623532
spec:
  engineTemplateSpec:
    annotationCheck: "false"
    appinfo:
      appkind: deployment
      applabel: litmus=on
      appns: nginx
    chaosServiceAccount: pod-delete-sa
    components:
      runner: {}
    engineState: active
    experiments:
    - name: pod-delete
      spec:
        components:
          env:
          - name: TOTAL_CHAOS_DURATION
            value: "30"
          - name: CHAOS_INTERVAL
            value: "10"
          - name: FORCE
            value: "false"
        rank: 0
    jobCleanUpPolicy: retain
    monitoring: true
  schedule:
    now: true
  scheduleState: active
status:
  active:
  - apiVersion: litmuschaos.io/v1alpha1
    kind: ChaosEngine
    name:mynginx
    namespace: nginx
    resourceVersion: "58596360"
    uid: c985edbf-8e80-46f5-8938-95fcbb40448e
  lastScheduleTime: "2021-01-29T07:40:45Z"
  schedule:
    startTime: "2021-01-29T07:40:45Z"
    status: running

The scheduler CRDs & vendor directories have been updated with probe enhancements. The changes should be available for consumption in 1.13.2 scheduled to be released on or before 15th March.
You can use the ci tags before that if necessary.


Errors in some outlier detection functions

The examples in the doc pages for STLESDTEST and HYBRIDTEST doesn't seem to work (after using a valid token for AUTHENTICATE, of course), I keep getting null errors like:
ERROR line #33 in section '[TOP]': null

Fixed by commit cityzendata/warp10-platform#220

Additionally, PR #57 removed the deprecated DOC-EGRESS-TOKEN from the examples


[no-master] Work around #3908: Disable StackTraceTest in bootstrap.

With Node.js 13, the shape of stack traces reported during bootstrap are altered because the execution is within a big eval. Stack trace lines that were previously of the shape
at $c_LSomeClass.someMethod__O__O (/.../file.js:15:17)

are now of the shape
at $c_LSomeClass.eval [as someMethod__O__O] (/.../file.js:15:17)

Our StackTrace.scala analyzer does not understand this shape, which causes the StackTraceTest to fail during bootstrap.
This commit simply ignores the test during bootstrap, in order to repair the CI. Further investigation is needed to completely fix the issue.

As a side note: I'm OK with leaving this test disabled in bootstrap in 0.6.x and basically admitting that stack trace detection within eval is broken. I think this is acceptable.


SIGBUS on FIFO reading

SIGBUS is sometimes raised when reading FIFO data:
Program received signal SIGBUS, Bus error.
[Switching to Thread 0xb41ff450 (LWP 5784)]
0x0006111a in Klib::ReadReg32 (addr=3042365472) at middleware/drivers/wr_register.hpp:49
49	middleware/drivers/wr_register.hpp: No such file or directory.
(gdb) backtrace
#0  0x0006111a in Klib::ReadReg32 (addr=3042365472) at middleware/drivers/wr_register.hpp:49
#1  0x00061e62 in FIFOReader<65536u>::acquisition_thread_call (this=0xb552c044, acq_period=1000) at middleware/drivers/lib/fifo_reader.hpp:110
#2  0x000638c0 in std::_Mem_fn<void (FIFOReader<65536u>::*)(unsigned int)>::operator()<unsigned int, void>(FIFOReader<65536u>*, unsigned int&&) const (this=0xb4a10c44,
    __object=0xb552c044) at /opt/Xilinx/SDK/2015.4/gnu/aarch32/lin/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/4.8.3/functional:601
#3  0x00063838 in std::_Bind_simple<std::_Mem_fn<void (FIFOReader<65536u>::*)(unsigned int)> (FIFOReader<65536u>*, unsigned int)>::_M_invoke<0u, 1u>(std::_Index_tuple<0u, 1u>) (this=0xb4a10c3c) at /opt/Xilinx/SDK/2015.4/gnu/aarch32/lin/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/4.8.3/functional:1732
#4  0x00063714 in std::_Bind_simple<std::_Mem_fn<void (FIFOReader<65536u>::*)(unsigned int)> (FIFOReader<65536u>*, unsigned int)>::operator()() (this=0xb4a10c3c)
    at /opt/Xilinx/SDK/2015.4/gnu/aarch32/lin/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/4.8.3/functional:1720
#5  0x000636ce in std::thread::_Impl<std::_Bind_simple<std::_Mem_fn<void (FIFOReader<65536u>::*)(unsigned int)> (FIFOReader<65536u>*, unsigned int)> >::_M_run() (
    this=0xb4a10c30) at /opt/Xilinx/SDK/2015.4/gnu/aarch32/lin/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/4.8.3/thread:115
#6  0xb6fb6854 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Dmesg gives:
Unhandled fault: external abort on non-linefetch (0x1018) at 0xb556d020

Meaning that we are trying to read an address that is not mapped (http://stackoverflow.com/questions/15889483/what-do-these-kernel-panic-errors-mean)

https://forums.xilinx.com/t5/Embedded-Linux/Zynq-Bus-Error-on-mmap-ed-io/td-p/354271


rclone on dropbox not slowing down on API failure (too many requests)

2017/11/08 03:10:22 DEBUG : pacer: low level retry 3/10 (error too_many_requests/.)
2017/11/08 03:10:24 DEBUG : pacer: low level retry 4/10 (error too_many_requests/..)
2017/11/08 03:10:26 DEBUG : pacer: low level retry 5/10 (error too_many_requests/.)
2017/11/08 03:10:30 DEBUG : pacer: low level retry 6/10 (error too_many_requests/...)

This has come up several times before, eg #1539
Also the dropbox sdk isn't returning the Retry-After header to rclone - see #1788


Request for Code to Measure Similarity and Frequency Between Sentences

Dear yueyu1030,
First of all, thank you for your work on this project. I have been going through the codebase and the associated research paper, and I could not find the specific implementation for measuring the similarity and frequency between sentences. Additionally, the methodology for aggregating these similarities (e.g., using mean or maximum values) is not detailed in the paper.
I would greatly appreciate it if you could share the relevant code or provide more information on how the sentence similarities are calculated and aggregated. This will be very helpful for me to reproduce and compare my experimental results with yours.
Thank you in advance for your assistance.

For calculating the sentence similarity, we use Sentence BERT. The link and the documentation is in sentence-transformers/stsb-mpnet-base-v2.


OLS-679: Azure token refresh

Description
Add cache for azure AD token depending on expiration
Type of change

[x] New feature

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@f1a88fc). Learn more about missing BASE report.
Report is 19 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1119   +/-   ##
=======================================
  Coverage        ?   95.46%
=======================================
  Files           ?       56
  Lines           ?     2384
  Branches        ?        0
=======================================
  Hits            ?     2276
  Misses          ?      108
  Partials        ?        0

Files
Coverage Δ

ols/src/llms/providers/azure_openai.py
100.00% <100.00%> (ø)

/override "Red Hat Konflux / lightspeed-service-on-pull-request"

/approve

/lgtm


Nix Flake - Compiler Packages

Great to see a Nix flake in the repo!
Unfortunately it only provides a dev shell, not the actual compiler as packages.
Would be great to add that.
(I'm willing to help out, but I assume it would go a lot quicker for whoever wrote the flake.nix)

I hope to finish up the default.nix file for a release on nixpkgs next month.
Once that is done it will probably be easy to set this up for the flake.


Updated the EDA, preprocessing, baseline and linear

Updated the EDA section and also started with the baseline model and linear model.

great


Missing translated strings in ADMIN localization language

** Expected behavior: **
After adding the translation files in the backend in: admin> localization> language new translated the strings had to be translated
** Actual behavior: **
Currently after the last update to beta 26 the strings have disappeared (previously they were added)
** Replay the steps: **
After updating the strings of the translation disappeared, in the old version they were present. I then checked the folder with the files and everything ok.
I also deleted and re-added the language (without deleting files and folders) with no success
Version:
beta 26
Additional information:
Problem encountered after update, strings were first translated.
The site both in front-end and back-end is translated. however in admin localization and language translated now the strings are no longer translated while before

Can you detail which strings have been changed?

Can you detail which strings have been changed?

all strings that prior to the update are now displayed in English.
however, the whole site is translated.
practically although the site is translated, only the strings are not displayed in admin translated while before the update they were displayed

all strings that prior to the update are now displayed in English.
however, the whole site is translated.
practically although the site is translated, only the strings are not displayed in admin translated while before the update they were displayed

So that i understand correctly:

You applied a language pack and everything was translated in both front end and admin
You updated the system (to beta 26.2?) and although the translations still work, they are not available in Localisation -> Languages ?

So that i understand correctly:

You applied a language pack and everything was translated in both front end and admin
You updated the system (to beta 26.2?) and although the translations still work, they are not available in Localisation -> Languages ?

Correctly correct.

I added a language pack and everything has been translated.
In both demo sites I have.
I noticed this on site "1" after updating to beta 26, so I checked that it worked in the outdated version. Checked that the strings were displayed in admin I proceeded to update and I found the same problem there too.
That's right, after updating despite the translations working, both front-end and back-end side are not displayed in localization> languages.
I also tried adding a new language but same result.

Correctly correct.

I added a language pack and everything has been translated.
In both demo sites I have.
I noticed this on site "1" after updating to beta 26, so I checked that it worked in the outdated version. Checked that the strings were displayed in admin I proceeded to update and I found the same problem there too.
That's right, after updating despite the translations working, both front-end and back-end side are not displayed in localization> languages.
I also tried adding a new language but same result.

This forum post seems to be related: https://forum.tastyigniter.com/d/44-how-to-setup-multi-language/15
@sampoyigi can you think of any changes between the betas that might be causing this?

This forum post seems to be related: https://forum.tastyigniter.com/d/44-how-to-setup-multi-language/15
@sampoyigi can you think of any changes between the betas that might be causing this?

I could only find this commit since the last update. All that does is update the translated string progress calculation
@elmarra90 are the translated string not showing at all in the admin or is it that the translated progress numbers?

I could only find this commit since the last update. All that does is update the translated string progress calculation
@elmarra90 are the translated string not showing at all in the admin or is it that the translated progress numbers?

Another one tastyigniter/flame@65aff9746c9a3644c27780cb85005731754d7e82

Another one tastyigniter/flame@65aff9746c9a3644c27780cb85005731754d7e82

@sampoyigi
neither the% nor the translated string is displayed (although the site is translated)

@sampoyigi
neither the% nor the translated string is displayed (although the site is translated)

I could only find this commit since the last update. All that does is update the translated string progress calculation
@elmarra90 are the translated string not showing at all in the admin or is it that the translated progress numbers?

@sampoyigi
I checked that commit, the files are already updated with the new fixes.
So I tried to do the reverse job. that is to bring the files to before those corrections and I have seen that the strings have returned to appear in admin.
Refreshing again the files disappear.
So there is something wrong with the new addition of lines to the file:
languages_model

I could only find this commit since the last update. All that does is update the translated string progress calculation
@elmarra90 are the translated string not showing at all in the admin or is it that the translated progress numbers?

@sampoyigi
I checked that commit, the files are already updated with the new fixes.
So I tried to do the reverse job. that is to bring the files to before those corrections and I have seen that the strings have returned to appear in admin.
Refreshing again the files disappear.
So there is something wrong with the new addition of lines to the file:
languages_model

Imagine, I somehow missed changes to the Languages_model from that commit... I'll work on this later and get back to you.

Imagine, I somehow missed changes to the Languages_model from that commit... I'll work on this later and get back to you.

Closing as a recent commit has resolved this and will be available in the next beta.


flutter_test needs to upgrade fake_async from 1.3.0 to 1.3.1

Steps to Reproduce

Try to upgrade fake_async to ^1.3.1

Expected results:
fake_async upgraded to ^1.3.1
Actual results:
Version solving failed with this error message:
Running "flutter pub get" in app_name...
Because every version of flutter_test from sdk depends on fake_async 1.3.0 and app_name depends on fake_async ^1.3.1, flutter_test from sdk is forbidden.
So, because app_name depends on flutter_test from sdk, version solving failed.
pub get failed (1; So, because app_name depends on flutter_test from sdk, version solving failed.)
exit code 1

Logs

[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-x64, locale en-US)
    • Flutter version 3.0.4 at /Users/richardrouzeau/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (8 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/richardrouzeau/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.68.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] VS Code (version 1.70.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.4 21F79 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.114
    ! Device emulator-5562 is offline.

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

This has already been done, so closing as complete.


[New game]: Add a ball and Paddle game with dynamic scoring and points

🎮 Game Request
Game logic and basic description
Paddle ball is a one-person game played with a paddle and an attached ball. Using the flat paddle with the small rubber ball attached at the center via an elastic string, the player tries to hit the ball with the paddle in succession as many times as possible.
Point down the features
Game points

Scoring based on game played
Improved UI for better user experience

Select program in which you are contributing
No response
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @debangi29 , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#4657

Hey @debangi29 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @debangi29 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

I have completed the opened issue...
Please check the PR :)


Real-time detection - CPU overload

Thank you for creating Pytorchvideo and SlowFast.
With input as a video stream, I use OpenCV to read the frame and pass the clip (stack multiple frames) to the model SlowFast.
My problem: when reading frame and processing to give output, the system uses too many CPUs (500% CPU), is there a way to reduce CPU usage without changing the speed?
Any ideas are welcome! :smiley:

Hi @pvd0anh , what is the exact dataset you are working with?
You can always swap out cv2.imdecode for any other image decoder of your liking.

Thanks, @kalyanvasudev  for your answer,
I'm running in real-time, not using a pre-existing dataset.
I read video streams and process them.


Update haproxy template container path in docs

Hi there!
I noticed in the README and "Swarm Mode with Automatic Configuration" docs that /cfg/haproxy.tmpl  is used when describing how to create a custom haproxy config / image, but it should actually be /cfg/tmpl/haproxy.tmpl.
I ran a quick recursive search over all the files (grep -rnw . -e "/cfg/haproxy.tmpl") and these were the only two occurrences I found.
Thank you so much for your time!

That was indeed error on my part. Thank you for the pull request.


Fix syntax error in BinaryMediaTypes

This accidentally had JSON Patch/JSON Path escaping, which is only needed in PATCH requests.
Fixes #114.

Per @timothyjensen in https://github.com/humanmade/tachyon/issues/114#issuecomment-639560611 needs convert_to_binary too.


Able to add keybindings

In VS code i want to be able to add a key binding for running the tests without having to type it in every time
// Place your key bindings in this file to overwrite the defaults [ {     "key": "ctrl+f8",     "command": "phpunit",     "when": "editorTextFocus" }]
I tried that but it does not work. How would i do it?

The command name needs to be either phpunit.Test or phpunit.TestDirectory. You can check the commands section in the package.json.
This should work, seems someone has tested it if you look at the review on the vscode marketplace.
Cheers,
Elon


Updated shortcuts for a11y

We needed to call out Ctrl+M in the Debugger as a way to escape focus trapping in the editor for accessibility. See: https://github.com/Microsoft/monaco-editor/issues/296 for reference. I also just made the Console shortcuts look a little more consistent since I thought "" was confusing when we had two shortcuts that do the same thing.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide/console.md
:white_check_mark:Succeeded

microsoft-edge/devtools-guide/debugger.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


NWS forecast API failures break climate extremes tool

When the API call to api.weather.gov fails, the missing data value breaks tools/climate-extremes.
The failure should only cause the "near term forecast" feature to not load / show data and shouldn't prevent "historical observations" or "future climate projections" from functioning, assuming that they don't rely on data for "near term forecast".

If the NWS forecast API ends up being flakey on a regular basis we might consider switching to a similar weather forecast API from another provider such as OpenWeatherMap.

 Safe guards for NWS API flakiness


Adding tests for SSE transport #413

:up::date:

:up::date:

:watch: I will need to merge this tomorrow.


Added example of outlinedbutton

related to https://github.com/flutter/flutter/issues/75642
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I signed the CLA.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Hello @HansMuller
can you please review this PR?
Thanks


feat: support Lydia and Biswap

Added 'biswap' after 'pancakeswapv1' in Network.BinanceSmartChain [ ] within TRY_ORDER = { } since Biswap has the biggest TVL in that list after PancakeSwap
Added "biswap" and its factory and router addresses in Network.BinanceSmartChain { } within UNISWAPS = { }
Added 'lydia' in Network.Avalanche [ ] within TRY_ORDER = { }
Added "lydia" and its factory and router addresses in Network.Avalanche { } within UNISWAPS = { }

Looks good, merged


#2610 preview reload problem (#2704)

Description
Applying #2704 into 3.3.x branch.
Related Issue : #2610

run build
deploy to 4

run build
deploy to 4

Self test done.
These PRs will be merged in series, in a short period of time:
~~https://github.com/metatron-app/metatron-discovery/pull/2612~~
~~https://github.com/metatron-app/metatron-discovery/pull/2634~~
~~https://github.com/metatron-app/metatron-discovery/pull/2642~~
~~https://github.com/metatron-app/metatron-discovery/pull/2646~~
~~https://github.com/metatron-app/metatron-discovery/pull/2645~~
~~https://github.com/metatron-app/metatron-discovery/pull/2654~~
~~https://github.com/metatron-app/metatron-discovery/pull/2664~~
~~https://github.com/metatron-app/metatron-discovery/pull/2666~~
~~https://github.com/metatron-app/metatron-discovery/pull/2674~~
~~https://github.com/metatron-app/metatron-discovery/pull/2703~~
~~https://github.com/metatron-app/metatron-discovery/pull/2704~~
https://github.com/metatron-app/metatron-discovery/pull/2706
https://github.com/metatron-app/metatron-discovery/pull/2707
https://github.com/metatron-app/metatron-discovery/pull/2715
https://github.com/metatron-app/metatron-discovery/pull/2716
https://github.com/metatron-app/metatron-discovery/pull/2724
https://github.com/metatron-app/metatron-discovery/pull/2738
https://github.com/metatron-app/metatron-discovery/pull/2748
https://github.com/metatron-app/metatron-discovery/pull/2754
https://github.com/metatron-app/metatron-discovery/pull/2761


Memory clear?

Hello.
I'm using this package on a linux-based app.
I'm loading a data list (size of elements is 500K) and wanna show it on the LineChart, but when close the screen, data is not cleared from the memory!
I checked my code and found the problem is due to the package. Because when i load data from database and don't show in the LineChart, memory is fine, while showing data in LineChart fills memory and clearing data in my statefulWidget (in dispose) does not affect on filled memory)
why?
what is the solution?

It is related to the issue that you already wrote a comment here: #1106
I will fix it with high priority.


H5 content definition

I'm looking into hdf5 file format to store my data (acquired via Pyleco)
Is there a specification you follow for the pymodaq save mechanism?
Even if you made your one up, it could be good to adapt your one for better interoperability of data viewers (browsers).
Thanks!

Yes I produced a complete framework both for data management (object and their manipulation, even plotting: http://pymodaq.cnrs.fr/en/latest/user_folder/data_management.html) and their corresponding structure within h5 file (http://pymodaq.cnrs.fr/en/latest/user_folder/data_management/saving_loading_data.html). This allows a seamless integration of pymodaq data into and from hdf5.
I'm even thinking to pull out of pymodaq this framework to make it independent and a package people could use to store/manipulate physical data. Would you be interested in that?

Sure this is an extendable saving object. Already used in pymodaq with the
continuous saving mode of the daqviewers or the daqlogger extension
Le mer. 5 juin 2024, 08:54, Benedikt Burger @.***> a
écrit :

I'm even thinking to pull this framework out of pymodaq to make it
independent and a package people could use to store/manipulate physical
data. Would you be interested in that?
That would be nice.
That way not everybody has to invent their own scheme, nor their own data
browser.
The saving objects implement the specification which is otherwise not
really specified. But the interop is made by creating PyMoDAQ data objects
first (even from other data source) and then resaving them in hdf5 if needed
I see, thanks!
I'm also interested in a continuous measurement, adding row after row, not
just the final table. Is that already possible within your framework?
—
Reply to this email directly, view it on GitHub
https://github.com/PyMoDAQ/PyMoDAQ/issues/312#issuecomment-2149017830,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSNYIY4FAU7DLHBO5WJDYLZF2YYRAVCNFSM6AAAAABIZLJ2OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBZGAYTOOBTGA
.
You are receiving this because you commented.Message ID:
@.***>


Global refactoring

Remove code that deleted burn-in iterations, vectorized showdown loss, removed code that sampled from mean and variance of samples and replaced with the samples themselves, improved RWM performance.

looks better👍
can you also remove the ipynb files in the main directory too?

nice! Thanks!


Fixed: Exit to vault list on screen lock in photo view

Maybe this fix works better :)
It was a little confusing that the FilePhotoFragment.java contains an FragmentActivity and a FragmentStatePagerAdapter.

In this PR this is to be expected, because it contains the faulty #116, but not the fix #121.

This is still not working for me. I played around with creating a BroadcastReciever to recieve SCREEN_OFF events. The event  gets intercepted correctly by the FilesActivity but I can't understand why the photos are still visible (you get an encrypted photo after screen unlock - but the view is still there). Ping me when you have time and I'll send a patch.

Without having seen your patch I can only guess. And I would guess: Because the FilesActivity is not the active activity when viewing a picture. It is FilePhotoFragment (which extends a FragmentActivity although the name doesn't really fit). That activity is together with the SamplePagerAdapter in the file FilePhotoFragment.java. That file is another candidate for a little refactorization ;-)

A quick test shows, that the broadcast receiver will work in the FilePhotoFragment(Activity) https://github.com/L-Henke/secrecy/commit/7c13a8784cba9e129670f1356625c8f1e175613c

Hmmm, please have a look at #129. I couldn't get the event to reach FilePhotoFragment, even if it did, the photo view would still be visible.

Closed, because according to @StelianMorariu this doesn't work reliable.


Play sound on timer independently from OS notifications

Currently, there is only one way to be notified when the timer is up namely using showing OS notification. This approach has different disadvantages which I am going to describe here later. Therefore it would be nice if mobtime could play its own sound when the time is up. Ideally the user should be able to configure which kind of notification they prefer.
Relying on the system notifications has following disadvantages:

On Windows the played sound is not specific to the app and notification.
On Windows if notification sounds are disabled no sound is played when the time is up.
On Ubuntu I was not even able to activate any sounds on notifications, so no sound is played generally
On Ubuntu the notification text is broken as it displays a link to the originating website as  HTML code (see attached screen shot). It is not a mobtime specific problem.

So it would be nice to be able to use mobtime and have audio notification when the time is up without using the OS specific notifications

Solving this issue would probably also resolve https://github.com/mrozbarry/mobtime/issues/90

Could you give me some feedback on this issue?

What sort of feedback do you need?

Whether you agree with the suggestion or have any remarks

I think I'll consider this a duplicate of #90, which is on the roadmap, so I think it's valid.

Thanks for the update


Response Converters

Currently, response structures are returned as they are. But it would be cool to a) hava a means to streamline those responses across different OData versions and b) offer a way to roll your own response converter to have it your way.
Arguments:

odata2ts seeks to align V2 and V4 and the response structures are different

V2 is already cumbersome with the extra wrapping of "d"

$count value is Edm.Int64

end user probably assumes int or number (rare use case of requiring Int64)
V4: type changes when using bigNumbersAsString
should be affected by converters? any fine tuning via extra prop?!

we could automatically handle more cases

201 with location header only
having to handle these kind of responses really hurts, so it would be nice to opt-in to transform this to a response with simple access to the created entity id

filtering props like @odata.context

Ideas

Keep data attribute of the response clean, it should be the plain data: object, array or primitive value.
Move count, nextLink, ... to another property

Just with regards to 3.) this would be nice to have, but you can also argue to leave that to custom HTTP client implementations as you'll firmly leave OData specification territory if you start building content responses from HTTP headers.

Hey @manuelseeger,
thanks for the input, I've upated the initial feature request description to more clearly state the intention: Response converters should be a means to change the response structure. As such response converters should provide you with a way to leave OData specification territory to shape the response as you prefer to have it.
Then again, regarding 3): maybe returning the id in case the body is actually void (because only the Location header is used), this still could be done by default. The client side needs to decide in any case if and how it handles the response. So instead of providing an empty body it could already be the entity id  parsed from the Location header (functionality already provided by the qobjects).
But to be sure, that's only an idea with no exact response structure... But as this can be a real pain point (imagine the code you need to parse the id out of the URL specified in a specific header field) it could go a long way "by default",


fix: terraform_tflint hook in repository with multiple terraform environments

This PR fixes a couple of problems I've experienced when using the terraform_tflint hook:

Same directory tested multiple times due to the method that  pre-commit uses to split input files in batches: this is fixed with require_serial: true
Incomplete path to the file with the error reported by tflint: this is fixed by removing the pushd/popd commands.

Note: Since these are a couple of small issues, I haven't opened any issue against the project. If this is required to get the PR merged, just let me know, and I'll create the issue.

Tests
With serial:
for i in {1..200}; do { echo -e "\n\nTest run $i times\n\n";  time pre-commit try-repo -a /mnt/c/Users/vm/code/open-source/pre-commit-terraform  terraform_tflint ; } 2>> terraform_tflint_with_require_serial_true; done

cat terraform_tflint_with_require_serial_true | awk '{ print $1; }' | datamash max 1 min 1 mean 1 median 1

Without serial:
terraform_tflint_without_serial 200 runs
for i in {1..200}; do { echo -e "\n\nTest run $i times\n\n";  time pre-commit try-repo -a /mnt/c/Users/vm/code/open-source/pre-commit-terraform  terraform_tflint ; } 2>> terraform_tflint_with_require_serial_true; done

cat terraform_tflint_without_serial | awk '{ print $1; }' | datamash max 1 min 1 mean 1 median 1

200 runs with serial:

time command
max
min
mean
median

users seconds
20.56
12.43
14.5878
14.14

system seconds
29.18
20.29
22.69225
22.145

CPU %
177
158
167.81
168

Total time
28.927
19.212
22.15246
21.562

200 runs without serial:

time command
max
min
mean
median

users seconds
130.3
101.46
113.12495
112.63

system seconds
135.47
102.29
115.0939
114.595

CPU %
739
700
730.17
731

Total time
36.779
28.237
31.236725
31.0375

Conclusion
Adding require_serial: true at least does not affect performance on a big codebase.
FYI, @antonbabenko


compile libfranka on window.

I have compiled the libfranka with CMake successfully. But for my project, I need to combine the libfranka and the frame of MFC project. I tried to compile the libfranka with the compiler of VS2017, but it threw the follow error

Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2019	unresolved external symbol "public: __thiscall franka::JointPositions::JointPositions(class std::array<double,7> const &)" (??0JointPositions@franka@@QAE@ABV?$array@N$06@std@@@Z) referenced in function "public: class franka::JointPositions __thiscall MotionGenerator::operator()(struct franka::RobotState const &,class franka::Duration)" (??RMotionGenerator@@QAE?AVJointPositions@franka@@ABURobotState@2@VDuration@2@@Z)	myRobot2	E:\MyvsProject\myMFCrobot\myRobot2\myRobot2.obj	1

Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2019	unresolved external symbol "public: __thiscall franka::JointPositions::JointPositions(class std::array<double,7> const &)" (??0JointPositions@franka@@QAE@ABV?$array@N$06@std@@@Z) referenced in function "public: class franka::JointPositions __thiscall MotionGenerator::operator()(struct franka::RobotState const &,class franka::Duration)" (??RMotionGenerator@@QAE?AVJointPositions@franka@@ABURobotState@2@VDuration@2@@Z)	myRobot2	E:\MyvsProject\myMFCrobot\myRobot2\myRobot2.obj	1

Hi @THELUOHAO ,
I hope you could resolve the problem!
Cheers,
Andreas


Call to Community - Kubernetes!

Wouldn't it be great to deploy this as an ingress controller/load balancer in kubernetes?
This is not so much a request for the original developer as it is a call to the community. Is there anyone else out there using this in k8's? Do any of you have experience with chart development?
Lately I've been moving some services to k8's and deploying (jc21/nginx-proxy-manager) along with metallb as an L7 load balancer, for simple self-service ssl termination. Having a chart to deploy as a k8's aware/compliant ingress controller would be very nice. Also, when scaling I have been using session affinity, but something like the ability to connect to Redis or Memcached would be better. I've been researching how to accomplish all of this myself but the truth is I could use a little help in that department. I'm more than willing to contribute to such a project, however I would much prefer someone with more chart development experience involved. Is there anyone out there interested in such a project?
Also @jc21 if you don't like this being posted here, please lmk. If you're interested I may be able to sponsor something like a Discourse forum for Nginx Proxy Manager! :heart:

Since this is, as you said, a call to the community, I will mark this as closed. You should still be able to comment if anyone wants to.

Hi @inmanturbo , is there something we could work on together?
Trying to do sth similar.


Task timed out after.... should be an ERROR?

Using 0.6.4-pro
[hendry@t480s set]$ up logs 'id = "fb63a8b6-599d-11e8-a437-911ac44bc0b4"' -e
[hendry@t480s set]$ up logs | grep fb63a8b6-599d-11e8-a437-911ac44bc0b4
{"fields":null,"level":"info","timestamp":"2018-05-17T14:46:28+08:00","message":"REPORT RequestId: fb63a8b6-599d-11e8-a437-911ac44bc0b4\tDuration: 18018.26 ms\tBilled Duration: 18000 ms \tMemory Size: 512 MB\tMax Memory Used: 82 MB\t"}
{"fields":null,"level":"info","timestamp":"2018-05-17T14:46:28+08:00","message":"2018-05-17T06:46:28.161Z fb63a8b6-599d-11e8-a437-911ac44bc0b4 Task timed out after 18.02 seconds"}

Couldn't Up do a better job of showing the task timed out given a RequestId please? I was expecting to clearly see the error.
Also little puzzled why I didn't see the corresponding  method=GET path=/ line. I do see a request: id=fb630c38-599d-11e8-b5cf-fd3f412939bc ip=<IP_ADDRESS> method=GET path=/ line, but fb630c38-599d-11e8-b5cf-fd3f412939bc != fb63a8b6-599d-11e8-a437-911ac44bc0b4

Thank you

Ahh yeah I've been meaning to improve that, currently the timeout is Lambda's timeout, so I don't have control over those logs, but we can add a timeout to the request itself in the proxy before Lambda times out

closing for #338 but I'll prioritize that, we just have to "pad" the timeout a bit so Lambda doesn't do it before we do hahah, it's a little awkward


Try using smaller files

WIP; PR for CICID

This PR consistently shaves off about 30 seconds from the build time on my laptop, going from about 2:25 minutes to 1:55. CICD builds seem unaffected, unfortunately.


🐛 [Bug] FX intro example broken

Bug Description
FX front-end simple example is broken due to API change. Reported by @jaybdub
File /opt/conda/lib/python3.8/site-packages/torch_tensorrt/_compile.py:116, in compile(module, ir, inputs, enabled_precisions, **kwargs)
114     lower_precision = LowerPrecision.FP16
115 elif torch.float32 in enabled_precisions or torch_tensorrt.dtype.float in enabled_precisions:
--> 116     lower_precision = LowerPrecision.FP32
117 else:
118     raise ValueError(f"Precision {enabled_precisions} not supported on FX")
NameError: name 'LowerPrecision' is not defined
To Reproduce
Steps to reproduce the behavior:

Run this example

Expected behavior
examples should be stable & in CI
Environment

Build information about Torch-TensorRT can be found by turning on debug messages

NGC 22.08

@jaybdub, I suspect the installation has some problems. Could you try from torch_tensorrt.fx.utils import LowerPrecision? How about import torch_tensorrt.fx?

Hi @frank-wei ,
Thanks for your reply!
Both of the commands you provided pass, but the example still fails.
I'm using the NGC 22.08 PyTorch container, which ships with torch_tensorrt.
Let me know if anything else needed.
Best,
John

Got it.

How about other fx examples?

CC: @narendasan @andi4191
Do we have test cases in DLFW for FX?

I think the root cause for this failure is here:
https://github.com/pytorch/TensorRT/blob/release/ngc/22.08/py/torch_tensorrt/_compile.py#L8-L10
@jaybdub: Please uncomment these lines and re-install. You should be able to run it correctly.
I see that this has been resolved in master branch already.
@ncomly-nvidia : We don't have fx frontend test cases in DLFW CI yet.
@apbose : Please add fx examples to the DLFW CI tests.

@apbose DLFW tests have been added, correct? Can we confirm this example is tested & works?

@ncomly-nvidia  FX tests have been added in DLFW and this example works in the latest containers (verified in 22.11).


Update _SimpleConsensus to use static autograd methods (for PyTorch >1.3)

Thank you so much for sharing your implementation of TPN!
Problem
I've been trying to get it to work in one of my own projects -- however, I ran into the same issue as mentioned #28, in which the user pastes a stack trace with error message "Legacy autograd function with non-static forward method is deprecated." This occurs when you try to call forward() with the old code when the averaging consensus (_SimpleConsensus) is used.
Environment

PyTorch 1.7.0 + CUDA 11.0
Ubuntu 16.04.2 LTS
Python 3.7.8

Summary of changes
In order to make the _SimpleConsensus class (subclassing torch.Autograd.Function) compatible with PyTorch >1.3:

Removed __init__ method from _SimpleConsensus
Use apply static method instead of forward for passing input tensor through the _SimpleConsensus object
forward() method of _SimpleConsensus uses ctx.save_for_backward(args) to cache input tensor x, dim, and consensus_type.
self.shape is no longer a member of _SimpleConsensus; it is reconstructed by retrieving x from ctx.saved_tensors and calling x.size() in each call to backward().

This is consistent with the template given in the PyTorch docs, which I referenced.
Discussion
The changes in this PR work for me -- I am able to run forward() without issue now. However, as a disclaimer, due to the nature of my project, I'm using my own testing script instead of the provided testing framework in this repo. For completeness, my model loading code looks like this:
from TPN.mmaction.models.recognizers import TSN3D
import torch

PRETRAINED_MODEL_PATH = "/path/to/my/model/kinetics400_tpn_r50f32s2.pth"
model = TSN3D(model_cfg["backbone"], necks=model_cfg["necks"], cls_head=model_cfg["cls_head"],
             spatial_temporal_module=model_cfg["spatial_temporal_module"],
              segmental_consensus=model_cfg["segmental_consensus"])
pretrained = torch.load(PRETRAINED_MODEL_PATH)
model.load_state_dict(pretrained)

Please let me know if there's any additional testing (suites or otherwise) I should run, or if there's a contributing guide that I've overlooked. Furthermore, I'm happy to provide more details as needed. Thanks!

It's saying ctx is not defined for me, am I missing something?

It's saying ctx is not defined for me, am I missing something?

Missed a typo; thanks for pointing that out. Does it work for you now?

Missed a typo; thanks for pointing that out. Does it work for you now?

The ctx not defined error is solved, but there's a new error. It seems like save_for_backward can only save tensors, not dim(int) and consensus_type(str): TypeError: save_for_backward can only save variables, but argument 1 is of type int

The ctx not defined error is solved, but there's a new error. It seems like save_for_backward can only save tensors, not dim(int) and consensus_type(str): TypeError: save_for_backward can only save variables, but argument 1 is of type int

I've created a PR on your fork with the code that works for me: PR

I've created a PR on your fork with the code that works for me: PR


[Bug]: Duplicate token request causes login to fail

Plugin Version
7.0.0
PHP Version
8.2.21
Shopware Version
<IP_ADDRESS>
Installation method
Composer
Identity provider
Keycloak
What happened?
If clicking on the SSO button in the admin, I see the following in the requests:

Unfortunately it looks like the first (canceled) token requests leads to Heptacom\AdminOpenAuth\Service\Login->pop() and therefore the second token request doesn't have a LoginState.
The result is
throw OAuthServerException::invalidRequest('one_time_token', 'Expired');

Not sure what is causing this.
Probable useful hint: We're building our projects with shopware-cli project ci .
Relevant log output
No response

There is a redirect from /admin?state=SOME_STATE# to /admin?state=SOME_STATE#/login/ which is causing the issue.
Most likely came with new VUE version in SW 6.6, in 6.5 the url was changing but wasn't considered as redirect in the browser.
In our case we have fixed it with a patch file for ClientRedirectRoute by adding
$targetUrl = $this->enrichRedirectUrl($targetUrl, $requestState);
$targetUrl .= '/login/'; // addition

Ugly fix as we are short on time with the upgrade, would be great to have a new plugin version with a proper fix!

We just had a similarly reported issue on
Plugin Version
6.0.0
6.0.3
Shopware Version
<IP_ADDRESS>
Identity provider
Microsoft Azure
So this does not seem to be a provider bug but likely a compatibility issue with Shopware since 6.5.8.?


Maximum function nesting level of '256' reached, aborting!

This happens when attempting to use any function (that uses recursion behind the scenes).
Side Note: My database table structure uses UUIDs for the primary key column, and thus also for the parent_id column. I also have a nullable foreign key from parent_id to id to constrain relationships.
The documentation shows a parent_id of "0" for a category that's at the top. In my case, it's simply a null value for parent_id if it's at the top. A value of 0 would error out even if you were using numeric values with a foreign key constraint, as 0 would never be a valid ID because auto incrementing columns typically start on 1.
Not sure what the issue is with this but I'm guessing it has something to do with this.

Hi @GlitterCakes
the determinations you have made are very appropriate but they should not have anything to do with the error. This is due to php's recursive limits. What is your php version?

Well, it works fine when I write the recursive handler myself on the same dataset. So there is a problem with the package. This is on PHP version 7.3.

Hi @GlitterCakes
glad to work that.


[Feature] Allow preventing smoke-tests on particular stories

Describe the Feature
I have a Themed story in many of my stories files which simply renders other stories together in a "light mode" and "dark mode".  If I'm testing each of those other stories, then I would like to save the time and prevent my Themed stories from being smoke-tested.  As far as I know, there's no way to do this currently.
One approach might be to add a parameter, like
const Themed = {
  ...myCSF,
  parameters: {
    testing: {
      disable: true,
    },
  },
}

If this approach was taken, it might also be a way to set the it description of the test (see https://github.com/storybookjs/test-runner/issues/71), even though it's a little clunky.  In addition, maybe it would be a cool way to add setup/teardown hooks for a particular story.  Even though I haven't found that I need those so far, but I think that's because each test is a fresh page load.  Which is great for isolation, but definitely slows things down.  And the individual stories themselves are not new page loads, so there could need to be setup/teardown between them.  But that's probably a separate issue.

I have another use case for needing to prevent test-runner from executing a particular story.  This time, it's because of my play function.  It executes a click on an anchor tag that causes navigation (only a hash change, so it doesn't actually break the page).  Puppeteer still detects this as a navigation, and dies with an error of Execution context was destroyed, most likely because of a navigation..  If I could disable the story from the test runner, I could still snapshot it with chromatic, which would meet my needs.

Here's another situation where I need to disable a particular test.  I have a story which sets a narrow viewport, which exposes a mobile menu button, which I use the play function to click on, and then I snapshot the result with chromatic.
However, this doesn't work in the test runner, because there's no way to set the viewport size. (https://github.com/storybookjs/test-runner/issues/85).   Since I also can't disable the test-runner, I think I'll just need to weaken my play function to be sure that it doesn't error when there's no mobile menu button (use queryBy instead of findBy, for instance).  But it would be better if I could just disable the test (until #85 is solved).

I'd also love to be able to easily opt-out stories from test-runner as well, and I like the use of a parameter similar to how Storyshots allows this via storyshots: { disable: true }.
I did find a way to achieve just that via a custom decorator.
Add this decorator to your preview.* file:
DisableTestRunnerDecorator: DecoratorFn = (Story, { parameters }) => {
  if (parameters.testRunner?.disable === true && navigator.userAgent === 'Storybook Test Runner') {
    return <>Disabled for Test Runner</>;
  }

  return <Story />;
};

export const decorators: DecoratorFn[] = [
  DisableTestRunnerDecorator,
  // any other decorators you might have
];

Then (use test-storybook --eject  and) add the following to your test-runner-jest-config.js:
const { getJestConfig } = require('@storybook/test-runner');

module.exports = {
  // The default configuration comes from @storybook/test-runner
  ...getJestConfig(),
  /** Add your own overrides below
   * @see https://jestjs.io/docs/configuration
   */
  testEnvironmentOptions: {
    'jest-playwright': {
      contextOptions: {
        userAgent: 'Storybook Test Runner',
      }
    }
  }
};

What about skipping the render if the preRender hook returned false or something like that? That would allow people to inspect context / parameters and skip based on that?

@FokkeZB in Storybook v7 it seems the condition has changed for the userAgent. It's required to do:
  if (parameters.testRunner?.disable === true && navigator.userAgent.includes('StorybookTestRunner')) {
    return <>Disabled for Test Runner</>;
  }

@yannbf any plan for this officially?

Ran into this today, it'd be nice to be able to easily skip our error boundary test without a custom decorator.

Our error boundary component is exactly why I want to be able to skip a story as well. It throws up the webpack veil locally.

Hey everyone! We just released a test filtering feature in the test-runner v0.15.0, which you can read here.
Please try it out and provide feedback! Thank you!


Does not work with watch

This is an unusual use case, but sometimes I want to see large files being copied and their size growing.
I'd love to use watch natls for those times.

Are you asking to make it so that the file size dynamically increases on the screen?

the reason the output is gibberish is because nat is attempting to display color in the terminal witch watch does not seem to support, I will work on adding an option to disable color output so that you can read the watch output.

https://github.com/willdoescode/nat/commit/b248580902feb2e9795890278f98599592c7b154


Paired-key Crypto Scheme

BEEFY needs two cryptographic keys at the same time. Validators should sign BEEFY payload using both ECDSA and BLS key. The network will gossip a payload which contains a valid ECDSA key. The prover nodes aggregate the BLS keys if aggregation fails to verifies the validator which provided a valid ECDSA signature but an invalid BLS signature is subject to slashing.
As such BEEFY session should be initiated with both key. Currently there is no straight forward way of doing so, beside having a session with RuntimeApp corresponding to a crypto scheme contains both keys.
This pull request implement a generic paired_crypto scheme as well as implementing it for (ECDSA, BLS) pair.
Polkadot companion: (if applicable)
Cumulus companion: (if applicable)
Checklist

[x] My PR includes a detailed description as outlined in the "Description" section above
[ ] My PR follows the labeling requirements of this project (at minimum one label for each A, B, C and D required)
[ ] I have made corresponding changes to the documentation (if applicable)
[ ] I have added tests that prove my fix is effective or that my feature works (if applicable)
[ ] If this PR alters any external APIs or interfaces used by Polkadot, the corresponding Polkadot PR is ready as well as the corresponding Cumulus PR (optional)

✄ -----------------------------------------------------------------------------

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3327400

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3327386

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3379232

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3379218

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3420187

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3420173

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3421566

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3427364


Specify the arguments for lifecycle methods

Add some more unit tests to specify the arguments each lifecycle method expects to be passed. With the addition of getDerivedStateFromProps, it is important to pass the proper state values into the right parameters. For example, should the next state argument for shouldComponentUpdate get the new state before or after getDerivedStateFromProps was called? These tests specify that behavior (answer: after).
While not the most useful at this time, I think these tests will be useful if the relevant internals of Preact are refactored.

Coverage remained the same at 100.0% when pulling c10d70581e7524e0174f7e876016da743cce5309 on andrewiggins:prev-props-and-state-uts into 969f56fed3bbf8549a8ad2d6479061e7e9d56feb on developit:master.


Fixed javadoc warning

Motivation and Context

Fixes #258
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

:+1:


Updating readme in loop-unroll, prefix sum, and projecttemplates

Updating readme in loop-unroll, prefix sum, and projecttemplates
Updated 7 README.md files
Existing Sample Changes
Description
File: ...\DirectProgramming\DPC++\ParallelPatterns\loop-unroll\README.md
Changes: Restructured the topic to match current readme structure agreements. Updated setting vars information. Corrected multiple formatting issues. Change DPC++ to SYCL* as needed.
File: ...\DirectProgramming\DPC++\ParallelPatterns\PrefixSum\README.md
Changes: Restructured the topic to match current readme structure agreements. Updated math formatting. Corrected multiple formatting issues. Change DPC++ to SYCL* as needed. Updated branding issues. Updated setting vars information.
File: ...\DirectProgramming\DPC++\ProjectTemplates\cmake-fpga\README.md
Changes: Updated the "what you will learn" information to match the main readme in the same projecttemplates folder. Changed DPC++ to SYCL* as needed. Updated branding issues. Updated setting vars information. Corrected formatting and heading issues. Restructured the topic to match current readme structure agreements.
File: ...\DirectProgramming\DPC++\ProjectTemplates\cmake-gpu\README.md
Changes: Updated the "what you will learn" information to match the main readme in the same projecttemplates folder. Changed DPC++ to SYCL* as needed. Updated branding issues. Updated setting vars information. Corrected formatting and heading issues. Restructured the topic to match current readme structure agreements.
File: ...\DirectProgramming\DPC++\ProjectTemplates\Hello_World_GPU\README.md
Changes: Updated the "what you will learn" information to match the main readme in the same projecttemplates folder. Changed DPC++ to SYCL* as needed. Updated branding issues. Corrected formatting issues. Restructured the topic to match current readme structure agreements.
File: ...\DirectProgramming\DPC++\ProjectTemplates\makefile-fpga\README.md
Changes: Updated the "what you will learn" information to match the main readme in the same projecttemplates folder. Changed DPC++ to SYCL* as needed. Updated branding issues. Corrected formatting issues. Restructured the topic to match current readme structure agreements.
File: ...\DirectProgramming\DPC++\ProjectTemplates\makefile-gpu\README.md
Changes: Updated the "what you will learn" information to match the main readme in the same projecttemplates folder. Changed DPC++ to SYCL* as needed. Updated branding issues. Corrected formatting issues. Restructured the topic to match current readme structure agreements.
Fixes Issue#
External Dependencies
N/A
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[x] Documentation

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] VSCode

@ishaghosh27 - please review
Adding @jimmytwei for notifications.


REDEX

The landing page does not show the deadline even though we add the deadline while creating it.

The deadline field in the the model is the one which stores the deadline.
We need to change the page corresponding to the url "todos/".
Please figure out if the api needs to change and change accordingly


Add font color for buttons when focused

The changes inside default_theme.cpp can be skipped but then users won't know about this feature.
Closes #30614
EDIT: NVM about this for now. It overrides other colors so it is not a proper fix. Fixed. Previously it was assumed that mouse enter and focus enter is the same thing, which is not.
EDIT: There is currently an automatic slight highlight of the text when the button is focused, but there is not a way to give the text a custom color on focus.

If this is added it should likely also have a dedicated stylebox.
But do we really need to add this? The more states we add to BaseButton, the more work every user has to do in their themes, assigning custom styleboxes and colors to everything if they need to override the default theme.
Hovered typically happens from mouse motion, and focused typically happens from keyboard/gamepad movement keys, so it seems to me that having only hovered for both should be sufficient in the vast majority of cases.

If this is added it should likely also have a dedicated stylebox.
But do we really need to add this? The more states we add to BaseButton, the more work every user has to do in their themes, assigning custom styleboxes and colors to everything if they need to override the default theme.
Hovered typically happens from mouse motion, and focused typically happens from keyboard/gamepad movement keys, so it seems to me that having only hovered for both should be sufficient in the vast majority of cases.

There is actually a style box for focused state.

I am only adding custom font color for the focused state. It would be much more efficient if font colors were added in style boxes though and IF there is text, apply the values.

But do we really need to add this? The more states we add to BaseButton, the more work every user has to do in their themes, assigning custom styleboxes and colors to everything if they need to override the default theme.

I see your point there, but everything continues to work as it were. No one has to spend more time unless they need to, we're simply giving them the option. But i will agree that this might be a rare case so i will understand if this does not get merged. To be fair, i am building an application, not a game. For that reason, i mostly utilize the UI controls, and Godot has some powerfull UI building controls. That said, i would appreciate some more customization :relaxed:. Anyway, feel free to reject whatever seems unnecessary, i understand other people use the engine and they have different needs.

@zaksnet Is this still desired? If so, it needs to be rebased on the latest master branch.

I'm not sure if this is necessary either. Most of the time, a focus style should only change the "outside" appearance of the control to indicate that it was focused.
That said, there is a point to be made for controller-driven game UIs that use buttons with no background. I think this should be addressed separately by having a way to automatically display the "hover" style when the control is focused. Perhaps this should be a project setting? Either way, this should be discussed in a proposal.

I think this should be addressed separately by having a way to automatically display the "hover" style when the control is focused.

This is already how the engine works, and this PR removes that behaviour.
I agree with Akien's statements regarding moving things away from the custom fields in the buttons and moving them into the theme. We can probably have font color options in the style boxes, then perhaps you can use the Focus stylebox to set the font color.
Never the less, setting status.hover to true in FOCUS_ENTER is incorrect, in my opinion. Our team was quite confused by this behaviour and it has created problems with our UI. If the user switches between mouse and keyboard, the Hover and Focus states lose consitency and break the UI.
I removed the alteration of status.hovering from FOCUS_ENTER/EXIT events in this PR:
https://github.com/godotengine/godot/pull/47280
I think we should close this PR in favour of Akien's suggestion regarding moving font color into Styleboxes. I'm willing to work on that. Additionally, if we maintain the integrity of both is_focused and is_hovering, then it is simple to add a small script to change the font color when something is focused or hovered, currently, is_hovering is inconsistent because FOCUS_ENTER/EXIT alters it.

I too agree that having the font colour in the style boxes is the best way to go 👍


Update IpInterface::inRange()

Fix bug when comparing IPv6 and IPv4-embedded addresses (incorrect network addresses compared).
Will now throw InvalidCidrException on an invalid CIDR, instead of just returning false.
Will now throw WrongVersionException on comparing two IPs of differing byte-length (IPv4 vs IPv6/IPv4-embedded).
Helper methods in Multi now correctly detect IPv4 according to embedding strategy and CIDR.

Do not merge until after #76 (update AbstractIP::isSameByteLength() to use Darsyn\IP\Util\MbString).

Unsure whether this is a breaking change or not :thinking:
Technically an exception is thrown where one wasn't before, but only on invalid inputs that would thrown an exception for all similar methods.


Make the ptrauth builtins no-ops when ptrauth is disabled

rdar://62855068

@swift-ci Please test.

Build failed
Swift Test Linux Platform
Git Sha - f3ecf91f35425aeff187bfae6f1c641d6a8c33d9

@swift-ci Please test.

Build failed
Swift Test OS X Platform
Git Sha - f3ecf91f35425aeff187bfae6f1c641d6a8c33d9

Build failed
Swift Test Linux Platform
Git Sha - f3ecf91f35425aeff187bfae6f1c641d6a8c33d9


Integrate services of all repos to get them working.

Changes made:

Added chill-core package
Renamed rest-api to api
Moved migrations into monitor
Used sqlite3 queries instead of postgresql in api
Added env config in api and dashboard to point to chill.yml file of monitor

@nishanbajracharya Remove .editorconfig from all folders and use a single file at the top level directory. Also, remove all .codeclimate.yml files.


Use the Drop Shadow, why not Drop Shadow after the output?AE CC 2015 /bodymovin_4.9

Tell us about your environment

Browser and Browser Version:
After Effects Version:

What did you do? Please explain the steps you took before you encountered the problem.
What did you expect to happen?
What actually happened? Please include as much relevant detail as possible.
Please provide a download link to the After Effects file that demonstrates the problem.

supplement
Drop shadow.json.zip

Hi, the layer styles drop shadow is not supported, try using the one from the effects panel

Use the shadow in the effects panel, or not. why? Can you give specific effects?
Test the shadow.json.zip

You can use AE to cut a map to see, which is a special shadow support lottie?

Which shadow is supported？

@bodymovin


docs(example): go-codegen from cosmwasm schema

document & modify a contract example from schema -> the go code for cosmwasm execution
https://github.com/srdtrk/go-codegen

already integrated! https://github.com/srdtrk/go-codegen/pull/47 we should add documentation on this


Remove immutable.js dependency and make currentRoute a plain object

Resolves #98

:+1:

CLA is valid!


pkl-server should expose both a transport schema version and the version of Pkl itself

There should be a GET_VERSION and a GET_SCHEMA_VERSION command defined on pkl-server, so-as to get versions from the server itself (instead of running the CLI separately)

I'm thinking the schema version should probably just be an extra field on each message.