Long filenames in sticky diff header are pushing diff stat and options on new line

See https://github.com/composer/composer/pull/4998/files and scroll to files with long filenames.
I suggest to use ellipsis in the path of the file when it is too long like GitHub does in some places.
Screenshot:

It'd make it a little more clear to keep the filename and collapse/truncate the directory structure like:
../../../../../autoload_files_functions_with_removed_extra.php

Usually I can find a file locally with some fuzzy finder if I have the filename, but the directory will have multiple files. Then show the entire file name on hover?

@paulmolluzzo This looks like a relative path, but you don't know what's it's relative against.
Why not what GitHub does:
tests/.../autoload_files_functions_with_removed_extra.php

?

That could work just as well, so if GH is using a similar pattern we might as well match it for consistency.

I can take this. Do we always want to summarize the path as ${root}/.../${filename}, or just in the scenario that the text is going to force a line-break?

It's more complex to do, but really it should only truncate when it doesn't fit since it's a loss of info. It's not using a monospace font, but a character count should be a good estimate on whether it'll fit or not.
For another option I would guess anything over 3 or 4 directories deep won't fit. Maybe if splitting on / creates 3 or more strings we can use the pattern instead.

If no one minds the extra hits to the DOM, we could try to calculate whether or not we need to truncate, and then apply our truncation logic (if necessary). I'm worried that, if we make an assumption about a static length, it may break for people using other extensions that change page widths, or those who are zoomed out a level or two.
function maxPxAvailable() {
   const rightOffset = $('.toc-select').get(0).getBoundingClientRect().right;
   const leftOffset = $('.diff-toolbar-filename + .right').get(0).getBoundingClientRect().left;

   return leftOffset - rightOffset;
}

Basic workflow would be:

(Only when the value changes) Create a span with the filename, and temporarily append to the DOM with position:absolute and visibility:hidden so we can calculate the real width needed
Determine if the width of the element from 1 is > the width available in the sticky header (sample code above). If it is, use our logic to shrink down the filename.

Think this is overkill?

Clever! Could you use the file name in the header of the files themselves to calculate the width without a virtual/hidden element? Alternatively, you could just put it in the right place and determine if it's longer than the container and shrink it in place. Since it'll be changing right before your eyes maybe figure a way to animate it or something?

Yeah, that should be able to work. I'd need to temporarily set the position to absolute to prevent the flash that would happen if the element was too long and forced the info on the right down to a new line, but that shouldn't be an issue (famous last words).
Also, thinking about this a bit more, tests/.../autoload_files_functions_with_removed_extra.php may not be the best solution. There are scenarios where the root folder won't be of much help.
As an example, consider the pattern where you have a component per dir, and they all have an index.js in the root.
root
├── component1
│   └── index.js
├── component2
│   └── index.js
└── component3
    └── index.js

In this scenario (pretend those paths are too long), all the files would be listed as root/../index.js.
Having said all that, I think there are 2 more things to note:

We can put a title attribute on the span to allow hovering to see the full filename
If the filename isn't clear from our truncated version, you can always scroll up to find the info you need

I'd need to temporarily set the position to absolute to prevent the flash that would happen if the element was too long

overflow:hidden; max-width:50% might work without position stuff.

I don't think overflow:hidden will work in that case, because the element it's pushing is floated :(

The max-width is what should prevent the forced wrapping, the overflow:hidden is to prevent the scrollbar if the content would be wider than the width.

Just curious: Do you know of any advantages/disadvantages of either solution? I originally went with the hidden element solution because it was what MooTools apparently used to do. Trying to think out if there are any obvious gotchas that they may have known of. I'm open to doing it either way, but right now I'm slightly leaning towards the MooTools trick, purely because I assume it's been used in practice with success.
One small disadvantage I can see with the overflow:hidden; max-width:50% option is that it leaves the opportunity for someone to see a quick flash of different filenames while we're checking widths (haven't tested if it would be noticeable).

The disadvantage to my suggestion is that "blip" you mentioned, for sure. You'd want to handle that nicely by either hiding it in place and then showing, or animating any change you make in the open.
A concept I had about how to animate it (mostly pseudo-code so try to bear with me) is like this:

Separate the pieces of the file name into spans like foo_dir/bar_dir/baz_dir/super_long_file_name.js.
Add a CSS transition to the spans transition: width 500s linear
Put the whole thing in the container.
Check the length.
If it's too long, $('span.middle').each(el => {el.innerHTML('.../')}). That will make the width smaller (less content) and the transition will make it look nice as it changes.

You're already going for it, so at this point just do your thing and we'll see how it turns out.

@paulmolluzzo If it works well enough, I'm against animating it. I really like the instant change as you scroll. It gives good instant feedback. What @DrewML had done in #128 works perfectly for me. I just wanted to check it out some more later.


is the 'next' branch stable enough?

so excited! been waiting for an update since Jan.  thankyou @andreypopp

me too quite excited and just started playing with it. couple of issues I met with I added as comment here
https://github.com/prometheusresearch/react-forms/commit/2b31b0dba261d75984245869cc378f43fa359e24
Also has couple of questions.

How to do validation. Is it enough to use json schema attributes. For example, when does the required validation trigger?

let schema = {
  type: 'object',
  required: [ 'lastName' ],
  properties: {
    firstName: {type: 'string'},
    lastName: {type: 'string'}
  }
};

How to get the value from formValue. I see it is plain object, and do I just need to exclude (__schema, __errorList ? )

This seems like a solid idea but had some issues with "next" branch when trying it out (possibly due to me not understanding it properly). With no public updates in a few months, I'm wondering how far off the next version will be until stable with docs?

Just realised "next" branch is old and now looking at branch "2.0.0" - but still my question remains, is stable far away or is existing code fairly close to stable?

@ifunk we are using it internally and going to release it officially when we migrate to React 0.14 (as 2.0.0 depends hugely on it).

Thanks @andreypopp - is your internal version the same as what is on 2.0.0 branch? We are using React 0.14 in our project.

Yes, it is the same but we were using <LegacyFieldset /> which rewrites React element tree to propagate formValue. Migrating our codebase to React 0.14 at the moment. Expect release candidate on npm soon.


Recovery from MASTERNODE_NEW_START_REQUIRED state

Implement masternode recovery from MASTERNODE_NEW_START_REQUIRED state via mn quorums

It seems to me that this PR will probably lead to more state discrepancies compared to the current code because different nodes will decide to query and restart different MN's.
If the only purpose of this is to avoid the necessity of issuing manual restarts for NEW_START_REQUIRED MN's I'm not sure that it is really needed.  The current behavior should be essentially equivalent to 12.0 with the NEW_START_REQUIRED state replacing list removal.

It seems to me that this PR will probably lead to more state discrepancies compared to the current code because different nodes will decide to query and restart different MN's.

If majority of the network agrees that mn is in MASTERNODE_NEW_START_REQUIRED state chances to hit 6 mns (who think it's actually enabled) out of 4000+ mns (currently on mainnet) are pretty low imo. And vice versa if majority thinks that it's actually enabled and your node thinks it's not (i.e. low chances to hit nodes that agrees it's not enabled and thus do not recover it).

Your reply doesn't really address my concern.
I guess it depends on whether these mnb's produced by recovery requests get relayed to the rest of the network or not.  It's not currently clear to me whether this will be the case because the behavior of the code in CheckMnbAndUpdateMasternodeList isn't very clear to me.  See question there.

It looks like you do end up rebroadcasting on the second call to CheckMnbAndUpdateMasternodeList, so my concern about mn list discrepancies shouldn't be a problem.
ACK (partially tested, no problems observed but recovery not verified)

It looks like you do end up rebroadcasting on the second call to CheckMnbAndUpdateMasternodeList, so my concern about mn list discrepancies shouldn't be a problem.
ACK (partially tested, no problems observed but recovery not verified)


Node request is no longer supported

Hi Kong,
Recently there was an announcement that request will no longer be supported. It would be great to add on option using node fetch.

This could be solved by #154


data.hourly() is not working properly.

Upon using data.hourly() function on mmm-bpd-all database with ‘AwareAccelerometer’ as table and ‘RVjtsqp3YdQY’ as user, the function throws an error “AmbiguousTimeError: Cannot infer dst time from 2020-10-25 03:00:00, try using the 'ambiguous' argument”. This is happening for many other users as well.

I started a branch allowing specifying timezones, which shouldn't affect this but is likely important to fix first.
This problem comes because data is aggregated inside of sqlite3, which is not timezone-aware, and gives the ambiguous time (it occurs twice on that day).  I could fix it, but since the database setup shouldn't be used anymore, maybe its not worth fixing.  I would recommend changing any uses of this to something else.
Does it work if you aggregate hourly using the dataframe-based system?  When you think about it, this is an interesting question, one which has no simple answer: an hour occurs twice that day so what does hourly data mean - there will be twice as much then.  This requires a real scientific choice.

This exception happens when pandas want to convert a raw timestamp to a timezone-aware format and a timestamp lies in the middle of Daylight Saving Time (DST).
According to pandas documentation:

When clocks moved backward due to DST, ambiguous times may arise. For example in Central European Time (UTC+01), when going from 03:00 DST to 02:00 non-DST, 02:30:00 local time occurs both at 00:30:00 UTC and at 01:30:00 UTC. In such a situation, the ambiguous parameter dictates how ambiguous times should be handled.

One solution is to set ambiguous to False or True but I'm not sure which is more reasonable.


npm install error on termux

Describe the bug
npm ERR! code FETCH_ERROR
npm ERR! errno FETCH_ERROR
npm ERR! invalid json response body at https://registry.npmjs.org/netlify-cli reason: Invalid response body while trying to fetch https://registry.npmjs.org/netlify-cli: EACCES: permission denied, link '/data/data/com.termux/files/home/.npm/_cacache/tmp/6abcf009' -> '/data/data/com.termux/files/home/.npm/_cacache/content-v2/sha512/7f/9a/042d49b88ee5a2396a4975cd40bb74569275cb475d96beaeaea2552b3a5908afca5b6764eccde7a1d6e017096491f58ffb9ff703e7cbe8563bcd5a500642'
npm ERR! A complete log of this run can be found in:
npm ERR!     /data/data/com.termux/files/home/.npm/_logs/2022-09-04T13_16_58_143Z-debug-0.log
Steps to reproduce
$ npm i netlify-cli -g
Configuration
No response
Environment
termux

Same issue during install @vue/cli
i tried a suggestion, but still not work :
npm clean cache --force

Same here, package nodejs 18.7.0-1, (updated) npm 8.19.1.
I tried to downgrade npm:
pkg reinstall nodejs
npm --version
8.15.0
And it helped.

i'm installing @vue/cli via npm. It worked when using node v16.17.0 (npm v8.15.0). My device is pop os.

