Typescript decorators

Hi,
I am experiencing some weird stuff.
I have a multi module TS project with path-mapping in my tsconfig.json.
Some of my Models are in one module, some (like User) are in another module.
When I try to declare something like:
  @ForeignKey(() => User)
  @Column
  createdByUserId: number

  @BelongsTo(() => User)
  createdByUser: User

I get something like:
error TS2345: Argument of type '() => typeof User' is not assignable to parameter of type 'ModelClassGetter'.
  Type 'typeof User' is not assignable to type 'typeof Model'.
    Types of property 'schema' are incompatible.
      Type '<T extends Model<T>>(this: new () => T, schema: string, options?: sequelize.SchemaOptions | undef...' is not assignable to type '<T extends Model<T>>(this: new () => T, schema: string, options?: sequelize.SchemaOptions | undef...'. Two different types with this name exist, but they are unrelated.
        The 'this' types of each signature are incompatible.
          Type 'new () => T' is not assignable to type 'new () => Model<{}>'.
            Type 'T' is not assignable to type 'Model<{}>'.
              Type 'Model<T>' is not assignable to type 'Model<{}>'.
                Types of property '$add' are incompatible.
                  Type '<R extends Model<R>>(propertyKey: string, instances: R | R[], options?: IAssociationActionOptions...' is not assignable to type '<R extends Model<R>>(propertyKey: string, instances: R | R[], options?: IAssociationActionOptions...'. Two different types with this name exist, but they are unrelated.
                    Types of parameters 'instances' and 'instances' are incompatible.
                      Type 'R | R[]' is not assignable to type 'Model<R> | Model<R>[]'.
                        Type 'R' is not assignable to type 'Model<R> | Model<R>[]'.
                          Type 'Model<R>' is not assignable to type 'Model<R> | Model<R>[]'.
                            Type 'Model<R>' is not assignable to type 'Model<R>[]'.
                              Type 'R' is not assignable to type 'Model<R>[]'.
                                Type 'Model<R>' is not assignable to type 'Model<R>[]'.
                                  Property 'length' is missing in type 'Model<R>'.

And the compiler takes forever to do its job.
All works fine if I keep them in the same module, so my guess this might be a TS issue.
Any tips on why this might happen?

In case someone experiences this issue, do NOT forget to declare the property type if you don't set it in the @Column signature.
In a nutshell, this will raise an error (asking to specify column type:
  @Column
  @CreatedAt
  public CreatedAt;

While this won't:
  @Column
  @CreatedAt
  public CreatedAt: Date;


In pytorch week02_classification seminar bonus part don't work

In pytorch seminar version bonus part don't work, I suppose that part work only for keras version
def explain(model, sample, col_name='Title'):
    """ Computes the effect each word had on model predictions """
    sample = dict(sample)
    sample_col_tokens = [tokens[token_to_id.get(tok, 0)] for tok in sample[col_name].split()]
    data_drop_one_token = pd.DataFrame([sample] * (len(sample_col_tokens) + 1))

    for drop_i in range(len(sample_col_tokens)):
        data_drop_one_token.loc[drop_i, col_name] = ' '.join(UNK if i == drop_i else tok
                                                   for i, tok in enumerate(sample_col_tokens))

    *predictions_drop_one_token, baseline_pred = model.predict(make_batch(data_drop_one_token))[:, 0]#???????????????
    diffs = baseline_pred - predictions_drop_one_token
    return list(zip(sample_col_tokens, diffs))

I fixed it, may it be useful for someone :smile:
def explain(model, sample, col_name='Title'):
    """ Computes the effect each word had on model predictions """
    sample = dict(sample)
    sample_col_tokens = [tokens[token_to_id.get(tok, 0)] for tok in sample[col_name].split()]
    data_drop_one_token = pd.DataFrame([sample] * (len(sample_col_tokens) + 1))

    for drop_i in range(len(sample_col_tokens)):
        data_drop_one_token.loc[drop_i, col_name] = ' '.join(UNK if i == drop_i else tok
                                                   for i, tok in enumerate(sample_col_tokens))

    model.eval()
    model.to('cpu')
    with torch.no_grad():
      *predictions_drop_one_token, baseline_pred = model(make_batch(data_drop_one_token))

    diffs = baseline_pred - torch.Tensor(predictions_drop_one_token)
    return list(zip(sample_col_tokens, diffs.numpy().tolist()))

Upd:
similarly also need to be corrected here
i = np.random.randint(len(data))
print("Index:", i)
model.eval()
print("Salary (gbp):", np.expm1(model(make_batch(data.iloc[i: i+1])).detach().numpy()))
tokens_and_weights = explain(model, data.loc[i], "Title")
draw_html([(tok, weight * 5) for tok, weight in tokens_and_weights], font_style='font-size:20px;');

tokens_and_weights = explain(model, data.loc[i], "FullDescription")
draw_html([(tok, weight * 10) for tok, weight in tokens_and_weights]);

and it's seems good)


Armor Help

Is the armor percentage the percent of the whole armor bar? Like, if a piece of armor has 20% armor, does it have armor equivalent to 20% of the armor bar (i.e. 4 points)?

It reduces the total damage by 20%.
But I haven't tested this feature in game and some other adjustments may affect the result.

In the past we've setup "Event" armor for the sole purpose of protecting one of my staff members to make them able to survive multiple attackers, and I can tell you that having a full set of Chainmail Armor set at 50% is able to endure quite a beating.
For player armor we usually set the individual pieces in the 20-35% range, with our current higher-end weapons set anywhere in the 20-30dmg range. On top of that we have the base player's health set to 2-rows, and all of that combined makes for a fairly well balanced PVP (we're an RPG server).
For a long time I had wondered how specifically it calculates and applies the % of Armor, but in the end gave up trying to figure it out and just went with the old trial-and-error approach. In the very very beginning (over 2 years ago) we had Skeleton Armor set to 75% (on roughly each of the 4 pieces, Iron BTW), but it would make you invincible against everything, so it ended up getting dropped down to 20%. I can't say for certain but I think that not even the type of armor matters, it's solely the Armor% that it is based on.

@Formula350 If multiple armors are equipped, the damage reduction will stack. Four 20% armors will make the damage be 0.8 * 0.8 * 0.8 * 0.8 ≈ 41% of original. And four 75% armors will be 0.25 * 0.25 * 0.25 * 0.25 ≈ 0.39% which is almost invincible

Okay, thanks. I have another problem though with leather armor. If I use leather armor pieces as the 'item' for a rpgitem, it automatically dyes it black. Is there a way to prevent this or change the color of the 'item'?

You can change the item's color by using a Hex colorcode value (there are various sites on Google that are good for this, just search for "Hex color codes"), but it's a bit tricky and more importantly a bit annoying, as it requires the server to restart before the color is applied (in all my past experience). Since /rpgitem reload is a more recent addition, that might do the trick, but I don't know how safe it is to use when you get up there in created items or online players. (long ago I could use PlugMan to safely reload RPG after I made an edit to the Items.yml, but later on it started causing errors, but I have no clue if it was due to our item database growing substantially or simply bukkit releases)
My server's address is: pj.crafterslegacy.com (or .net), website is the same, but www.

@Formula350 Where in the command do I input the hex code?

You are free to continue this discussion.


Support of mainline and stable Linux kernel releases in WSL Dev/Beta channels

Is your feature request related to a problem? Please describe.
Current mainline and stable Linux kernel releases are not available for WSL dev/beta channels
Describe the solution you'd like
WSL users in the Windows Insiders Program for Dev and Beta should be able to use mainline and stable Linux kernel versions.
e.g. as of today, it will provide access to following Linux kernel versions:

for Dev channel ->  mainline: 6.1-rc1
for Beta channel -> stable: 6.0.2 or stable: 5.19.16

Corresponding Linux kernel source code will be also available in preview at https://github.com/microsoft/WSL2-Linux-Kernel

Thanks for the suggestion, but we currently have no plans to support anything other than the most recent long term support kernel releases.

Hi @benhillis
Can you please re-open this ticket, because if I have created it, it is indeed because this is a current major issue with WSL, and not only WSl(Mariner,...)


Dragon Nest - font rendering issue

Software information
Dragon Nest
Settings: All low
System information

GPU: 1050 TI
Driver: 511.72
Wine version:
DXVK version: 1.9.4 #2157

Apitrace file(s)
https://drive.google.com/file/d/1B_71ky9IgRH5ui5zOlASUnsMAEOH3nhg/view?usp=sharing
Screenshots
w/o DXVK

with DXVK

Log files

d3d9.log: DragonNest_x64_d3d9.log

That PR should fix it.


What version of Delphi this is ?

My Delphi is very old. What version of Delphi this project is compiled with ? (16. 17.2 ..)
Can you offer the URL link to downloading it ?
Thank you
-Nissim

We are using RAD Studio XE8,
http://altd.embarcadero.com/download/radstudio/xe8/delphicbuilder_xe8_upd1_subscription.iso

Thank you


Smos debug

Fixed broken validations with SMOS reference

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1528

Relevant Lines:
1785

💛  - Coveralls


feat: introduce FlagdProvider constructor accepting FlagdConfig as parameter

This PR

introduces FlagdPorvider constructor accepting FlagdConfig as parameter
exposes FlagdConfig as public class
adds unit test for constructor

Related Issues

Fixes #56

This looks good!
In other providers, we make sure that configs passed in the constructor "win" over env vars. Looking at how the config object works I think that would be the case here, which is good, but I don't see tests for that. Do you think you could add some assertions for this?

This looks good!
In other providers, we make sure that configs passed in the constructor "win" over env vars. Looking at how the config object works I think that would be the case here, which is good, but I don't see tests for that. Do you think you could add some assertions for this?

Surely, I can work on it :)

