feat(settings): add users management settings

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix function reference in Asynchronous Functions

Good catch @rodrigoddalmeida, thank you :+1:

:+1:


zh/blog: add upgrade to clusterpedia 0.1.0

Signed-off-by: Iceber Gu<EMAIL_ADDRESS>

https://github.com/clusterpedia-io/website/pull/17


Students.Service

If we want to have user Name in jwt token, we will have to add it in identity service. So it will be passed in SignedUp event

now it looks like this
public class SignedUp : IEvent
    {
        public Guid UserId { get; }
        public string FirstName { get; }
        public string LastName { get; }
        public string Email { get; }
        public string Role { get; }

        public SignedUp(Guid userId, string firstName, string lastName, string email, string role)
        {
            UserId = userId;
            FirstName = firstName;
            LastName = lastName;
            Email = email;
            Role = role;
        }
    }


Attaches matching docs to model names and columns.

NOTE: the first commit is part of PR #1042. Once that is in, I can rebase/squash.
Without specifying anything in a schema.yml file, we now:

Attach docs to models whose doc name matches the model name,
regardless of where they are defined.
Attach column docs following the nomenclature {% docs <model_name>__<column_name> %} (that's two underscores)

I would have liked to use a . instead of __ to indicate model columns, but . has special jinja meaning.
Closes #979.

Thanks for the PR @jakebiesinger. Let's discuss #1042 before following up on this one. I imagine that conversation will impact the eventual discussion for this PR

@jakebiesinger I'm coming around on a syntax like this:
{% docs model_name__column_name %}
... markdown here...
{% enddocs %}

I think the double underscore delimiter is probably not ideal, as those characters can appear in either model names or columns, and would likely break this approach. We could use a . or a :, but I think we'd need to update the docs parser accordingly.
This PR does a fair amount of jinja ast hacking (based on #1042). I'm going to go ahead and close this since it's pretty out of date at this point, but I think this is a great start. Drop me a line in Slack if you're interested in revisiting this and we can discuss some alternative approaches!


Fix build to work with --nolegacy_external_runfiles [phab:D911]

Created by schroederc at 2016-05-27 17:16:00:
Bazel picked neither of the listed paths.  The $(location ...) syntax
returns a path with an extraneous "external/" prefix so I'm just
hard-coding the correct path until further changes in Bazel.
NOTE: --nolegacy_external_runfiles is the default as of
https://github.com/bazelbuild/bazel/commit/bd69849378112c3b05bc218e57cdafca82860710

shahms wrote at 2016-05-27 17:20:28:
It seems like the incorrect $(location) should be file as a bug and fixed in Bazel rather than worked around in Kythe, no?

schroederc wrote at 2016-05-27 17:22:32:

! In (earlier comment), shahms wrote:
It seems like the incorrect $(location) should be file as a bug and fixed in Bazel rather than worked around in Kythe, no?

Yes, but I want the build to work in the meantime.

shahms wrote at 2016-05-27 17:26:12:
So use bazel 0.2.3 rather than kludging a workaround for a broken HEAD.  Alternatively, add --legacy_external_runfiles to .bazelrc.  This is just something we'll have to remove later and will likely forget to do so unless it breaks again.

shahms wrote at 2016-05-27 17:57:24:
I think this should be fine on the provision that it doesn't break when building with Bazel 0.2.3

schroederc wrote at 2016-05-27 18:18:14:

! In (earlier comment), shahms wrote:
I think this should be fine on the provision that it doesn't break when building with Bazel 0.2.3

bazel --bazelrc=/dev/null test //... works for me using v0.2.3 with this change.

shahms wrote at 2016-05-27 18:20:46:
well hot dog

shahms accepted this revision at 2016-05-27 18:20:46

schroederc closed via commit 80ca7d1f4e756616877d5e16ba70e0ebdb7df614 at 2016-05-27 18:24:04


Apply 'small' heuristic to other expressions

We use a heuristic to use 'mixed' layout for match pattern when every clauses are 'small' (fmt-rfcs/expressions.md). Could we apply a similar heuristic to other expressions, like function call or array? I think this is necessary especially for array now that array_horizontal_layout_threshold is gone.

I think we should be careful about using these heuristics, we often get comments from people who don't see why similar expressions get different formatting. We should only apply this where there is a clear win. I think for function calls we currently apply a simple width based heuristic and that could be improved by using a more involved 'small' heuristic.
I would like to apply something to arrays. Applying something close to the match heuristic might be a good start. Ideally we would do something to detect matrix-like arrays and e.g., format a 9 element array as 3 x 3. However, I don't know how this will work in practice (e.g., should a 6 element array be 2x3, 3x2, or 1x6?). Could be fun to investigate.

I think #2196 fixes everything we want to fix here


should support KUBECONFIG environment variable when install easemesh

I have multiple clusters，and change current context by set KUBECONFIG environment variable，but easemesh always
read default config in ' ～/.kube/config' when install.

Thx for your reporting, we will fix it soon.


Fix invalid comma on configuring.md

The json presented has a format error.

Thanks. The source for this is actually in https://github.com/eslint/eslint/blob/master/docs/user-guide/configuring.md. this file is copied here during the build process. Can you submit a PR there?

All right, I'll close this PR here and open one over there.


Module status is completely out of date / incorrect.

Needs to be cleaned up.

Can you elaborate on this?

The content is old and incorrect, and thus needs to be updated

Which module and file are you referring to here? @nonhermitian

https://qiskit.org/documentation/development_strategy.html#modules
But this is something for the lead devs to sort out.

I have killed this in the new docs for 0.25.  Someone can  make a new PR if so desired.


Update de.json

new translations & increased version number

Thanks!!

Hi @trzyglow, I don't know if you'll get a notification just by mentioning you in other issue so, as I don't have any other means to contact you, I'll post this here as I think you'll get a notification doing it.
Someone has made a pull request with quite a few changes to the german translation:
https://github.com/binarynonsense/comic-book-reader/pull/39
Can you take a look at it and give some input there or here? (you can also email me if you feel more comfortable discussing it in private, my email is in my website www.binarynonsense.com) let me know if you are ok with some or all of them. I don't speak german and you created and have been regularly maintaining (thanks a lot for that!) that translation file so as long as you are up to it I consider you the decision maker when it comes to changes to the file :) and don't want you to stop updating it because you don't agree with any change.


Exporting diaPASEF as mgf

Describe the bug
Exporting diaPASEF data to mgf fails - but hdf5 succeeds. I can successfully export ddaPASEF files to mgf.
To Reproduce
$ alphatims export mgf HT_20230705_Belharra_200SPD_Exp1_Yeast_300ng_blank_A1_S1-A1_1_2636.d
2023-08-02 12:10:31> File HT_20230705_Belharra_200SPD_Exp1_Yeast_300ng_blank_A1_S1-A1_1_2636.d is not a ddaPASEF file, nothing to do.

$ alphatims export hdf HT_20230705_Belharra_200SPD_Exp1_Yeast_300ng_blank_A1_S1-A1_1_2636.d
2023-08-02 12:09:36> Successfully wrote TimsTOF data to HT_20230705_Belharra_200SPD_Exp1_Yeast_300ng_blank_A1_S1-A1_1_2636.hdf.

Expected behavior
Export to MGF (I'm trying to create mzMLs)
Logs
*******************
* AlphaTims 1.0.8 *
*******************
2023-08-02 12:10:28> Platform information:
2023-08-02 12:10:28> system        - Windows
2023-08-02 12:10:28> release       - 10
2023-08-02 12:10:28> version       - 10.0.22621
2023-08-02 12:10:28> machine       - AMD64
2023-08-02 12:10:28> processor     - Intel64 Family 6 Model 151 Stepping 2, GenuineIntel
2023-08-02 12:10:28> cpu count     - 20
2023-08-02 12:10:28> cpu frequency - 3600.00 Mhz
2023-08-02 12:10:28> ram           - 16.2/31.9 Gb (available/total)
2023-08-02 12:10:28>
2023-08-02 12:10:28> Python information:
2023-08-02 12:10:28> alphatims  - 1.0.8
2023-08-02 12:10:28> bokeh      -
2023-08-02 12:10:28> click      - 8.1.6
2023-08-02 12:10:28> datashader -
2023-08-02 12:10:28> h5py       - 3.9.0
2023-08-02 12:10:28> hvplot     -
2023-08-02 12:10:28> jinja2     -
2023-08-02 12:10:28> numba      - 0.57.1
2023-08-02 12:10:28> pandas     - 2.0.3
2023-08-02 12:10:28> psutil     - 5.9.5
2023-08-02 12:10:28> python     - 3.10.8
2023-08-02 12:10:28> python-lzf -
2023-08-02 12:10:28> pyzstd     - 0.15.9
2023-08-02 12:10:28> selenium   -
2023-08-02 12:10:28> tqdm       - 4.65.0
2023-08-02 12:10:28>
2023-08-02 12:10:28> Current AlphaTims version is up-to-date with GitHub.
2023-08-02 12:10:28>
2023-08-02 12:10:28> Running CLI command `alphatims export mgf` with parameters:
2023-08-02 12:10:28> bruker_raw_data             - HT_20230705_Belharra_200SPD_Exp1_Yeast_300ng_blank_A1_S1-A1_1_2636.d
2023-08-02 12:10:28> centroiding_window          - 5
2023-08-02 12:10:28> disable_log_stream          - False
2023-08-02 12:10:28> disable_overwrite           - False
2023-08-02 12:10:28> keep_n_most_abundant_peaks  - -1
2023-08-02 12:10:28> log_file                    - D:\Github\scratch\bruker\.env\lib\site-packages\alphatims\logs\log_20230802121028.txt
2023-08-02 12:10:28> threads                     - 19
2023-08-02 12:10:28>
2023-08-02 12:10:29> Importing data from HT_20230705_Belharra_200SPD_Exp1_Yeast_300ng_blank_A1_S1-A1_1_2636.d
2023-08-02 12:10:29> Using HDF import for HT_20230705_Belharra_200SPD_Exp1_Yeast_300ng_blank_A1_S1-A1_1_2636.hdf
2023-08-02 12:10:31> Successfully imported data from HT_20230705_Belharra_200SPD_Exp1_Yeast_300ng_blank_A1_S1-A1_1_2636.d
2023-08-02 12:10:31> File HT_20230705_Belharra_200SPD_Exp1_Yeast_300ng_blank_A1_S1-A1_1_2636.d is not a ddaPASEF file, nothing to do.
2023-08-02 12:10:31> Analysis done in 2.83 seconds.
2023-08-02 12:10:31> WARNING: Temp mmap arrays were written to C:\Users\mlazear\AppData\Local\Temp\temp_mmap_zk1n8ojb. Cleanup of this folder is OS dependant, and might need to be triggered manually! Current space: 174,547,656,704

Screenshots
If applicable, add screenshots to help explain your problem.
Version (please complete the following information):

Installation Type [e.g. One-Click Installer / Pip / Developer]: pip install alphatims in a fresh python venv

Additional context
Happy to transfer the file if needed

Dear @lazear . Cliche as it gets, this is a typical "It's not a bug, it's a feature" situation (see the message itself not a ddaPASEF file, nothing to do.). The mgf and hdf export option serve two very different purposes:

hdf: This format is intended to capture the full raw data, including the indexing. Please note that this is a custom format for AlphaTims (described in the paper). This allows to:

Speed up future data accession.
Make the data more transparant than the native .d folder (specifically the .tdf_bin file)
Pass around data more easily. While OS independent, AlphaTims is able to take minimal advantage of the Bruker SDK to improve conversion from tof indices to mz values and scan indices to im values on Windows/Linux. By exporting an HDF, this improved conversion can also be utilized on all other OS, including macOS.

mgf: Many tools cannot directly use a ddaPASEF data for (proteomic) identification. The primary reason is that spectra in PASEF data are not fully comparable to traditional spectra due to the im separation. The way to make this compatible, is by aggregating PASEF "spectra" from multiple scans (thus with multiple different im values) and projecting these on the mz axis to obtain a traditional MS2 spectrum that purely has mz and intensity values. In DIA, this is not properly defined as windows are not directly related to precursors and aggregation of multiple PASEF scans can be done in any way the user wants. The alternative would be to create mgf files that skip data aggregation all together (this would also allow MS1 scans), but this leads to huge files which are generally cumbersome to work with.

I hope this makes sense. If you want to convert .d directly to mzml files, I think that is actually possible with msconvert, although that is not very fast and indeed results in huge files. Side note, combining AlphaTims with msconvert serves as a "fast" work around to identify ddaPASEF data with sage:
Install environment
conda create -n test python=3.10 -y  # Creates a new cond anv
conda activate test # Activates new conda env
pip install alphatims # Installs AlphaTims
conda install -c bioconda proteowizard -y # Installs Proteowizard, which contains the msconvert command
conda install -c bioconda -c conda-forge sage-proteomics -y # Installs Sage

Running analysis
conda activate test # Activates new conda env
alphatims export mgf sample.d # Converts a sample.d folder with raw DDA data to a sample.mgf in the same folder as sample.d
msconvert sample.mgf # Converts a sample.mgf file into a sample.MzML file in the same folder as the active working directory
sage config.json # Runs sage with parameters from config.json

Hi Sander,
Thanks for the response - that makes sense (I'm still clearly wrapping my head around IM stuff 😃).
I appreciate the customized example haha! I will give it a shot with the workaround.


Uninstalling Mac-CLI

I wanna uninstall Mac-CLI after experiencing full of bugs and errors.
How can I uninstall it?

rm /usr/local/bin/mac


WIP: main: Split non-endpoint bits out

@barthalion this is a very RAW first step, only meant to trigger this conversation.

No complaints, looks great to me. I'll owe you so many beers when this COVID thing is over.

No complaints, looks great to me. I'll owe you so many beers when this COVID thing is over.

Alright! I will add a few more tests tonight to triple check, then we can merge it. After this, we can start cleaning up code separately.

@barthalion added more detailed tests (luckily, because I catched a regression that way) and this should be ready now.


feat(yarn) bower to yarn, related to #1909

Begin switch from bower to yarn, related to #1909
Switch done with the bower-away
(& clean some scripts in package.json, maybe some mistake to revert)

this is really great @PierreBrisorgueil!  🎉
would you like to finalize the remaining work? (I wasn't sure about what you refer to in the 2nd bullet)

thx, but I deleted my bullets, I was missing a moment on the subject
I think i switch to fast to yarn to test it ..
https://medium.com/netscape/npm-5-yarn-killer-ba69737b24d0
and I just read that : https://github.com/meanjs/mean/issues/1087
we need to choose between  ( in order to keep public/dist) :

yarn & symylink between node_module/public & publis/dist
or npm Webpack
or npm Browserify

it think npm Is better, because more used.
for Webpack or Browserify http://blog.namangoel.com/browserify-vs-webpack-js-drama
maybe the better choice is Browserify because we are on a simple stack without angular x

In terms of yarn vs npm I'm using yarn everywhere personally but npm is good too.
I'd go with the npm+webpack

ok, thx, i will quickly end this PR, and see after if i have time to test npm+webpack
ok for you ?
But for the travis log https://travis-ci.org/meanjs/mean/jobs/348762357
it seems like we have another issue relative to https://stackoverflow.com/questions/39541739/chromedriver-error-chrome-version-must-be-52-using-nightwatch

closed to open a new clean PR.


Identify voters + bonus voting refactor [WIP]

Codecov Report

Merging #1213 into master will increase coverage by 8.37%.
The diff coverage is 85.36%.

@@            Coverage Diff             @@
##           master    #1213      +/-   ##
==========================================
+ Coverage   88.35%   96.72%   +8.37%
==========================================
  Files          49       50       +1
  Lines        2284     2323      +39
==========================================
+ Hits         2018     2247     +229
+ Misses        266       76     -190

Continue to review full report at Codecov.

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


Update setup.py to be compatible with latest pip

Hi @valerino, this PR looks like a duplicate of #4, it's newer than yours but more complete. But anyway thanks a lot for your contribution.


How to scale down working

This is my configure
{
  "ReadCapacity": {
    "Min": 2,
    "Max": 20,
    "Increment": {
      "When": {
        "UtilisationIsAbovePercent": 90
      },
      "By": {
        "Units": 2
      },
      "To": {
        "ConsumedPercent": 110
      }
    },
    "Decrement": {
      "When": {
        "UtilisationIsBelowPercent": 30,
        "AfterLastIncrementMinutes": 60,
        "AfterLastDecrementMinutes": 60,
        "UnitAdjustmentGreaterThan": 2
      },
      "To": {
        "ConsumedPercent": 50
      }
    }
  }
}

When I set table in Dynamodb is 25. It will scale down 20. But from 20 it doesn't scale down to 2. I want to autoscale to min value if the table in Dynamo doesn't read any units. How to configure?

Downscaling is rate limited by

the parameters you have set here, so 60 mins after the last increment and decrement, plus utilisation and min adjustment values as defined
a maximum of 4 decrements per day (imposed by aws), so it splits the remaining day into chunks so you don't use up your quota too soon and be stuck on a high rate.

I suspect its one of these but to work out exactly why it didnt drop you may need to debug through it, unfortunately the logging is not enough in all cases.  Closing for now but reopen if you feel there is certainly a bug.


[NOSTR] Change the Chat Tab to display a default chat item in the chat tab list for each contact that is displayed in the contact list

This task to show a default list of chat items.
This list should mimic the list of contacts on the contacts tab. The main difference is that on the chat tab, when the user clicks on the chat item, it will open a chat window where the user can chat to the contact using NOSTR encrypted direct messaging.
Most of this code to list the contacts is present already, and there is WIP code using NIP-04 to send messages, please see link.
A more robust encryption standard (like NIP-44)  is much prefrerred, but the MVP may be sufficient with NIP-04. There is a supporting service https://github.com/GaloyMoney/galoy-nostr that can be forked to include a messaging module in the /src folder if that makes more sense. A successful PR will be a working version able to send and receive messages to other nostr users.
BOUNTY available ⚡⚡⚡
for testing the frontend you can connect the staging environment to http://api-development.flashapp.me:4002/graphql

Bounty has been posted.

This issue is no longer applicable, as we will probably be using the nostr directory as the flash contact list.


Add a command to configure certs if a host is added without a driver

I've added an existing docker host via https://docs.docker.com/machine/#adding-a-host-without-a-driver but am still left to figure out how to configure the certs so I can interact with it.
Please add a command or document how to do this.

+1 I've been confused by this use case as well.

I think I found the next steps:
docker-machine create --url=tcp://<IP_ADDRESS>:2376 custombox
scp docker@<IP_ADDRESS>:~/.docker/ca.pem ~/.docker/machine/machines/custombox/ca.pem
docker $(docker-machine config custombox) ps

@munkyboy I think your steps assume the custombox is a boot2docker image. In my case I've installed a VM with Ubuntu and docker installed but doesn't have ~/.docker and certs. So essentially I'm looking for the proposed new command/docs to generate the required certs and do something similar to your scp.

ah yes, my instructions do assume boot2docker. For reference, you can see how they generate certs here https://github.com/boot2docker/boot2docker/blob/master/rootfs/rootfs/usr/local/etc/init.d/docker#L27

I wonder if docker-machine regenerate-certs blah would work.

Same thing for, can't figure out what to do with (without) the ca.pem on the server.


Include WithGo method config

Is your feature request related to a problem? Please describe.
In gRelay v0.0.x the default config is using goroutines which costs a lot of memory allocation as you can see in  benchmark folder. To improve our future features, we need to do a refactor in our system.
Describe the solution you'd like
We would like to have an interface:
type grelayExec interface {
	exec(service GrelayService, func() (interface{}, error)) (interface{}, error)
}

and an implementation of this interface:
type grelayExecWithGo struct {}

func (e grelayExecWithGo) exec(service GrelayService, func() (interface{}, error)) (interface{}, error) {
	// implementation
}

Change the grelayServiceImpl struct:
type grelayServiceImpl struct {
	// ...
	realExec                    grelayExec
	// ...
}

In NewGrelayService creates grelayExecWithGo:
func NewGrelayService(c GrelayConfig) GrelayService {
	var re grelayExec
	if c.withGo {
		re = grelayExecWithGo{}
	}
	g := &grelayServiceImpl{
		// ...
		realExec: re
	}
	// ...
}

In GrelayConfig include WithGo method and withGo attribute (put withGo = true as default in the future it will be false):
type GrelayConfig struct {
	// ...
	withGo bool
}

func NewGrelayConfig() GrelayConfig {
	return GrelayConfig{
		withGo:           true,
	}
}

func (c GrelayConfig) WithGo() GrelayConfig {
	c.withGo = true
	return c
}

move grelayServiceImpl.exec(f func() (interface{}, error)) to grelayExecWithGo.exec(service GrelayService, func() (interface{}, error)). In the final, we would like to have the grelayServiceImpl.exec(f func() (interface{}, error)) like that:
func (g *grelayServiceImpl) exec(f func() (interface{}, error)) (interface{}, error) {
	return g.realExec.exec(g, f)
}

Solved in #2


react/display-name false positive on ant-design ColumnsType

Tell us about your environment

ESLint Version: 7.5.0
ESLint Plugin React Version: 7.20.3
Node Version: 10.15.3
npm Version: 6.4.1

What parser (default, Babel-ESLint, etc.) are you using?
Please show your full configuration:

Configuration

  extends: [
    'eslint:recommended',
    'plugin:@typescript-eslint/eslint-recommended',
    'plugin:@typescript-eslint/recommended',
    'plugin:react/recommended',
    'plugin:jsx-a11y/recommended',
    // Prettier plugin and recommended rules
    'prettier/@typescript-eslint',
    'plugin:prettier/recommended',
  ],
  rules: {
    // Include .prettierrc.js rules
    'prettier/prettier': ['error', {}, { usePrettierrc: true }],
    'react/prop-types': 'error',
    'react/react-in-jsx-scope': 'error',
    '@typescript-eslint/explicit-function-return-type': 'error',
    '@typescript-eslint/ban-ts-ignore': 'off',
    'jsx-a11y/label-has-associated-control': [
      'error',
      {
        labelComponents: [],
        labelAttributes: [],
        controlComponents: [],
        assert: 'either',
        depth: 25,
      },
    ],
    'jsx-a11y/anchor-is-valid': 'off',
    '@typescript-eslint/no-explicit-any': 'off',
    '@typescript-eslint/explicit-module-boundary-types': 'error',
    '@typescript-eslint/no-unused-vars': 'error',
  },

What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.

...
import { ColumnsType } from "antd/lib/table";
import { Table } from "antd";

const profilesColumns: ColumnsType<any> = [
  {
    title: "ID",
    dataIndex: "id",
    key: "id"
  },
  {
    title: "URL",
    dataIndex: "url",
    key: "url",
    render: (url: string): React.ReactElement => (

lol

    )
  }
];

ReactDOM.render(

,
  document.getElementById("root")
);

eslint --fix . --ext .ts,.tsx,.js,.jsx

What did you expect to happen?
For the Ant Design, render in ColumnsType is not a React component but function, hence the rule should not be applied in this scenario. No error should show up.
What actually happened? Please include the actual, raw output from ESLint.
yarn run v1.17.3
$ eslint --fix . --ext .ts,.tsx,.js,.jsx

/home/user/my-project/components/ComponentTable.tsx
  32:13  error  Component definition is missing display name  react/display-name

✖ 1 problem (1 error, 0 warnings)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Hey, @ljharb may I give this a shot if you don't mind...

Go for it!

@gaara4896  I was going through the rule definition in the code. And it seems like a valid behavior. Even though profilesColumns[1].render is not a React component, but it returns a JSX fragment. And I see in the code that rule would show an error in this case.
@ljharb Please let me know if I'm missing something here.

@gaara4896 | @ljharb  Refer to this part of the test file for more details.

@gaara4896 | @ljharb Refer to this part of the test file for more details.

I think the case you are referring is different. It is pretty common in React to directly export a component (what is happening in the tests), but here render is a render prop and shouldn't be detected as a component.

I think the case you are referring is different. It is pretty common in React to directly export a component (what is happening in the tests), but here render is a render prop and shouldn't be detected as a component.

@jzabala Ah, I see your point. I was seeing this from a whole different point of view. I get it now.

@ljharb | @jzabala  created this PR for this. Please let me know if that works.


Ability to expose terrakube service with custom path

Feature description 💡
I see that we can configure: .Values.ingress.api.path, .Values.ingress.registry.path and .Values.ingress.dex.path but not sure how to configure custom path for particular service.
If we would be able to expose api under /api and registry under /registry potentially we could use only one domain instead of three different ones.
Anything else?
No response

Hello @dawidmalina
The API and Registry require to be in the root.
I explained that a little bit in this issue, it is restriction when using the Terraform/tofu cli and the well known endpoint.
https://github.com/AzBuilder/terrakube/issues/452#issuecomment-1642407907

For the ingress configuration you could check the default values here
https://github.com/AzBuilder/terrakube-helm-chart/blob/a1526fe5e3e35dc8a1f12ed6dcce87afc394f2fa/charts/terrakube/values.yaml#L226
In the helm chart repository there is one folder with a couple of examples too

Thank you for the explanation. I am not familiar with terraform endpoints but /.well-known/terraform.json returns different values (api, registry) or exactly same in this case? You are using nginx as web (ui) and with nginx we can do almost everything :)

The endpoint expose different terraform protocols.
The API expose the login.v1, state.v2,  tfe.v2 that are use use when you do a terraform login and when you use the Terraform remote state and cloud block information.
The registry expose the login.v1, modules.v1 and providers.v1 information those are used when the Terraform CLI downloads modules and providers

@alfespa17 i just check what endpoints are exposed with tfe and from what I see they are using one front (domain):

modules.v1: /api/registry/v1/modules/
providers.v1: /api/registry/v1/providers/
state.v2: /api/v2/
tfe.v2: api/v2/
tfe.v2.1: /api/v2/
tfe.2.2: /api/v2/
versions.v1: https://checkpoint-api.hashicorp.com/v1/versions/

Could we use similar approach?


(Bug) Contribution page-Minimum Contribution field: incorrect text after crowdsale has been finalized

Closes #1030

Add validation when the number is not finite (Aka 'infinity')
Fix some linting issues

@mariano-aguero
minContribution field should contain text "You are not allowed " if crowdsale has ended but not finalized

@mariano-aguero
Dutch:

min contribution field still contains value instead text "You are not allowed"
button Contribute enabled after finalization

@dennis00010011b Added suggested behavior

@mariano-aguero
Dutch: min contribution field still contains value instead text "You are not allowed"  IF crowdsale was finalized before time was expired(all tokens were sold )

@dennis00010011b Before the last commit, it worked with respect to the finalization of the crowdsale (end time). Now add a validation regarding the finalization from the manage section.
Could you check it ?

@vbaranov
Tested it .No issues were found

Probably fix issue #1029

I made the changes suggested by @fernandomg . Can you check is OK @vbaranov ? Fer is on vacations. Thanks in advance

@mariano-aguero
Dutch auction: countdown timer has status "Finalized " before start of crowdsale. As a result investors are not able to buy.

@dennis00010011b Good catch, The is_finalized property is not standardized in the contracts (same index for both), so I added a validation depending on the type of contract


Add test set for CTC dataset

After checking the samples, I realised that the test splits don't have labels. I would still add the downloads for them, in case we want to use them for something in future.


only one lamp shows up

So I connected the lamp in the kitchen. My other AEG Wiz Markos doesn't show up.
At least not in Homebridge. The Wiz App works fine and I even tried addressing the lamp via the IP address.
They are in the same subnet.

Unfortunately the AEG Wiz Markos is currently not supported. While I suspect the existing API might just work, I don't have one to test with (nor do I have the unique identifier of the product).
Please feel free to play with it and submit a PR though!


ENHO: Split code into separate files

Similar to class enhancements where enhanced methods are stored as individual files, this change separates the code for implicit enhancements (type HOOK_IMPL) into abap-files.
This makes the code more readable (instead of being embedded and escaped into XML) and allows for linting.
Note: The solution can still deserialize the old format but will serialize enhancements in the new format.
Old format:

New format:

https://github.com/abapGit-tests/ENHO
main branch = old format
hook_impl branch = new format (merge to main after this PR is merged)

A: Suggest keeping the source ABAP code as is, let the developer decide what goes into it. Currently, if the developer removes the top comment, deserialization will break without an error?
B: Instead of re-using the SOURCE field, suggest adding a new field for the file name
<SOURCE>
  <item>FILE:2b2cade4</item>
</SOURCE>

eg
<SOURCE_FILE>FILE:2b2cade4</SOURCE>

I think it will be easier to parse, and determine if its using the old or new format

I can't use a new field since it's a standard structure. I put the file names into a separate block.
The comment for the full name is helpful if you just browse the code online, for example. I changed the deserialize so it takes only the code between the enhancement statements and ignores the rest.


Account per world

As requested by @reyyan987 in https://github.com/poggit-orphanage/EconomyS/issues/76
This should involve creating a schema called "world", with the following config:
schema:
  '#type': The type of schema. Possible values are "basic", "currency", "world".
  type: world
  '##': In the world schema, each player has one account for each world.

There are several possible configurations, but I am not sure if they are actually useful:

World groups: Worlds are grouped such that player uses the same account in the worlds in the same group
World whitelist/blacklist: Player cannot use any accounts at all in these worlds

Is this implemented or you are making this issue so you remember that lol

It is not implemented, but it should be very easy to add support for this. In fact, the Schema interface is designed to support the World use case, which is why I lately worked on lazy account creation.

Good

@reyyan987 See #35

Good boy

Is pmmp Discord unban request allowed sir


who knows how to play minigo with v17 in Sabaki ?

have you already got our c++ engine running?  If so, running the gtp mode and passing it any of our v17 .pb files will work fine.
If not, the easiest way is probably to get the python engine running, although it will be slower.
At that point, it might be easier to play it via our minigui UI

could you give a detail example to show how to use c++ engine and python engine and how to play it via minigui UI ?
Thanks very much


bugfix: input.visual converter error for input.live/input.recorded

Fix crashing bug when node is just input.live/input.recorded with no configurations.
Bug caused by node.replace("live", "visual"), node.replace("recorded", "visual") as Python string replace is not in-place.

Sorry, hang on with the vetting, let me fix something else first.


setting display: none on first tick can cause issues for children

Setting display: none here:
https://github.com/twitter-fabric/velocity-react/blob/master/velocity-transition-group.js#L153
has the potential to cause issues with any components that happen to be under a VelocityTransitionGroup that run style based code as part of ComponentDidMount. For example we have list items that check their width and size the text inside accordingly. If these list items are a child of a parent that uses VelocityTransitionGroup to animate in they will come in at their minimum size as they are getting a width of 0. Then the next time they render they will size themselves correctly.

That line is in there because, due to React's TransitionGroup's API, we
have no way of getting all of the children that are entering or leaving
other than collecting them and waiting a tick to know that the collection
is complete. We want to batch all of the child animations in one go in
order to support Velocity options like stagger.
Without that display: none or an alternate means of hiding, elements would
flash in for that tick before the animation started.
I could imagine a position: absolute / opacity: 0 combo, or height: 0, or
something else that would keep the element from appearing. Would one of
those work for your use case? Do you have ideas about a good means of
parameterization?
On Thu, Dec 10, 2015 at 5:09 PM, Chris Drackett<EMAIL_ADDRESS>wrote:

Setting display: none here:
https://github.com/twitter-fabric/velocity-react/blob/master/velocity-transition-group.js#L153
has the potential to cause issues with any components that happen to be
under a VelocityTransitionGroup that run style based code as part of
ComponentDidMount. For example we have list items that check their width
and size the text inside accordingly. If these list items are a child of a
parent that uses VelocityTransitionGroup to animate in they will come in
at their minimum size as they are getting a width of 0. Then the next
time they render they will size themselves correctly.
—
Reply to this email directly or view it on GitHub
https://github.com/twitter-fabric/velocity-react/issues/61.

for my current use case anything that hides the element while keeping its physical measurements the same would be ideal. So I think either absolute/opacity and visibility: hidden should both provide that.

Looking at a fix in #62

Live in 1.1.2.


[SPARK-10532][EC2]Added --profile option to specify names profiles

Can one of the admins verify this patch?

@teramonagi Could you clarify what these profiles are meant to be ? Are they IAM profiles or something else ?
cc @nchammas

@shivaram
"profiles" give us the way that you can specify the set of credentials you want to use when you initialize a connection to AWS.
You can keep multiple sets of credentials in the same credentials files using different profile names.
For example, you can use --profile option to use aws cli tool.

http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html

+1
using AWS profile is considered to be best practice: https://blogs.aws.amazon.com/security/post/Tx3D6U6WSFGOK2H/A-New-and-Standardized-Way-to-Manage-Credentials-in-the-AWS-SDKs

This seems reasonable to me. Might be nice to have @nchammas take a quick peek. If I don't hear otherwise, I'll merge this by Monday.

LGTM. I would update the PR description though so when this gets merged in the commit message has the rationale behind this change.

Jenkins, this is ok to test.

I'm going to run the Python style checker, then will merge this and update the PR description myself. Thanks @teramonagi.

Merged build triggered.

Merged build started.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43999/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #44004 has started for PR 8696 at commit 5152fa4.

Test build #44004 has finished for PR 8696 at commit 5152fa4.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44004/
Test FAILed.

@JihongMA Thanks a lot Josh!!!


Include Invoke-ScriptAnalyzer

Create custom rules and utilize the Invoke-ScriptAnalyzer command to make sure the script conforms to a standard way of written code.

Did in #454

Did in #454


Android: Create t-addresses in demo app

To be able to use t-addresses in the wallet and be able to back them up effectively, we need to be able to generate t-addresses from the same seed as we use for our z-addresses
requirements:

[ ] Only one t-address per wallet for now, no need to rotate addresses
[ ] Creating a t-address should not require a new seed to be generated (old wallets can upgrade easily)
[ ] The same seed used to back up a Sapling address should also be able to backup the t-address

Figured out how to do this and I have it working in the SDK. It needs to be improved and vetted by core before it can ship but it's a huge step in the right direction.


‘UINT32_MAX’ undeclared problem in Linux

Problems: UINT32_MAX’ undeclared problem in Linux
Why I post this issue?
I use make to build the program, and found this problem:
$ make
cc -o kilo kilo.c -Wall -W -pedantic -std=c99
kilo.c: In function ‘editorUpdateRow’:
kilo.c:567:21: error: ‘UINT32_MAX’ undeclared (first use in this function); did you mean ‘__UINT32_MAX__’?
     if (allocsize > UINT32_MAX) {
                     ^~~~~~~~~~
                     __UINT32_MAX__
kilo.c:567:21: note: each undeclared identifier is reported only once for each function it appears in
Makefile:4: recipe for target 'kilo' failed
make: *** [kilo] Error 1

My environment:
$ uname -a
Linux beaglebone 4.9.78-ti-r94 #1 SMP PREEMPT Fri Jan 26 21:26:24 UTC 2018 armv7l GNU/Linux

How I fix it ?
Just include <stdint.h> and the program compiled correctly with no errors.
Test kilo on MacOS
I found no erorr when compiling.
And my environment on MacOS is:
$ uname -a
Darwin unknowntpo.local 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64

@unknowntpo
this is merged. can be closed


Fetching data

Hi I'm trying to fetch data from supabase via react expo but I'm not getting any data back do you perhaps know what the issue is or can you guide me maybe I'm misunderstanding some concepts. The same code works on reactJS

can you share your code?

Hi sorry I actually found the solution, mistyped something. Thank you for your response.


[v3] Custom class to the tag

For what version of Nuxt UI are you asking this question?
v3.0.0-alpha.x
Description
Is there a way we can add a custom class to the  tag <th>,  in my case I would like to place w-28 so that it has a fixed width

Why don't you use :ui="{ th: 'w-28' }"?

Why don't you use :ui="{ th: 'w-28' }"?

It is because doing it that way applies to all the columns. In this case I want to apply it only to the Ammount column.
also try this

however it does not apply to td

in column size I think it is already planned here #2441
https://github.com/nuxt/ui/issues/2441#issuecomment-2435036804

in column size I think it is already planned here #2441 #2441 (comment)

This would only apply to the size, however I have been in the situation in which it is required to use another class such as text-right and more


[Prediction] text_prediction shows only top 16 words with tag

Hi,
I am doing receipt understanding. I can able to get the text.txt, text_box.txt files as an input to the model for predicting.
after running the code run_seq_labelling.py (as --do predict). I got text_prediction.txt but it has only first 16 lines with tags. I don't know why I didn't get the remaining text in that.
Is there any solution?
text_prediction.txt file :-
tan PRODUCT
woon PRODUCT
yann PRODUCT
INDAH PRODUCT
GIFT AMOUNT
& PRODUCT
HOME PRODUCT
BECO PRODUCT
27, PRODUCT
JALAN AMOUNT
DEDAP AMOUNT
13, AMOUNT
TANAN AMOUNT
JOHOR AMOUNT
JAYA, OTHERS
81100 PRODUCT

@SandyRSK Can you please show more details about what command you are running?

This is probably due to max_seq_length.


Maven finds POM of v1.2 broken

hi,
when trying to build project within maven with jmxwrapper 1.2 as a dependency, I get this error:
The POM for com.udojava:jmxwrapper:jar:1.2 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model
Non-parseable POM /Users/dcsordas/.m2/repository/com/udojava/jmxwrapper/1.2/jmxwrapper-1.2.pom: expected = after attribute name (position: TEXT seen ...meta name="selected-link" value="repo_source" data-pjax-transient>... @32:72)  @ line 32, column 72
and build breaks on jmxwrapper symbols
downgrading jmxwrapper dependency to 1.1 results in a nice project build
could you please look into this?

Are you trying to build jmxwrapper using maven, or are you linking it with a dependency to your project?

I'm using it as a dependency

Finally, I managed to get my linux box running with my new wifi, so I set up a test project and have no problems using the repo.
For the test project, I am using the following pom.xml. Maybe you should check yours for possible errors:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.udojava.tests</groupId>
  <artifactId>maventest</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>maventest</name>
  <url>http://maven.apache.org</url>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <repositories>
     <repository>
        <id>uklimaschewski-maven-repo</id>
        <name>Maven repository from uklimaschewski on GitHub</name>
        <url>https://raw.github.com/uklimaschewski/maven-repo/master</url>
        <layout>default</layout>
     </repository>
  </repositories>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.udojava</groupId>
      <artifactId>jmxwrapper</artifactId>
      <version>1.2</version>
    </dependency>
  </dependencies>
</project>

Here's a snipped of the log, to show that it is downloaded:
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/uk/maventest/src/main/resources
Downloading: https://raw.github.com/uklimaschewski/maven-repo/master/com/udojava/jmxwrapper/1.2/jmxwrapper-1.2.pom
642b downloaded  (jmxwrapper-1.2.pom)
Downloading: https://raw.github.com/uklimaschewski/maven-repo/master/com/udojava/jmxwrapper/1.2/jmxwrapper-1.2.jar
14K downloaded  (jmxwrapper-1.2.jar)


Research decisions making in mobs and other horizontals --DH

Decisions in mobs and other horizontals
Sources

Team Decision Making (YT)
The Democracy Project (David Graeber)
Software-Profession-Resources Board

Notes
Mob Decisions

least privileged voice

flip the relationship of power and experience
experienced voices have to explain themselves more

flip a coin

"let one be tried"

roman/thumbs voting

see 7 levels of consent article

draw/visualise the options

helps create shared understanding
highlights gaps, mismatched understanding
diversifies medium of interaction (humans are a diverse bunch)

decide enough to get going

decisions become easier the more we know

General Assemblies / Democracy as Freedom from Coercion

Democracy, then, is not necessarily defined by majority voting: it is, rather, the process of collective deliberation on the principle of full and equal participation. Democratic creativity, in turn, is most likely to occur when one has a diverse collection of participants, drawn from very different traditions, with an urgent need to improvise some means to regulate their common affairs, free of a preexisting overarching authority.

differences are a common resource to be respected, rather than an impediment to pursuing common goals.

an approach to politics, whatever particular institutional form it takes, that similarly sees political deliberation as problem solving rather than as a struggle between fixed interests.

consensus/consent based instead of majority rule
open to all who agrees to

shared principles of the group
GA process (in itself a principle)

Everyone who feels they have something relevant to say about a proposal ought to have their perspectives carefully considered. Everyone who has strong concerns or objections should have those concerns or objections taken into account and, if possible, addressed in the final form of the proposal. Anyone who feels a proposal violates a fundamental principle shared by the group should have the opportunity to veto (“block”) that proposal. No one should be forced to go along with a decision to which they did not assent.

working groups

revocable delegation
subsidiarity i.e. only raise decisions to GA if needed

DO NOT SUBMIT A PROPOSAL FOR CONSENSUS UNLESS THERE IS A COMPELLING REASON TO DO SO Consensus process only works if it is combined with a principle of radical decentralization. I really can’t stress this enough. If there is any silver lining to the cumbersome nature of formal consensus process, it’s precisely this: that it discourages people bringing proposals before a General Assembly or Spokescouncil or other large group unless they really have to. It’s always better, if possible, to make decisions in smaller groups: working groups, affinity groups, collectives. Initiative should rise from below. One should not feel one needs authorization from anyone, even the General Assembly (which is everyone), unless it would be in some way harmful to proceed without.

rituals and awareness needed to avoid:

implicit power cliques
accumulation of power
exhausting endless meetings
bad actors

examples:

rotate responsibilities ('share all burdens')
intersperse entertainment with meetings
change format of meeting medium (e.g. song, poetry instead of talking)
maintain information transparency

In any egalitarian group, information tends to become the limited resource: if hierarchies develop, it’ll be because some people have ways of finding out what’s happening that others do not.

Misc

Francesca Polletta, Freedom Is an Endless Meeting: Democracy in American Social Movements

In the years immediately leading up to the American Revolution, the Patriots made much use of mass meetings, as well as calling up “the mob” or “mobility” (as they liked to call it) for mass actions

rule of thumb for prioritising: cost of delay
remember to validate product assumptions
if change is cheap decisions are also cheap
horizontal groups sometimes benefit from having an interface to interact with and protect the horizontal structure from the hierarchical/bureaucratic outside


Update readme.python.md

https://github.com/Azure/sdk-release-request/issues/4765

Hi @msyyc , Thanks for approving.
I see you enabled auto-merge, but the sdk for go check is failing.
We are only interested in updating the python sdk. How can we address this from here?
Thanks for your help :)

@raych1 Please help fix Go failure.

There is a known autorest issue that caused the Go generation failure.
@ArthurMa1978 , please help force merge this PR.

There is a known autorest issue that caused the Go generation failure. @lirenhe , please help force merge this PR.

I don't have the permission for force merge now.


Please update the version on this page

[Enter feedback here]
The current version available is 1.0.6028.2200 and the page still showing 1.0.5.x versions.

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

ID: 3cb10266-d3ca-31b1-31a0-bd4952e6736b
Version Independent ID: 9adcd5ff-db9f-44f9-27f6-7c689839267b
Content: What's new in the Azure Virtual Desktop Agent? - Azure
Content Source: articles/virtual-desktop/whats-new-agent.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@askaresh
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@Heidilohr
Can you please check and add your comments on this doc update request as applicable.

It's already updated.
#please-close


bibtex & latex: handle & in title

@MJedr thanks for the PR, can we double check that both cases are returning a valid result?

What do you mean? Serialization is correct cause we get the response for the request.

I mean if the output it's a valid latex and bibtex for this corner cases


[CheckableGroup] Update driver methods

Currently
CheckableGroupDriver has selectByIndex( index ) and  selectByValue( value ), both of which accept either a index/value or array of indexes/values.
Problem

In a RadioGroup (which is based on CheckableGroup and uses CheckableGroupDriver), setting multiple indexes/values is not possible. So selectByIndex( index ) and  selectByValue( value ) are not valid as implemented.
we don’t have a way to toggle the values of the checkboxes/radios in the group

Wanted

[ ] implement separate CheckboxGroup and RadioGroup drivers with different behaviors
[ ] ~deprecate selectByIndex( index ),  selectByValue( value )~
[ ]  add toggleByIndex( index ) and  toggleByValue( value ) – the behavior should be to toggle the checkbox/radio value(s)

....or, maybe we should implement specific drivers for CheckboxGroup and RadioGroup?

Updated the issue description above.
Regarding this:

deprecate selectByIndex( index ), selectByValue( value )

I think we can just leave this for now and just implement it with different behaviors for RadioGroups and CheckboxGroups


Enable parallel dartdoc step in cicd

Description

Uses a flame-dartdoc-action version that allows choosing a custom package where the action should be executed
Adds the get-packages-paths job, which exposes all package folder paths inside this repo
Updates dartdoc job to use a matrix strategy and run the flame-dartdoc-action for each package in parallel.

Example

To see these changes in action, check https://github.com/mugbug/flame/actions/runs/1352167954

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors and are passing (See Contributor Guide).
[ ] My PR does not decrease the code coverage, or I have a very special case and explained on the PR description why this PR decreases the coverage.
[ ] I updated/added relevant documentation (doc comments with ///) and updated/added examples in doc/examples.
[ ] I have formatted my code with ./scripts/format.sh and the Flame analyzer (./scripts/analyze.sh) does not report any problems.
[ ] I read and followed the Flame Style Guide.
[ ] I have added a description of the change under [next] in CHANGELOG.md.
[x] I removed the Draft status, by clicking on the Ready for review button in this PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flame users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md).
[x] No, this is not a breaking change.

Related Issues

This solves: https://github.com/flame-engine/flame/issues/954
Depends on: https://github.com/flame-engine/flame-dartdoc-action/pull/1

I'm not sure on why that happened, but @erickzanardo's hypothesis is a good one.


Update runc to a618ab5a0186905949ee463dbb762c3d23e

Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

Codecov Report

Merging #2116 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2116   +/-   ##
=======================================
  Coverage   45.53%   45.53%
=======================================
  Files          80       80
  Lines        8726     8726
=======================================
  Hits         3973     3973
  Misses       4107     4107
  Partials      646      646

Flag
Coverage Δ

#linux
50.24% <ø> (ø)
:arrow_up:

#windows
41.09% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add a command line argument to allow a custom certificate or no SSL verification

Add a command line argument so that ssl_verify can be passed from the command line argument to the JoeSandbox constructor. That would allow to use the library in a development setting where a self-signed server certificate is used.

Thanks for the feature request.
We just released version 3.7 which adds support for --no-check-certificate to disable certificate checking.


Batch inference for ITM

I have multiple images and one text and I want to measure the ITM score and sort the images based on their similarity to the single text, Is there a batch inference option in BLIP2? Thanks!

The model should support batch inference by itself. Just duplicate the text as a list. Then feed the model with batched images and text list. This will give you a list of matching scores as output.

It works! Thank you so much!

The model supports batch inference by itself. Just duplicate the text as a list. Then feed the model with batched images and text list. This will give you a list of matching scores as output.该模型本身支持批量推理。只需将文本复制为列表即可。然后向模型提供批量图像和文本列表。这将为您提供匹配分数的列表作为输出。
Sorry to bother you，I also encountered the same problem, would you please share the code? Thank you!

Hi, and I changed the padding to True in line 64 (lavis/models/blip2_models/blip2_image_text_matching.py).  The updated code is as follows:
text = self.tokenizer(
    caption,
    truncation=True,
    max_length=self.max_txt_len,
    padding=True,
    return_tensors="pt",
).to(image.device)

Batch inference for ITM:
model, vis_processors, text_processors = load_model_and_preprocess("blip2_image_text_matching", "coco", device=device, is_eval=True)

class ImageCaptionDataset(Dataset):
    def __init__(self, image_root, ann_root):
        self.annotation = json.load(open(ann_root,'r'))
        self.img_dir = image_root
        self.img_names = os.listdir(self.img_dir)
        self.vis_processors = vis_processors
        self.text_processors = text_processors

    def __len__(self):
        return len(self.annotation)

    def __getitem__(self, index):
        ann = self.annotation[index]
        image_path = os.path.join(self.img_dir,ann['image_id'])
        image = Image.open(image_path).convert('RGB')
        caption = ann['blip2']
        img = self.vis_processors["eval"](image).unsqueeze(0)
        txt = self.text_processors["eval"](caption)

        data = {'img':img, 'txt':txt }
        return data

def my_collate_fn(batch):
    images = []
    captions = []
    images = torch.stack([item['img'] for item in batch])
    captions = [item['txt'] for item in batch]
    return {'text_input': captions, 'image':images}

dataset = ImageCaptionDataset(img_dir,ann_root)
dataloader = DataLoader(dataset, batch_size=8, num_workers=1, collate_fn=my_collate_fn)

for batch in dataloader:
    batch['image'] = batch['image'].squeeze(1).to(device)
    itc_output = model({"image": batch['image'], "text_input":  batch['text_input']}, match_head="itc")
    itm_output = model({"image": batch['image'], "text_input":  batch['text_input']}, match_head="itm")


using min($var1, $var2) for compare > check when possible

ref https://3v4l.org/5TqGI

i dont understand. what's the problem with > ?

nothing, just to utilize there is function for that

No thanks. I don't see any benefit here.


Photography assets

[x] Create moodboard of types of photos we need
[x] Insert placeholder stock photos in layout
[x] Work with Communications to identify assets we can use
[ ] Set up AWS S3 instance to store assets for dev, staging, and production

Example photos are located in Google Drive:
STAR DRIVE > Brand > Photos > examples_NOT_FOR_PRODUCTION

Closing this issue, as the AWS task can be put in a new issue if needed in future.


Cross Origin Request when Access-Control-Allow-Origin is set to *

Currently I get the following error when attempting a Cross Origin Request:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource ... (Reason: CORS header 'Access-Control-Allow-Origin' does not match '*').
I only get this error when I set then credentials: 'include' option without it the request works but an authentication cookie I have won't submit.
Just wondering if there was a workaround for this or if this is just the browsers behavior when Access-Control-Allow-Origin was set to *. I've been searching for an answer and can't find one.

Important note: when responding to a credentialed request,  server must specify a domain, and cannot use wild carding.

— https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Requests_with_credentials

Thanks. Much appreciated!


[security/attestation] The ownership state shall be encoded in the attestation measurements.

As part of the ownership unlock operation, ROM_EXT verifies the unlock command and updates the device state to UNOWNED. The device proceeds with the boot flow and reports the unlock result to the kernel via BOOT_SERVICES shared memory.
This issue is tracks any attestation updates required as a result of this change. The current proposal is to capture the ownership state in the attestation measurements, so that it is easier to verify the state of the device.
The kernel operating in UNOWNED mode may request an attestation update from the ROM_EXT via BOOT_SERVICES.

@moidx , just to confirm, this should mean that the non-volatile memory containing owner state should NOT be modifiable by software downstream of ROM_EXT right?
At the moment, are you thinking about storing this in general data partition or info partition?

@tjaychen, that is correct. We are currently planning to store this data in an info partition.
+@gkelly


Instructions out of date for Update usage metrics report credentials

The instructions for updating the usage metrics report credentials are out of date on this page, both the text and screenshots. For example, after selecting settings in the top bar you first need to choose "Manage connections and gateways" and then navigate to the model etc.

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

ID: f16f558c-a397-7d10-b953-6c8972df9478
Version Independent ID: ffc58ae8-f232-f6d8-f0ea-e4d6001e0e3d
Content: Monitor usage metrics in workspaces (preview) - Power BI
Content Source: powerbi-docs/collaborate-share/service-modern-usage-metrics.md
Service: powerbi
Sub-service: pbi-collaborate-share
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @swebs. This issue has been assigned to the doc author for review.


Add Docker Healthcheck

Add Docker Healthcheck to prevent connexion refused when scaling up Kong containers in a Docker swarm service.

Just realized --start-period is only available on Docker 17.05 tho..  So how should we handle this ?

for now leave out --start-period the healthchecks prior to 17.05 just loiter in starting for a bit longer then ideal which is fine IMO

If I remove --start-period, healthcheck of the first Kong container will fail plenty of times before it gets ready. So swarm will kill the container before he finish running the migrations.

You sure? Earlier versions of Docker / Docker swarm what I would see in services that take time to start is the healthcheck would idle at healthcheck: starting

Well it is what I was experiencing yesterday with Docker 17.05.0-ce, build 89658be without the --start-period option. I don't exactly at which moment healthcheck exit "starting" mode and start counting failures. What triggers the change of state ?

Base on what endeepak

Miss-clicked!  Based on what Endeepak mentionned here https://github.com/Mashape/docker-kong/issues/89 I guess I could drop the pull request.
Anyone have interest that I keep it open ?


Dataset loading error

@polochau
when I try to train unitable using large dataset synthtabnet and pubnet I got error on dataset json file.
I hope you make data cleaning and remove those issue.

could you please share that python file or label json file ?

Hi, the annotation error above was from the original SynthTabNet dataset. You can reformat it based on our dataset annotation instructions here.


Add meyskens to reviewers and approvers

What this PR does / why we need it:
Adding myself to the reviewers and approvers to be able to merge PRs.
Release note:

NONE

/retest

/lgtm
/approve

/retest

/test pull-cert-manager-bazel
/test pull-cert-manager-chart
/test pull-cert-manager-e2e-v1-15

verify-links failures will be gone after #2657
/hold

/hold cancel
/retest


ci: 202 is Accepted for a non-dead link.

The Markdown Link Check job occasionally checks a link on rubydoc.info which needs to be rendered. In that case a HTTP 202 is returned.
However that leads to an error, e.g. here:
ERROR: 1 dead links found!
[✖] https://www.rubydoc.info/gems/opentelemetry-propagator-ottrace → Status: 202

A HTTP 202 should be Accepted.

Any idea why the action is failing?

ERROR: 1 dead links found!
[✖] https://opensource.org/licenses/MIT → Status: 403

I curl the link returns HTTP/2 301. I guess the ci/action exceed the rate limit for the opensource.org?

ERROR: 1 dead links found!
[✖] https://opensource.org/licenses/MIT → Status: 403

I curl the link returns HTTP/2 301. I guess the ci/action exceed the rate limit for the opensource.org?

I would expect a 429 in that case..? Anyway, I see the author of the action recommends switching to Linkspector. So maybe we should close this PR and put some effort into migrating to Linkspector?

Probably.
Another thing we may want to try is only run the action if it detects changes to markdown files.


Rewrite CloudFormation files in YAML

Should be easier to read.
Also, might want to look at cross-stack references for the ECS stack.
https://aws.amazon.com/blogs/aws/aws-cloudformation-update-yaml-cross-stack-references-simplified-substitution/

Done as of 0.10.0


Import gets stuck importing CRD file for Emissary Ingress

Description of the bug:
When trying to import Emissary Ingress as a CRD, it gets stuck; likely because the CRD file also includes "normal" resources, such as Namespace, etc as well as CRDs.
There is also full --- yaml sections which are just comments. Potentially this could cause the issue also
Reproduction Steps:
Import https://app.getambassador.io/yaml/emissary/3.7.2/emissary-crds.yaml

This is :bug: Bug Report

Freaky. The file is definitely not something we can consume with cdk8s import because it contains resource declaration, not just CRDs. cdk8s import is for code generation based on a schema, it does not generate a manifest, so there's nothing it can do with resource declarations.
I'm not sure this is the reason it gets stuck, there might nome some circular references going on here. Needs research.
In any case we should not get stuck, we should either error out, or ignore whatever is reasonable to ignore and complete the operation.


AttributeError: 'NoneType' object has no attribute 'vocab_size'

Hi,
I am trying to decode some texts with a finetuned mT5 model, the command looks like the following. The reason of my using test.gin was because when using operative gin file, there would be a mismatching error on line adafactor_decay_rate_pow.offset = 0, so I commented that line.
python -m t5.models.mesh_transformer_main \
--tpu="${TPU_NAME}" \
--gcp_project="${PROJECT}" \
  --tpu_zone="${ZONE}" \
  --model_dir="${MODEL_DIR}" \
  --gin_file="${MODEL_DIR}/test.gin" \
  --gin_file="infer.gin" \
  --gin_file="sample_decode.gin" \
  --gin_param="input_filename = '${INPUT_FILE}'"\
  --gin_param="output_filename = '/tmp/outputs.txt'"\
  --gin_param="utils.tpu_mesh_shape.tpu_topology = '${TPU_SIZE}'"\
  --gin_param="infer_checkpoint_step = 1003000"

And the error was:
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.7/dist-packages/t5/models/mesh_transformer_main.py", line 264, in <module>
    console_entry_point()
  File "/usr/local/lib/python3.7/dist-packages/t5/models/mesh_transformer_main.py", line 261, in console_entry_point
    app.run(main)
  File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 300, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "/usr/local/lib/python3.7/dist-packages/t5/models/mesh_transformer_main.py", line 255, in main
    model_dir=FLAGS.model_dir)
  File "/usr/local/lib/python3.7/dist-packages/gin/config.py", line 1078, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/usr/local/lib/python3.7/dist-packages/gin/utils.py", line 49, in augment_exception_message_and_reraise
    six.raise_from(proxy.with_traceback(exception.__traceback__), None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.7/dist-packages/gin/config.py", line 1055, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "/usr/local/lib/python3.7/dist-packages/mesh_tensorflow/transformer/utils.py", line 2292, in run
    mesh_devices=mesh_devices)
  File "/usr/local/lib/python3.7/dist-packages/mesh_tensorflow/transformer/utils.py", line 1526, in get_estimator
    input_vocab_size=inputs_vocabulary(vocabulary).vocab_size,
AttributeError: 'NoneType' object has no attribute 'vocab_size'
  In call to configurable 'run' (<function run at 0x7fc3f511bbf8>)

I have tried adding the following params but none of them worked.
--module_import="multilingual_t5.tasks"
--gin_location_prefix="multilingual_t5/gin/"
--gin_param="tsv_dataset_fn.vocabulary = SentencePieceVocabulary()"
--gin_param="SentencePieceVocabulary.sentencepiece_model_file = 'gs://t5-data/vocabs/mc4.250000.100extra/sentencepiece.model'"

Do you have idea on this one?
Any help would be appreciated, thanks!

Is there any way I can import the vocabulary of a predefined mixture or load the model 'gs://t5-data/vocabs/mc4.250000.100extra/sentencepiece.model'?

The module import flag should be sufficient. Are you calling from within
the main repo directory?
On Mon, Dec 14, 2020 at 8:48 AM Shang-Yu Su<EMAIL_ADDRESS>wrote:

Is there any way I can import the vocabulary of a predefined mixture or
load the model
'gs://t5-data/vocabs/mc4.250000.100extra/sentencepiece.model'?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google-research/multilingual-t5/issues/37#issuecomment-744451384,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIJV2DLBGL247QG6KAQUO3SUYJSFANCNFSM4U2RRUYA
.

hi @adarob facing the same issue. I'm using t5 (0.7.1) but somehow the imports are not working

hi @adarob facing the same issue. I'm using t5 (0.7.1) but somehow the imports are not working


Loading glitch on page refresh

This shows up for a few seconds on when page is refreshed or loads for the first time. Can this be avoided?

I'm not sure. All of the Lovelace "modules" that I use do that. The scripts do not.
It looks like an issue in the way Lovelace loads the modules.
^ I'm referring to the type when you include the card resources in ui-lovelace.yaml. This is a module, the problem doesn't occur for cards that have a js type.
Have you tried searching in the forum? I haven't had time to look into that yet. I'd appreciate some help in debugging this ;)

I had this same issue when I first started using this card which was a few days ago. I have several custom items in lovelace and the button car was my last. I thought as a shot in the dark maybe since its listed last, it loads last?
So i ordered it second and it has not done it since. The only other thing I did was eliminate one custom card I am not currently using. My love lace looks like this now:
resources:

url: /local/slider-entity-row.js
type: js
url: /local/simple-thermostat/simple-thermostat.js?v=1
type: module
url: /local/button-card.js
type: module
url: /local/custom-lovelace/upcoming-media-card/upcoming-media-card.js?v=0.3.3
type: js
url: /local/mini-media-player-bundle.js?v=0.9.5
type: module
url: /local/tracker-card.js?v=0.1.5
type: js
#- url: /local/custom-lovelace/thermostat-card/thermostat-card.js?v=0.1.1
#type: module
#- url: /local/surveillance-card.js?v=0.0.1
#type: module

All modules have always worked without this issue. I did # out the surveillance card at the same time.
I dont know if its just dumb luck, but like i said, its been fine since that change.


can be replaced with { condition && statement }

https://github.com/techbless/simple-community/blob/0ea968259d0e2d3c2787060795f49ac7688a3fa9/frontend/src/pages/Login.tsx#L21
It can be replaced like this
{ isLoggedIn && <Redirect to='/' /> }

Done.


Update gem

Pull Request Test Coverage Report for Build 81

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.679%

Totals

Change from base Build 78:
0.0%

Covered Lines:
621

Relevant Lines:
623

💛  - Coveralls


License?

Hi!
I noticed that you haven't included a license for your project, can you please consider doing it so we know how it can be used (as an open source project I hope).

I thought the first line of z.sh:
# Copyright (c) 2009 rupa deadwyler under the WTFPL license
was referring to http://www.wtfpl.net/ as the license?

Good catch, I must have missed it only looking in the readme and looking for a LICENSE file. Thanks


Authorino operator (control plane)

Although Authorino's code has been bundled using the Operator SDK and uses https://pkg.go.dev/sigs.k8s.io/controller-runtime for the implementation of its Kubernetes Custom Controllers, it is not really an operator according to any of the examples of an operator's role described in the Operator pattern concept definition page.
Authorino is essentially about the data plane, which happens to use Operator SDK tooling to define a Custom Resource Definition (CRD) and watch corresponding Custom Resources (CRs) in a control loop, to fulfil its purpose of being an authorization service. Having a proper Authorino operator for the control plane nevertheless can significantly improve the experience of installing, configuring, deploying, maintaining and upgrading Authorino instances.
This issue is a placeholder for the proposal of an Authorino operator separate from the authorization service.
Could moreover help solve issues such as: #101, #127, #128, #97.
Depends on: #125

With regards of upgrading we should create an issue on the authorino operator repo to discuss it further more, what do you think @guicassolato and @eguzki ?

Agreed.

Thanks to @jjaferson, we now have https://github.com/kuadrant/authorino-operator.


Exception Route [login] not defined. when navigating to second panel.

Package
filament/filament
Package Version
3.2
Laravel Version
11.5
Livewire Version
No response
PHP Version
PHP Version 8.3.6
Problem description
Exception Route [login] not defined. when navigating to second panel.
Expected behavior
Filament login page
Steps to reproduce
Installed a new Laravel app.
Installed Filament: composer require filament/filament:"^3.2" -W
Ran install: php artisan filament:install --panels - named the first panel "tenant", changed path to ''
Created second panel: php artisan make:filament-panel landlord
Navigating to the "tenant" panel, http://merlin, I am redirected to http://merlin/login as expected, and see the login page.
Navigating to the second panel, http://merlin/landlord, I get the exception.
:~/Projects/merlin$ composer update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove

@php artisan filament:upgrade
  ⇂ public/js/filament/forms/components/color-picker.js
  ⇂ public/js/filament/forms/components/date-time-picker.js
  ⇂ public/js/filament/forms/components/file-upload.js
  ⇂ public/js/filament/forms/components/key-value.js
  ⇂ public/js/filament/forms/components/markdown-editor.js
  ⇂ public/js/filament/forms/components/rich-editor.js
  ⇂ public/js/filament/forms/components/select.js
  ⇂ public/js/filament/forms/components/tags-input.js
  ⇂ public/js/filament/forms/components/textarea.js
  ⇂ public/js/filament/tables/components/table.js
  ⇂ public/js/filament/widgets/components/chart.js
  ⇂ public/js/filament/widgets/components/stats-overview/stat/chart.js
  ⇂ public/js/filament/filament/app.js
  ⇂ public/js/filament/filament/echo.js
  ⇂ public/js/filament/notifications/notifications.js
  ⇂ public/js/filament/support/async-alpine.js
  ⇂ public/js/filament/support/support.js
  ⇂ public/css/filament/forms/forms.css
  ⇂ public/css/filament/support/support.css
  ⇂ public/css/filament/filament/app.css

   INFO  Successfully published assets!

   INFO  Configuration cache cleared successfully.

   INFO  Route cache cleared successfully.

   INFO  Compiled views cleared successfully.

   INFO  Successfully upgraded!

Reproduction repository
https://github.com/nettsite/merlin.git
Relevant log output
No response

I forgot to mention I added spatie/laravel-multitenancy, but it isn't implemented.

Thank you, that works.
Should the php artisan make:filament-panel landlord not add the login() function, in the same way that ```php artisan filament:install --panels`` does?

Thanks @declum


Annotating classes of util package

Annotated the classes MathArrays.java, MedianOf3PivotingStrategy.java and MultidimensionalCounter.java

@kelloggm @panacekcz

@kelloggm It is ready for review again.

@panacekcz made the changes you suggested

Pull requests merged:
https://github.com/Kakarot-SSJ4/commons-math/pull/3
https://github.com/Kakarot-SSJ4/commons-math/pull/1

@kelloggm @panacekcz This is ready to be merged, if you approve all the changes.

@panacekcz updated with the review


Running the project locally

@nerdeveloper how do i run this project locally?

Hey @miracleonyenma please the solution is on #8


Disambiguation options for PlainDate.toZonedDateTime, PlainTime.toZonedDateTime

Temporal.PlainDateTime.prototype.toZonedDateTime() has an options argument with which you can choose the disambiguation strategy if the PlainDateTime doesn't exist, or exists twice, in the given time zone.
Temporal.PlainDate and Temporal.PlainTime's toZonedDateTime() methods don't have this options argument. The disambiguation strategy is always "compatible" when calling these methods.
Advantages:
Here's an example of when this might be needed:
const timeZone = Temporal.TimeZone.from('America/Vancouver');
const plainDate = Temporal.PlainDate.from('2021-03-14');
const plainTime = Temporal.PlainTime.from('02:30');

plainDate.toZonedDateTime({ timeZone, plainTime })
plainTime.toZonedDateTime({ timeZone, plainDate })

Both of these return a ZonedDateTime of 2021-03-14T03:30:00-07:00[America/Vancouver]. It's not possible to get 01:30 as it would be with PlainDateTime.
Of course, this is easily worked around by creating a PlainDateTime first:
plainDate.toPlainDateTime(plainTime).toZonedDateTime(timeZone, { disambiguation: 'earlier' })

This returns a ZonedDateTime of 2021-03-14T01:30:00-08:00[America/Vancouver] as expected.
Concerns:
TBD
Prior art:

PlainDateTime.toZonedDateTime()

Constraints / corner cases:
TBD

Another advantage is the consistency between the toZonedDateTime methods in different types. I happened to be in the situation to want to use the disambiguation option with PlainDate.prototype.toZonedDateTime, and it was confusing to me that the option existed in some of these seemingly similar conversion methods but not in all of them. Even after I learned that the option was supported in PlainDateTime’s toZonedDateTime method but not in PlainDate or PlainTime’s toZonedDateTime method, this feels arbitrary and inconsistent to me.
(To be fair, part of the confusion was caused by a documentation bug tc39/proposal-temporal#2717, which was later fixed, so future people in the same situation might not be as confused as me.)


Allow Polygot to function in item descriptions

I am running a PF2e game and I have been trying to add books to the game in another language as an item. The closest solution I have found is to make a journal entry that the item links to. Sadly, for this to function the PC with the book within their inventory must have the observer permission for the journal entry. The issue with this is that I have to allow the journal entry to be viewable and this allows them to see the structure of my journal folders and they can view this journal without the item in their inventory. If Polygot were to function within the item descriptions I could functionally make books/notes to leave around my maps.

It can't be done. The owner of the item can edit it even if they don't know the language, and the text loses its script once it's being edited.
Example:

make a Journal and write something in a language, then click the rune button so you see the script.
Give owner perm to a player
Log in as that player and check the journal.
Edit it.

As for your folder problem, maybe make a new folder just for books?


Persist data with Room

Hello Googlers!
When I try to make Unit 7, button in lesson 3 ('Background work with WorkManager') redirects to Room lessons
I'm not sure if it is an bug, or that is because I completed Room lessons in 'Android Basics in Kotlin' course, instead of  'New! Android Basics with Compose' course
Anyway, have a lovely day!
URL of codelab:

Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found?
Describe the problem
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hello @RaczkaKamil,
Good catch! Thanks a lot for reporting this. We'll definitely will fix.


Navigating between routes returns notFoundComponent

Describe the bug
When using the router and navigating from the base address into the child routes, the system behaves as expected.
But when we open the browser into a specifc route and then navigates to another route, the router returns the component of notFoundComponent.
Your Example Website or App
https://github.com/ziongh/example-farm-tanstack-reatom
Steps to Reproduce the Bug or Issue

Go to http://localhost:9000/dashboard/todo
On the left menu click on the menu "About/About 1"
You will see that it appears "Dashboard Not Found" (the component of notFoundComponent).

Expected behavior
As a user, I would expect the route to open normally.
Screenshots or Videos
No response
Platform

OS: Ubuntu 22.04 inside WSL2 (windows)
Browser: Chrome 124.0.6367.91

Additional context
No response

Your example app is not loadable in Stackblitz for us to observe and assess the behaviour described.
Please add a minimal reproducible example for us to be able to correctly observe what's happening. You can create a minimal example using the Router file-based stackblitz starter.
Here are some guidelines you can follow when creating a minimal reproducible example: https://stackoverflow.com/help/mcve

That's because I'm using Farm that is written in rust, and Stackblitz does not support native code.
However you can use the github codespace to run the code (pnpm install  then pnpm start). Or build on your local machine too.
I can make a different branch using Vite instead of farm, but the result is the same.

Similar to my comment here, the reproducible example needs to be just enough to recreate the error, without all extra dependencies, unneeded code, and other fluff.

Sorry about that, It seems that the error reported here (and here: #1539) is related to using preact instead of react.

@ziongh ahhhh, understood. Closing for now.
If you run into this again using React, and want to reopen this issue ping me here, or simply create a new issue referencing this issue.


txr: 295 -> 296

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/txr/versions.
meta.description for txr is: Original, New Programming Language for Convenient Data Munging
meta.homepage for txr is: https://nongnu.org/txr
meta.changelog for txr is: https://www.kylheku.com/cgit/txr/tree/RELNOTES?h=txr-296
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 296 with grep in /nix/store/wqrv0q637ggqdn12cambpzk0ch93flj5-txr-296
found 296 in filename of file in /nix/store/wqrv0q637ggqdn12cambpzk0ch93flj5-txr-296

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

txr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wqrv0q637ggqdn12cambpzk0ch93flj5-txr-296 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A txr https://github.com/r-ryantm/nixpkgs/archive/0fd3ceaa502d391be8c4215c061ab897b9ddf3bd.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0fd3ceaa502d391be8c4215c061ab897b9ddf3bd#txr

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wqrv0q637ggqdn12cambpzk0ch93flj5-txr-296
ls -la /nix/store/wqrv0q637ggqdn12cambpzk0ch93flj5-txr-296/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

txr

Maintainer pings
cc @AndersonTorres @dtzWill for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Automated deployment due to PR merge crashed the production dashboard

The process is crashed since PR #1 for issue #3 was merged. This resulted in an 500 HTTP Status Code.
2016-01-12T04:13:15.914175+00:00 heroku[web.1]: State changed from crashed to starting
2016-01-12T04:13:19.815132+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e production -p 29320`
2016-01-12T04:13:23.281979+00:00 app[web.1]: /app/jobs/slack-integration.rb:4:in `+': no implicit conversion of nil into String (TypeError)
2016-01-12T04:13:23.281991+00:00 app[web.1]: 	from /app/jobs/slack-integration.rb:4:in `<top (required)>'
2016-01-12T04:13:23.281993+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/backports-3.6.7/lib/backports/std_lib.rb:9:in `require'
2016-01-12T04:13:23.281994+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/backports-3.6.7/lib/backports/std_lib.rb:9:in `require_with_backports'
2016-01-12T04:13:23.281994+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/dashing-1.3.4/lib/dashing/app.rb:157:in `block in require_glob'
2016-01-12T04:13:23.281996+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/dashing-1.3.4/lib/dashing/app.rb:156:in `require_glob'
2016-01-12T04:13:23.281995+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/dashing-1.3.4/lib/dashing/app.rb:156:in `each'
2016-01-12T04:13:23.281996+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/dashing-1.3.4/lib/dashing/app.rb:167:in `<top (required)>'
2016-01-12T04:13:23.281997+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/dashing-1.3.4/lib/dashing.rb:3:in `require'
2016-01-12T04:13:23.281999+00:00 app[web.1]: 	from config.ru:1:in `require'
2016-01-12T04:13:23.281998+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/dashing-1.3.4/lib/dashing.rb:3:in `<top (required)>'
2016-01-12T04:13:23.282001+00:00 app[web.1]: 	from config.ru:1:in `block in <main>'
2016-01-12T04:13:23.282002+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'
2016-01-12T04:13:23.282002+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'
2016-01-12T04:13:23.282004+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `eval'
2016-01-12T04:13:23.282003+00:00 app[web.1]: 	from config.ru:1:in `<main>'
2016-01-12T04:13:23.282003+00:00 app[web.1]: 	from config.ru:1:in `new'
2016-01-12T04:13:23.282005+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `load'
2016-01-12T04:13:23.282006+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:182:in `load_rackup_config'
2016-01-12T04:13:23.282008+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:72:in `start'
2016-01-12T04:13:23.282008+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.4/lib/thin/runner.rb:200:in `run_command'
2016-01-12T04:13:23.282010+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.4/lib/thin/runner.rb:156:in `run!'
2016-01-12T04:13:23.282011+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.4/bin/thin:6:in `<top (required)>'
2016-01-12T04:13:23.282013+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `load'
2016-01-12T04:13:23.282013+00:00 app[web.1]: 	from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `<main>'
2016-01-12T04:13:24.136625+00:00 heroku[web.1]: Process exited with status 1
2016-01-12T04:13:24.144001+00:00 heroku[web.1]: State changed from starting to crashed

Definition of Done

[ ] figure out if PR was faulty, details in the comments below
[ ] figure out if enough documentation was given in PR #1 and if general information is missing, add it to the readme according to #16

PR was fine, slack widget didn't have a valid API token, thus crashing the Ruby part of the widget, which ultimately led to the site not even loading.
We (I) need to state, if we (I) need any config vars set.


Engine 1.70.0 is missing polyfills

Forum thread: https://forum.playcanvas.com/t/engine-release-v1-70-0/35666/9
polyfill that is missing (applies to few other I checked): https://github.com/playcanvas/engine/blob/main/src/polyfill/object-entries.js
If I search the string from polyfill Object.fromEntries() requires a single iterable argument, I can find it in 1.69.0 but not 1.70.0
https://code.playcanvas.com/playcanvas-1.69.0.js
https://code.playcanvas.com/playcanvas-1.70.0.js

It's in 1.69.2. We have a flag that only adds polyfills for UMD builds ignoring ESM, maybe this is not being set correctly

node resolve might be stripping them out since the files arnt referenced


Subscription returns undefined with superjson

If is use superjson as transformer, this procedure:
open: publicProcedure.subscription(async () => {
  return observable<{ open: boolean }>((emit) => {
    const setFileopenVisible = (data: boolean) => {
      console.log("setFileopenVisible", data);
        emit.next({ open: data });
    };
    ee.on("setFileopenVisible", setFileopenVisible);
    return () => {
      ee.off("setFileopenVisible", setFileopenVisible);
    };
  })
}),

returns undefined when called here:
trpc.ui.openFileVisible.open.useSubscription(undefined, {
  onData: (data) => {
    console.log("data", data);
  },
});

The data is properly returned, if I remove the transformer from the api and the client.
Using electron-trpc version 0.4.2.

I am seeing this as well. Did you find a workaround?

A fix for this is out in<EMAIL_ADDRESS>which includes updated dependencies.
Let me know if you run into any more issues!


How can I retrain this Yolo model for transfer learning?

Hi I want to use this TinyYolo model but want it only for some other specified categories.
Can you give me some instructions on how can I retrain and compile it?

@WuXinyang2012, you can take a look at the original Caffe YOLO repo. https://github.com/xingwangsfu/caffe-yolo or other re implementations.


Bugs in sway. Trouble in sway or wlc?

Software versions:
wayland r1985.20742b7-1
weston r5604.e3a582f-1
wayland-protocols r114.642dd7a-1
sway 1994.de79fee-1
wlc 992.f8bb91b-1
qt5-base 5.7.0-6
kate 16.08.3-1
firefox 50.0-1
qt5-wayland 5.7.0-3
xorg-server-xwayland 1.18.4-1
gtk3 3.22.4-1

If run Qt application with wayland backend, menu will be displayed incorrect.

But in weston all ok.
Bug with cursor?
https://sr.ht/-ssd.webm you can see here, before 8 sec cursor is normal. But after 8 sec his changed. I have this bug too. It's so sad.
ublock in firefox. Dispay incorrect.

Black screen always when connected external monitor.

And how can i help you for fixing bugs?

+1 problem in sway/wlc.
https://github.com/sboli/twmn/issues/59
On weston twmn work...But not in sway. Maybe change wlc to libweston and contribute it, if wlc work not good?

libweston does not yet suit sway's needs. I'm not sure if it'll suit anyone's needs to be honest.

Ok, i understand.
What to do now? Maybe try run apps with strace and attach logs?

Swaybar leak. Sometimes swaybar used 1G+ memory. I'm logging that later.

The swaybar leak is known, don't worry about reporting it. It's pango-related, if you want to investigate it.
Giving us endless logs and bug reports probably aren't going to help your niche problems. You should learn how to debug them yourself and send patches.

Any progress? :-(

wlc was deprecated in October


bm-option can't be disabled

It would be great if there was a way to disable bm-option so you could have disabled options like normal select boxes.

Should be doable. I will look into it as soon as I get some free time.

@k-fish  Options can now be disabled. You just need to set the isDisabled property of a bm-option to true.
{{#bm-option data=item key="name" isDisabled=item.disabled}}
  {{item.name}}
{{/bm-option}}

You can check out the demo page to see it working.
Its available in the master branch.

Publish to npm.