I have the same problem when using npx create-react-app

I have the same issue when running:
npx create-react-app my-app
error message:

npm ERR! invalid json response body at https://registry.npmjs.org/create-react-app reason: Invalid response body while trying to fetch https://registry.npmjs.org/create-react-app: EACCES: permission denied

I got the same problem creating a new react app today and used sudo and worked for me
sudo create-react-app my-app

This fixed it. Thank you
(Imagine updating things without thinking it would break :) )

Hi, I have the same issue, tried everything but nothing works. Note that I am in Windows and I try running the terminal as administrator but with no avail.

Please report this to termux or npm. I don't think we can do anything about this in the netlify-cli here.

/data/data/com.termux/files/usr/lib/node_modules/netlify-cli/node_modules/@netlify/esbuild/install.js:81
    throw new Error(`Unsupported platform: ${platformKey}`);
          ^

Error: Unsupported platform: android arm LE
    at pkgAndSubpathForCurrentPlatform (/data/data/com.termux/files/usr/lib/node_modules/netlify-cli/node_modules/@netlify/esbuild/install.js:81:11)
    at checkAndPreparePackage (/data/data/com.termux/files/usr/lib/node_modules/netlify-cli/node_modules/@netlify/esbuild/install.js:220:28)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/netlify-cli/node_modules/@netlify/esbuild/install.js:247:1)
    at Module._compile (node:internal/modules/cjs/loader:1149:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1203:10)
    at Module.load (node:internal/modules/cjs/loader:1027:32)
    at Module._load (node:internal/modules/cjs/loader:868:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

Latest version


Support multi user machines

It seems that the permissions of the files inside TogglDesktop.app don't support multi user machines. The permissions should be 755 to allow multiple users to use the app.
We can add permission update to the build process.
We should also test if this creates any errors with local database and app usage
Some more info in case: 314724

One more user reported this issue:
User agent: osx_native_app/7.4.7
Version: 7.4.7

Cannot open the app in a multi-user environment on macOS. Please check the following.
Procedure to confirm the issue: Use macOS.

Create two user accounts.
Install the app by the first user.
Switch to the second user.
Try to open the app.
Fails.
How to resolve the problem: 1. sudo chmod 755 /Applications/TogglDesktop.app

Case: 430510

Will be fixed with next release.


Agent has status 'Some ports might be blocked' without any reason

Environment info

Version: 2.0.0-fda4028
Deployment: AZURE
Customer: QA

Actual behavior

Expected behavior

healthy agent

Steps to reproduce

Add agents
Stop agent via Azure
Start agent
Reproduced only ones, used Azure-function for actions with agents

Screenshots or Logs or other output that would be helpful

@dannyzaken Do you see a flow in which this is still relevant?


Quick search is showing results without full match

Results at top contains "cub", but scroll down a bit and there are "cu" only matches?

버전: 1.84.0-insider (user setup)
커밋: df7d3d054020b0775fc2445c25ada7450c508524
날짜: 2023-10-06T05:35:21.061Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621

I can't seem to repro on master, but I'll keep this open so that I can try to look for race conditions.


Suggestion for new Installation method

I used this, and it works great! ( except for that loading bug #9 )
<script src="https://cdn.rawgit.com/jwarby/jquery-awesome-cursor/master/dist/jquery.awesome-cursor.min.js"></script>

This is a cool idea, thanks!  I'll add a note to the README and update the docs site during the next release.


[doc] Split out docs pages for rv_dm, otbn, and rv_core_ibex

We split out "theory of operation" and "programmer's guide" sections of each IP block's docs into separate pages in https://github.com/lowRISC/opentitan/pull/17467.
This PR splits out the rv_dm docs which might have been missed, as well as the Ibex and OTBN core documentation.

Fixed a Tabel -> Table typo.
Split out rv_dm's theory of operation and programmer's guide
Split out rv_core_ibex's theory of operation and programmer's guide
Split ouf otbn's theory of operation and programmer's guide

Renamed the "Developer Guide" page to "Developing OTBN" to avoid confusion with the "Programmer's Guide"

Updated the relative links on these sub-pages now that the content has moved.

Sorry, didn't run the link checker before pushing. Fixed those broken links.


Added solution to codeforces problem save the magazines and provided more descriptive version of Dijkstra's algorithm

Great work @Swastik3025 please give this repo a star if it really helped you to complete your PR.
Also follow me for follow back if you want to get connected with me for any such open source contribution program. Thank you 😊


Create an API that can deliver the viewer count of different channels

This should be cached for mass access from the client side.

done in internal-apis


Allow people to specify which dark theme to use when matching Windows theme settings.

At minimum, this will have to be a field in the Settings file, likely named "defaultDarkTheme". As of right now, the default will be "TenDark", though "ProDark" could be another dark theme that could be here.
UI configuration could be handled by expanding the theme engine configuration to cover the entire Personalization tab, with the statusbar stuff moved to another tab. In a groupbox titled "Windows theme matching", there would be a dropdown labeled "Default dark theme:" and the options would be "TenDark" and "ProDark". If "TenLight" is ever added as a theme, another dropdown and setting ("defaultLightTheme") for the default light theme could be added, with the options being "Default" and "TenLight".

This will require adding properties to TE2.x for applications to set this before calling the theme engine.

Maybe change the name of the tab to "Themes" and have the statusbar options tab be called "Statusbar".


performance degraded in latest build 2017-03-31T14:08:17.917Z

there is some noticeable performance degradation while coding typescript (moving the carret around the file) in the latest build, look at the performance monitor in this video: https://www.youtube.com/watch?v=QLJz19Zo-_Y
Version 1.11.0-insider
Commit cc46bbf5b0412e464f89280e828d602fbc06a0f4
Date 2017-03-31T14:08:17.917Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0

@aleksey-bykov Could you please record and share with us a CPU profile of the UI thread?
i.e.

Help > Toggle Developer Tools
Go to the Profiles tab
Check JavaScript CPU Profile and click Start
Execute the repro (moving the cursor around in this case)
Stop the CPU Profile  and Save it to a file

cc @sandy081 who mentioned something similar today

so the story goes, i reverted from the latest build to a previous one, then you asked for performance monitor, i said, sure, let me update my vscode to the lastest build again, and this is what i got:

@aleksey-bykov It looks like the installation became corrupt - I think @joaomoreno would appreciate if you could help with some reproducible steps. Were you getting this message after an update? Is VS Code recovering from this error or does it need a reinstall? What was on disk at the install location? (Can you make a zip of the resources\app\out folder)

steps

be at some version of VSCode Insiders
get updated to the latest version by clicking Update Now on

observe that help/about now shows

open a typescript file and observe performance degrated at moving the caret around the code up/down):  https://www.youtube.com/watch?v=QLJz19Zo-_Y

get upset and rollback to a version here:

https://az764295.vo.msecnd.net/insider/c995ecf2e94a00aa7eda81ed842e787b999e83ae/VSCodeSetup-1.11.0-insider.exe (per https://github.com/Microsoft/vscode/issues/23802#issuecomment-290967536)

observe that help/about now shows:

observe the performance problem is gone
be asked to get a performance monitor profile in the lastest version
say yes try do an update to the latest build by clicking Update Now from a notification bar inside VSCode
observe installation process running
observe a crash:

Were you getting this message after an update?

at step 11

Is VS Code recovering from this error or does it need a reinstall?

it didn't recover, at the very end i had to install previous version like at step 5

What was on disk at the install location?

will do later

30% of the time is spent in menuItemActionItem. I can only imagine it is the toggle word wrap editor title action.

I was also seeing this degradation.. but sorry I did not record any cpu profiles. I will take today if I see them again.

@bpasero There is some major leakage on ActionItems and we believe this is causing the slowness in the end.
In actionbar.ts there is this
// Do not dispose action items if they were provided from outside
this.items = this.options.actionItemProvider ? [] : lifecycle.dispose(this.items);

which is slightly bogus because there is also this
if (this.options.actionItemProvider) {
	item = this.options.actionItemProvider(action);
}

if (!item) {
	item = new ActionItem(this.context, action, options);
}

item.actionRunner = this._actionRunner;
item.setActionContext(this.context);
this.addEmitter2(item);

Which means that for once we will create (and leak) action items when a provideris not returning something and it also means that with addEmitter2 we hold a reference forever.
Also, when looking at the implementations/usage of IActionItemProviders it not clear that it is responsible for disposing the action items it created. e.g scmViewlet, debug viewlet, toolbar all do it wrong.

The issue about not being able to start after insider update is: https://github.com/Microsoft/vscode/issues/23841

@isidorn can you comment, I think you introduced this code via https://github.com/Microsoft/vscode/commit/0534afdfae1dca8b242006740b1801d1d088c150
@alexandrudima @jrieken what are the repro steps, just typing in the editor? If so, why is the "Toggle Word Wrap" action triggered so often?

@bpasero It is unrelated to "Toggle Word Wrap". To reproduce:

open 3 files side by side, especially files with many editor title actions, such as markdown, or perhaps use a workspace under git that would show switch to diff, switch to file, etc.
hold ctrl
press 1, 2, 3 (i.e. cycle focus between editors)
press 1, 2, 3
....
Repeat for hundreds of times. This is to simulate usage of the workbench.

This will lead to us having thousands or tens of thousands of these action items.
Then, open a largish file, and press and hold down arrow.
Pinging these thousands or tens of thousands of action items will end up consuming most of the time.

@alexandrudima can you attach your CPU profile?

@bpasero Sorry, I do not have the exact state as yesterday. I can work for 4 hours without restarting and then take a new trace. But I strongly believe the steps I have provided would eventually result in the number of action items being allocated reaching thousands or tens of thousands and then the keydown listener would dominate all consumed time.

CPU-20170404T152043.cpuprofile.txt

Very easy to reproduce by having hundreds of changes in the SCM viewlet and then scrolling up and down. New SCMMenuActionItems are being created over and over.

We have a fix in hand (https://github.com/Microsoft/vscode/pull/23889)


NS1StatsSink

Title: Feature Request NS1StatsSink
Description:

I would like to be able to publish stats to a remote endpoint. I would specifically like to share load data (#of connections per listener) with NS1 to enable LoadShedding between data centers.  A more generic or base HttpStatsSink that could accomplish the same result would be acceptable.

Thanks for your time and consideration.

@dopry can you use LRS or one of the existing stats sink? What format do you require if not?

I'm not familiar enough with LRS to know if it can be configured for this use case.
NS1 Feed API Documentation
example)
curl -X POST -H 'X-NSONE-Key: qACMD09OJXBxT7XOuRs8' -d '{"server-1": {"up":false}, "server-2": {"up":true}}' https://api.nsone.net/v1/feed/a53252f9e583c6708331a1daeb172e12

The properties in the dictionary are configured in NS1 when you define a feed.
NS1 requires an HTTP Post. None of the existing StatSinks offer and HTTP Post functionality that I am aware of.

Ack, tagged this enhancement + help wanted.


make_synthetic_competing_weibull function returns error with default parameters

The dataset generating function make_synthetic_competing_weibull with default parameters (when return_X_y=False):
make_synthetic_competing_weibull()

outputs the following error:
[...]
--> 104 return Bunch(data=frame[X.columns], target=X[y.columns], frame=frame)
[...]
KeyError: "None of [Index(['event', 'duration'], dtype='object')] are in the [columns]"

Sorry, didn't see it was WIP in #25


[D01243] Check fixity of resource for list of resources not working

Resolves D-01243: Check fixity of resource for list of resources not working.
This PR addressed the issues by simplifying the process of obtaining a fixity report. The FixityReport has been removed from the IRContext and has become a first class citizen on the front end. Obtaining fixity both from a resource or for a resource contained within a parent container is all handled now within the same model.

Coverage increased (+0.07%) to 33.407% when pulling ca53cf42a0cbf96bc0c982906148209eed5c4da5 on D-01243 into b44dc8d04c3388a22d3530d8d728b9fae69a57cf on master.


Unable to use array parameter substitution in pipeline

Expected Behavior
Array parameters can be used in order to pass lists to pipelines and tasks. Since v0.36.0 this behaviour seems broken and prevents the usage of array parameters in pipelines.
Actual Behavior
When using array parameter substitution the following error is thrown:
invalid input params for task task-name: param types don't match the user-specified type: [array-variable-name]
Steps to Reproduce the Problem

Create a pipeline that uses an array parameter and passes it down as described here
Create a task that uses parameter substitution as described here
Perform a pipeline, with or without a value for the array, even with a default in the pipeline, it will fail.

Additional Info

Kubernetes version:
Output of kubectl version:

Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", GitCommit:"5a97ee6d15525f6e4a1c2646bf1dfd2ebd5220b5", GitTreeState:"clean", BuildDate:"2022-06-15T04:26:33Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"linux/amd64"}

Tekton Pipeline version:

Pipeline version: v0.36.0 and v0.37.2 (confirmed on both)
Potentially related:

https://github.com/tektoncd/catalog/pull/992
https://github.com/tektoncd/pipeline/pull/4845

Pipeline example
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
  name: test-pipeline
  labels:
    name: test-pipeline
spec:
  params:
    - name: additional-parameters
      type: array
      default: []

  tasks:
    - name: test-pipeline
      taskRef:
        name: test-pipelines
      params:
        - name: additional-parameters
          value: ["$(params.additional-parameters[*])"]

Pipeline run
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
  name: test-pipeline-run
spec:
  pipelineRef:
    name: test-pipeline
  params:
    - name: additional-parameters
      value:
        - "test"

/assign @Yongxuanzhang

Hi @Yongxuanzhang
I used the exact same example as you did, but without the action params in the pipelinerun. That results in the issue. If the additional-parameters isn't specified, it should default to []. I get the error invalid input params for task array-issue-task: param types don't match the user-specified type: [additional-parameters]

Using
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
  name: test-pipeline-run
spec:
  pipelineRef:
    name: test-pipeline
  params:
    - name: additional-parameters
      value: []

or
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: test-pipeline-run
spec:
pipelineRef:
name: test-pipeline

triggers the behavior

Using
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
  name: test-pipeline-run
spec:
  pipelineRef:
    name: test-pipeline
  params:
    - name: additional-parameters
      value: []

or
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
  name: test-pipeline-run
spec:
  pipelineRef:
    name: test-pipeline

triggers the behavior

Oh I see, thanks! Looks like something wrong with the default value type

Hi @pietervincken ,
Thanks for reporting the issue.
After digging into the issue, we found that it was a bug in the original code. And the reason why it worked was an coincidence. The reason of this bug is that if an array contains a single element that is a reference to an empty array, the original array would become nil after repacement whereas it is expected to be an empty array. This will cause a series of downstream unexpected behaviour and cause the validation to fail.
With #5162 , your example should work now.


Fix warning when building zebra

When executing cargo build, cargo test or similar i am getting since a while the following warning:
warning: /home/alfredo/zebra/bump_prod_whatwecan/zebra/zebra-utils/Cargo.toml: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion

This ticket is to research and fix it.

serde_yaml has been deprecated, thus we'll require a replacement for this one https://github.com/dtolnay/serde-yaml


Unable to update a user's account data using the Data API

When attempting to update some user data, errors have been observed using the DataApiController update methods.
A customer has reported that they are not able to even push back the existing data.
Try to reproduce the issue by pulling the current data, pushing it back, pulling again and verifying no differences.

The main issue here, is that the exported data contains data for all user's accounts due to a bug in how the database is being queried.
This means that imports then fail because the user being updated doesn't own some of the objects that are being updated.


Annotations statistics in the 'info' tab includes annotations on deleted frames

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

After deleting images with boxes drawn, the annotation statistics provided by the 'info' tab (image below) does not change.

Steps to Reproduce (for bugs)

Check annotation statistic before deleting frame with boxes
Delete some frames with boxes
Check annotation statistic again should show that the counts have not changed

Expected Behaviour

Boxes in deleted frames should not be counted
Your Environment

Git hash commit (git log -1): a63f0f10aaab813565eeb24a19852c23fcc7e002
Docker version docker version (e.g. Docker 17.0.05): 24.0.4
Are you using Docker Swarm or Kubernetes? no
Operating System and version (e.g. Linux, Windows, MacOS): linux 20.04
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Shall be fixed by #6493
Please, let us know if it was not.


Update how-to-connect-fed-hybrid-azure-ad-join-post-config-tasks.md

Number 10 on the article was recently updated to reflect the change away from using GPO to control Hybrid Join to using the controlled validation of hybrid join process. However, the note pointing out where the GPO is on server 2012 R2 remained.
Given that controlling hybrid join via GPO is no longer the preferred method I don't see any reason why we'd keep this note around.

@pamcdo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@pamcdo Thanks for catching this!
#sign-off


Add multi-langage support

Description:
Enable the Blueprint to support multiple languages (English, French, Spanish). This includes  supporting multiple languages for document pre-processing, podcast generation, and audio generation.
Acceptance Criteria:
The pre-processing component supports English, French, Spanish
The language generation components support English, French, Spanish
The audio generation components supports English, French, Spanish.
By default, the audio generated matches the language of the document uploaded
The user has the option to select which language (English, French, Spanish) to generate the audio in, irrespective of input document language
UAT (User Acceptance Test):
As a developer, I can upload a document in multiple languages (e.g., English, Spanish, French), and the system generated audio that is in the same language as the uploaded document. As a developer, I can upload a document and select the language (English, French, Spanish) that I want to audio of the podcast to be generated in.

As a quick solution for multilingual TTS support, you could use an European Parler-TTS or an Indic one. Hope that helps!

As a quick solution for multilingual TTS support, you could use an European Parler-TTS or an Indic one. Hope that helps!

Thanks for the pitching in @ylacombe , that's exactly what we were planning for actually! I have started working on it over in my fork and plan to merge it within the week :)


Set sensible interrupt mask in userspace hardware capability

This commit sets a interrupt mask with sensible (i.e. that follow the spec) values. Before we had all bits to 1 which caused issues with symbolic execution, namely that the write to MIP was not filtered properly as it should be.

@francois141 regarding the mie CSR one reason the symbolic execution was failing was the values configured in the HardwareCapability struct. I changed the values to something sensible which in turn will filter the proper bits.
There might be other issues, we can look into them once we are done with all other CSRs  🙂


Added Cloudflare to the user list.

Read more here: https://blog.cloudflare.com/dns-parser-meet-go-fuzzer/

@FiloSottile you're ok with this?

By all means!
Sent from a small keyboard

On 06/ago/2015, at 21:22, Miek Gieben<EMAIL_ADDRESS>wrote:
@FiloSottile you're ok with this?
—
Reply to this email directly or view it on GitHub.

just making sure :)


