Find a better name for this lib

We're getting a lot of negative feedback with the name of this lib (long, hard to remember, hard to type, typo prone, etc.)
Could you guys come with a better, simpler, shorter name?

Ideas:

reform, reforms
refield
formidable

rjsf
schemaform

react-forms

jsform

refill
refuel
formwesome
reschema

Or maybe just drop -form and call it "react-jsonschema"?

conformed, conformism, conformist
formalized, formalism, formalist, formalistic
formally
filiform
formable
reformat, reformate
formatters
formidably
formlessly
formulary
formulation
formworks
informal
informed
informs
omniform
reformable, reformed, reformist, reformism
transforms
uniformed
uniforms

react-json-form or react-jsonform

As an outsiders note: I probably found this lib only because it matched my search "react json schema forms".

@apkoponen tbh that was exactly my initial intent ;)
So... Maybe the name is actually okay after all. Serious and boring, but okay.

Maybe react-json-schema-form is better (the additional dash might help).

The name of this project is good IMO. It made it super easy for me to find it.

The name of this project is good IMO. It made it super easy for me to find it.

I agree. People find and know about us. Closing this.


Custome function to get monitor path from request

With census, I can stats http request easily. Thanks a lot.
I use mux for http router, it support template variable with path. Such as
r := mux.NewRouter()
s := r.PathPrefix("/products").Subrouter()
// "/products/"
s.HandleFunc("/", ProductsHandler)
// "/products/{key}/"
s.HandleFunc("/{key}/", ProductHandler)
// "/products/{key}/details"
s.HandleFunc("/{key}/details", ProductDetailsHandler)

With this, i got lots of metrics with different tags(http_path). It's meaningless to me.
Maybe census allow me to pass a callback to get path from request?
Like this:
type Hanlder struct {
       func getPathFromRequest(*http.Request) string
}

func (h *http.Request) startStats(w http.ResponseWriter, r *http.Request) (http.ResponseWriter, func(tags *addedTags)) {
	ctx, _ := tag.New(r.Context(),
		tag.Upsert(Host, r.Host),
		tag.Upsert(Path, h.getPathFromReques(r)),
		tag.Upsert(Method, r.Method))
}

Thanks for the feature request. This sounds like a valuable feature, however, at this time, most development effort is focused on OpenTelemetry (currently in beta) rather than OpenCensus.
Please take a look at the following OpenTelemetry plugins and see if they fit your use case. If not, please create an issue on the OpenTelemetry boards:
https://github.com/open-telemetry/opentelemetry-go/tree/master/instrumentation/othttp
https://github.com/open-telemetry/opentelemetry-go-contrib/tree/master/instrumentation/gorilla/mux


DevOps Server not recognized

The code that checks is it is Cloud or Server dose not work by type because we have a Self hosted Server and it returns 4 as type. I am not sure that 4 is Cloud.
private async getOrganizationBaseUrl() {
const url = new URL(document.referrer);
if (DevOps.getHost().type != 4) { //4 - Azure DevOps Cloud
const collectionName = url.pathname.split('/')[2];
this.baseUrl = ${url.origin}/tfs/${collectionName}/;
}
else { .... }

@arminNadarevic thanks a lot for the information! I'm working on it to check how to solve it. The docs of Microsoft has the host type information but it seems it does not work as expected. I created my self-hosted Azure DevOps instance to try that out and debug it. Hopefully it will be fixed in the following days.
I will be closing this issue once it's related to #45

@arminNadarevic I released a new version with this fix. Would you mind to test it again?
Thanks a lot

Hi just want to say that it works now.
Den mån 16 dec. 2019 12:49Carlos Alessandro Ribeiro <
<EMAIL_ADDRESS>skrev:

@arminNadarevic https://github.com/arminNadarevic I released a new
version with this fix. Would you mind to test it again?
Thanks a lot
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cribeiro84/azure-devops-pull-request-hub/issues/57?email_source=notifications&email_token=ACYJJ24BIXAY6ORQ3JPN663QY5TLPA5CNFSM4J2JZ7NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG6OTTA#issuecomment-566028748,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYJJ27REVPJ4CS75FS77LLQY5TLPANCNFSM4J2JZ7NA
.

Excelent! Thanks a lot for your feedback... :-)

Also, if you don't mind, please give your rate about this extension. :-)
https://marketplace.visualstudio.com/items?itemName=caribeiro84.pull-request-manager-hub&ssr=false#review-details


Update VersionListCommandletTest.java

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 48.833%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
2808

Relevant Lines:
5504

💛  - Coveralls


[Bug:] MQTT not connected to mosquito-server

flashed ver 1.04, runs fine, web-gui reachable.
but no connection to my MQTT-Server.
nothing in the logs.
a bug? how to de-bug?

Hi,
There is a prevention. You can use authentication for MQTT.
Currently it will not work if the username and password are not configured.
It is a second time i have this question, so maybe i should change it.
I'll create a ticket for that.

good to know. thanks for reply.
i will try with credentials and hope for another binary soon
😄

@ozett
Fixed the issue and added new features as well
Please find it in release 1.05
https://github.com/redakker/blecker/releases/tag/1.05

if i flash 1.04 it runs on esp32cam and on my wemos lolin esp32 ,
if i flash 1.05 both system have an error-loop.
something wrong/differnet with the 1.05 binary?

esp32 cam-board with ver 1.04 still ok and without error...

esp32cam draws to much current from usb-port on PC, but runs on powersource.
i found the wifi-hotsport and configured it..

@ozett
It looks like it is a hardware problem:
https://stackoverflow.com/questions/60171641/any-solution-available-for-for-esp32-cam-brownout-detector-was-triggered-error
Maybe the software needs a little bit more power because of more features. Or you had luck before.
The links says above brownout problem is a power problem in ESP32-CAM

You can see the changes here:
https://github.com/redakker/blecker/commit/89c0f47536b4a76c3a7b156cd789317a22209cf1
https://github.com/redakker/blecker/commit/7cf29f40aeff39b369230f6a999d330cb889e83f
https://github.com/redakker/blecker/commit/11f7c63ab0c7c6f9ae0382113c2fffa733f9c256

The links says above brownout problem is a power problem in ESP32-CAM

brownout happens on that port. correct. but the Module runs on powersupply without this error.
the only failure is, that version 1.05 not reboots on both modules (another one without brownout)
on both modules the version 1.04 runs fine. any changes to 1.05 ? another binary to test for me?

but the Module runs on powersupply without this error.
That means your PC's USB has not enough power

but the Module runs on powersupply without this error.
That means your PC's USB has not enough power

all correct.
but i can flash ver 1.04 on both modules and they run fine (the esp32cam runs fine on powersource  after flashing)
but the run not with ver1.05 (flashing the same as with 1.04, but neither modules runs without error, also not on powersource)
🔴 only this boot-error with 1.05
(maybe tomorrow deeper investigation . 🟢 version 1.04 runs on esp32cam on powersource errorfree)


New network functions for mesos cluster: CreateNetwork(), RemoveNetwork(), and Networks()

Implement the missing network functions for mesos cluster.
These functions allow us to support the new docker bridge and overlay networks by

Create a network 2) create a container with net=none 3) connect the container to the network created in (1)

