Uncertainty error code not consistent with its definition?

Hi @asharakeh , thanks for releasing your code! Congratulations on the great work.
I have a problem with the calculation of uncertainty error in your code.
For example, when computing regression minimum uncertainty error, you use
reg_u_errors = 0.5 * ((sorted_gt_idxs_tp.sum(0) - tp_cum_sum) /                                   sorted_gt_idxs_tp.sum(0)) + 0.5 * (fp_cum_sum / sorted_gt_idxs_fp.sum(0))
the first numerator is not the number of TPs whose uncertainties are larger than an uncertainty threshold, and the second numerator is not the number of FPs whose uncertainties are smaller than the uncertainty threshold, besides, I did not find the uncertainty thresholds you set to get the uncertainty error.
Am I missing something, or you defined the uncertainty error differently here?

Hi @JoyceYa. So the equation provided in many papers is for the Uncertainty Error. What this code calculates is the Minimum uncertainty error. You can do this calculation in 2 ways:

Define millions of thresholds, compute the uncertainty error, find the minimum value.
Or you can compute a vector of every possible uncertainty error for your dataset without using any threshold by using the cumulative sum over ranked tp/fps from your dataset. This concept is very similar to how AP is calculated in BDD dataset evaluation code.

Basically, you can not use a single threshold, since you are computing the minimum uncertainty error, the lowest uncertainty error achieved by the detector over every single possible value of the threshold.
Hope this helps.

You're right, thanks for the clear explanation!
By the way, you use gaussian differential entropy to represent regression uncertainty, is it possible the differential entropy has negative values ？ Will negative entropy values influence the evaluation?  How did you handle this problem in your implementation ?

Differential entropy for a gaussian has a support of [-inf, +inf]. Negative values should not impact the evaluation as no hardcoded thresholds are set for Uncertainty Error computations. Basically, negative values are also considered in the non-threshold-based UE computation.
However, if you want to use differential entropy in an application, things begin to get more complicated. In general, you should measure the differential entropy relative to some prior.


[LLC/Data Plane Client] Tests slow down in playback mode beyond timeout limit

Hey all,
The tests with issues are
@christothes, @pakrym, @heaths have worked with me on debugging this issue. Our findings are as follows:

The following test is severely slowed down if waitForCompletion is set to true.
The same applies for the following sample.
However, for the sync version of the previous sample, the test is significantly slowed regardless of whether the waitForCompletion flag is set to true or false.

@christothes believes this may have to do with instrumentation not correctly handling scenarios where the operation is being returned by a helper class rather than the client itself.

I think more likely that this is a problem with how we proxy Operations. We currently transform the return value by instrumenting the returned operation. However, in the case of waitForCompletion: true, the operation is waited prior to it being returned by the method.
I think we should explore a different approach to how we instrument operations to handle this case.

Agreed. Perhaps there is something deeper down the stack we can do that would work for both this new LLC waitForCompletion pattern as well as existing Operation/Operation<T> classes.

I haven't investigated the feasibility of this yet - but one idea I had was to somehow instrument all constructors of types based on Operation

When instrumenting the client, could we use Castle (what Moq uses) to generate/cache a proxy and override any such method wrap/whatever we need to do?

This was fixed in https://github.com/Azure/azure-sdk-for-net/pull/30112


Error with 2 modules in the same story file

Hi all,
my story file looks like this:
defmodule Storybook.Examples.LiveForm do
  use PhoenixStorybook.Story, :example
  alias Storybook.Examples.LiveForm.Skema

  @impl true
  def mount(_, _, socket) do
    changeset = Skema.changeset(%Skema{})
    {:ok, socket}
  end

  def render(assigns), do: ~H"o/"
end

defmodule Storybook.Examples.LiveForm.Skema do
  use Ecto.Schema
  import Ecto.Changeset

  embedded_schema do
    field(:image, :string)
  end

  def changeset(item, attrs \\ %{}) do
    item
    |> cast(attrs, [:image])
    |> validate_required([:image])
  end
end

I got this error when trying to visit the story page:
** (CompileError) storybook/examples/live_form.story.exs:7: Storybook.Examples.LiveForm.Skema.__struct__/1 is undefined, cannot expand struct Storybook.Examples.LiveForm.Skema. Make sure the struct name is correct. If the struct name exists and is correct but it still cannot be found, you likely have cyclic module usage in your code
    expanding struct: Storybook.Examples.LiveForm.Skema.__struct__/1
    storybook/examples/live_form.story.exs:7: Storybook.Examples.LiveForm.mount/3

Am I doing something wrong here?
Thank you

Is this the same issue than #260? I'll get it fixed next week

It could be, yes.
If that's ok I would like to keep this open, but you can comment on the other, and I'll test the fix.
Thanks for the effort.

Hey @carlotm
Any chance you can test the main branch to see if the issue is fixed for you?

Hi @cblavier
I am updated at commit 14b9e76159e4914753a64b56b41812745e7b4063 and it didn't solve the issue (same error).
As I see having an additional module inside the story a very specific edge case, and there is a method to achieve the same (using the extra_resources function), I am ok with closing this issue.
Kind Regards,
Carlo

I'm fine with closing the issue :) Thanks, Carlo!


[Bug]: Mongo Smart Substitution fails

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Smart substitution fails for $in queries where an array of ObjectId("123") need to be passed
Steps To Reproduce

Create a mongo query to fetch movies and connect it to a table
Convert the table selected rows to multi select and select a few rows
Create a mongo query to fetch the rows that are selected in the table as
{ _id: { $in: {{Table1.selectedRows.map((row) => 'ObjectId("'+row._id+'")')}} } }
This gives an error

Environment
Production
Version
Cloud

@nidhi-nair @sumitsum I'm bumping this up because a user on intercom reported this and it's not just a smart substitution problem. There seems to be no way to achieve this suddenly. I'm fairly certain this used to work before


Adding countries to avalaible properties

Is it possible to add countries to values loadable from reconcilied ones?

This service only loads the values from the JSON-LD from IMDb, as the countries are not part of it in IMDb, these values are not loadable here.

Thanks for the explanation


{ACR} Fix: az acr login Add missing command text to log output

Related command

az acr login
Description

Running az acr login with --debug outputs the following
cli.azure.cli.command_modules.acr.custom: Invoking 'docker --username 00000000-0000-0000-0000-000000000000 --password <redacted> myacr.azurecr.io'

The actual command run is docker login --username ..., but the login portion is missing. This PR adds it
Testing Guide

Run az acr login with the --debug flag and validate that the output includes Invoking 'docker login --username '
History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR title and description has followed the guideline in Submitting Pull Requests.

[X] I adhere to the Command Guidelines.

[X] I adhere to the Error Handling Guidelines.

ACR

If there's anything else needed for this PR then please let me know 😄


[Fix] no-extraneous-dependencies/TypeScript: do not error when importing type from dev dependencies

fixes #1618
This PR is to avoid error should be listed in the project's dependencies, not devDependencies. when only importing typescript types

@ljharb please can you review? :)

The tests are not passing in the old versions of eslint because they use an old version of typescript-eslint-parser that does not support import type. I was wondering if there is a way to not run these new tests in the old eslint versions, as this feature is not supported anyway.

Coverage decreased (-0.6%) to 97.158% when pulling 70ba425b2c57eae2eb757cf340fe85f4c80f57b9 on fernandopasik:no-extraneous-dependencies-type-import into 54eb51b873697e006287d2a19c7b906ab480a04d on benmosher:master.

Coverage decreased (-0.6%) to 97.158% when pulling 70ba425b2c57eae2eb757cf340fe85f4c80f57b9 on fernandopasik:no-extraneous-dependencies-type-import into 54eb51b873697e006287d2a19c7b906ab480a04d on benmosher:master.

Coverage decreased (-0.6%) to 97.158% when pulling 70ba425b2c57eae2eb757cf340fe85f4c80f57b9 on fernandopasik:no-extraneous-dependencies-type-import into 54eb51b873697e006287d2a19c7b906ab480a04d on benmosher:master.

I've filtered the unsupported parser but still having an issue with eslint 5 and the new ts parser

Awesome, was just coming to ask if this was potentially possible - thanks for your work on this @fernandopasik !  Looking forward to this being released.

@fernandopasik
This PR is great.
Though it doesn't support inline type imports.
// works
import type { Foo } from "types-package";

// doesn't work yet
import { type Foo } from "types-package".

Hey @AndyOGo ! Thanks, I think typescript introduced those after this PR

@fernandopasik
@ljharb
Thanks for your quick reply.
Right.
Anyway, I admire your work.
And I provided a patch to support inline types.
https://github.com/import-js/eslint-plugin-import/pull/2735

😳 You must mean you only admire @ljharb work, he's the only legend there
thank you! 🙇♂


[BUG] Prefabs instances references are lost randomly after some pushes

Describe the bug
Sometimes, after a push that is not modifying the .meta files, references to prefabs are lost.
To Reproduce
This occurs randomly, we couldn't reproduce it consistently. One case when normally happens is after cloning the repo.
Expected behavior
Not losing instances references..

references in scenes?

The reason for this actually is that some assests are not imported, try to reimport all with the reimport All menu option. Also notice that assimps is giving error when loading some models.


docs (merge documentation): fix closing of code block