VB-2057, request method added to session data and journeys

Description
Incorporated new "Request method" page into booking and update journey
Added request method to visitSessionData
Included in 'Book a visit' integration test journey
requestMethod constant file being used
Can't currently post information to back end, this PR add's request method into sessionData and onto check your answers page

Just tried this out locally, @hutcheonb-moj and it worked really well. Only thing I think could be tweaked is that it doesn't pre-populate the request method form if you go back through the journey from 'check answers' page. I know it's specifically not supposed to pre-populate with previous response when starting an update journey (like other forms do). But, within a book/update journey it feels like it should? This is done on other forms with the formValues[] stuff


no-release: depbot new dev branch v2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improve logic and performance

Refactor some code in utils file for better performance.

Looks good to me. @MegaIng , any objections?

@jmishra01 Thanks for contributing!
I hope it was more fun than painful 😄


Compatibilty

Doesn't seem to be compatible with simple sidearms, it does not automatically switch to tools,

On hiatus until August/September, sorry for the inconvenience.


Is it possible to disable selected date range?

Hi, How to disable the selected date range?

Yes, exactly.

Yeah, you can. You are responsible for updating the UI when the user selects a date, so you can decide not to update the ui for different changes.
DateRanger(
          initialRange: initialDateRange,
          onRangeChanged: (range) {
            setState(() {
              initialDateRange = range;
            });
          },
        )


[!] Unable to find a specification for SparkSetup

I have pod "SparkSetup" in my podfile and when i do pod install its giving me this error.
Anybody facing the same issue ?

what error?


Can not find the class that contains the call itself

This is an example

class UnusedClass {
   // only used here
    func doSomeThing() -> UnusedClass {
        return UnusedClass()
    }
}

Unless that is a static function, should fus detect that? or are you saying it does detect that currently and shouldn't?


Docs/ds 956 item dropdown demos

Description

Additional context

Issue reference
Použití Item komponenty v Dropdownu

coverage: 96.46% (+15.7%) from 80.73%
when pulling 3a6e19e0a93c9c3bca9c5fedde579a16c98b09f4 on docs/DS-956-item-dropdown-demos
into 69433f5c2129eb16e02a299faf630299936246ea on integration/item.

The problem with the PHP has been fixed in https://github.com/lmc-eu/spirit-design-system/pull/1183


[Monitor] Fix CI latestdepedency check failure

This makes the versioning with the importlib-metadata package consistent with opentelemetry-api to avoid conflicts.

/azp run python - monitor

API change check
API changes are not detected in this pull request.

@lzchen @jeremydvoss Would be good to get a review from one of you on this to make the pipeline happy again.


Just discovered repo - What it it for?

