Cesium Install Fails on Gentoo @Playwright

What happened?
I'm trying to install Cesium on a Gentoo Linux system.  The install fails at Playwright.
I am able to install Playwright outside of the Cesium install paradigm, see lines 7-9 of this Pastebin:  https://pastebin.com/EjEREg01
Reproduction steps

git clone https://github.com/CesiumGS/cesium.git
cd cesium
npm install

Sandcastle example
NA
Environment
Browser:
Firefox: 124.0.2 (64-bit)
Chrome: Version 123.0.6312.122 (Official Build) (64-bit)

CesiumJS Version:
(cesium) eos /home/jlpoole/cesium/cesium # git --no-pager log -1
commit 58bc5ac46d1884656973496942aef15fc08070c4 (HEAD -> main, origin/main, origin/HEAD)
Merge: a9765758a2 1b6f3cdd42
Author: Gabby Getz<EMAIL_ADDRESS>Date:   Wed Apr 17 13:38:54 2024 -0400

    Merge pull request #11939 from CesiumGS/remove-source-check-types

    Don't copy `.d.ts` files with other assets in build
(cesium) eos /home/jlpoole/cesium/cesium #

Operating System:  Gentoo Linux
Linux eos 6.6.13-gentoo-dist #1 SMP PREEMPT_DYNAMIC Fri Jan 26 12:14:04 PST 2024 x86_64 AMD Ryzen 7 5700U with Radeon Graphics AuthenticAMD GNU/Linux

Thanks for the report @jlpoolen. As it says in your output it looks like this is a Playwright issue as you're system is not supported

BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu20.04-x64 as a fallback.

This means it falls back to apt-get which you do not seem to have.
Their own system requirements list Debian only for linux

Debian 11, Debian 12, Ubuntu 20.04 or Ubuntu 22.04, with x86-64 or arm64 architecture

If you can confirm playwright works correctly on your system in another project we can look into why it might not in CesiumJS but otherwise I would recommend opening an issue in the playwright repo for Gentoo support.
All of that said, if you just wish to use CesiumJS you don't need to clone the repo and can just install from npm. If you're cloning the repo to contribute that's awesome! We are always happy to review community PRs if you find a fix for this and would like to improve our code for a wider range of developers feel free to open an PR.

I ended up using a Debian VM and successfully installed cesium.  If you know of a project that uses Playwright, I could try and see if my installation of Playwright works.  Playwright is a new project to me.  The problem is that if Playwright does not install, then the cesium install script halts.  Maybe a work-around would be like a configuration test and if Playwright is found on the system, then the install step is bypassed and cesium's install proceeds?
As far as I am concerned, I've logged the issue here to alert other potential Gentoo users (I may be the first to try Cesium on Gentoo in the last 5 years) and my work-around was to switch over to a Debian machine.  You can close this issue unless you have test for Playwright that doesn't require me to do much except install something which depends on Playwright and is stable.
Thank you for your considered response.

Thanks @jlpoolen. Feel free to continue conversation in this thread, but I'm going to go ahead and close the issue.


Review of general and basic usage sections

I have looked at the "General" and "Basic Usage" sections of the SDR docs. The majority of the fixes target small typos and or attempt to simplify sentences. I have also tried to introduce a more active and less descriptive voice in the docs.
Some notable changes:

I have renamed the basic usage page (not section) to "Navigating the data repository"
I have removed nesting from several pages. For example, I have flattened the best practices.
I have updated the download instructions to include installation and usage of the script.

@hevp please do not forget to check and merge this :).

@hevp I have rebased on the latest master and applied your review comments (last two commits, 879f4e2 and dab83de). If you agree could you please merge and close? :)

Pushed three commits to get rid of some warnings from the build step, I have 5 warnings left but those are not caused by these changes:
WARNING: Python 2 is deprecated with sphinx_rtd_theme, update to Python 3
WARNING: Sphinx 1.x is deprecated with sphinx_rtd_theme, update to Sphinx 2.x or greater
WARNING: 'html4_writer' is deprecated with sphinx_rtd_theme
...
WARNING: unsupported theme option 'relbarbgcolor' given
WARNING: unsupported theme option 'rightsidebar' given
...
build succeeded, 5 warnings.

The HTML pages are in target.
~/projects/sdrdocs


Add documentation for lts/ folder support in nodenv versions

An initial attempt to add documentation around the feature from #154
Note: The documented feature is currently not yet released outside of nodenv installations via the git master branch. It probably makes sense to only merge this close to the actual wider release.

@jasonkarns How do you feel about this and publishing the changes from #154? I've been using them for myself for a while now and everything seems great.

released as v1.4.0!

I think the last command in the example should be:
$ ln -s ../12 lts/erbium

Excellent catch, I must have typo'd that 🙂 Fix in #166

c3a43740aceb80fee7016805873bf525db2b9578

c3a43740aceb80fee7016805873bf525db2b9578


get_candles returns Nonetype for many coins

Anyone else having trouble with get_candles? I find that when I try to pull a data from a list of coin names, some of the coin names don't return candle profiles, but instead return Nonetype. All thoughts welcome!

Anyone else having trouble with get_candles? I find that when I try to pull a data from a list of coin names, some of the coin names don't return candle profiles, but instead return Nonetype. All thoughts welcome!

Yes, I'm also getting:
TypeError: 'NoneType' object is not subscriptable
in fill_missing_candles filled_list = [candles[0]]
Truly enjoyed Josiah Swaim's excellent article "Guide to Cryptocurrency Arbitrage: How I made 1% profit an hour" and hope to get this demo script running.  Was able to get the Bittrex API_V2 issue to the correct lib install...

Yes, it is faulty when you are pulling data for multiple coins at the same time
Sent from my Verizon, Samsung Galaxy smartphone