@toddbaert enhanced the tests to check that the env variables are ignored, when using the FlagdProvider constructor accepting the FlagdConfig as a parameter :)


Add support for EvoHome (ramses:EvoHomeZoneSetPoint)

Device information
I have a Evohome box (HGI80) connected to the Tahoma via USB and can read the temperature (temperaturesensor) in Home Assitant, but I cannot set the temperature, because the device (thermostat / setpoint) is not supported.
Device details
DEBUG (MainThread) [custom_components.tahoma] Unsupported TaHoma device detected (ramses:EvoHomeZoneSetPoint - EvoHome - HeatingSetPoint)
{
	"commands": [{
		"commandName": "getName",
		"nparams": 0
	}, {
		"commandName": "setName",
		"nparams": 1
	}, {
		"commandName": "setTargetTemperature",
		"nparams": 1
	}, {
		"commandName": "setSetpointOverride",
		"nparams": 3
	}, {
		"commandName": "setTimeProgram",
		"nparams": 1
	}],
	"states": [{
		"type": "DataState",
		"qualifiedName": "core:NameState"
	}, {
		"type": "ContinuousState",
		"qualifiedName": "core:TargetTemperatureState"
	}, {
		"type": "ContinuousState",
		"qualifiedName": "core:TemperatureState"
	}, {
		"type": "DataState",
		"qualifiedName": "ramses:RAMSESSetPointOverrideDurationState"
	}, {
		"type": "DataState",
		"qualifiedName": "ramses:RAMSESSetPointOverrideModeState"
	}, {
		"type": "DataState",
		"qualifiedName": "ramses:RAMSESZoneTimeProgramState"
	}],
	"dataProperties": [],
	"widgetName": "HeatingSetPoint",
	"uiClass": "EvoHome",
	"qualifiedName": "ramses:EvoHomeZoneSetPoint",
	"type": "ACTUATOR"
}

Hi,
I'll start working on this, any idea what the "setSetpointOverride" command is?
cheers

Hello Vincent,
In Evohome there is a schedule. So I think this is the override of the schedule. For instance, between 23:00 and 18:00 it is always 20 degrees. And between 18:00 and 23:00 the temperature increases to 21 degrees. On the Tahoma I can set a different temperature for the current period, but once a new period begins (18:00 for example) the override disappears.
I hope this is clear? Thanks!

@wzwart76 do you still own this device and would you like to have it in this integration?
In order to gather more information, you can use the tahoma.get_execution_history service in Home Assistant which will print your execution history to the Home Assistant log. Run the all available commands via the official vendor app (e.g. TaHoma) and capture the commands.
(this service is added in the latest version, so you would need to update this integration).
It would be great if you could also add some screenshots / more information of the official vendor app.

Yes I do and I would love to have it! How do I enable the tahoma.get_execution_history? No problem to send some screenshots!

Run the all available commands via the vendor app and write down what you called. Now go to Developer Tools -> Services in Home Assistant and execute tahoma.get_execution_history. This will print the last execution history in your logbook, which you can paste here.

I just performed the actions. But there is no logging in Home Assistant. Do I have to switch something on? I have attached some screenshots of the Tahoma app of me setting the temperature of my ""Studeerkamer".

I only saw these messages:
2021-02-04 20:48:51 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for tahoma which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-02-04 20:48:51 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-02-04 20:50:57 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547943531808] Error handling message: expected dict for dictionary value @ data['service_data']. Got 'tahoma.get_execution_history'
expected str for dictionary value @ data['service']. Got None

@wzwart76 it looks like you are not executing the service in the right way. Could you share a screenshot of how you are calling the service? It should look like this:
https://xxxxxxx.nl/developer-tools/service

Please make sure you are using the latest version of the integration (2.4.6).

@wzwart76 have you checked your log? (Configuration -> Logs).

Yes, but nothing!

@wzwart76 also no errors in your log?
Otherwise we could work via Discord (iMick#1903) to see if something else is going wrong. Easiest is if you are able to temporarily change your password, so we can have a quick look, and than change it back.


[interop][SwiftToCxx] support is/has property getters and fix pass/return support for Unsafe{Mutable}Pointer types.

@swift-ci please test

@swift-ci please test source compatibility


Reduce public api surface

Pull Request
What does this PR do?
At the moment, there are too many functions that are not supposed to be used by your customers.
This make sure people won't use code that is not supposed to be surfaced and avoid breaking changes.

bors merge


changing "posts" to "post"

to be in parity with hugoBasicsExample

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

First of all, this PR would go to the HugoDocs repo.
Secondly, the docs are correct. Please close this PR, and take the discussion to the Hugo Discourse.
The quick start works if you follow the exact steps, using the exact theme.
Whatever theme you are using needs to not hard-code "post", and use .Site.mainSections instead.

consider removing the docs folder that opens the possibility of this confusion of where to post a docs edit like this... if i stumbled into it, it means someone else can.
i'll inform that theme author that it's on him
thanks for your patient guidance


bug: failure on recurring projen updates

needs to be tested

tested locally. An e2e will be great for this in GH actions


Relax Dropdown CWRP value error for multiple dropdowns

In CWRP this assumes the dropdown has a value prop, and throws an error in dev mode if it is not an array.  We need to ensure nextProps _.has() a value before throwing errors over it.  Without a value, it is self controlled.
if (nextProps.multiple && !isNextValueArray) {
  console.error(
    'Dropdown `value` must be an array when `multiple` is set.' +
    ` Received type: \`${Object.prototype.toString.call(nextProps.value)}\`.`,
  )
} else if (!nextProps.multiple && isNextValueArray) {
  console.error(
    'Dropdown `value` must not be an array when `multiple` is not set.' +
    ' Either set `multiple={true}` or use a string or number value.'
  )
}

Fixed in #310

Is there a way to suppress this warning completely? I'm passing it an array in value={field.value} on the dropdown component for either single or mutliple selected values but still getting Dropdown valuemust be an array whenmultipleis set. Received type:[object Null]`


[Bug]: Seems that 'chroma run' does not work for some chroma packages with earlier version?

What happened?
I'm a beginner to Chromadb. Recently, I was learning how to run chromadb in client/server mode by refering to the documentation https://docs.trychroma.com/guides.
I created a conda environment, and then installed chromadb 0.4.18 by running "pip install chromadb==0.4.18". After the installation completed, I ran "chroma run --path /my_db_path" in the command line, and then "import chromadb; chroma_client = chromadb.HttpClient(host='localhost', port=8000)" in python. After that, I see "INFO:     [31-05-2024 09:37:15] <IP_ADDRESS>:58828 - "GET /api/v1/tenants/default_tenant HTTP/1.1" 200" printed in the terminal of the server, which suggested that the client connected to the server successfully.
However, when I created a new conda environment and repeated the process for chromadb 0.3.23 in that environment, I found the establishment of the connection between the client and the server failed. Then I dived into the source codes of chroma 0.3.23, and manually modified the config.py file. My modifications are: (1) chroma_api_impl: "local"->"rest"; (2) chroma_server_host: None->"localhost"; (3) chroma_server_http_port: None->"8000". Nevertheless, after such change, the connection still failed to establish. My second observation is that for chromadb 0.4.18, I found an executable file "chroma.exe" under the "Scripts" folder of the path of the corresponding conda environment, while for chromadb 0.3.23, in the same folder there is no such executable file.
So, is it a bug or due to my wrong operation steps? How can I run chromadb successfully in client/server mode for some earlier version (like 0.3.23)? What are the exact procedures?
Versions
Chroma 0.3.23 & 0.4.18
Python 3.10.14
OS: Windows 64-bit x64 processor
Relevant log output
No response

@brg24mk, thank you for raising this and describing the steps to reproduce it. You are right about client compatibility across 0.3 and 0.4 releases.
Before I dive too deep into this, allow me to ask why you need to maintain older clients (0.3.x)?

@tazarov Yes, recently I were diving into the source codes of chromadb and investigate on every detail about how vector databases work, only for interest, that's all.

@tazarov And more recently I directly downloaded the source codes of chroma in github, instead of the released python package.  I successfully deployed the chroma 0.3.23 server locally and created a 0.3.23 client to connect to it, which also solved my problem last week. So maybe this is no longer a serious issue, if nobody else pointed it out?

@brg24mk, we scarcely get issues for older releases and unless there is a serious reason to stick with 0.3.x release we recommend people upgrade to the latest release.

We will release breaking changes from time to time, which we track in the migration log: https://docs.trychroma.com/deployment/migration#migration-log


Split eks-d checksum out of attribution jobn

Issue #, if available:
Description of changes:
We split this job on the eks-a side since both parts take a decent amount of time, we get a bit more parallelism. Mainly making the change to be consistent
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


Can not remove disk description in Storage

Go to Storage
Choose any drive
Edit (create) a description in a sidebar
Delete description
Expected result: description is removed
Actual result: A dialog appears "Value for the key csui.volume.description is either null or empty", description is not removed

TBD in #630


Configure UI #9

closes #9
For the Submitter
Tasks

[x] Make sure all checkboxes in the Issue content are checked
[x] Make sure the PR title is in the format <Issue Title> <Issue Number>
[x] Make sure "closes (issue number)" is written close to the top
[x] Attach the enhancement label for update tasks
[ ] Make sure CI completes successfully
[ ] Check everything written in the PR
[ ] Fix the issues pointed out by AI
[ ] Add reviewers
[ ] On Slack, mention the PR reviewer, write your thoughts on the issue, and inform them that the PR has been created

For the Reviewer
Before Reviewing

[ ] Write which PR you are reviewing on Slack

Checks

[ ] Each task for the related issue are written and in checkboxes
[ ] The branch name is close to the issue name
[ ] CI completes successfully
[ ] Changes include only what is necessary for this PR
[ ] Necessary unit tests are implemented
[ ] Necessary E2E tests are implemented
[ ] Perform functionality checks
[ ] If there are any problems, request revisions from the PR submitter and mention them on Slack

After Reviewing

[ ] Leave an approval comment (e.g. LGTM)
[ ] On Slack, mention the PR submitter and a project admin, write which PR you have reviewed, and ask them to merge the PR


RuntimeError: DataLoader worker (pid 2019) is killed by signal

Using Google colab:
(I used nearly the same code as demo.ipynb)
start training...
epoch 0
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py", line 2882, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-36-b4e9311c8f81>", line 13, in <module>
    epochs=20)
  File "/content/pytorch-wavenet/wavenet_training.py", line 64, in train
    for (x, target) in iter(self.dataloader):
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 336, in __next__
    return self._process_next_batch(batch)
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 357, in _process_next_batch
    raise batch.exc_type(batch.exc_msg)