I am heavily using and loving your Strike components and just stumbled over this.
What is it for? And how can I make use of it?

Robert,
Glad to hear you are loving Strike, that makes my day. We created Lightning JS prior to Strike to help us with restyling old Visualforce pages with the Salesforce Lighting Design System. SLDS gives you the HTML/CSS but not the JS to drive interactivity when you do this (example: JS needed to make a calendar input to work). You can learn more about hit here: https://medium.com/appiphony-llc/introducing-appiphony-lightning-js-706c7b15d590

So is this somewhat deprecated?

It's not necessarily deprecated; we're still supporting this to some extent. What we've learned is that a fair amount of Salesforce developers have not yet made the jump to Lightning Components, either due to use of an existing front-end framework or the lack of resources required to convert their VF-based app.
Internally, we use these plugins extensively for building front-end prototypes with SLDS. We're also planning a major release for this in the future to support SLDS's new Summer 17 BEM convention updates, along with a few bug fixes.


Too many DB queries for more locales

Hi,
I'm not sure if this is related with your bundle or is it something in Symfony, but I have a site with 13 locales and this is where the DB queries are rapidly growing for every translated Entity form field.
It seems that Symfony are getting the options for the correct entity class by retrieving the locales first.
SELECT
t0.title AS title1,
t0.id AS id2,
t0.locale AS locale3,
t0.translatable_id AS translatable_id4,
t5.icon_code AS icon_code6,
t5.internal_name AS internal_name7,
t5.icon_url AS icon_url8,
t5.id AS id9,
t5.icon_image AS icon_image10
FROM
my_bundle_icon_translation t0
LEFT JOIN my_bundle_icon t5 ON t0.translatable_id = t5.id
WHERE
t0.translatable_id = ?
And this is done for every record in the table my_bundle_icon. And this is only oone relation. So it created about 40 queries only to retrive options for one entity.  If I have more, it will grow much more. It it possible to change this behaviour? As it should load the whole repository and the translations with it by one query?

Hi @PriaBrock ,
With this PR #169 i think your problem will be solve.

Hi,
As https://github.com/a2lix/TranslationFormBundle/issues/167#issuecomment-75527535 said


BatchWrite support default value

Should be closed for it has been mentioned in  https://github.com/pingcap/tispark/issues/1141

It also be mentioned in https://github.com/pingcap/tispark/issues/821

close for it repeats with https://github.com/pingcap/tispark/issues/821


Integration Test - Release - 2020/05/30 02:03:04

Auto create for integration test. IssueCommandFlow

@PRMergerTest2 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Provide some documentation

Can you please provide some kind of documentation on how to use this package inside code?
use Marshmallow\ZohoDesk\Facades\Contact;
use Marshmallow\ZohoDesk\Facades\ZohoDesk;

$contact =<EMAIL_ADDRESS>[
            'firstName' => 'Haris',
            'lastName'  => 'Ali'
        ]);

        $response = Ticket::create($contact, Carbon::today(), null, [
            "cf"=> array(
                'cf_enquiry_source' => "Course Search Platforms",
                'cf_enquiry_source_details' => "coursesearchnow.com",
                'cf_enquiry_type' => "Student",
                'cf_country' => "India",
            ),
            'description' => "Enquiry for B2B Business",
            'subject'   => 'AECC',
            'status' => "Open"

        ]);

This is what I tried but it doesn't seem to work properrly

Any News here?

@iamharisali sorry! I mist your issue completely. This package is still work in progress and so is the documentation. We've just added two new methods to set the due date on a ticket and add a comment to a ticket. Below you will find an example on how we use it in one of our projects.
Hope this helps!!
public function addToZoho()
{
      if (ZohoDesk::notActive()) {
           return;
     }

      $product = ($this->product) ? ZohoProduct::findOrCreate($this->product->fullname()) : null;

      $contact = Contact::findOrCreate($this->email, [
         'lastName' => $this->last_name,
         'firstName' => $this->first_name,
         'email' => $this->email,
         'phone' => $this->phonenumber,
         'city' => $this->city,
         'street' => trim($this->street . ' ' . $this->house_number),
         'zip' => $this->zipcode,
         'cf' => [
             'cf_woonplaats' => $this->city,
         ],
     ]);

      $ticket = Ticket::create($contact, now()->addMinutes(15), $product, [
         'description' => $this->comment,
         'subject' => __('Your request at') . ' ' . config('app.name'),
         'email' => $this->email,
         'phone' => $this->phonenumber,
         'cf' => [
             'cf_link_to_cms' => $cms_url,
             'cf_referer' => $this->referer,
             'cf_source' => $conversion->source,
         ],
     ]);
}


ARROW-5849: [C++] Fix compiler warnings on mingw32

@jeroen @nealrichardson

Hmm, I need to fix the test's expectations. Silly me.


fix: added missing theorems in Algebra.Order.Archimedean

exists_unique_sub_zsmul_mem_Ico and exists_unique_sub_zsmul_mem_Ioc did not seem to get ported for some reason. They're used in Algebra/Order/ToIntervalMod, so let's fix this!

See https://leanprover-community.github.io/mathlib-port-status/file/algebra/order/archimedean
Please update the hash at the top of the file to 6f413f3f7330b94c92a5a27488fdc74e6d483a78.
In the future you can also copy the message at the bottom of that page into the commit message:

<EMAIL_ADDRESS>


Added double quotes around $@

This is to ensure that muti-word arguments are supported by the
maas plugins wrapper script
Connects #1257

This is blocking PR #1255

:+1:

👍


Error parsing payable address when compiling

Hello, I have a contract that is properly compiling in Remix using version 0.5.0+commit.1d4f565a and whenever I try to compile using vscode extension I get the following error:
Compiling using default compiler, solidity version: 0.5.0+commit.1d4f565a.Emscripten.clang

[Error - 7:48:19 PM] solium error: SyntaxError: An error occured while parsing the source code: Expected ";", "=", comment, end of line, or whitespace but "o" found. Line: 5, Column: 21

It seems to be crashing whenever it finds a payable address:
Like this:
pragma solidity ^0.5.0;

contract Concert {

    address payable owner;

Also here:
 function refundTicketToAccount(address payable _to) public validAccount(_to) {
I tried to increase compiler version using  compileUsingRemoteVersion with no luck.
Any idea?
Thanks

Sorry I missed that..
I have not issues here

It may be that solium does not support 0.5.x? Zeppelin migrated to solhint.
Either way, I'm having exactly the same issue using solhint.

I realized I had solidity-solhint extension installed as well (redundant it seems?). Removing it and reloading vscode did the trick.


Removing empty parentheses after class name

Hi @ambv,
This is WIP.
would like to get early feedback on this as this is my first PR request.
This is working but 2 tests are failing, I am working on them to fix(if you have any suggestion to pass, would be appreciated). I am also in working on adding new tests after fixing the failed tests.

Pull Request Test Coverage Report for Build 305

5 of 7 (71.43%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.09%) to 94.771%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

black.py
5
7
71.43%

Totals

Change from base Build 297:
-0.09%

Covered Lines:
1776

Relevant Lines:
1874

💛  - Coveralls

Nice! Thanks for working on this. ✨ 🍰 ✨
High-level comments:

LineGenerator doesn't need leaves and also shouldn't modify the line directly, that breaks the line's BracketTracker;
your transformation fits Line.append() best:

before you append the leaf, check if it's a token.COLON
if it is, check whether:

you are a class definition; and
the current number of leaves is 4; and
the previous two leaves are token.LPAR, token.RPAR

if so, pop() the two last leaves

That will ensure you are only deleting the right colons, and there is always the right amount of leaves so we will have no index errors, and that BracketTracker is happy.

@ambv please have a look 👀

Alright, this looks good to go!
Thanks! ✨ 🍰 ✨


macOS - no Swagger on  Tutorial: Create a web API

Since this is a "Hello World" kind of situation, more help when things go wrong would be appreciated. I followed the instructions and the /Swagger URL wouldn't load. I'm sure I'm missing some prerequisite, but don't know what yet.

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

ID: 583ae3e7-5915-f22b-e54c-6c100cf2a7da
Version Independent ID: 95f2549e-29f9-e31a-b4d0-432b971643ff
Content: Tutorial: Create a web API with ASP.NET Core
Content Source: aspnetcore/tutorials/first-web-api.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Associated WorkItem - 97033

I have .NET 5 installed and am having the same problem

I have .NET 5 installed and was having the same problem.
I fixed it by going to Project Properties -> Debug and setting Hosting Model to "Out of Process".

That has nothing to do with Swagger endpoints.
Perhaps you unchecked Enable OpenAPI support

Most likely you don't have .NET 5 installed or unchecked Enable OpenAPI support

this solution worked for me

I'm trying this tutorial on my MacBook, and I see the WeatherForecast page, but the swagger page is not loading.
The page never loads, it is just blank.
Do I need to install anything else?

I'm trying this tutorial on my MacBook, and I see the WeatherForecast page, but the swagger page is not loading.
The page never loads, it is just blank.
I have .NET 5 installed and I checked Enable OpenAPI support

I'm in the same situation as @drock702

I'm trying this tutorial on my MacBook, and I see the WeatherForecast page, but the swagger page is not loading.
The page never loads, it is just blank.
I have .NET 5 installed and I checked Enable OpenAPI support

I'm in the same situation as @drock702

@paulzolnierczyk - I got it to work by installing Swagger/Swashbuckle package and "Rebuild All" my project.
https://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-5.0&tabs=visual-studio-mac

@wadepickett  can you test this on macOS?

Hello. Im currently using Visual Studio on Mac, and in tutorial page the swagger initial configuration for it to work is missing. So in "Test your project" section, the swagger configuration is missing, leaving /Startup.cs as follows:
.
.
.
` // This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
        services.AddControllers();

        //Swagger configuration
        services.AddSwaggerGen(c =>
        {
            c.SwaggerDoc("v1", new OpenApiInfo { Title = "TodoApi", Version = "v1" });
        });
    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
            app.UseSwagger();
            app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "TodoApi v1"));

        }

        app.UseHttpsRedirection();

        app.UseRouting();

        app.UseAuthorization();

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapControllers();
        });
    }`

.
.
.
This bit of code necessary to configure swagger is shown in the same page in the section "Register the database context" (the lines commented).
I hope it helps.

I am still not able to run the test api provided in the "https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-5.0&tabs=visual-studio-code". localhost:5001(/swagger) shows just "This page isn’t workinglocalhost didn’t send any data.
ERR_EMPTY_RESPONSE"
Please help asap.

I tried a new project to see what was happening. First go to your project root folder and run:
dotnet add package Swashbuckle.AspNetCore -v 5.6.3
This will add the Swashbuckle package into your project containing Swagger.
Than you can change your Startup.cs following:
  using Microsoft.AspNetCore.Builder;
  using Microsoft.AspNetCore.Hosting;
  using Microsoft.Extensions.Configuration;
  using Microsoft.Extensions.DependencyInjection;
  using Microsoft.Extensions.Hosting;
  using Microsoft.OpenApi.Models;

  namespace <your_namespace_here>
  {
      public class Startup
      {
          public Startup(IConfiguration configuration)
          {
              Configuration = configuration;
          }
          public IConfiguration Configuration { get; }

          public void ConfigureServices(IServiceCollection services)
          {

              services.AddControllers();
              services.AddSwaggerGen(c =>
              {
                  c.SwaggerDoc("v1", new OpenApiInfo { Title = "GpioService", Version = "v1" });
              });
          }

          // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
          public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
          {
              if (env.IsDevelopment())
              {
                  app.UseDeveloperExceptionPage();
                  app.UseSwagger();
                  app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "GpioService v1"));
              }

              app.UseRouting();

              app.UseAuthorization();

              app.UseEndpoints(endpoints =>
              {
                  endpoints.MapControllers();
              });
          }
      }
  }