From: sigmund505<EMAIL_ADDRESS>Sent: Thursday, May 28, 2020 5:32:24 PM
To: ericsomdahl/python-bittrex<EMAIL_ADDRESS>Cc: tjohnson310<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ericsomdahl/python-bittrex] get_candles returns Nonetype for many coins (#163)
Anyone else having trouble with get_candles? I find that when I try to pull a data from a list of coin names, some of the coin names don't return candle profiles, but instead return Nonetype. All thoughts welcome!
Yes, I'm also getting:
TypeError: 'NoneType' object is not subscriptable
in fill_missing_candles filled_list = [candles[0]]
Truly enjoyed Josiah Swaim's excellent article "Guide to Cryptocurrency Arbitrage: How I made 1% profit an hour" and hope to get this demo script running. Was able to get the Bittrex API_V2 issue to the correct lib install...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ericsomdahl/python-bittrex/issues/163#issuecomment-635619610, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHLE47HT3HYLVPH6NLGDQALRT3J6RANCNFSM4H644Y7A.

Try to limit # of coins to 10 ish
Sent from my Verizon, Samsung Galaxy smartphone

From: Timothy Johnson<EMAIL_ADDRESS>Sent: Thursday, May 28, 2020 6:20:33 PM
To: ericsomdahl/python-bittrex<EMAIL_ADDRESS>ericsomdahl/python-bittrex<EMAIL_ADDRESS>Cc: Author<EMAIL_ADDRESS>Subject: Re: [ericsomdahl/python-bittrex] get_candles returns Nonetype for many coins (#163)
Yes, it is faulty when you are pulling data for multiple coins at the same time
Sent from my Verizon, Samsung Galaxy smartphone

From: sigmund505<EMAIL_ADDRESS>Sent: Thursday, May 28, 2020 5:32:24 PM
To: ericsomdahl/python-bittrex<EMAIL_ADDRESS>Cc: tjohnson310<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ericsomdahl/python-bittrex] get_candles returns Nonetype for many coins (#163)
Anyone else having trouble with get_candles? I find that when I try to pull a data from a list of coin names, some of the coin names don't return candle profiles, but instead return Nonetype. All thoughts welcome!
Yes, I'm also getting:
TypeError: 'NoneType' object is not subscriptable
in fill_missing_candles filled_list = [candles[0]]
Truly enjoyed Josiah Swaim's excellent article "Guide to Cryptocurrency Arbitrage: How I made 1% profit an hour" and hope to get this demo script running. Was able to get the Bittrex API_V2 issue to the correct lib install...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ericsomdahl/python-bittrex/issues/163#issuecomment-635619610, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHLE47HT3HYLVPH6NLGDQALRT3J6RANCNFSM4H644Y7A.

Thanks!!!
On Thu, May 28, 2020 at 3:23 PM tjohnson310<EMAIL_ADDRESS>wrote:

Try to limit # of coins to 10 ish
Sent from my Verizon, Samsung Galaxy smartphone

From: Timothy Johnson<EMAIL_ADDRESS>Sent: Thursday, May 28, 2020 6:20:33 PM
To: ericsomdahl/python-bittrex<EMAIL_ADDRESS>ericsomdahl/python-bittrex<EMAIL_ADDRESS>Cc: Author<EMAIL_ADDRESS>Subject: Re: [ericsomdahl/python-bittrex] get_candles returns Nonetype for
many coins (#163)
Yes, it is faulty when you are pulling data for multiple coins at the same
time
Sent from my Verizon, Samsung Galaxy smartphone

From: sigmund505<EMAIL_ADDRESS>Sent: Thursday, May 28, 2020 5:32:24 PM
To: ericsomdahl/python-bittrex<EMAIL_ADDRESS>Cc: tjohnson310<EMAIL_ADDRESS>Author <
<EMAIL_ADDRESS>Subject: Re: [ericsomdahl/python-bittrex] get_candles returns Nonetype for
many coins (#163)
Anyone else having trouble with get_candles? I find that when I try to
pull a data from a list of coin names, some of the coin names don't return
candle profiles, but instead return Nonetype. All thoughts welcome!
Yes, I'm also getting:
TypeError: 'NoneType' object is not subscriptable
in fill_missing_candles filled_list = [candles[0]]
Truly enjoyed Josiah Swaim's excellent article "Guide to Cryptocurrency
Arbitrage: How I made 1% profit an hour" and hope to get this demo script
running. Was able to get the Bittrex API_V2 issue to the correct lib
install...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/ericsomdahl/python-bittrex/issues/163#issuecomment-635619610>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AHLE47HT3HYLVPH6NLGDQALRT3J6RANCNFSM4H644Y7A

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ericsomdahl/python-bittrex/issues/163#issuecomment-635640141,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPJ2VIXGFE4RKXNOPMVIODRT3P7VANCNFSM4H644Y7A
.

Would love to collab on trading bots if anyone is open!

From: sigmund505<EMAIL_ADDRESS>Sent: Thursday, May 28, 2020 6:28:13 PM
To: ericsomdahl/python-bittrex<EMAIL_ADDRESS>Cc: tjohnson310<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ericsomdahl/python-bittrex] get_candles returns Nonetype for many coins (#163)
Thanks!!!
On Thu, May 28, 2020 at 3:23 PM tjohnson310<EMAIL_ADDRESS>wrote:

Try to limit # of coins to 10 ish
Sent from my Verizon, Samsung Galaxy smartphone

From: Timothy Johnson<EMAIL_ADDRESS>Sent: Thursday, May 28, 2020 6:20:33 PM
To: ericsomdahl/python-bittrex<EMAIL_ADDRESS>ericsomdahl/python-bittrex<EMAIL_ADDRESS>Cc: Author<EMAIL_ADDRESS>Subject: Re: [ericsomdahl/python-bittrex] get_candles returns Nonetype for
many coins (#163)
Yes, it is faulty when you are pulling data for multiple coins at the same
time
Sent from my Verizon, Samsung Galaxy smartphone

From: sigmund505<EMAIL_ADDRESS>Sent: Thursday, May 28, 2020 5:32:24 PM
To: ericsomdahl/python-bittrex<EMAIL_ADDRESS>Cc: tjohnson310<EMAIL_ADDRESS>Author <
<EMAIL_ADDRESS>Subject: Re: [ericsomdahl/python-bittrex] get_candles returns Nonetype for
many coins (#163)
Anyone else having trouble with get_candles? I find that when I try to
pull a data from a list of coin names, some of the coin names don't return
candle profiles, but instead return Nonetype. All thoughts welcome!
Yes, I'm also getting:
TypeError: 'NoneType' object is not subscriptable
in fill_missing_candles filled_list = [candles[0]]
Truly enjoyed Josiah Swaim's excellent article "Guide to Cryptocurrency
Arbitrage: How I made 1% profit an hour" and hope to get this demo script
running. Was able to get the Bittrex API_V2 issue to the correct lib
install...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/ericsomdahl/python-bittrex/issues/163#issuecomment-635619610>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AHLE47HT3HYLVPH6NLGDQALRT3J6RANCNFSM4H644Y7A

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ericsomdahl/python-bittrex/issues/163#issuecomment-635640141,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPJ2VIXGFE4RKXNOPMVIODRT3P7VANCNFSM4H644Y7A
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ericsomdahl/python-bittrex/issues/163#issuecomment-635641616, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHLE47EWBRIVDCSTEFXBOG3RT3QP3ANCNFSM4H644Y7A.


My code not working with same error

window.addEventListener("load", () => {
let long;
let lat;
let temperatureDescription = document.querySelector(
".temperature-description"
);
let temperatureDegree = document.querySelector(".temperature-degree");
let locationTimezone = document.querySelector(".location-timezone");
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition((position) => {
long = position.coords.longitude;
lat = position.coords.latitude;
  const proxy = "https://cors-anywhere.herokuapp.com/";
  const api = `${proxy}https://weathersync101.herokuapp.com/weather/${lat},${long}`;

  fetch(api)
    .then((response) => {
      return response.json();
    })
    .then((data) => {
      const { temperature, summary } = data.currently;
      temperatureDegree.textContent = temperature;
    });
});

}
});

Have you seen the pinned announcement? That may be the cause.
It seems that you're requesting data from an app on Heroku that you've developed yourself. If you own the backend, it is far better to send the CORS response headers yourself (e.g. Access-Control-Allow-Origin: *) instead of using a CORS proxy.


is this ready for usage?

Thanks for making this! Much cleaner to have the bootstrap in its own repo. I was in the middle of configuring our code with the old bootstrap module when I noticed this one. Is this ready to use?

Hi @Almenon
Yes is ready for use
Check out the examples

argocd-ingress
aws-secrets-manager
crossplane
external-secrets
multi-cluster/distributed
multi-cluster/hub-spoke
multi-cluster/hub-spoke-shared
private-git

@Almenon
Give us feedback, you can find me in argo-cd channel in CNCF Slack https://slack.cncf.io


Correction for raw affiliation The National Institute for Medical Research, The Ridgeway, Mill Hill, London, United Kingdom.

Correction needed for raw affiliation The National Institute for Medical Research, The Ridgeway, Mill Hill, London, United Kingdom.
raw_affiliation_name: The National Institute for Medical Research, The Ridgeway, Mill Hill, London, United Kingdom.
new_rors:
previous_rors: 04tnbqb63
works_examples: W2084852533
contact: ffd5314c745d7e8fc0b1798320d9d976:679ab215aa425932a010cbba8d83a32d76865c68 @ crick.ac.uk

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Can"t resolve scalar market at 0

I am trying to report on a scalar market (range 0-17) reporting 0 and it keeps failing...but no errors in the console
Tried 3 xs failed all 3.....tried settling at other bound of 17 and that works
Same for Basketball scalar template also, cant report 0 as the winning outcome

fixed - closing


allow both width and height to be set for fixed queries

This PR allows the user to specify both a width and a height for fixed queries. Previously, only a width or a height could be specified, and a width transformation would be applied to the Cloudinary URL. Now width parameters add width transformations and height parameters add height parameters. A width transformation is added if neither a width nor a height parameter is provided.

@Chuloo I hope everything is well with you and you're not too busy.
Would it be possible for you to review my three PRs? (https://github.com/cloudinary-devs/gatsby-transformer-cloudinary/pull/56, https://github.com/cloudinary-devs/gatsby-transformer-cloudinary/pull/57, and https://github.com/cloudinary-devs/gatsby-transformer-cloudinary/pull/62)?
I'm currently using a fork of this repo with those changes at my work, and I'd love to get my work back to depending on builds from this repo.

Thanks for the nudge @kurttomlinson 👍


when ids are to be kept, do not minify them

Minifying the svg ids, basically defeats the purpose of keeping them, and causes various issues.

Thanks!

Thanks!
Wondering why did the tests fail in my branch, but not in the merged commit onto master?

It was a race condition I fixed it.


Hosting with Multiple Frontends - is it possible?

Which Category is your question related to?
Hosting & multiple front ends
Amplify CLI Version
5.2.1
What AWS Services are you utilizing?
Hosting, API, Auth (imported from an existing CDK Cognito)
We have a monorepo with one folder for the backend and one folder for the frontend. I have successfully set up all of the backend functionality in the correct folder.
Then, following the instructions to run amplify pull from the frontend folder, all seems well. Except, if I run amplify add hosting I get the No Amplify backend project files detected within this folder. Either initialize a new Amplify project or pull an existing project. error.
FYI, likewise running amplify status results in the same error.
Am I doing something wrong, or is hosting for multiple front-ends (as described here: https://docs.amplify.aws/cli/teams/multi-frontend#workflow) not possible?

Hey @ChrisSargent :wave: when stepping through the prompts for amplify pull we have to select "Yes" for "Do you plan on modifying this backend?" in order to add more resources like hosting. Are your intentions to host multiple web apps with the same backend resources, all from the same monorepo?

@josefaidt exactly that, yes. Ideally one backend package that has the API and schema etc and one or more front ends using the same api.

Hey @ChrisSargent thanks for clarifying! Unfortunately this is not currently supported, and there is an existing feature request with a slightly different workflow. I'll mark this as a feature-request and raise it with the team!

Okay. I think we'll probably manage all our front ends with CDK then and just use Amplify for the graphql api.
Rather than this feature request, Id love to see the annotated Schema to resource generation to be available in CDK

Hi @ChrisSargent, we have a recommended monorepo structure that should be helpful for dealing with multiple frontends: https://docs.amplify.aws/cli/usage/monorepo


Strip Whitespace for all entry boxes

Extension of #317.  Confirming that this is also an issue for the Block Viewer "Hash" entry box.  I suspect this is an issue for all entry boxes.

@rkeene I fixed this a while ago

Closing this issue.
Thanks @cryptocode !


Separate readme and introduction section

The introduction section is completely separated from readme. Now the readme also consists of purpose, usage information and license part.

Solves issues stated in #9

Looks good (content only, I didn't check if it builds). :+1:


Too much compile

I'm trying to run serveral commands in one do block and getting:
$ ./rebar3 do compile,xref,eunit,ct,dialyzer
===> Verifying dependencies...
===> Compiling app1
===> Compiling app2
===> Compiling app3
...
===> Verifying dependencies...
===> Compiling app1
===> Compiling app2
===> Compiling app3
...
===> Running cross reference analysis...
===> Verifying dependencies...
===> Compiling app1
===> Compiling app2
===> Compiling app3
...
===> Performing EUnit tests...
===> Verifying dependencies...
===> Compiling app1
===> Compiling app2
===> Compiling app3
...
===> Running Common Test suites...
===> Verifying dependencies...
===> Compiling app1
===> Compiling app2
===> Compiling app3
...
===> Dialyzer starting, this may take a while...
...

Is it necessary to run compile on each step?
It really slows down the whole process :(

There's multiple parts to this. Part 1 assumes the apps being recompiled are top-level applications or _checkout deps, not regular package or git dependencies:
This is because rebar3 do a, b, c is functionally equivalent to rebar a && rebar b && rebar c such that for various profiles, it can compile them differently.  You do not need to specify compile since each provider knows which steps are required: if xref needs to compile, it will do so.
Between each provider in a do chain, the state is reset to cope with the fact that some plugins could modify the state in breaking ways. We can't safely expect the chain to be clean through and through.
Similarly, recompiling before ct or eunit is necessary in all cases since these run under the test profile and the files need to be moved a different time.
If however what you see is dependencies getting recompiled, this is part2: this mostly happens when people put a local directory for a git dependency. This is not strictly supported and ends up confusing path comparisons when ensuring the lock file and the remote are on the same version. For these, we recommend people implement/use _checkout dependencies or a local path resource type.
Let me know if this helps.

most of those compile steps are probably just checking whether files actually need to be recompiled. in most cases nothing is actually compiled


Unmarshal(): Reader is modified but access to bufio.Reader is lost

I noticed that bencode.Unmarshal() creates a bufio.Reader from the passed-in reader. After bencode.Unmarshal() returns, the passed-in reader is left modified with the new index that the bufio.reader used to fill its buffer. This leaves the caller of bencode.Unmarshal() with a reader that is likely to be at the incorrect index from where the bufio.Reader left off.
Some solutions I can think of off the top of my head:

Force bencode.Unmarshal() to take in a bufio.Reader not just any io.reader
Return the bufio.Reader that was created from the passed-in reader (from this point on, you must use only the buffered reader to do all the reads from the underlying reader)

Ugg, you're right. Thanks for the bug report.
I think the best thing to do is change the Unmarshal() API to take a bufio.Reader.
That would be a breaking API change, even though it is also a bugfix.
I just now tagged the existing API as v1.0.0
Would you like to propose a patch that updates the Unmarshal() API to take a bufio.Reader?
I think you'd need to update the tests as well.
This new code would be v2.0.0

I guess another approach would be to  have a whole separate (probably slower) code path for io.Readers that didn't read ahead more than the minimum necessary to decode.
The advantage of that approach is that it doesn't change the current API at all.

Hmm yeah breaking the API would be annoying. Do you think there's a way to simply store the passed-in reader's initial index and then use that at the end of Unmarshal() to calculate the passed-in reader initial index + bufio.reader index, then set that value to the reader using Seek()? Kind of hacky, but could be a simple solution

That's a good idea, it would fix the issue when the reader was an io.ReadSeeker. But it doesn't fix the issue for clients that don't implement io.Seeker.
For a pure io.Reader we'd probably need to bring back the old way of parsing, that worked purely on the io.Reader interface. Maybe that wouldn't be too difficult.


Hide --debug option from nugetize tool

This seems to have confused at least one user. It should not be used by regular users. It's for nugetizer development itself.
See https://github.com/devlooped/nugetizer/discussions/106

That makes sense as to why it was trying to launch Visual Studio to enable debugging.  How would I do that myself, given there appears to be no other way to debug nugetizer right now (e.g., trace logging to understand flow of execution, since MSBuild doesnt provide stack traces for errors to my knowledge)?

Just like you don't debug SDK Pack when things don't pack the way you want (not that unusual, he ;)), you shouldn't need to debug nugetizer either.
Please provide a concrete repro that errors/fails and it should be fixed in nugetizer itself.
Thanks!


policy: replace go-logging with std log

This saves ~35 KB on the cilium-agent and cilium-operator binaries and
gets rid of a vendored dependency.
Updates #10056
Signed-off-by: Tobias Klauser<EMAIL_ADDRESS>

This change is

test-me-please

Coverage increased (+0.02%) to 44.618% when pulling db0f1ed70ead366d14916a21bedc65ceed1183c2 on pr/tklauser/remove-go-logging into ce25d214161ed13925630d8f1d77e81eb68739fc on master.

test-me-please

@tklauser it seem it hit a real failure:
# github.com/cilium/cilium/pkg/policy
vet: pkg/policy/rule_test.go:226:16: undeclared name: logging
make[1]: *** [govet] Error 2
make[1]: Leaving directory `/home/travis/gopath/src/github.com/cilium/cilium'
make: *** [unit-tests] Error 2

Oops, looks like I missed newly added ones. Now fixed, thanks @aam.

test-me-please


Commit changes to move all files to Trash

VSCode Version: 1.17.1

The Source code tab in VSCode 1.17.1 (and some versions before and after) is saying that I am moving all my files to Trash. This only occurs when I have no Github repository folder selected.

Can you show me what you mean with a screenshot?


Improve render performance

We have encountered some performance issues when many data points are involved in functions computation, such as summarize, sumSeries, etc.
For example, our metric's resolution is mainly 10s:1d,  summarize(span.*.client.*.app1.*.request_time.percentile.95, "7d"), this query may involve many metrics and cost more than 10 seconds, we discover that the cpu utility is almost 100%, and mainly is user cpu, so we assume the bottleneck is in summarize.
We are working on it, and have some ideas, we would like to know what is the official plan about this and see if we can work together.
This is our initial idea:

we first parse target, generate a plan and merge plan, and then execute the plan.
assume the query's from=from1, until=until1，we separate the interval into N partitions, and process each partition with a new graphite-web request.

The official plan - made Graphite better, without breaking it. If you're proposing some radical changes - we can merge it to master and release later, in some 1.1.x release. If your changes fixing some problem and are not bringing troubles - we can even include that in a current stable release.

Ah, one more thing - all breaking changes should be configurable by config file and disabled by default.

Looking at summarize there are definitely some gains to be made internally since right now it uses a multi-step process and generates an intermediate list of buckets.  I have a rough patch to reduce that so it only walks the data once, you can try that out in https://github.com/graphite-project/graphite-web/tree/summarize if you're interested.  In my testing I'm seeing about a 40% reduction in the time spent in summarize()

@wy92 - sorry for bugging you, but did you have a chance to test @DanCech's patch?

Was looking for a place to converse, but I'm seeing another major performance degradation on queries with large numbers of metrics.  In older 0.9.15 versions of graphite, I could get a dataset of 10,000 metrics to return in under 20 seconds.. Now in 1.0.2, that same query is taking upwards of 90 seconds.  Group, filtering, and combining functions also fail because the fetch for the data takes too long.
I'm stuck on pre-1.x.x because most of queries select data from thousands of metrics and display the most interesting ones.  I think this is related to the OP's bug.


Feat/contact

Add in new feature, Contact Page.

There's another thing needs to remind, you have to set your email account & passwd into /.env
It should look like this
EMAIL_USER=email@address
EMAIL_PASS=application_passwd

Some development suggestions, though they don't significantly impact us:

Since the mail server is not part of the Vue project, it’s not suitable to place it within the src directory. It’s recommended to create a separate folder in the root directory.
Ex.

folder/
┣━ public/
┣━ mail/
┣━ src/
┣━ ...

Continuing from the above, because the mail server is an independent system, it would be better to create a dedicated project for it. The libraries it uses should also be separated; keeping them under the Vue project will unnecessarily increase project's size.

You can create an example environment file using the .env.example, and in the documentation, instruct users to copy and rename it for their use.

Some development suggestions, though they don't significantly impact us:

Since the mail server is not part of the Vue project, it’s not suitable to place it within the src directory. It’s recommended to create a separate folder in the root directory.
Ex.

folder/
┣━ public/
┣━ mail/
┣━ src/
┣━ ...

Continuing from the above, because the mail server is an independent system, it would be better to create a dedicated project for it. The libraries it uses should also be separated; keeping them under the Vue project will unnecessarily increase project's size.
You can create an example environment file using the .env.example, and in the documentation, instruct users to copy and rename it for their use.

I'll do refactor in future

due to we only have one project, let me put back-end code in front-end for temporary.
uwu


FolderExplorer and FolderPicker do not seem to work for document libraries

FolderExplorer and FolderPicker controls do not seem to work for the document libraries
Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [2.1.0]
Description
Create a sample project with FolderExplorer, as specified in the documentation:
https://pnp.github.io/sp-dev-fx-controls-react/controls/FolderExplorer/
<FolderExplorer context={this.props.context}
                rootFolder={{
                  Name: 'Documents',
                  ServerRelativeUrl: `/sites/TestSite/Shared Documents`
                }}
                defaultFolder={{
                  Name: 'Documents',
                  ServerRelativeUrl: `/sites/TestSite/Shared Documents`
                }}
                onSelect={this._onFolderSelect}
                canCreateFolders={true} />

Expected
You see the folder explorer in the UI, showing corresponding folders/libraries.
Observed Behavior
The FolderExplorer does not work, it always shows "there are no folders" and throws this exception in console:
Error loading folders TypeError: Cannot read property 'filter' of undefined
    at FolderExplorerService.<anonymous> (FolderExplorerService.js:68)
    at step (FolderExplorerService.js:31)
    at Object.next (FolderExplorerService.js:12)
    at FolderExplorerService.js:6
    at new Promise (<anonymous>)
    at xI2j.__awaiter (FolderExplorerService.js:2)
    at FolderExplorerService._getDocumentLibraries (FolderExplorerService.js:58)
    at FolderExplorerService.<anonymous> (FolderExplorerService.js:51)
    at step (FolderExplorerService.js:31)
    at Object.next (FolderExplorerService.js:12)

Reasons (most probably pnpjs library modified after the FolderExplorer was last verified?)
1.
@pnp/sp/lists is not included in the FileExplorerService.ts, here:
https://github.com/pnp/sp-dev-fx-controls-react/blob/dda0256dab865a47c56a971763bf44f18689a5dc/src/services/FolderExplorerService.ts#L1-L9
But is used here:
https://github.com/pnp/sp-dev-fx-controls-react/blob/dda0256dab865a47c56a971763bf44f18689a5dc/src/services/FolderExplorerService.ts#L44
The result is, web.lists is undefined and that result in the exception.

double encoding of folder paths (of the "%" symbol). This causes the list of folders to be always empty even after the change above.

https://github.com/pnp/sp-dev-fx-controls-react/blob/dda0256dab865a47c56a971763bf44f18689a5dc/src/services/FolderExplorerService.ts#L75
pnpjs (getFolderByServerRelativePath) also encodes it, in the referenced version 2.0.6 as well:
https://github.com/pnp/pnpjs/blob/183dc11edb65aa67f6e053e03fb28c5dbdb8a9a5/packages/sp/folders/web.ts#L58

Checked the history, seems to be broken by this commit actually:
https://github.com/pnp/sp-dev-fx-controls-react/commit/fc7d9fb087f6bd094ef63ac1992a875d701be15a

I did test with normal as well as some folders with special chars like % and # and it worked well, but it looks like I missed something. My bad. Sorry :(

My guess is that pnpjs version might have been updated and this part not re-checked?

Reaplced the PR with another to dev branch

Sorry for deleted PR (would be great if the maintainers can delete them 😅
Have read the submission guidelines after creating PR. Now the branch is from dev and trargets dev.

Hi @nbelyh, @gautamdsheth - I've merged the PR.
@gautamdsheth - could you please check beta version and confirm that it works correctly for the use-cases you were addressing in your previous PR?
Thank you!

@AJIXuMuK - works fine with the latest beta. Thanks

Thank you guys, then I'm closing the issue


feat: Add support for displaying trail content in TreeViewItem component

Description
Add support for displaying trail content in TreeViewItem component
Changsets
Instructions: Changesets automate our changelog. If you modify files in /packages/skeleton, run pnpm changeset in the root of the monorepo, follow the prompts, then commit the markdown file. Changes that add features should be minor while chores and bugfixes should be patch. Please prefix the changeset message with feat:, bugfix: or chore:.
Checklist
Please read and apply all contribution requirements.

[x] This PR targets the dev branch (NEVER master)
[ ] Documentation reflects all relevant changes
[x] Branch is prefixed with: docs/, feat/, chore/, bugfix/
[x] Ensure Svelte and Typescript linting is current - run pnpm check
[x] Ensure Prettier linting is current - run pnpm format
[x] All test cases are passing - run pnpm test
[ ] Includes a changeset (if relevant; see above)

Hey @jdahlborg, we typically ask for prior discussion before non-trivial changes are implement. In this case, it would have been useful to alert you to the fact this feature is still actively in development:
https://github.com/skeletonlabs/skeleton/pull/2069
I'm going to ping @Mahmoud-zino, the author of this feature, to do a review of this and determine how we should move forward. We may need to close out your PR and fold this into his, or we might need to revisit it after his pending PR is merged.
Mahmoud, you have my full support for whatever you decide.

@jdahlborg @endigo9740
The added trail was requested previously and I don't have anything against it (it doesn't effect the functionality).
However we opted to a separate component for the recursive tree-view to make testing easier.
This means the TreeViewDataDrivenItem.svelte doesn't exist anymore and the changes should be made to the normal tree-view and RecursiveTreeView after merging this PR https://github.com/skeletonlabs/skeleton/pull/2069
So I would say let's close this PR and wait until the rework PR is merged, after that you can create an issue and implement the change on the new component as well 👍

@Mahmoud-zino that makes sense. @jdahlborg I'd recommend following this instruction. If you have any follow ups feel free to tag us here, or we're typically available in the #contributors channel on Discord.
Thanks!


Unable to generate predictions for wav2vec model fine-tuned with custom data

Discussed in https://github.com/PyTorchLightning/pytorch-lightning/discussions/11432

Originally posted by nayak24 January 11, 2022
Hi, I'm trying to fine-tune the baseline wav2vec model with my own audio training/test data using Lightning Flash, essentially exactly following the tutorial in this doc:
https://lightning-flash.readthedocs.io/en/latest/reference/speech_recognition.html
However, I am running into an issue when generating the prediction for an audio file, and I'm getting a null output:

94.4 M    Trainable params
0         Non-trainable params
94.4 M    Total params
377.585   Total estimated model params size (MB)
Epoch 0: 100%|█████████████████████████████████████████████████████████| 88/88 [02:43<00:00,  1.86s/it, loss=633, v_num=57, train_loss_step=750.0]
Predicting: 88it [00:00, ?it/s]
[['']]

I'm not sure what the issue is, as I've only replaced the Timit dataset with my own input data for fine-tuning, and the rest of the script follows exactly from the doc above. All of the input data are wav files with the following format:

format | 1 (uncompressed PCM)
number of channel | 1 (mono)
sampleRate | 16000
byteRate | 32000
blockAlign | 2
bitsPerSample (bit depth) | 16

I'm new to PyTorch Lightning and training with wav2vec as a whole, so I'm guessing that I'm missing something obvious. Any help would be greatly appreciated!
Here is the full script I'm running:
import torch
import flash
from flash.audio import SpeechRecognition, SpeechRecognitionData
from flash.core.data.utils import download_data

#download_data("https://pl-flash-data.s3.amazonaws.com/timit_data.zip", "./data")

datamodule = SpeechRecognitionData.from_csv(
    input_fields="file",
    target_fields="text",
    #train_file="data/timit/train.json",
    #test_file="data/timit/test.json",
    train_file="FLT034/FLT034-TRAIN.csv",
    test_file="FLT034/FLT034-TEST.csv",
    batch_size=4,
)

#can use any wav2vec model in HuggingFace as backbone for finetuning
model = SpeechRecognition(backbone="facebook/wav2vec2-base-960h")

#create trainer and finetune model
trainer = flash.Trainer(max_epochs=1)
trainer.finetune(model, datamodule=datamodule, strategy='no_freeze')

# predict on audio files
#datamodule = SpeechRecognitionData.from_files(predict_files=["data/timit/example.wav"], batch_size=4)
datamodule = SpeechRecognitionData.from_files(predict_files=["FLT034/FLT034-14.wav"], batch_size=4)
predictions = trainer.predict(model, datamodule=datamodule)
print(predictions)

# Save Checkpoint
trainer.save_checkpoint("FL034_trained_model.pt")

And here is a sample of the train.csv file with the annotations:
file,text
"./FLT034-12.wav","Weather at one seven five eight zulu."
"./FLT034-13.wav","Wind one niner zero at eight."
"./FLT034-14.wav","Visibility eight ceiling eight hundred overcast."
"./FLT034-15.wav","Temperature one five"
"./FLT034-16.wav","Dewpoint one four"
"./FLT034-17.wav","Altimeter three zero"
"./FLT034-18.wav","Get both sides on a mic"

Hey @nayak24 Thanks for reporting this, I've transferred the issue to the Flash repo. It looks like the prediction is working but your network output for that example is just the empty string. You might need to train for longer or try some different hyper-parameters in order to get better results.  Hope that helps :smiley:

Hey @nayak24 Thanks for reporting this, I've transferred the issue to the Flash repo. It looks like the prediction is working but your network output for that example is just the empty string. You might need to train for longer or try some different hyper-parameters in order to get better results. Hope that helps 😃

Thanks for the reply! That makes sense, I was just wondering why I am getting an empty string for output as when I tested the same sample fed into the baseline network (without fine-tuning) I got back a transcription. Also, I was wondering how/where I can access the hyper-parameters for the model?

Hey @nayak24 @ethanwharris
I am still facing this same issue of empty string. Any possible fix ?

Hey @sathwikacharya As far as I know this would just come down to optimizing the hyperparameters (e.g. backbone, learning rate) of your task in order to improve it's performance :smiley:

Same issue. It gives an empty string.
Any correction or suggestion?

when I test the same sample wav file fed into the baseline network (without fine-tuning) I got back a transcription, but when I do the fine-tuning and I test the same sample it gives an empty string as output!!

I am also facing the same issue, Did anyone solve this?

Hi, we are really sorry for the delay in response! Just to let you all know, we have an eye on this and will get back to you by EOD today on our findings. Thank you for the patience!

Hi @krshrimali, this is a little urgent as I have a project deadline. Can you tell me why the finetuning produces empty string where as same input data with pretrained model gives output, it might be a little rough.

@HiPracheta My guess is that it means that the pre-trained weights are being too aggressively adjusted. The default learning_rate for Adam is 1e-2. I would instead try something like:
model = SpeechRecognition(..., learning_rate=1e-5)

Hope that helps!

@ethanwharris I got the same error after changing the learning rate. Also, I am running it on 'timit' dataset, not on my custom data. This is the output that I am getting.
Using 'facebook/wav2vec2-base-960h' provided by Hugging Face/transformers (https://github.com/huggingface/transformers) and PyTorch/fairseq (https://github.com/pytorch/fairseq). Some weights of Wav2Vec2ForCTC were not initialized from the model checkpoint at facebook/wav2vec2-base-960h and are newly initialized: ['wav2vec2.masked_spec_embed'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0] Predicting DataLoader 0: 100%|████████████████████| 1/1 [00:00<00:00, 14.91it/s] [['']]
`import torch
import flash
from flash.audio import SpeechRecognition, SpeechRecognitionData
from flash.core.data.utils import download_data
1. Create the DataModule
#download_data("https://pl-flash-data.s3.amazonaws.com/timit_data.zip", "./data")
2. Build the task
#rom flash.audio import SpeechRecognition
trainer = flash.Trainer(max_epochs=100, gpus=torch.cuda.device_count())
datamodule = SpeechRecognitionData.from_files(predict_files=["data/timit/TEST/DR4/FNMR0/SA1.WAV"], batch_size=4)
model = SpeechRecognition.load_from_checkpoint("speech_recognition_model_50_freeze.pt")
predictions = trainer.predict(model, datamodule = datamodule)
4. Predict on audio files!
print(predictions)`
Have you tried doing it on your own? It's still not working.

Hi, @HiPracheta - Looks like @ethanwharris is spot on with his suggestion. Setting the learning_rate=1e-5 does the job.
I used the script below:
import torch

import flash
from flash.audio import SpeechRecognition, SpeechRecognitionData
from flash.core.data.utils import download_data

# 1. Create the DataModule
download_data("https://pl-flash-data.s3.amazonaws.com/timit_data.zip", "./data")

datamodule = SpeechRecognitionData.from_json(
    "file",
    "text",
    train_file="data/timit/train.json",
    test_file="data/timit/test.json",
    batch_size=4,
)

# 2. Build the task
model = SpeechRecognition(backbone="facebook/wav2vec2-base-960h", learning_rate=1e-5)

# 3. Create the trainer and finetune the model
trainer = flash.Trainer(max_epochs=2, gpus=torch.cuda.device_count())
trainer.fit(model, datamodule=datamodule)

# 4. Predict on audio files!
predict_datamodule = SpeechRecognitionData.from_files(predict_files=["data/timit/example.wav"], batch_size=1)
predictions = trainer.predict(model, datamodule=predict_datamodule)
print("Predictions: ", predictions)

# 5. Save the model!
trainer.save_checkpoint("speech_recognition_model.pt")

And the output prediction is: (which looks correct after listening to the audio file)
Predictions:  [['SHE HAD YER DARK SUIT IN GREASY WASHWATER ALL YEAR']]

(checked on my local system). :)

Hi, @HiPracheta - Looks like @ethanwharris is spot on with his suggestion. Setting the learning_rate=1e-5 does the job.
I used the script below:
# Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import torch

import flash
from flash.audio import SpeechRecognition, SpeechRecognitionData
from flash.core.data.utils import download_data

# 1. Create the DataModule
download_data("https://pl-flash-data.s3.amazonaws.com/timit_data.zip", "./data")

datamodule = SpeechRecognitionData.from_json(
    "file",
    "text",
    train_file="data/timit/train.json",
    test_file="data/timit/test.json",
    batch_size=4,
)

# 2. Build the task
model = SpeechRecognition(backbone="facebook/wav2vec2-base-960h", learning_rate=1e-5)

# 3. Create the trainer and finetune the model
trainer = flash.Trainer(max_epochs=1, gpus=torch.cuda.device_count())
trainer.finetune(model, datamodule=datamodule, strategy="no_freeze")

# 4. Predict on audio files!
predict_datamodule = SpeechRecognitionData.from_files(predict_files=["data/timit/example.wav"], batch_size=4)
predictions = trainer.predict(model, datamodule=predict_datamodule)

print("Predictions: ", predictions)

# 5. Save the model!
trainer.save_checkpoint("speech_recognition_model.pt")

And the output prediction is: (which looks correct after listening to the audio file)
Predictions:  [['SHE HAD YER DARK SUIT IN GREASY WASHWATER ALL YEAR']]

(checked on my local system). :)
@ethanwharris - Probably something we can add to our documentation? I'll create a quick PR if it sounds good to you!

@HiPracheta @krshrimali Done some debugging here. Turns out we weren't freezig the backbone properly. I have a PR that fixes it (#1275). With the changes from that PR I am getting the right result without needing to change the learning rate (just setting strategy="freeze" :smiley:


Is it possible to get the output (stdout/stderr) from the npm test command?

We have a quite a lot of specs executed upon "npm test" and would like to see the test output in order to know why a dependency could not be updated. Is it possible?

+1

Yes, i think we can do this. I will add this in the first days of 2016 :)

+1

Published as v0.1.7.
Output is something like this:
5/5 	 ● xunit-file 0.0.9 failed

> module@version test
> mocha -R dot -c

  ․

  0 passing (2s)
  1 failing

  1) TestCase

      AssertionError: expected { Object (stdout, stderr) } to not equal { Object (stdout, stderr) }
      + expected - actual

      at assertEqual (node_modules/chai/lib/chai/core/assertions.js:470:12)
      at ctx.(anonymous function) (node_modules/chai/lib/chai/utils/addMethod.js:40:25)
      at doAsserterAsyncAndAddThen (node_modules/chai-as-promised/lib/chai-as-promised.js:292:33)
      at null.<anonymous> (node_modules/chai-as-promised/lib/chai-as-promised.js:251:21)
      at ctx.(anonymous function) [as equal] (node_modules/chai/lib/chai/utils/overwriteMethod.js:48:33)
      at Context.<anonymous> (test/main.test.js:17:43)

:+1:

:shipit: thanks!

Thanks :-)


First iteration of gitops tooling doc

What does this PR do?
This PR introduces a page on tools and scripts that can be used locally to support the development of gitops driven repositories
What does it look like?
Adds a new page to the advanced > gitops
Any background context you can provide?
This is part of improving and standardising the gitops process for customers.
What is needed from the reviewers?
Review structure, content and grammar.
Where relevant offer suggestions on other tools that may be suitable to add to this page that may currently be missing.
Have you maintained the front matter?
New page.

Keeping this in draft as I anticipate additional tools to be added


fix: skip creating multiple same snaspshots

When running tests with count >= 2 multiple snapshots ( >=2 ) are created from the same call. This is a design flag IMO.
My expectation is when someone runs golang tests with count > -2 wants to run the tests repeatedly and assert the data with the same snasphots and not create new ones.
This is a BREAKING CHANGE from the point of view that the library will stop having the same behaviour. Old tests should still keep passing but if people run their tests with count >= 2 then some of the snapshots will no longer be used for assertions and will be useless.

After testing this doesn't look really feasible as it breaks one of the ( IMO ) useful features of go-snaps calling matchSnapshot multiple times inside a single test. I can't figure a way of identifying if a call to snaps.Match* is on purpose or due the --count flag.


Remove repetition of 'nominal thickness' definition in GlassBR

@JacquesCarette pointed out that there is repetition of information of nominal thickness, as nom_thick has the following as a definition (in Unitals): nominal thickness t in {2.5, 2.7, 3.0, 4.0, 5.0, 6.0, 8.0, 10.0, 12.0, 16.0, 19.0, 22.0}, and also has

as the constraints.
@smiths Is it beneficial to have the description for t include the set from which the values should match the input? Can the definition simply be "nominal thickness" in the table of symbols since Data Definition 2 has the cases laid out as follows?

Note to self: also, in the DataDefs file, there is repetition of the same information:

@niazim3 , with respect to your question about not including the set of nominal thicknesses in the table of symbols, I would be okay with just saying nominal thickness.  However, I think there is something more significant at work here.  It actually shouldn't matter how many times the information is repeated in the generated document.  What matters is how many times the information is repeated in the "knowledge base."  You should be able to provide the information to Drasil once, and generate it as many times as you want.  Ideally, you would just pull this knowledge out an you could use it in the table of symbols, or the data definition, or wherever.
Rather than simply solving the problem by excluding the information in the generated document, maybe you can talk with @szymczdm for a way to capture the knowledge once and reuse it in any context that makes sense for it?

@szymczdm Can there perhaps be some type of helper function that can look at the conditions of a case and produce a Sentence or String with all the values in a "{}" set? A function that does that may be helpful for glass types as well (

).
(See commits 7e8ef50 and edaea0c.)

We should never need a String here.  It feels like the String in the nounPhraseSP is a mistake.  A noun phrase really should be reserved for "meaningful" phrases, not arbitrary descriptions.

Update:
Created displayConstrntAsSet function that produces an output as follows
; needs improvement (i.e. ors need to be ,s and t =  shouldn't be repeated = for every possibility).
@szymczdm Is this going in the right direction?

or is a logical operation, what this is saying is (t = 3.0) or (t = 4.0), t = (3.0 or 4.0 or ...) doesn't make logical sense.

Yes, this function should be improved so that nominal thickness t in {2.5, 2.7, 3.0, 4.0, 5.0, 6.0, 8.0, 10.0, 12.0, 16.0, 19.0, 22.0} can be output; however, I don't think there is currently a way to extract the #s from the t := (V "#")... constraints.

Changes can be viewed in commits 6e95430...72670d7.


[INLONG-7581][Sort] Support multiple-sink migration for Elasticsearch

Prepare a Pull Request

Fixes #7581

Motivation
Support multiple sink migration for ES sink.
Modifications
mainly modified multipleElasticRowFunction for 2 key features:

support 4 additional options for esloadnode
parsing canal-json data

TODO:

table-level metric
dirty data
runtime strategy+other features

Verifying this change

@Yizhou-Yang please check your code style error


Add maven support

Firstly, thanks for contributing to the project.
Can you please explain how supporting multiple build systems will be beneficial?

#2 contains this. Closing.


[BUG] Big article names affecting style

I'm having problems with big names, I don't want this to grow too much, like the example below.

I have set the width of the name class to 70%.


[Performance] GPU的 Op schedule threads 只有2个

System information

OS Platform and Distribution (e.g., Linux Ubuntu 20.04):
DeepRec version or commit id: be62ec312595b51b74260f96a6c0872ce5f1540c
Python version: 3.8.10
Bazel version (if compiling from source): 2.6.1
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:

Describe the current behavior
profiling 结果发现，gpu的op schedule threads很少，只有2个。

相应的，原始TF1.15上跑出来的结果，gpu op schedule threads有6个：

设置sess_config.inter_op_parallelism_threads = 10 也没有生效。
Describe the expected behavior
期望gpu op schedule能有多个threads并行的schedule op，因为目前kernel在gpu上运行时间很短，但thread schedule Op会有很大空隙。
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

两次跑的模型没有严格对齐，在原生TF1.15上跑的模型里有processAsync的Op，所以会起较多的threads。


feat: support quickwit label

support quickwit labels in grafana
intergrate quickwit in opentelemetry-demo, make it much easier to test and try

Finish #5


Add child_stopping hook to core

core/mpm: add hook 'child_stoppingthat gets called when the MPM is stopping a child process. The additionalgraceful` parameter allows
registered hooks to free resources early during a graceful shutdown.

has been merged into 2.4.x


Sequential UUIDs

Any plans for COMBs?
http://en.wikipedia.org/wiki/Globally_unique_identifier#Sequential_algorithms
http://www.codeproject.com/Articles/388157/GUIDs-as-fast-primary-keys-under-multiple-database
http://www.informit.com/articles/article.aspx?p=25862

Implemented in #43. Closing out this issue.


add CONTRIBUTING.md and link to Matrix room

Inspired by the Rust lang CONTRIBUTING.md, but small. There might be more we want to use from there.

bors r+

bors retry


Install as application

It would be sweet it micro would install itself as an application to allow directly opening micro from the start menu, and to make it selectable as the default application to edit text files. This happened automatically with neovim.
I can be done manually by creating /usr/share/applications/Micro.desktop, and placing the following text (where I used vim as template) in it:
# The vim.desktop file is generated by src/po/Makefile, do NOT edit.
# Edit the src/po/vim.desktop.in file instead.

[Desktop Entry]
# Translators: This is the Application Name used in the Vim desktop file
Name=Micro
# Translators: This is the Generic Application Name used in the Vim desktop file
GenericName=Text Editor
# Translators: This is the comment used in the Vim desktop file
Comment=A modern and intuitive terminal-based text editor
# The translations should come from the po file. Leave them here for now, they will
# be overwritten by the po file when generating the desktop.file.
TryExec=micro
Exec=micro %F
Terminal=true
Type=Application
# Translators: Search terms to find this application. Do NOT change the semicolons! The list MUST also end with a semicolon!
Keywords=Text;editor;
# Translators: This is the Icon file name. Do NOT translate
Icon=/home/my_username/MyPrograms/micro-logo-mark.svg   # Where I downloaded the logo
Categories=Utility;TextEditor;
StartupNotify=false
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Name[en_US]=Micro

The result is as follows:

I can now make Micro the default app for opening the file-types I wish.

Note there's already a micro.desktop file included in the source assets/packaging directory. I guess it's up to whoever makes packages to install this file (and the man file found in the same directory).


Product(List<System.Quantity>) not supported

The CQL example:
define QuantityProduct: Product({ 1.0 ‘mg’, 2.0 ‘mg’, 3.0 ‘mg’, 4.0 ‘mg’ })
Creates an error  when running it through the CQL-to-ELM translator:
<data.coffee#Product[5:25, 5:75]> Could not resolve call to operator Product with signature (list<System.Quantity>).

Addressed in 1.3.7-SNAPSHOT


Server/multithreading

🦙 MegaLinter status: ❌ ERROR

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ CPP
clang-format
26
8
0
0.13s

❌ CPP
cpplint
26

3
0.51s

See detailed report in MegaLinter reports
MegaLinter is graciously provided by


Fix wonky importing issue.

'import xml' from xml.py won't work.  Not sure if this is the best workaround, but it got this working for me.

Good catch — forgot about the Standard Library xml package.

Also, as a side note, I might end up using xml2dict in order to do the XML parsing. Used it last summer on some of CfA's Python wrappers.


Legacy Results Processing

This PR adds a sync loop to the release-controller to process Stable release imagestreamtags that do not have a corresponding ReleasePayload.  The loop will only run when enabled by adding the --process-legacy-results flag to the commandline.  If enabled, the logic will run immediately and then every 6 hours thereafter.  The expectation is that this process only needs to run once, but it shouldn't hurt if it continues to run.

/hold
/retest

/unhold


Connector for JunoDB

Is your feature request related to a problem? Please describe.
It would be awesome if we can add a JunoDB connector; JunoDB is the core database that powers Paypal and it was open sourced last year (https://github.com/paypal/junodb)

for anyone that would like to contribute https://docs.open-metadata.org/v1.3.x/developers/contribute/developing-a-new-connector

I will take up this enhancement to build a connector for junoDB. @mbarki-mohamed . Thanks for the references @pmbrull

Hey @pmbrull , If this is not being worked upon, I would like to take this task. Please assign. Thanks!

@iamskp11 are you planning on contributing. We are closing this as not planned.If you open a PR, you can re-open this issue


my side of the story

Hi! Thanks for your submission.
Unfortunately it seems that there were changes in the main that conflict with yours.
Could you please perform a merge as described in Tutorial 5 slides 82-96 and integrate those changes?
We do not want to lose any existing content, so you should keep what others have written and add yours.
You're free to reorganize the content blocks so that it still makes a story, but please do not modify
the content of what others have written.
You have time until the 13th of October at 14:40.
If you can't make it by that time or you are done before the deadline,
please add a comment in github so that I can progress with another student.

I have now made changes to make the stories compatible.

I have merged the two stories as suggested.

Thanks for your contribution! Scenario A completed! See canvas for results


Route starts to cycle when run search complicated target compound.

Hi, I found that when the target compound is complicated, the route inclines to cycle, just like the compounds marked by the red cycle. how to solve it? how to force the mcts to break the large compound marked by the red cycle into smaller molecules. thank you.
the target compound is Paclitaxel.

Hello,
Which version of aizynthfinder are you using? The issue that molecules are regenerated in the MCTS should have been fixed in the latest release (3.0.0).
That is a tough target to break down. I wouldn't image that there are any templates that could completely break down the ring systems. This seems to be partially a natural product, and from Googling I can see that the total synthetic pathway is heavily researched. The ML model used to break down molecules into pre-cursors are based on historical data, and if there is not historical data recorded for similar compounds, the algorithm will not be able to solve it.


Upgrade to building with go 1.16

I'm not quite sure if I need to commit the vendor directory changes.
Should I run go mod vendor and commit the results to the PR?

thanks for the contribution @blkperl
Yes, please commit the changes to vendor

@Lusitaniae added!

@Lusitaniae do you know what I need to do to get circleci passing?

make promu and go tidy seem to undo each others changes as well.

Possibly need to update dependencies
There hasn't been any update there for maybe 1 or 2 years

@Lusitaniae i'm not sure what you mean by that. I ran go get -u on the dependencies in the go.mod file.

I finally updated all the CI/CD code based on the official exporters (haproxy) and now the build is passing.
I also updated go to 1.16 in the process. Would you care to review @blkperl ?
https://github.com/Lusitaniae/apache_exporter/pull/104
If my PR solves the issue, we can close this one I guess.
Much appreciated for the submission, hope I can be more helpful in future PRs :)


Allow extract css files specified in 'css' option

Describe the feature
Currently, the CSS files specified in the css option are injected using JavaScript. It would be beneficial if these CSS files could be extracted and utilized through the link element instead.
The reason behind this request is that my CSS file is quite large, and by not using the  element, the styles are not displayed immediately during the page load.
I understand that I can use the app.head.link option, but unfortunately, this doesn't include the compilation of SCSS files, and I am unable to benefit from assets compiling.
Additional information

[ ] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

Totally agree, Inline CSS should not be the only option.

Is there a temporary workaround available for this issue in the meantime?

Is there a temporary workaround available for this issue in the meantime?

Downgrade to 3.5.3

Related: https://github.com/vitejs/vite/pull/11864

Is there a temporary workaround available for this issue in the meantime?

https://nuxt.com/docs/guide/going-further/experimental-features#inlinessrstyles


Added startTime and endTime feature.

This was needed for a project I was working on that mandated a "Happy Hour" arrival notification for users at an event.  The event was near the happy hour and I didn't want the notification going off when users were walking around.  I also didn't want it to go off if they went to the bar a few days earlier or after the event happened.

Also, I only built this for iOS and Android since that's what my project needed, but I'm happy to contribute to the project for windows and wp8 if this is a feature that you'd like to include.


Redistribute field data with a different NPROMA

This branch introduces a new class (FIELD_SHUFFLE) to reshuffle NPROMA blocked data with a different blocking factor. This class is similar to the FIELD_GATHSCAT class, which is now a parent of FIELD_SHUFFLE.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello Ahmad,
You can see a real example here :
https://github.com/pmarguinaud/IAL/blob/cc8e21866e39ae1d6594abf67e8afc5169791f2c/arpifs/phys_dmn/acvppkf_parallel.F90#L1740


[Impeller] glitches on Android emulator 35.2.10 / Windows Host.

Steps to reproduce
I have upgraded the Flutter version to 3.27.0 and now the app is glitching even for a basic demo app.
Expected results
Expected a smooth-running app.
Actual results
Glitching app with dozens of console logs.
Code sample
Code sample
class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Center(child: CircularProgressIndicator()),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]
https://github.com/user-attachments/assets/9f248675-b31a-41f5-84e4-a021351838e2

Logs
Logs
Flutter run key commands.
r Hot reload.
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on sdk gphone64 x86 64 is available at: http://<IP_ADDRESS>:62080/C-dP2MJNJL4=/
The Flutter DevTools debugger and profiler on sdk gphone64 x86 64 is available at:
http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:62080/C-dP2MJNJL4=/
I/MESA    ( 9593): on_vkCreateFence: ensure sync device
I/MESA    ( 9593): on_vkCreateFence: getting fence info
I/MESA    ( 9593): on_vkCreateFence: info set (fence still -1). fence: 0x79f45d0a8a90
I/MESA    ( 9593): on_vkGetFenceFdKHR: got fd: 146
I/MESA    ( 9593): on_vkCreateFence: ensure sync device
I/MESA    ( 9593): on_vkCreateFence: getting fence info
I/MESA    ( 9593): on_vkCreateFence: info set (fence still -1). fence: 0x79f45d0bf6d0
I/MESA    ( 9593): on_vkGetFenceFdKHR: got fd: 148
I/MESA    ( 9593): on_vkCreateFence: ensure sync device
I/MESA    ( 9593): on_vkCreateFence: getting fence info
I/MESA    ( 9593): on_vkCreateFence: info set (fence still -1). fence: 0x79f45d0c3810
I/MESA    ( 9593): on_vkGetFenceFdKHR: got fd: 150
I/MESA    ( 9593): on_vkCreateFence: ensure sync device
I/MESA    ( 9593): on_vkCreateFence: getting fence info
I/MESA    ( 9593): on_vkCreateFence: info set (fence still -1). fence: 0x79f45d0b3e50
I/MESA    ( 9593): on_vkGetFenceFdKHR: got fd: 153
I/MESA    ( 9593): on_vkCreateFence: ensure sync device
I/MESA    ( 9593): on_vkCreateFence: getting fence info
I/MESA    ( 9593): on_vkCreateFence: info set (fence still -1). fence: 0x79f45d0d8690
I/MESA    ( 9593): on_vkGetFenceFdKHR: got fd: 150
I/MESA    ( 9593): on_vkCreateFence: ensure sync device
I/MESA    ( 9593): on_vkCreateFence: getting fence info
I/MESA    ( 9593): on_vkCreateFence: info set (fence still -1). fence: 0x79f45d0b16d0
I/MESA    ( 9593): on_vkGetFenceFdKHR: got fd: 150
I/MESA    ( 9593): on_vkCreateFence: ensure sync device
I/MESA    ( 9593): on_vkCreateFence: getting fence info
I/MESA    ( 9593): on_vkCreateFence: info set (fence still -1). fence: 0x79f45d0be190
I/MESA    ( 9593): on_vkGetFenceFdKHR: got fd: 150
I/MESA    ( 9593): on_vkImportFenceFdKHR: import actual fd, dup and close()
I/MESA    ( 9593): on_vkWaitForFences: scheduling ext waits
I/MESA    ( 9593): on_vkWaitForFences: wait on 150
I/MESA    ( 9593): done waiting on fd 150

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.27.0, on Microsoft Windows
    [Version 10.0.19045.5247], locale en-US)
    • Flutter version 3.27.0 on channel stable at
      C:\Users\h\fvm\versions\3.27.0
    • Upstream repository https://github.com/flutter/flutter.git    • Framework revision 8495dee1fd (28 hours ago), 2024-12-10
      14:23:39 -0800
    • Engine revision 83bacfc525
    • Dart version 3.6.0
    • DevTools version 2.40.2

[√] Windows Version (Installed version of Windows is version 10
    or higher)

[√] Android toolchain - develop for Android devices (Android SDK    version 35.0.0)
    • Android SDK at C:\Users\h\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Android\Android
      Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build
      21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program
      Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio
    Community 2022 17.11.5)
    • Visual Studio at C:\Program Files\Microsoft Visual
      Studio\2022\Community
    • Visual Studio Community 2022 version 17.11.35327.3
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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
      21.0.3+-12282718-b509.11)

[√] VS Code (version 1.96.0)
    • VS Code at C:\Users\h\AppData\Local\Programs\Microsoft VS
      Code
    • Flutter extension version 3.103.20241202

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64      • Android 15 (API 35) (emulator)
    • Windows (desktop)            • windows       • windows-x64      • Microsoft Windows [Version 10.0.19045.5247]
    • Chrome (web)                 • chrome        •
      web-javascript • Google Chrome 131.0.6778.110
    • Edge (web)                   • edge          •
      web-javascript • Microsoft Edge 131.0.2903.86

[√] Network resources
    • All expected network resources are available.

• No issues found!

What is your android emulator binary version?
fairly recent android emulator versions had serious Vulkan bugs. If you're not on the very latest version i'd try updating.

My Android emulator version is 35.2.10

have same issue when run on simulator app start crash without log

I think this is related to Vulkan support. Since my GPU is GT 740, it doesn't support Vulkan. Disabling the impeller seems working smoothly on the emulator now.

I'm not sure that is the case, the android emulator is running in QEMU with swiftshader, I didn't think it used the host drivers at all - but I could be wrong. At any rate, i would expect the device to report that it doesn't support vulkan rather than not working. :(

have same issue
I/MESA    (24907): on_vkCreateFence: ensure sync device
I/MESA    (24907): on_vkCreateFence: getting fence info
I/MESA    (24907): on_vkCreateFence: info set (fence still -1). fence: 0x7f059d799b10

same, starts yesterday...

Any solution?

same.
I am using ubuntu. and changed the gpu mode to host in config.ini on avd folder. without it the emulator was crashing,.

Same issue, although it doesn't cause an app crash for me.
But the log spam is very bothersome.

same, downgrading to 3.25 version and it fixed the problem

I got the same issue after upgrading to v3.27 I resolved it by downgrading it back to v3.26

I got the same issue after upgrading to v3.27 I resolved it by downgrading it back to v3.26

Are you on windows?

same, downgrading to 3.25 version and it fixed the problem

which OS you are using?

I am using windows 11

I am on Linux - but as I wrote, I do not get any crash, "just" the log spam.

I believe this can be fixed by disabling surface control. if you're encountering this problem try adding the following line to your AndroidManifest:
<meta-data
    android:name="io.flutter.embedding.android.DisableSurfaceControl"
    android:value="true" />
    ```

We plan to cherry pick a change that will disable surface control for all devices

Flutter 3.27.1 is available on the stable channel and should have the fix for the originally reported issue. If you are experiencing similar symptoms but it is not fixed by the hotfix please file a new bug.

Same on Flutter 3.27.1. I am sure it is related to Vulkan. Disabling the impeller solves the problem.
flutter run -d emulator-5554 --no-enable-impeller
My concern is whether I have to disable the impeller for the release version as well. From my research, it seems the version built with the impeller enabled won't work on some phones without Vulkan support. So, if a Flutter-built app can automatically detect the phone's support for Vulkan and disable the impeller if the phone doesn't support it, it would be great. For example, it works for Flutter web with SKIA enabled on a PC browser but using HTML on mobile automatically.


[production] deselecting add on gives no warning

Steps

Configure Github or Dropbox in an project - select add on, create access token, link repo or folder.
Remove the add on by unchecking the box in "select add on"
Click Submit
Add on is removed without displaying a warning

Expected
There would be a warning, as there is on the account settings page when you deactivate an add on this way:

Or when you deauthorize in a project:

Actual
There is no warning. I have tested this with Github and Dropbox in Safari and Chrome.

I can take this one! @lbanner @GaryKriebel

Oh wait, nevermind! I didn't see the "discuss" tag.

On the user settings, removing the addon will have potentially unexpected ramifications. You could have 30 projects, and all of those could lose their github stores by clicking one box. I don't know if you lose the github authorization after that or not, but if you do, then there would definitely be lost information.
On the project settings page, it will only affect the project you are on, which is a much simpler change conceptually and I would expect that, if someone unchecks and saves from there, that they really mean it. Also, I think reversing that would only take re-checking the box and saving again, and I think all of the settings would be preserved.
So, if all the things I believe are true are, in fact, true, then I wouldn't think we need the confirmation there.

"if" :smiling_imp: ? Personal app opinion, it is always a good UI approach to offer a warning if a choice has ramifications to function, visibility, etc.

Ehhh, not always. There's a lot of overhead to that. Easily reversed and understood decisions are often easier just to let them reverse. It's essentially the question, do you want to make it half-again as difficult to do the thing every time, no matter what, or just twice as difficult to reverse if you make a mistake.
On the plus side, this is a function that shouldn't be performed by a user regularly, so the amount of person-hours lost to the extra clicking probably won't matter that much. Most likely, it's five one, half-dozen the other the way it would work out. But philosophically, I lean towards letting people change and fix rather than giving them something to click through, partly because the more of those warnings you get, the less likely people will pay attention to them.

Ah, but you are a developer -- I tend to err on the side of the non-technical user who accidentally clicks a button, gets no message, and then freaks out when what they expected to still be there (like files) are no longer there :scream_cat:

Understood. How frequently does this happen? I know it's an issue from @saradbowman, so is it from a user or something that was just come across. If we have user reports of problems with this, then I'm certainly for it. If it hasn't been an issue, and it's just a matter of telling them to click the button again, then I'm not as for it, because it is a two-step process already. If it were a single click to disable, then absolutely I'd be for it, because a single click is far too easy.
All that being said, I think I'm done clarifying, so whatever the decision from here out works for me.

I discovered this during testing -- not a report from a user
On Tue, Mar 10, 2015 at 4:32 PM, Brian J. Geiger<EMAIL_ADDRESS>wrote:

Understood. How frequently does this happen? I know it's an issue from
@saradbowman https://github.com/saradbowman, so is it from a user or
something that was just come across. If we have user reports of problems
with this, then I'm certainly for it. If it hasn't been an issue, and it's
just a matter of telling them to click the button again, then I'm not as
for it, because it is a two-step process already. If it were a single click
to disable, then absolutely I'd be for it, because a single click is far
too easy.
All that being said, I think I'm done clarifying, so whatever the decision
from here out works for me.
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/osf.io/issues/1621#issuecomment-78141714
.


[ONNX] Implement ConstantFill operator.

The ConstantFill operator is required for many seq2seq models.
Happy to integrate and make a PR for it, though want to ask if there's any documentation available on the NNVM Symbol/Variable API (instantiating new Variables to provide defaults for parameters, etc). Tried looking through other operators and noticed that the majority of them simply are pass-throughs/wrappers for already-existing operators.
From what I see, ConstantFill can be replaced by Symbol.full_like(input, fill_value=...) (fill_value has a default of 0).

@iwasaki-kenta welcome to contribute PR for ConstantFill.
As of now I think we don't have a tutorial about how to develop a new operator across TVM & NNVM.
TOPI Intro is a tutorial we have about how to use tvm topi. Community is always there to help with areas which are not documented till now.
The practice till now is for a new frontend operator is to for existing operators from NNVM and wrap it (if there is one).
Or
Implement a new operator which fits for most of the other frameworks and then wrap it in frontend.
For ConstantFill it can be wrapped around full and full_like.
One limitation I would see for ConstantFill is with input_as_shape=true and input tensor not being a param. You could asset this case and leave it as a limitation for now.

closed by https://github.com/dmlc/tvm/pull/1764


The cost of training Visualized BGE

May I ask how much GPU resources and time you spent training Visualized BGE

The primary computational expense of Visualized BGE is concentrated in the Stage 1 training. During this stage, the Base model undergoes a total of (116K+48K) training steps. This process takes approximately 15 days when utilizing 24 A800 GPUs.


Failed to generate layer.zip

I try to run build.sh, but failed to generate layer.zip.
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Thank you.

changed to  GM_VERSION=1.3.35, and then success.


Hacked up support for AN10866 USB secondary loader

It looks like a bunch of people are trying to get mbed compiled code running on a bare metal mbed using the AN10886 Secondary USB Bootloader.
Some aspects to make this work using the mbed build system already have been fixed (like this)
But there are still some little tweaks to be made to make this work without hacking around.
I have mostly followed these instructions:
https://developer.mbed.org/users/hammerli22/notebook/crouching-landtiger-hidden-mbed/
I am still running into an issue when setting the NO_CRP predefine which I fixed by commenting the whole thing out. Any suggestions on what would be a more appropriate workaround?
Since the LPC1768 is so popular, would it make sense to create a bare metal LPC1768 target?

Note, I managed to get this going on the online compiler by deleting and uploading the modified LPC1768.sct/startup_LPC17xx.S files.
If you import this library it should work out of the box with the off the shelf secondary loader:
https://developer.mbed.org/users/jaerts/code/mbed-src/
Note that this currently breaks the normal MBED HDK as it now always creates images starting at 0x2000.

We rather create a new  target for this, what do you think guys, @sg- @screamerbg ?

I like the idea of having an app offset macro for each platform. Not sure secondary loader is right but better than different targets IMO. Just need a solid proposal on how to present to not fragment this across all the platforms

Anyone else thoughts on this? I'm not sure how the online environment deals with multiple platforms. Is a fixed offset sufficient? Can we just do the compiler flag I suggested and enable or disable it based on the selected target?

Can one of the admins verify this patch?

@jorisa there is a lot of work ongoing around target composition and configuration. Going to close this now but will come back to this.


Add support for dwarf expressions on global variables.

The Swift compiler emits a DW_OP_deref for global variables in a fixed
size buffer, which is correct unless the variable uses inline
storage. This makes the majority of resilient types in Foundation work
as global variables.  The correct solution would be for LLDB to poke
at the runtime to figure out whether the storage is inline or not, but
until then this is the next best thing.
rdar://problem/39767528
(cherry picked from commit 2107cc37040d0a26cf1903acf0a50681e6cef481)

test with https://github.com/apple/swift/pull/16342
@swift-ci test


How to contribute on this project

I already read the doc HOW TO CONTRIBUTE, I would like to contribute to this project. Do you have any suggestions?

Hey @Wanderson77 ,
You can start contributing by opening a pull request as with any other project on GitHub.


chore: enable snow

https://twitter.com/squidfunk/status/1597939243090788352

since the meta plugin is paywalled, this only applies snow if users load index first
if, instead, people open a different page (e.g., via bookmark), no snow will be loaded. happy to fix this though, just need to define the attribute on all *.md files

I find the snow effect to be a bit too distracting while reading, so unless anyone has super strong opinions about needing snow I'd rather not merge this PR in

Why do we need random shit flying over the screen on an information page again?

fair 👍


Cannot use import statement outside a module

Description
Cannot use import statement outside a module
(node:89675) Warning: require() of ES modules is not supported.
require() of /Users/vaibhav/.npm/_npx/89675/lib/node_modules/lint-staged/bin/lint-staged.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename lint-staged.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /Users/vaibhav/.npm/_npx/89675/lib/node_modules/lint-staged/package.json.
husky - pre-commit hook exited with code 1 (error)
Steps to reproduce (pre-commit file)
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged && npm run test
Environment

OS: macOS
Node.js: 12.x
**lint-staged: 12.1.7  (using npx so I assume it is picking latest)
**husky: 7.0.4

Note : it is working on another mac machine for me where node version is 16.x

You Node.js version is 12.1.7, and we require at least 12.20.0. Please upgrade your Node.js:
https://github.com/okonet/lint-staged/blob/f9f65380dc3fc6aaa5627abe92f4e26d5b7a25de/package.json#L17


Docker Support

This was a request from the old repo.
https://github.com/ferion11/LogosLinuxInstaller/issues/175

https://stackoverflow.com/questions/61815364/how-can-i-get-my-win32-app-running-with-wine-in-docker
https://leimao.github.io/blog/Docker-Wine/


Marquee

https://vuejsexamples.com/marquee-text-for-vuejs/
Community Bulletin - The question of "When will hardware wallet voting support will be available?" has been asked many times. It is a high priority to the Project Catalyst team and IOG. There are many working parts to implement successfully including working with Ledger, Emergo - these are things that are outside of the control of Project Catalyst. There are currently no hard commitment of when it can be delivered. It's a focus to get it done before the end of the year. As soon as there can be a hard commitment it will be communicated to the community. We all thank you for your participation and patience. Community Bulletin

https://vuetifyjs.com/en/components/dialogs/

Community Bulletin - Hardware wallet support is a known issue and is being worked on. Find out more.
The question of "When will hardware wallet voting support will be available?" has been asked many times. It is a high priority to the Project Catalyst team and IOG. There are many working parts to implement successfully including working with Ledger, Emergo - these are things that are outside of the control of Project Catalyst. There are currently no hard commitment of when it can be delivered. It's a focus to get it done before the end of the year. As soon as there can be a hard commitment it will be communicated to the community. We all thank you for your participation and patience. Community Bulletin

I'll make the news page and link the marquee to headings on that page


reversal-icon-theme: init at unstable-2023-05-13

Description of changes
Add Reversal Icon Theme
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2852

Result of nixpkgs-review pr 263785 run on x86_64-linux 1

1 package built:

reversal-icon-theme


sdk: python: add codegen client

Fixes #3308
Fixes #3325
Fixes #3327
Example
alpine = api.container().from_(address="python:3.10.8-alpine")
version = alpine.exec(args=["python", "-V"]).stdout().contents()
assert version == "Python 3.10.8\n"

To re-generate client
❯ # make sure the dagger engine is running first
❯ hatch run generate
❯ # re-format to keep code clean
❯ hatch run lint:fmt

Tasks

[x] POC for the API
[x] Setup test suite and dev environment
[x] Codegen
[ ] Improve client factory to include API root (i.e., Query)
[ ] Fix all warnings from Mypy (i.e., typing kung-fu)
[ ] Basic documentation
[ ] More tests

Signed-off-by: Helder Correia

@helderco This is awesome!
Couple of comments/questions:

I see this is using a custom codegen written in Python. Do you think we should go this way or re-use the one written in Go?
engine is now gone from the Go SDK (it's an internal package of dagger), replaced by dagger.Connect

I think we should do the same in Python
Connect supports DAGGER_HOST

In Go, it defaults to embedded:// (embedded Engine), which is not possible in Python
Supports bin:// (communicate over stdio, see #3265) which probably should be the default in Python
Supports unix://
For extensions, the runtime automatically sets DAGGER_HOST=unix:///dagger.sock which means you can use Connect() from an extension it'll work the same

Does it make sense to do the same in Python, or is it better to be in a directory named dagger?

I think it's better to keep that directory for the Python library that'll be released later to PyPI (central package repository for Python). Two reasons for this:

I believe the packaging tools take the name of the parent dir to automate some things. I'm not saying it's impossible I just have the gut feeling that it makes some things slightly easier but those may not be worth the extra dir.
It allows for cleaner separation between the Python library and Go code that's needed for the SDK (e.g., moving the runtime stuff into sdk/python, the codegen templates and supporting functions or anything else).

I see this is using a custom codegen written in Python. Do you think we should go this way or re-use the one written in Go?

Yeah I didn't want to be delayed since the Go codegen isn't yet ready for other SDKs, but I also had in mind that doing it in Python would allow me access to some functions that I'd have to recreate in Go[^1].
It looks like a lot of code (over 300 LOC) but most of it is just some utility functions. I'm not using templates to not add a dependency on Jinja2 but I also tried that and fought against whitespace issues (as you do when templating YAML for example).
Also, having the codegen fully typed adds quite a bit of verbosity compared to Python code without types. Only today I realized this specific module didn't need to be typed because no one's supposed to use it directly and the output of it should be tested so it could be much smaller in size.
The actual usage in Python is actually pretty simple. In the CLI:
❯ dagger-py generate --output my/api/gen.py

That'll also create the .gitattributes. And you can also call it programatically:
import dagger
from dagger.api.codegen import generate

with dagger.Client() as session:
    code = generate(session.client.schema)
    # print to screen or save to file

Another point in favor of doing it in Python is that it makes it easier for Pythonistas to contribute to it, if they don't know Go.
Having said all of that I'm still open do move it to Go later. There's some upsides from that as well:

Single unified way to codegen for any of our SDKs
Faster and with no dependencies to install[^2]

[^1]: Although after having the python codegen finished, it's not that much to recreate in Go.
[^2]: To be fair, in Python, you'd install the dagger library in your (virtual) environment in any case and that gets you the dagger-py executable so it's as easy to do dagger-py generate --output ... or dagger client-gen --output ... at that point. And in CI it's just this hatch run generate, which creates the environment, installs dependencies and runs that command.

engine is now gone from the Go SDK (it's an internal package of dagger), replaced by dagger.Connect. I think we should do the same in Python.

Yeah, I plan on doing that as part of a follow up which includes refactoring the Client factory as well to handle the different connectors and transports in a more flexible way.


Full tests

Add to all tests space into a scene with no motion of actor.

https://github.com/drKaramazin/scroll-rise/pull/33


ClineFlix Completed

📜CineFlix Completed

This PR was created to give highlight the features implemented within this project.

♻ Implemented Features

[x] Setup project using webpack
[x] Setup linters for the project
[x] Get external API to display webapp content
[x] Get internal API to capture and display likes and comments
[x] Added counters to homepage items
[x] Added counters to the number of comments.
[x] Display the number of items on the homepage
[x] Display the number of comments on the comments
[x] Added footer to the project

Please go through the closed PRs to get his commit.


Catch all exceptions and log in loadCheckPoint

If an exception bubbles to the scheduledExecutorService future runs are cancelled we do not want that

Thoughts on putting the try/catch directly inside the executor scheduling? ie, down here:
https://github.com/prefab-cloud/prefab-cloud-java/blob/a26c36716cdc848ebd23a23c47b85542dcd043f0/src/main/java/cloud/prefab/client/ConfigClient.java#L321-L326
Feels like that might be more robust to future refactoring

Good call, i will make that change, thank you!

closing this because the Client interface PR has made this a very messy merge


NEW IDEA - Multiple Mail Sender App

Application Name: Multiple Mail Sender App
Tier: 2-Intermediate
This application can send mails to multiple recipients at a time.
What is the purpose of this application?
There are countless reasons for people to want to send emails to multiple recipients without letting them know who else is being contacted. In this case, you just cannot send mails one by one to multiple recipients. This would take a lot of senders time. To ease this, I'm building an application that will send mails to multiple recipients at a time
Useful links and resources

https://pythonhosted.org/Flask-Mail/

Can I please develop this system under Hacktoberfest 2021? @florinpop17

Hello everyone 👋
I hope this message finds you well. As you may know, the original repository for app ideas has not been updated in a while and is no longer actively maintained. However, I'm excited to let you know that a new repository has been created to continue this project (https://github.com/vincent0426/app-ideas).
The new repository aims to provide a comprehensive list of practical and achievable app ideas that developers of all levels can work on to improve their skills and build their portfolios. We welcome contributions from anyone who wants to add their own app ideas or improve the existing ones, and we are also looking for volunteers who can help maintain the repository and keep it up to date.
If you are interested in contributing or maintaining this project, please head over to the new repository (https://github.com/vincent0426/app-ideas) ⭐ and take a look at the existing issues and pull requests. Feel free to open a new issue if you have an app idea to suggest or if you have any questions about the project.
Thank you for your attention, and I hope to see you in the new repository soon! 💖

⚠ This message was generated by a robot 🤖, if this message reached you, consider leaving a star for this robot, repository link
⭐ https://github.com/aldairandre/github-bot ⭐

Hello everyone 👋
I hope this message finds you well. As you may know, the original repository for app ideas has not been updated in a while and is no longer actively maintained. However, I'm excited to let you know that a new repository has been created to continue this project (https://github.com/vincent0426/app-ideas).
The new repository aims to provide a comprehensive list of practical and achievable app ideas that developers of all levels can work on to improve their skills and build their portfolios. We welcome contributions from anyone who wants to add their own app ideas or improve the existing ones, and we are also looking for volunteers who can help maintain the repository and keep it up to date.
If you are interested in contributing or maintaining this project, please head over to the new repository (https://github.com/vincent0426/app-ideas) ⭐ and take a look at the existing issues and pull requests. Feel free to open a new issue if you have an app idea to suggest or if you have any questions about the project.
Thank you for your attention, and I hope to see you in the new repository soon! 💖

⚠ This message was generated by a robot 🤖, if this message reached you, consider leaving a star for this robot, repository link
⭐ https://github.com/aldairandre/github-bot ⭐

Hello everyone 👋
I hope this message finds you well. As you may know, the original repository for app ideas has not been updated in a while and is no longer actively maintained. However, I'm excited to let you know that a new repository has been created to continue this project (https://github.com/vincent0426/app-ideas).
The new repository aims to provide a comprehensive list of practical and achievable app ideas that developers of all levels can work on to improve their skills and build their portfolios. We welcome contributions from anyone who wants to add their own app ideas or improve the existing ones, and we are also looking for volunteers who can help maintain the repository and keep it up to date.
If you are interested in contributing or maintaining this project, please head over to the new repository (https://github.com/vincent0426/app-ideas) ⭐ and take a look at the existing issues and pull requests. Feel free to open a new issue if you have an app idea to suggest or if you have any questions about the project.
Thank you for your attention, and I hope to see you in the new repository soon! 💖

⚠ This message was generated by a robot 🤖, if this message reached you, consider leaving a star for this robot, repository link
⭐ https://github.com/aldairandre/github-bot ⭐


Software upgrade 0.11.0

I have added KONG_VERSION variable to build kong from a given tag.
I did this to ensure that the docker image, will not break if Mashape adds breaking changes.
Kong 0.11.0 uses newer open resty, so I upped the version aswell.
I removed the dns settings because they conflicts with docker-compose.

Looks good! Thank you 😄

You welcome :smiley:
Will this version be tagged or become latest on dockerhub ?

@fuzzzw It'll become the latest shortly. That being said, I should've probably tagged the older versions.