chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1211

Questions ?
Please refer to the Backport tool documentation


Can I get comments in the code?

This is a great tool for python. Actually, I wanna have the block comments in the java code.
Is it possible to that infomation?
Thanks,
WARNING: Token 'BLOCK_COMMENT' defined, but not used
WARNING: Token 'LINE_COMMENT' defined, but not used
WARNING: There are 2 unused tokens
Generating LALR tables

As you found out, there are already tokens in place for comments which are not used. I'm not exactly sure how one would go about putting comments in the model as they can appear basically everywhere. So every source element would need a comment array and additionally a trailing comment array for the trailing comments of parsed code. Then we would need a way to parse them without cluttering every rule of the parser. I'm sure there are good ways to do this, I just don't know any right now. :)


pod still refers to 1.0 client as the default one

Hi everyone!
This section of the documentation still refers to 1.0 as being the default client for Search::Elasticsearch:
"This version of the client supports the Elasticsearch 1.0 branch by default, which is not backwards compatible with the 0.90 branch."
"If you need to talk to a version of Elasticsearch before 1.0.0, please use Search::Elasticsearch::Client::0_90::Direct as follows:"
The rest of the pod looks ok, properly referencing the 2.0 client.
Hope this helps. Cheers!

HI @garu
thanks for reporting. closed by https://github.com/elastic/elasticsearch-perl/commit/12dcdd9419546a4ec2561f7eff12de30fa75fed1


Can this be applied to AR(Augmented reality)？

Hi, Marc
Whether Vedo can take the 3D model and load it into the picture through the Augmented Reality method.
Please give me an example if you can.
Thank you.

I know that vtk offert support to VR but this has never been tested in vedo... you can give it a try with
from vedo import settings
settings.useOpenVR=True
# ...

but i would be surprised if it actually worked :)

I know that vtk offert support to VR but this has never been tested in vedo... you can give it a try with
from vedo import settings
settings.useOpenVR=True
# ...

but i would be surprised if it actually worked :)


Get ServiceObject back on connection

When using ScsServiceBuilder, is there a way to get the service type back on client connection?
I am trying to get what service was connected to returned during the ClientConnected event.
For instance the client connecting to
server.AddService<IPhoneBookService, PhoneBookService>(new PhoneBookService());
The connection evernt should also return they type PhoneBookService's type name

Hi,
Server can define more than one service in a single endpoint.
There is no way to get service type in the client. It's expected that your client code already knows the service type it will use.

No i need to know which service type is being connected to on the server side.
say IPhoneBookService1 and IPhoneBookService2 service trigger the same connection event, how do i know which service is doing it?

When a client connects to an endpoint that has more than one service, the client connects them in the same time. So, you don't need to know the service, because connection is independent from services.

Yea, i gathered that after digging through the code, I was just hoping there was a way to know which service was being going to be used before hand on the connection event. It explains why what I had modified returned all services during the connection. Thanks anyway.


react template is very large

Description

Running jss create demo react generates already a full tailored solution with 36 different src script files.
Which of them are save to delete?

hey @jantimon I've created a bit more barebones version of the react template here: https://github.com/altola/sitecore-jss-react-starter

Hey @alexshyba thanks for sharing!
I'll definitely look into it 👍
My goal was to try how react, typescript and jss could work together.
I guess for proof of concepts like those it's great to have a very very basic starter 👍

@jantimon - be aware that the starter linked by @alexshyba is not on the latest JSS version.
Only the official JSS react starter is maintained by the JSS dev team. To get it down to just the "bare bones", you need to remove the demo pages (everything under /data/routes), the demo components (everything under /src/components), the demo templates (files under /sitecore/definitions/ that start with ContentBlock or GraphQL- or Styleguide-) .
Here's a commit showing an example of stripping the default starter manually - https://github.com/anastasiya29/jss-sandbox/commit/673b07772900b67f2268fc046a068eb6b85b21c1
Finally, you can optionally strip things down even further by simplifying the Layout (/src/Layout.js). For example, you may wish to remove the dependency on bootstrap (if you do so, remember to remove the npm dependency too).


Show distance to user location for stores

As a user i would like to know the distance from my position to the acceptance store. This is an indicator how relevant a search result is for me
Acceptance Criteria:

On the search page is a distance displayed for every list item if the location is enabled f.e. "1,0km entfernt"

Technical Tasks:

add a distance label for every list item if user location is enabled

This is already implemented, but I just noticed, that there is a bug in the backend right now that prohibits that the distance is shown...


Does not seem to work with other SPI devices

I have this set up with a OLED display, using adafruit library... and if the OLED is initialized, the sensor just spews out noise.

Were you able to get the sensor to work, without the display connected? Do the examples output reasonable data?
I know this library works for two adns3080s running at the same time, yet assigned different CS pins.

Yes, it did work on its own. But when i have the display connected with a different CS pin its just spews random data.

Thanks for the update!
Please tell me the model of the screen you used, and whatever library you used to interface with it. I would like to replicate this problem.


About zone 0 (all groups)

Thanks for amazing driver! All work, but how control all 4 group (for example rgb+ww) simultaneously?

This functionality is currently not implemented.

You planned implemented it?


Retrieving Youtube videos as audio files

@shriadke : Can you update 'src/links.txt' with the links of Youtube Hindi News videos that we need? Accordingly, when you run the script, mp3 files will be added into the 'audios' folder in the same directory, which can then be further cut into speech samples.

Added 5 Files which will be around an hour of speech data

@shriadke I think the second link is of a playlist. Can we get one of the audio file individually?


Apply new UI for the events page and the create event page

I'm handling another pages.
Please review.

Hello,
Thanks for the pull request, it's good to see that uptime2 is not dead!
Could you expand on your changes, and the motivations behind them?
What do you mean another pages?
I'd also ask you to separate whitespace/indentation changes from the more semantic changes, but as I'm also very prone to accidentally reindent stuff, I won't :)

Hi,
I'm applying the Metronic template to uptime2.
I added css and js file of Metronic and updated ejs syntax to keep functions is correct.
Another pages that mean have some pages which don't change to new UI yet.
Please keep the pull request after I change all of pages in uptime2.
About separate whitespace/indentation changes from the more semantic changes, may be I set auto format convention on my IDE (using Visual Studio Code)


How to access panel remotely

Nice work guys!
How can I access the panel remotely in a local network? I did open the port 5000 on my firewall server but its still not working.
Also I tried to set the url configuration to http://*:5000 as I use to do with QuartzCrystal panel but still not work.
Thanks!

Hello, It should be reachable on http://*:5000 from remote hosts. Try to turn off proxy or check antivirus config.


pull request for e2e test at 12/07/2016 03:45:01

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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


Native Image: Match dependencies, avoid discrepancies

fixes: CIAC-10937
Matching native image and contained images:

Locked versions where we were already using newer versions (e.g. was * but in lock file >1.2.3, changing to >=1.2.3 or >=1.2.0 won't matter, and make it safer with native image)

crypto: locked cryptography = ">=39.0.1"
google-api-py3: locked cryptography = ">=39.0.1"
netutils: locked websockets = ">=12.0.0"

Native image: Same locking as we're using >= the now-locked versions

Bumped urllib3 to 2.2.2
Bumped future to >=1.0.0
Locked requests-ntlm = "==1.1.0"
Locked slackclient = ">2.0"
Locked aiodns = ">1.0"
Bumped pydantic = ">=2.7.1"

Native image: bumped exchengelib to >=5.4.1 (bugfix)
Native image: added a few more dependencies from contained images

@yuvalbenshalom please force-merge, the build failures are (1) not caused by content items I added, (2) irrelevant in a content context, (3) the first one is unfixable and should be ignored.


Implement Text Editor prompts

The behavior I'm looking for is similar to Github's CLI.
Basically something like this:
? Description: [(e) to launch nano, enter to skip]
after the user inputs: it calls the formatter, having this by default:
? Description: <received>
or, if skipped:
? Description: <skipped>

use cases:

commit message
pr editor
edit configuration file
edit file before savin

thoughts:

default behavior is to open a tmp file on an editor and return the string value

should have a way to set a custom file to edit

behavior 1: open tmp file with editor, return string value to caller

allow pre-defined text on file

behavior 2: allow user to edit file content before saving
e.g. export method, where you set lots of options and then can edit the final file
should allow user to skip editing

can be implemented with (Confirm + Behavior 1): Do you want to review the file? (y/N) + behavior 1 with pre-defined text on file

behavior 3: allow user to edit existing file
e.g. do you want to edit file? -> inquire handles the logic to properly open the file

inquire's role on this use-case is not really related to "interactive prompts"
the user should just use a Confirm and open the file themselves


Mustapha development

Two modules: one plots strictly the energy spectra in a semilog plot and another plots the energy spectra with highlighted peaks in a semilog plot.

Thank you for importing the Isotope class and cleaning up whitespace and PEP8 for radionuclide_scraper.py (Issue #14). But many of my previous comments in Spectrum_Peak_Visualization.py haven't been addressed. Please let me know what's unclear, or if you don't see these comments. I'm happy to explain more.

As discussed this morning, the radionuclide_scraper.py edits went into Chris' branch, so I will not worry about them in this PR. Just delete the extraneous SpectrumVisualization.py.
Also, since the master branch has been updated, you'll need to merge master into Mustapha_Development to get the updates, before I merge the PR.


GeoSPARQL not working in Oxigraph 0.4.3

Description
I'm having trouble getting GeoSPARQL functions to work correctly in Oxigraph 0.4.3. I have a dataset with queries that execute successfully on GraphDB, but they fail to produce the expected results in Oxigraph.
I've tried running Oxigraph both using Docker and from the command line, but neither approach seems to work. My understanding is that GeoSPARQL support should be enabled by default in Oxigraph.
To test this further, I created a simple "Bermuda test" with the following query:
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>

SELECT ?point
WHERE {
  BIND("POLYGON ((-64.8 32.3, -65.5 18.3, -80.3 25.2, -64.8 32.3))" AS ?polygon)
  VALUES ?point { "POINT (-70.268555 25.522615)" "POINT (-60.996094 24.846565)" }
  FILTER(geof:sfWithin(?point, ?polygon))
}

This query checks if two points are located within a polygon representing Bermuda. GraphDB correctly identifies the first point as being inside the polygon and the second point as being outside. However, Oxigraph doesn't seem to process the geof:sfWithin function correctly.

Expected behavior
Oxigraph should correctly evaluate the geof:sfWithin function and return only the point that falls within the specified polygon.
Actual behavior
Oxigraph returns no results.
Steps to reproduce
Start Oxigraph 0.4.3 (using Docker or CLI).
Load the provided SPARQL query.
Execute the query and observe the results.
curl -X POST -H 'Accept: text/csv' -H 'Content-Type: application/sparql-query' --data 'PREFIX geof: <http://www.opengis.net/def/function/geosparql/> SELECT * WHERE { BIND("POLYGON ((-64.8 32.3, -65.5 18.3, -80.3 25.2, -64.8 32.3))" AS ?polygon) VALUES ?point { "POINT (-70.268555 25.522615)" "POINT (-60.996094 24.846565)" } FILTER(geof:sfWithin(?point, ?polygon)) }' http://localhost:7878/query

Environment
Oxigraph version: 0.4.3
Operating system: Mac OS Sonoma 14.6.1
Deployment method: Docker / CLI
Additional information
The same dataset and queries work correctly on GraphDB.
GeoSPARQL support is assumed to be enabled by default in Oxigraph.

Hey! Thank you for this so well written bug report!
I think you encounter this because Oxigraph only allows typed literals in geosparql functions. The following query works (note the geo:wktLiteral datatypes):
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>

SELECT ?point
WHERE {
  BIND("POLYGON ((-64.8 32.3, -65.5 18.3, -80.3 25.2, -64.8 32.3))"^^geo:wktLiteral AS ?polygon)
  VALUES ?point { "POINT (-70.268555 25.522615)"^^geo:wktLiteral "POINT (-60.996094 24.846565)"^^geo:wktLiteral }
  FILTER(geof:sfWithin(?point, ?polygon))
}

Thank you for the swift response! I can confirm that it now works when I run the server through the CLI. When running it in Docker I still don't get a result.
My own dataset already has typed literals so it worked when I added the typing to the constraint polygon 🚀
I still don't get a result if I try to calculate the distance between the two points though:
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
PREFIX uom: <http://www.opengis.net/def/uom/OGC/1.0/>

SELECT *
WHERE {
  BIND("POINT (-70.268555 25.522615)"^^geo:wktLiteral AS ?p1)
  BIND("POINT (-60.996094 24.846565)"^^geo:wktLiteral AS ?p2)
  BIND(geof:distance(?p1, ?p2, uom:metre) AS ?dist)
}

or
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>

SELECT *
WHERE {
  BIND("POINT (-70.268555 25.522615)"^^geo:wktLiteral AS ?p1)
  BIND("POINT (-60.996094 24.846565)"^^geo:wktLiteral AS ?p2)
  BIND(geof:metricDistance(?p1, ?p2) AS ?dist)
}

. When running it in Docker I still don't get a result.

Indeed, my bad, I forgot to enable the feature in the docker container

I still don't get a result if I try to calculate the distance between the two points though:

Yes, these functions are not implemented yet. Only the sf* functions are implemented for the moment.

Alright, thanks for the clarification! Will it work in JavaScript?
Thanks a lot for developing this great project!

Will it work in JavaScript?

Not yet but it should be easy to add. Will do it in the next release.

Thanks a lot for developing this great project!

Thank you for this nice word!


Fix flaky test TransactionTests.testCancelAsyncRequest

Resolves #706.
The continuation is resumed with the cancelation error before we cancel the scheduled request.
https://github.com/swift-server/async-http-client/blob/62c06d47c8d21c91335e9f8998589e4ce31411e6/Sources/AsyncHTTPClient/AsyncAwait/Transaction.swift#L290-L294
Therefore this test is inherently flaky. The fix waits up to one second for the scheduled request to be canceled.

CI cleanup might have caused the doc check failure? @swift-server-bot test this please


self is not defined

when installing the module and starting the project I get this module error
ReferenceError: self is not defined
at Object. (F:\ProyectosPago\Search\node_modules\encrypt-storage\dist\index.js:2:358)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)

Same here.. Any news on this?

@CarmenLexa and @thought2
In what context are you using the library?
Ex: Angular, ReactJS or VueJS?
I've never had this issue using CRA or ViteJS, that's why I'm asking.

I apologize for the delay.
But it's been a while since I asked if everything is OK and got no response.
I will close the issue and it can be reopened at any time.
Thank you very much.

hey @michelonsouza. I just  tried this out with NextJs in a turborepo. Same issue.


Set value by js after interaction

Since you are using defaultValue instead of value, it is not possible to change input value after user typed something in it. Particullary in React, input is non-controlled, even if I'll pass value prop.
Is it possible to change value by js, after user have some interaction with input?
I need to add some text by clicking suggest item below my input, but it is not working through devaultValue.

Can you show us a code example or what you are trying to do.

I just trying to set a value to input after initial value setted.
state = { value: 'x' };

componentDidMount() {
  let i = 1;

  this.setState({ value: 'y' });
}

render() {
  return <ReactTextMask value={this.state.value} mask={false} />;
}

The value will be x even after componentDidMount() call. I assume that is because you are using defaultValue, not just value https://github.com/text-mask/text-mask/blob/36187412f283527dd8a8cde39ce1046de655eb9e/react/src/reactTextMask.js#L41
And because of that controlled form element actually controlled only on first render, and after that lives by its own life, independently of parent component and its state.
Same here for:
<ReactTextMask
  value={this.state.value}
  mask={false}
  onChange={e => this.setState({ value: `prefix-${e.target.value}` })}
/>

prefix- not passed to input.

Same problem

@lozjackson This is a big problem for React users.

Same Problem

I also have the same problem. @lozjackson it seems like a simple fix? Anything we can help clarify?

@bjornlll could you submit a PR?

I would if I knew how to fix it. @menezee could you post your ref workaround here? The one that you mentioned https://github.com/text-mask/text-mask/issues/718 here.

Not sure if your problem is the same that I had, but just in case: after retrieving data from database, I set form values directly (I do not use intermediary states), and the values were not being masked (instead they were showing just the raw numbers for example, without thousands and decimal formatting).
I ended up "fixing" the problem by issuing a manual this.forceUpdate() to redraw the entire form, just after setting all form values. That made the masks update properly as expected.

If you use the render prop API for this, you could work around it by doing this:
<TextMaskInput render={
  (ref, { defaultValue, ...renderProps}) => <input ref={ref} value={defaultValue} {...renderProps} />
} />

Does that work? Originally, it appears the defaultValue prop was introduced for IE10 compatibility.

Any workaround or solution for this issue ?

@manoj150283 I noticed that in v5.4.2 you can pass a render prop.  This fixes the issue.  At least for my use case.  See source.

Is this solved with #807?


Change docs in version 3 with respect to extensions

Encourage the usage of the PyScaffold internal extensions instead of Cookiecutter templates in the official documentation.

Some note added in the Cookiecutter documentation


Rename User to Member

Find all places where we use word "user" and rename to member

@oscarfr96 thanks for contribution, could you please make pull request?


New rule: Flag functions that could be changed to reified functions

Expected Behavior of the rule
Flag functions that take a class type as a parameter and suggest converting to a reified function.
Example from detekt's code base:
fun PsiElement.isPartOf(clazz: KClass<out PsiElement>): Boolean =
        getNonStrictParentOfType(clazz.java) != null

This is better as:
inline fun <reified T : PsiElement> PsiElement.isPartOf(): Boolean =
         getNonStrictParentOfType(T::class.java) != null

Context
Usage at call sites is nicer - instead of isPartOf(KtStringTemplateEntry::class) they can use isPartOf<KtStringTemplateEntry>()

I like this idea. Developers switching from Java might not be aware of this language feature in Kotlin.
We should note that an inlined function with a reified type is not callable from Java code, though.

Note: it's not a silver bullet; it's also not possible to calculate a variable and use it when the function is reified:
val cls = if (foo) bar else baz
if (element.isPartOf<cls>()) ...

Thanks for mentioning that! @TWiStErRob
Yes, there are some limitations. This rule would require intensive testing.
Anyhow, no static analysis rule is immune against false positives.


Added a certificate to allow-list

Added Microsoft 3rd Party Application Component certificate to the allow-list.

/azp list


How to write Unit Tests for components created using angular-component polyfill?

I am trying to write some unit tests for the components created using this polyfill. Just need some hint to understand how we would be able to achive that?
With angular 1.5 we have $componentController api to instantiate components, What is alternative here?

@asadsahi we pull in v1.5 of ngMock or wherever that $componentControler api exists for the purpose unit testing. Seems to work fine and we haven't noticed in version discrepancy issues.


Attempt at changing Country to Timezone

Actually, I just noticed that the pull request receives the "option" value instead of the "option-name".
So in the YAML we end up with "Monrovia" instead of "Africa/Monrovia".
I'll try to modify the perl script to include the continent name in the option as well.
It somewhat defeats the purpose of the optgroups but I'd rather have Africa/Monrovia in the yaml.

@WhoIsJack ^

Modified in ef4a20d12325f464e7ee935f527a52a41f93de9e.
Feel free to revert if applicable.

Seems like deployment of the pages is taking forever. Letting it sit and see if it finishes. May need another push if it fails.

I think the change you made to the time zones is good.
The deployment seems to fail sporadically, in which case it can be rerun from within the Actions tab. It looks like this is a GitHub problem, as it fails with the same message as we saw previously (see #40) - and occasionally it works, without us changing anything. So this one's not on us...


Feature: Import Player Inventory as Foundry Items

@mjeffw, this is the PR for #1966, but to see only their code, we need to merge this first:  https://github.com/crnormand/gurps/pull/1962
Thanks!

Temporally closing for more tests and docs.


Extending Directive

Im looking to extend the directive and looking for an elegant way to do so.  Using a simple example of adding an event handler.  My other case is much more intensive.  But would like to start here:
Given "scope.onAdsManagerLoaded" @line 120 ish...
            scope.onAdsManagerLoaded = function onAdsManagerLoaded(adsManagerLoadedEvent) {
                scope.show();
                adsManager = adsManagerLoadedEvent.getAdsManager(API.mediaElement[0]);

              // START ADDITION
                adsManager.addEventListener(google.ima.AdEvent.Type.LOADED,
                    function(adEvent){
                        console.log("adData",adEvent.getAd());
                    }
                );
              // END ADDITION

                scope.processAdsManager(adsManager);
            };

It looks fine for me, what's the problem?

i was looking to extend the directive itself.  we went ahead and just modified it directly.
ty - you addressed in the email

You're welcome :smile:


⚠ Bofrost.lu has degraded performance

In aac9071, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2082 ms

Resolved: Bofrost.lu performance has improved in 00bdad6 after 26 minutes.


Use optimized overflow operation everywhere

Description of changes:
This is related to the performance degradation we are seeing in the toolchain upgrade: https://github.com/model-checking/kani/pull/2293
Resolved issues:
N/A
Related RFC:

Optional #ISSUE-NUMBER.
Call-outs:
It looks like the old overflow_p operations are still relevant for SIMD instructions. @tautschnig can those be replaced as well?
Testing:

How is this change tested? Existing tests and manual tests with my other branch where I'm doing the upgrade

Is this a refactor change? yes

Checklist

[ ] Each commit message has a non-empty body, explaining why the change was made
[ ] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[ ] My PR is restricted to a single feature or bugfix

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

It looks like the performance is not always better... :(

I do wonder if this proof is also somewhat unstable. I noticed that in my other PR (#2407) that had minimum changes to the model, there was also a performance degradation of 47% for the same test.

I'd like to ask for an explanation as to why the no-longer-failing checks are ok.

That's fair! My bad, I should've added an explanation before. I added it as part of an answer to one of your question and addressed the issue in the call-out section. In a nutshell, the arithmetic check that was being added by CBMC was redundant.


Duplicate names in generated list of vars

TypeScript Version:  2.7.2
Search Terms: duplicate var declarations
Code
async function test(r: any) {
    if (r) {
        var a = new Error();
    }
    else if (r)
    {
        var a: Error;
    }
}

{
  "compilerOptions": {
    "noEmitHelpers": true,
    "target": "es5",
    "lib": [ "es6" ]
  }
}

Expected behavior:
var a;

or

var a_1,a_2;

Actual behavior:
The line "var a,a;" has two variables with the same name.
function test(r) {
    return __awaiter(this, void 0, void 0, function () {
        var a, a;
        return __generator(this, function (_a) {
            if (r) {
                a = new Error();
            }
            else if (r) {
                a = void 0;
            }
            return [2 /*return*/];
        });
    });
}

Playground Link: Link here
Related Issues:
This output triggers errors for closure compiler, where it was first discovered.

Doesn't change runtime behavior but it'd be nice to not have it duplicated

I'd like to work on this, is someone willing to point me in the right direction? Which file to look into, etc. ? Thanks!


Upgrade expand button to be skin 15 compliant

Fixes #123

Thank you for the PR. We are making skin upgrades on branch 2.0.0 and the expand button changes is already included


[eval] add evaluation workflow

End-user friendly description of the problem this fixes or functionality that this introduces

[X] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Add nightly evaluation workflow to monitor the quality of OpenHands during development

Give a summary of what the PR does, explaining any non-trivial design decisions

Add nightly evaluation workflow to monitor the quality of OpenHands during development
Fix some minor parsing issues with deepseek parsing on the new editing action.

Link of any specific issues this addresses

I'm really excited about this, it's so handy to have! It will simplify and speed up our work to have the ability to get results over night or on demand, with less or no fiddling! ❤

Merging this. I think main is broken with Deepseek at the moment, probably related to the tool use PR, this can help prevent it in the future.
@neubig please feel free to revert if it was too early.

@enyst Deepseek doesn't really work with function calling unfortunately:(
I'm still looking at other cheaper OSS model alternatives for running regular evals (maybe llama?)

Would either of these 2 be good for trying? At least they're quite affordable, comparatively:
https://openrouter.ai/nvidia/llama-3.1-nemotron-70b-instruct ($0.35/M input / $0.4/M output)
https://openrouter.ai/meta-llama/llama-3.1-405b-instruct ($1.79/m in/out)

@xingyaoww Do you think we should revert this?


commit

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

Do I need to change  something these PR


ask not working / PHP Fatal error:  Call to a member function getOutput()

Q
A

Issue Type
Bug

Deployer Version
3.3.0

Local Machine OS
Ubuntu 14.04 LTS

Description
Ask not working at all
Steps to reproduce
ask variable and echo it out.
Content of deploy.php
<?php

$branch = ask('branch?','master');

writeln($branch);

Output log
└> dep -vvv
PHP Fatal error:  Call to a member function getOutput() on boolean in phar:///usr/local/bin/dep/src/functions.php on line 519

Fatal error: Call to a member function getOutput() on boolean in phar:///usr/local/bin/dep/src/functions.php on line 519

$branch->getOutput() ?

<?php

require 'recipe/common.php';

$branch = ask('branch?', 'master');

writeln($branch->getOutput());

gives the same
PHP Fatal error:  Call to a member function getOutput() on boolean
PHP 5.6

http://symfony.com/doc/current/components/console.html


Revise Banner Messages when Editing Program&Offering

Description of Task:
Revise the content wording slightly in one banner message which appear when an institution user attempts to edit a program
Current Behaviour Screenshot
Edit a Program
Private Zenhub Image
Acceptance Criteria

[x] Adjust the 'Edit Program' banner message title to read "Program Details No Longer Editable"

The actual acceptance criteria banner is in Pascal Case, as we are not following it in our UI design, changing them to 'Program details no longer editable'


(node:80839) Electron: Loading non context-aware native modules in the renderer process is deprecated

Summary of Problem
(node:80839) Electron: Loading non context-aware native modules in the renderer process is deprecated
Will node-serial adapt to be a context-aware native module? As in renderer process communicate to serial port is much more easier than in main process of Electron.
(Please answer all 3)

What are you trying to do?
I mode a new cross platform serial port tool named comNG. Thanks for the great lib, it works quite well. The only problem is the above warning message.
What happens?
Electron report above warning message.
What should have happened?
No this warning message.

Code to Reproduce the Issue
Use serial port lib in renderer process of electron.
const serialport = new SerialPort(path)

// Code

Versions, Operating System and Hardware
Version: 8.0.7
OS: mac, win, linux
Hardware: normal serialport tool

SerialPort@?
Node.js v?
Windows? Linux? Mac?
Hardware and chipset? (Prolific/FTDI/Other)

In my case I'm getting an error instead of a warning:
vendor.js:43107 ERROR Error: Loading non-context-aware native module in renderer<EMAIL_ADDRESS>but app.allowRendererProcessReuse is true. See https://github.com/electron/electron/issues/18397.     at process.func (:4200/electron/js2c/asar.js:140)     at process.func [as dlopen] (:4200/electron/js2c/asar.js:140)     at Object.Module._extensions..node (:4200/internal/modules/cjs/loader.js:1016)     at Object.func (:4200/electron/js2c/asar.js:140)     at Object.func [as .node] (:4200/electron/js2c/asar.js:140)     at Module.load (:4200/internal/modules/cjs/loader.js:816)     at Module._load (:4200/internal/modules/cjs/loader.js:728)     at Module._load (:4200/electron/js2c/asar.js:717)     at Function.Module._load (:4200/electron/js2c/asar.js:717)     at Module.require (:4200/internal/modules/cjs/loader.js:853)
I'm using the following packages:
"devDependencies": {     "@angular-builders/custom-webpack": "9.1.0",     "@angular-devkit/build-angular": "0.901.4",     "@angular-eslint/builder": "0.0.1-alpha.18",     "@angular/cli": "9.1.4",     "@angular/common": "9.1.4",     "@angular/compiler": "9.1.4",     "@angular/compiler-cli": "9.1.4",     "@angular/core": "9.1.4",     "@angular/forms": "9.1.4",     "@angular/language-service": "9.1.4",     "@angular/platform-browser": "9.1.4",     "@angular/platform-browser-dynamic": "9.1.4",     "@angular/router": "9.1.4",     "@ngx-translate/core": "12.1.2",     "@ngx-translate/http-loader": "4.0.0",     "@types/jasmine": "3.5.10",     "@types/jasminewd2": "2.0.8",     "@types/mocha": "7.0.2",     "@types/node": "12.11.1",     "@typescript-eslint/eslint-plugin": "2.27.0",     "@typescript-eslint/parser": "2.27.0",     "chai": "4.2.0",     "codelyzer": "5.2.2",     "conventional-changelog-cli": "2.0.32",     "core-js": "3.6.5",     "cross-env": "7.0.2",     "devtron": "1.4.0",     "electron": "8.2.5",     "electron-builder": "22.6.0",     "electron-reload": "1.5.0",     "eslint": "6.8.0",     "eslint-plugin-import": "2.20.2",     "jasmine-core": "3.5.0",     "jasmine-spec-reporter": "5.0.2",     "karma": "5.0.4",     "karma-coverage-istanbul-reporter": "3.0.0",     "karma-electron": "6.3.0",     "karma-jasmine": "3.1.1",     "karma-jasmine-html-reporter": "1.5.3",     "mocha": "7.1.2",     "npm-run-all": "4.1.5",     "rxjs": "6.5.5",     "spectron": "10.0.1",     "ts-node": "8.9.1",     "tslib": "1.11.1",     "typescript": "3.8.3",     "wait-on": "4.0.2",     "webdriver-manager": "12.1.7",     "zone.js": "0.10.3"   },   "engines": {     "node": ">=10.13.0"   },   "dependencies": {     "electron-rebuild": "1.11.0",     "serialport": "9.0.0"   }
Any further update?

also getting an error in latest Electron 9.0.4 when serialport is imported into Renderprocess - current workaround is to set app.allowRendererProcessReuse = false; in main process, but as Electron has announced this flag will be fully deprecated in the near future.

In my case I'm getting an error instead of a warning:
vendor.js:43107 ERROR Error: Loading non-context-aware native module in renderer<EMAIL_ADDRESS>but app.allowRendererProcessReuse is true. See https://github.com/electron/electron/issues/18397. at process.func (:4200/electron/js2c/asar.js:140) at process.func [as dlopen] (:4200/electron/js2c/asar.js:140) at Object.Module._extensions..node (:4200/internal/modules/cjs/loader.js:1016) at Object.func (:4200/electron/js2c/asar.js:140) at Object.func [as .node] (:4200/electron/js2c/asar.js:140) at Module.load (:4200/internal/modules/cjs/loader.js:816) at Module._load (:4200/internal/modules/cjs/loader.js:728) at Module._load (:4200/electron/js2c/asar.js:717) at Function.Module._load (:4200/electron/js2c/asar.js:717) at Module.require (:4200/internal/modules/cjs/loader.js:853)
I'm using the following packages:
"devDependencies": {
"@angular-builders/custom-webpack": "9.1.0",
"@angular-devkit/build-angular": "0.901.4",
"@angular-eslint/builder": "0.0.1-alpha.18",
"@angular/cli": "9.1.4",
"@angular/common": "9.1.4",
"@angular/compiler": "9.1.4",
"@angular/compiler-cli": "9.1.4",
"@angular/core": "9.1.4",
"@angular/forms": "9.1.4",
"@angular/language-service": "9.1.4",
"@angular/platform-browser": "9.1.4",
"@angular/platform-browser-dynamic": "9.1.4",
"@angular/router": "9.1.4",
"@ngx-translate/core": "12.1.2",
"@ngx-translate/http-loader": "4.0.0",
"@types/jasmine": "3.5.10",
"@types/jasminewd2": "2.0.8",
"@types/mocha": "7.0.2",
"@types/node": "12.11.1",
"@typescript-eslint/eslint-plugin": "2.27.0",
"@typescript-eslint/parser": "2.27.0",
"chai": "4.2.0",
"codelyzer": "5.2.2",
"conventional-changelog-cli": "2.0.32",
"core-js": "3.6.5",
"cross-env": "7.0.2",
"devtron": "1.4.0",
"electron": "8.2.5",
"electron-builder": "22.6.0",
"electron-reload": "1.5.0",
"eslint": "6.8.0",
"eslint-plugin-import": "2.20.2",
"jasmine-core": "3.5.0",
"jasmine-spec-reporter": "5.0.2",
"karma": "5.0.4",
"karma-coverage-istanbul-reporter": "3.0.0",
"karma-electron": "6.3.0",
"karma-jasmine": "3.1.1",
"karma-jasmine-html-reporter": "1.5.3",
"mocha": "7.1.2",
"npm-run-all": "4.1.5",
"rxjs": "6.5.5",
"spectron": "10.0.1",
"ts-node": "8.9.1",
"tslib": "1.11.1",
"typescript": "3.8.3",
"wait-on": "4.0.2",
"webdriver-manager": "12.1.7",
"zone.js": "0.10.3"
},
"engines": {
"node": ">=10.13.0"
},
`"dependencies": {
"electron-rebuild": "1.11.0",
"serialport": "9.0.0"
}
Any further update?

Waiting for an update, my Electron build on Raspberry Pi gives the same error...

@reconbot I'd consider contributing on this but I'll have to get up-to-speed on the code base and what needs to be done. I've read-up a bit on the issue in the discussions in the electron repo but haven't had a chance to go further than that.

Getting the same here when try to use 'usb' lib...

Waiting here too!

Any updates?

Well.. old workaround with app.allowRendererProcessReuse = false; is not working anymore...
So there is no way to use serial port in electron apps right now at all ? Is there any viable workaround ?

We're actively working on a napi migration which should solve these problems. For now the latest electron may not work.

@reconbot any way I might help with that?


I'm stuck on step 5

I get an error saying "Unable to add a reference to project 'MyProjectName'". I am supposed to add a reference for the main Xamarin app project into my new UWP app project, right?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2ec3998b-c321-10e6-8e06-b10900c3a549
Version Independent ID: de666c26-6261-7762-2c18-1576499b5fac
Content: Setup Windows Projects - Xamarin
Content Source: docs/xamarin-forms/platform/windows/installation/index.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @ekolis
Correct - you add a reference for the Xamarin .NET Standard project to your UWP app project.

Glad you managed to unblock yourself :)


allow different cache times for different urls

Currently http-server allows you to configure the "cache-control: max-age" value for all urls. But often you want a short max-age for e.g. /{index.html} and a long max-age for urls to versioned assets like /styles/f35ac111.main.css.
Would you accept a patch to allow specifying different max-ages for different urls? (This could be implemented most generally by matching the request url against one or more configurable regexes which map to corresponding max-ages, for instance. But if it's simpler, just giving the long cache time to everything that isn't in the root directory, or every asset with a name like a1b2c3d4.filename.ext would probably work for many use cases.)

+1 on this. Multiple -c args should be supported. I would be ok with just not setting cache for .html files but since the implementation is very simple we could probably aim to have something like:
$ http-server -c31536000:**/*.css -c-1:**/*.html

?

I would be ok PRing to this if a PR is welcome.

I'm not sure this is possible in the scope of http-server.
First of all, "http-server is a simple […] command-line http server". I think it's sad that JS projects on GitHub trying to keep things simple (and leave advanced use cases to others) are constantly made more complex. But that's just MHO.
Second, http-server is just a layer on top of ecstatic, which seems to allow only one caching duration.

Second, http-server is just a layer on top of ecstatic, which seems to allow only one caching duration.

@derhuerst the issue on ecstatic is right here in this thread, with a merged PR to add support to custom caching.

First of all, "http-server is a simple […] command-line http server". I think it's sad that JS projects on GitHub trying to keep things simple (and leave advanced use cases to others) are constantly made more complex. But that's just MHO.

It still seems reasonable to me that a static assets server has advanced support for caching. Adding this has not impact on who's not gonna have a use for multiple caching values.
Also, what do you think is going to happen if this doesn't land? People are going to use ecstatic or connect and roll out their own server.

@kilianc

Second, http-server is just a layer on top of ecstatic, which seems to allow only one caching duration.

@derhuerst the issue on ecstatic is right here in this thread, with a merged PR to add support to custom caching.

Sorry, didn't see this.

It still seems reasonable to me that a static assets server has advanced support for caching. Adding this has not impact on who's not gonna have a use for multiple caching values.
Also, what do you think is going to happen if this doesn't land? People are going to use ecstatic or connect and roll out their own server.

I've been following the http-server's issues for quite a while and noticed a situation similar to many other FOSS projects: In the beginning, the software is small and simple. It has a narrow & shallow dependency graph. It does one thing and does it well. :grin:
After a while, more and more tiny features get added, which all support a completely valid and reasonable use case. The software gets bigger and bigger, harder to maintain, etc. In the end, the tool will end up like curl, rsync or httpie, which all do a dozen of things very well. One has to google for the correct usage or best patterns, another StackOverflow tag emerges because of the number of questions regarding the usage. :smile:
This is all not really a problem, for a lot of feature requests however, it just seems like http-server is – as it is described in the readme – not suitable for this kind of pluggable features.
To move on from general panicking, I see two specific features being requested quite often.
A web server with CLI-pluggable modules is needed. Something like express, ecstatic or koa, but configurable from the command line. Different features could be used more easily than setting up a JS file, just by passing flags. One would get the benefits of the CLI (aliasing, autocompletion, familiar syntax) "for free". Requested features that go in this direction: #35, #63, #83, #110, #139, #201, #67.
Second, a comfortable way to serve single page applications. This might become a possible duplicate of spa-server, spaserve and devserve. Issues regarding this: #69 and #95, #7, #80, #254.
Please keep in mind this is just my opinion and I'm not sure in what direction @indexzero wants to go with this project.

@derhuerst thanks for taking the time to write back.
I disagree. A A web server with CLI-pluggable modules is a bad idea. At that point I might require htt-server a library and handle the CLI myself. I still believe adding strong cache support is in the scope scope of a popular static assets server like this project. Let's hope this lands or I will end up rolling out another module yet for the wrong reasons.
Everything you said seems unrelated. Let's see what happens and leaver the politics out of it.

A "web server with CLI-pluggable modules" is a bad idea.

That is my personal opinion as well, just like I believe in small CLI projects (like what http-server has been like). But apparently (see the referenced issues) many people want a CLI HTTP server with a lot of features.

I still believe adding strong cache support is in the scope of a popular static assets server like this project.

I agree to this as it is phrased right now. But I also think that a detailed cache control should not be part of a small-scope module like this.

Everything you said seems unrelated.

It seems unrelated as it is a lot more general, because I tried to sum up what my impression of the feature requests of http-server is.

Created a pull request for this #404

So, I am inclined to agree with @derhuerst and say this is not really in scope of http-server since it feels like creeping. However, ecstatic does now accept a function to be passed, and as a wrapper around ecstatic, it entirely makes sense to pass this through as in #404.

After mulling this over for... oh my, a year and a half... I'm not so sure this should be added. I had agreed on passing the functionality through, but since that comment, ecstatic has been deprecated and we're set to to remove the dependency in #693, and we'll be removing excess functionality in #697.


Stays Open when other inputs are selected

The dialog stays open when other input fields in the form are selected. Is there a way to get an event when the dialog loses focus so I can close it?

Hi there,
I'm working on the auto-hide feature now that will fix this!

Hi there,
Just added a new version that fixes this!


README.md: add gitter link in chat section

Refs https://github.com/caskroom/homebrew-cask/pull/16409#issuecomment-169440872.

:+1:

Merged as 25cbb4c758a1596310959e6ebd03e654e364b186.


Add social media links to the website

We need to add links to our social media to the footer:

https://twitter.com/CovidActNow
https://www.facebook.com/covidactnow
https://www.instagram.com/covidactnow/

Something like this is sufficient (obviously swapping LinkedIn for Instagram):

We should add these links to the "contact" page as well under a Follow us on Social Media: header.

Crazy question, but should we (also) put them in that prominent "Want to stay apprised of COVID projections?" box?


[Question] How can we add a disk to harvester cluster in order to use it as data storage?

I need to add a disk to harvester to use it as data storage because I don't want to store data on the default disk /var/lib/harvester/defaultdisk. I am using a Nimble SAN connection from HPE and want to connect it to harvester, to use it as the primary datastore of all the nodes in that cluster. Is that possible? If yes how is it done?
Please provide a step by step description in case you have face such issue and was able to work it out.
I have personally connected a SAN to harvester then created an ext4 partition that I was able to view in the add disk view when editing.
If I go to longhorn and add a disk using it's path, it says that the disk is not ready and not schedulable

And if I choose the disk directly from harvester in the node config, nothing happens and it doesn't find the path

@Vicente-Cheng Please take a look, thanks.

Hi @KarlSK8,
Could you please describe in more detail about you mentioned above?

I have personally connected a SAN to harvester then created an ext4 partition that I was able to view in the add disk view when editing.

This means you add disks that are exported by your SAN storage to the harvester node?

If I go to longhorn and add a disk using its path, it says that the disk is not ready and not schedulable.

Could you try this document? To add multidisk to longhorn.
And Harvester could not use external storage as a non-system partition for virtual machines.
Reference: https://github.com/harvester/harvester/issues/2405

Hi @Vicente-Cheng,
Thank you for reply. The document you mentioned looks helpful. I have done a similar thing when trying to add a SAN storage.
I have added the disk to the management node, then created an alias path to it (multipath). But when I went to longhorn, and added the path it's saying that it is not schedulable. What is the reason behind this in your opinion?

My question is, if I create an mpath for the SAN storage how would I mount it to be used by harvester?

Hi @KarlSK8
I think the current answer is NO.
NDM does not support mpath device now.
You could try to use w/o multipath.

hi @crazyelectron-io,
I saw you open another issue (https://github.com/harvester/harvester/issues/2507) for it.
Looks like we could discuss the above issue instead here.

@Vicente-Cheng works for me... :-)
Since I also learned about the Harvester CSI driver, I figured it would be best for my setup to add the SSDs to the Harvester hosts and create Longhorn volumes to be used in the RKE2 Cluster nodes/pods through the Harvester CSI driver which is now installed by default. But since the documentation about using the driver is a bit 'dense' I could need some pointers.
Specific question I have: What are the requirements (if any) for the storage class and namespace used for the volumes created in Harvester to be 'picked' up by the Harvester CSI driver in the RKE2 cluster? Or is it just a matter of defining the PV/PVC parameters with whatever storage class or namespace used to create the volumes?


CPU Usage is 404% on FreeBSD

System Information
FreeBSD 10.3-RELEASE
Neofetch version
HEAD
Screenshot

Verbose log
https://p.iotek.org/ha5
I should come with a fix later.

News: ps aux reports 399.5% idle. I think the output should be divided by the number of cores.

See #259. (yes, it's a recursive see)

iostat doesn't come preinstalled on linux systems afaik. Is it preinstalled on BSD?

It is.
On 21 May 2016 02:36, Dylan Araps<EMAIL_ADDRESS>wrote:iostat doesn't come preinstalled on linux systems afaik. Is it preinstalled on BSD?
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or mute the thread.


Unit test embed::driver

embed::driver was removed with #96 and thus this issue is no longer relevant.


Support for Material design

hi @softsimon
Is there any material design support for this component.

@softsimon Any update on this?

@naveenballa No updates yet. Haven't tried material design.

Unable to implement in my project :(
https://stackoverflow.com/questions/42692044/how-to-use-angular-2-dropdown-multiselect

/index.js doesn't exist.
try
'angular-2-dropdown-multiselect': {
        main: 'src/multiselect-dropdown.js',
        defaultExtension: 'js'
  }

Or use angular-cli (webpack) ;-)

this is working now. bootstrap4 is required , right ?

Nope. Bootstrap 3 or 4.

How can I set the width? I have tried style property with width :100%. but this is not working :(

@ermarkar you need to set the style on the button, not the parent control, try adding a custom class to buttonClasses
to see this in action try my demo page, and add form-control to the buttonClasses list.
https://chris--jones.github.io/angular-2-dropdown-multiselect/
Note that I'm not recommending use of the form-control class it's just that it's built into bootstrap so already available, it's semantically wrong and will add an inset shadow - create your own class instead.

@naveedahmed1 One of the nice things about this control is that it has a "soft" dependency on bootstrap (you can technically run it without bootstrap css and just supply your own css if you need to).
You can already achieve a material-like design by omitting the bootstrap css and using custom css and javascript:

I think to allow use of other components for the container, trigger button, checkboxes and list-items would require extending the component to allow custom rendering functions for these components and probably some memoization to prevent expensive re-rendering.

Unofficially you can customise a lot with the CSS (see above), but as this is primarily a bootstrap component, I'm closing this as unsupported.
@softsimon I'd be interested in working with you on a more generic dropdown select (I think I recall you suggesting something like ngx-dropdown-multiselect) with more styling flexibility.


Set z-index to a really high number

In some pages like this, the consent pop-up appears below

Fixed in v1.1.0


Option to detect context menu coordinates

Hi, I wanted to check if there's a way to detect the context menu's cooridinate values for left and top based on the container it is placed in? Right now it seems to be calculating it only from the top layer window's values.

You can do this:
const menu = document.querySelector('.react-contextmenu')
menu.getBoundingClientRect()

You can also pass a custom class and use that instead


Script to change port of bitcoind

make sshtunnel script aware of that (external-port = internat-port)
make LCD port flexible on it and test that (red/yellow)
set on update

bitcoind is very bandwidth intense - not a hot candidate to tunnel. So either people make bitcoind public on own DSL or TOR or just keep it running behind NAT as passive service. Therefore not high priority. Removing from release planning.

Question came up again: https://github.com/rootzoll/raspiblitz/issues/966
Moving back into Future Release Issues.

Also make sure to show the custom port then within the infoscreen.


Error when using eval(parse(ans))

When I use eval(parse(ans)) in JuliaBox or Juno I get:
MethodError: no method matching parse(::Int64)
Closest candidates are:
  parse(!Matched::Type{LibGit2.GitCredential}, !Matched::AbstractString) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LibGit2/src/gitcredential.jl:73
  parse(!Matched::Type{LibGit2.GitCredentialHelper}, !Matched::AbstractString) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LibGit2/src/gitcredential.jl:163
  parse(!Matched::Type{Sockets.IPv4}, !Matched::AbstractString) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Sockets/src/IPAddr.jl:166
  ...

Stacktrace:
 [1] top-level scope at In[4]:1

OK, I found that eval(Meta.parse(ans)) works.

Glad you were able to resolve your issue!
On Sun, Jun 30, 2019 at 11:37 AM Sérgio Bacelar<EMAIL_ADDRESS>wrote:

OK, I found that eval(Meta.parse(ans)) works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaComputing/JuliaBoxTutorials/issues/50?email_source=notifications&email_token=ACRRSZ6IDF2WV3QC4UMPB33P5D4QPA5CNFSM4H4NEJPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4RLCQ#issuecomment-507057546,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACRRSZ2AF54U6AQI4WZTGA3P5D4QPANCNFSM4H4NEJPA
.


[TACHYON-1629] Add the Chinese version of documentation page 'Building-Tachyon-Master-Branch'

https://tachyon.atlassian.net/browse/TACHYON-1629
Add the Chinese version of documentation page 'Building-Tachyon-Master-Branch'

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/8286/
Test PASSed.

The Building-Tachyon-Master-Branch page of Chinese version

LGTM. Thanks for the translation!


Problem with docker compose

Have you checked that your issue isn't already filed?

[X] I read through FAQ and searched through the past issues, none of which addressed my issue.
[X] Yes, I have checked that this issue isn't already filed.

Bug description
I'm facing problems with the docker setup, when I initialize the container it says: Could not find a JavaScript runtime. I'm not sure if have nodejs on the system but if is a docker container all should be wrapped on it right?
How to reproduce the bug

Download repository and enter to the repo's folder
docker compose pull
docker compose up

Error messages and logs
[+] Running 1/0
 ✔ Container al-folio-jekyll-1  Created                                                                                0.0s
Attaching to jekyll-1
jekyll-1  | Resolving dependencies...
jekyll-1  | /usr/local/bundle/gems/execjs-2.9.1/lib/execjs/runtimes.rb:68:in `autodetect': Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
jekyll-1  | 	from /usr/local/bundle/gems/execjs-2.9.1/lib/execjs.rb:5:in `<module:ExecJS>'
jekyll-1  | 	from /usr/local/bundle/gems/execjs-2.9.1/lib/execjs.rb:4:in `<top (required)>'
jekyll-1  | 	from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
jekyll-1  | 	from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
jekyll-1  | 	from /usr/local/bundle/gems/uglifier-4.2.0/lib/uglifier.rb:5:in `<top (required)>'
jekyll-1  | 	from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
jekyll-1  | 	from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
jekyll-1  | 	from /usr/local/bundle/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:1:in `<top (required)>'
jekyll-1  | 	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
jekyll-1  | 	from <internal:/usr/local/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
jekyll-1  | 	from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
jekyll-1  | 	from /usr/local/bundle/gems/bundler-2.5.14/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
jekyll-1  | 	from /usr/local/bundle/gems/bundler-2.5.14/lib/bundler/runtime.rb:55:in `each'
jekyll-1  | 	from /usr/local/bundle/gems/bundler-2.5.14/lib/bundler/runtime.rb:55:in `block in require'
jekyll-1  | 	from /usr/local/bundle/gems/bundler-2.5.14/lib/bundler/runtime.rb:44:in `each'
jekyll-1  | 	from /usr/local/bundle/gems/bundler-2.5.14/lib/bundler/runtime.rb:44:in `require'
jekyll-1  | 	from /usr/local/bundle/gems/bundler-2.5.14/lib/bundler.rb:212:in `require'
jekyll-1  | 	from /usr/local/bundle/gems/jekyll-4.3.3/lib/jekyll/plugin_manager.rb:53:in `require_from_bundler'
jekyll-1  | 	from /usr/local/bundle/gems/jekyll-4.3.3/exe/jekyll:11:in `<top (required)>'
jekyll-1  | 	from /usr/local/bundle/bin/jekyll:25:in `load'
jekyll-1  | 	from /usr/local/bundle/bin/jekyll:25:in `<main>'

What operating system are you using?
Linux
Where are you seeing the problem on?
Running locally with Docker (docker compose)
More info
I'm running Manjaro/Arch linux

So THAT's what mini_racer was for. I removed it in #2791, will try to find a fix for this.

I might need your help for this @pourmand1376. I tried to change mini_racer for nodejs, since it is one of the options suggested in the error link https://github.com/rails/execjs (and also we use some tools installed via npm like prettier).
I created this Dockerfile:
FROM ruby:latest
ENV DEBIAN_FRONTEND noninteractive

Label MAINTAINER Amir Pourmand

RUN apt-get update -y && \
    apt-get install -y --no-install-recommends \
        build-essential \
        curl \
        imagemagick \
        inotify-tools \
        locales \
        procps \
        python3-pip \
        zlib1g-dev && \
    pip --no-cache-dir install --upgrade --break-system-packages nbconvert

RUN apt-get clean && \
    apt-get autoremove && \
    rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*  /tmp/*

ENV NODE_VERSION=23.0.0 \
    NVM_DIR=/root/.nvm \
    NVM_VERSION=0.40.1

# Install node version manager (nvm)
RUN curl -o- "https://raw.githubusercontent.com/nvm-sh/nvm/v${NVM_VERSION}/install.sh" | bash && \
    . "$NVM_DIR/nvm.sh" && nvm install ${NODE_VERSION} && \
    . "$NVM_DIR/nvm.sh" && nvm use v${NODE_VERSION} && \
    . "$NVM_DIR/nvm.sh" && nvm alias default v${NODE_VERSION}

ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"

# check if installation was successful
RUN node --version && npm --version

RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
    locale-gen

ENV LANG=en_US.UTF-8 \
    LANGUAGE=en_US:en \
    LC_ALL=en_US.UTF-8 \
    JEKYLL_ENV=production

RUN mkdir /srv/jekyll

ADD Gemfile.lock /srv/jekyll
ADD Gemfile /srv/jekyll

WORKDIR /srv/jekyll

# install jekyll and dependencies
RUN gem install --no-document jekyll bundler
RUN bundle install --no-cache

EXPOSE 8080

COPY bin/entry_point.sh /tmp/entry_point.sh

CMD ["/tmp/entry_point.sh"]

Then I run docker compose build successfully, but docker compose up fails with:
bundler: failed to load command: jekyll (/usr/local/bundle/bin/jekyll)
/usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/cache.rb:181:in `initialize': Permission denied @ rb_sysopen - /srv/jekyll/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 (Errno::EACCES)

Full stack trace
Gemfile.lock is tracked by git, keeping it intact
/usr/local/bundle/gems/jekyll-scholar-7.1.3/lib/jekyll/scholar.rb:7: warning: observer was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add observer to your Gemfile or gemspec to silence this warning.
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:75: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
  Logging at level: debug
    Jekyll Version: 4.3.4
Configuration file: /srv/jekyll/_config.yml
  Logging at level: debug
    Jekyll Version: 4.3.4
bundler: failed to load command: jekyll (/usr/local/bundle/bin/jekyll)
/usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/cache.rb:181:in `initialize': Permission denied @ rb_sysopen - /srv/jekyll/.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 (Errno::EACCES)
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/cache.rb:181:in `open'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/cache.rb:181:in `dump'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/cache.rb:97:in `[]='
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/cache.rb:41:in `clear_if_config_changed'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/site.rb:118:in `reset'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/site.rb:35:in `initialize'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:30:in `new'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:30:in `process'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in `each'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
    from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
    from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
    from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
    from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
    from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
    from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
    from /usr/local/bundle/gems/jekyll-4.3.4/exe/jekyll:15:in `<top (required)>'
    from /usr/local/bundle/bin/jekyll:25:in `load'
    from /usr/local/bundle/bin/jekyll:25:in `<top (required)>'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/cli/exec.rb:58:in `load'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/cli/exec.rb:58:in `kernel_load'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/cli/exec.rb:23:in `run'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/cli.rb:455:in `exec'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/cli.rb:35:in `dispatch'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/cli.rb:29:in `start'
    from /usr/local/bundle/gems/bundler-2.5.18/exe/bundle:28:in `block in <top (required)>'
    from /usr/local/bundle/gems/bundler-2.5.18/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
    from /usr/local/bundle/gems/bundler-2.5.18/exe/bundle:20:in `<top (required)>'
    from /usr/local/bundle/bin/bundle:25:in `load'
    from /usr/local/bundle/bin/bundle:25:in `<main>'

Have you struggled with this?

any updates? same error

Same error here :(

We are working on this.

Great. I found that changing the docker image to v0.12.0 makes it work again. If you don't need the latest features to test locally this does the trick.

Unfortunately, I have no idea here. But I can work on it soon.

Hi @george-gca @pourmand1376 I've fixed this issue. there were some commands missing in the dockerfile.

Could I send in the PR, for you to check ?

@0xAdriaTorralba I also tried changing the version image version with no luck, I don't know if there is some related to the host platform.
@kartikey2001 at first sight seems to be a quick fix to install nodejs through apt-get but the fix maybe should bee between line 6 - 12 of the Dockerfile, how you tested it? did you build your own docker image?

Hi @george-gca @pourmand1376 I've fixed this issue. there were some commands missing in the dockerfile.
Could I send in the PR, for you to check ?

Definitely. Please Make a PR.

@0xAdriaTorralba I also tried changing the version image version with no luck, I don't know if there is some related to the host platform.

😕 I only changed the target on the docker compose and it worked. I have an M1 Max MBP in case it helps. But it seems that it will be fixed soon :)

😕 I only changed the target on the docker compose and it worked. I have an M1 Max MBP in case it helps. But it seems that it will be fixed soon :)

What do you mean @0xAdriaTorralba?
@pourmand1376 I tried the new Dockerfile and still get the same error. Idk if it is a linux issue:
docker compose pull
docker compose build
docker compose up

/usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/site.rb:509:in `initialize': Permission denied @ rb_sysopen - /srv/jekyll/.jekyll-cache/.gitignore (Errno::EACCES)

Just found out how to solve this, and commited this to our repo. Basically I had to create a user inside the Docker image that has the same id and group id as my user in the system, so it has the right permissions to write to the directory.

Hi, I got an error saying that there is missing a manifest. Here is the docker compose pull's output
[+] Pulling 1/1
 ! jekyll Warning manifest for amirpourmand/al-folio:v0.12.1 not found: manifest unknown: manifest unknown                     1.5s
WARNING: Some service image(s) must be built from source by running:
    docker compose build jekyll
1 error occurred:
	* Error response from daemon: manifest for amirpourmand/al-folio:v0.12.1 not found: manifest unknown: manifest unknown

Apparently you miss to pull the tag for v0.12.1

@pourmand1376 can we force push the v0.12.1 tag to docker hub?

For now, I've changed it to latest.
But no. We cannot force push it.

Actually I just realized that WE CAN make a release (at least seems so). Would you make the honors?

Thanks. I just released a new version.
I will also revert the tag on docker-compose to be v0.12.1.

I believe this is now fixed in the latest release.

I just did git pull , followed of  docker compose pull and docker compose up and it is working, thanks for the quick fix.


Rendering 3D meshes

Hi, I'm trying to render AVA-256 3D mesh, but I wasn't sure what the steps to do that would be.
Can you provide some information about this? I have the obj file and the camera parameters (intrinsics, extrinsics).
Thank you,
Emily

Actually, I realized this is a rendering package, I figured I can use other libraries to load the meshes.

Download
https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file
password: changeme
In the installer menu, select "gcc."


Destroyed Entity will be passed to Reactive Systems

Entities that are marked as _isEnabled = false should not be passed into an IReactiveSystem anymore.
You should be able to reproduce this behaviour with the following steps:

Create 'Systems' with the 2 following systems:
CreateEntitySystem : IInitializeSystem
ListenToAnyComponentSystem : IReactiveSystem
In CreateEntitySystem.Initialize(): Add a AnyComponent to that Entity
In CreateEntitySystem.Initialize(): Destroy that entity immediately
In 'ListenToAnyComponentSystem' listen to Matcher.AnyComponent.OnEntityAdded()
Notice that the destroyed Entity is still passed in
Any call to entity.AddComponent(...) will lead to: new EntityIsNotEnabledException("Cannot add component!")

Expected behaviour: Destroyed entities shouldn't be passed into IReactiveSystems anymore

Hi, this behaviour is expected for ReactiveSystems. ReactiveSystems are triggered by events like OnEntityAdded, OnEntityRemoved etc. and don't guarantee that that component that triggered the system is still present nor that the entity is not destroyed by the time it executes.
Generally, destroying entities in the middle of the systems chain is a bad idea. Destroying entities should be the last thing you do per frame, so every system has the chance to process these entities.


Backport #18714 to v1.20.0x

Backports https://github.com/grpc/grpc/pull/18714 to fix the interop build in the release branch.
The original error:
https://source.cloud.google.com/results/invocations/8b5a80d4-62b4-4c72-a13e-0f56cc02a702/targets/github%2Fgrpc%2Finterop_docker_build/tests

Known failures:
https://github.com/grpc/grpc/issues/18637
https://github.com/grpc/grpc/issues/18843


add ability to pick license on data shared from formhub

When a person shares their data set (makes it public) allow them to assign a license to it.  Give them a few options to pick from.

replicated, see https://github.com/modilabs/formhub/issues/81


Image

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

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

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

Hi @arjn-26 this does not look like a change we can accept. If there is a contribution you would like to make (thanks!), then please see our contributing guide for how to do so. https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md


how can i use inline style instead of classes?

hello,bro
i am confused long time , why quil or your package dont use inline style?when i use classes,i have to import quil css to make the rich text have style.

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.


Fixes issue #155 Wrong filenames in template dependencies

Fixes Wrong filenames in template  dependencies.
name is a string containing the filename (including the path).
I don't know if the path is supposed to be included. It looks to me like the original intent was to write:
Name: path.Join(parts[1:]...)

Example
For a file demo/values.yaml, before the chart.Name would be emo/values.yaml
Using name, it will be demo/values.yaml.
Using path.Join(parts[1:]...) it will be values.yaml.

Thanks @vedrankolka


Detect binary data and avoid emits it

Local test pass with a simple:
LD_PRELOAD=lib/linux/x86_64/libscope.so cat png file
and
/bin/linux/scope run -- cat png file
~Fail with curl command~
isprint - accepts besides digits, letters, space characters and punctuation characters which could be presented in the beginning of the e.g. HTML files
isspace - accepts characters like '\n' or '\r'

Operation is done on ctlFlushLog on report side layer
Verify beginning of the data to lookout for characters
different from printable or white-space
Ref:
https://www.cplusplus.com/reference/cctype/isprint/
https://www.cplusplus.com/reference/cctype/isspace/

Things I'm looking for as I evaluate this:

does it work in the most obvious of cases...  To see event output, I started ./tcpserver 9109, then I happened to pick this command LD_PRELOAD=lib/linux/x86_64/libscope.so cat lib/linux/x86_64/libscope.so to run in another terminal.  I ran this once before the change here, and once after.  Before the change, tcpserver received a huge amount of useless console events.  Afterwards, I can see just one output console message, with the "Binary data detected---truncated" message.  The output matches my expectation.

We have another similar output message that data is being lost if we exceed a threshold of data... (see rateLimitMessage() in src/evtformat.c).  Is the message formatting reasonably consistent between the two?  The two messages side by side:

{"type":"evt","id":"ip-10-8-107-159-cat-cat lib/linux/x86_64/libscope.so","_channel":"96367404992619","body":{"sourcetype":"fs","_time":1630617572.918896,"source":"notice","host":"ip-10-8-107-159","proc":"cat","cmd":"cat lib/linux/x86_64/libscope.so","pid":25268,"data":"Truncated metrics. Your rate exceeded 1 metrics per second"}}
{"type":"evt","body":{"sourcetype":"console","_time":1630617570.94114,"source":"stdout","host":"ip-10-8-107-159","proc":"cat","cmd":"cat lib/linux/x86_64/libscope.so","pid":25268,"data":{"message":"Binary data detected---truncated\u0000"}}}

BTW, I did this by running LD_PRELOAD=lib/linux/x86_64/libscope.so SCOPE_EVENT_MAXEPS=1 cat lib/linux/x86_64/libscope.so. I'd recommend we try to make these a little more consistent.  Lets:
A) remove the null from end of the "Binary data detected--- message".
B) it's nothing you did, but we should probably add the object and "message": to the data field inside the rateLimitMessage().  I think this is typical for our output (?).
C) I'm not too concerned about _channel, but it might make sense to add "id" for the process to the "Binary data" message if it's easy.

Just glancing at the code, does it seem consistent?  My only comment here is that we generally use lowerCamelCase instead of UpperCamelCase for things like these two functions in test/ctltest.c:
CtlSendLogConsoleAsciiData
CtlSendLogConsoleNoneAsciiData

Digging into the implementation, is there anything I might have done differently?
A) I might have tried to minimize the number of times is_data_binary() is called for a given file.  Consider something like this pseudocode:

    log_event_t *logevent = NULL;
    if (logType == CFG_SRC_CONSOLE) {
        binary_state_t binary_state = getFSBinaryDataState(fd);
        if (binary_state == BINARY) {
            // Handle only first event of binary data, drop and ignore rest
            return -1;
        }
        if (binary_state == UNKNOWN) {
            setFSBinaryDataState(fd, is_data_binary(buf, count));
            if (getFSBinaryDataState(fd) == BINARY) {
                logevent = createInternalLogEvent(fd, path, BINARY_DATA_MSG, sizeof(BINARY_DATA_MSG)-1, uid, proc, logType, filter);
            }
        }
    }

    // This will be true for CFG_SRC_FILE, or if CFG_SRC_CONSOLE is TEXT.
    if (!logevent) {
        logevent = createInternalLogEvent(fd, path, buf, count, uid, proc, logType, filter);
    }

rateLimitMessage

Ok

I updated message: "Binary data detected--- message" instead of "Binary data detected---truncated" and remove NULL from the end of message
I need some little more time to investigate B) and C)

Done - changed
Good point with limitation of binary check -  Done see if the current implementation is what you expect
I think it is related with https://github.com/orgs/criblio/packages?page=2&repo_name=appscope to store test container images @pdugas ?

The TAG stuff in the image names gets replaced with $(uname -m) by the Makefile. That's by design.

I'm happy with 1 though 3 and 5.  (re 2B, 2C, I don't feel like these need an answer now.  My reasoning is that the new “binary data detected” message acts exactly the same as the other console messages w.r.t. ID and channel.  And we don't know of any problems with this behavior at this moment.)
@michalbiesek had a follow-on discussion about 4).  We're planning to change the algorithm so that it will only check the first write to console to decide if it looks like binary output rather than continuing to audit all writes to console.  We liked the idea of minimizing the performance impact (not scanning every write).

Oops.  I accidentally merged this PR too soon.  I see no reason to back anything out, but due to my itchy trigger finger, the change to 4) will have to be done in another PR...


[Bug]: Rename docker-compose to docker compose in the entire project

Current Behavior
No response
Expected Behavior
https://docs.docker.com/compose/reference/
How to reproduce the issue
No response

Do you mean in the docs? Inside Taskfile, the new version is already used.

https://github.com/una-auxme/paf/blob/36f1c5face2f7c0ba2356695ea93ece574d96ffc/doc/development/drive_action.md?plain=1#L38C11-L39C28


select from SubQuery support please!

Currently I need to build a subquery statement which mysql. I want to build a sql like this
select * from (
    select a.id, group_concat(b.id) as b_ids
    from a left join b on a.id = b.aid
    where SOME_STATEMENTS group by a.id
) c where find_in_set(sone_b_id1, c.b_ids) !=0 and find_in_set(sone_b_id2 c.b_ids) != 0

And currently subQuery only supported in where clauses

This is on my list of future enhancements - stay tuned!


Static blocks in classes are skipped

https://www.typescriptlang.org/docs/handbook/2/classes.html#static-blocks-in-classes
Static blocks are skipped when the code is transpiled to Lua.
Ex.
class A {
    static {
        console.log("Hello world")
    }
}

The code doesn't output anything in TSTL while it prints "Hello world" in TS.
TSTL playground: https://typescripttolua.github.io/play/#code/MYGwhgzhAECC0G8BQ1XQgFzBglsRKaRwA9gHYQkgCmAdCCQOYAUARABLUgPQDuJAJxAATVgEpCqAL5IZQA
TS playground: https://www.typescriptlang.org/play?ssl=6&ssc=1&pln=1&pc=1#code/MYGwhgzhAECC0G8BQ1XQgFzBglsRKaRwA9gHYQkgCmAdCCQOYAUARABLUgPQDuJAJxAATVgEpCqAL5IZQA

References:

https://tc39.es/ecma262/multipage/ecmascript-language-functions-and-classes.html#sec-runtime-semantics-evaluateclassstaticblockbody
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Static_initialization_blocks


Backlog Cleanup

Describe the issue
A clear and concise description of what you want to happen.
Which Sprint Priority is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonomously with 'Sprint'.

The 'Milestone' overview/description (created in ZenHub) should clearly list Sprint Priorities/Goals. This section should indicate which of the priorities/goals this issue is related to.
Additional context

This work will require the PO and it's possible that there may not be enough time to do it this sprint.

Definition of done

Clean up old tickets in the PB
Clean epics and change labels

clean up for this sprint done. End of sprint meeting scheduled with PO.


Add time complexity to javascript-bubble_sort.js (Rename to javascript-bubble_sort-O(n^2).js)

[x] I have read the
Contributing Guidelines and naming conventions in the guidelines accordingly.
[x] I have checked that same implementation or the same code does not exist
[x] I have referenced the issue (#issue_number) if the issue for the code exists

I think #35 should be closed, because the js bubblesort implementation was already merged in #399. However, I have added the time complexity to the file name in accordance with the project's convention.

Thanks! 👍


i need help making a passcode

Describe your problem here.
i want to make a passcode song for my friday night funkin mod and i need help 0.4.2 psych engine
Are you modding a build from source or with Lua?
Source and lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
i edited playstate and funkinlua and creditstate

Summarize your changes to the following files.

what do you mean?

playstate and funkinlua

What did you change in the playstate and funkinlua files.

i added around 11 backgrounds and 3 cutscenes and i added the ability to use script.lua in funkinLua so i can make the scripts for song to work -psych engine 0.4.2-

and i edited creditstate.hx and added 5 credits to people that worked on that mod

If you need password code, you can reuse Psych Engine's easter egg code in title.hx; an easter egg that switches title GF out with Psyka when you type "bb" in the title screen.

where is that

titleState.hx. You can find the code by opening it and ctrl-f (finding) it.

i meant a passcode song is that what your talking about because im confused

When you type "bb" in the title screen, the game does something. The game checks if you typed Flxkey B, and Flxkey B, in that order. Instead of it being bb, and instead of it unlocking an easter egg, you can make it check for your password, and load up your song instead.

When you type "bb" in the title screen, the game does something. The game checks if you typed Flxkey B, and Flxkey B, in that order. Instead of it being bb, and instead of it unlocking an easter egg, you can make it check for your password, and load up your song instead.

i dont understand how to do it i got it when you press 6969 it changes to the easter egg but how do i do the song stuff?


<EMAIL_ADDRESS>js error with deno 2.0.1+

jsr<EMAIL_ADDRESS>deno 2.0.1

TypeError: Cannot read properties of undefined (reading '__H')
if built with deno 2.0.0, everything is ok

same after updating both preact and @preact/signals
    "preact"<EMAIL_ADDRESS>    "@preact/signals": "npm<EMAIL_ADDRESS>

I'm having this issue as well. I think this only occur using Partial, when navigating a page from old build to new build.
Steps to reproduce:

Run build and preview task
View a page (with partial nav)
Re-run build and preview task
While still on the same page, navigate to another page

This happen every time when I deploy new update. My users are complaining that the website hang and couldn't click anything.
I currently suppress this error with componentDidCatch and display blank page. This way user can still trigger clicks and page navigation.

it seems coming from the diff of chunks, see https://github.com/denoland/deno/issues/26616#issuecomment-2451272178


Working on the main python file .

I am in the interest of using regression analysis for this project . Any help on how to do so would be grateful .

hey , i wanted to add the following things in the file :

Data Preprocessing: Ensure that the data is clean and properly preprocessed. This includes handling missing values, encoding categorical variables, and scaling numerical features.
Feature Engineering: Create new features that might help improve the model's performance.
Model Selection: Use cross-validation to select the best model and hyperparameters.Performance
Metrics: Add more performance metrics to get a better understanding of the model's performance.
Code Efficiency: Optimize the code for better readability and efficiency.

okay the additions sounds good , please let me know if any problem arises


Tests do not run with VS2017 RC

Hi,
Thanks for building this great tool.
It does not work, however, in my VS2017 Preview (latest version 15.0.26014.0)
My test project looks like the following:
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp1.0</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="**\*.cs" />
    <EmbeddedResource Include="**\*.resx" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="dotnet-test-nunit" Version="3.4.0-beta-3" />
    <PackageReference Include="Microsoft.NETCore.App" Version="1.0.1" />
    <PackageReference Include="Microsoft.TestPlatform.TestHost" Version="15.0.0-preview-20170106-08" />
    <PackageReference Include="NUnit" Version="3.6.0" />
  </ItemGroup>
</Project>

I have a single test in the project:
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;

namespace ConsoleApp1
{
    class Test
    {
        [Test]
        public void test() {
            Assert.AreEqual(5, 4);
        }

        public static void Main(String[] args) {

        }
    }
}

And I try to run the tests with dotnet test .\ConsoleApp1\ConsoleApp1.csproj
The output I get:
Build started, please wait...
C:\Program Files\dotnet\sdk\1.0.0-preview4-004233\Microsoft.Common.CurrentVersion.targets(1909,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [C:\users\alexey\documents\visual studio 2017\Projects\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj]
Build completed.

Test run for C:\users\alexey\documents\visual studio 2017\Projects\ConsoleApp1\ConsoleApp1\bin\Debug\netcoreapp1.0\ConsoleApp1.dll(.NETCoreApp,Version=v1.0)
Microsoft (R) Test Execution Command Line Tool Version <IP_ADDRESS>
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...

The tests do not run at all.
I notice this message about unresolved conflicts, and with some arbitrary dependency manipulations I once was able to get rid of that warning, but that didn't help to run the tests anyway.
Am I doing something wrong or is it a bug?

@Snipx  You aren't doing anything wrong. With the change to CSPROJ/MSBUILD, support for the various dotnet-test-* style runners has been dropped. We need to update the old VS Adapter to support .NET Core, but have not finished that work yet.
For now, I would suggest creating an NUnitLite style runner for your tests. Sorry.

@rprouse Thanks a lot, I'll try with NUnitLite.
Do you have any plans to support running .NET Core/.NET Standard tests with Console Runner? Or maybe it is already supported?
Right now the problem I faced was that the a .NET Standard library output folder does not contain NuGet library dependencies when built. I needed to copy all the dependencies but I couldn't manage to finish the process of resolving all the dependencies.
I went on to create an issue in dotnet community scope, but the advised me to try with dotnet test. It turns out currently dotnet test is not available with NUnit, but are there any other ways to run tests apart from NUnitLite?
Sorry if it's not the right place to ask this question.

dotnet test is supported with NUnit, just not with the new CSPROJ based .NET Core tests (VS2017), only with the XPROJ/project.json based projects (VS2015). With those tests, NUnitLite is the only solution right now, but we are trying to get .NET Core tests running in the console and the adapter soon.

Thanks for the quick and clear answers! I am closing the issue as the problems are known to you and you are working on it.
Good luck with the development and thanks again.

Hi @rprouse
Any updates on this please ?
Thanks.


Copy generated link to user's clipboard automatically

Fixes #527
New Behavior
Description
If the short link creation is successful, the generated link is copied to user's clipboard automatically and shows a toast to notify the behavior.
Screenshots

This PR is split into #597 , #598 and #603 .


mime: ParseMediaType rejects valid boundaries

contentType := "multipart/alternative; boundary=(boundary)"
_, _, err := mime.ParseMediaType(contentType)

// err = mime: invalid media parameter

https://play.golang.org/p/tC-Ri26iiTo
Looking at RFC 2046, parentheses are valid boundary characters:
boundary := 0*69<bchars> bcharsnospace
bchars := bcharsnospace / " "
bcharsnospace := DIGIT / ALPHA / "'" / "(" / ")" /
                 "+" / "_" / "," / "-" / "." /
                 "/" / ":" / "=" / "?"

https://tools.ietf.org/html/rfc2046#section-5.1.1:
Indeed, the SetBoundary function in the multipart package checks the boundary is valid, and explicitly lets '(' and ')' pass through.
If someone else double-checks my work and confirms this is a bug, I'm happy to fix it.

RFC 2045 mentions:
token := 1*<any (US-ASCII) CHAR except SPACE, CTLs,
                 or tspecials>

     tspecials :=  "(" / ")" / "<" / ">" / "@" /
                   "," / ";" / ":" / "\" / <">
                   "/" / "[" / "]" / "?" / "="
                   ; Must be in quoted-string,
                   ; to use within parameter values

according to RFC2045 special characters are only allowed within quoted-strings.

Thanks @FMNSSun. Closing as not-a-bug.

Although it looks like there's not always quotes added in the multipart package:
// FormDataContentType returns the Content-Type for an HTTP
// multipart/form-data with this Writer's Boundary.
func (w *Writer) FormDataContentType() string {
	return "multipart/form-data; boundary=" + w.boundary
}

So it might be that FormDataContentType returns invalid parameters according to RFC 2045? Might be worth re-opening (maybe another issue) and someone else have a look at this because I'm just a random person on the internet.


Create scalapb-validate plugin

Resolves #304
Make test command doesn't result in a gen file and the test fails. I believe something is going wrong internally but I'm not sure how to introspect.
Running this built container in the alpha release results in messages like:
Failure: internal error, contact support, reference code: e311f1

At this time, we're going to wait to see if sufficient demand comes up for these plugins to take on the long term maintenance. We've checked stats for previously published plugins on the BSR and found no usage of this plugin.
Thank you for the contribution and we'll surely reopen (and credit your contribution) if we open this in the future.

This is a common extension for generating code for the validation plugin, most projects I interact with use this plugin as it converts the types to those described by the plugin.
Additionally this represents a case in which buf plugins hard fail and error out with a opaque error code. Use may be a function of this as I've yet to get this plugin to work in the buf ecosystem (plugin or otherwise)

Here's the error we get from the plugin execution - I'll update the tests to make it more visible so we can more easily catch this sort of thing in the future:
tests/testdata/buf.build/community/scalapb-validate/v0.3.3/eliza$ buf generate ../../../../../images/eliza.bin.gz
Failure: plugin scalapb-validate: com/buf/connect/demo/eliza/v1/eliza/SayRequest.scala: does not exist

It's been a while since I've tried it, but I believe I did run them together locally. I'm currently on vacation, but I have an old message that occurred when I published and attempted to use the plugin. Debug didn't give back anything interesting either.
 Failure: internal error, contact support, reference code: 090da3


Updating Archetype.Entities to Archetype.EntityCount

Minor change: in the current Arch source code, the Archetype parameter Entities has been renamed to EntityCount, which causes this addon to fail to build. Commit can be found here.
Note: this change is not yet in a release for Arch (though it does seem to me like a sensible change that is likely to remain). Feel free to delay approval until it is in a release if you'd prefer.

Looks good, thanks for the fix! I do think it would be best to delay it until Arch makes this change official, just so that anyone using the current release won't run into the opposite problem.


it is recommended that the project team can integrate the components appropriately,

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've discussed this feature request in the OpenIMSDK Slack and got positive feedback

Is this feature request related to a problem?
None
Problem Description
When replicas are greater than 1, the following service pattern seems to be more appropriate, and it is recommended that the project team can integrate the components appropriately, and we are willing to cooperate with the testing:
openimserver-openim-0   11/11   running
openimserver-openim-1   11/11   running
Solution Description
and it is recommended that the project team can integrate the components appropriately。
openimserver-openim-0   11/11   running
openimserver-openim-1   11/11   running
openimserver-openim-2   11/11   running
openimserver-openim-3   11/11   running
openimserver-openim-4   11/11   running
Benefits
running component is clearer, and the O&M monitoring does not feel chaotic when there are multiple PODs
Potential Drawbacks
No response
Additional Information
No response

I understand your suggestion and will continue to optimize this part. Thank you for bringing this issue to my attention.

Undergoing comprehensive testing, awaiting updates


Skipped nodes do not have an appropriate image in node details

It looks like the phase is Omitted and the type is Skipped. The web-ui uses the phase. But maybe it should be using the type - looking into the the difference.

No, looks like phase is correct.
Here are all of the phases.
// Workflow and node statuses
const (
	// Node is waiting to run
	NodePending NodePhase = "Pending"
	// Node is running
	NodeRunning NodePhase = "Running"
	// Node finished with no errors
	NodeSucceeded NodePhase = "Succeeded"
	// Node was skipped
	NodeSkipped NodePhase = "Skipped"
	// Node or child of node exited with non-0 code
	NodeFailed NodePhase = "Failed"
	// Node had an error other than a non 0 exit code
	NodeError NodePhase = "Error"
	// Node was omitted because its `depends` condition was not met (only relevant in DAGs)
	NodeOmitted NodePhase = "Omitted"
)


PyConText sentence splitter alters text.

The current approach for recording the document span of an annotation is to split the document into sentences, process each sentence with pyConText and then search for each sentence in the document to find its document span. The problem is that the pyConText sentence splitter removes certain whitespaces in the text, meaning that the altered text will no longer register as a match with any portion of the original note.

Possible Solutions:

If the sentence splitter maintains the order of the sentences as they appear in the document (it looks like it does) it should be possible to scan the sentences and add in the missing whitespace as the sentences are processed.
Use a span method where modifiers affect only a certain range of text around them. This would remove the need to split the document into sentences in the first place, but would require some serious modifications to pyConText.
Write a new sentence splitter that does not alter the text. (The way to do this is not readily apparent.)

Solution 1 was implemented and is working well.


Admin - Review deploy scripts for Laravel commands

Description
php artisan migrate, php artisan cache:clear etc.
Also potentially merging the two deploy scripts.
Required for Completion
Add/remove others as necessary for this specific task.

[x] Run Lighthouse (Chrome Dev Tools)
[x] Create pull request to dev
[ ] Address issues found during peer review
[ ] Have someone else accept pull request into dev

@gggrant should this be associated with a specific pull request?

@gggrant should this be associated with a specific pull request?

#654


Fix git push error for protected CLA branch

The pull request is created from master636922418100650602 to master to fix git push error for protected CLA branch

@gewarren : Thanks for your contribution! The author, @evanwindom, has been notified to review your proposed change.


Display lack of transaction history when user performs xcm transfer

Description the bug
Display lack of transaction history when user performs xcm transfer in case of Sender Account is not current account
To reproduce the bug
Steps:

Open the extension
Stand on Account A
Go to xcm transfer screen
Select Origin Account same as Destination Account = Account B
Input valid data for the remain fields
Click on Transfer
Enter correct password
Click on Confirm button
Switch to Account B
Go to Transfer tab then observe transaction history

Actual: Display lack of send transaction history, show only receive transaction history
https://user-images.githubusercontent.com/102292476/186608611-63407377-74cb-460f-b174-406de500447f.mp4
Version test: v0.5.6
Expected: Showing both send & receive transaction history

Resolve in issue https://github.com/Koniverse/SubWallet-Extension/issues/552
Validation passed!


⚠ SceneTime has degraded performance

In 6b34907, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1977 ms

Resolved: SceneTime performance has improved in 6bbe6ac after 6 minutes.


Use inline form vs block form in some of the sl-panel test cases

In the test cases where we are not provided any content to the block usage of the component i.e {{#sl-panel}} {{/sl-panel}} replace it with the inline form, {{sl-panel}}.

Please assign to me.


change script's linefeeds from CRLF to LF.

I tried 3.3.9-nocdn image but it doesn't start up.
It looks like that was caused by this docker-entrypoint.sh containing CRLF linefeeds.

@smallfield Thank you for your posting. I have merged it now.
Wait the next release.

@yuki-takei Latest built image worked! Thanks.


Connect to API

Summary

Installed & used react-thunks.
Fetch and post Books to the API.
The functionality of the application is the same after refactoring.

@andersonlebon Thank you for your review :smile: .

Note: All optional & required changes have been implemented.