Just change your namespace to your project namespace.
For me it's working like a charm:

I hope it helps.

Make sure you have the .NET 5.0 SDK installed and that .NET 5.0 is selected as the target framework in the project properties.  For those who are experiencing this problem on Windows, make sure you're using Chrome rather than IE to load the Swagger page.  In IE it just shows a blank page, but in Chrome it works.

make sure you're using Chrome rather than IE to load the Swagger page. In IE it just shows a blank page, but in Chrome it works.

Edge works too. Thanks for the tip.

That's nice, thanks I will try all of your suggestions.
Thanks
Paramita Roy
Senior Quality Assurance Analyst II (IT Analysis)
Mobile: +1<PHONE_NUMBER>
https://www.linkedin.com/in/paramita-roy-297197104/
On Wed, Sep 15, 2021 at 3:04 PM Rick Anderson @.***>
wrote:

make sure you're using Chrome rather than IE to load the Swagger page. In
IE it just shows a blank page, but in Chrome it works.
Edge works too. Thanks for the tip.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/AspNetCore.Docs/issues/21647#issuecomment-920300287,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP56D5AEPSJ2LK3VHVEYRE3UCDU4BANCNFSM4YMU5C3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Seems like a bug in macOS Visual Studio. While creating a web API project, the Enable Open API support checkbox works otherwise.
Uncheck it to add /swagger endpoint to your project. This is weird but worked.

@rohitsiddha  why are you using .NET 5 and not .NET 6?

@rohitsiddha this happened to me too thank you

@rohitsiddha Thank you for the the fix. What an odd bug. Deselecting Enable OpenAPI support actually enables it. I am using .Net 5 as well (the current recommendation for M1 Macs).

Seems like a bug in macOS Visual Studio. While creating a web API project, the Enable Open API support checkbox works otherwise. Uncheck it to add /swagger endpoint to your project. This is weird but worked.

This worked for me! After hours of scrolling and downloading

Swashbuckle

it worked for me, thanks !!!!

Seems like a bug in macOS Visual Studio. While creating a web API project, the Enable Open API support checkbox works otherwise. Uncheck it to add /swagger endpoint to your project. This is weird but worked.

it worked for me, thanks !!!

Thanks very much to all of you who relayed your experience and identified the issue!
This appears to have been fixed and working as expected in the current version 17.6 (build 1575) of Visual Studio for Mac when targeting .NET 5.   The Enable OpenAPI support setting results in Swagger working properly.
I also verified it continues to work properly in the new Visual Studio 2022 for Mac Preview with .NET 5 and I checked the latest Visual Studio 2022 17.6.4 for windows and .NET 5.  Works as expected.
The prerequisites for the .NET 5 version of the tutorial point to the latest version of Visual Studio for Mac, which is what should be used.  I will add some text to clarify it is the latest version that is required in the prerequisites.

Fixed with #27363
It was that PR completed after this issue was raised that we specified to use Visual Studio 2022 in the first step of the doc.

Fixed with #27363 .NET 7 MacOS: Tutorial: Create a web API
It was that PR completed after this issue was raised that we specified to use Visual Studio 2022 in the first step of the doc for all versions.

I have .NET 5 installed and was having the same problem. I fixed it by going to Project Properties -> Debug and setting Hosting Model to "Out of Process".

This issue is still happening. My current SDK version is: 9.0.101
To reproduce the issue follow the VS Code steps from: Tutorial: Create a web API with ASP.NET Core
To make it shorter, run:
Create a new project
dotnet new webapi --use-controllers -o TodoApi
cd TodoApi
dotnet add package Microsoft.EntityFrameworkCore.InMemory
code -r ../TodoApi
Generate and trust self-signed certificates
dotnet dev-certs https --trust
Start the app
dotnet run --launch-profile https
When you start the application and try to reach the swagger on your browser, you get a blank page.
Via curl the output is:
% curl -k -vvv https://localhost:7120/swagger/index.html

Host localhost:7120 was resolved.
IPv6: ::1
IPv4: <IP_ADDRESS>
Trying [::1]:7120...
Connected to localhost (::1) port 7120
ALPN: curl offers h2,http/1.1
(304) (OUT), TLS handshake, Client hello (1):
(304) (IN), TLS handshake, Server hello (2):
TLSv1.2 (IN), TLS handshake, Certificate (11):
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
TLSv1.2 (IN), TLS handshake, Server finished (14):
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
TLSv1.2 (OUT), TLS handshake, Finished (20):
TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
TLSv1.2 (IN), TLS handshake, Finished (20):
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / [blank] / UNDEF
ALPN: server accepted h2
Server certificate:
subject: CN=localhost
start date: Nov 22 21:46:11 2024 GMT
expire date: Nov 22 21:46:11 2025 GMT
issuer: CN=localhost
SSL certificate verify ok.
using HTTP/2
[HTTP/2] [1] OPENED stream for https://localhost:7120/swagger/index.html
[HTTP/2] [1] [:method: GET]
[HTTP/2] [1] [:scheme: https]
[HTTP/2] [1] [:authority: localhost:7120]
[HTTP/2] [1] [:path: /swagger/index.html]
[HTTP/2] [1] [user-agent: curl/8.7.1]
[HTTP/2] [1] [accept: /]

GET /swagger/index.html HTTP/2
Host: localhost:7120
User-Agent: curl/8.7.1
Accept: /

Request completely sent off
< HTTP/2 404
< date: Wed, 11 Dec 2024 08:30:14 GMT
< server: Kestrel
< content-length: 0
<
Connection #0 to host localhost left intact

I hope you can reopen this one.

This issue is still happening. My current SDK version is: 9.0.101
To reproduce the issue follow the VS Code steps from: Tutorial: Create a web API with ASP.NET Core
To make it shorter, run:
Create a new project
dotnet new webapi --use-controllers -o TodoApi cd TodoApi dotnet add package Microsoft.EntityFrameworkCore.InMemory code -r ../TodoApi
Generate and trust self-signed certificates
dotnet dev-certs https --trust
Start the app
dotnet run --launch-profile https
When you start the application and try to reach the swagger on your browser, you get a blank page. Via curl the output is: % curl -k -vvv https://localhost:7120/swagger/index.html

Host localhost:7120 was resolved.
IPv6: ::1
IPv4: <IP_ADDRESS>
Trying [::1]:7120...
Connected to localhost (::1) port 7120
ALPN: curl offers h2,http/1.1
(304) (OUT), TLS handshake, Client hello (1):
(304) (IN), TLS handshake, Server hello (2):
TLSv1.2 (IN), TLS handshake, Certificate (11):
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
TLSv1.2 (IN), TLS handshake, Server finished (14):
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
TLSv1.2 (OUT), TLS handshake, Finished (20):
TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
TLSv1.2 (IN), TLS handshake, Finished (20):
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / [blank] / UNDEF
ALPN: server accepted h2
Server certificate:
subject: CN=localhost
start date: Nov 22 21:46:11 2024 GMT
expire date: Nov 22 21:46:11 2025 GMT
issuer: CN=localhost
SSL certificate verify ok.
using HTTP/2
[HTTP/2] [1] OPENED stream for https://localhost:7120/swagger/index.html
[HTTP/2] [1] [:method: GET]
[HTTP/2] [1] [:scheme: https]
[HTTP/2] [1] [:authority: localhost:7120]
[HTTP/2] [1] [:path: /swagger/index.html]
[HTTP/2] [1] [user-agent: curl/8.7.1]
[HTTP/2] [1] [accept: /]

GET /swagger/index.html HTTP/2
Host: localhost:7120
User-Agent: curl/8.7.1
Accept: /

Request completely sent off
< HTTP/2 404
< date: Wed, 11 Dec 2024 08:30:14 GMT
< server: Kestrel
< content-length: 0
<
Connection #0 to host localhost left intact

I hope you can reopen this one.

I've made a mistake while following the tutorial using the latest version (.NET 9), it is now known that .NET 9 removed swagger support from the templates, so it makes sense getting this 404 when calling it.
More info can be found at: https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-8.0&tabs=visual-studio


New feature : show music title instead of link

Show music title instead of link when a music is added by link.

Closed with https://github.com/vqlion/Lollipop-discord-bot/commit/3b66b227edbe38a87d6fca609bf1274bb85eb087


Add dndbook class

This changeset adds a dndbook document class, based on the standard book class.
Using this template is now as easy as:
\documentclass[twocolumn,openany]{dndbook}

The class is just a very thin wrapper around the package, which still contains all the presentation logic. It's possible to load the package without any presentation side-effects using the layout option:
\usepackage[layout=false]{dnd}

The layout option defaults to true for now, so this is entirely backwards compatible. I suggest we change the default in the future to encourage users to switch to the class.
Closes #109

I am not familiar with creating document classes.

What is the benefit to the end user?
What is the benefit to the developer?
Does this load any packages included by dnd before anything else?

I described the rationale in #109.

What is the benefit to the end user?

First, it's more consistent with how other LaTeX packages and classes work. Packages provide reusable macros, intended to be used with many classes. Classes modify the page layout, style, and geometry.
In the real world, the distinction is not as clear, of course. Classes can also provide macros (consider the difference between article and letter). Font packages tend to change fonts automatically.
Second, the current code is coupled to the book class because it refers to chapters. If users try to use another class they'll get an error message, which they may or may not know how to fix. The dndbook class removes that decision.

What is the benefit to the developer?

It will let us embed dnd elements in other documents. For example, the user manual #49 wouldn't need to look like the books. We could call dndtable in a plain old book document, or maybe even create standalone tests for each element.

Does this load any packages included by dnd before anything else?

Yes, the class changes the package load order in a handful of ways:

The class itself depends on xkeyval and xstring, so these load first:
https://github.com/benwebber/DND-5e-LaTeX-Template/blob/feature/class/dndbook.cls#L4-L6

Next, the class loads the dnd package, including package dependencies:
https://github.com/benwebber/DND-5e-LaTeX-Template/blob/feature/class/dndbook.cls#L24

Finally, the dnd package now loads captions at the end of the preamble:
https://github.com/benwebber/DND-5e-LaTeX-Template/blob/feature/class/lib/dndstrings.sty#L25-L40
This makes it possible to load the package before babel, which would have failed before:
\documentclass{book}

\usepackage[layout=true]{dnd}
\usepackage[...]{babel}

It also lets the user load babel after declaring the document class.
\documentclass{dndbook}

\usepackage[...]{babel}

Overall, there isn't much of a difference except for the captions fix. Classes and packages both add stuff to the preamble and LaTeX executes preamble commands serially.

Is there anything holding back this merge? This is a huge usability improvement for the end user.

I went on holiday after that last post and just got back. I think all of the open pull requests should be resolved by next week at the latest.


AttachPermission with slug.

Hi,
I would be cool to add feature to allow attachPermission('slug').
Thanks!

I don't know, if this works, but it should give you an idea how to make a trait yourself and add it to your user model. Me myself prefer the way using helper functions:
if (! function_exists('attachPermissionFromSlug')) {

    /**
     * app/Support/helpers.php
     *
     * Get a permission by slug and attach it.
     *
     * @param App\User $user
     * @param string $slug
     *
     * @return bool true when succeed
     */
    function attachPermissionFromSLug(\App\User $user, $slug)
    {
        $permission = Permission::where('slug', $slug)->first();

        if (! is_null($permission)) {
            $user->attachPermission($permission);

            return true;
        }

        return false;
    }
}


CRYPTO-93: add a factory method to provide simpler API

CRYPTO-93
use the better hardware random by default

thanks @sebbASF for your comments. make sense. updated.


Integration Test - Release - 2018/10/18 01:42:32

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest3 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


required attributes in Individuals and genomicVariations models

Hi all, just querying the required fields for Individuals and genomicVariations
Individuals Model currently has "individualId" and "sex" as required, however queries would not necessarily need to include either of these fields, ie searching for any individual with a specific disease.
genomicVariatoins Model  "variantId" and "AlternateBases" shouldn't be required for a range query
cheers