remove hanging 'javascript' after ``` which breaks formatting of documentation
Closes #3880

Description:
Incorrect closing of multiline JS code block broke formatting within the merge document.
Related issue (if exists):

Coverage remained the same at 96.747% when pulling 08c2467965fb64ea5fbc9c446140317f54644b4a on sprovostLTG:errorInExample3880 into f9318d898d6c017652a84202ccaebb440397016c on ReactiveX:master.

Thank you, @sprovostLTG


Child abuse police reports

Someone has requested help on a data project:
Submission notes
I'm trying to look at police reports for cases of child abuse to look at the rhetoric used.
Location
Child and Family Services
Requirements
Court cases and policies
How to help
Leave a comment if you'd like to help. Do you have ideas, questions, or need any more information to get started?

They needed the information in 5 days, and we missed the deadline.


Added wcc record workshop

Pull request for webcenter-content folder

@ShrirakshaSNataraj - Please provide the WMS ID in the title


use kebab-case arguments for jest process

See https://github.com/jest-community/vscode-jest/issues/923 for context

Fixed the tests

I came across the Angular 14 cli issue as well. Any chance to merge this?
Thanks!

closed via #103


k is not defined

Hi, thanks for your module. When I try to update I have a error.

Version of this module :
Foundry Version: 9.269
System Name and Version: Dnd5e 1.6.3
Browser Name and Version: Chromium 104
I have uninstall and reinstall your module without succes.

Solve with update foundry to 9.280


Fix this pointer on "socket" event

This makes behavior consistent with the Node.js HTTP module
(https://github.com/nodejs/node/blob/v6.0.0/lib/_http_client.js#L541).

Coverage increased (+0.0007%) to 96.538% when pulling 50859e52fd86759f3215cdc3509c83d364b84cf5 on RubenVerborgh:fix-socket-this into 9ee2984dbcc69a02a125a87a77c2daa763d98713 on node-nock:master.

Hi! Any plans to integrate this in a future release? This bugs make nock unusable in conjunction with node-rest-client (which uses follow-redirects, which crashes as described in https://github.com/olalonde/follow-redirects/issues/48)

BTW, this is also reported as https://github.com/node-nock/nock/pull/779 (ping @ianwsperber)

@leosoto Will release this week 😄

Thank you for the PR @RubenVerborgh!! This will go out in v9.0.5


[Bug]: Not running at all in Sonoma 14.6

Before submitting your bug report, please confirm you have completed the following steps

[X] Searched the issue is not already listed in the Issue List (I've searched it)
[X] Searched in the Quicksilver Users' Group for questions relating to tech support.
[X] Downloaded the latest version of Quicksilver for your system and confirmed the issue still persists.

Bug description
I upgraded to Sonoma 14.6. Quicksilver (v 2.4.2)  is a startup item on my Mac. It appears to run on startup but crashes immediately when I try to use it and then nothing happens at all when I try to open it again.
Steps to reproduce

Try to run quicksilver on Sonoma 14.6

Expected behavior
The program should run
MacOS Version
macOS 10.14
Quicksilver Version
2.4.2
Relevant Plugins
No response
Crash Logs or Spindump
No response
Screenshots
No response
Additional info
No response

The problem is much weirder than I thought! Quicksilver is running, but the bezel and the QS menubar icon don't render. If I invoke Quicksilver and the item is the center of my screen is a dark color, I can see the words I type in white on top of it. If I then press the down arrow, I see a list of items as normal.

Same version of SO 14.6 /app 2.4.2, same behavior.
I use a laptop, if I attach an external display and use QS there, everything is fine.
If i restart the app everything works fine, for a while.

@manroygood @mrlars this sounds like it may be related to https://github.com/quicksilver/Quicksilver/issues/2994
Can you update to 2.4.3 and report back?

The update seems to fix it. I'll let you know if anything fails. Thanks


Using navigation buttons comming from https://scoresaber.com/leaderboards

When navigating from https://scoresaber.com/leaderboards to a song view and using the back button afterwards two buttons are created in the topmost entry.

fixed in version 1.0


Doesn't add PictureFrame to ogg formats!

Thanks for the great package.
It just works for all mp3 files, but when it comes to different formats, like ogg it adds everything except the PictureFrame, which is kinda weird.
...
	if imgBytes != nil {
		tag.AddAttachedPicture(
			id3v2.PictureFrame{
				Encoding:    id3v2.EncodingUTF8,
				MimeType:    "image/jpeg",
				Picture:     imgBytes,
				Description: track.SoundData.Description, // well, coz why not :D
			},
		)
	}
...

Hey @AYehia0! Thanks a lot for reporting this issue!
Can you please send an OGG file where I can reproduce the issue?

Thanks @bogem, I have tested the OGG/OPUS file and I found out that the issue is within the audio player itself, not the package :smile:
Thank you for this great package, keep it up :D


Dark and Light mode

I am using React.jsx code for the home page. Is it possible to change the text color for dark and light modes? If so, how?

Hi, have you tried using useConfig provided by Nextra?
import { useConfig } from "nextra-theme-docs/dist/index.mjs";

export default function HomePage() {
  const { darkMode } = useConfig();

  return (

      Hello World!

  );
}

In my case useConfig is here import { useConfig } from "nextra-theme-docs";
and its not working the way  you showed

I figured it out :)
I need to use
import { useTheme } from "nextra-theme-docs";

export default function HomePage() {
    const { theme } = useTheme();

  return (

          Hello World!

  );
}

@Shubham-EV  The theme property gives the current selection in the theme switcher, not the active theme.  For instance, if the user selected "system", then theme will be "system".  Alternatively, the resolvedTheme property gives the true active theme (either "light" or "dark").


min duration from 1d to 86400s, changed weekly to day

Fixes two queries
osmosisd query lockup total-locked-of-denom gamm/pool/1
Wont work since it tries to use 1d as default min duration. Changed default to 86400s.
osmosisd query epochs current-epoch -h
Shows weekly as a potential input but its week not weekly. While I was at it I just changed default to day since it is most used.

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Codecov Report

Merging #859 (b2de76c) into main (39c4457) will not change coverage.
The diff coverage is 33.33%.

@@           Coverage Diff           @@
##             main     #859   +/-   ##
=======================================
  Coverage   19.86%   19.86%
=======================================
  Files         190      190
  Lines       24763    24763
=======================================
  Hits         4918     4918
  Misses      18982    18982
  Partials      863      863

Impacted Files
Coverage Δ

x/epochs/client/cli/query.go
0.00% <0.00%> (ø)

x/lockup/client/cli/flags.go
50.00% <50.00%> (ø)

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 39c4457...b2de76c. Read the comment docs.


fix: cleaner issue for pod caused by missing generation in metadata

closes: https://github.com/java-operator-sdk/java-operator-sdk/issues/1599

At the end changed the integration tests to use Service instead of Pod (what has the same issue), because it results in much more stable test.


[Feature]: AI Suite integration

💡 Feature Description and Proposed Solution
A new LLM chat framework called AI Suite just launched from Andrew Ng's team
https://github.com/andrewyng/aisuite
Adding observability callbacks would be a huge value-add for their project. This would involve:

Building a custom instrumentor
If needed, raise a PR to AI suite to improve observability handlers
Add an optional dependency to AI suite to include AgentOps
Updating our docs to show support
Updating their docs to show support

🤔 Related Problem
No response
🤝 Contribution

[ ] Yes, I'd be happy to submit a pull request with these changes.
[ ] I need some guidance on how to contribute.
[X] I'd prefer the AgentOps team to handle this update.

Going to wait until everything is all done to send to the provider; going to take a little time since AISuite doesn't natively have an event for telling when something is finished (Meaning i'll have to make conditionals for each based on the delta block or what other system they might use) but i'm confident I can make instrumentors now so it's more of a time issue than a skill issue!
It pretty much goes down to making a callback for each (which shouldn't take too long thanks to AgentOps having a lot of these already set up to reference) and then doing a wait until complete call! As mentioned in the OP's post, i'll have to make a pull request at the AISuite side for this to work!


update(readme): add links to the documentation

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind documentation
What this PR does / why we need it:
As per title.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

@LucaGuerra: The label(s) area/documentation cannot be applied, because the repository doesn't have them.

In response to this:

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind documentation
/area documentation
What this PR does / why we need it:
As per title.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: LucaGuerra
Once this PR has been reviewed and has the lgtm label, please assign maxgio92 for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 28b462c841daf247821a0fd3b0e6907b56d962e9

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


ARC parameter parsing assumes parameters that start with a number are numeric

config.py (lns 125-128) looks for:
if re.match(r"[0-9]*.[0-9]+", value):
self.config[key] = float(value)
elif re.match(r"[0-9]+", value):
self.config[key] = int(value)
So if a parameter starts with a number, like a reference file named 5gene.fa, you get an error as ARC tries to convert the parameter to an int.

Hi Magitz, thanks for reporting this bug. I'll put it on my todo list of things to take care of before the next release.
Sam

Should be resolved in v1.1.4-beta


rewrite README.md

This is an attempt at rewriting the README.md file to take into account some of the discussion of the CUDW Working Group
closes: #78

Note, the rendering of the README.md is available here: https://github.com/coq-community/templates/tree/README

@palmskog Sure, go ahead and merge. I was hoping for some feedback from @amahboubi , whose difficulties in using the templates prompted the rewrite. But since we all seem to be in agreement that this is an improvement over the current state, any further improvements can be done at a later point :grin:


Add a shell-completion-script generation feature

ArgumentParser should have the ability to generate code-completion scripts for different shells. This should initially support zsh and bash, for feature parity with the SwiftPM's completion-tool command, but be extensible to other shell completion styles as well.
One design would be to mimic the automatically-provided --help flag with a --generate-completion-tool option, that would take the name of the shell as its value. We'll need to augment ArgumentHelp so that an author can indicate the kinds of completions that are available, such as filename or path completion.

This was resolved by #123.


Add API Key Authentication

In my company we are using a selfhosted version of JIRA with authentication through Oauth2. Therefore I need to authenticate with a generated API Key which is also passed as a Bearer token.
Unfortunately I'm using black as my default formatter, so there are also some format changes. If you don't like that, just me let me know!

I prefer single quote. I would be grateful if you revert formatting done by black.

Incidently merged to master, I had to revert. Please create new PR. I apologize for the inconvenience.


Inheritence model broken

Hi,
I created an interface, an abstract class which implements the interface and is containing some abstract methods which should be implemented in specialized target classes. No rocket science imo..
On the abstract class i have now, after trying a lot around a public property (service: IService f.e.) service will be injected through constructor. When I now acces this.service from a derived specialized class I get an error that service is undefined.
interface Action<T extends MyDataType> {
   execute(element: T): void;
}

abstract class AbstractAction<T extends MyDataType> implements Action<T> {
  protected service: Service;

  constructor(service: Service) {
    this.service = service;
  }

  protected abstract doExecution(element: T): void;

  execute(element: T): void {
      if(this.service.isAllowed(element)) {
        this.doExecution(element);
      }
  }
}

class DeleteAction<T extends MyDataType> extends AbstractAction<T> {
  constructor() {
     super(new DeleteService());
  }

  protected doExecute(element: T): void {
    // here it rhows the error that service is undefined
    this.service.delete(element);
  }
}

Did I misunderstand some of the concept? Or am I totally wrong?
Don't make some nails on the example => it is just to demonstrate what I want to do.
Kindly
sebastiano

I forgot few things, sorry for that:

Compiler version 1.6.2 and 1.7.0-dev
if I do a console.log in service ins abstract than it looks like this is bound to 'window'


Memory Error when computing a F contrast

Hello,
compute_contrast crashes with a Memory Error when trying to compute a F contrast (300 lines, 305 cols),

the design matrix has shape  (2816, 305)
this happens whether the noise_model is set to 'ols' or 'ar1'
the data is not voluminous (the sole nii.gz file is 1.2GB)
the PC has 128GB of RAM, so it is most likely not due not enough RAM.

Here is the error:

In [2]: nreg = dtx_mat.shape[1]  # number of regressors
...: nn=np.eye(nreg)[0:300, :]  # F test on  the first 300 regressors
...: z_map=fmri_glm.compute_contrast(nn, stat_type='F', output_type='z_score')
...:
MemoryError                               Traceback (most recent call last)
 in ()
1 nreg = dtx_mat.shape[1]  # number of regressors
2 nn=np.eye(nreg)[0:300, :]  # F test on  the first 300 regressors
----> 3 z_map=fmri_glm.compute_contrast(nn, stat_type='F', output_type='z_score')
~/.local/lib/python3.6/site-packages/nistats-0.0.1a0-py3.6.egg/nistats/first_level_model.py in compute_contrast(self, contrast_def, stat_type, output_type)
549
550         contrast = fixed_effect_contrast(self.labels, self.results_,
--> 551                                           con_vals, stat_type)
552
553         estimate_ = getattr(contrast, output_type)()
~/.local/lib/python3.6/site-packages/nistats-0.0.1a0-py3.6.egg/nistats/contrasts.py in fixed_effect_contrast(labels, results, con_vals, contrast_type)
85             warn('Contrast for session %d is null' % i)
86             continue
---> 87         contrast = compute_contrast(lab, res, con_val, contrast_type)
88         if contrast is None:
89             contrast = contrast_
~/.local/lib/python3.6/site-packages/nistats-0.0.1a0-py3.6.egg/nistats/contrasts.py in compute_contrast(labels, regression_result, con_val, contrast_type)
56
57     effect_ = np.zeros((dim, labels.size))
---> 58     var_ = np.zeros((dim, dim, labels.size))
59     if contrast_type == 't':
60         for label_ in regression_result:
MemoryError:
==========================================================
Here is the code, runnable at Neurospin
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

import nistats
from nistats.first_level_model import FirstLevelModel
from nistats.reporting import plot_design_matrix
from nilearn.plotting import plot_stat_map
from nilearn.plotting import plot_glass_brain

imgs = '/neurospin/unicog/protocols/IRMf/LePetitPrince_Pallier_2018/MRI/english-fmri-data/all.nii.gz'
dtx_mat = pd.read_csv('/neurospin/unicog/protocols/IRMf/LePetitPrince_Pallier_2018/MRI//lpp-results/model-sneza-design-matrices/dmtx_all.csv', delimiter=',')
dtx_mat.shape

fmri_glm = FirstLevelModel(
            t_r = 2.0,
            hrf_model = 'spm',
            # mask='mask_ICV.nii',
            noise_model = 'ols', # ar1
            period_cut = 128.0,
            smoothing_fwhm = 0,
            minimize_memory = True,
            memory='/volatile/nistats-cache',
            #memory = None,
            verbose = 2,
            n_jobs = -1)

fmri_glm = fmri_glm.fit(imgs, design_matrices=dtx_mat)

from nistats.reporting import plot_design_matrix
plot_design_matrix(fmri_glm.design_matrices_[0])
plt.show()

nreg = dtx_mat.shape[1]  # number of regressors
nn=np.eye(nreg)[0:300, :]  # F test on  the first 300 regressors
z_map=fmri_glm.compute_contrast(nn, stat_type='F', output_type='z_score')

As you can see, as an intermediate step, the code creates the covariance matrix of the estimates in each voxels. This is OK for standard contrast but blows up with large number of contrasts.

the correct fix to that is to find an alternative way to handle F contrasts: computing simply the difference of sum of squares of  the residuals for the full and partial model, respectively. This will avoid manipulating all the inverse matrices. It's going to take time to implement and check that.
A sort-term workaround is simply to run the model on small batches of voxels, using e.g. a parcellation.

I can indeed fit the full and partial models. Will there be an easy way to compute the SS in each voxel then ?

I can indeed fit the full and partial models. Will there be an easy way to compute the SS in each voxel then ?

I think I have the fix for it, on the recent branch I've just created. Let me try and if it's working on your data and if yes I issue a PR.


[Feature Request] Add shader recompile mechanism

This is useful for changing macro such as #define and other usage.
A simple implementation can be:
interface ShaderDefinitionDefines {
  [name: string]: string;
}

interface ShaderDefinition {
  vshader: string;
  fshader: string;
  attributes: ShaderDefinitionAttributes;
  defines?: ShaderDefinitionDefines;
}

class Shader {
  // new interface
  recompile() {
    this.destroy();
    this.device.createShader(this);
  }
}

class GraphicsDevice {
  compileAndLinkShader(shader) {
    // update the shader source by definition.defines
    var glVertexShader = this.compileShaderSource(definition.vshader, true);
    var glFragmentShader = this.compileShaderSource(definition.fshader, false);
    // ...
  }
}

We've discussed something similar for graph based shaders .. and hopefully the implementation will cover both that as well as  chunked based shader.

@mvaligursky That's great ! When will the graph based shader release ? 😃


Update to intl 0.19.0

With Flutter 3.22 - flutter_localizations depends on intl 0.19 - please update paged-datatable to intl 0.19

thanks for this great project

Hello @philitell. Thanks for reporting that. I was waiting for flutter_localizations to be updated to  intl 0.19 before creating a release on pub.


Create Bank_Management_Systum.cpp

Remove the credits in starting comments in code @NamanOG Also not followed code of conduct to Star the Repo!

Done !
Removed the Credits and Starred the repo


url.shellescape breaks PhantomJS driver

As per this StackOverflow post I'm getting the following error when I run teaspoon:
Teaspoon::UnknownSuite: Unknown suite "default\"

I've managed to track the problem down to lib/teaspoon/drivers/phantomjs_driver.rb in driver_options(url).  For some reason (perhaps to URL-encode the suite name?) you call url.shellescape which changes the URL from
http://<IP_ADDRESS>:62848/teaspoon/default?reporter=Console

to
http://<IP_ADDRESS>:62848/teaspoon/default\?reporter\=Console

If I remove the call to .shellescape everything seems to behave.

I believe I've resolved this.. I am not using shellescape anymore however, just wrap things in quotes.


3161 table update visual snapshots

Closes #3161
Summary

Updates the visual snapshots where the table is used

Change List (commits, features, bugs, etc)
Acceptance Test (how to verify the PR)

Cypress visual regression testing succeeds

Regression Test (how to make sure this PR doesn't break old functionality)

na

Things to look for during review

[ ] Make sure all references to iot or bx class prefix is using the prefix variable
[ ] (React) All major areas have a data-testid attribute. New test ids should have test written to ensure they are not changed or removed.
[ ] UI should be checked in RTL mode to ensure the proper handling of layout and text.
[ ] All strings should be translatable.
[ ] The code should pass a11y scans (The storybook a11y knob should show no violations). New components should have a11y test written.
[ ] Unit test should be written and should have a coverage of 90% or higher in all areas.
[ ] All components should be passing visual regression test. For new styles or components either a visual regression test should be written for all permutations or the base image updated.
[ ] Changes or new components should either write new or update existing documentation.
[ ] PR should link and close out an existing issue

Closing this PR since it accidentally contained unrelated code


https://hgis.uw.edu/virus/ shows no data

Is it everythings ok with data?
https://hgis.uw.edu/virus/ shows no cases at all
Looks like there are some problems with csv or parsing, isn't it?

There's some merge-conflict markup left in https://github.com/jakobzhao/virus/blob/master/assets/virus.csv

Got it, thx
Actually the best map, due to separately plots over each country

You should not have closed this issue, it's actually a problem the owner of this repo has to address

Just thought it's already known issue


Mechanism for communicating with bot outside of service?

Is there a mechanism for communicating with a bot outside of the service it is spawned to?
Perhaps I'm missing something obvious, but it doesn't seem like there is a way...
Two things I'd like to be able to do, which are more or less the same.
First, I'd like to be able to test bot replies to certain messages and their variations in an automated capacity. The service wouldn't be necessary here, i'd just like to tell a bot something, and receive its reply.
Second, I'd like to be able to simulate communications with a bot manually, without needing to be connected to the services. Either for offline development, or for live-testing modifications to a bot's "hear" patterns or responses via external interface, without the user needing to be switching back to a service.
Perhaps what i'm trying to describe is a Controller that is service-less? Hopefully this is already available and I'm just missing it!

 Perhaps web based or w/e but a channel other than slack?
Is that close to what you are looking for?

Sorry missed this.
No, I don't necessarily mean for it to talk to a Slack bot. I'm meaning a bot that is not tied to a service, that can be communicated with directly, likely just via an internal api.
Then say for tests i could just spawn this standalone bot, and load up the same hears() on it. Then maybe directly talk to it via some method like bot.heard('some message') and test the responses.
Or, say if i theoretically had some UI where an admin could modify certain bot behaviours, they could use this standalone bot to test communication in this isolated UI.
Not sure if I'm being particularly clear. I think the core idea is to have a bot controller that behaves more or less identically (maybe without the socket/listening) but can be interacted with directly outside of a service.

Take a look at the dev/webchannel branch for an answer to this question.
It exposes a socket- and  webhook-based mechanisms for communicating directly with Botkit.


The screen reader is announcing the status message of which file is selected after selecting the select subscription button.

Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.
GitHubTags:#A11y_VSCode;#A11ySev2;#A11yTCS;#A11yWCAG;#DesktopApp;#Visual Studio Code Client;#JAWS;#WCAG4.1.3;#DesktopApp;#Win10;#VisualStudioCode-Win32-Apr2021;
Environment details:
Application Name: Azure Stream Analytics Tools for Visual Studio Code
Windows Version: Win10
Visual studio code  version : -1.55.1(User Setup)
Screenreader NVDA(2020.4), JAWS(2021.2102.34ILM)
Repro Steps:

Launch Visual Studio code application with installed Azure Stream Analytics Tools extension .
Tab to "Explorer" section in activity bar.
Press control +shift +P and edit bar will appear.
Type "ASA:Create new project" and press enter to create project.
New project will get created.
Tab to Input item in Project Tree Section
Right click on input and navigate to "ASA : Add Input" using arrow key and press enter.
Select IoT hub from available option using enter key.
Select "select from azure subscriptions" from available option using enter key.
Type any name for input file and press enter to create Input json file.
Tab to "Select Subscription" button and press enter.
Start screenreader and select "AML V1 Personal 2" and observe that after selecting this file screen reader does not announce any information.

Actual Result:
After selecting the select "AML V1 Personal 2" file  the screen reader does not announce any information that the AML V1 Personal 2 file is selected for subscription.
Expected Result:
The screen after selecting the selecting the "AML V1 Personal 2" file the screen reader should announce that this file is selected for subscription.
User Impact:
As ScreenReader is not announcing the status message the screen reader users may not get the acknowledge that the select "AML V1 Personal 2" file is selected as subscription.
Attachment:
The screen reader is announcing the status message of which file is selected after selecting the select subscription button..zip

Accessibility issue for extensions should be filled in the repository of the extension. Once that is done the extension author should investigate and file an issue in VS Code using proper description of our components. Thanks!


Update docs with info about Principals field

Note: I will merge once I have tested the testflight process with the new version of dfx sns

I tested the testflight process with the new version of dfx sns, and it works as well as before, so I think we're good to merge


unknown error: can not get metadata for db:mall_1 and table:orders_1

What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

config error.


Added env variable SMF_DKIM_KEYSIZE

Environmental variable SMF_DKIM_KEYSIZE allows the user to set the keylength of the generated DKIM key (defaults to 2048)

 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.

Thank you very much for the new feature implement!
Please get at least one approvement from our community before we can merge it, thank you very much!

Thank you very much!


SRV record type support

SRV record resolving would help me a lot with a project I work on. I'm not sure how hard it is to implement, since I don't really have any idea how dns works below the surface level. Will you get to it at some point in the future or would it be more promising for me to read into it and try to implement it myself?

@636f7374 Added support for SRV records. (3a6b7fa)
Star this repository, would be better.

Verbose

[#<Durian::Packet::Response:0x107e16e00 @protocol=UDP, @queries=[#<Durian::Section::Question:0x107e0edc0 @flag=SRV, @query="_kerberos._tcp.SAMBA.EXAMPLE.COM", @cls=IN>], @answers=[#<Durian::Section::Answer:0x107e0ed80 @resourceRecord=#<Durian::Record::SRV:0x107e12680 @from="_kerberos._tcp.SAMBA.EXAMPLE.COM", @cls=IN, @ttl=900, @flag=SRV, @priority=0, @weight=100, @port=88, @target="localdc.samba.example.com">>], @authority=[], @additional=[], @transId=50395, @operationCode=StandardQuery, @responseCode=NoError, @authoritativeAnswer=True, @truncated=False, @recursionDesired=True, @recursionAvailable=False, @authenticatedData=False, @checkingDisabled=False, @questionCount=1, @answerCount=1, @authorityCount=0, @additionalCount=0, @buffer=nil, @random=#<Random::PCG32:0x107e22fe0 @state=11322387700646050004, @inc=18210702987443440389>>]


Add support for Queue API

Description
Add support for the Queue API
Has your change been tested?
New unit tests added and all pass
Types of changes
What sort of change does your code introduce/modify?

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.
[X] This change is using publicly documented (api.cloudflare.com or developers.cloudflare.com) and stable APIs.

Codecov Report

Merging #1131 (10d9f33) into master (4ddb00c) will increase coverage by 0.24%.
The diff coverage is 69.03%.

@@            Coverage Diff             @@
##           master    #1131      +/-   ##
==========================================
+ Coverage   50.11%   50.35%   +0.24%
==========================================
  Files         121      122       +1
  Lines       11722    11877     +155
==========================================
+ Hits         5874     5981     +107
- Misses       4565     4597      +32
- Partials     1283     1299      +16

Impacted Files
Coverage Δ

device_posture_rule.go
61.80% <ø> (ø)

queue.go
69.03% <69.03%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

thanking you @Cyb3r-Jak3 👏


RFP - jacktrip

Checklist

[X] The package I am requesting does not already exist on https://community.chocolatey.org/packages;
[X] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[X] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://jacktrip.github.io/jacktrip
Direct download URL for the software / installer :
https://github.com/jacktrip/jacktrip/releases/download/v1.10.1/JackTrip-v1.10.1-Windows-x64-binary.zip
https://github.com/jacktrip/jacktrip/releases/download/v1.10.1/JackTrip-v1.10.1-Windows-x64-installer.msi
https://github.com/jacktrip/jacktrip/releases/download/v1.10.1/JackTrip-v1.10.1-Windows-x64-signed-installer.msi
Software summary / short description:
Multi-machine audio network performance over the Internet. It supports any number of channels (as many as the computer/network can handle) of bidirectional, high quality, uncompressed audio signal streaming.

soft bump

@luzpaz Please stop bumping requests for packages. This repository is to request a volunteer community maintainer create a package for you. Chocolatey Software does not create packages. There is no obligation for the package to be picked up by the volunteer maintainers.
The best way to have a package created is to create it yourself.


[Feature] Search by priority

Is your feature request related to a problem? Please describe.
I'm putting priorities in, I can search using !1 but the flag ! negates labels etc. so it will return those as well.
Describe the solution you'd like
Add a feature or function so you can search by priority, or have it so the priortiy key can be customised. Config option to set the identifier, then we can search using that and not break exisitng trello searches.
Describe alternatives you've considered
Using trello search
Additional context
None

 [GitHub][Feature] Filter by priority


docs: add code of conduct

Purpose
Adds Code of conduct
Proposed Changes
Adds Code of conduct
Issues
N/A
Testing
N/A

Merged - any external feedback will be applied separately


如何配置Release路径？Directory listing failed, path = 'build/windows/runner/Release*'

如何配置Release路径？打包后如图多了一个x64层级，导致Directory listing failed, path = 'build/windows/runner/Release*'

Same here

same here

same

Failing CI https://github.com/KRTirtho/spotube/actions/runs/6959755755/job/18938537478 :(


Upgrade search components

A preview for @gustavonalle and @anistor
Includes:

the fixes for statistics handling on Query's MBean
Hibernate Search upgrade
get Infinispan Query to compile with the latest Hibernate Search
Lucene Upgrade

:+1:
I'm also running the tests in my environment

I am seeing one consistent failure in:
 StoredIndexTest.testRestartingNode:45->assertEmailsFound:69 expected:<1> but was:<0>

Apart from that, the rest looks fine

thanks @anistor @gustavonalle incorporated your fixes and suggestions.
I think only the actual Search version is missing ?

Indeed. LGTM too.

Pushed with the correct versions included.

https://issues.jboss.org/browse/ISPN-6091
https://issues.jboss.org/browse/ISPN-6092
https://issues.jboss.org/browse/ISPN-6216
https://issues.jboss.org/browse/ISPN-3782

pulling

merged, thanks @Sanne !


[Event Request] Codeunit 226 CustEntry-Apply Posted Entries - OnAfterGetCustLedgEntryOnPostUnApplyCustomerCommit

Please add a new publisher event to the function PostUnApplyCustomerCommit as follows:
[External] PostUnApplyCustomerCommit(DtldCustLedgEntry2 : Record "Detailed Cust. Ledg. Entry";DocNo : Code[20];PostingDate : Date;CommitChanges : Boolean)
.
.
CustLedgEntry.LOCKTABLE;
CustLedgEntry.GET(DtldCustLedgEntry2."Cust. Ledger Entry No.");

//>> Start New Publisher Call
OnAfterGetCustLedgEntryOnPostUnApplyCustomerCommit(CustLedgEntry);
//<< End New Publisher Call
CheckPostingDate(PostingDate,MaxPostingDate);
IF PostingDate < DtldCustLedgEntry2."Posting Date" THEN
  ERROR(MustNotBeBeforeErr);
.
.

New Publisher Event:
LOCAL [IntegrationEvent] OnAfterGetCustLedgEntryOnPostUnApplyCustomerCommit(VAR CustLedgerEntry : Record "Cust. Ledger Entry")

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Link href doesn't update when search params change when localePrefix is set to never.

Description
If a Link is present in a client component and the url depends on the existing searchParams, the url is not updated when the searchParams change. For some reason this happens when createSharedPathnamesNavigation is invoked with localePrefix: "never", default value seems to work fine.
Mandatory reproduction URL
https://codesandbox.io/p/github/jorgemoya/next-intl-bug-repro-app-router/main?import=true
Reproduction description
Steps to reproduce:

Open reproduction
Click on Foo link
Hover over Broken Link and notice it doesn't include foo=bar search params when it should.

Alternate:

Open reproduction
Click on Foo link
Refresh page
Click on Home link
Hover over Broken Link and notice it does include foo=bar search params when it shouldn't.

Expected behaviour
The expected behavior would be for the Broken Link link the match the search params present, even after they update.

I can unfortunately not follow your reproduction steps in the provided reproduction, seems like the template is unchanged. Any chance you didn't commit the latest changes?

I can unfortunately not follow your reproduction steps in the provided reproduction, seems like the template is unchanged. Any chance you didn't commit the latest changes?

Yes, you're correct, should work now. Sorry about that. 🙏

This is fixed in<EMAIL_ADDRESS>Thank you so much for taking the time to build a great reproduction, that helped a lot with finding the cause and fixing it!


Algorithms selection for simple server and client

This PR addresses allowing server and client to be run with a given algorithms combination, as described in issue #66.
Type of change

[ ] Bug fix
[x] New feature
[ ] Breaking change
[ ] Documentation
[ ] Automation

Motivation and Context
Previously the server was configured to run with one default suite of algorithms and only the client could be configured to ask for different combinations, but not on the CLI interface. This didn't allow testing of the other ciphersuites in the server and made interoperability testing using the client cumbersome.

Changes
This PR

allows specifying the client algorithms combination on the command line,
allows specifying the server algorithms in the library function and on the command line. For now, certificates and secret keys for ECDSA and RSA-PSS signature algorithms are hardcoded in the server.
Extends the self-test to test each client ciphersuite against a correspondingly configured server.
does NOT implement RSA-PSS signing yet, so these tests will fail. I will open a separate PR for that.

I've introduced a new dependency in client and server, xflags, for a relatively more convenient way to get a self-documenting CLI. If we want to keep client and server really minimal, we could of course ditch that and manually parse out the arguments again.

Checklist

[x] I have linked an issue to this PR
[x] I have described the changes
[x] I have read and understood the code of conduct, contribution guidelines, and contributor license agreement
[x] I have added tests for all changes
[x] I have tested that all tests pass locally and all checks pass (except the new tests for RSA-PSS)
[ ] I have updated documentation if necessary

Fixes #66

I've marked the RSA-PSS test should_panic for now, since we expect them to fail.


SigningStargateClient.signAndBroadcast when a node has transaction indexing disabled

apparently most public RPCs turn of transaction indexing. it's on by default in config.toml (per node setting)
I was using the https://cosmos.directory/ proxy (which proxies available chain-registry endpoints)
If you sign and broadcast
    const response = await stargateClient.signAndBroadcast(address, [msg], fee);

It does successfully broadcast a TX, which I could verify via mintscan, but the response was this error message:
{"code":-32603,"message":"Internal error","data":"transaction indexing is disabled"}

@webmaster128,  @czarcas7ic mentioned there is a way to get a successful response even if transaction indexing is disabled. I'm wondering if we should look into using this solution so regardless if nodes have this enabled or disabled, we can avoid the errors.
It may involve a new function that is a variant of signAndBroadcast so it doesn't fail. @czarcas7ic can you explain the solution briefly so we can figure out solution on the cosmjs end?

Interesting. So the thing is we want DeliverTx responses. The submit and wait for block broadcast mode is deprecated. So what we currently do is submit and wait for CheckTx only, then search for the transaction. If there are better ways to implement that, I'm happy for suggestions.

Ah, yeah my recommendation was to utilize submit and wait for block broadcast mode, this way if the response returned a code 0 you could be confident it was included in a block and do not need to rely on tx hashes. I was unaware this was deprecated though. Once there is a way to easily prune tx indexer this wont be an issue, but until then it will be hard to find a public RPC that also maintains a reliable tx index since the tx index bloats the size and does not prune with the rest of the db


Error when start pbft mode and create node

Description

I want to test the chaincode_example02.go in my docker. But when I docker-compose up , I get following error.

vp3_1  | 01:09:51.128 [peer] handleChat -> ERRO 0d4 Error handling message: Peer FSM cannot handle message (DISC_GET_PEERS) with payload size (0) while in state: created
vp3_1  | 01:09:53.055 [peer] ensureConnected -> WARN 0d5 Touch service indicates dropped connections, attempting to reconnect...
vp3_1  | 01:09:56.128 [peer] handleChat -> ERRO 0d6 Error handling message: Peer FSM cannot handle message (DISC_GET_PEERS) with payload size (0) while in state: created
vp3_1  | 01:09:59.056 [peer] ensureConnected -> WARN 0d7 Touch service indicates dropped connections, attempting to reconnect...

And I don't know why, so I ignore it and continue.
I typed
$ docker exec -it vp0 bash
$ peer chaincode deploy -p github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -c '{"Function":"init", "Args": ["a","100", "b", "200"]}'

I get following error.

Error: Non-empty JSON chaincode parameters must contain exactly 1 key: 'Args'

Describe How to Reproduce

I have search the error on google, and I only get answer of Non-empty JSON chaincode parameters must contain exactly 2 keys: Function and Args, that is, I can't find the source code of my error(exactly 1 key). I think it's so strange.
Maybe my mistake is from the beginning where I typed docker-compose up.
Anyone can help me? It got me crazy.

Now, I only get this error: Error: Non-empty JSON chaincode parameters must contain exactly 1 key: 'Args'. Anyone can help me?

What was the solution for the "non-empty" issue?

_

[# _**funcion****`**_](

[ ] @

[1. url](

url

)
)`
_

@Abigale001 May I ask you how do you solve the first "handleChat" error?


Changes for sg3

Various label and variable name fixes to match changes in the new Smart Gateway code

Co-ordinating changes
This PR is part of a set of PRs for transitioning to Smart Gateway version 3 (confusingly referred to as sg2 in many of my commits and branches)
Please see:

STO https://github.com/infrawatch/service-telemetry-operator/pull/89
SGO https://github.com/infrawatch/smart-gateway-operator/pull/47
Dashboards https://github.com/infrawatch/dashboards/pull/10

The intention is to get these all merged to the sg3-bz1805468 branch in each respective repo and then figure out how to release them.

 Adjust new SG code for compatibility with old code where possible/appropriate

I've tested these changes with a live OSP16; but would like a chance to go over this again and flag/separate anything that may have been an OSP13/16 change vs an sg3 change

Merging this now; OSP 13 backports are not currently high priority so OSP 13/16 differences can wait.


TEST: Add sloppy MSM configuration for use in debugging/CI

MSM is taking ~30min to run on fMRIPrep CI. This adds a sloppy configuration that will hopefully reduce that dramatically.

230906-17:55:17,627 nipype.workflow INFO:
         [Node] Finished "_msmsulc1", elapsed time 164.174763s.
230906-17:55:49,585 nipype.workflow INFO:
         [Node] Finished "_msmsulc0", elapsed time 196.20051s.


no license?

https://choosealicense.com/no-permission/
most places default to All Rights Reserved by default, so unless you add a license, it would likely be illegal for people to do ANYTHING with it,

Unless you include a license that specifies otherwise, nobody else can copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.

if it's intentional, please clarify that, if it's not, then there's plenty of very permissive licenses, or even just public domain

Hah, yeah I definitely do not intend to be fully restrictive, I think that would actually be wrong given how much of an inspiration sectorFORTH has been.
Now that I look at it, I'm actually a little wary to put my own license on this — since I'm technically distributing a "modified version" of the hello world example included with sectorFORTH, which would fall under sectorFORTH's license, right?  So maybe I need to put my own license and sectorFORTH's license together... or maybe I'm being too defensive here.  I'm frankly fairly new to this.

Okay, I've added an MIT License.  If anyone sees that I've done something wrong, please let me know.


Bearded Theme Monokai Black: status bar not fully contrast

Bearded Theme Monokai Black: status bar not fully contrast

This will be fixed in version 9 :)


[SpeedDialAction] pass through button color props to speed dial action button

Resolves #12830.
Changes:

removed hard-coded background color style, to correctly pass through the button color props
added documentation example for colored speed dial actions

I do believe the description in the docs can be better, but currently lacking any inspiration, so feel free to change that if you wish! :smile:

@itskibo Rather than remove the default color, it would be good if you could update it to match the Material v2 spec:

It also adds a backdrop, but that's a subject for another PR.

@mbrookes I believe that overriding the color through the className props is counter-intuitive, if we can use the ButtonProps instead.
Unless people plan on using custom colors outside of their primary and secondary color, which I highly doubt, I believe that allowing the color from the ButtonProps to pass through correctly is the way to go.
Furthermore, I will quote what you said on the related issue:
We could add a color prop to SpeedDial and SpeedDialAction to support primary and secondary. Do you want to work on it?
There is no need to add a separate color prop when the ButtonProps can pass it through.
Regarding the backdrop: I see a backdrop behind the speed dial actions, so not sure what you mean by that.

I believe that allowing the color from the ButtonProps to pass through correctly is the way to go

Then you would need to disable the default color when this is supplied. I don't know, it feels kinda kludgy.

I assume you mean the same backdrop as when a dialog is open?

Yes, as in the screenshot.

Then you would need to disable the default color when this is supplied. I don't know, it feels kinda kludgy.

I believe the default color has been removed in my branch. Both the background color and the color are now based on the button component itself.

I believe the default color has been removed in my branch.

https://github.com/mui-org/material-ui/pull/12986#issuecomment-424028778

#12986 (comment)

The specs on the speed dial actions are not directly defined, therefore I believe that we can follow the specs of the mini fab component, as they look like one and the same.
In doing so, we can allow the passing through of the color from the button props, and leaving the rest on whichever the developer pleases, whether it be from overriding the theme, or setting a className, or having it as the default of the button itself.
I see no reason to not implement this change, as this is following the current specs of the (mini) fab, aside from the backdrop.

The contrast with the background is low now (slightly more so with this PR), it will be worse with a backdrop.
Let’s benchmark what others are doing.

Decided to see if I could find some implementations of the speed dial actions in other projects, and so far I found a few that allow/have custom colors for the speed dial actions:
kumar529/Ng2FabSpeedDial example - repo
ecodev/fab-speed-dial example - repo
yavski/fab-speed-dial repo (example inside)
Since the official specs don't mention anything about what color the action buttons should be, I see no reason to not implement this for the time being.
Sure, the contrast may become an issue for some, but they should be able to override the colors in the theme itself, right?

On issue is that the FABs have the wrong color by default. It should not be some "arbitrary" faded color but whatever color variant is chosen. Depending on the expected background users should either choose OnBackground or OnSurface (with a backdrop we should default to OnBackground). These are not implemented at the moment so it might be a good idea to do so (see https://material.io/design/color/the-color-system.html#color-theme-creation).
So I think it is correct to not hard-code the color via css but let users pass it via ButtonProps.

@itskibo When I said benchmark, I was thinking more of some of the mainstream Material UI libraries (MCW, Vuetify, Angular Material etc.)
@eps1lon

On[e] issue is that the FABs have the wrong color by default.

Not "wrong", so much as haven't been updated for Material V2 (they match the v1 spec).

On[e] issue is that the FABs have the wrong color by default.

Not "wrong", so much as haven't been updated for Material V2 (they match the v1 spec).

That's always easy to say for me to say since I've never worked closely with v1 and I never found a comprehensive changelog for the specification.

@itskibo When I said benchmark, I was thinking more of some of the mainstream Material UI libraries (MCW, Vuetify, Angular Material etc.)

Vuetify FAB has colored action buttons, and ecodev/fab-speed-dial uses the Angular Material library as its base.
I do agree with @eps1lon that the default colors should be changed to match the v2 spec, but that is not what this PR is for (or the issue related to this PR). This PR is solely for allowing colors from the button props to pass through correctly to the speed dial actions, not refactor it to the v2 specs. I believe that should be a separate issue, as it also adds a backdrop.

I never found a comprehensive changelog for the specification

Wouldn't that have been nice! As it is, we are left to discover what has changed through these sorts of conversations.
The difficulty we will have in updating the FAB relates in part to your color prop proposal. It seems that  we should support both grey on white and white on black in addition to primary and secondary, (and possibly even an Avatar FAB). But which (black / white) should be the default, and what should the value for the color prop be for the other?
The other difficulty will be that changing the default color of the FAB is a (visual) breaking change. I know @oliviertassinari has been okay with that in the past, but we have a more clearly defined strategy on breaking changes now, and this would be a less than subtle one.

This PR is solely for allowing colors from the button props to pass through correctly to the speed dial actions

But in doing so removes the logic that is used to apply colors based on the color prop, which is a retrograde step.

But in doing so removes the logic that is used to apply colors based on the color prop, which is a retrograde step.

Okay I am legitimately confused right now.
Before this change, it was impossible to specify whether the SpeedDialAction component should have a primary or a secondary color, due to the background color being hard-coded, thus overwriting the colors from the Button component inside.
After this change, it is now possible to set the color to primary and secondary and have it actually pass through and apply the color (as you would expect). If the color is omitted, it defaults to the background color of the Button component.
There is no "removing" logic in this PR, as far as I can see, so I am not sure what you are getting at right now.

Huh, thought I replied this this way back when... anyway, yes, sorry, I "misspoke". I should have revisited the code before commenting.
"Removes the default FAB color rather than adding the logic for selecting colors via a color prop."
Either the default should be updated, or if that's a matter for another PR, it should be left as is in this one for the time being, which I believe dictates a different approach for this PR.
Since this PR targets master, and we've moved on to next branch lets close for now. Lets pick up the discussion on the related issue, and figure out the best solution.


Freeze when opening "Inspect Data" with GRPA system.

Report from "Martin" on discord.
1st:
I don't seem to be able to access the 'inspect data' so I can start mapping stats across. Just seems to make The Forge totally unresponsive so I have to reload the page. Maybe this is a Forge as opposed to Foundry  thing?
2nd:
I did a bit of experimenting and it looks like it occurs when I use the General Role Playing Aid system. I switched to Simple World Builder and everything is fine. So looks like a specific problem with GRPA vs PDF Character? Cheers.

Fixed in version 0.39.3


Handling large amounts of "static" lua code (externally typed definitions)

I'm working with a rather large public API of a video game that uses Lua. This results in a "reference" file of almost 20 000 lines of lua code that contains all the public API definitions.
Here's an example of how I'm currently providing typings for the API via a lua file:
--- Ends the single player game (win/lose).
---@param win Boolean
---@param nis Boolean
---@param sandmap Boolean
---@return Void
---@overload fun(win: Boolean)
---@overload fun(win: Boolean, nis: Boolean)
function Game_EndSP(win, nis, sandmap) end

--- Removes title text displayed with Game_SubTextFade(...) immediately
---@return void
function Game_EndSubTextFade() end

--- Removes title text displayed with Game_TextTitleFade(...) immediately
---@return void
function Game_EndTextTitleFade() end

--- Fades the screen to black - FADE_OUT to fade to black, FADE_IN to fade back in
---@param direction Bool
---@param length Real
---@return Void
function Game_FadeToBlack(direction, length) end

--- Checks whether a callback
---@param callback Function
---@return Void
function Game_GetGameRestoreCallbackExists(callback) end

--- Get the local player. (should only be used for UI purpose) (not strict)
---@return Player*
function Game_GetLocalPlayer() end

I'm simply generating empty functions from documentation and using EmmetLua to annotate the functions and possible overloads.
I'm using a similar technique to add typings for globals as well:
---@type userdata
GE_GameOver = {}

---@type userdata
GE_GameStart = {}

---@type userdata
GE_Garrison = {}

Everything works as expected, which is absolutely incredible. No extension comes even close to this. All functions are auto-completed correctly and overloads are detected. Same for the global variables. The only issue is the speed. When I reduce the number of lines from 20 000 to about 1000, I get almost instant auto-completion suggestions in VS Code. With 20 000 lines, the performance is a lot worse as sometimes it takes several seconds for the auto-completion menu to appear.
Now, I understand that this is an edge case and likely something the extension is not intended to be used for.
What I'm asking is there a way of providing "static" code that should be parsed only once when the extension starts? Or is there a better way of providing static typings for a large amount of functions and global variables? The generated 20 000 lines of lua code only has to be parsed when the extension first loads. It almost never changes and restarting VS Code when it does is fine.
Perhaps the way this extension declares Lua standard library functions (math, math.acos table.concat, etc. like in basic.lua) could be exposed via a setting so that the user can provide additional static typing that is only parsed once?
Thanks for the excellent work so far.

Unfortunately, this is a flaw in the current way of implementation.
For the time being, you can mitigate this problem by splitting large files into smaller ones.
Once I have free time, I will start refactoring this extension.

I noticed that there is a configuration option "Lua.workspace.library" that does exactly what I want. It seems that any files parsed via "Lua.workspace.library" are super strict though, even a warning (undefined class) leads to the library not being loaded. I'll have to sanitize my output to make sure all unknown types are declared as ---@class. I'll let you know how the performance is with "Lua.workspace.library".

I managed to sanitize the output. I had to increase "Lua.workspace.preloadFileSize" in order to be able to load the large file but it seems to work now. Unfortunately there seems to be no speed benefit, it appears to be as slow as having the file in the same folder as loading it via "Lua.workspace.library".

@sumneko I tried splitting the output into files roughly the size of 1000 lines per file. It seems that the performance is greatly improved, almost no delay at all. Thanks for the suggestion, you may consider this issue resolved for now.

Thanks for your feedback!


Toast low contrast in dark mode #838

Solves #838
modified: src\components\Toast\Toaster.tsx
change:
line 21
            <div className="grid gap-1 dark:bg-gray-900 dark:text-gray-300"

I cleaned up the PR for you (git rebase -i origin/main), and pushed it to your fork so that I can merge this PR. Thanks again.


consider selectively silencing warnings rather than all of them.

Brute-force silencing all warnings in server.R because of a noisy/problematic package is probably a bad idea as it'll make debugging harder in future.
Can you selectively suppress the calls that generate the warnings e.g.
suppressWarnings({
   plotly::whatever()
})

great, thanks!


Telly outputs error if XML contains  tag with "1991|2001"

telly release with the issue:

telly, version <IP_ADDRESS> (branch: dev, revision: f1de7f04430f9f6d35ad7caf55d4d5360a1d681c)
build user:       root@231f8db4ee44
build date:       20180822-04:17:38
go version:       go1.10.3
Last working telly release (if known):
Operating environment (Docker/Windows/Linux/QNAP, etc.):

MacOS 10.12.6
Description of problem:
The EPG from iptv-epg contains a  with the following entry:
<programme start="20180904033000 +0000" stop="20180904040000 +0000" channel="BTSport2.uk">
    <title lang="en">Arsenal Classics</title>
    <desc lang="en">Classic Arsenal matches from the football archives, featuring a memorable league clash with Aston Villa (1991) and a League Cup third round win over Manchester United . 3/8</desc>
    <date>1991|2001</date>
    <category lang="en">Sport</category>
    <icon src="https://images.metadata.sky.com/pd-image/b24bc05c-92cd-42b6-be67-45f90c60b521/16-9"/>
    <episode-num system="xmltv_ns">.24.</episode-num>
    <subtitles/>
  </programme>

As a result, when launching Telly, it outputs the following error:
INFO[2018-08-31T17:09:02-04:00] telly is preparing to go live (version=<IP_ADDRESS>, branch=dev, revision=f1de7f04430f9f6d35ad7caf55d4d5360a1d681c)
INFO[2018-08-31T17:09:02-04:00] Loading M3U from http://iptv-epg.com/REDACTED.m3u
INFO[2018-08-31T17:09:03-04:00] Loading XMLTV from http://iptv-epg.com/REDACTED.xml
ERRO[2018-08-31T17:09:04-04:00] Could not decode xmltv programme              error="the type Date field of date is not a time, value is: 1991|2001"
ERRO[2018-08-31T17:09:04-04:00] error when parsing EPG                        error="the type Date field of date is not a time, value is: 1991|2001"
ERRO[2018-08-31T17:09:04-04:00] error when preparing provider                 error="the type Date field of date is not a time, value is: 1991|2001"
ERRO[2018-08-31T17:09:04-04:00] error when processing provider                error="the type Date field of date is not a time, value is: 1991|2001"
INFO[2018-08-31T17:09:04-04:00] telly is live and on the air!
INFO[2018-08-31T17:09:04-04:00] Broadcasting from http://<IP_ADDRESS>:6077/
INFO[2018-08-31T17:09:04-04:00] EPG URL: http://<IP_ADDRESS>:6077/epg.xml

It looks like the "1991|2001" in the  tag is confusing telly. I'm not sure why that is being provided as a date. It was only happening for one channel, so I removed that channel from the m3u and xml in iptv-epg, and that solved the error. But I think telly should be more robust and should be able to recover from such date entries.
Contents of telly.config.toml [if you're using a version above 1.1]:

REMEMBER TO DELETE ANY CREDENTIALS IN CONFIG FILES OR COMMAND LINES

# THIS SECTION IS REQUIRED ########################################################################
[Discovery]                                    # most likely you won't need to change anything here
  Device-Auth = "telly123"                     # These settings are all related to how telly identifies
  Device-ID = 12345678                         # itself to Plex.
  Device-UUID = ""
  Device-Firmware-Name = "hdhomeruntc_atsc"
  Device-Firmware-Version = "20150826"
  Device-Friendly-Name = "telly"
  Device-Manufacturer = "Silicondust"
  Device-Model-Number = "HDTC-2US"
  SSDP = true

# THIS SECTION IS REQUIRED ########################################################################
[IPTV]
  Streams = 6               # number of simultaneous streams that the telly virtual DVR will provide
                            # This is often 1, but is set by your iptv provider; for example,
                            # Vaders provides 5
  Starting-Channel = 10000  # When telly assigns channel numbers it will start here
  XMLTV-Channels = true     # if true, any channel numbers specified in your M3U file will be used.
  FFMpeg = true             # if this is uncommented, streams are buffered through ffmpeg;
                            # ffmpeg must be installed and on your $PATH
                            # if you want to use this with Docker, be sure you use the correct docker image
# if you DO NOT WANT TO USE FFMPEG leave this commented; DO NOT SET IT TO FALSE

# THIS SECTION IS REQUIRED ########################################################################
[Log]
  Level = "info"            # Only log messages at or above the given level. [debug, info, warn, error, fatal]
  Requests = true           # Log HTTP requests made to telly

# THIS SECTION IS REQUIRED ########################################################################
[Web]
  Base-Address = "<IP_ADDRESS>:6077"   # Set this to the IP address of the machine telly runs on
  Listen-Address = "<IP_ADDRESS>:6077" # this can stay as-is

# THIS SECTION IS OPTIONAL ========================================================================
[SchedulesDirect]              # If you have a Schedules Direct account, fill in details and then
                               # UNCOMMENT THIS SECTION
  Username = "REDACTED"        # This is under construction; Vader is the only provider
  Password = "REDACTED" # that works with it fully at this time

# AT LEAST ONE SOURCE IS REQUIRED #################################################################
# DELETE OR COMMENT OUT SOURCES THAT YOU ARE NOT USING ############################################
# NONE OF THESE EXAMPLES WORK AS-IS; IF YOU DON'T CHANGE IT, DELETE IT ############################

[[Source]]
  Name = ""
  Provider = "IPTV-EPG"
  Username = "REDACTED"  # From http://iptv-epg.com/[M3U-Identifier].m3u
  Password = "REDACTED"  # From http://iptv-epg.com/[XML-Identifier].xml
  # THE FOLLOWING KEYS ARE OPTIONAL HERE; IF YOU"RE USING IPTV-EPG YOU'FE PROBABLY DONE YOUR
  # FILTERING THERE ALREADY
  # Filter = ""
  # FilterKey = ""
  # FilterRaw = false
  # Sort = ""

# END TELLY CONFIG  ###############################################################################

Command line used to run telly [if applicable]:

REMEMBER TO DELETE ANY CREDENTIALS IN CONFIG FILES OR COMMAND LINES

./telly

Getting exact same results. Any solution to this?

Seeing the same thing here, currently broken for me with Vaders

time="2018-09-05T05:20:56Z" level=info msg="Loading M3U from http://api.vaders.tv/vget?username=REDACTED&password=REDACTED&vod=false&format=ts"
time="2018-09-05T05:21:00Z" level=info msg="Loading XMLTV from http://vaders.tv/p2.xml.gz"
time="2018-09-05T05:21:00Z" level=info msg="File (http://vaders.tv/p2.xml.gz) is gzipp'ed, ungzipping now, this might take a while"
time="2018-09-05T05:21:04Z" level=error msg="Could not decode xmltv programme" error="the type Date field of date is not a time, value is: 1991|2001"
time="2018-09-05T05:21:04Z" level=error msg="error when parsing EPG" error="the type Date field of date is not a time, value is: 1991|2001"
time="2018-09-05T05:21:04Z" level=error msg="error when preparing provider" error="the type Date field of date is not a time, value is: 1991|2001"
time="2018-09-05T05:21:04Z" level=error msg="error when processing provider" error="the type Date field of date is not a time, value is: 1991|2001"
time="2018-09-05T05:27:40Z" level=info msg="telly is preparing to go live (version=, branch=, revision=)"
time="2018-09-05T05:27:40Z" level=debug msg="Build context (go=go1.11, user=, date=)"

Fixed at https://github.com/tellytv/telly/commit/cec8d730177b15a6d1f60d879d2db493f9de51a3. Will be released as <IP_ADDRESS>.

Here

I am still getting following error any idea??
INFO[2019-04-15T23:24:40Z] telly is preparing to go live (version=<IP_ADDRESS>, branch=dev, revision=cec8d730177b15a6d1f60d879d2db493f9de51a3)
INFO[2019-04-15T23:24:40Z] Loading M3U from http://lttv.watch:25461/get.php?username=REDACTED&password=REDACTED&type=m3u_plus&output=ts
INFO[2019-04-15T23:24:45Z] Loading XMLTV from http://lttv.watch:25461/xmltv.php?username=REDACTED&password=REDACTED
ERRO[2019-04-15T23:24:47Z] Could not decode xmltv programme              error="parsing time "-00011130000000 +0000" as "20060102150405 -0700": cannot parse "-00011130000000 +0000" as "2006""
ERRO[2019-04-15T23:24:47Z] error when parsing EPG                        error="parsing time "-00011130000000 +0000" as "20060102150405 -0700": cannot parse "-00011130000000 +0000" as "2006""
ERRO[2019-04-15T23:24:47Z] error when preparing provider                 error="parsing time "-00011130000000 +0000" as "20060102150405 -0700": cannot parse "-00011130000000 +0000" as "2006""
ERRO[2019-04-15T23:24:47Z] error when processing provider                error="parsing time "-00011130000000 +0000" as "20060102150405 -0700": cannot parse "-00011130000000 +0000" as "2006""
INFO[2019-04-15T23:24:47Z] telly is live and on the air!
INFO[2019-04-15T23:24:47Z] Broadcasting from http://<IP_ADDRESS>:6077/
INFO[2019-04-15T23:24:47Z] EPG URL: http://<IP_ADDRESS>:6077/epg.xml

Can you provide a copy of that problem XML file?  Also, just for good measure maybe try it with the current latest release [<IP_ADDRESS>].

xmltv.txt

i tried <IP_ADDRESS> but it doesnt work either. it throws following error:
ERRO[2019-04-16T00:38:07Z] Error while serving request                   error="Error #01: error when getting XMLTV file: could not decode xmltv programme: parsing time "-00011130000000 +0000" as "20060102150405 -0700": cannot parse "-00011130000000 +0000" as "2006"\n" fields.time="2019-04-16T00:38:07Z" ipAddress=<IP_ADDRESS> latency=6.123246188s method=POST path=/api/guide_sources status=500 userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"

This doesn't look like something telly can deal with.
Here's a working programme entry from that file:
<programme start="20190415013500 +0100" stop="20190415015000 +0100" channel="domo.plus.pl" >
<title>Sztukomaniak, odc. 2</title>
<desc></desc>
</programme>

And the one that's causing the problem:
<programme start="20190415015000 +0100" stop="-00011130000000 +0000" channel="domo.plus.pl" >
<title>Wakacyjne domy z Marią Semczyszyn 2, odc. 9</title>
<desc>DELETED FOR SPACE</desc>
</programme>

Conpare the good and bad stop times.  Both the start and stop times are supposed to be a time plus a timezone offset, so "-00011130000000 +0000" just isn't a valid value for that field.
Whoever is providing this EPG file needs to fix it.


Prevent submit if invalid rather than call submit if valid

This allows us to layer on Progressive Enhancement if we want to use js and fetch for example for async form posts.

Thank you for this pull request.
Unfortunately, I have tried that exact technique which you posted.
"Why bother making a Promise for an input validator? Why can't you just do the good-old-fashioned synchronous validation for inputs one-by one?"
Well, it's due to the existence of ASP.NET Core MVC Remote Validation, which fires an HTTP request to an API for server-side validation. It is asynchronous by nature.

Starting with Gecko 30.0 (Firefox 30.0 / Thunderbird 30.0 / SeaMonkey 2.27), synchronous requests on the main thread have been deprecated due to the negative effects to the user experience. https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests#Example_HTTP_synchronous_request

The Problem
By now you should already have an idea why I decided to first prevent the default submit event then submit later if indeed the inputs are valid. But I'll explain anyway:
Unfortunately, addEventListener for DOM Element is blissfully unaware of the asynchronous world. If you fire asynchronous validations for all inputs on form submission event, this happens:

Our form validation callback function gets called.
Our form validation callback function kickstarts the validations of all inputs within, also as a boolean Promise.
Remember, JavaScript is a single-threaded beast. By now all synchronous validations for all inputs should have already resolved.
Form submit event propagates to the browser default event. Form gets submitted!
Later, after the form has been submitted, the asynchronous validations completed.

Hence we are unable to stop the form from submitting if an asynchronous validation failed. 💀
The Solution

Kickstart the validations of all inputs within the form as a boolean Promise.
Stop the default form submit event.
Resolve the form validations Promise... If successful (after an indeterminate amount of time), actually submit the form this time.

So...
I'm sorry, your PR bugged when this was attempted (I tried your code to be sure):
Test.cshtml.cs
public class TestModel : PageModel
{
    [Required]
    [StringLength(255)]
    [Remote("Get", "TestApi")]
    public string Test { set; get; }

    public void OnGet()
    {
    }
}

Test.cshtml
@page
@model TestModel
@{
}

Test

<form method="post">

        <input asp-for="Test" class="form-control" />

        <button type="submit" class="btn btn-primary">Submit</button>

</form>

TestApiController.cs
[Produces("application/json")]
[Route("api/v1/test")]
public class TestApiController : Controller
{
    [HttpGet]
    public IActionResult Get(string test)
    {
        if (test == "jono")
        {
            return Ok(true);
        }
        else
        {
            return Ok("Input value must be 'jono'!");
        }
    }
}


Crossing lines darker while opacity not full

When you set the color to #xxx9 you get not expected result as shown below. The expected result is that the whole icon is having the same color.

Color setting:

To change the opacity of the icon, I would suggest applying a desired opacity to the whole icon, rather than border's colour, e.g.:
.ikonate {
    opacity: .5;
}


Can't find a C++ source file on ecryptfs home directory during debug process on Ubuntu.

VSCode Version: 1.11.1
OS Version: Ubuntu 16.10 4.10.8 Generic Kernel.

Every time I tried to debug a C++ software with breakpoints, Code said it could not find the source code file and created a empty file at a strange place (/home/"myusername"/353254270354204234/"projectnameakamyprecious"/main.cpp). The debugging process worked; however, this issue made debugging process little tricky since I was not able to follow up with the debugger.
Code can open files without any problems, but whenever I use the debugger, Code opens a new file and sets step on the empty file.
I am referring to ecryptfs because that's what I am using, and I am thinking that the software [ecryptfs] is causing the problem.
Steps to Reproduce:

Install Ubuntu with ecryptfs (Home directory encryption).
Debug a C++ file with a breakpoint.
Notice that Code does not open the source file with breakpoints but a new one.

Could you append your launch.json?

{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "C++ Launch",
			"type": "cppdbg",
			"request": "launch",
			"preLaunchTask": "g++",
			"program": "${workspaceRoot}/VulkanTest",
			"args": [],
			"stopAtEntry": false,
			"cwd": "${workspaceRoot}",
			"environment": [],
			"externalConsole": true,
			"linux": {
				"MIMode": "gdb",
				"setupCommands": [
					{
						"description": "Enable pretty-printing for gdb",
						"text": "-enable-pretty-printing",
						"ignoreFailures": true
					}
				]
			}
		},
		{
			"name": "C++ Attach",
			"type": "cppdbg",
			"request": "attach",
			"preLaunchTask": "g++",
			"program": "${workspaceRoot}/VulkanTest",
			"processId": "${command:pickProcess}",
			"linux": {
				"MIMode": "gdb",
				"setupCommands": [
					{
						"description": "Enable pretty-printing for gdb",
						"text": "-enable-pretty-printing",
						"ignoreFailures": true
					}
				]
			}
		}
	]
}

I forgot to mention that the directory name contains some (may be) unicodes or "other language," so it might not be ecryptfs problem.

One more thing, majority of source code files are symbolic links to files in mounted NTFS drive; however, the file that I had trouble with was not a symbolic link.

Not sure this is the extension or your setup, moving to the extension to continue the investigation.

This issue was moved to Microsoft/vscode-cpptools#617


Added some help and example to lib/directories so nOObs like me can start being more awesomer!

Added some help and a sweet example to the lib/directories to help newcomers with using alias'. As a new zsh user myself, I was a bit unsure of how to use an alias to automate a task, so it took some fiddling around. This would have helped me a bit I think, and hopefully it helps others as well!

User facing documentation should be written somewhere where it is likely to be found by users. Alias documentation in particular is zsh-specific, so it better be in a wiki page dedicated to first steps with zsh, or something of that sort.


Scroll back to top button issue resolved

Resolves issue #25
Updated CSS of the Scroll back to top button so it is visible throughout the webpage.
Earlier:
https://github.com/Deveimer/vovoca-frontend/assets/74779601/f1a6691b-11af-4414-817d-9a89f51811e2
Now:
https://github.com/Deveimer/vovoca-frontend/assets/74779601/4ee4a5df-abe8-4fcc-b095-3ca2fae7dcdd

Hello @varun-singhh , Please review it.

Hello @varun-singhh, please assign me the appropriate level label.


[DO NOT MERGE] Auto PR to update dependencies of pilot

This PR will be merged automatically once checks are successful.

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
2c9249f522c8e20eebcd6a07e9c46e54ed761a0b
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Refactor lifestream templates

Simplify lifestream templates down to three templates:

Base, which contains the envelope including header and sidebar
404, which sets the return home link
paged, which displays a collection of templates with previous/next links

Fixes GH-41.

tested on staging. LGTM


Gives skabashn admin role to see what's going on in Soud's namespace

Needed to unblock Soud until we are working on the fix on https://issues.redhat.com/browse/SVPI-161

/retest


DS2 param editing - Crash when trying to edit a param file that DSMapStudio itself created.

Okay so this is a weird one. There's 2 bugs. I've attached the crash log and file I think is causing issues.
I'm editing DS2 SotFS params, which I decrypted using Yabber. And modengine to load local files from a /mods folder. I have it set up to use loose param files both in the param editor and modenging. Using release 1.04 of DSMapStudio and modengine was compiled from source from https://github.com/katalash/ModEngine.git master branch (I don't think the new modengine works with DS2. or does it?).
I can edit/save params and changes are picked up by the game just fine as long as I don't do 2 things:
BUG 1:  Load default row names corrupts data. Every time.
If I do Edit >  Load default row names, the param data stored in the project folder is instantly corrupted and causes the game to crash on launch.
Workaround is simply not doing that and kind of clicking around blindly a bit instead of relying on informative names.
A good fix would be to just display those default names in the UI but not save them to the files.
BUG2: reloading a project with previously saved data crahes DSMap Studio
If I edit params and save them. Then exit DSMapStudio for any reason, and relaunch it, DSMapStudio will crash. And the params are resaved automatically and also cause the game to crash on launch.
Seems that as long as the vanilla data was preserved in memory, it will generate correct files. But there may be a bug when trying to read back the the data it saved itself. See attached files.
Log 2022-10-28--03-40-48.txt
ChrCommonParam.zip // zipped so github will let me attach it.
The workaround I'm using

never exit DSMapStudio while editing a mod
always keep track of param edits as mass edit rules as a separate txt file.
If I do have to exit, delete everything in the project folder except the json file
rerun every param mass edit from vanilla files again.
rinse an repeat.

So while we're on that subject, a feature request would be CLI support for mass editing. so that we could maintain changes to params as a script and rerun them as needed. Something like DsMapStudio.exe --project=path/to/project.json --param-mass-edit=path/to/some/file.txt

Bug1 may be solved by #212

Bug #2 is being caused by Bug #1 upon loading. And yes, #212 prevents the issue from happening in the first place.

Fixed.


Rxjava

Does it support Rxjava？

have the same question

+1 like add  “asObservable()” function

when can expect to have rxjava support


[WIP] Upgrade to Unity 2018.3.5f1

Description
Upgraded gdk project to 2018.3.5f1
Tests
Ran locally and in the cloud
Documentation
Did you remember a changelog entry?
Not yet, testing buildkite

Can you remove the code in https://github.com/spatialos/gdk-for-unity/blob/master/workers/unity/Packages/com.improbable.gdk.core/Worker/Worker.cs where we #if UNITY_STANDALONE_LINUX and test turning protocol logging on in Linux?
This was one of the workarounds for the libcpp linking issues and would be nice if we can remove this

Will do the protocol logging fix in a separate PR


Unfriendly warning when terminals cannot be split

re #59266

Keep pressing the split button
At one point the warning shows

I think we can do better than that... Why don't we disable the action instead of showing the warning? Also, why is this a warning and not an information message?

Yeah also found this a bit weird. Fyi we do not prevent splitting of editors in the grid widget and have not heard complaints so far. So I am not sure why we need it here.

We had one complaint about infinite splitting which is why I added this. I agree that behavior should generally be consistent between editor and terminal for splitting but at the same time allowing the user to put their terminal into a broken state isn't great either.
I was concerned that simply disabling the split operation wouldn't make why it's disabled clear, but it is more intrusive than just disabling it!
This issue has already gotten more thumbs ups than the original (#45678), so clearly something needs to be done 😄 @Tyriar, let me know what you think!

I think disabling the split action when we think it should be prevented is the best solution.

@alexr00 I guess we could watch for when the panel resizes and disable/enable if there's room.

I've created PR for changing the warn to info. The disable/enable for split is more complicated so it would be better to do during the next milestone. Issue #59414 tracks that!


HIVE-25723: Found some typos

Fix some typos in the program.

hey @fengpan0403 !
thank you for your interest in the project, welcome aboard !
for submitting changes - you will need a jira ticket as well; you could find pointers in this document:
https://cwiki.apache.org/confluence/display/Hive/HowToContribute#HowToContribute-ContributingYourWork
by the way @jsoref have been also working recently on fixing typos in the project; I think you might be able to help him :)
https://issues.apache.org/jira/browse/HIVE-24390

hey @fengpan0403 ! thank you for your interest in the project, welcome aboard ! for submitting changes - you will need a jira ticket as well; you could find pointers in this document: https://cwiki.apache.org/confluence/display/Hive/HowToContribute#HowToContribute-ContributingYourWork by the way @jsoref have been also working recently on fixing typos in the project; I think you might be able to help him :) https://issues.apache.org/jira/browse/HIVE-24390

Thank you for the help.

Yeah, I have a series of fixes for a..z, but we're landing them in small digestible chunks.

atm, the series is here: https://github.com/apache/hive/commits/37c83c580e11cc23e4342f23dd2af56a5a6f0a1a and af536fabacb2cdb41280c67e3c3a66d6b474db13 covers your typo.
The grammatical error is unlikely to be in my series -- I try not to mix other fixes w/ typo fixes, especially when my series get on the long side.

Sigh

Sigh

Sigh

Sigh

Sigh


The name model does not exist in the current context

I am trying to create an web page but cannot bind to the model.
Either when editing cshtml file or debugging i get "The name 'model' does not exist in the current context" error
Razor compilation fails once the model is accessed e.g   @foreach (var download in model.Downloads)
I am developing a windows service and hosting with web listener.
Am i missing any configuration in my app.config ?

It's Model - notice the capital letter. The directive is @model, but the property is Model.

Indeed that was clumsy , any reason for intellisence not working ?

@GAMP In which IDE?

Visual Studio 2015.

If you installed ReSharper on another machine (on the same profile) and recently installed this Visual Studio without ReSharper, Intellisense could be disabled.
Try resetting your settings by going to Tools > Import and Export Settings.... Select Reset all settings and follow the steps.

I tried resetting but it had no effect. As i said i am working on Windows Service. I have noticed some people reporting a requirement for Razor configuration in Web.Config file. I dont have any Razor specific configuration in my app.config so could it be the case?

I wonder if @NTaylorMullen is aware of such a use case.

We currently do not provide intellisense for Razor directives (@model). Currently have an issue tracking that however.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


[SPARK-43372] Use ; instead of && when enable set -ex

What changes were proposed in this pull request?

Use ; instead of && when enable set -ex
./add-dockerfiles.sh 3.4.0 to apply changes

Why are the changes needed?
Address DOI comments: 9. using set -ex means you can use ; instead of && (really only matters for complex expressions, like the || in the later RUN that does use ;)
https://github.com/docker-library/official-images/pull/13089#issuecomment-1533540388
Does this PR introduce any user-facing change?
No
How was this patch tested?
CI passed

cc @HyukjinKwon @zhengruifeng

After this patch merged, I will update DOI patch to latest to have 2nd round review.

@HyukjinKwon Thanks, merged.

Late LGTM, thank you @Yikun


Fix skip_existing_resource_creation_teardown to_dict call

Short description:
to_dict do not return anything, store the info is self.res
Fix skip_existing_resource_creation_teardown to use it

!verified

!cherry-pick v4.12


Auth Fixes

Fixed Auth Token Bug
Removed localForage Package
Added Next-Cookies & Js-Cookie Packages
Updated Auth Architecture

@BjornMelgaard @astenmies
this PR will fix #102 #88
Can you review the code, please?

Looks awesome)

Merge it with master and I'll try to resolve conflicts in https://github.com/Sly777/ran/pull/100

I will to this)

merged. @BjornMelgaard


Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Why revert the PR?

@codope : was this an attempt to fix the flakiness ?

@codope : was this an attempt to fix the flakiness ?

Yeah, closing this PR.


Fix install-protoc task architecture on arm64

What does this PR do?

Fix the architecture used to install protoc when platform.machine().lower() is arm64.
Motivation

Not have errors.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


init_source

Description

Thank you for your contribution !
Init source of sentinel starter based off customer deployment

Pipeline references

For module/pipeline changes, please create and attach the status badge of your successful run.

Pipeline

Type of Change
Please delete options that are not relevant.

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] My corresponding pipelines / checks run clean and green without any errors or warnings
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (readme)
[x] I did format my code

I am not worried about the checks failing as we are not using a sub for deployment.


Basis of robot class

Made a base of my idea for robot, do not pull robot_2.0, delete that branch actually.
Please leave your opinions, I tried to remove all the hashmaps, I want to know what y'all think about the nested classes, I really like them, but let me know if it causes any issues.

sorry, wait, i keep pushing to the wrong project wtf


Match pre-swift3 behavior for String -> Bool

Before the Swift 3 update, boolValue used the NSString boolvalue
property. This property would return true for 'Y','y','T','t' in
addition to 'true'.
See more at:
https://developer.apple.com/reference/foundation/nsstring/1409420-boolvalue
Change Introduced in:
cf657820fad3656df022d8ebf32f9cdd99e1247a
During the swift 3 upgrade, this was changed slightly so only "true"
would return true. This commit updates that behavior to match the
previous behavior for projects relying on that functionality.

Nice catch. 👍


Insert meta tag in html header

Hello,
Thank you for that great package !
Would it it be a way to set meta tag in the header of a html page render by elm-spa/elm ?

related to #103