RuntimeError: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 106, in _worker_loop
    samples = collate_fn([dataset[i] for i in batch_indices])
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 187, in default_collate
    return [default_collate(samples) for samples in transposed]
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 187, in <listcomp>
    return [default_collate(samples) for samples in transposed]
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 162, in default_collate
    storage = batch[0].storage()._new_shared(numel)
  File "/usr/local/lib/python3.6/dist-packages/torch/storage.py", line 120, in _new_shared
    return cls._new_using_fd(size)
RuntimeError: unable to write to file </torch_2013_2460820068>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py", line 1823, in showtraceback
    stb = value._render_traceback_()
AttributeError: 'RuntimeError' object has no attribute '_render_traceback_'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/IPython/core/ultratb.py", line 1132, in get_records
    return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
  File "/usr/local/lib/python3.6/dist-packages/IPython/core/ultratb.py", line 313, in wrapped
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/IPython/core/ultratb.py", line 358, in _fixed_getinnerframes
    records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
  File "/usr/lib/python3.6/inspect.py", line 1483, in getinnerframes
    frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
  File "/usr/lib/python3.6/inspect.py", line 1441, in getframeinfo
    filename = getsourcefile(frame) or getfile(frame)
  File "/usr/lib/python3.6/inspect.py", line 696, in getsourcefile
    if getattr(getmodule(object, filename), '__loader__', None) is not None:
  File "/usr/lib/python3.6/inspect.py", line 733, in getmodule
    if ismodule(module) and hasattr(module, '__file__'):
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 227, in handler
    _error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 2019) is killed by signal: Bus error. Details are lost due to multiprocessing. Rerunning with num_workers=0 may give better error trace.
---------------------------------------------------------------------------

Before that I got
  processed 262 of 265 files
  processed 263 of 265 files
  processed 264 of 265 files
one hot input
the dataset has 129356 items

My data is wav clap oneshots.
What's wrong?

how did you input several different audio files in your dataset ? did you concatenate them into a npz file or loop through a directory that had all the files in it ?


Dependency tracking function tests fail with "All Apps are not unhealthy".

Dependency functional tests sometimes fail while starting containers with test apps.
Check this two runs out:
dlab14_DDMBLDW183_2019-05-22_15_58_57.zip
dlab14_DDMBLDW182_2019-05-22_14_42_20.zip

Cijo and I made some progress on this in November.
I'm closing this issue, with a promise that we will continue to monitor the builds.


remove non-existent import

I noticed this errant import while working on this repo locally. It looks like it causes rollup/bili warnings.
warning circular_dependency: Circular dependency: src/immer.js -> src/patches.js -> src/immer.js
warning non_existent_export: Non-existent export 'createDraft' is imported from src/immer.js

Nice catch, thanks!

:tada: This PR is included in version 4.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Keep version number to 3 components

Quarto uses semver rules to parse our version number, and chokes if it contains four elements

I believe this won't be necessary because Quarto changed its version check to just use the first two numbers.
https://github.com/quarto-dev/quarto-cli/commit/6f7cc03544f5e96bb7008fe586c4af74d8e66664


Branch 173060283

@gunan @benoitsteiner Something in this PR is causing all non-kokoro infrastructure to fail, but I can't figure out why.  I'll leave this push out so you can look at logs to debug.

Maybe add apt-key adv --keyserver keyserver.ubuntu.com  --recv 084ECFC5828AB726 to https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/ci_build/install/install_deb_packages.sh#L30?

Tried that and let's see what happens.

@annarev can you take a look for this possible failure?
22:42:50 In file included from /workspace/tensorflow/contrib/makefile/gen/proto_text/tensorflow/core/framework/node_def.pb_text-impl.h:5:0,
22:42:50                  from /workspace/tensorflow/contrib/makefile/gen/proto_text/tensorflow/core/framework/node_def.pb_text.cc:2:
22:42:50 /workspace/tensorflow/contrib/makefile/gen/proto/tensorflow/core/framework/attr_value.pb.h:9:42: fatal error: google/protobuf/stubs/common.h: No such file or directory
22:42:50  #include <google/protobuf/stubs/common.h>
22:42:50                                           ^
22:42:50 compilation terminated.
22:42:50 In file included from /workspace/tensorflow/contrib/makefile/gen/proto_text/tensorflow/core/framework/api_def.pb_text-impl.h:5:0,
22:42:50                  from /workspace/tensorflow/contrib/makefile/gen/proto_text/tensorflow/core/framework/api_def.pb_text.cc:2:
22:42:50 /workspace/tensorflow/contrib/makefile/gen/proto/tensorflow/core/framework/api_def.pb.h:9:42: fatal error: google/protobuf/stubs/common.h: No such file or directory
22:42:50  #include <google/protobuf/stubs/common.h>
22:42:50                                           ^


chore: remove unnecessary async

Summary of changes
Changes introduced in this pull request:

Keeping track of the heaviest tipset may never block and should therefore not be async.
The TipsetCache may never block and should not be async.

Reference issue to close (if applicable)

Closes #2343
Other information and links

@lemmih are you positive we need parking_lot mutex? As far as I remember, the std::sync::Mutex got better some time ago.
https://twitter.com/m_ou_se/status/1526211117651050497?lang=en (kind of a Rust celebrity, author of Rust Atomics and Locks)

We don't need it for performance. It's just more convenient to not have to deal with poisoned states.

@lemmih are you positive we need parking_lot mutex? As far as I remember, the std::sync::Mutex got better some time ago.
https://twitter.com/m_ou_se/status/1526211117651050497?lang=en (kind of a Rust celebrity, author of Rust Atomics and Locks)

We don't need it for performance. It's just more convenient to not have to deal with poisoned states.

Was this an issue at any point?

@lemmih are you positive we need parking_lot mutex? As far as I remember, the std::sync::Mutex got better some time ago.
https://twitter.com/m_ou_se/status/1526211117651050497?lang=en (kind of a Rust celebrity, author of Rust Atomics and Locks)

We don't need it for performance. It's just more convenient to not have to deal with poisoned states.

Was this an issue at any point?

The mutexes should never be poisoned but you still have to call unwrap or propagate the poison error value. With parking_lot, all of that goes away. But feel free to use std mutex instead if you want.


qtbitcointrader: 1.40.23 -> 1.40.30

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/qtbitcointrader/versions.
meta.description for qtbitcointrader is: '"Bitcoin trading client"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/n2ii86gaca1nlj57hr9xgv88wv791nm5-qtbitcointrader-1.40.30/bin/QtBitcoinTrader had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
directory tree listing: https://gist.github.com/2d4aabf1713592aa1d801a41049c91e4
du listing: https://gist.github.com/ac0174bebc0f2b66f4915a702e99ec44

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

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
qtbitcointrader

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/n2ii86gaca1nlj57hr9xgv88wv791nm5-qtbitcointrader-1.40.30 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A qtbitcointrader https://github.com/r-ryantm/nixpkgs/archive/5435de125fed16ad99131b35cab1ef2cf1dac002.tar.gz

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

@GrahamcOfBorg build qtbitcointrader


Disable download for StanfordCars dataset

URL has been broken for a long time, so we raise a proper error message pointing to https://github.com/pytorch/vision/issues/7545#issuecomment-1631441616 now.
I couldn't test this change within our dataset test suite because the default mocks would hard-reset the download parameter to False. So hopefully this is an acceptable test:
In [1]: from torchvision.datasets import StanfordCars
In [3]: StanfordCars(root="/tmp", download=True)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-3-a557e888a29e> in <module>
----> 1 StanfordCars(root="/tmp", download=True)

~/dev/vision/torchvision/datasets/stanford_cars.py in __init__(self, root, split, transform, target_transform, download)
     62
     63         if download:
---> 64             raise ValueError(
     65                 "The original URL is broken so the StanfordCars dataset is not available for automatic "
     66                 "download anymore. You can try to download it manually following "

ValueError: The original URL is broken so the StanfordCars dataset is not available for automatic download anymore. You can try to download it manually following https://github.com/pytorch/vision/issues/7545#issuecomment-1631441616, and set download=False to avoid this error.

The tests / download failure is pre-existing and I'm attempting a fix in https://github.com/pytorch/vision/pull/8310
The bc job is irrelevant and linux unittests are passing, so this is good to go. Thanks both for the reviews!


[Impeller] RenderTarget cache regressed A02 performance

Can be seen in the following benchmark: https://flutter-flutter-perf.skia.org/e/?begin=1698778049&end=1709180256&keys=X810e39ca0159f4aa5b45558cbd203945&requestType=0&selected=commit%3D39590%26name%3D%252Carch%253Dintel%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253DSM-A025V%252Cdevice_version%253Dnone%252Chost_type%253Dlinux%252Csub_result%253D90th_percentile_frame_rasterizer_time_millis%252Ctest%253Dnew_gallery_impeller__transition_perf%252C&xbaroffset=38896

I'm not sure why the benchmark became noisy even before that change.

Got some really, really slow clean ups...

This is fixed now, caching of the onscreen reduced memory pressure enough that it seems to be net positive now.


ati-drivers does not build with kernel 4.6

Issue description
Two compilation errors are seen.  I have a fix at https://github.com/jerith666/nixpkgs/commit/a629947313995a1554d20a3f203fbd10b91f9afc, but I expect that it needs to be variablized to only apply these two new patches if building against a 4.6 (or greater) kernel, and I don't know how to do that.
add'l keywords: ati_unfree

Compiler output:
/tmp/nix-build-ati-drivers-15.12-4.6.7.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3245:11: error: too many arguments to function 'get_user_pages'
     ret = get_user_pages(current, current->mm, vaddr, page_cnt, 0, 0, (struct page **)page_list, NULL);
           ^
In file included from /nix/store/jkp1xn8ma57pi0jzfblf4fmfi9nbbjlp-linux-4.6.7-dev/lib/modules/4.6.7/source/include/linux/scatterlist.h:7:0,
                 from /nix/store/jkp1xn8ma57pi0jzfblf4fmfi9nbbjlp-linux-4.6.7-dev/lib/modules/4.6.7/source/include/linux/dmapool.h:14,
                 from /nix/store/jkp1xn8ma57pi0jzfblf4fmfi9nbbjlp-linux-4.6.7-dev/lib/modules/4.6.7/source/include/linux/pci.h:1242,
                 from /tmp/nix-build-ati-drivers-15.12-4.6.7.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:119:
/nix/store/jkp1xn8ma57pi0jzfblf4fmfi9nbbjlp-linux-4.6.7-dev/lib/modules/4.6.7/source/include/linux/mm.h:1266:6: note: declared here
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/tmp/nix-build-ati-drivers-15.12-4.6.7.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_UnlockUserPages':
/tmp/nix-build-ati-drivers-15.12-4.6.7.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3256:9: error: implicit declaration of function 'page_cache_release' [-Werror=implicit-function-declaration]
         page_cache_release((struct page*)page_list[i]);
         ^

You can add a simple conditional, e.g. similar to https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/perf.nix#L19

Excellent, thanks for the pointer!  Reworked and created a pull req.


How support multiple viewport at the same time show?

Hello, cesium support multiple viewport at the same time show? Similar to the threejs multi-viewport function(https://threejs.org/examples/webgl_multiple_views.html).

Thanks @yoyomule, we're already tracking multiple viewports in a previous issue, #5214. We're going to close your issue now to keep the discussion in one place. If you have any further input on the main issue, #5214, please post it there.

Is cesium now having this similar api?

@hoEc see this example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Multiple Synced Views.html


i can't commit with visual studio code

VSCode Version:
OS Version:

Steps to Reproduce:

Does this issue occur when all extensions are disabled?: Yes/No

/needsMoreInfo


index: fetch: use calllback while collecting

Codecov Report
Patch coverage: 77.77% and project coverage change: +0.02 :tada:

Comparison is base (92099d7) 61.07% compared to head (9b6f8fc) 61.10%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #374      +/-   ##
==========================================
+ Coverage   61.07%   61.10%   +0.02%
==========================================
  Files          54       54
  Lines        3725     3733       +8
  Branches      663      665       +2
==========================================
+ Hits         2275     2281       +6
- Misses       1316     1317       +1
- Partials      134      135       +1

Impacted Files
Coverage Δ

src/dvc_data/index/fetch.py
63.23% <77.77%> (+1.56%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Could not install successfully with latest code

Hi ,
I tried to install ceph with two node cluster and I got below error,
The full traceback is:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 138, in run
res = self._execute()
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 576, in _execute
result = self._handler.run(task_vars=variables)
File "/root/ceph-ansible/plugins/actions/validate.py", line 48, in run
notario_store["containerized_deployment"] = host_vars["containerized_deployment"]
KeyError: 'containerized_deployment'
fatal: [compute-r1c3]: FAILED! => {
"msg": "Unexpected failure during module execution.",
"stdout": ""

Hi @selvakumarnms
could you share your ceph-ansible and ansible version?

@guits
it is based on luminous and  ansible version is 2.6.3

@selvakumarnms "ceph-ansible" version, not "ceph" release

@guits thanks for response.
Now I am able to install successfully using ansible 2.6.3 and I have question regarding ceph status
my ceph status shows,
ceph status
cluster:
id:     a659ee81-9f98-4573-bbd8-ef1b36aec537
health: HEALTH_WARN
no active mgr
services:
mon: 1 daemons, quorum master-r1c1
mgr: no daemons active
osd: 1 osds: 1 up, 1 in
data:
pools:   0 pools, 0 pgs
objects: 0 objects, 0B
usage:   0B used, 0B / 0B avail
pgs:
I have created 1 new pool and It is not able to detect it.
could you please help me in resolving this?
ceph osd pool ls
kube
[root@master-r1c1 ~]#

@selvakumarnms you don't have mgr daemon deployed:
no active mgr
that's why.

@guits thanks.. is mgr is mandatory to be enabled in ceph ?

yes it is

sorry , i have occurs same  problem
raceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 139, in run
res = self._execute()
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 577, in _execute
result = self._handler.run(task_vars=variables)
File "/root/ceph-ansible/plugins/actions/validate.py", line 48, in run
notario_store["containerized_deployment"] = host_vars["containerized_deployment"]
KeyError: 'containerized_deployment'
what should  i  do to solve

my ansible version is 2.6.3
 ceph-ansible is master

am able to install successfully

how did you  solve  the problem?

@cwqcwqmax9 please, share more details
group_vars/*
playbook logs
how you launched the playbook, etc...
thanks


Encode test invocation into Makefile

This moves the invocation of go test into the Makefile, for
convenience of users and the CircleCI script; and removes the need for
glide to be installed.
NB drops the go build ... step from the CircleCI test stage -- it's
not doing anything that go test and make all won't do, and it adds
significantly to the build time.

This has a subtle problem when it comes to CircleCI (it passes, but it detects way fewer tests than it should). Investigating.


[Pull create request] Listener logic

Hello!
At the moment we have some rather unnecessary "RestartAfterListenError" property in the code. In my opionion this is horrible. This property was patched in because the server socket stopped listening if an error occurred during a client connection being established.
Let us see why this happens:
(1) In WebsocketServer.cs in the Start() function we call ListenForClients();  This initiates the whole "accept new clients" logic.
(2) In ListenForClients() we call ListenerSocket.Accept(..) which itself calls the Accept method in the SocketWrapper class. Let's take a look into the corresponding code:
        public Task<ISocket> Accept(Action<ISocket> callback, Action<Exception> error)
        {
            Func<IAsyncResult, ISocket> end = r => _tokenSource.Token.IsCancellationRequested ? null : new SocketWrapper(_socket.EndAccept(r));
            var task = _taskFactory.FromAsync(_socket.BeginAccept, end, null);
            task.ContinueWith(t => callback(t.Result), TaskContinuationOptions.OnlyOnRanToCompletion)
                .ContinueWith(t => error(t.Exception), TaskContinuationOptions.OnlyOnFaulted);
            task.ContinueWith(t => error(t.Exception), TaskContinuationOptions.OnlyOnFaulted);
            return task;
        }

Whenever a new client connects, the client is accepted by the socket. If this succeeds we call the callback passed to this method. If it fails we call the error callback. We also call the error callback if the callback throws an error itself. Quite complicated, isn't it?
(3) okay, if everything went fine, "callback" is called after a new socket was accepted. We should now proceed to accept new/more clients. How do we do that? We call ListenForClients() within the callback method - which brings us to the beginning of this circle (2).
The flaws of this (1),(2),(3) step method is that it is rather complicated and error prone. The whole logic fails if for example an error is thrown in the callback method itself (note that the current code does not differentiate between errors from accepting new clients and errors thrown in the callback called afterwards). An example for such an error is in the line
FleckLog.Debug(String.Format("Client connected from {0}:{1}", clientSocket.RemoteIpAddress, clientSocket.RemotePort.ToString()));

in OnClientConnect() (which is the actual callback-function used). Under some circumstances clientSocket.RemoteIpAddress can throw an exception - and kills the complete server-logic. We throw an error and restart the listener socket although there was nothing wrong with the listener socket - it is just a client which maybe closed a connection really early.
 Here are my proposed changes:
https://github.com/notgiven688/Fleck/commit/79a4f995fb5aaa6204605ab641a069a8cf6a2764
and this
https://github.com/notgiven688/Fleck/commit/b3bfaa69e6edfe7788ac182b79e8d2d87f6291a2

This is a great call out. I agree this is a cleaner approach than throwing away the listener for a client error. I don't have a .net environment to build this out, but would definitely accept a pull request from any other contributors. Thanks for your contribution, @notgiven688.

Created pull request #226.


[Fix #7966] Enable all pending cops for RuboCop 1.0

Fixes #7966.
This PR enables all pending cops for RuboCop 1.0.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

We're at the finish line! :-)


CI: remove --remote from submodule update

Oh, I misread the Travis CI script. This does not make sense as is


Add workflows that verify whether Conda packages still work

Github Actions support cron triggers. We can use them to verify that the released Conda packages still work OK and that our examples, tutorials, courses are in sync with them. Weekly would be nice I think.

lue_tutorial:

Clone repo
Create Conda environment using the configuration in the repo
Run the scripts

lue_course:

Clone repo
Create Conda environment using the configuration in the repo
Run the scripts

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows


What is the meaning of 'Table' here?

Hello,
would you kindly check this string: "Table Use this dropdown listbox to select a table within the dataset that you want to visualize."
What is the meaning of "Table" in the beginning of this string? Or is there a formatting issue here?
Kind regards,
Anne H., QC

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

ID: 7e21bbf4-ccbe-859e-5d2b-177316c2dd1a
Version Independent ID: b434beff-75a3-95b9-3c31-7209c8489476
Content: Dataset Visualizer Dialog Box - Visual Studio (Windows)
Content Source: docs/debugger/dataset-visualizer-dialog-box.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@QueryCoordinator -- Anne, thank you for your question.  The first word Table is in the first cell of a two-column row, and it refers to the UI element with that name in the Dataset Visualizer Dialog Box itself.  The second cell contains the description of that Table UI element.

Hi @WilliamAntonRohm
Thank you for your reply. This is what I thought also, but since there is no table, no lines around, it can be a bit confusing:


Be able to show/hide statistics in order to get more screen space

I would like to be able to show/hide statistics in order to get more screen space,
show/hide this component on the right side -

#12
Should solve this issue.


Any command I execute I get this error

TFS: You need to save your file somewhere before.
The file is saved.
This an existing visual studio project where TFS is working fine.

I'll try to reproduce the case. It may be linked to this bug.

Hi @platonicvizard,
It should be fixed in the last release I published today (v0.5.0) !

It works. Thanks for getting this fix so promptly.


Runtime limit

Hi,
Is it possible to set a maximum runtime for BooleanRuleCG?

Not currently. The closest is the parameter iterMax, which controls the maximum number of (column generation) iterations.
If you're willing to implement and contribute a runtime limit for BooleanRuleCG, we would be most grateful.

Addressed by #128. Thanks!


Update table page object to return spinner from icon column

Pull Request
🤨 Rationale
Clients like SLE will need ability to get/assert spinner that is rendered in an icon column's cell.
👩💻 Implementation
Changed two existing functions that previously only returned rendered icons to now return either the rendered icon or spinner.
🧪 Testing
Auto-tests pass
✅ Checklist

[x] I have updated the project documentation to reflect my changes or determined no changes are needed.

@mollykreis could you give this a quick buddy?


new [tls/server]: disable client side renegotiation

Client side renegotiation could lead to CPU intensive recalculations. Regeneration is disabled per default in openssl 3+ and not available anymore TLS1.3. Therefore disable it for older TLS versions if possible.

Is it something we want only for server-side ?


permission denied

when URL EXTRACTION work i have permission denied and it did not work, how could i solve this problem ?

As suggested during the installation, add your user to sudoers

iam sorry but could you explain in detail how to do that ?

As suggested during the installation, add your user to sudoers

iam sorry but could you explain in detail how to do that ?


Improve API documentation

This switches from the default template to https://github.com/davidshimjs/jaguarjs-jsdoc.  I had to make some bigger changes to the utils directory so that jsdoc could make sense of the structure.  For most of the other classes, we will just have to make some minor changes to the jsdoc tags to make it work.  I'll follow up on https://github.com/OpenGeoscience/geojs/issues/448 with a checklist of things that should be done for each file to close the issue.

Codecov Report

Merging #697 into master will decrease coverage by <.01%.
The diff coverage is 88.97%.

@@            Coverage Diff             @@
##           master     #697      +/-   ##
==========================================
- Coverage   95.26%   95.25%   -0.01%
==========================================
  Files          84       83       -1
  Lines        8994     8985       -9
==========================================
- Hits         8568     8559       -9
  Misses        426      426

Impacted Files
Coverage Δ

src/event.js
100% <ø> (ø)
:arrow_up:

src/object.js
90.76% <ø> (ø)
:arrow_up:

src/map.js
98.78% <ø> (ø)
:arrow_up:

src/sceneObject.js
92.3% <ø> (ø)
:arrow_up:

src/index.js
100% <ø> (ø)
:arrow_up:

src/util/mockVGL.js
91.17% <ø> (ø)
:arrow_up:

src/camera.js
99.6% <ø> (ø)
:arrow_up:

src/util/throttle.js
100% <100%> (ø)
:arrow_up:

src/util/distanceGrid.js
77.77% <77.77%> (-0.41%)
:arrow_down:

src/util/index.js
86.92% <86.88%> (-13.08%)
:arrow_down:

... and 1 more

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 c0c5a7a...6035e30. Read the comment docs.

This looks good to me.  I'd say we should merge this in and then make additional PRs as we go through @jbeezley's checklist.
Maybe I'm oblivious, but I don't see any point where we build the docs that show up on RTD.  I also don't see the typical Sphinx makefile.  Is someone manually running sphinx-build to update RTD?  Should we have that as part of the CI?  Do the API doc references from the docs rst files change with this change?

The API docs are on gh-pages, which I update when I cut a release.  We could automate it somehow with CI, but that's a separate issue.  Getting the API docs on RTD is generally difficult.  We would be better off just transitioning all the documentation over to markdown and integrating them with these.

The API docs are on gh-pages, which I update when I cut a release
looks great!

Getting the API docs on RTD is generally difficult. We would be better off just transitioning all the documentation over to markdown and integrating them with these.

I am good with that moving away from rst. I am assuming that this jaguar creates markdown? I believe there tools to convert from rst to md. Should we create an issue for it?

It doesn't create markdown, but it can ingest it.  Jsdoc has a basic hook for rendering a readme as the front page of the documentation as well as a tutorials section.  It's possible to do fancier things by modifying the templates.

Great, thanks, having API docs out would be awesome.


added up-to-date payloads

This merges in up-to-date payloads from the upstream repository

Refactored code to be work with the new payload structure, the only thing I'm not sure how to refactor is the work command.


Unable to run a workflow when more than one data source is specified

The current behavior or issue
If more than one data source is specified (server and IRODS for example),  the UI is messed up and a user can't specify the file to use
The steps taken to reproduce the behavior or issue, or specify a location where the steps were recorded
Define a server and IRODS file store and try to specify the files to run a workflow
Expected behavior
Able to select files from any number of file sources when running a workflow
Screenshots
N/A
Add other supporting information that may be useful
N/A
Completion criteria
This is done when the user can use more than one file storage definition to run a workflow

Merge URL: https://github.com/AgPipeline/Atlana/commit/6fa80b294fa0633b7e020cbc789a396bc4a70a50


Add support for specifying chain_id on get_transaction_receipt

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
Fixes
fixes #2209
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[ ] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[ ] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[ ] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have locally run services that could be impacted and they do not present failures derived from my changes
[ ] Public-facing documentation has been updated with the changes affected by this PR. Even if the provided contents are not in their final form, all significant information must be included.
[ ] Any backwards-incompatible/breaking change has been clearly documented in the upgrading document.

The test failures are addressed here - https://github.com/valory-xyz/open-autonomy/pull/2213

Btw this should not close the referenced issue. If you close this, please open a new one for the transaction settlement skill part.


The subaccount must be exactly 32 bytes long

https://github.com/dfinity/examples/blob/3afab32d9fdef7b68c5b0e2396cb5dd58747294a/motoko/ledger-transfer/src/ledger_transfer/Account.mo#L32
There should be an assert.

See also https://github.com/dfinity/sdk/pull/1984/files#diff-21354b651f2dc1008b83aae595aaff07e110aa17bae8b39519a757118fbf79e7R33


A11y Allow plant entry only by keyboard to work properly

Currently some functionality of adding a new plant works via keyboard only, but others don't. Some changes needed (need to also check for add'l changes needed):

Make color currently selected by tab show up more clearly as a selection (currently very subtle)
Make the date selectors work correctly with tab/enter for individual months toggling
Allow keyboard toggle of wildlife and prevent form selection on enter

From #23 Added default focus to the plant name upon load, and tab-able months in correct order for the date selection even though the buttons are in a snaking order for easier painting. All changes to display and contrast still needed


Struct when scrolling images , happen sometime

Could not able to find the issue.

Am also facing the same issue.is anyone found the reason?

I think image size is the issue. Library cant handle any size of images.

The images are already compressed!.So is it required to compress more!

But it happens very rarely!

Is it random..?? or particular images.

My case is that,i  have added as many as 100 images to the browser.This issue occurs very rarely for random images,not for a particular image.Once i zoom in and zoom out,the scroll  becomes normal.And it happens again in ,say for example ,at 78th photo.


feat(@angular-devkit/build-angular): support dev-server package prebundling with esbuild builder

When using the development server with the esbuild-based browser application builder, the underlying
Vite server will now prebundle packages present in an application. During the prebundling process,
the Angular linker will also be invoked to ensure that APF packages are processed for AOT usage.
The Vite prebundling also provides automatic persistent caching of processed packages. This allows
reuse of processed packages across ng serve invocations. To support the use of prebundling at the
development server level, all packages are considered external from the build level. The first time
a package is used within an application there may be a short delay upon accessing the page as the
package is processed. Due to the persistent nature of the prebundling, the ng cache command is used
to control the use of the feature.

@clydin is this ready for review?


Armstrong number in JAVA

I would like to contribute a program that checks whether a number is armstrong or not in this repository

Link PR no. here if made


api_surface of code analyzer rule in .editorconfig can be "none"

The documentation does not list none among the allowable values for api_surface. However, the following syntax in .editorconfig seems to effectively disable the code analyzer rule, when using Microsoft.CodeAnalysis.FxCopAnalyzers 2.9.4. Please consider documenting it.
[*.cs]
dotnet_code_quality.CA1716.api_surface = none

The none name matches SymbolVisibilityGroup.None.

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

ID: 6b376237-1957-7b92-899d-0c816dac5412
Version Independent ID: 0a02458c-2f69-80c3-4215-436f2250ced0
Content: .NET code quality analyzer configuration options - Visual Studio
Content Source: docs/code-quality/fxcop-analyzer-options.md
Product: visual-studio-windows
Technology: vs-ide-code-analysis
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

none there is particularly useful for older Visual Studio versions that do not support configuring rule severity in .editorconfig. Unlike rule sets, .editorconfig makes it easy to add comments that will be seen by people who edit the file.

Moved issue to .NET
Closing this in favor of https://github.com/dotnet/docs/issues/22074


Update the status of availableContours and availableEnvoys regardless gatewayClassRef

When Contour CR has gatewayClassRef setting, availableContours and
availableEnvoys in status field are always 0.
apiVersion: operator.projectcontour.io/v1alpha1
kind: Contour
  ...
status:
  availableContours: 0
  availableEnvoys: 0

This patch changes it to update the status regardless gatewayClassRef.
Signed-off-by: Kenjiro Nakayama<EMAIL_ADDRESS>/cc @danehans
Fixes https://github.com/projectcontour/contour-operator/issues/268

CI is failing due to https://github.com/projectcontour/contour/pull/3505.

Not super familiar with this area of the code but is there a test we can add to verify this?

@sunjayBhatia I agree, https://github.com/projectcontour/contour-operator/issues/271 is for updating the e2e tests to check for the available number of Envoy and Contour replicas.

https://github.com/projectcontour/contour-operator/pull/248 is required for CI to pass.


override httpclient with rhttp one

i want to override httpclient with rhttp one on all of the app to make all packages use it
class MyHttpOverrides extends HttpOverrides {
  @override
  HttpClient createHttpClient(SecurityContext? context) {
      RhttpClient client = RhttpCompatibleClient.createSync(); // this is doesnt work
     return client
  }
}

void main(){
    HttpOverrides.global = MyHttpOverrides();

}

if there is an HttpClient variant that will be awesome since it can override all of the communication to use rhttp

Your type declaration is wrong:
// not RhttpClient
HttpClient client = RhttpCompatibleClient.createSync();

Oh well I didn't try that one, so it does implement the same class so it works as a replacement for it, that's very nice
Thank you for the awesome package.

just tried that out it didnt work
error:
A value of type 'RhttpCompatibleClient' can't be assigned to a variable of type 'HttpClient'.
Try changing the type of the variable, or casting the right-hand type to 'HttpClient'.
class MyHttpOverrides extends HttpOverrides {
  @override
  HttpClient createHttpClient(SecurityContext? context) {
    HttpClient client = RhttpCompatibleClient.createSync();
    return client;
}

It seems that HttpClient is not the HttpClient from the http client but a different one.
You can jump to the declaration of RhttpCompatibleClient and you will see that it is a sub class of HttpClient

class RhttpCompatibleClient with BaseClient its not compatible with httpclient
its not the same i think :(

Will look into it and open a pr then let me know if the solution I come up with is good or not

Added IoCompatibleClient in v0.8.0


Document how to build all transitive dependencies from source

Expected Behavior
It is practical for distributions (such as Fedora and Debian) to build all transitive dependencies of Gradle from source code without requiring any precompiled binary dependencies (except for an initial bootstrap).
One approach would be to provide releases that include all necessary source code bundled with Gradle.  Distributions often prefer to not bundle dependencies, but this can often be worked around.  Shipping executable binary code built by a third party is typically forbidden under nearly all circumstances, except for firmware (which Gradle obviously isn’t).
Current Behavior (optional)
It is not practical for distributions to build all transitive dependencies of Gradle from source.
Context
Most Linux distributions strictly forbid shipping executable code that the distribution did not itself build from source.
Discussions on https://lists.fedoraproject.org indicate that Gradle does not make this simple.  As a result, Debian has Gradle 4.4.1 and Fedora doesn’t package Gradle at all.  Current Fedora packaging guidelines recommend using Maven instead, even when upstream does not support Maven builds.

Thank you for your interest in Gradle!
This issue will be closed as a duplicate of

#26516

See this comment on the original issue
If you have anything new to add to the discussion please add it there.


Add liveness and readiness probe in example yaml

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

/kind documentation
What this PR does / why we need it:
Adds an example yaml file for liveness and readiness probe.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Release note:

/hold
@kkmsft is still figuring out the probe failures.

@kkmsft Are you still working on this?

Yes, will update PR with example.

I'm closing this issue since it's not active for a long time.
opened #271 for next steps.
/close


[PIL-669] add validations object with valid regexs, update messages

Unit test for view can written like EntityTypeControllerSpec. I have approved it as this is critical ticket. But if you have time this can be implemented.


[3] Implement ADR-0006: "Use Standard Kubeconfig Mechanisms"

See full rationale in the ADR: https://github.com/elastisys/compliantkubernetes/blob/adr-kube-context/docs/adr/0006-use-standard-kubeconfig-mechanisms.md
Definition of done:

I can use standard Kubeconfig mechanisms to install the service cluster or workload cluster on two vanilla Kubernetes clusters.
Documentation is updated accordingly.

This issue will be addressed here - https://github.com/elastisys/ck8s-ops/issues/1191. so closing it


[ENH, MRG] Add function references

Adds function references per @janfreyberg review comment.

You can just use [ci skip] for these commits, we don't want any of them to run (including CircleCI)

Thanks!


Automatic PR of restapi_auto_ericwill-msft_master into dev

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2402

Closing for now, in response to #1057. These changes will be incorporated shortly.


Update sbt-microsites to 1.0.2

Updates com.47deg:sbt-microsites from 1.0.0 to 1.0.2.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.47deg", artifactId = "sbt-microsites" } ]

labels: semver-patch

Codecov Report

Merging #1328 into master will decrease coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1328      +/-   ##
==========================================
- Coverage   85.88%   85.77%   -0.12%
==========================================
  Files          74       74
  Lines        2537     2537
  Branches      108      108
==========================================
- Hits         2179     2176       -3
- Misses        358      361       +3

Impacted Files
Coverage Δ

...d/src/main/scala/io/circe/NonEmptySeqDecoder.scala
91.66% <0%> (-8.34%)
:arrow_down:

...scala/io/circe/shapes/LabelledHListInstances.scala
92.59% <0%> (-3.71%)
:arrow_down:

...re/shared/src/main/scala/io/circe/JsonNumber.scala
90.36% <0%> (-2.41%)
:arrow_down:

.../core/shared/src/main/scala/io/circe/Decoder.scala
85.25% <0%> (ø)
:arrow_up:

...les/core/shared/src/main/scala/io/circe/Json.scala
78.78% <0%> (ø)
:arrow_up:

...re/shared/src/main/scala/io/circe/KeyDecoder.scala
97.29% <0%> (+2.7%)
: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 00798c4...05f53c6. Read the comment docs.


Update README.md

Fix small typo, add go mod why command

Wow! You're fast. Sorry, just realized the "typo" I fixed wasn't a typo.
https://github.com/cristaloleg/go-advices/pull/36/commits/72bb54be2406700f57e257b069c7032bacbe633d#diff-04c6e90faac2675aa89e2176d2eec7d8R55

Nevermind, it's okay 😉


linux-raspberrypi: disable kernel module compression

This causes problems if people try to modprobe from within their
containers based on either Debian or Ubuntu.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

connect https://github.com/resin-os/resinos/issues/89

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@telphan @floion @agherzan

@michal-mazurek Please add a changelog.


Update RestrictionType.md

Added draft closure types for discussion

Hi @imcurtis, thank you for contributing. Can you create an issue to propose this idea for discussion. PRs should be backed by an issue with discussion for tracability.
Thank you.

Thanks Jacob.  I've enlisted the help of a BTS fellow and was teaching him about the WZDx github site.  We'll create and issue for discussion..  Would you like us to drop/delete this?

@DeraldDudley this PR can remain open, I will convert it to a draft for now until the implementation is discussed in the issue. If you could tag the issue here once created, that would be great, thanks!

Will do.  Thanks.

See #256.

Hay Jacob,  I'm creating an issue that proposes adding a closure value to the EventType Enumeration.  Do you want to close this and open a new PR or just edit this PR?  Thanks, D

@DeraldDudley will the new issue replace the implementation proposed here? If so, we can close this PR.

Closing this.  A new implementation strategy can be found in Issue 270


Add the SFD dustmap code so we can generated extinction for ATLAS and Pan-STARRS filters

Need to merge the dustmap code into the Pan-STARRS / ATLAS web interface, but can't do this until we have a new utility to generate the relevant extinction for Pan-STARRS and ATLAS filters.  So need a getATLASPS1Extinction method which takes RA, Dec and returns a dictionary of extinctions.

Done. Careful with dustmap downloads - we need a consistent download directory - or a variable we can pass into the suggested function above (with a download option).


AppDynamics - Limited page size to 20

AppDynamics - Limited page size to 20 for sorting timestamp

@tabladrum LGTM


Sessions don't work with simulators

URL to the relevant documentation
https://docs.quantum.ibm.com/run/run-jobs-in-session
Select all that apply

[ ] typo
[ ] code bug
[ ] out-of-date content
[ ] broken link
[ ] other

Describe the fix.
The session documentation explicitly calls out that sessions don't work with simulators. Yet the code examples still use simulators for sessions. I believe the intent was to show the Session code syntax, and simulator was chosen for fast execution. But since we are retiring cloud simulators anyway, it makes sense to update the code to use a real backend instead.

This was fixed with the release of the V2 primitives.


question: is there any where to add parameter to all api like Swashbuckle

Swashbuckle
above is example of code in Swashbuckle to add parameter to all api using Microsoft.openAPI, try to research with using nswag, cannot find any and come here and advice

You can do the same with a custom operation processor.

thanks @RicoSuter,
would like to know the parameter can be drop down ?
which this can be added to wiki as well :)


Added a fix for submission details page changes not committing new submissions

This PR adds a fix that broke functionality due to leetcode website changes.
@arunbhardwaj Please let me know if you have any comments.
I tested the extension locally, and it works fine now.
Fixes Issue: https://github.com/arunbhardwaj/LeetHub-2.0/issues/12

I find that this approach is more of a "forced submission" approach. I've detailed an alternative solution that I feel handles the new issue from the LeetCode UI changes in this PR:
https://github.com/arunbhardwaj/LeetHub-2.0/pull/18
I'd love to confirm that this works for you @Mouli-Sanketh-Maturi


Update rocksdbjni to 8.11.3

About this PR
📦 Updates org.rocksdb:rocksdbjni from 6.29.5 to 8.11.3 ⚠
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.rocksdb", artifactId = "rocksdbjni" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.rocksdb", artifactId = "rocksdbjni" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

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

Project coverage is 60.57%. Comparing base (862ac3a) to head (6f76eb4).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #429      +/-   ##
==========================================
+ Coverage   60.51%   60.57%   +0.06%
==========================================
  Files         152      152
  Lines        3277     3277
  Branches      101      105       +4
==========================================
+ Hits         1983     1985       +2
+ Misses       1294     1292       -2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Superseded by #432.


Updated directory name and added Tests directory

Updated the repository to have more useful names and added a Tests directory

closed


Interactive plotting is no longer a feature

Sadly, not many Plots.jl backends support this. I think only Plotly supports this.

I think you can use Plotly as a backend of Plots.jl, see https://docs.juliaplots.org/latest/backends/

Is this something we still want? What was implemented before? What can we gain? Can maybe someone (@jdelpino @jkosata ) make a list of what is wanted?


Work in Progress: eng-3879

Description
-This PR contains a transform function to allow a user to remove certain characters from a text field before it is tokenized.

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[ ] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

Not sure why some older commits that are not part of this work are here in this PR. Would it have to do with our combination of the two repos?


Token expires too soon

I love this gem but stumbled into an issue lately.
I manually create a token by calling create_new_auth_token on a User.
Right after that, the created token works fine. But a few days later it will no longer works, as if it has been expired.
Here's the strange thing though. The expiry timestamp that is returned on create_new_auth_token indicates a much later date (e.g. in this example 6 August 2017, yet as of today it is already expired). Is there a limit to the amount of clients stored and is the oldest removed at some point?
Here's some relevant config:
DeviseTokenAuth.setup do |config|
  # By default the authorization headers will change after each request. The
  # client is responsible for keeping track of the changing tokens. Change
  # this to false to prevent the Authorization header from changing after
  # each request.
  config.change_headers_on_each_request = false

  # By default, users will need to re-authenticate after 2 weeks. This setting
  # determines how long tokens will remain valid after they are issued.
  config.token_lifespan = 2.weeks

  # By default, only Bearer Token authentication is implemented out of the box.
  # If, however, you wish to integrate with legacy Devise authentication, you can
  # do so by enabling this flag. NOTE: This feature is highly experimental!
  config.enable_standard_devise_support = false
end

There is a default limit of 10 "devices" per user. You can override this in the config file by uncommenting:
# Sets the max number of concurrent devices per user, which is 10 by default.
# After this limit is reached, the oldest tokens will be removed.
# config.max_number_of_devices = 10

The clients seem to be expired oldest first (i.e. if I log in with by browser, then call create_new_auth_token 10 times on the user in the console, the browser client is "expired"). Are you calling create_new_auth_token 10 times on the same user when testing?

Hey @nicholasshirley
Thanks for your response. I generate a new token once daily. So if create_new_auth_token invalidates all old tokens, how can I generate a new token without invalidating the old ones?

Can you tell me more about your use case? You would like to have a single user have a new token each day, but they should also be able to use an older token generated for their account so long as it is not expired?

@nicholasshirley
Yeah here's my use case. So I have a bunch of hardware (specifically RFID card readers) that fire HTTP requests to a central server once a RFID card is scanned. Although this happens over an internal network I still want some form of authentication. The way this kind of hardware works is that I can't pass any headers with a token etc, so I append them as query parameters and set the headers programmatically once I receive these kind of requests.
The configs on these RFID is updated each night automatically: this is where a generate a new token. It might be okay to invalidate all older tokens at this point. Still, I've got the impression that somehow the tokens are invalidated even before the new token is generated, which is less than a day after creation.

@nicholasshirley
just did some testing. First I created a token using create_new_auth_token and confirmed that it works to authorize an user. Then I ran create_new_auth_token again. Both the old and the new token keep working, so calling create_new_auth_token definitely doesn't seem to invalidate old tokens immediately.

Seems as if this strategy worked! @edwardmp feel free to reopen if not.


setup.py does not find the DLL on windows

The VS project seems to be configured to build the library in windows/x64/Release/xgboost_wrapper.dll, but setup.py only checks windows/release/xgboost_wrapper.dll. Moving it to a different directory works, of course.

I think setup.py checks both according to https://github.com/dmlc/xgboost/blob/master/python-package/xgboost/libpath.py
            dll_path.append(os.path.join(curr_path, '../../windows/x64/Release/'))
            dll_path.append(os.path.join(curr_path, './windows/x64/Release/'))

Sorry I didn't realize I was trying to install it on a 32-bit python version :)


Conflict with Canary

The issue seems to be with Canary, but I wanted to reference it here in case someone else encounters it.
https://github.com/AbdElAziz333/Canary/issues/46

Fixed it on my side by removing the "changed" event after setting the item list.
Fixed in:

1.19-<IP_ADDRESS> : https://github.com/cech12/WoodenHopper/commit/34bce30c9e63f99c006646d266eda0bd55b971d6
1.18.1-<IP_ADDRESS> : https://github.com/cech12/WoodenHopper/commit/8ed9445a7469c33382d67b5edbb57ca88a9a388e


Change dart create to enable null safety (language version 2.12.) by default

With the 2.12.1 release, if I create a new package using dart create, the created pubspec contains:
environment:
  sdk: '>=2.10.0 <3.0.0'

I expect the null safety release to create projects with null safety enabled by default.

This is something we're considering for 2.13. We want to make sure we have a sufficient ecosystem first.

cc @devoncarew since this CL updates the default language version to be 2.12.

I believe I've captured the latest from this PR into that CL into dart-lang/sdk.

I believe this is complete; closing.


DOC: add sphinx and doc building

TODO:

add a CI job to build docs and push to the sites branch, then turn on github pages
think about adding a CNAMES file to the base of the repo to serve the pages from a better url
add sphinx to the requirements.txt for doc building

Merging as-is, for now we can publish the docs manually.


Azure Device Update Commitments for JavaScript (July-December 2021)

This tracks the Azure Device Update Commitments for JavaScript for the Azure SDK team

Shouldn't this be in https://github.com/Azure/azure-sdk-for-js ?


Add unit tests for PinListSync

What changes are proposed in this pull request?
I added unit tests for PinListSync
Why are the changes needed?
It improves unit-test coverage of the class (0% -> 100%)
Does this PR introduce any user facing changes?
No

@jiacheliu3 Do you mind taking a look at this? Thanks!

alluxio-bot, merge this please

alluxio-bot, merge this please


[DNM][Test CI][TEST] Hudi 3088 default spark32 3

Change Logs
Describe context and summary for this change. Highlight if any code was copied.
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Java CI / test-spark (scala-2.12, spark3.0, hudi-spark-datasource/hudi-spark3.0.x)  passed.
Only need to add <scalatest.version>3.0.1</scalatest.version> in spark3.0 profile.
cc @xushiyan

Close this test pr.

@zhangyue19921010 thanks!


AppBarButtons as Secondary Items in a CommandBarFlyout do not have correct rounded corners

Describe the bug

The AppBarButtons in the CommandBarFlyout's SecondaryItems are incorrectly styled
Steps to reproduce the bug

Steps to reproduce the behavior:

Open MUXTestApp
Click on CommandBarFlyout > **Base CommandBarFlyout Tests
Click on Show CommandBarFlyout with sub-menu

Expected behavior

The AppBarButtons which are displayed in the CommandBarFlyout's SecondaryItems should be styled to match the MenuFlyout Items
Screenshots

Version Info

NuGet package version:

Current Main branch as of Sun 13th June 2021

Windows app type:

UWP
Win32

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

21H1 (19043)
 Yes

October 2020 Update (19042)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
 Yes

Xbox

Surface Hub

IoT

Additional context

@teaP do you recognize this issue?

Actually, I think this is a MuxControlsTestApp app bug. There is a checkbox on the first page of the MuxControlsTestApp labled "Long Animations Disabled" which while checked applies a different style to command bar flyout (and some other things) the purpose being to remove some animations so we don't have to wait for them during tests.  If I uncheck that checkbox I see rounded corners on these elements as the default style is not applied.  @mdtauk could you confirm this is the case for your repro as well?

You are absolutely right.  Thanks for responding, I would not have realised that is what was going on.


Development

In scripts folder, the absolute path of config file is wrong in all the python codes. Currently the config file is placed in the root repo named 'project_config'. But all the python scripts are trying to read a file named 'config'.

@pattu777 I acknowledge the issue you raised, but you switched to the development branch and are trying to merge some changes that you did there. As a result, some of my commits to the development branch are showing up in this pull request as well.  Switch to the master branch, do the changes there, and send a new pull request.

@ankeshanand Thanks for the remark. I will create a new pull shortly.


Initial add of vott how to

Adding new doc for VoTT instructions to generate object detection data
Updating object detection doc to reference the new VoTT doc

Fixes 25192
VoTT doc preview
Object detection doc preview

@luisquintanilla I believe this is now ready for review


[bug]: Trojan Win32/Casdet!rfn found

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
cuda
VRAM
4
What version did you experience this issue on?
2.3.0
What happened?
Windows defender flags pytorch_model.bin as a Trojan virus.
Screenshots

Additional context
No response
Contact Details
No response

I am also seeing this. False alarm or something serious?

got same issue while loading SD2.1 BASE here
win10 / CUDA / 3060Ti 8Gb Vram

I've been getting the same flags for all my vae.pt files whenever I try to load a vae. It started about 2 hours ago. To clarify I'm using hte Automatic111 webUi, but thought this would be helpful here as well.
Windows Defender message: Trojan:Win32/Casdet!rfn
OS: Windows 10
Python version: Python 3.10.6
SD-WebUI revision: 3715ece0adce7bf7c5e9c5ab3710b2fdc3848f39
torch version: 1.13.1+cu117
torchvision version: 0.14.1+cu117

me too

thought it might have been a bad model i imported, but i did a clean install without importing any other models but the ones offered in the install script. and got the same windows backdoor virus notification... WTF

For me it is also the safety checker file of models--runwayml--stable-diffusion-v1-5 1d37ca6e57ace94e4c2f03ed0f67b6dc83e1ef1160892074917aa68b28e2afc1 Backdoor:Win32/Bladabindi!ml

I just started seeing this too.

This is also being discussed on itch.io. It looks like the latest pytorch_model.bin releases may be triggering a false positive detection in Windows Defender. I'm waiting to hear more before I assume it's safe.

When I unzip pytorch_model.bin, I don't get a virus detection on any of the extracted files.
For reference, the hash of the release I downloaded is 9f3084c0600e544506a2d414647492a036fb1aa0, current as of 2023-03-20 18:45 UTC.

Where is blip-image-captioning-base being downloaded from? Because pytorch_model.bin it doesn't match the release currently available on Hugging Face.

same issue with 9f3084c0600e544506a2d414647492a036fb1aa0\pytorch_model.bin

same issue with 9f3084c0600e544506a2d414647492a036fb1aa0\pytorch_model.bin
"Backdoor:Win32/Bladabindi!ml" from windows defender.

Me too. But since nothing was detected in the extracted files when I unzipped it, does that mean Windows Defender just found a false-positive signature in the compressed data? pytorch_model.bin is actually just a zip file.

same issue with 9f3084c0600e544506a2d414647492a036fb1aa0\pytorch_model.bin
"Backdoor:Win32/Bladabindi!ml" from windows defender.

Me too. But since nothing was detected in the extracted files when I unzipped it, does that mean Windows Defender just found a false-positive signature in the compressed data? pytorch_model.bin is actually just a zip file.

Yeah, I think its just a false alarm from Windows Defender, but I'm gonna pause my work for a few days or try it on VM. This Bladabindi kinda scares me.

ugh yeah it's a false positive, they are the model weights not an executable.

This is almost certainly a false positive because neither the safety model nor SD 1.5 have changed in the past month.
The most I can do is to put something in the documentation warning people about the issue. Could subscribers to this issue help me compile a comprehensive list of which models are causing the issue?
Here's what I gather from the thread:

CIDAS/clipseg-rd64-refined
runwayml/stable-diffusion-v1-5

The CIDAS model is always installed - it is used for text based masking in the CLI. The runwayml model is optional, but since it is the main stable-diffusion 1.5 model, you probably will want it.
All the diffusers models contain a file named pytorch_model.bin, so the important thing to know is the name of the directory that contains it.

same issue with 9f3084c0600e544506a2d414647492a036fb1aa0\pytorch_model.bin
"Backdoor:Win32/Bladabindi!ml" from windows defender.

Me too. But since nothing was detected in the extracted files when I unzipped it, does that mean Windows Defender just found a false-positive signature in the compressed data? pytorch_model.bin is actually just a zip file.

Yeah, I think its just a false alarm from Windows Defender, but I'm gonna pause my work for a few days or try it on VM. This Bladabindi kinda scares me.

Did it work on VM?

Personnally I got 5 alerts from Windows Defender, on these files :
"models--CIDAS--clipseg-rd64-refined\snapshots\583b388deb98a04feb3e1f816dcdb8f3062ee205\pytorch_model.bin"
"models--stabilityai--stable-diffusion-2-1\snapshots\f7f33030acc57428be85fbec092c37a78231d75a\text_encoder\pytorch_model.bin"
"models--runwayml--stable-diffusion-v1-5\snapshots\ded79e214aa69e42c24d3f5ac14b76d568679cc2\safety_checker\pytorch_model.bin"
"

Personnally I got 5 alerts from Windows Defender, on these files :
"models--CIDAS--clipseg-rd64-refined\snapshots\583b388deb98a04feb3e1f816dcdb8f3062ee205\pytorch_model.bin"
"models--stabilityai--stable-diffusion-2-1\snapshots\f7f33030acc57428be85fbec092c37a78231d75a\text_encoder\pytorch_model.bin"
"models--runwayml--stable-diffusion-v1-5\snapshots\ded79e214aa69e42c24d3f5ac14b76d568679cc2\safety_checker\pytorch_model.bin"
"models--runwayml--stable-diffusion-inpainting\snapshots\afeee10def38be19995784bcc811882409d066e5\safety_checker\pytorch_model.bin"
"models--CIDAS--clipseg-rd64-refined\snapshots\583b388deb98a04feb3e1f816dcdb8f3062ee205\pytorch_model.bin"
All alerts were for that Bladabindi!ml Trojan. Hope it can help

I ran Kaspersky at maximum paranoid mode, and it stays silent about anything in my InvokeAI stuff.


add environment variables to override command line flags

Codecov Report

Merging #97 into master will decrease coverage by 0.26%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
- Coverage   57.39%   57.12%   -0.27%
==========================================
  Files          21       21
  Lines        2138     2148      +10
==========================================
  Hits         1227     1227
- Misses        777      787      +10
  Partials      134      134


unity.config file being ignored

I wanted to view the data being transmitted to the portability service, so I created a unity.config file as described here. I then ran my ApiPort command again, and expected to see a file produced which would provide the data transmission detail. No such file was produced.
I dug into this a bit deeper and found that Autofac has replaced Unity as the IoC container. The associated PR is #289. It looks like this may have broken the functionality. Is there a way to enable this feature with Autofac? If so, the config file should be renamed accordingly (e.g., autofac.config).

Thanks for letting us know! I'll try to look into it


Preserve selected genre, when the genres collection is updated

Currently, when an update to the genre's collection is made via the Firebase Console. The user's selection will revert to "All Genres."
Instead the user's currently selected genre should be preserved.
https://github.com/paulsmithkc/FirebaseMovieList2022/blob/703d922a1549fcb4caa2523d98aba945eb1fac11/MovieList/app/src/main/java/edu/ranken/prsmith/movielist2022/MainActivity.java#L79-L95

Fixed.

Bug still exists when the name is null.
if (Objects.equals(genre.id, selectedId)) {
    selectedPosition = genreNames - 1;
}

Fixed.


RuntimeError: In FT2Font: Can not load face (unknown file format; error code 0x2)

raceback (most recent call last):
File "G:\comfyUI+AnimateDiff\ComfyUI\nodes.py", line 1800, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "G:\comfyUI+AnimateDiff\ComfyUI\custom_nodes\comfyui-mixlab-nodes_init.py", line 276, in
from .nodes.Utils import ColorInput,FontInput
File "G:\comfyUI+AnimateDiff\ComfyUI\custom_nodes\comfyui-mixlab-nodes\nodes\Utils.py", line 32, in
font_files = get_font_files(r_directory)
File "G:\comfyUI+AnimateDiff\ComfyUI\custom_nodes\comfyui-mixlab-nodes\nodes\Utils.py", line 22, in get_font_files
font_name = font_prop.get_name()
File "G:\comfyUI+AnimateDiff\python_embeded\lib\site-packages\matplotlib\font_manager.py", line 669, in get_name
return get_font(findfont(self)).family_name
File "G:\comfyUI+AnimateDiff\python_embeded\lib\site-packages\matplotlib\font_manager.py", line 1554, in get_font
return _get_font(
File "G:\comfyUI+AnimateDiff\python_embeded\lib\site-packages\matplotlib\font_manager.py", line 1496, in _get_font
return ft2font.FT2Font(
RuntimeError: In FT2Font: Can not load face (unknown file format; error code 0x2)
Cannot import G:\comfyUI+AnimateDiff\ComfyUI\custom_nodes\comfyui-mixlab-nodes module for custom nodes: In FT2Font: Can not load face (unknown file format; error code 0x2)
今天的才git pull 最新版后，

我也有这种问题，之前旧版没有更新后就不能用了

恢复到0.27
git reset --hard v0.2.7

Download the latest Assets source code and unzip it to the custom_nodes folder of comfyUI

What's that even supposed to do ?
That does absolutely nothing.

Download the latest Assets source code and unzip it to the custom_nodes folder of comfyUI

This BUG has been fixed in version 0.3.1

Updated and now getting a:
"Error processing font C:\Users\Utilizador\AppData\Local\Microsoft\Windows\Fonts\AcuminVariableConcept.otf: In FT2Font: Can not load face (SFNT font table missing; error code 0x8e)"
Though the font is there. Don't know anymore what this is related to even.

Updated and now getting a: "Error processing font C:\Users\Utilizador\AppData\Local\Microsoft\Windows\Fonts\AcuminVariableConcept.otf: In FT2Font: Can not load face (SFNT font table missing; error code 0x8e)" Though the font is there. Don't know anymore what this is related to even.

This BUG has been fixed in version 0.3.1

It's still showing up even on that version.

It's still showing up even on that version.

Download the file package in Releases directly and extract it to the “custom_nodes” directory. Do not use the git clone command. This project uses the git clone command under mac. Some fonts may report errors.