HI Colin, the "required" applies to the response payload, not to the the query/request (unless I'm missing something here).
Therefore you can query (don't pay attention to the syntax): /individuals?filters:HPO:1234  and get back a list of individuals that should contain "id" and "sex" for each one.
Similarly (idem): /g_variants?start:1,end:10 and get back a list of variants for which you should provide the "id" and the "AlternateBases".
Makes sense?

yes that makes sense thanks


Can't download mariaDB

Expected behavior
Download and install mariaDB image
Actual behavior
An error HTTP code 404
Information about the Issue
(HTTP code 404) no such image - no such image: mariadb:latest: No such image: mariadb:latest
Steps to reproduce the behavior

The Kitematic run on Ubuntu 18.04, and is a fresh instalation...
...

My fault...
Error in 8 layer...


pip install face_recognition  stick

face_recognition version:
Python version:
Operating System:
when i goto the step "pip --no-cache-dir install face_recognition",it downloads several files like face_recognition,click,numpy,pillow,scipy，then stick here anybody know what's wrong?

Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

No idea. Maybe you could paste the full command and output?

solved already ,while i dont know why ,i just install the numpy etc separately and it work

Glad you got it working :)


Is there a way to make Embree dependency optional?

Because right now it  fails to build on non-x86 machine (e2k), and thus blocking LuxRender from even attempting at build.

There isn't a #define to disable Embree but it should be possible with a bit of hand work and patience:

compile with disabled OpenCL support (or do you need it ?).

you need to remove the following files from the project: https://github.com/LuxCoreRender/LuxCore/blob/master/include/luxrays/accelerators/embreeaccel.h and https://github.com/LuxCoreRender/LuxCore/blob/master/src/luxrays/accelerators/embreeaccel.cpp

try to compile and comment out any reference to the class defined in the above files.

LuxCore (for CPU) supports multiple types of accelerators so it can work without the one based on Embree. If you have doubt just ask here.
P.S. the E2k Russian CPU ?

For benchmarking CPU itself OpenCL  most likely not needed, but for anything serious (some of those machines can have relatively modern Radeon GPU) I think OpenCL will be useful.
Ok, will try that (may be just if 0 whole files and see what broke)
Yes, this is russian CPU, but I only have remote access to it. Will update this entry after re-attempting build with newest git. (I tried LuxRender 1.4 - from times before embree integration - it NEARLY compiles, up to  bin/benchsimple executable, but smallluxgpu fails with some problems related to new OIIO [1], I think, and just naively removing this component from build result in linking errors ...but this is mostly historical code atm...)

[1] - this error looked similar for me https://developer.blender.org/T61489

I tried to remove all those cmake fatalities (apparently a lot of dependencies like tbb and such only needed for slg, and SLG itself is more like demo/prototyping tool?), and while some components compiled (on x86, still with embree3 installed in /usr/local) samples failed.
hack:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 020381006..5fddaa913 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -114,23 +114,23 @@ if (NOT OPENGL_FOUND AND LUXRAYS_ENABLE_OPENCL)
endif()
if ((NOT CUDA_FOUND AND LUXRAYS_ENABLE_CUDA) OR (LUXRAYS_ENABLE_CUDA AND NOT LUXRAYS_ENABLE_OPENCL))

  MESSAGE(FATAL_ERROR "--> CUDA support requires to enable OpenCL support too")

+#      MESSAGE(FATAL_ERROR "--> CUDA support requires to enable OpenCL support too")
endif()
if (NOT EMBREE_FOUND)

  MESSAGE(FATAL_ERROR "--> Could not locate required Intel Embree files - Please check ${EMBREE_SEARCH_PATH}")

+#      MESSAGE(FATAL_ERROR "--> Could not locate required Intel Embree files - Please check ${EMBREE_SEARCH_PATH}")
endif()
if (NOT OIDN_FOUND)

  MESSAGE(FATAL_ERROR "--> Could not locate required Intel Oidn files - Please check ${OIDN_SEARCH_PATH}")

+#      MESSAGE(FATAL_ERROR "--> Could not locate required Intel Oidn files - Please check ${OIDN_SEARCH_PATH}")
endif()
if (NOT TBB_FOUND)

  MESSAGE(FATAL_ERROR "--> Could not locate required Intel TBB files - Please check ${TBB_SEARCH_PATH}")

+#      MESSAGE(FATAL_ERROR "--> Could not locate required Intel TBB files - Please check ${TBB_SEARCH_PATH}")
endif()
if (NOT BLOSC_FOUND)

  MESSAGE(FATAL_ERROR "--> Could not locate required C-BLOSC files - Please check ${BLOSC_SEARCH_PATH}")

+#      MESSAGE(FATAL_ERROR "--> Could not locate required C-BLOSC files - Please check ${BLOSC_SEARCH_PATH}")
endif()
################################################################################
@@ -168,7 +168,7 @@ include_directories(${GENERATED_INCLUDE_DIR})
add_subdirectory(src/luxrays)
-add_subdirectory(src/slg)
+#add_subdirectory(src/slg)
add_subdirectory(src/luxcore)
add_subdirectory(src/pyluxcoretools)
--

also python-numpy-boost hack similar to  https://github.com/waebbl/waebbl-gentoo/blob/master/media-gfx/luxcorerender/files/luxcorerender-find-boost.patch

After all this hacking I have (again, on x86 machine):
ls build/lib/
libbcd.a  libglfw3.a  libluxcore.a  libluxrays.a  libopensubdiv.a  libslg-film.a  libslg-kernels.a  pyluxcoretools.zip
but no .so files yet
I assumed if I fail to build current LuxCore git (commit 4df092c49991bad0b2cc2db61a319b79d6ef2c6) on x86 - making it compile/work  at e2k will be much harder task ..so, half-way to there at stage 1.

hm, so after a lot of fighting with build system I created executables on x86 machine (after installing c-blosc from git and libtbb 2020). This diff was used ...
see attached txt file because autoformat makes mess out of diff
But also I added a lot of those "-lblosc -lpython3.7m -latomic" to individual link.txt files
/dev/shm/LuxCore/build$ mcedit samples/luxcoreconsole/CMakeFiles/luxcoreconsole.dir/link.txt for example.
Is there way to disable this markdown formatting ? :/
odin_disable.txt

SLG lib is the implementation of LuxCore API so it is the true core of the library. This is the list of layers and compilation order:

LuxRays library
SLG (the 3 slg-* libraries)
LuxCore
Samples like luxcoreui, luxcoreconsole, etc.

Everything is statically linked by default so the end end result is executables and .a libraries.
TBB is used only by Embree and OIDN so you don't need it. BLOSC is required for volume rendering and OpenVDB (it can be removed with an operation similar to Embree, it is required only to read OpenVDB files).

Is there way to disable this markdown formatting ? :/

What do you mean ? What markdown ?

Is there way to disable this markdown formatting?

Use three backticks (```) above and below your code blocks.

oidn_disable_python_3.7_hack.txt
currently using this hack for disabling OIDN (I use 32-bit Slackware as my main machine). I hope embree disabling  can be done around same lines ...

I assume we can close this one.


Expose switch stats

Now that libp2p-switch is about to get some networking stats, we probably should expose and document them in libp2p.
My proposal is simply directly exposing switch.stats into libp2p.stats and porting over the documentation.
Thoughts?

@pgte can be 👍


[BUG] Server kicks out everyone with "Chat Validation Mesage Failure" error after new player tries to chat

Versions

EasyAuth 3.0.0-17
Fabric API 0.84.0+1.20.1

Describe the bug
When there is at least one player in the server, then another joins, when the newly joined player tries to send a message, the server kicks out everyone, with the error displayed "Chat Validation Message Failure". The chat feature works normally after everyone who got kicked out join and chat, but when another new player tries to chat, the problem happens again.
To Reproduce
Steps to reproduce the behavior:

Join the server with EasyAuth installed
Have another player join the server
Make the new player chat
Everyone gets kicked out with the "Chat message Validation Failure".

Expected behavior
New players who joined the server does not get kicked out with everyone in it when they chat.
Additional context
Note that by "new players", I don't just mean players who join the server for the first time. By this, I mean players who have their session expired (since once everyone gets kicked out, when they all join and chat (they all have unexpired sessions), it works normally until another player with a new session join". Also, I should note that I enabled premiumAutoLogin, hideUnauthenticatedPLayersFromPlayerList and spawnOnJoin. I'll just say that the server provider is Aternos, because maybe that's what's causing it, although I doubt it.

Thanks for detailed issue!
Just disable force-secure-profile in server.properties, it would help :)

I'll try disabling that. I'll come back later to tell if it works. And yeah, thanks for your time!

Weird... the only option I see related to what you said, which is enforce-secure-profile. However it is already set to false. I will try to disable some options in the mod, maybe one of them is the root cause of the problem.

Yes, it should be enforce-secure-profile, you are right.
It's strange that it's not helping. You can try to install this mod: https://modrinth.com/mod/no-chat-reports

Did some experiments recently, but to no avail. I'll try again with the mod, see if that would fix the problem.

Sorry for not immediately responding but seems like the problem was solved by adding No Chat Reports, but I should mention that I also disabled hideUnauthenticatedPlayersFromPlayerList and spawnOnJoin, so I'm not 100% sure if the mod helped. Buy yeah, so far, the players are not complaining about the error. And yeah, thanks for your help, really appreciate it.


multi-worker EKS not working

Describe the Bug
Trying to setup a multi-worker EKS cluster.
Following the example from here.
And the "Module usage with two worker groups" section from the documentation.
Modified the main.tf:
provider "aws" {
  region = var.region
}

module "label" {
  source     = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.16.0"
  namespace  = var.namespace
  name       = var.name
  stage      = var.stage
  delimiter  = var.delimiter
  attributes = compact(concat(var.attributes, list("cluster")))
  tags       = var.tags
}

locals {
  # The usage of the specific kubernetes.io/cluster/* resource tags below are required
  # for EKS and Kubernetes to discover and manage networking resources
  # https://www.terraform.io/docs/providers/aws/guides/eks-getting-started.html#base-vpc-networking
  tags = merge(module.label.tags, map("kubernetes.io/cluster/${module.label.id}", "shared"))

  # Unfortunately, most_recent (https://github.com/cloudposse/terraform-aws-eks-workers/blob/34a43c25624a6efb3ba5d2770a601d7cb3c0d391/main.tf#L141)
  # variable does not work as expected, if you are not going to use custom ami you should
  # enforce usage of eks_worker_ami_name_filter variable to set the right kubernetes version for EKS workers,
  # otherwise will be used the first version of Kubernetes supported by AWS (v1.11) for EKS workers but
  # EKS control plane will use the version specified by kubernetes_version variable.
  eks_worker_ami_name_filter = "amazon-eks-node-${var.kubernetes_version}*"
}

module "vpc" {
  source     = "git::https://github.com/cloudposse/terraform-aws-vpc.git?ref=tags/0.8.1"
  namespace  = var.namespace
  stage      = var.stage
  name       = var.name
  attributes = var.attributes
  cidr_block = "<IP_ADDRESS>/16"
  tags       = local.tags
}

module "subnets" {
  source               = "git::https://github.com/cloudposse/terraform-aws-dynamic-subnets.git?ref=tags/0.19.0"
  availability_zones   = var.availability_zones
  namespace            = var.namespace
  stage                = var.stage
  name                 = var.name
  attributes           = var.attributes
  vpc_id               = module.vpc.vpc_id
  igw_id               = module.vpc.igw_id
  cidr_block           = module.vpc.vpc_cidr_block
  nat_gateway_enabled  = false
  nat_instance_enabled = false
  tags                 = local.tags
}

module "eks_workers" {
  source                             = "git::https://github.com/cloudposse/terraform-aws-eks-workers.git?ref=tags/0.13.0"
  namespace                          = var.namespace
  stage                              = var.stage
  name                               = "small"
  attributes                         = var.attributes
  tags                               = var.tags
  instance_type                      = "t3.small"
  vpc_id                             = module.vpc.vpc_id
  subnet_ids                         = module.subnets.public_subnet_ids
  health_check_type                  = var.health_check_type
  min_size                           = var.min_size
  max_size                           = var.max_size
  wait_for_capacity_timeout          = var.wait_for_capacity_timeout
  cluster_name                       = module.eks_cluster.eks_cluster_id
  cluster_endpoint                   = module.eks_cluster.eks_cluster_endpoint
  cluster_certificate_authority_data = module.eks_cluster.eks_cluster_certificate_authority_data
  cluster_security_group_id          = module.eks_cluster.security_group_id

  # Auto-scaling policies and CloudWatch metric alarms
  autoscaling_policies_enabled           = var.autoscaling_policies_enabled
  cpu_utilization_high_threshold_percent = var.cpu_utilization_high_threshold_percent
  cpu_utilization_low_threshold_percent  = var.cpu_utilization_low_threshold_percent
}

module "eks_workers_2" {
  source                             = "git::https://github.com/cloudposse/terraform-aws-eks-workers.git?ref=tags/0.13.0"
  namespace                          = var.namespace
  stage                              = var.stage
  name                               = "medium"
  attributes                         = var.attributes
  tags                               = var.tags
  instance_type                      = "t3.medium"
  vpc_id                             = module.vpc.vpc_id
  subnet_ids                         = module.subnets.public_subnet_ids
  health_check_type                  = var.health_check_type
  min_size                           = var.min_size
  max_size                           = var.max_size
  wait_for_capacity_timeout          = var.wait_for_capacity_timeout
  cluster_name                       = module.eks_cluster.eks_cluster_id
  cluster_endpoint                   = module.eks_cluster.eks_cluster_endpoint
  cluster_certificate_authority_data = module.eks_cluster.eks_cluster_certificate_authority_data
  cluster_security_group_id          = module.eks_cluster.security_group_id

  # Auto-scaling policies and CloudWatch metric alarms
  autoscaling_policies_enabled           = var.autoscaling_policies_enabled
  cpu_utilization_high_threshold_percent = var.cpu_utilization_high_threshold_percent
  cpu_utilization_low_threshold_percent  = var.cpu_utilization_low_threshold_percent
}

module "eks_cluster" {
  source     = "git::https://github.com/cloudposse/terraform-aws-eks-cluster.git?ref=tags/0.20.0"
  namespace  = var.namespace
  stage      = var.stage
  name       = var.name
  attributes = var.attributes
  tags       = var.tags
  vpc_id     = module.vpc.vpc_id
  subnet_ids = module.subnets.public_subnet_ids

  region     = var.region

  kubernetes_version = var.kubernetes_version
  kubeconfig_path    = var.kubeconfig_path

  oidc_provider_enabled = false

  workers_role_arns          = [module.eks_workers.workers_role_arn, module.eks_workers_2.workers_role_arn]
  workers_security_group_ids = [module.eks_workers.security_group_id, module.eks_workers_2.security_group_id]
}

and terraform.tfvars (renamed from fixtures.us-east-2.tfvars):
region = "eu-central-1"

availability_zones = ["eu-central-1a", "eu-central-1b", "eu-central-1c"]

namespace = "eg"

stage = "test"

name = "eks-debugging"

instance_type = "t2.small"

health_check_type = "EC2"

wait_for_capacity_timeout = "10m"

max_size = 3

min_size = 2

autoscaling_policies_enabled = true

cpu_utilization_high_threshold_percent = 80

cpu_utilization_low_threshold_percent = 20

associate_public_ip_address = true

kubernetes_version = "1.14"

kubeconfig_path = "~/.kube/config-eks-debug"

oidc_provider_enabled = true

enabled_cluster_log_types = ["audit"]

cluster_log_retention_period = 7

The issue which I get is that the workers do NOT join the cluster:
$ kubectl --kubeconfig ~/.kube/config-eks-debug get nodes
No resources found in default namespace.

Expected Behavior
Worker nodes join the cluster
Steps to Reproduce
Steps to reproduce the behavior:

Clone:

git clone https://gist.github.com/38a1467a53805aaa2acee359804a3072.git .

Apply

terraform apply

Verify no workers are in the cluster:

$ kubectl --kubeconfig ~/.kube/config-eks-debug get nodes
No resources found in default namespace.

Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:

OS:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic

Version

$ terraform -v
Terraform v0.12.20

Module
Version

terraform-null-label
0.16.0

terraform-aws-vpc
0.8.1

terraform-aws-dynamic-subnets
0.19.0

terraform-aws-eks-workers
0.13.0

terraform-aws-eks-workers
0.13.0

terraform-aws-eks-cluster
0.20.0

Additional Context
Add any other context about the problem here.

(not ruling out the possibility that our documentation is wrong somewhere, but I know as recently as today @johncblandii has deployed this with one node pool in each AZ)

@czerasz-flaconi I used the node groups recently, but I've seen this issue before and it wasn't the CP module. I can't recall exactly how I fixed it, but I recall these two changes in the interim at some point.
Try setting associate_public_ip_address to true. I cannot recall the impact when I did this previously, but I know a temp fix came at one point from doing so. I highly urge you to be careful with such a setting since it opens your blast radius for attacks.
I also had a security group ensuring all internal traffic was showed.
resource "aws_security_group_rule" "internal_ingress" {
description = "Allow the cluster to receive communication from the worker nodes" from_port = 0
to_port = 65535
protocol = "-1"
source_security_group_id = module.eks_cluster.security_group_id security_group_id = aws_security_group.internal.id type = "ingress"
}

I'd honestly try this first.

Btw, we've recently updated the module (yesterday) to simplify it by taking advantage of new capabilities in terraform providers

I finally made it work. Below the diff - changes which made it work:
 module "subnets" {
   source               = "git::https://github.com/cloudposse/terraform-aws-dynamic-subnets.git?ref=tags/0.19.0"
   availability_zones   = var.availability_zones
   namespace            = var.namespace
   stage                = var.stage
   name                 = var.name
   attributes           = var.attributes
   vpc_id               = module.vpc.vpc_id
   igw_id               = module.vpc.igw_id
   cidr_block           = module.vpc.vpc_cidr_block
-  nat_gateway_enabled  = false
+  nat_gateway_enabled  = true
   nat_instance_enabled = false
   tags                 = local.tags
 }

...

 ...

 module "eks_workers" {
   source                             = "git::https://github.com/cloudposse/terraform-aws-eks-workers.git?ref=tags/0.13.0"
   namespace                          = var.namespace
   stage                              = var.stage
   name                               = "small"
   attributes                         = var.attributes
   tags                               = var.tags
   instance_type                      = "t3.small"
   vpc_id                             = module.vpc.vpc_id
-  subnet_ids                         = module.subnets.public_subnet_ids
+  subnet_ids                         = module.subnets.private_subnet_ids

+  eks_worker_ami_name_filter = "amazon-eks-node-${module.eks_cluster.eks_cluster_version}-v*"
+
   # Auto-scaling policies and CloudWatch metric alarms
   autoscaling_policies_enabled           = var.autoscaling_policies_enabled
   cpu_utilization_high_threshold_percent = var.cpu_utilization_high_threshold_percent
   cpu_utilization_low_threshold_percent  = var.cpu_utilization_low_threshold_percent
 }

 ...

 module "eks_workers_2" {
   source                             = "git::https://github.com/cloudposse/terraform-aws-eks-workers.git?ref=tags/0.13.0"
   namespace                          = var.namespace
   stage                              = var.stage
   name                               = "medium"
   attributes                         = var.attributes
   tags                               = var.tags
   instance_type                      = "t3.medium"
   vpc_id                             = module.vpc.vpc_id
   subnet_ids                         = module.subnets.private_subnet_ids
   health_check_type                  = var.health_check_type
   min_size                           = var.min_size
   max_size                           = var.max_size
   wait_for_capacity_timeout          = var.wait_for_capacity_timeout
   cluster_name                       = module.eks_cluster.eks_cluster_id
   cluster_endpoint                   = module.eks_cluster.eks_cluster_endpoint
   cluster_certificate_authority_data = module.eks_cluster.eks_cluster_certificate_authority_data
   cluster_security_group_id          = module.eks_cluster.security_group_id
-  subnet_ids                         = module.subnets.public_subnet_ids
+  subnet_ids                         = module.subnets.private_subnet_ids

+  eks_worker_ami_name_filter = "amazon-eks-node-${module.eks_cluster.eks_cluster_version}-v*"
+
   # Auto-scaling policies and CloudWatch metric alarms
   autoscaling_policies_enabled           = var.autoscaling_policies_enabled
   cpu_utilization_high_threshold_percent = var.cpu_utilization_high_threshold_percent
   cpu_utilization_low_threshold_percent  = var.cpu_utilization_low_threshold_percent
 }

The most important part was nat_gateway_enabled  = true and subnet_ids = module.subnets.private_subnet_ids. Looking at the security groups it looks to me that the author had in mind to put the workers nodes in private subnets... But maybe someone from Cloud Posse can comment if this is really the case.
Without the eks_worker_ami_name_filter = "amazon-eks-node-${module.eks_cluster.eks_cluster_version}-v*" the used AMI ID would be amazon-eks-node-1.12-v20200312 (ami-014427726efbd1804) instead of amazon-eks-node-1.15-v20200312 (ami-010f558f32c219ed7) which feels more correct.
Most issues are obvious now but unfortunately it took me some time.


set a customizable warper container to be able to switch from Portrait to Landscape

To be able to smoothly switch from Portrait to Landscape, even encapsulated into
Animated.createAnimatedComponent( HTML );
the view container doesn't handle Animated Object.
Could you convert the render() func returned View (line 131)
from:
 return (
    <View style={this.props.containerStyle || {}}>
       { RNNodes }
    </View>
 );

to:
 return (
    <Animated.View style={this.props.containerStyle || {}}>
       { RNNodes }
    </Animated.View>
 );

So we can send styles.containerStyle with Animated effect without rebuilding the view.

Hi,
I'm wondering if there is any drawback to using Animated.View by default as the wrapper for every node if you're not planning on using any animation. Anyway, it feels weird to me.
Do you think it should be implemented with an optional prop for those who want to use it ?
Or we might even add a prop that renders a custom wrapper to give full control to users that want it. I guess that would be even better.

Yes that's right, a customizable container warper as a ..prop with a default val set to <View/> would be more elegant.
So this new prop would even replace the this.containStyle:
const WarperElement = this.props.containerWarper || View;
return (
  <WarperElement>
     { RNNodes }
  </WarperElement>
);

Hi again,
in the end, rather than adding a prop that allows developers to choose the wrapper element, I added a function that takes RNNodes as the first parameter so you'll be able to do anything  you want.
This should be useful for some special cases if someone wants to store the ref of the container or some stuff like that.
// ... props
customWrapper: (RNNodes) => (<Animated.View>{ RNNodes }</Animated.View>)

It works as a charm.
Thanks for the update.


EDITOR#377. Add LED update and subscription

What is this PR for?

add resolver for LED update
add subscription to LED resolver
What type of PR is it?
feature
Todos

[ ] Task

What is the Github issue?

EDITOR-#377 LED Subscription
How should this be tested?

Screenshots (if appropriate)
Questions

Do the license files need updating? Yes/No
Are there breaking changes for older versions? Yes/No
Does this need new documentation? Yes/No

I've merged a EditingLEDEffect related pull request. Apply it on the LED resolvers, thx.


[BUG] telementry_utils.py and parse_radio_block function.

When inputting a block header with a block subtype that its recognized by DataBlockSubtype yet not implemented, e.g.

It should raise NotImplementedError

yet it raises at v1/data_block.DataBlock.parse the DataBlockUnknownException

when it should go to the parse_data_block

With further investigation found out maybe I need to create DataBlocks for the remaining block subtypes or could do a work around just to raise the proper NotImplemented Error @linguini1

With further investigation found out maybe I need to create DataBlocks for the remaining block subtypes or could do a work around just to raise the proper NotImplemented Error @linguini1

Tbh just toss the raise DataBlockUnknownException and replace with NotImplemented. See my comment on PR #89.


Hash field in exported data.

Hi,
I have a question in regards to how the HASH value in the exported CSV/json files are generated.
What fields are used to create this hash?
I am hoping that I am able to use the hash almost as a unique id and as identifier to determine if an address point should be reprocessed.
Are hashes guaranteed uniqueness across all data sources?

More discussion about the hash value can be found in this ticket here: https://github.com/openaddresses/machine/issues/683

See also: https://github.com/pelias/openaddresses/pull/442

Thanks all!


Ukraine

refs #

For information, read and make sure you're okay with the Contributing guidelines.

[x] Tests with a significant number of years to be tested for your calendar.
[x] Docstrings for the Calendar class and specific methods.
[x] Use the workalendar.registry_tools.iso_register decorator to register your new calendar using ISO codes (optional).
[x] Calendar country / label added to the README.rst file.
[x] Changelog amended with a mention like: "Added <country> by @pseudo (#)". Note Please do NOT change the version number here. It's the project maintainers' duty.

[x] Tests with a significant number of years to be tested for your calendar.
[x] Changelog amended with a mention describing your changes. Note Please do NOT change the version number here. It's the project maintainers' duty.

Many thanks for the feedback.
@alexdashkov Do you have any insight on the 2nd of May?
Wikipedia sends me here, the best that I can do is to use google translate, so I assume (????-2017).
It also appears that the 1st of May was once called Workers Solidarity Day, although doesn't say to what they changed it.

@apelloni until the 2017 Workers Solidarity Day was celebrated the 1st and 2nd of May. But starting from the 2017 only the 1st

Ukraine calendar is now available as of version 8.0.0 you can now install it through PyPI.
Thank you again for your contribution!


Testing flattening all of the metadata

I've created multiple structures to store the metadata separately rather than in a tree, and tested out the time taken to run keepDeepReferenceEqualityIfPossible on all of those vs the tree structure after merging the DOM and Spy reports.

The overall result after fixing the issues with keepDeepReferenceEqualityIfPossible is a 2x improvement, which we believe can be achieved with a much simpler form of flattening, so I'm going to close this PR and do that.


For this to work, vike-{react,vue,solid} need to catch the exception and then re-throw it inside the onRenderHtml()/onRenderClient() hook, so that the exception propagates to Vike.
Contribution welcome.

Deprioritizing, as per https://github.com/vikejs/vike-react/pull/123#issuecomment-2196236446.

Is this not supposed to work already?
In my test project, I implemented vike-node and am using throw redirect() in a component I have, but only in SSR in order to redirect to another page when the user isn't logged-in, and it seems to work fine.

@simplecommerce Yes it already works if the onRenderHtml() and onRenderClient() hooks receive the exception thrown by throw redirect() / throw render(), and if you aren't using HTML streaming. Because it isn't clear what should happen when throw redirect() / throw render() is called during HTML Streaming (will browsers respect the redirect header after the HTML stream has started?), I'd recommend to define user redirections on a page level instead of a component level.


InteractiveBrowserCredential preference to use system browser or modal dialog

Library name
Azure.Identity
Please describe the feature.
The documentation for InteractiveBrowserCredential says (emphasis mine):

launches the system default browser to interactively authenticate a user

In my experience, if my Windows desktop application targets .NET 6 the system browser is launched. However if we target .NET 4.8, a modal popup is shown with an embedded browser.
Using the system browser is (in my case) a better user experience, and from a cursory look it seems like this is an option in MSAL. Is it possible to get this choice exposed via the InteractiveBrowserCredentialOptions (or otherwise)?

//cc: @christothes

Thank you for your feedback.  Tagging and routing to the team member best able to assist.


UCLII tables

Add end-to-end tests for semantic restructuring and content enhancement functionality of tables input as SVG.
Specific areas:

Subtable restructuring
Column super-header trees
Split compound columns and extract individual numerical values

Remove currently unused GROBID dependency and configure log4j to write rolling logs to norma.log

Checked out and tested locally (Travis CI is not configured to build successfully).
Team pre-approved author to close PR.


Update babel.md

Changes
Updated link in docs
Testing
no need
Docs
One character away from a perfect link

Thank you!


Tune up Coveralls and SimpleCov

Addresses #62

I'm not sure why or how the Gemfile.lock got changed

Force pushed new commit 52306dd

Thanks Rob! Looks great!


fix typo in test parameters target-partition-size

Someone renamed it in config but forgot in testing configuration.

Good catch @kpbochenek. Thanks for fixing it!


Renames config parameters and driver name, updates logo, bumps versio…

…n number in Makefile, and updates README

My outstanding issue is a UI concern-- you can create a template and deploy a cluster, but it seems not to be rendering the template when I run the npm server locally:

This is after, for example, a make release (having bumped the version in the Makefile) and running a server from the docs directory for that new release locally. This is a little outside of my usual skillset, but should be the last item for this issue before I'd consider this PR ready for review.

I have some changes after trying to get the translation texts to render.
https://github.com/jmarhee/ui-driver-packet/pull/1
I wasn't successful in getting them to render. I left some comments in the linked PR.
I think someone from Rancher might be able to help us out here.

Continues in #33


Alert: Vulnerability in bludit

Hi i have identified a security vulnerability in your application. Kindly do let me know if we can discuss this in detail.

Hi, As per the user safety you should disallow some content as most of the user aren't aware of such security risk. If a user download the product from the repository and doesn't fix this on their side, in that case they will be vulnerable to multiple attack scenario.
Also even TinyMCE has released a patch when they got this flaw so their users can use a safe product. Below is the link for your reference.
https://portswigger.net/daily-swig/tinymce-suffers-big-xss-flaw


Update latest version on readme

Oh my bad, for some reason I really thought 0.3.0 was already out until I realized it's an upcoming release 😂