We are also working on adding the new network capabilities as part of createContainer (support --net=userNetworkName but this require some changes to the mesos executer (that we are starting to push as well)

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "mesosCreateNW" git@github.com:ezrasilvera/swarm.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

ping @jimenez

@dongluochen you are probably right but I tried to stay with the exact same errors that are returned in the case of the native swarm (without mesos) cluster.
Maybe it would be better tat after this is merged I can have another PR to change the returned value on both the swarm and mesos cases?

@dongluochen @jimenez I have fixed the error messages.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "mesosCreateNW" git@github.com:ezrasilvera/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~5
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

LGTM. Thanks @ezrasilvera.

@dongluochen @jimenez - any idea when it's going to be merged   ?

@ezrasilvera Thanks for adding this! this LGTM but before merging we need to have some integration tests. They should be very similar to those for Swarm stand alone. (It's impossible to test multihost network in the Swarm CI, but at least you can try creation and removal of a bridge network)

@jimenez Thanks. I have added an integration test for all the network functions for mesos cluster. All passed..
ok 142 mesos - docker network ls
ok 143 mesos - docker network inspect
ok 144 mesos - docker network create
ok 145 mesos - docker network rm
ok 146 mesos - docker network disconnect connect

LGTM, Thanks @ezrasilvera !


Running cpuonly on windows gives "pinned memory requires CUDA"

I don't have a fancy gpu on this computer.
I used this code to create my repo:
conda create --name agz_kevaday
conda activate agz_kevaday
conda install pytorch torchvision torchaudio cpuonly -c pytorch
conda install -c anaconda numpy cython
conda install -c conda-forge tensorboard tensorboardx choix

I navigated to the main alphazero-general directory and then executed this:
python -m alphazero.envs.tictactoe.train
Here is a names-redacted version of the output:
Because of batching, it can take a long time before any games finish.
------ITER 1------
Warmup: random policy and value
Traceback (most recent call last):
  File "C:\Users\_redacted_\Anaconda3\envs\agz_kevaday\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\_redacted_\Anaconda3\envs\agz_kevaday\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\_redacted_\Documents\Personal\alphazero-general\alphazero\envs\tictactoe\train.py", line 32, in <module>
    c.learn()
  File "C:\Users\_redacted_\Documents\Personal\alphazero-general\alphazero\Coach.py", line 180, in learn
    self.generateSelfPlayAgents()
  File "C:\Users\_redacted_\Documents\Personal\alphazero-general\alphazero\Coach.py", line 226, in generateSelfPlayAgents
    self.input_tensors[i].pin_memory()
RuntimeError: Pinned memory requires CUDA. PyTorch splits its backend into two shared libraries: a CPU library and a CUDA library; this error has occurred because you are trying to use some CUDA functionality, but the CUDA library has not been loaded by the dynamic linker for some reason.  The CUDA library MUST be loaded, EVEN IF you don't directly use any symbols from the CUDA library! One common culprit is a lack of -INCLUDE:?warp_size@cuda@at@@YAHXZ in your link arguments; many dynamic linkers will delete dynamic library dependencies if you don't depend on any of their symbols.  You can check if this has occurred by using link on your binary to see if there is a dependency on *_cuda.dll library.

Given the error, I think the code doesn't work for cpu-only.  It seems to be saying "CUDA required".

Thank you for reporting this error, it seems I have overlooked support for CPU-only in certain places. I will fix this as soon as I can.

@EngrStudent I just pushed a fix, let me know if it works.


Enhancement to Landing Page: Add a feature list of catalog items in the landing page  from a feature list

[About images]
What's the process and what are guardrails for adding images?
One option:

Allow users to fill in a field an entry of picture/images but hard to
Provide template of images/icons that users can choose from so that it's easier on EAPROs and user's end

hi @binkymilk - I think option 2 is probably the easiest to implement RIGHT NOW -- since we validate the countries from a list, for now lets just create a function that can translate the country/region field to an  image url and put in images for 9 countries.

philippines, timor-leste, thailand, vietnam, cambodia, laos, myanmar, indonesia, malaysia (this is for poverty mapping and air quality)

if needed, we can programmatically get images generated from their admin boundaries using the geoboundaries api


Production Pipeline Diagram

This will always contain the most up-to-date draft of the pipeline.
flowchart TD
    prep["Prepare Data
(R using CFAEpiNow2Pipeline)"]
    fit_model["Fit Model
(Python using PyRenew)"]
    forecast["Forecast, prior predictive, and posterior predictive
(Python using PyRenew)"]
    interp_figs["Figures for quantities of interest
(R using ggdist)"]
    score["scoring
(R using scoringutils)"]
    hub["Hub submission
(Python using forecasttools)"]
    diagnostics["ArviZ Diagnostics
(Python using ArviZ)"]

    tab_dates("Data with dates
(tabular)")
    data_fit("data for fit
(json)")
    posterior_draws("Posterior MCMC draws
(pickle)")
    all_mcmc_draws_ncdf("All MCMC draws
(netCDF)")
    all_mcmc_draws_tab("All MCMC draws
(tabular but maybe zarr or netCDF)")

    prep --> tab_dates
    prep --> data_fit
    data_fit --> fit_model
    fit_model --> posterior_draws
    posterior_draws --> forecast
    forecast --> all_mcmc_draws_ncdf
    forecast --> all_mcmc_draws_tab
    tab_dates --> interp_figs
    all_mcmc_draws_tab --> interp_figs
    all_mcmc_draws_tab --> score
    tab_dates --> score
    all_mcmc_draws_ncdf --> hub
    all_mcmc_draws_ncdf --> diagnostics

    classDef script fill:;
    classDef file fill:#0099ff;

    class tab_dates,data_fit,posterior_draws,all_mcmc_draws_ncdf,all_mcmc_draws_tab file
    class prep,fit_model,forecast,interp_figs,score,hub,diagnostics script

Here is what I am thinking for the necessary scripts (blue rectangle) and the outputs (orange rounded rectangles). Open to any feedback on this design.
Some question I can predict and answer:
What file format will we use for the tabular data?
csv or parquet
Why is there a separate output of "all MCMC draws" as a tabular file?
I have not found the R packages for working with netCDF data to be very friendly. I have not looked into using zarr yet.
Why not directly use the Posterior MCMC draws for ArviZ diagnostics
We could, but I think it is probably more user-friendly to import a netCDF and we don't want to create an additional netCDF after fitting the model.
Why use R at all?
Since we have to use R to use scoringutils, we might as well take advantage of the CFAEpiNow2Pipeline and ggdist packages.
@dylanhmorris @AFg6K7h4fhy2 open to comments and questions

Current version has received a LGTM from @dylanhmorris in a Teams discussion.

@damonbayer  This looks really good! Just a few questions.

Are you planning on implementing this via a make file?
What format will the Arviz Diagnostics be in? Is this a pdf with the calibration and forecasts for each state + convergence diagnostics?
Will you have any diagnostic flags implemented?
Will this be easily extendable to fitting multiple model types e.g. pyrenew with and without wastewater?

Thanks @kaitejohnson. I confess I haven't thought much about these questions until you asked them.

Are you planning on implementing this via a make file?
This will all be done in azure, which, I think, is not really related to make. Perhaps you mean something more general or I am misunderstanding how things work.

What format will the Arviz Diagnostics be in? Is this a pdf with the calibration and forecasts for each state + convergence diagnostics?
I think there will be a short automated report with all the forecasts and a more detailed one with the forecasts and typical mcmc diagnostics (rhat, ess, etc.) Adding calibration and other diagnostics specific to the task at hand would be good too. I think this will be an html file generated in quarto?

Will you have any diagnostic flags implemented?
Hadn't thought about this yet. It would be good to lean on your experience from last season.

Will this be easily extendable to fitting multiple model types e.g. pyrenew with and without wastewater?
That's the plan, but I can't say much more until I have more experience running it for a single model.

Where do the azure self-hosted runners come in? (just in the Fit model section)?
Unclear. I need hear more about how NNH is using them.

This will all be done in azure, which, I think, is not really related to make. Perhaps you mean something more general or I am misunderstanding how things work.

I guess what I mean is there any plan to use a pipelining tool of some sort that will cache different steps. So that you can make adjustments (e.g. excluding certain data points) and rerun the pipeline with only the pieces downstream getting updated (this is what we used targets for last year and despite it not playing nicely with azure it was really convenient for automating pipeline outputs)
Like the idea of an HTML file generated in quarto --I found  it really helpful to have a few things to review in one place as a post model run pre send-off step to spot check each location

Hadn't thought about this yet. It would be good to lean on your experience from last season.

Per usual, I took NNH's lead on this and used their thresholds for rhat, divergences, EMBFI, etc. which are now defaults in the wastewater package's model flags. https://github.com/CDCgov/ww-inference-model/blob/9dd766b8da3cd661f7daeb5f6f6127786e4db5ec/R/model_diagnostics.R#L51 I don't think you need these exactly but having some flags is helpful to know where to look in real-time.

I guess what I mean is there any plan to use a pipelining tool of some sort that will cache different steps. So that you can make adjustments (e.g. excluding certain data points) and rerun the pipeline with only the pieces downstream getting updated (this is what we used targets for last year and despite it not playing nicely with azure it was really convenient for automating pipeline outputs)

Seems like a good question for @dylanhmorris. I think adding functionality to kick off one script from another is trivial (e.g. if you already fit the models, but want to change the forecast horizon, you could kick off the pipeline starting at the forecasting step). Maybe there are more sophisticated concepts in azure that could make this easy to implement.

@kaitejohnson I have updated the diagram with the quarto reports idea.

@dylanhmorris I have updated the diagram based on our conversation about a step to tidy arviz data into a tabular format

Hey @damonbayer I think the quantities of interest box should flow into the scoring box rather than the MCMC draws. The reason being that that includes our observables from the retro data.
TBF I can imagine also scoring all parameters (e.g. when fitting on generated data).

From f2f discussion it was pointed out that "quantities of interest" doesn't mean "generated quantities", it means summary statistics.

@SamuelBrand1 @dylanhmorris @AFg6K7h4fhy2 I have updated the diagram based on our f2f discussion. Please thumbs up this comment if it appear accurate or comment if it does not.

It has come to my attention that there is some ambiguity around the "Tidy (Python using forecasttools)" step. My intention is that this is (probably) several parquet files (one for each InferenceData group) that adhere to the tidybayes::tidy_draws format:

A data frame (actually, a tibble) with a .chain column, .iteration column, .draw column, and one column for every variable

https://mjskay.github.io/tidybayes/reference/tidy_draws.html

Closing as everything in the diagram has been implemented.


module 'winkerberos' has no attribute 'authGSSServerInit'

Hello
I was trying to test the SSPI server side authentication, but I am getting error that there is attribute for authGSSServerInit, i read the Documentation but was not able to figure it out if we have SSPI server side authentication support or if it is still in progress, any help on this would be much appreciated.

I've tagged and published WinKerberos 0.8.0 to pypi. That version includes the server side support. Note that server side support is experimental.


Replace custom components with Chakra UI customized components styles

We have some components extending Chakra UI ones in order to customize the base style provided by this library.
Instead of having such custom components, we can use Chakra UI customizing component styles.
Those components are:

CTAButton: this should be replaceable by using regular Chakra Button + custom "cta" variant
FluidContainer: Chakra already added Container component, so we can use that one + customized default values instead
Link: we can use the default Link + customized default color instead of our custom component

Apart from removing unnecessary custom components, this ticket will help me to figure out how to customize tokens and defaults from the theme, to achieve things like setting the default light/dark background in all pages, default light/dark text color, etc.

Apart from removing unnecessary custom components, this ticket will help me to figure out how to customize tokens and defaults from the theme, to achieve things like setting the default light/dark background in all pages, default light/dark text color, etc.

Cool! 🥳 🎈


feat: introduce browser support

This commit introduces a second tsc execution which generates JS in ES5 form.
Then, webpack is used to generate a browser bundle.
Fixes: https://github.com/cloudevents/sdk-javascript/issues/94
WIP: Tests still pending.
Signed-off-by: Lance Ball<EMAIL_ADDRESS>

@lance probably package-lock needs to be pushed or something (?)
I got this after npm install / npm run build:
modified:   package-lock.json

@helio-frota good catch - thanks! I've updated it.

@lance seems working

@lance seems these (some of) directories should be added to .gitignore ?
_bundles/
browser/

I got this warning about the webpack "mode"
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/

Maybe it should be set explicitly to avoid any changes in default behavior during a webpack version bump?


autoform too slow on Cordova

Hi there,
good to hear that the recursion problem seems to be fixed now. Thx to the Meteor core dev team.
I am trying to get autoform to run on Cordova/Mobile with famous-views and it seems a bit slow.
If the user types something, it takes some seconds until the characters are displayed on the screen.
I dont know if this is bad, but might degrade the overall UX.
So are there others who have managed to make it run?
Can this be improved or are there just too many calculations in the background which make it slower?
Without famous-views it was also slow, I think famous improved it a little bit, but not as fast as with Mesosphere.
Regards

There shouldn't be anything happening while typing unless you have keyup validation enabled. Did you put an input element by itself outside of an autoform and see if there is a delay on that.

one minute, just checking


migrate to toml configuration (alacritty v0.13.0)

Given recent changes in alacritty (alacritty/alacritty#6673, alacritty/alacritty#7028), it makes sense to also migrate themes to toml.

This should be merged after Alacritty v0.13 is released

https://github.com/alacritty/alacritty-theme/pull/34#pullrequestreview-1513151957


warning NETSDK1198: A publish profile with the name 'DefaultContainer' was not found in the project

When publishing a solution (about 30 projects), I get this warning on every project:
C:\Program Files\dotnet\sdk\8.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(204,5):
warning NETSDK1198: A publish profile with the name 'DefaultContainer' was not found in the project.
Set the PublishProfile property to a valid file name.

The container creation still works, but I think this warning should be handled (by not passing the PublishProfile to the inner build?)
Thanks in advance

Unfortunately we can't really change this behavior easily. I'd suggest that instead of publish profiles at the solution level, you instead try using the MSBuild target directly: dotnet publish /t:PublishContainer - this behaves identically to the DefaultContainer PublishProfile method, but it also works for console applications and is the more MSBuild-native way of accomplishing the goal. We're moving towards this in all of our documentation and examples going forward.

This doesn't help much - now instead of warnings I am getting build errors (for each and every project):
error MSB4057: The target "PublishContainer" does not exist in the project

Maybe some info on how to adjust the .csproj to avoid those build errors?
Thanks

Installed 8.0.201 (was on 8.0.102) and it indeed resolved those build errors.
Thanks!


Fix setWindowMinimized issue

A PR to fix #16 issue I raised.

I think we should keep the toggle as the second argument. The real problem appears to be in window.ts file in line 112 and 122. In both cases there shouldn't be this.processId passed as the second parameter.

Yeah, I have made changes and resolved it to two parameters.

Thanks man, I have plans of implementing Maximize for macOS later when I am less busy.


support escaped keywords

eg:
select * from `order`.paymen_info
select `order`, `timestamp` from ccc

https://github.com/cch123/elasticsql/commit/5faa85ebf05fea31acf3e0fbf98cc083dc4444d8


We should update the repo field in the .repo-metadata.json file to reflect the subdirectory

Fixes #3466 and #3450
@bcoe, is there anything else that consumes this field? Would it be alright to change it to add the subdirectory?

@sofisl I would add this information to the package.json rather than repo-metadata.json, here's an example of what I've seen other projects do:
https://www.npmjs.com/package/@types/yargs
Note that the homepage path points to the subdirectory in the mono-repo, rather than the top level.
Seems like a good convention that other mono-repos follow in the community.


Added french language

I've added a file for french translation.

@bruce-thomas  Thank you for contribute , keep the good works .

@serverfire thank you for this great tool, which is exactly what I was searching for : a tool to build a clean and customisable admin interface in minutes !
I have noticed that the placeholders in the login form fields (Username and Password) are hard-coded, and thus can not be translated. Should I open an issue for this (and fix it by the way :) ?

@bruce-thomas
We are very happy when see developers like you love laravelpanel  .
I did fix the place holder in login page .
Also i  have remove the "Nouveau" from password , it should be just password not "new password" , and use it for placeholder for email
Thank you

Thanks for the fix !


Can't redo certain commands after undoing a "multiply tempo"

Starting from some sequence:

Multiply tempo (by 2 for example);
Add a note on one of the empty lines just created;
Undo twice to remove the note and restore the original tempo;
Redo the Multiply Tempo;
Redo again: the note is not re-added like it should.

This is just an example. It happens because the Command Manager stores information that may become invalid as a result of some undos. In this case, the line in which a note should be re-inserted has been removed from the sequence.

What I really want is to make some structures immutable, so all the editing has to go through some specific class that has access to the sequence's data (maybe StaffSequence itself). This problem will have to be resolved in the process.


Cram support

Changes required to support CRAM inputs instead of BAM for detect_variants.cwl

Closes #41

Closes #117


Workflow expression variable reference checks miss some variables

Describe the bug
The expression checker looks to see if variables that are referenced are actually defined and warns if a context reference may not be valid. This can cause bugs like #47 , but also it's missing some variables completely.
From the above issue:
name: "Context access might be invalid"
on: push
jobs:
  context-access-might-be-invalid:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Setup environment variables
        uses: rlespinasse/github-slug-action@v4

      - name: Print custom environment variables
        run: echo ${{ env.GITHUB_REF_SLUG }}

This raises the Context access might be invalid warning for env.GITHUB_REF_SLUG.
If the expression itself branches like so, only the ~"false"~ path as evaluated in the extension will raise a warning:
name: "Context access might be invalid"
on: push
jobs:
  context-access-might-be-invalid:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Setup environment variables
        uses: rlespinasse/github-slug-action@v4

      - name: Print custom environment variables
        run: echo ${{ true == false && env.FAKE_VAR || env.GITHUB_REF_SLUG }}

Here, the warning will be raised again, but only for env.GITHUB_REF_SLUG.
If we "define" the env var in an env block explicitly:
name: "Context access might be invalid"
on: push
jobs:
  context-access-might-be-invalid:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Setup environment variables
        uses: rlespinasse/github-slug-action@v4

      - name: Print custom environment variables
        env:
          GITHUB_REF_SLUG: whatever
        run: echo ${{ true == false && env.FAKE_VAR || env.GITHUB_REF_SLUG }}

then the warning goes away completely, and env.FAKE_VAR is never considered.
Alternatively, if we change the expression to something that can be evaluated as true at parse time:
name: "Context access might be invalid"
on: push
jobs:
  context-access-might-be-invalid:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Setup environment variables
        uses: rlespinasse/github-slug-action@v4

      - name: Print custom environment variables
        run: echo ${{ true && env.FAKE_VAR || env.GITHUB_REF_SLUG }}

Then the warning will change to env.FAKE_VAR only, ignoring the other one.
To Reproduce
See above.
Expected behavior
Both vars are warned against.
Extension Version
v0.25.3

jobs:
build-python-test:
name: Build Python for test
runs-on: ubuntu-20.04
steps:
- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
job_name: Test
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MATRIX_CONTEXT: ${{ toJson(matrix) }}

Another instance is about `matrix` variable:

<img width="430" alt="image" src="https://user-images.githubusercontent.com/99484706/228696386-71687918-801b-4213-a019-3c3cfe604f0f.png">

@briantist Thanks for reporting this, I agree this is something we should look into.
@ad-m-ss That is a valid error. The job isn't using a matrix strategy, so it won't be defined.

This is fixed and will be included in the next release.

and they never fix it

and they never fix it

It has been said it will be fixed in the next release.

The release should've gone out by now. If you're still seeing things, would you mind creating another issue with more details? Thanks

When is the release?

I don't seem to have the release here either weirdly

Still seeing the same error in latest VSCode.

duplicate of #222


mount as fuse error

when run command:
weed mount -filer=localhost:8888 -dir=/some/existing/dir -filer.path=/
report errors as fellow:
I1106 20:15:45 28245 dir.go:239] list /: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:18888: connect: connection refused"

I have started master,   volume1: port=8080, volume2:port=8081

Need to start filer.
On Tue, Nov 6, 2018 at 4:25 AM weiranzhixin<EMAIL_ADDRESS>wrote:

when run command:
weed mount -filer=localhost:8888 -dir=/some/existing/dir -filer.path=/
report errors as fellow:
I1106 20:15:45 28245 dir.go:239] list /: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:18888: connect: connection refused"
I have started master, volume1: port=8080, volume2:port=8081
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chrislusf/seaweedfs/issues/764, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABeL74DGf8fy7cGM6ALgR-EXl7NTx_ecks5usX-cgaJpZM4YQV9R
.

There are no known bugs now.  You are welcome to benchmark it and publish the results.
Usually 1 master, 1 filer, multiple volume servers. Multiple filers if you are using existing data store, e.g. MySql, PostGres, Cassandra, Redis.

run time ll skirt  command consumes 40-50seconds, it is too long
skirt is a fuse directory containing 9363 JPG files, single file size: 50k-200k

release 1.02, it should be very quick for "time ls -al /your/directory". Please let me know how it works for you.

release 1.02 is the version I used,  package name is linux_386.tar.gz
host os : ubuntu 16.04
weedfs set up as follows:

1 ./weed master &
2 ./weed volume -dir="/home/hh/seaweed/data1" -max=5  -mserver="localhost:9333" -port=8080 &
3 ./weed volume -dir="/home/hh/seaweed/data2" -max=5  -mserver="localhost:9333" -port=8081 &
4 ./weed scaffold -config=filer -output=.
5 ./weed filer &
6  ./weed mount -filer=localhost:8888  -dir=/home/hh/seaweedmount  -filer.path=/ &
7 cd /home/hh/seaweedmount  && cp ~/skirt_length .
8 time ll skirt_length
one test result is

real	0m46.315s
user	0m0.127s
sys	0m0.239s

Thanks! Can you please add logging to step 6, and paste the logs here?
6 ./weed -v=4 mount -filer=localhost:8888 -dir=/home/hh/seaweedmount -filer.path=/ &
btw: I suppose your "ll" is an alias for "ls -l"?

weedmount.log
btw: I suppose your "ll" is an alias for "ls -l"?
yes it is

The logs shows you are using 1.01 "This is SeaweedFS version 1.01 linux 386"

eeee, let me re-deploy and test again

I installed 1.0.2 version , first time I run ll, it consumes about 2s, then I do the operation multiple times, time increase, it coud be 10s, 16s, 13s., 15s
weed.log

this is because the cache for the directory listing is set to 0.3 seconds. I will increase it to 3 seconds in next release.

updated to 1.04. Welcome to test it again.

@chrislusf  我是用的版本是：version 30GB 2.81 5ea97157 linux amd64     不跟master同节点启动filer时报同样错误，启动master服务时好像不能指定filer的地址吗？

@guleng I do not what error you are referring to. Please create a separate issue.

启动master服务时好像不能指定filer的地址吗？

Correct.

@chrislusf 启动master服务时日志里报错
error: read buckets: get filer configuration: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:18888: connect: connection refused"
filer和master服务不在同一个节点上时报这个错误，我寻找启动master是能不能指定filer的地址时没找到该参数

please create a separate issue following issue template.


CMake: Pass -no_warn_duplicate_libraries to the linker when supported

The output of build-script on macOS is currently full of spammy linker warnings like this:
ld: warning: ignoring duplicate libraries: '.../swift-project/build/Ninja-RelWithDebInfoAssert/llvm-macosx-arm64/lib/libLLVMDemangle.a', 'lib/libswiftDemangling.a'

Apple's linker complains about duplicate libraries, which CMake likes to do to support ELF platforms. To silence that warning, we can use -no_warn_duplicate_libraries, but only in versions of the linker that support that flag.

@swift-ci please test

@swift-ci please test

We will likely need to include(CheckLinkerFlag) somewhere in our build before we can use check_linker_flag.

Done (though it seemed to work without it on my machine).


Create release and add to Spin plugins

To simplify the installation for users, we need to create a new release and update the Spin plugins index to include the command trigger.

Closing in favour of #23


Improved MultiNodeEdit Blendshape Slider Support

Fixes #35934
Recovery of #43574 where I accidently deleted the fork.
Makes Blendshape Sliders in MultiNodeEdit visible in the Inspector even if not all MeshInstances have all the same Blendshapes.
Previously, if one of the selected MeshInstance Nodes was missing a single Blendshape all the Blendshape Sliders would disappear in the Inspector because MultiNodeEdit was expecting a perfect meta info match.

I don't like the single casing of blend shapes here.
It is by design that MultiNodeEdit only works for a given property if all selected nodes have this property.
The same would happen with an export variable, or with any property which isn't common to two different node types.
So for blend shapes the MultiNodeEdit is working as intended and this shouldn't be worked around. If we want to change this behavior and allow editing properties which are not present in all selected nodes, this needs a feature proposal and an implementation that works for all properties, not just blend shapes.


Modify request headers in order to remotely turn on dishwasher

I managed to enable remote turn on on my dishwasher by changing the request header to as follows:
  headers: {
    accept: "*/*",
    Authorization: this.token?.getAccessToken(),
    "Content-Type": "application/json",
  },

I basically just added accept value and it seems to work. Would be willing to submit a PR if this modification does not break anything.

I also noticed how the integration pings the server to get all the available action that a devices has like so:
{
"processAction": [],
"light": [],
"ambientLight": [],
"startTime": [],
"ventilationStep": [],
"programId": [],
"targetTemperature": [],
"deviceName": true,
"powerOn": false,
"powerOff": true,
"colors": [],
"modes": []
}
The problem is the device only checks processAction to look at all the available actions. The powerOn and powerOff property is controllable if it is true. powerOn is true when the device is turned off and vice versa.
Modifying the characteristics to not only check processAction but also check powerOn and powerOff and send the corresponding put method with the modified headers i mentioned above is enough to make the plugin turn on and turn off the dishwasher.

Heres a snippet of what I did to turn on the dishwasher remotely:
  if (response.data.powerOn === true && value === this.onState) {
    this.platform.log.info(`${this.deviceName}: Will turn on`);

    const response = await axios.put(
      this.platform.getActionsUrl(this.serialNumber),
      {
        powerOn: true,
      },
      this.platform.getHttpRequestConfig()
    );

    this.platform.log.debug(
      `${this.deviceName}: Process action response code: ${response.status}: "${response.statusText}"`
    );
  }

Keep in mind that I already modified the headers to contain the accept value.

The problem is the device only checks processAction to look at all the available actions. The powerOn and powerOff property is controllable if it is true. powerOn is true when the device is turned off and vice versa.

This is indeed something I didn't realize while programming this. I will attempt to update this.

Kinda late to replying my bad.
I don't really remember anymore but checking processActions to verify the actions isn't enough.
{
"processAction": [],
"light": [],
"ambientLight": [],
"startTime": [],
"ventilationStep": [],
"programId": [],
"targetTemperature": [],
"deviceName": true,
"powerOn": false,
"powerOff": true,
"colors": [],
"modes": []
}
The payload from the server also contains a "powerOn" and "powerOff" property. If, poweron is true, for example, then that means that the dishwasher can be turned on vice versa.
I haven't replied to this in so long because the branch I created has been working fine for my dishwasher until now. Im hesitant to add a pull request as I do not know what effects this has with other devices.


ENH: add pearson, tippett, and mudholkar-george to combine_pvalues

This PR adds pearson, tippett, and mudholkar-george methods to combine_pvalues funtion in the stats submodule. These methods use the nomenclature from https://arxiv.org/pdf/1707.06897.pdf
While this paper is recent (reviewed in 2018) the added methods from the paper date to at least 1978 or earlier so nothing that hasn't been extensively used already in meta-analysis is being added.
One omission-if you read the Heard and Rubin-Delanchey paper is the Edington method (raw sum of p-values). I started to implement the Edington method but that requires an implementation of the Irwin Hall distribution. That made the PR too big so I decided to parse them out as 2 separate PRs. I will post the second PR once I finish implementing the Irwin-Hall ( https://en.wikipedia.org/wiki/Irwin–Hall_distribution ). This also makes the 2 PRs smaller and require smaller time to code review.
For the mudholkar-george method I use the approximation from the original paper using a t-distribution. Gist is here:
https://gist.github.com/rlucas7/53ceae3b0ebbb1662892246d58f6a70a
The values are slightly different in my version than in their table but mostly agree on magnitudes and first digit in the approximation errors. The largest error in this approximation is 0.001. Given that p-values are usually made at the 0.01 and 0.05 level this seems reasonable, and there doesn't appear to be a better approximation without resorting to some very complicated truncation of infinite series approximations (see Mudholkar and George for these equations).

python 3.7 CI fail on travis is from flaky tests in signal submodule (unrelated). I didn't touch any signal codes in this PR.

I would prefer to use the one stated in the original paper though unless you have a reason to believe > this one is not as good. That way it is easier to understand without an additional reference.

I agree but the approximation that is currently used in the code is more accurate for small values of k. For large enough values of k I'd wager there is little if any difference between the 2 approximations in terms of accuracy. For the accuracy of the method in the original paper is only accurate to 2 decimal places in whereas the approximation in this other reference (by the same authors) is accuracte to 4 decimal (3 in 1 of the x values).
I added the comparison for the method in the original paper to the gist as a comment:
https://gist.github.com/rlucas7/53ceae3b0ebbb1662892246d58f6a70a
where you can see the numbers that justify my statements. For this reason I'd prefer to use the method already in the code. However, if there is a better approximation that gets out to >4 digits I'd be fine with that but I am unaware of such approximation.

The circle ci build is throwing an error from numpy build, not related to anything I changed in stats.py file. Also, this latest commit only changed a docstring, any failing build from previous commit is likely to also fail here which seems to be the case. Both failures unrelated to these changes.

@chrisb83 another friendly bump?
Did I get all the questions you asked?

Okay, I agree that we can use 3.6 for the approximation of the sum of logistic rvs. BUT: you have 2*sum of logisitic in your implementation, I think you either need to drop the factor 2 or adjust the p-val calculation. Or did i overlook sth?

@chrisb83 you are right. Good catch on the +/- 2 factor with Mudholkar-George method. I updated the docstring, source code, and unit test to reflect the change.

@chrisb83 thanks for the approval. The only other change I made since approval was the inline comment on scaling in the unit test. Please let me know if anything else is needed for PR, would be great to get this into the 1.3.0 milestone.

@rlucas7 no, PR is fine in my view. I will merge it end of this week if there is no further feedback.

ok, Thanks for letting me know. I'll keep an eye out for it this coming
weekend. Thanks again.
On Mon, Feb 25, 2019 at 1:23 PM Christoph Baumgarten <
<EMAIL_ADDRESS>wrote:

@rlucas7 https://github.com/rlucas7 no, PR is fine in my view. I will
merge it end of this week if there is no further feedback.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/9660#issuecomment-467121600, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFJnrZ0pwj0gsuRlwZjqQEHvVO_Bsiv_ks5vRCoVgaJpZM4ZyHZk
.

--
Sincerely,
-Lucas

@chrisb83 Friendly ping for the merge to master as there are no additional comments since last weekend.

@rlucas7 merged, thanks for this contribution!


Fixed #29478 -- Added support for mangled names to @cached_property

Fixes https://code.djangoproject.com/ticket/29478

release note added

Should it be a warning or an error? In either case, please test the warning/error case.

Probably should not be an Error, because just upgrading to Python 3.6 will fix it

Can't we simply construct mangled name in cached_propery.__get__() to make it work on Python 3.5 as well?

@sir-sigurd nope, because you don't know which class to mangle the name with

@charettes https://github.com/django/django/blob/master/django/utils/version.py#L12 :)

If I understand correctly, the documentation for cached_property, including the warning added in 09199734d383691ecf6d163894b447ca45e0ef82 should be updated to say that name is only required for Python < 3.6.

Can you suggest a wording?

Looks like Jenkins didn't run correctly on the latest commits. After I squashed and pushed some cosmetic changes, there are errors like "TypeError: Cannot assign the same cached_property to two different names ('is_postgresql_9_5' and 'has_select_for_update_skip_locked')" (which were there before my latest changes).

We need to fix it because some attributes are not cached.
For example here:
https://github.com/django/django/blob/8aad4a38ae4f7e8ebbea44a6bffac8b49b119269/django/db/backends/postgresql/features.py#L56-L74
only is_postgresql_x are cached, is_postgresql_9_5() is called every time you access has_select_for_update_skip_locked. Should I fix it in this PR?
Probably we need to add it to release notes as breaking change and give example when it doesn't work as expected for Python 3.5 users.

Either in this PR or in another one seems fine. Thanks!

I'll add a release note to the first commit to describe the change of not allowing cached property aliases (which weren't cached anyway) and recommended the property(operator.attrgetter()) approach?

recommended the property(operator.attrgetter()) approach?

I'm going to implement alias() method I described above which could become recommended approach, but since it's not ready, let's do it.

@sir-sigurd one thing to consider with alias() is that cached_property happens to be settable (and deletable when cached as well  while the current suggested implementation isn't.
Not a blocker here as it will be implemented in another PR but definitely something to consider documenting or adapting to support both. Something also worth nothing is that the suggested implementation will probably be a bit slower to retrieve a cached value from an alias because property is a data descriptor and won't perform a quick __dict__ lookup like cached_property does because it's a non-data descriptor.


Add diabatic heating in the LWA budget

Dear Huang, could you please add diabatic heating in the LWA budget to the package as the Eq (2) in Wang et al. (2021) (https://doi.org/10.1029/2020GL091727), as we sometimes want to quantify the contribution of diabatic heating. Thank you!

We will soon release a version of diabatic heating calculation in an upcoming manuscript (Lubis et al.), which we take in $\theta$ (in $1/s^2$, as in Lubis et al 2018 eq.6) as input (instead of $\dot{Q}$ ($K/s$) in Wang et al. 2021). You can use the new functionality to compute diabatic heating from $\dot{Q}$.

@csyhuang Thanks. It's a great news and I can't wait to see the newer version.

@chauncy-git FYI announcement about this repo will be sent via email if you sign up here. You can also follow this repo to get all the updates.

The code used is included in 640960e . This ticket will be close.


[FLINK-31619] Upgrade Stateful Functions to Flink 1.16.1

Upgrade Statefun to support Flink 1.16.x (actually 1.16.2 at this point, despite the title).
Details:

Upgrade Flink version to 1.16.2 (this has been released since the issue was created) and update dependency-confict resolutions.
Handle org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders moving to org.apache.flink.util.FlinkUserCodeClassLoaders.
Fix ReductionsTest.java.

All tests pass, including e2e tests.
All playground examples work.

@galenwarren @FilKarnicki hey, any update on this support for Flink 1.16.x? Thanks in advance 😄

@dannyporrello  I believe the next steps are a code review and then a release.
@MartijnVisser @tzulitai

Looking forward to this release as well! 💯


Quite a bit of lag

While playing with this extension, every few seconds of gameplay there will be some significant lag where the game will freeze for a second or two. This only occurs when using the extension.

There's nothing I found logging during gameplay. At this point all I can do is optimize and reduce file size where possible, but "lag" isn't something that can be fixed from an extension standpoint.

You can see by this video what I mean. When the extension is enabled (the first half of the video), the video lags behind quite a bit, and this isn't even at it's worst, sometimes its up to a couple seconds behind. But when the extension isn't enabled (second half), it runs just fine, so it's obviously not the game itself or my internet. I also want to note it wasn't always like this as I've used this extension for a few months and it's worked fine, it's something new over the last month or so that's causing the lag.
https://streamable.com/8h4xp


added correlationAlert integ tests

Description

Added Correlation Alert Integration Tests
Did refactoring

Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

It seems like these multinode tests are failing
"org.opensearch.securityanalytics.correlation.alerts.SecureCorrelationAlertsRestApiIT.testGetCorrelationAlertsAPI"
"org.opensearch.securityanalytics.findings.FindingIT.testGetFindings_bySeverity_success"

It seems like these multinode tests are failing "org.opensearch.securityanalytics.correlation.alerts.SecureCorrelationAlertsRestApiIT.testGetCorrelationAlertsAPI" "org.opensearch.securityanalytics.findings.FindingIT.testGetFindings_bySeverity_success"

removed SecureCorrelationAlertsRestApiIT.testGetCorrelationAlertsAPI till i fix it

It seems like these multinode tests are failing "org.opensearch.securityanalytics.correlation.alerts.SecureCorrelationAlertsRestApiIT.testGetCorrelationAlertsAPI" "org.opensearch.securityanalytics.findings.FindingIT.testGetFindings_bySeverity_success"

removed SecureCorrelationAlertsRestApiIT.testGetCorrelationAlertsAPI till i fix it

you can mark it as ignored so that we do not lose the test.


using --manifest skips copy of manifest to elan dir, breaking publish

requires manual copying of the manifest to the elan/artifacts directory for the cog-publish step to work

my suggestion would be to publish the manifest as part of resolve_uploads instead


Add pull_request_dequeued.* metrics

This PR adds metrics to capture pull request dequeued events.
When a pull request is dequeued, it could be for a variety of reasons. The reasons are (UNKNOWN_REMOVAL_REASON, MANUAL, MERGE, MERGE_CONFLICT, CI_FAILURE, CI_TIMEOUT, ALREADY_MERGED, QUEUE_CLEARED, ROLL_BACK, BRANCH_PROTECTIONS, GIT_TREE_INVALID, INVALID_MERGE_COMMIT).
I would like to count how often a pull requests is dequeued for reasons like CI_FAILURE.
Adds

github.actions.pull_request_dequeued.total
github.actions.pull_request_dequeued.reason.${reason}_total.

Docs: https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=dequeued#pull_request

Thank you for the contribution!


extend processing time for messages

It's a lovely day, some messages are in the mail box. We pick them up on our walk. But it's too good of a day to read them yet. So we walk. We enjoy the day. We pick and eat some strawberries. Life is good.
Oh no! The postman wants the messages back.
Nah, I'll keep them a bit longer please.

@h-bragg All the "prefer lowest" tests have failed.


"gradle package" task throws error, when description is Cyrillic

When description in nativeDistributions is written in Cyrillic, "gradle package" throws error:
External tool execution failed:
External tool execution failed:
* Command: [C:\Users\DareFox\.jdks\openjdk-17.0.2\bin\jpackage.exe, @C:\workspace\Kotlin\SaveDTF-Compose\build\compose\tmp\packageMsi.args.txt]
* Working dir: []
* Exit code: 1
* Standard output log: C:\workspace\Kotlin\SaveDTF-Compose\build\compose\logs\packageMsi\jpackage-2022-04-20-14-51-07-out.txt
* Error log: C:\workspace\Kotlin\SaveDTF-Compose\build\compose\logs\packageMsi\jpackage-2022-04-20-14-51-07-err.txt

If I remove description or change it to English, it'll work

Arguments for external tool (jpackage.exe):
--input
"C:\\workspace\\Kotlin\\SaveDTF-Compose\\build\\compose\\tmp\\packageMsi\\libs"
--runtime-image
"C:\\workspace\\Kotlin\\SaveDTF-Compose\\build\\compose\\tmp\\main\\runtime"
--resource-dir
"C:\\workspace\\Kotlin\\SaveDTF-Compose\\build\\compose\\tmp\\resources"
--java-options
"'-Dcompose.application.resources.dir=$APPDIR\\resources'"
--main-jar
"C:\\workspace\\Kotlin\\SaveDTF-Compose\\build\\compose\\tmp\\packageMsi\\libs\\saveDTF-compose-1.0.0-93dca718aae942fc15036ffba508c5.jar"
--main-class
"MainKt"
--icon
"C:\\workspace\\Kotlin\\SaveDTF-Compose\\src\\main\\resources\\img\\DTF_logo.ico"
--java-options
"'-Dcompose.application.configure.swing.globals=true'"
--java-options
"'-Dskiko.library.path=$APPDIR'"
--resource-dir
"C:\\workspace\\Kotlin\\SaveDTF-Compose\\build\\compose\\tmp\\resources"
--win-dir-chooser
--win-upgrade-uuid
"71454f6a-55e9-44d8-830b-59ca8fc9f418"
--type
"msi"
--dest
"C:\\workspace\\Kotlin\\SaveDTF-Compose\\build\\compose\\binaries\\main\\msi"
--name
"SaveDTF"
--description
"Забекапь все свои (и не только свои) статьи при помощи одной кнопки!"
--app-version
"1.0.0"
--vendor
"DareFox"

External tool error log:
Input length = 1

Standard output of external tool is empty

The packageExe command I used also reported this error, Is it solved?

My suppliers and copyrights contain Chinese, so they cannot be packaged. It can be packaged when it does not use Chinese

I start to encounter this issue after upgrading IntelliJ IDEA to 2023.2. If I change to build via gradlew command, it succeeds even if there is a non-ASCII character.

Running into the same problem, any updates?

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Kitura Sample App Hangs in libdispatch on Ubuntu 16.04.1 LTS

While I had Kitura working fine on my old Ubuntu system using a pre-3.0 Swift, installing on a fresh system has had a host of issues. Given the sample app as described as "myFirstProject," when executed, the app never spins up. Here's the result:
➜  myFirstPackage ./.build/debug/myFirstProject

(nothingness indended)
Firing up gdb to take a look at the trace I see:
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./.build/debug/myFirstProject...done.
Attaching to program: /home/sgharms/derp/myFirstPackage/.build/debug/myFirstProject, process 1596
[New LWP 1597]
[New LWP 1598]
[New LWP 1599]
[New LWP 1603]
[New LWP 1604]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f052fbb4867 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x2498b68)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
205     ../sysdeps/unix/sysv/linux/futex-internal.h: No such file or directory.
(gdb) bt
#0  0x00007f052fbb4867 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x2498b68)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x2498b68, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007f052fbb4914 in __new_sem_wait_slow (sem=0x2498b68, abstime=0x0) at sem_waitcommon.c:181
#3  0x00007f052fbb49ba in __new_sem_wait (sem=<optimized out>) at sem_wait.c:29
#4  0x00007f053029c668 in _dispatch_group_wait_slow () from /home/sgharms/.swiftenv/versions/3.0/usr/lib/swift/linux/libdispatch.so
#5  0x00007f05302ae8f3 in _TFC8Dispatch13DispatchGroup4waitfT11wallTimeoutVS_16DispatchWallTime_OS_21DispatchTimeoutResult ()
   from /home/sgharms/.swiftenv/versions/3.0/usr/lib/swift/linux/libdispatch.so
#6  0x0000000000458bf1 in _TZFC9KituraNet13ListenerGroup16waitForListenersfT_T_ (self=...)
    at /home/sgharms/derp/myFirstPackage/Packages/Kitura-net-0.32.0/Sources/KituraNet/ListenerGroup.swift:28
#7  0x00000000004d0a72 in _TZFC6Kitura6Kitura3runfT_T_ (self=...)
    at /home/sgharms/derp/myFirstPackage/Packages/Kitura-0.32.0/Sources/Kitura/Kitura.swift:76
#8  0x0000000000411e1b in main () at /home/sgharms/derp/myFirstPackage/Sources/main.swift:13
(gdb) info frame
Stack level 8, frame at 0x7fff4654a440:
 rip = 0x411e1b in main (/home/sgharms/derp/myFirstPackage/Sources/main.swift:13); saved rip = 0x7f052dc1a830
 caller of frame at 0x7fff4654a3b0
 source language minimal.
 Arglist at 0x7fff4654a430, args:
 Locals at 0x7fff4654a430, Previous frame's sp is 0x7fff4654a440
 Saved registers:
  rbp at 0x7fff4654a430, rip at 0x7fff4654a438

Here's the Linux version
➜  myFirstPackage cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

Looking for the last non-C line of code:
    /// Group for waiting on listeners
    private static let group = DispatchGroup()

    /// Wait for all of the listeners to stop
    public static func waitForListeners() {
        _ = group.wait(timeout: DispatchTime.distantFuture)
    }

It appears when the DispatchGroup()'s result is set to wait(). I note that the .so being used was provided by the Swift 3.0 release, so the next step may well be to file an issue on Swift, but I thought I might check here first.

Of course, after I submit the issue I come up with the idea of instrumenting Kitura.swift with simple print statements. Can confirm the server is running, but the Log data are not hitting STDOUT.
Given:
import Kitura
import HeliumLogger

let router = Router()

router.get("/") {
    request, response, next in
    response.send("Hello, World!")
    next()
}

Kitura.addHTTPServer(onPort: 8090, with: router)
Kitura.run()

and
import PackageDescription

let package = Package(
    name: "myFirstProject",
    dependencies: [
       .Package(url: "https://github.com/IBM-Swift/Kitura.git", majorVersion: 0, minor: 32),
       .Package(url: "https://github.com/IBM-Swift/HeliumLogger.git", majorVersion: 0, minor: 17)
    ]
)

I would have expected that to work.

@sgharms You needed to add one more line of code, to get HeliumLogger to actually be the active logger.
If in your main.swift file right before the line let router = Router(), you would add the line HeliumLogger.use(), you'd get logging.

Thanks Shmuel, figured that one out, thus the close ;)
I've got a PR to try to clarify that in the README and will submit later
today.
On Sunday, September 18, 2016, Shmuel Kallner<EMAIL_ADDRESS>wrote:

@sgharms https://github.com/sgharms You needed to add one more line of
code, to get HeliumLogger to actually be the active logger.
If in your main.swift file right before the line let router = Router(),
you would add the line HeliumLogger.use(), you'd get logging.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IBM-Swift/Kitura/issues/748#issuecomment-247844440,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADDY-73nncrn_q6PYPwrCXGKayqddBnks5qrSwkgaJpZM4J_2aS
.

Clarification in #752


Can't fetch new version via Bower

Hi,
Bower downloads me version 1.0.0 and It does not work with mousetrap plugin. Could you check what is going on ?
Thanks. Regards.

It should work now, sorry for the late answer

:+1:


Compilation Error using this package

Library/PackageCache/ga.fuquna.rosettaui.uitoolkit@0.0.10/Runtime/UnityInternalAccess/Custom/ListViewCustom.cs(104,41): error CS0507: 'ListViewCustom.CreateViewController()': cannot change access modifiers when overriding 'protected' inherited member 'ListView.CreateViewController()'

I use C# 9.0, .NET Framework 4.7.1 on macOS Unity 2022.1.9f1c1

Wait for #16 for Unity2022 support.
Unity2021 is ok.


feature - parent registration filter out non eligible students

Notion ticket link

parent registration - filter out non-eligible participants
loom demo

Implementation description

Added check to see whether each child is eligible age-wise for the specified program

Steps to test

Can alter the ages and see if the button gets disabled accordingly

What should reviewers focus on?

refer to comment

Checklist

[x] My PR name is descriptive and in imperative tense
[x] I have run the linter
[x] I have requested a review from the PL, and/or other devs who have background knowledge on this PR or who will be building on top of this PR

equiv merged with https://github.com/uwblueprint/social-diversity-for-children/commit/7fd51c81004b438daf02144b018a287d505e3bff


Update prepare_data.sh

Related to #142.

Tested on ub-balgrist02, seems to work.
(cf. /Duke/projects/csf_deepseg/SpineGe_debbug/result/sub-balgrist02)


Esme Bentonville Pull Request

Created page for Bentonville, AR, added page to navbar and app.js

LGTM!

Looks even better to me!

Looks so incredibly good to me!


Allow dash in artifactId.  Fixes 79

I've changed to allow - within the artifactId.  The - is then changed to a . within the package structure.
Within templates, the - is removed from package names.
Signed-off-by: David Salter<EMAIL_ADDRESS>

@davidsalter

Checkstyle issues on Test files (indicated on the file)
Add indication that '-' is allowed in artifactId input field (index.xhtml - line 80)

Looks good for the rest.

Thanks.  Ive made the changes as requested.

Hey guys,
This PR seems to have been merged to master, but it seems like artifactIds that contain dashes still do not work. Was wondering if I'm missing something. Is there a different build that will release this?
Thanks

@alexmacavei. PR is indeed merged but there is no release of master done yet. Master = development branch.


GetTimelineByIndex(...) wrapper missing

Hi there,
I miss the wrapper for GetTimelineByIndex(...) in pydavinci/wrappers/project.py.
The implementation of open_timeline(...) already shows a call of  Timeline(self._obj.GetTimelineByIndex(i + 1)), so this looks like a straight forward enhancement. Some pseudo code:
def get_timeline(self, index: int) -> "Timeline":
    """
    Returns timeline by index.
    Args:
        index (int): 1 <= index <= timeline_count
    Returns:
        "Timeline": ``Timeline`` if successful, ``None`` otherwise
    """
    from pydavinci.wrappers.timeline import Timeline

    return Timeline(self._obj.GetTimelineByIndex(index))

It would be helpful if you could add this. Thank you.
Thomas

Hi Thomas,
not implementing that was a conscious choice, since that function is usually used to iterate over timelines and find the one you're looking for, which usually is found using the name.
Can you describe your use case?

Hi Pedro,
while I am working on a video project 'Name', I create versions by adding a postfix like -A, -B, -C etc. to the timelines' name.
Based on the timeline_count property in Project, I iterate over all timelines using project._obj.GetTimelineByIndex(i + 1) as a workaround. Finally, after some filtering, I create a reverse sorted list Name-C, Name-B, Name-A and pick the first entry to name a new copy Name-D.
If there would be another way to get a list of all timelines (maybe I overlooked that), I could also adapt.
Thank you for getting back to me,
Thomas

Hi Pedro,
Thanks for all your hard work on this!
I recently stumbled upon the same issue as Thomas. I frequently need to iterate all timelines and there doesn't seem to be an easy way to get a timeline object without opening a timeline by name. The GetTimelineByIndex() function isn't exactly elegant, but could we do something like this?
Happy to submit a PR 😄 👍
    @property
    def timelines(self) -> list:
        """
        Returns all timelines

        Returns:
            list: timelines
        """

        from pydavinci.wrappers.timeline import Timeline

        timelines = []
        count = self._obj.GetTimelineCount()
        for i in range(count):
            timelines.append(Timeline(self._obj.GetTimelineByIndex(i + 1)))

        return timelines

Sure, @in03 !
Feel free to open a PR! I've been meaning to fix these issues, but work just has gotten to me and I haven't been able to find time.
Also have been meaning to fully support DR 18.
Thank you!

@pedrolabonia
Awesome! Thanks. I should be free to get onto that this Monday.
Also I'm running Resolve 18 atm and so far works a charm. I do like to develop using poetry though, which doesn't allow ignoring required python version unfortunately... so I'm running my projects off my own fork of pydavinci atm. I suppose the only way to juggle support for 17 and 18 without having separate packages is to check at runtime?


Addition of support for advanced analytics

This change adds tools making analysis of Kentik data using pandas DataFrames easier.
Notable changes:

new sub-module analytics has been added (see README for details).
setup.py has been modified to allow specifying analytics option when installing kentik-api. Only when analytics option is requested pandas are installed as dependency (in order to make dependencies for  simple use cases light-weight)
new sub-module utils has been added containing DeviceCache and helper function for loading API credentials from disk.
the Device API class has been extended to support lookup of device interfaces by name.
the AllInterfaces class has been renamed to DeviceInterface to make things little easier to understand and extended to support returning effective speed of an interface
support for connecting via proxy has been added to APIConnector (and KentikAPI)
typing bug in background tasks has been fixed

Missing:

units tests for new analytics functionality (coming soon)

Left a few comments and questions.
One thing that repeats across the source files: using optional containers to express lack of items.
This introduces additional degree of freedom that needs to be handled separately.
What is the idea behind such approach? What is the benefit?

Initializing arguments to mutable objects is problematic in Python (see problem description and canonical solution).)


hari kanani

I`m closing this issue due the related PR is merged and people can still vote for it.


NTR: general term for vesicle tethering

we have
GO:0090522	vesicle tethering involved in exocytosis
but no general vesicle tethering term
(the parent of this is targeting which doesn't seem quite right)?
we have a general terms for fusion and docking
GO:0006906	vesicle fusion
GO:0048278	vesicle docking

The paper I am reading implies that 'tethering' is the first step of fusion for endocytosis. I don't know if this is general bit this isn't how it is currently modelled for endocytosis.

tehtering complexes:
TRAPP complex
Exosome
HOPS/CORVET

Tagging @paolaroncaglia and will discuss with her when she's back.

Need to make sure any changes in definitions are co-ordinated with the definitions of subclasses for synaptic vesicle tethering, docking, priming fusion etc.

useful recent review on tethers
http://www.ncbi.nlm.nih.gov/pubmed/27243008

review also includes model of mechanisms for some tehters

Hi Val,
A quite while back I looked at the D.mel tethering complexes for our Gene Group pages. I am attaching a text doc with the way we structured the tethering complexes and the definitions associated with the groups. This is done from an evoluntionary and functional point of veiw, so may not represent the structure you want in the GO, but it may help.
tethering.txt

tethering.txt
cool, I'm sure that will be useful

GO:0090522 vesicle tethering involved in exocytosis
but no general vesicle tethering term
(the parent of this is targeting which doesn't seem quite right)?

vesicle tethering involved in exocytosis:  "The initial long-distance interaction between secretory vesicles and exocytotic sites on target membranes resulting in the capture and stabilization of vesicles prior to SNARE-mediated docking and fusion."
Can you suggest a definition that is independent of exocytosis?
(Agree that targeting is not a good parent class)

Hi David,
Vesicle tethering occurs at multiple steps... the best summary I have seen is
https://cloud.githubusercontent.com/assets/7359272/17002436/2ca6d79c-4ec3-11e6-8c61-7e0deeb3f75b.jpg
also in
https://github.com/geneontology/go-ontology/issues/12542
Val

How about this:
'vesicle tethering': "The initial interaction between a vesicle membrane and a membrane to which it is targeted for fusion.  This interaction is mediated by tethering factors (or complexes), which bind phosopholipids or proteins in or associated with both membranes. This process is distinct from and prior to interaction between factors involved in fusion."   [PMID:27243008]

that sounds great to me!

label "vesicle tethering"
definition "The initial, indirect interaction between a vesicle membrane and a membrane to which it is targeted for fusion. This interaction is mediated by tethering factors (or complexes), which interact with both membranes.  Interaction can occur via direct binding  to membrane phospholipids or membrane proteins, or via binding to vesicle coat proteins. This process is distinct from and prior to interaction between factors involved in fusion." [PMID:27243008]
SubClassOf:

'cellular component organization'
'part of' some 'vesicle targeting'

Note 'vesicle targeting' part_of (some) 'vesicle-mediated transport'
Question:  Should I be adding the various sub-types of tethering (to different membrane bound organelles) based on PMID:27243008 ?

I think its OK if any existing descendants are under here, and we request as we  require if the correct structure is in place...
GO:0090522 vesicle tethering involved in exocytosis
def needs reworking.

I think its OK if any existing descendants are under here, and we request as we require if the correct structure is in place...

Yep.  Only one I'm aware of is:

GO:0090522 vesicle tethering involved in exocytosis
def needs reworking.

New def:
The initial, indirect interaction between a secretory vesicle membrane and a site of exocytosis in the plasma membrane. This interaction is mediated by tethering factors (or complexes), which interact with both membranes.  Interaction can occur via direct binding  to membrane phospholipids or membrane proteins, or via binding to vesicle coat proteins. This process is distinct from and prior to docking and fusion.


_maxLabelLines undefined in master

Regression from https://github.com/chartjs/Chart.js/pull/5922
_maxLabelLines is set only when tickOpts.display && display, which causes a NaN due to _maxLabelLines being undefined in _tickSize
https://github.com/chartjs/Chart.js/blob/79fc340514cb3d52334adefd5c10175386104605/src/core/core.scale.js#L430
https://github.com/chartjs/Chart.js/blob/79fc340514cb3d52334adefd5c10175386104605/src/core/core.scale.js#L686
This causes tick-drawing.json test to fail on one of my development branches where I have changes to the autoSkip logic. In master this value is undefined, but the test happens to pass. However, I would expect that there are cases on master where we could cause this undefined value to surface in a more user-visible manner depending on the chart being drawn.
I'm not sure about the tickOpts.display && display logic that says Don't bother fitting the ticks if we are not showing them. The ticks, gridlines, and labels all use the same alignment, right? So I think that should have to check gridLines.display, optionTicks.display, and scaleLabel.display and only skip calculating the alignment if all three are false and then we'd have to do the same check in draw to skip drawing them, calculating _autoSkip, etc.

does that fix it for you in your development branch:
var h = me._maxLabelLines * tickFont.lineHeight + padding || 0;

That doesn't seem right to me. Shouldn't we use the actual number of label lines instead of 0?

Not sure what you are working towards, but I don't think you need to consider label height if its not visible.

It looks like there are different options for tick, grid line, and label visibility. What if ticks are not visible, but labels are? I think we do need to consider label height in that case

Though it looks like options.ticks.display actually controls whether the labels are shown and I suppose that we don't have to worry about skipping labels to fit them all in that case, which I think is what you were suggesting
Perhaps we could change from:
var ticks = optionTicks.autoSkip ? me._autoSkip(me.getTicks()) : me.getTicks();

To:
var ticks = optionTicks.display && optionTicks.autoSkip ? me._autoSkip(me.getTicks()) : me.getTicks();


⚠ HawkeUno has degraded performance

In 0f4e863, HawkeUno ($UNO) experienced degraded performance:

HTTP code: 403
Response time: 1538 ms

Resolved: HawkeUno performance has improved in 2a50c46 after 15 minutes.


better smoothing upon scale

Started here https://twitter.com/tuan_kuranes/status/576412830964031488 , for aa text more independent of transformations:

derivatives gives you gradient, to always get correct smoothstep see @cthulhim slides http://www.essentialmath.com/GDC2015/VanVerth_Jim_DrawingAntialiasedEllipse.pdf
or in skia code https://github.com/google/skia/blob/master/src/gpu/effects/GrDistanceFieldTextureEffect.cpp#L87

then

If you're only using uniform scale, you could do smoothstep w/afwidth = sqrt(2)/(2*scale). Needs a uniform, though.
It may be better to compute 1/scale from the view matrix in the vertex shader and pass afwi
The aim is to correct distance upon transformation, if it's a uniform scale, just getting scale should be enough

Adding:
The better the scale info, the more precise the smoothing and more readable the text upon distance to camera Scale from view camera scale, depth position, linearized gl_FragCoord.z, anything that give a precise transform scale applied to the text should help there ?
Also in the very particular case of that demo, effect intended can be checked/simulated using gl_FragCoord (just tested quickly that in firefox shader debugger)
float smooth2 = smooth*sqrt(2.)/(2.*gl_FragCoord.w);
float alpha = smoothstep(0.5 - smooth2, 0.5 + smooth2, dst);

somehow works because perspective projection here (smooth might need some change too to adapt the sdf texture input/scale)
But imho, for a library you might want to implement the most robust method possible, which means handling all cases, including non-uniform scale (think text on clothes (real time physically deformed or on scale animated character, etc.) and for that you might want use the whole derivatives thing from the slides.

I just tested the gl_FragCoord.w trick you mentioned, looks way better. :+1:
I will look into derivatives over the coming days to see what can be done there.

great :)
Make sure to read/discuss on http://www.essentialmath.com/blog/?p=111
That should should help and clarifies

You can use the derivatives, like this:
https://github.com/behdad/glyphy/blob/master/demo/demo-fshader.glsl#L49
In WebGL, you have to enable them using an extension.

Thanks guys. I've been looking into this a bit more, and found a good article on the subject:
2D Shape Rendering (code)
His aastep() looks basically the same as Glyphy's. Now I'm comparing the following two options:
//A
float afwidth = smooth * length(vec2(dFdx(dst), dFdy(dst))) * SQRT2_2;

//B
float afwidth = smooth * SQRT2 / (2.0*gl_FragCoord.w);

The rest of the shader:
#define THRESHOLD 0.5
#define SQRT2 1.4142135623730951
#define SQRT2_2 0.70710678118654757

    ...
    float alpha = smoothstep(THRESHOLD-afwidth, THRESHOLD+afwidth, D);
    gl_FragColor = vec4(color, opacity * alpha);

My crude and unscientific findings:

mipmapping is not a good thing for SDF font textures
gl_FragCoord.w generally looks the best at small sizes, but this could be due to the smooth uniform
gl_FragCoord.w causes the least amount of "flickering" when text scrolls at an angle
at larger sizes dFdx, dFdy leads to very crisp anti-aliasing compared to other approaches

I've also tried Gustavson's explicit interpolation, but have a hard time seeing any differences.
For this particular library I may expose some or all of these options with #ifdefs, and document some of the issues with mipmapping.

The problem with the vec2(dFdx(dst), dFdy(dst)) approximation is that Gustafson is assuming that the gradient of a distance field is always unit length, so vec2(dFdx(dst), dFdy(dst)) is that unit length vector multiplied by the local inverse transform. Mathematically, that's correct, but I've found that dFdx() and dFdy() aren't always that great at computing the gradient at the edges of glyphs, so with an identity transform vec2(dFdx(dst), dFdy(dst)) isn't always unit length. This might be why you see some artifacts with this approach. Skia explicitly normalizes the gradient and multiplies it by the Jacobian because of this. That may be overkill for what you're trying to do, though.

Note that in GLyphy I don't do vec2(dFdx(dst), dFdy(dst)), but vec2(dFdx(texCoord), dFdy(texCoord)) and from that divide by texture size, to get to the pixel size.  It's similar, but different.

This module now uses standard derivatives in the SDF shader, and only uses gl_FragCoord.w as a fallback (rarely needed).
For reference:
https://github.com/Jam3/three-bmfont-text/blob/8cec2386e7778e3fb5d0a578e6f64290ceb5c687/shaders/sdf.js#L44-L51
Thanks again for this discussion.


Error: File not found while running python -m scripts.start

Issue #207
Discussion https://github.com/oppia/oppia/discussions/16281#discussioncomment-3863892

Thanks @hrshkshri! Can you please add instructions for other errors as well which are mentioned in the issue description ?

Hey @Ash-2k3
About the https://github.com/oppia/oppia/discussions/17511#discussioncomment-5125522 which is mentioned in the issue description, we already have this wiki to address the discussion mentioned above. PTAL

@hrshkshri, let's add this in our FAQs page then, so that it can get some more visibility. Also what about other linked discussions in the issue thread ? I would suggest to add them to either our FAQs wiki or troubleshoot wiki accordingly.
One thing to check would be if there is already something similar in either of those pages (To make sure we are not adding same thing again n again.)

My previous comment still applies -- I still don't see all of the linked Github discussion's solution here.
Please cross check properly before asking for a further review. Thanks!

Ahh, @Ash-2k3
Sorry, I thought the discussions which are opened needed to be updated (Updating all of them rn)
Thanks


Many changes: automaton, BFS for controller_reach, etc.

Changes include: renaming of functions (shorter names), disparition of hash to denote cells, introduction of class Automaton. Now SymbolicModel only makes the "interface" between the GridSpace and the Automaton (e.g., with get_xpos_by_state(), etc.). Introduction of class Controller. Use of BFS-like function to compute the controller for reachability.
With this PR, on path-planning-simple:
compute_symmodel_from_controlsystem! terminated with success: 11839413 transitions created
  3.933715 seconds (3.24 M allocations: 107.334 MiB, 0.54% gc time)
compute_controller_reach! started
compute_controller_reach! terminated with success
 26.209912 seconds (67.18 M allocations: 3.162 GiB, 65.94% gc time)

(to be compared with https://github.com/blegat/Dionysos.jl/pull/17)
The allocation for compute_controller_reach! is not satisfactory, I need to check where it comes from (either, it is the allocation of the table with (source, symbol) as entries that take so much allocation, either I messed up somewhere...).

The allocation problem is fixed. Here are the new perfs (here, I runned twice, so it is not entirely fair % the previous one):
compute_symmodel_from_controlsystem! started
compute_symmodel_from_controlsystem! terminated with success: 11839413 transitions created
  3.741930 seconds (1.60 M allocations: 380.680 MiB, 1.15% gc time)
compute_controller_reach! started
compute_controller_reach! terminated with success
  1.796021 seconds (298 allocations: 150.839 MiB, 1.74% gc time)

Interestingly, we have less allocation than the size of npoststable (see compute_controller_reach)...

For info: perfs with pathplanning-hard (runned twice):
compute_symmodel_from_controlsystem! started
compute_symmodel_from_controlsystem! terminated with success: 21661824 transitions created
  8.842761 seconds (3.39 M allocations: 570.536 MiB, 1.88% gc time)
compute_controller_reach! started
compute_controller_reach! terminated with success
  3.247746 seconds (598 allocations: 278.836 MiB)


⚠ Carbubu has degraded performance

In 2a3f6de, Carbubu (https://carbubu.fr) experienced degraded performance:

HTTP code: 200
Response time: 3498 ms

Resolved: Carbubu performance has improved in 89252a3 after 148 days, 23 hours, 55 minutes.


No compatible USB Bluetooth 4.0 device found!

My device is Intel 8265.
It is listed in node-bluetooth-hci-socket.
https://github.com/noble/node-bluetooth-hci-socket/blob/916158269f7e48ddc73d2448d2634e91538c8991/lib/usb.js#L23
{vid: 0x8087, pid: 0x0a2b }, // Intel 8265

Please test latest abandonware's release and report if bug is also present in fork:
https://libraries.io/npm/@abandonware%2Fnoble/usage

Thanks, I have found the fork and everything works great there. Is there any development chat for this library?


Check if we want to add support for code block syntax highlighting

https://github.com/coltrane2ny/Markdig.Wpf.ColorCode
https://github.com/coltrane2ny/ColorCode-WPF
https://github.com/CommunityToolkit/ColorCode-Universal

Added in v3.0.0


include the full request history in the web UI stats, hence /stats/re…

…quests route

forget about this...
Might need something like  "total_rps": s.total_rps, added to the report and memoize removed.  looking into it.


[REVIEW] Notifly

Project link
https://github.com/rexdivakar/Notifly

Thank you for sharing, we will review on a live stream soon 👍

Looks good

Add bot.png (logo) above badges in README.md
Center align badges in README.md
hide discussions tab is not using
add a security policy

Looks great, some feedback...

table of contents not required as generated by github
hide packages if not used
add build badge for GitHub to README


[facebook] Support Instagram embedded videos

Example:
$  youtube-dl -v "https://www.facebook.com/BlueManGroupFans/posts/1747439181956701"   [debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.facebook.com/BlueManGroupFans/posts/1747439181956701']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.15
[debug] Python version 3.4.2 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.9
[debug] exe versions: ffmpeg 3.2.5-1, ffprobe 3.2.5-1, rtmpdump 2.4
[debug] Proxy map: {}
[facebook]<PHONE_NUMBER>956701: Downloading webpage
ERROR: Unable to extract video ids; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/ant/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 784, in extract_info
ie_result = ie.extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 437, in extract
ie_result = self._real_extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 415, in _real_extract
webpage, 'video ids', group='ids'),
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 800, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract video ids; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Thank you in advance. :)

This is actually an Instagram embedded video https://www.instagram.com/p/BbdT4kHAt1G/, which is supported by youtube-dl. The URL can be retrieved via right click -> open link in new tab in Firefox.

Thank you, yan12125. I didn't know about that trick. :)

@antdude if you don't have this issue now then please close the issue

mzfr: Shouldn't youtube-dl detect it for users?

@antdude is right. This is still a valid issue.

Thank you, yan12125. :)

youtube-dl.exe --socket-timeout=30 --verbose https://www.instagram.com/p/Bzk06ekhirOu2XoyYnrpsSDqq49PTrvO8CYihY0/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--socket-timeout=30', '--verbose', 'https://www.instagram.com/p/Bzk06ekhirOu2XoyYnrpsSDqq49PTrvO8CYihY0/']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.11.05
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-93755-ga5387f983d, ffprobe N-93755-ga5387f983d
[debug] Proxy map: {'no': '<IP_ADDRESS>'}
[Instagram] Bzk06ekhirOu2XoyYnrpsSDqq49PTrvO8CYihY0: Downloading webpage
ERROR: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\instagram.py", line 195, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\common.py", line 1123, in _og_search_video_url
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\common.py", line 1014, in _html_search_regex
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\common.py", line 1005, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Instagram stories are also currently unsupported to I'd like to request this too please.


formatter: add text_format_source, relax minimum string length on text_format

This change is motivated by https://github.com/envoyproxy/envoy/pull/14221 where we use a SubstitutionFormatString as a way to define custom HTTP response body rewrites.
Commit Message: formatter: add text_format_source, relax minimum string length on text_format in SubstitutionFormatString
Additional Description: The relaxed field validation on text_format now allows a user to replace something with nothing, e.g. to replace a non-empty HTTP response body with an empty one. The text_format_source field allows for a DataSource to be used to supply text inside of providing it inline.
Risk Level: low (new fields)
Testing: unit test needed for text_format_source
Docs Changes: NEEDED
Release Notes: NEEDED
Platform Specific Features:

Sure, makes sense.

can you check CI?

How about we postpone the deprecation to another PR? This will allow us to move forward. If we do deprecate in this PR, then we'll need to update all of the tests to use inline_string, but then we won't be able to test the empty string case because we haven't related validation there (yet).

You can still test it by wrapping test name with DEPRECATED_FEATURE_TEST, see how other test does. Deprecating doesn't mean removing tests.

Cool let me try that


Giveme

/giveme <x> [y]

can now be used as alias for
/give <your username> <x> [y]

Looks good save for those minor issues.

those 'issues' both didn't come from this PR

True, but it's a good time to fix them, don't you think?

Perhaps, but it's outside of the scope of this PR

Whatever. LGTM.


Position: fixed bug?

I'm trying to use the slider at the bottom of a page but when I set it's container to position: fixed, it breaks everything. Each cell seems to double in size on interaction with the slider.
Is there a workaround for this?
Here's a fiddle to show the problem: http://jsfiddle.net/3893s80b/4/

You need to explicitly state the left and right value. Otherwise it will expand to fill the whole width.
Check this out: http://jsfiddle.net/3893s80b/6/

Not entirely true - I added width: 100% and it fixed the issue too


PreferencesManager.convertPreferences() has been deprecated.

v1.8.2
In console shows the warning:
PreferencesManager.convertPreferences() has been deprecated. Please upgrade to the current Preferences system (https://github.com/adobe/brackets/wiki/Preferences-System#conversion-from-the-pre-36-preferences-system).
    at Object.convertPreferences (file:///opt/Brackets-Electron/resources/app/www/preferences/PreferencesManager.js:323:28)
    at Object.<anonymous> (file:///opt/Brackets-Electron/resources/app/www/utils/Resizer.js:557:24)

Fixed in https://github.com/adobe/brackets/pull/12720


❓ Debugger deactivate

❓ Question
How can I deactivate the debugger?
What you have already tried
When I run any executable that uses Torch-TensorRT, I get a lot of debugger messages:
...
DEBUG: [Torch-TensorRT - Debug Build] - Attempting to run engine (ID: __torch___torchvision_models_resnet_ResNet_trt_engine_)
INFO: [Torch-TensorRT - Debug Build] - Execution profiling is enabled, find results here:
Device selection profile: /tmp/__torch___torchvision_models_resnet_ResNet_trt_engine__device_config_profile.trace
Input packing profile: /tmp/__torch___torchvision_models_resnet_ResNet_trt_engine__input_profile.trace
Output packing profile: /tmp/__torch___torchvision_models_resnet_ResNet_trt_engine__output_profile.trace
TRT enqueue profile: /tmp/__torch___torchvision_models_resnet_ResNet_trt_engine__enqueue_profile.trace
Engine execution profile: /tmp/__torch___torchvision_models_resnet_ResNet_trt_engine__engine_exectuion_profile.trace
DEBUG: [Torch-TensorRT - Debug Build] - Current Device: Device(ID: 0, Name: Xavier, SM Capability: 7.2, Type: GPU)
DEBUG: [Torch-TensorRT - Debug Build] - Requested padding of dimensions to 1 but found 4 dimensions, not going to pad
DEBUG: [Torch-TensorRT - Debug Build] - Input Name: input_0 Shape: [1, 3, 224, 224]
DEBUG: [Torch-TensorRT - Debug Build] - Output Name: output_0 Shape: [1, 1000]
INFO: [Torch-TensorRT - Debug Build] -
...

I think for some reason I am compiling in debug/developer mode (if there is such a thing). I have tried compiling Torch-TensorRT using:
bazel build //:libtorchtrt --platforms //toolchains:jetpack_5.0 --linkopt=-Wl,--strip-all --copt=-O3

I hoped, with the --linkopt=-Wl,--strip-all option to have solved my problem. Is there any way to deactivate the debugger? I am using the C++ API. Is there either anything in the compilation stage, or any routine to integrate in my code that can help me run my code with the logger disabled?
Environment

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

PyTorch Version: 2.0
CPU Architecture: x64
OS (e.g., Linux): Ubuntu 20.04
How you installed PyTorch (conda, pip, libtorch, source): source
Build command you used (if compiling from source): build tutorial
Are you using local sources or building from archives: ref tutorial
Python version: 3.8
CUDA version: 11.4
GPU models and configuration:
Any other relevant information: Jetson AGX Xavier

Additional context
TensorRT version: 1.4 Release version

I'm in the awkward position to admit that I figured it out after 16 minutes. The correct bazel option to deactivate all debugging flags is --compilation_mode=opt. The final building command, hence, is:
bazel build //:libtorchtrt --platforms //toolchains:jetpack_5.0 --compilation_mode=opt


Fix: Ignore disabled clients in monitors when enabled

Some of the monitors did not respect the --ignore-disabled-clients switch. This PR fixes that issue and closes #46 (or, to be exact, its more general case, as that issue only refers to one of the three affected monitors).

I have added tests for the ServiceAccountWithSensitiveRole monitor, but should probably take this opportunity to add tests for the other four monitors as well. So, please hold off on merging for now.

Added test cases for all monitors now. Should probably go back and rewrite some of the older test cases with the techniques I learned now, but if I do that, we will never merge this 😁.


Newbie for SPDM responder validator

Hello,
I've implemented the responder code and my path is SPDM over MCTP over PCIe. I'm planning to use SPDM-responder-validator code to test my implementation.
1)Is there a document that talks about setting up the test code, like compiling, loading, or setting the configuration to talk to the correct responder?
2) I have a setup, PCIe card (storage controller), and have both WINOS and LINUX OS, which OS do you recommend to plugin SPDM-responder-validator?
3)I read that SPDM-responder-validator supports SPDM over MCTP over PCIe - correct?
4) SPDM requester emulator is the code we need to refer to get SPDM responder validator done, is that correct?
Overall I'm looking for guidance to plugin SPDM-responder-validator and establish the connection with the responder
Please Advise

This was discussed at the Monday meeting. @goutham23 if you feel all the questions have been answered please close this issue.


dyld: lazy symbol binding failed: Symbol not found: _netty_jni_util_JNI_OnLoad

Expected behavior
Reactor Netty build to pass with 4.1.98.Final
Actual behavior
Reactor Netty build fails on Mac OS with 4.1.98.Final
dyld: lazy symbol binding failed: Symbol not found: _netty_jni_util_JNI_OnLoad

  Referenced from: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/libnetty_resolver_dns_native_macos_x86_641605797750362329464.dylib

  Expected in: flat namespace

dyld: Symbol not found: _netty_jni_util_JNI_OnLoad
  Referenced from: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/libnetty_resolver_dns_native_macos_x86_641605797750362329464.dylib
  Expected in: flat namespace

https://github.com/reactor/reactor-netty/actions/runs/6263458403/job/17007965364#step:5:94
Steps to reproduce
Minimal yet complete reproducer code (or URL to code)
Netty version
4.1.98.Final
JVM version (e.g. java -version)
Java configuration:
    Distribution: temurin
    Version: 8.0.382+5

OS version (e.g. uname -a)
macOS
  11.7.9

@violetagg I guess this is on intel, correct ?

yep

I am seeing this too.
dyld[64568]: missing symbol called

Seeing same on intel mac os. Tried with java 17 corretto and java <IP_ADDRESS>-tem

Yep seems like something broke while cross-compiling 🤦

Fixed

@normanmaurer thanks


In node the framewaork and config parameter were pleaced wrongly in a…

…nalytics constructor
In analytics class contructor parameters config and framework were pleace wrongly , have changed to correct

Thanks for raising this! This will be available immediately for node-api-analytics >= 1.2.2


9.11.0 offsetX work arounds

Hey guys, 9.11.0 created a problem with some of my tests. My code does math based on sizes of dom nodes. I was previously able to do something like
node.offsetTop = 100;

Now, I'm just getting errors about not having setters. Is there way you are aware of me being able to work around this? For now I'm hard fixing to 9.10.0.
Thanks so much for this library. It is truly great!

How would you do this in browsers, where offsetTop is not settable?

In browsers I don't need to do this as they will have their real value. But this is specifically for unit tests around ReactComponents

Object.defineProperty should be able to help you out in these cases.

What's the correct way to achieve this with Object.defineProperty?
I've tried the following, but it creates an infinite loop (which makes sense):
const node = document.createElement('div');
Object.defineProperty(node, 'offsetTop', {
  set(value) {
    this.offsetTop = value;
  }
});
node.offsetTop = 100;

Hardcoding the property on the global HTMLElement is also not quite what I want.

Object.defineProperty(node, 'offsetTop', {
  value: 100
});

should work.