Set Up ESLint and Fix Linting Problems

Eslint has been set up - with airbnb code styles. Prettier and Jest integration is also configured.
Usages:

npm run lint for linting
npm run lint:fix for getting linter to automatically fix problems

Hey team, for future reference: if you come across a linting error, please look into the problem, eslint gives you good suggestions upon hovering over the problems.
If you think it's suitable you can disable it for the line to disable the rule, (hover over the code -> Quick Fix -> disable for this line).
If you think the rule should be removed project-wide then put it into .eslintrc.js. Cheers


Cocoapod Migration

Working on my new release I have modified my podfile to request the Swift 3 branch.  After running pod install, Xcode attempts to migrate Toast.swift to use the new access control identifiers "open" and "fileprivate".

The current 2.0.0 branch has full for Swift 3 and Xcode 8 (this is also currently on master). However, please also see #38. The current release of CocoaPods is not compatible with Xcode 8 and therefore I can't publish the new pod until CocoPods 1.1.0 is released (hopefully this happens soon).

Sorry to waste your time, I solved this another way.  The problem was with the pod file.  I needed to add a post_install hook to update the Swift Version to 3.0.  That prevents the manual migrations I was undergoing.

@dpfannenstiel interesting and would appreciate it if you can provide a little more detail of how you resolve the problem!

@yzhong52 I think what @dpfannenstiel used was this:
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '3.0' # or '3.0'
    end
  end
end

But in my case, Toast-Swift fails to compile. I'm waiting for the new version of cocoapods.

That is how I'm doing it.  And until cocoa pods issue is resolve I'm using
  pod 'Toast-Swift', :git => 'https://github.com/scalessec/Toast-Swift.git', :branch => 'feature/swift-3.0'
to get the correct version of the code.


Option for No Authentication in SMTP

My organisation uses Exchange server which is currently not supported, but I can also use IMAP/SMTP . Currently nylas requires that i enter in SMTP credentials (username and password) and the "connect account" button is disabled if I don't enter them which in turn means i cannot connect to our server because i have to specify No Authentication on the smtp details.  I'm using Ubuntu 16.04 and nylas 2.0

+1
Same for me. If user is successfully authenticated via POP3 / IMAP, we allow SMTP for his IP for next 30 minutes, credentials for SMTP are not required.

1
Same for me.

+1

+1

Hey folks—Nylas Mail is no longer maintained, but this has been fixed in https://github.com/Foundry376/Mailspring/commit/e4d61462edf086e64a309a36321ef9bcfc8f464f on the Mailspring fork. You can connect to SMTP without auth and also on custom ports.

Hi, mailspring looks nice, but I am getting the same error: "Authentication Error - Check your username and password. (SMTP)". (server is correct, port is correct security setting is correct, username + pw are left open)


🐛(search) show the proper organization for courses

Purpose
Courses can have several linked organizations, listed in the API on the organizations field. We operated on the assumption that the "main" organization, the one that should be displayed in search
results, was the first in the list.
That assumption was wrong in our current use, and also encodes some behavior implicitly.
Closes #134
Proposal
Use a specific field organization_main to convey that information instead.
Note #243 is a related problem that we decided not to solve in this PR.

You called the field "OrganizationMain" and "organization_main" but it is called "main_organization" in Python. Two cases:

you really think "main_organization" is a bad name (because let me guess... generic then specific) and you should rename the field in Python as well. I would argue that name "main_organization" is often seen and derived from english,
if you think "main_organization" is ok then we should stick to it everywhere.

I don't think having a discrepancy is a good option.

I don’t see main_organization in python. I just see main_university which happens to be the legacy FUN name.
As for the name itself, it’s not just generic to specific, it’s also that it should imo be right next to organizations on the objects to make its existence and function obvious

@mbenadda https://github.com/openfun/richie/blob/master/apps/courses/models.py#L112


Provide full documentation for new parts of code

It is necessary to fully document the parts of the code where the documentation is not yet fully implemented (Updated cogs and parts for Markov chains)

All documentation issues were closed by the time of commit https://github.com/SecondThundeR/ghosty/commit/1e0667b8ef1487832286afa3f7c7ea630db8444e


Unable to connect to server

latest.log
Having issues with connecting to my server after installing the patch
I installed it as an agent on the server and client (server with the javaagent argument, client with Prism Launcher's 'add agent' button under 'version') but whenever I try to join my server it says that 'a fatal error has occurred' and that the 'connection has been terminated.' I then tried loading it again without the patch on either the server or client, and I am able to connect again without issue.
Pack is Technological Journey 1.2.2, running Forge <IP_ADDRESS>60

Interesting, thanks for reporting, we'll take a look at it.

I installed it as an agent on the server and client
I then tried loading it again without the patch on either the server or client,

Just to be clear, you tried it on both, server and client, and neither, but never on just one side (either client or server)?

Correct, I have tried on neither and both, but not on only one side

I had the same problem - I believe setting it as an agent is for below 1.7 - adding it to the mods folder on both has same effect of patch but allows you to join your server :)

I've been using serializationisbad v1.3 on Technological Journey v1.2.2 (server side only) for over 2 weeks and have had no connection issues. Today I updated the mod to version 1.4, also no problems (again, mod installed on server side only).

OK. I will mark this as done! Thank you for your response! If there is an issue after close, just reopen it.


Update vscode-redhat-telemetry to 0.2.0

Closes #55
Signed-off-by: David Thompson<EMAIL_ADDRESS>

Updated vscode-redhat-telemetry to 0.2.0 instead. It likely won't make a difference, since this extension requires vscode-java, which didn't work on VS Code 1.52.


Issue with Step 6, In Creating The Model

Issue with step 6 while creating the model. After opening the Northwind_model to replace the two versions of ICollection with ObservableCollection and the first replacement of HashSet with ObservableCollection and finally to change System.Collections.Generic to System.Collections.ObjectModel, while building we ran into 7 errors. We thought we could continue on with the walk through, however, on DataBind the model to the XAML page step 5, we could not open the details for the customers.
Here is a link to the walkthrough:
https://docs.microsoft.com/en-us/visualstudio/data-tools/create-a-simple-data-application-with-wpf-and-entity-framework-6?view=vs-2019

@RyanMConstable One of our PMs recently tried out the tutorial and he had no did not encounter any errors. Take a look at his advice here. If you continue to encounter errors after rechecking your work, here are a few options where you might consider asking for help:
https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/


React Native, Invariant Violation: Native module cannot be null.

🐛 Bug Report
hey, hi! i have a similar issue (i think) here: https://github.com/facebook/jest/issues/2208, but this issue is quite old, and i have followed the solutions there, but none worked for me.
at first, i encountered this error for running jest:
/home/nrion/Desktop/mobile-ui/PriceInsight_app/node_modules/react-native-onesignal/index.js:4
    import { NativeModules, NativeEventEmitter, NetInfo, Platform } from 'react-native';
    ^^^^^^

    SyntaxError: Unexpected token import

    > 1 | import OneSignal from 'react-native-onesignal';
      2 |
      3 | export const STORE_TIMEFRAME = 'STORE_TIMEFRAME';
      4 | export const STORE_TIMEFRAMES = 'STORE_TIMEFRAMES';

      at ScriptTransformer._transformAndBuildScript (../../../../../usr/lib/node_modules/jest-cli/node_modules/jest-runtime/build/script_transformer.js:316:17)
      at Object.<anonymous> (src/actions/subscription.js:1:387)
      at Object.<anonymous> (src/reducers/subscription.js:1:402)

so i went ahead and added react-native-onesignal to package.json as such:
"transformIgnorePatterns": [
      "node_modules/(?!(react-native-onesignal|react-native-login|react-native-elements)/)"
    ]

so that solved my problem. but here comes another problem:
 Invariant Violation: Native module cannot be null.

    > 1 | import OneSignal from 'react-native-onesignal';
      2 |
      3 | export const STORE_TIMEFRAME = 'STORE_TIMEFRAME';
      4 | export const STORE_TIMEFRAMES = 'STORE_TIMEFRAMES';

      at invariant (node_modules/fbjs/lib/invariant.js:42:15)
      at new NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js:37:31)
      at Object.<anonymous> (node_modules/react-native-onesignal/index.js:9:33)

i tried mocking OneSignal, but this is what happens when I do that:
 Cannot find module 'OneSignal' from 'Main.test.js'

    > 1 | import React from 'react'
      2 | import { shallow } from '../../jest-setup'
      3 | import configureStore from 'redux-mock-store'
      4 | import OneSignal from 'react-native-onesignal'

      at Resolver.resolveModule (../../../../../usr/lib/node_modules/jest-cli/node_modules/jest-resolve/build/index.js:169:17)
      at Object.<anonymous> (src/__tests__/Main.test.js:1:108)

To Reproduce
Steps to reproduce the behavior:

npm install react-native-onesignal
run jest

Expected behavior
test passes, writes a snapshot

How do you mock OneSignal? Can you provide a minimal repro?

@thymikee on the test file:
jest.mock('OneSignal', () => {
  return {
    addEventListener: jest.fn(),
    removeEventListener: jest.fn(),
    inFocusDisplaying: jest.fn()
  }
})

Oh, you need to mock the react-native-onesignal, not OneSignal.

Hi, I'm a having an issue while running my app "Invariant Violation: Native module cannot be null"
Can some please help for that
Thanks

+1 @Pallavisoba


make MagicNumberChecker ignore param tolerate spaces

When specifying a custom ignore parameter for MagicNumberChecker it is easy to type extra spaces. When it happens, value with a space does not get ignored, like  100 here:
 <check level="warning" class="org.scalastyle.scalariform.MagicNumberChecker" enabled="true">
  <parameters>
   <parameter name="ignore"><![CDATA[-1,0,1,2, 100]]></parameter>
  </parameters>
 </check>

Codecov Report

Merging #289 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           master   #289   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          59     59
  Lines        1458   1458
  Branches      144    146    +2
=====================================
  Misses       1458   1458

Impacted Files
Coverage Δ

...rg/scalastyle/scalariform/MagicNumberChecker.scala
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Great. Thanks!


Reduce text brightness in reading mode

I hope the text brightness is reduced in reading mode, for the comfort of the eyes

Do you think there should be an option to choose dim amount, with a slider?

If this will include the editing mode as well, I think that having the option will be useful, but if the matter will be limited to the reading mode, I prefer that you adjust the brightness value that you see fit and comfortable for reading yourself, without the need to add an option

v2.2.0-Beta2
The dim is too high for me, I don't see anything when I'm in a bright place especially when I use the dark and black theme, the idea of having a bar to control the opacity level seems really useful.

Would you prefer a few modes such as (Low, Mid, High), or a complete brightness bar?

I think the bar is better, because it allows more flexibility in controlling the amount of brightness

Both can be shown as bars. It's just about the amount of options available. One is just like the bar in your device that controls the brightness, and the other provides 3 to 5 options in a bar or a dialog.

If you mean a bar that looks like a control bar for the number of lines in the previews, with numbers replaced with the names of the options in the dialog boxes and without skipping some values between each two options, this is fine, and if indeed there will be some values ignored between each two options, then the full brightness bar will certainly be  better
I was thinking instead of all that, with a gesture that takes advantage of the part shown in the picture, this way the control is faster and easi

I don't agree with adding a bar in Reading Mode, due to these reasons:

It would replicate the same bar in the Notification Panel.
It would be enabled always.
The placement you have provided isn't the best UX/UI.

I personally prefer to have quick options available to the user, without messing with the UI much. This is what I came up with:

There could be an option at the end, to set a custom value using the bar. Also, these options could also be modified from Reading Mode screen itself displayed as an icon.

Well, I have to wait, maybe the experience is better than I imagined

It's okay. Thanks.


Convert to discriminated union

A refactoring to convert from enums or plain unions to discriminated unions.

Cool! but what should the common field be named? type? kind?

lol I just saw my crappy gif didn't even name them consistently

I think that, much like extract function, the user will want some sort of "rename" capability. @mjbvz @amcasey @RyanCavanaugh for comments.
Part of me wonders if this is just a worse way to auto-scaffold discriminated unions in the first place. Maybe that's what we should be solving instead?

I like the spirt but am not a big fan of this refactoring; too much magic. Is this conversion something people are hitting very often?

Is this conversion something people are hitting very often?

Well, I've hit it a few times. I guess more important is the need to scaffold out a discriminated union.  I actually played around with Kotlin for a bit, and after thinking of the proposed feature here, found they have a very similar refactoring for converting enums to sealed classes (which is the rough equivalent). Unless we have a better solution, I see this as a two-birds-with-one-stone scenario.

also another refactor: convert string literal union to an enum

Well, I've hit it a few times. I guess more important is the need to scaffold out a discriminated union

Isn't that like, verbatim, what snippets are for? Something like
	"Discriminated Union": {
		"prefix": "type",
		"body": [
			"type ${1:SomeUnion} = ${2:MemberA} | ${3:MemberB};",
			"interface $2 {",
			"\tkind: \"${2/(.*)/${1:/downcase}/}\";",
			"}",
			"interface $3 {",
			"\tkind: \"${3/(.*)/${1:/downcase}/}\";",
			"}",
		],
		"description": "Scaffolds out a two-member discriminated union"
	}

I did consider snippets - can you scaffold out snippets that make an unbounded number of branches?

C# can expand switch(enumVar) into an appropriate list of cases, so I’m guessing there’s a way.

That list of cases already exists - this is for the initial authoring process where you don't even have an enum or union.

That list of cases already exists - this is for the initial authoring process where you don't even have an enum or union.

I think the idea is that if, generally speaking, a c# snippet can take an enum as an argument and expand to a switch, why wouldn't another snippet be able to take a type as an argument and expand to a selection of interfaces like you wish.
In any case, you can totally just write snippets like I wrote above, specialized for 2-5 types, since it's not really reasonable to scaffold anything more than that without heavy codegen, IMO. (Or you get cute and write some chaining snippets that keep appending interfaces as long as you keep invoking the snippet at the end of the top union.)

Okay - seems like there is a reasonable low-cost solution for initial scaffolding. It's a little disappointing to me that for 10-20 cases, I'll have to jump back and forth adding new cases, and auto-generating would be overkill for that anyway. I would like us to think more about refactorings/fixes along the lines of discriminated unions (e.g. scaffoldings, fixing up missing case statements, etc.).
We can keep this issue open since I think it's a legitimate refactoring. @mjbvz would you be okay with @weswigham adding a new snippet in VS Code for discriminated unions? I think it'd make the feature more discoverable.

Do we actually package any default snippets for js/ts yet (except for console.log)?

@DanielRosenwasser The case of the curiously recurring snippet:
	"Discriminated Union": {
		"prefix": "du2",
		"body": [
			"type ${1:SomeUnion} = ${2:MemberA} | ${3:MemberB}${4|;, \\| ad|}$0",
			"interface $2 {",
			"\tkind: \"${2/(.*)/${1:/downcase}/}\";",
			"}",
			"interface $3 {",
			"\tkind: \"${3/(.*)/${1:/downcase}/}\";",
			"}",
		],
		"description": "Scaffolds out a two-member discriminated union"
	},
	"Add to discriminated union": {
		"prefix": "| add",
		"body": [
			"| ${1:NewMember}${2|;, \\| ad|}$0",
			"interface $1 {",
			"\tkind: \"${1/(.*)/${1:/downcase}/}\";",
			"}",
		]
	}


sort_candidates_by_name

Targets #2952
Description
Sorting the candidates in ascending order by their name in Codetrek Page.

[x] I have performed a self-review of my own code.

@VimalUniyal  There are a few suggestions that needs to be done when you are making the PR.
In Assignees : Assign it to yourself before assigning to the reviewers.
In Label : Put ready for review label before assigning it to the reviewers.
In Reviewers : Assign it to team-portal-reviewers.


Get Cards from hand instead of /Cards & Update Game View

8e223030d49f21cbfd973c0cfacbfde6bcaa248f

You now get the cards from that current game from the hands of that game


Installing packages from custom pypi server fails on 0.1.32

Highly likely that the root issue is on our end but figured it's still worth an issue since others might be facing the same issue soon: upon upgrading to uv==0.1.32, our docker builds started failing with
error: HTTP status server error (502 Bad Gateway) for url

Rolling back to 0.1.31 fixed things.
We UV_INDEX_URL=... pip install -r requirements.txt with a couple (3?) of packages coming from a self-hosted pypiserver instance, and the rest (400?) are publicly available on PyPI. No obvious issues with the health of our server, CPU load is still extremely low, can't find anything noteworthy in the logs.
I git bisected my way to #2817 and found that any commits before this change succeed. That's about all I've been able to find but if there's any other uv or pypiserver output that would be of interest let me know and I'll post it!

Hey Brett! Good to see you.
Sorry this issue fell through the cracks, are you still encountering this on the latest version? I think a lot changed in our network stack with #2817, seems possible we made a mistake or that there's a regression upstream.

Hi @zanieb 👋 yes, I just checked and we still encounter this on 0.1.36. Don't have many other details to share but a couple other things:

uv pip install <a few packages> works fine, it's only installing our full set of requirements that triggers the issue
uv pip compile also reliably triggers the issue for su

FWIW we've used pypiserver for some testing and I've seen pretty consistent errors at high levels of parallelism. We may just need to let people turn down our network concurrency.


Runs an old version of syncthing no matter what I do, can't open config or read database.

It's running an out of date version of syncthing, even if I manually replace the exe with the latest one. This causes it to fail to launch.
Output in log:
[LSKSS] 10:56:41 INFO: syncthing v1.2.0 "Fermium Flea" (go1.12.6 windows-amd64<EMAIL_ADDRESS>2019-06-28 06:03:29 UTC
[LSKSS] 10:56:41 INFO: My ID: LSKSS7X
[LSKSS] 10:56:42 INFO: Single thread SHA256 performance is 526 MB/s using minio/sha256-simd (434 MB/s using crypto/sha256).
[LSKSS] 10:56:42 WARNING: Failed to initialize config: Config file version (30) is newer than supported version (29). If this is expected, use -allow-newer-config to override.
[LSKSS] 10:56:42 INFO: syncthing v1.2.0 "Fermium Flea" (go1.12.6 windows-amd64<EMAIL_ADDRESS>2019-06-28 06:03:29 UTC
[LSKSS] 10:56:42 INFO: My ID: LSKSS7X
[LSKSS] 10:56:43 INFO: Single thread SHA256 performance is 524 MB/s using minio/sha256-simd (443 MB/s using crypto/sha256).
[LSKSS] 10:56:43 WARNING: Failed to initialize config: Config file version (30) is newer than supported version (29). If this is expected, use -allow-newer-config to override.
[LSKSS] 10:56:43 INFO: syncthing v1.2.0 "Fermium Flea" (go1.12.6 windows-amd64<EMAIL_ADDRESS>2019-06-28 06:03:29 UTC
[LSKSS] 10:56:43 INFO: My ID: LSKSS7X
[LSKSS] 10:56:44 INFO: Single thread SHA256 performance is 526 MB/s using minio/sha256-simd (442 MB/s using crypto/sha256).
[LSKSS] 10:56:44 WARNING: Failed to initialize config: Config file version (30) is newer than supported version (29). If this is expected, use -allow-newer-config to override.
[LSKSS] 10:56:44 INFO: syncthing v1.2.0 "Fermium Flea" (go1.12.6 windows-amd64<EMAIL_ADDRESS>2019-06-28 06:03:29 UTC
[LSKSS] 10:56:44 INFO: My ID: LSKSS7X
[LSKSS] 10:56:45 INFO: Single thread SHA256 performance is 505 MB/s using minio/sha256-simd (444 MB/s using crypto/sha256).
[LSKSS] 10:56:45 WARNING: Failed to initialize config: Config file version (30) is newer than supported version (29). If this is expected, use -allow-newer-config to override.

The version of syncthing that I actually have is 1.6.1, not 1.2.0. Even if I put my version into the SyncTrayzor folder this is still what it shows in the log. So I don't even know what file it's really running.

If I do as it suggests and tell it to allow the config, it fails on the DB, here:
[LSKSS] 10:59:14 WARNING: Database schema: Syncthing v1.6.0 required

Is there no way to tell it to actually run my version of syncthing and stop using it's own old one? I don't even know where it's pulling this ancient version from.

Never mind, I found it. If anyone else runs into this issue it crams the exe into AppData\Roaming\SyncTrayzor so if you stick the right version in there manually it fixes it.


Improve intellisense for awkward user input

Pull Request Test Coverage Report for Build 565748964

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

Totals

Change from base Build 564312809:
0.0%

Covered Lines:
454

Relevant Lines:
645

💛  - Coveralls

Pull Request Test Coverage Report for Build 565748964

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

Totals

Change from base Build 564312809:
0.0%

Covered Lines:
454

Relevant Lines:
645

💛  - Coveralls


Add a method to both listener class to check and update status flag

The program current need developer to update status flag to "1" every 10 second to keep the listener active manually.
This create code redundancy, so please add all these step to a method.

Still need 2 lines changes


Sass 1217

Description
SASS-1217 Crystallisation performance tests scenarios
Add a link to the relevant story in Jira
SASS-1217
Checklist PR Reviewer
Before Reviewing

[ ]  Have you pulled the branch down?
[x]  Have you assigned yourself to the PR?
[x]  Have you moved the task to “in review” on JIRA?
[ ]  Have you checked to ensure all dependencies are up to date?
[ ] Have you checked to ensure its been rebased against the current version of master?

Whilst Reviewing

[ ]  Have you run the tests?
[ ]  Have you looked at the JIRA story to make sure all Acceptance Criteria has been met?

After Reviewing

[ ] Have you checked for merge conflicts or any changes in the current master that may affect the current pull request? i.e. does it need another rebase?
[ ]  Have you checked to make sure there are no builds in the pipeline before you merge?
[ ]  Have you moved the task to “in pipeline” on Jira?

[x]  Have you addressed warnings where appropriate?
[ ] Have you rebased against the current version of master?

Could we get a dependancy uplift as well please?

Changes made, dropping reviewer assignment to allow for further independent review


Typo in sample host.json code

I am not sure, but I think there may be a typo on line 112 for the "version" property of hosts.json. I think this must be "2.0" and "3.0" will not work.
Earlier in the document, on line 76, the same v3 extension bundle is referenced with a sample hosts.json but it has "2.0" there.
I think the host.json "version" property is different from the extension bundle version.

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

ID: fff7ae2f-4f02-7ed9-c2ed-a2715e407975
Version Independent ID: 542016c1-3c25-f6af-cc83-0c5b6218e0ce
Content: Azure Blob storage trigger and bindings for Azure Functions
Content Source: articles/azure-functions/functions-bindings-storage-blob.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

#assign:ggailey777

@MattSidor thanks for reporting this. Not sure how that got changed, but you're right, there's no version 3.0 yet for host.json. I have submitted a PR to fix.


Fix uncaught duplicate dataset errors

[Current coverage][cc-pull] is 51.54%

Merging [#241][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #241   diff @@
==========================================
  Files            21         21
  Lines           520        520
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            268        268
  Misses          252        252
  Partials          0          0

Powered by Codecov. Last updated by [5fbfce1...17f9189][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Kitware/candela/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/Kitware/candela/compare/5fbfce1e003791b0533506ecb9b87651b08258b6...17f9189c3dac9b6cb4440c0418dbed1ed3afd8ff
[cc-pull]: https://codecov.io/gh/Kitware/candela/pull/241?src=pr

LGTM


fix: merge podTemplates filed more specific, such as tolerations, nodeselector and so on.

Changes
fixes: #7127

Background:
In the original implementation, template replacement is simply replacing pipelineRun.spec.podTemplate with pipelineRun.spec.taskRunSpecs[].taskPodTemplate,the specific description can be seen here:Issue #6846.
To solve the problem #6846. In pr #6862, the function MergePodTemplateWithDefault is called to merge podtemplate, In this function, two parameters named tpl and defaultTpl are passed in. It only merges volumes and envs, the judgment logic of the remaining fields is if the same field is set on both templates, the value from tpl will overwrite the value from defaultTpl, which leads to the occurrence of problem #7127
Solution:
Here I created a new function named ExpandedMergePodTemplateWithDefault, which can merge fields such as NodeSelector, Tolerations ,ImagePullSecrets and so on. If there is a conflict when these fields are merged, we will use the value in the field corresponding to the incoming parameter with high priority (similar to the implementation of the original function, that is, the second default of the incoming parameter is higher priority). The reason why it is not modified on the original function is that the original function is referenced in multiple places. If it is modified directly, it may cause unknown problems.
In this pr, I replaced the merge function called in function GetTaskRunSpec with my newly defined function and wrote a test function for my newly defined function and added multiple test cases to the original TestPipelineRun_GetTaskRunSpec test function
/kind bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] pre-commit Passed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
PodTemplate filed such as tolerations, nodeselector will be merged between pipelineRun.spec.podTemplate and pipelineRun.spec.taskRunSpecs[]

/ok-to-test

/retest

/retest

@afrittoli's commend still needs to be addressed. Lets move this to the next release unless it can be done now.

@Ma-YuXin thanks for this PR! Are you able to continue working on this?

/hold no reply from the author


TS coloring does not support the latest syntax

For example, readonly is not colored as a keyword.

The TS lexer returns identifier.ts for it in the following example:
export class Cell {
	public readonly row: number;
}

So perhaps TypeScript allows to have a variable called readonly and the lexer choses to not mark this as a keyword.

This has been fixed in the meantime, we are now using a Monarch colorizer for TS.


Search forum

Add Search Feature in the Forum
Add Auto Search
https://user-images.githubusercontent.com/50931990/227162902-0d0c2570-a36c-4cb9-b735-50478da7ca02.mp4

@Njunu-sk thanks for the challenge submission! I ran CI for you, and will deploy a review app by recreating your branch on this repo shortly


Define reporting guidelines

This is a test comment

We need a document describing process of reporting how was ADA spent


Module build failed when using postcss-loader for less

Bug report
I packaged with custom webpack via angular-cli and configured the relevant less compilation rules, but the rules did not take effect and generated an error, giving the error message 'module build failed form postcss-loader'.
I tried to fix it based on bug: #529, but it didn't work
Stackoveflow: https://stackoverflow.com/questions/71644804/how-to-fix-module-build-failed-from-postcss-loader
Actual Behavior
poastcss-loader reports error 'Module build failed' during webpack packaging.

Expected Behavior
The css-related compilation via webpack should pass properly
How Do We Reproduce?
package.json
{
  "name": "htmlaccess",
  "version": "1.0.0",
  "private": true,
  "description": "HTML Access View Client & Chrome Client",
  "scripts": {
    "preinstall": "npx npm-force-resolutions",
  },
  "resolutions": {
    "webpack-dev-server/**/spdy-transport": "^3.0.0",
    "postcss-import": "^13.0.0"
  },
  "dependencies": {
    "@angular/animations": "13.2.4",
    "@angular/common": "13.2.4",
    "@angular/compiler": "13.2.4",
    "@angular/core": "13.2.4",
    "@angular/forms": "13.2.4",
    "@angular/localize": "^13.2.4",
    "@angular/platform-browser": "13.2.4",
    "@angular/router": "13.2.4",
    "@auth0/angular-jwt": "^5.0.2",
    "@ng-bootstrap/ng-bootstrap": "^11.0.0",
    "@types/lodash": "^4.14.175",
    "big-integer": "^1.6.50",
    "bootstrap": "4.5.2",
    "buffer": "^6.0.3",
    "core-js": "2.6.9",
    "crc-32": "^1.2.0",
    "crypto-browserify": "^3.12.0",
    "file-saver": "^2.0.5",
    "jquery": "3.6.0",
    "jquery-ui-dist": "1.12.1",
    "jssha": "3.1.2",
    "lodash": "^4.17.21",
    "popper.js": "1.16.1",
    "resize-observer-polyfill": "^1.5.1",
    "rxjs": "~6.6.7",
    "snappyjs": "^0.6.0",
    "style-loader": "^3.3.1",
    "tslib": "^2.0.0",
    "webpack": "^5.67.0",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-builders/custom-webpack": "^13.1.0",
    "@angular-devkit/build-angular": "13.2.5",
    "@angular-devkit/core": "~13.2.5",
    "@angular/cli": "13.2.5",
    "@angular/compiler-cli": "~13.2.4",
    "@angular/language-service": "~13.2.4",
    "@angular/platform-browser-dynamic": "~13.2.4",
    "@babel/core": "^7.12.10",
    "@babel/preset-env": "^7.12.11",
    "@ngtools/webpack": "^13.2.5",
    "@types/angular": "^1.6.57",
    "@types/bootstrap": "^4.5.0",
    "@types/chrome-apps": "0.0.13",
    "@types/file-saver": "^2.0.1",
    "@types/jasmine": "^3.6.5",
    "@types/jquery": "^3.5.1",
    "@types/jqueryui": "^1.12.10",
    "@types/node": "14.0.4",
    "@types/w3c-web-usb": "^1.0.4",
    "@typescript-eslint/eslint-plugin": "^5.14.0",
    "@typescript-eslint/parser": "^5.14.0",
    "babel-loader": "^8.2.2",
    "base-href-webpack-plugin": "^3.0.0",
    "bower": "1.8.8",
    "bower-art-resolver": "^2.0.0",
    "clean-webpack-plugin": "^3.0.0",
    "copy-dir": "^0.3.0",
    "copy-webpack-plugin": "^10.2.4",
    "cross-env": "^7.0.3",
    "css-loader": "^3.6.0",
    "css-to-string-loader": "^0.1.3",
    "dts-bundle": "^0.7.3",
    "eslint": "^8.10.0",
    "eslint-config-google": "^0.14.0",
    "eslint-webpack-plugin": "^3.1.1",
    "exports-loader": "^0.6.4",
    "expose-loader": "^3.0.0",
    "extend": "^3.0.2",
    "file-loader": "^5.0.2",
    "gettext-parser": "1.1.2",
    "html-loader": "^0.5.1",
    "html-webpack-plugin": "^5.5.0",
    "http-rewrite-middleware": "0.1.6",
    "imports-loader": "^0.7.1",
    "jasmine-core": "^3.7.1",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "^6.3.16",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage": "~2.0.3",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "^1.5.4",
    "karma-sabarivka-reporter": "^3.2.5",
    "less": "^4.1.0",
    "less-loader": "^6.2.0",
    "lint-staged": "^12.3.4",
    "mini-css-extract-plugin": "^2.5.3",
    "ng-mocks": "^11.10.1",
    "null-loader": "^0.1.1",
    "prettier": "^1.16.4",
    "raw-loader": "0.5.1",
    "script-loader": "^0.7.0",
    "shelljs": "^0.8.5",
    "string-replace-loader": "^3.0.0",
    "type-check": "^0.4.0",
    "typedoc": "^0.22.12",
    "typescript": "^4.3.5",
    "url-loader": "^3.0.0",
    "webpack-cli": "^4.9.2",
    "webpack-crx": "^1.0.7",
    "webpack-dev-middleware": "^3.7.2",
    "webpack-dev-server": "^4.7.4"
  }
}

webpack.config.js
module.exports = {
module: {
        rules: [
            {
               test: /\.less$/,
               use: [
                  "css-to-string-loader",
                  { loader: "css-loader", options: { sourceMap: true } },
                  { loader: "less-loader", options: { sourceMap: true } }
               ]
            }
        ]
    },
}

angular.json
{
   "$schema"<EMAIL_ADDRESS>   "cli": {
      "analytics": false
   },
   "version": 1,
   "newProjectRoot": "projects",
   "projects": {
      "html5": {
         "projectType": "application",
         "schematics": {
            "@schematics/angular:component": {
               "style": "css"
            }
         },
         "root": "projects/html5",
         "sourceRoot": "src/main/webapp/webclient",
         "prefix": "vmw",
         "architect": {
            "build": {
               "builder":"@angular-builders/custom-webpack:browser",
               "options": {
                  "customWebpackConfig": {
                     "path": "html5-access.webpack-config.js",
                     "replaceDuplicatePlugins": true
                  },
                  "outputPath": "target/web-build/webclient",
                  "index": "src/main/webapp/webclient/chrome-client/index.html",
                  "main": "src/main/webapp/webclient/chrome-client/resources/main.js",
                  "polyfills": "src/main/webapp/webclient/polyfills.ts",
                  "tsConfig": "tsconfig.app.json"
               },
               "configurations": {
                  "production": {
                     "fileReplacements": [
                        {
                           "replace": "src/main/webapp/webclient/titan/environments/environment.ts",
                           "with": "src/main/webapp/webclient/titan/environments/environment.prod.ts"
                        }
                     ],
                     "optimization": true,
                     "outputHashing": "none",
                     "sourceMap": false,
                     "namedChunks": false,
                     "extractLicenses": true,
                     "vendorChunk": false,
                     "buildOptimizer": true,
                     "budgets": [
                        {
                           "type": "initial",
                           "maximumWarning": "100mb",
                           "maximumError": "100mb"
                        },
                        {
                           "type": "anyComponentStyle",
                           "maximumWarning": "2kb",
                           "maximumError": "4kb"
                        }
                     ]
                  }
               }
            }
         }
      }
   },
   "defaultProject": "html5"
}

// is invalid CSS comments
Also you don't need css-to-string-loader, because css-loader supports https://github.com/webpack-contrib/css-loader#exporttype, just set string and don't use css-to-string-loader

// is invalid CSS comments
Also you don't need css-to-string-loader, because css-loader supports https://github.com/webpack-contrib/css-loader#exporttype, just set string and don't use css-to-string-loader

I removed css-to-string-loader and reconfigured rules, but still have the same reported error.
module.exports = {
module: {
        rules: [
            {
               test: /\.less$/,
               use: [
                  "style-loader",
                  { loader: "css-loader", options: { exportType: "css-style-sheet"  } },
                  { loader: "less-loader", options: { sourceMap: true } }
               ]
            }
        ]
    },
}

You can't use css-style-sheet and style-loader,please remove style-loader and set exportType: "string"

You can't use css-style-sheet and style-loader,please remove style-loader and set exportType: "string"

Thanks for you help, This is a great solution,


Allow/Support springdoc-openapi to pick up @ResponseStatus correctly

Hi,
I would like to request for this library to be compatible with springdoc-openapi, to be able to allow springdoc-openapi to pick up @ResponseStatus defined in the @ExceptionHandler. If this is already supported, please direct me on how it can be configured as I wasn't able to find it in the docs.
I do have a repo that described in details what is this about, and what I hoped for - See https://github.com/bwgjoseph/error-handling-spring-boot-openapi.
TLDR; By using this library, springdoc-openapi wasn't able to pick up @ResponseStatus correctly, as I no longer need to define @ControllerAdvice and @ExceptionHandler myself which is what this library provides.
Without this library, the error code are generated correctly

With this library, the error code are not being picked up correctly by springdoc-openapi (I'm guessing). Even though @ResponseStatus is defined in the exception class.
@ResponseStatus(HttpStatus.PAYLOAD_TOO_LARGE)
public class MyBusinessException extends RuntimeException {
    public MyBusinessException(String message) {
        super(message);
    }
}

Note that 413 is missing

Thank you!

That said, I don't think what you want is possible. The error handler in my library is a generic Exception handler, so I don't see how springdoc-openapi could know what exception is thrown from what controller method.

Actually, even without your library, springdoc-openapi doesn't know what exception is thrown from what controller method. Hence, it will by default add the response code to all the controller methods, across the entire project.
As mentioned in my repo, there's a way to do so, is to some kind of hint via @ControllerAdvice (like a filter)
@ControllerAdvice(basePackages = "com.bwgjoseph.error_handling_spring_boot_openapi.profile")

As such, I don't think your library needs to handle that as well. I only wanted to see if your library can even allow springdoc-openapi to pick up the hint (@ResponseStatus). Once that happens, I think there might be a way to provide some sort of customizer to filter to a particular controller methods for the exception (see https://stackoverflow.com/questions/70943125/spring-boot-openapi-restcontrolleradvice-not-limited-to-methods-throwing-the)

then I think you need to use the @ApiResponse

Yup, I'm familiar with that annotation, but I have over 300 APIs and writing all of them with the annotation will indeed help to generate the documentation correctly. I did not notice that it was not generated in the OpenApi documentation until someone highlighted it to me.
I still much prefer to use your library and let springdoc-openapi to pick up automatically, as though I'm writing the handler myself (rather the library doing it).
@ControllerAdvice
public class MyExceptionHandler {
    @ExceptionHandler(MyBusinessException.class)
    // this must be added in order for springdoc-openapi to automatically generate the response
    @ResponseStatus(HttpStatus.PAYLOAD_TOO_LARGE)
    public Error handle() {
        return new Error("1234", "null");
    }
}

Thank you


Add noise-checker for circuits.

Primary motivator is helping qsim determine which simulator mode (noiseless or noisy) to use for a given circuit. Possibly useful for other simulators with optimizations depending on circuit noise.
Question: is there a better name for this? I imagine channels / mixtures don't always represent noise - that's just the main case that we need this for on the qsim end.

Discussed offline: not enough evidence that this is a useful unique predicate to define for Circuit.


AM in Identity Cloud does not have OAuth2Provider Acceptible Audience Values set.

Not sure why as the initializer is deployed into the nightly namespace and should be initializing the identity cloud....

@jorgesanchezperez created #304 which will fix this


iOS AssemblyName gets messed up under certain circumstances

This error causes

build runs fine
dsym zipping will fail

Log output
/app.iOS/bin/iPhone/Debug//app_iOSapp.iOS.app.dSYM.zip /app.iOS/bin/iPhone/Debug//app_iOSapp.iOS.app.dSYM
[18:28:27]	[Step 5/6] [18:28:27]: ▸ zip warning: name not matched: /app.iOS/bin/iPhone/Debug//app_iOSapp.iOS.app.dSYM
[18:28:27]	[Step 5/6] [18:28:27]: ▸ zip error: Nothing to do! (try: zip -r /app.iOS/bin/iPhone/Debug//app_iOSapp.iOS.app.dSYM.zip . -i /app.iOS/bin/iPhone/Debug//app_iOSapp.iOS.app.dSYM)

Notice: through #14 the zipping should no longer fail, but the outcome is not as expected.

Stale issue, error not happened again.


Throw an exception when validation fails

Similar to https://github.com/beberlei/assert
It would be useful to throw an exception instead of returning a bool.
This could be an extra wrapper around the main module (eg: oslllo-validator-exception)

@madarco Sounds good, let me see what I can do.

@madarco here you go https://github.com/oslllo/validator-exception, tell me if its missing anything.

Thanks great thanks @Ghustavh97!

@madarco no problem.


[flare] add a permissions.log file into the flare archive

What does this PR do?
This PR adds a permissions.log file to the flare archive. As the files shipped in the flare archive are contained in a zip archive, we lost their permissions info of the original system. This file provide them.
Motivation
The permissions.log file was available in the agent v5 flare archive but not in the v6.
It could be used to diagnose permissions errors of the agent setup.
Additional Notes
There is a slight difference in the file format, the mode info were displayed as an octal number (e.g. 0644) while this version displays them like a ls -l output: -rw-r--r--
The complexity to display them as 0644 with the file type was ridiculous compared to calling the method for the latter display. Or maybe I've missed an obvious solution (see https://golang.org/src/os/types.go?#L65 for reference).
Note that this PR doesn't cover the Windows build.

Codecov Report

Merging #2707 into master will decrease coverage by 0.01%.
The diff coverage is 34.61%.

@@            Coverage Diff             @@
##           master    #2707      +/-   ##
==========================================
- Coverage    56.7%   56.69%   -0.02%
==========================================
  Files         380      380
  Lines       24141    24184      +43
==========================================
+ Hits        13689    13710      +21
- Misses       9536     9557      +21
- Partials      916      917       +1

Impacted Files
Coverage Δ

pkg/flare/archive_win.go
74.57% <100%> (+1.84%)
:arrow_up:

pkg/flare/archive.go
36.87% <11.76%> (-1.52%)
:arrow_down:

pkg/api/security/security.go
12.12% <60%> (+1.01%)
:arrow_up:

pkg/forwarder/transaction.go
82.9% <0%> (-2.57%)
:arrow_down:

pkg/forwarder/domain_forwarder.go
91.33% <0%> (-1.58%)
:arrow_down:

pkg/util/kubernetes/hpa/processor.go
86.76% <0%> (-0.38%)
:arrow_down:

pkg/config/config.go
82.54% <0%> (-0.28%)
:arrow_down:

pkg/util/kubernetes/hpa/hpa.go
100% <0%> (ø)
:arrow_up:

pkg/clusteragent/custommetrics/status.go
0% <0%> (ø)
:arrow_up:

pkg/status/health/health.go
91.46% <0%> (+0.67%)
:arrow_up:

... and 1 more


update for 1000 to 500 item

Coverage remained the same at 34.593% when pulling f61e34687933326c97722c8eecde110a61291fdb on AchmadSetiaji:dev into fd3430f96f8e0140dd46e9bf5b38566fc77eb1b3 on danliris:dev.


macOS release neardrop is missing .app

https://github.com/grishka/NearDrop/releases/download/v2.1.0/NearDrop.zip
should be
https://github.com/grishka/NearDrop/releases/download/v2.1.0/NearDrop.app.zip
so that brew install --no-quarantine grishka/grishka/neardrop works

Oops. Thanks for catching that.


Provider flag to output which checks are being ignored

Is your feature request related to a problem? Please describe.
Often checks are ignored where deemed appropriate. However, it is incumbent on the team reviewing the PR to catch which checks are being ignored. It would be great to have a flag that runs in CI which outputs which checks are ignored in a root module
Describe the solution you'd like
tfsec --list-ignored-checks would output a succinct list of which flags are being ignored
There could be a followup request here to allow users to provide an explanation when they ignore a check that would then be outputted as part of --list-ignored-checks

Although it is currently not part of TFsec ignore format, I tend to add a one line description after each ignore, like this:
# tfsec:ignore:aws-vpc-add-description-to-security-group-rule:exp:2022-03-01 - TODO: add description
# tfsec:ignore:aws-vpc-no-public-egress-sgr - False positive, this is by design
resource "aws_security_group_rule" "nodes_https_egress" {
  ...
}

Maybe TFsec should recognise free-form comments like that and output them.
Another useful feature would be to detect obsolete ignores, but that deserves a separate ticket (#1449).

Its perfectly valid for multiple ignores to be placed on the same line which makes free form comments error prone in the parsing. I would say its good practice to add a comment
I don't think it would be too much to add the --list-ignored-checks flag though

The --include-ignored flag now correctly includes all ignored checks without affecting the result of the scan. The new --no-ignores flag stops ignore rules having any effect, causing all previously ignored results to fail.


Add support for Pandora Android App

I would like the ability to scrobble songs from Pandora's android app. I didn't see an issue currently existing that covered this.
This is the original "issue" from the Google Code site, https://code.google.com/p/a-simple-lastfm-scrobbler/issues/detail?id=20

Pandora doesn't pass Now Playing information.  In fact, there's a thread from years ago on Pandora's support forum asking them to add scrobble support.  The general assumption is that they won't add support since that would make it easier for others to duplicate their algorithm.

Aww, yet they let you share your listening patterns out to Facebook. :-\

Rdio works though...
I am currently working on Spotify support, but I don't know how soon it will be added since @tgwizard hasn't been around for a long while.
Maybe they feel Facebook will help conceal their algorithm.
However somebody could try contacting the developers and see if they'll budge based on what @myano says and that Rdio and Spotify provide their intents openly.

I fired out an email to developer email requesting they share their intents.

Pandora respectfully declines, they have other plans to worry about,
but maybe there is still hope! (at least for Android 4.3+) ... kinda unfair to < 4.3
bhb192 commented on Nov 29, 2014

I was able to get SoundCloud track data from the notifications it posts by using the new notifications API introduced in Android 4.3 by pulling the extras android.title for the song and android.text for the artist. This also works with Pandora as another user reported but not iHeartRadio for some reason.

I don't think I'll be adding support for Pandora via this technique, but if somebody else wants to try it, go ahead!

Also, there are unofficial Pandora apps that exist that support scrobbling, such as Pithos, https://pithos.github.io/


Change handling of links to preserve ordering

NOTE To be reviewed by the Publishing API team.
Currently, the PATCH link_sets command works out the difference between the provided links payload and the links currently in the database for the link set concerned. Links are then created and/or deleted in the database to match the payload. This process does not preserve ordering, so new links are appended at the end of the link set.
This commit changes the command to delete all existing links in the database for the link set, and re-add all the links from the payload, thereby preserving the natural ordering in the payload. In addition, the ordering is also recorded in a new position field in the links table, to allow the ordering algorithm to be changed in future without affecting natural ordering.
All existing links in the database are given a position of zero to reflect the fact that they have no inherent order.
Trello: https://trello.com/c/LlO4fTIS/153-make-publishing-api-order-the-links-size-3-mazz
cc @kevindew

Looks good, nicely done 👍
I'll have a chat with our team about the idea of using activerecord-import and where we collectively stand on less queries vs validations/callbacks running.

@kevindew I think both of those can be done to some extent:

Validations can be run by amending the import code (https://github.com/zdennis/activerecord-import/wiki/Examples)

Callbacks can be run if we get an in-memory collection of ActiveRecord objects (https://github.com/zdennis/activerecord-import/wiki/Callbacks)

@rubenarakelyan looks good to me now, can we get one or two tests just to cover the position logic. Also can we update the docs?

@dougdroper I've updated the api.md file and also added a specific test for making sure the order is correct. I also updated an existing order to use eq instead of match_array so that the ordering is also checked.

Can you update the ordering in the linkset model too: https://github.com/alphagov/publishing-api/blob/e4a5ad165a7917441b598e0817d155154e4a14b8/app/models/link_set.rb#L2 ?

Is there any more work to do with the rendering to the content store? The expanded link set doesn't take into account any of the ordering (although it may be fine). Just wanted to know if that is part of this work.

@kevindew I've updated the link_set model to order by link_type and position. This is to keep links of the same type grouped together since the position is scoped to link_set_id then link_type.
@dougdroper Yes from discussing with @tijmenb I believe there is some work to do on the ordering of links when they are sent from the API to downstream consumers such as the Content Store. I think I'll need some more guidance on this though to work out what I need to change.

@rubenarakelyan great thanks for that.
Yeah I think you might have to dig into the fun recursive query for the downstream ordering which does sound well suited to a separate PR.

Oh another thing, not really a concern for you @rubenarakelyan but more not for Publishing Platform team.
I ran this migration locally and it took about 44seconds. Is this something we'll want to try deploy outside of a busy period? I think ALTER TABLE causes a write lock but I'm not certain.


Bug Report: Compiling Error

Hey! i have a problem. i want to make a mod for fnf like a gamer but when i want to compile the game i am getting this error
source/PlayState.hx:3379: characters 17-32 : Class<webm.WebmPlayer> has no field SKIP_STEP_LIMIT
C:/HaxeToolkit/haxe/lib/polymod/git/polymod/format/XMLMerge.hx:189: characters 10-23 : Warning : This typedef is deprecated in favor of haxe.xml.Access
C:/HaxeToolkit/haxe/lib/polymod/git/polymod/format/XMLMerge.hx:189: characters 30-43 : Warning : This typedef is deprecated in favor of haxe.xml.Access
anyone know how to fix it? please.
Information: Kade engine version: latest OS: Windows 10 64 bit Command: lime test windows -debug
please help me with this

Go to Playstate.hx, find the code (WebmPlayer.SKIP_STEP_LIMIT = 90;) at the line 3379 and delete it ! then save the hx file

OMG THANKS YOU ARE A GENIUS!


Is this a bug or am I a bug?

I don't know if this is a bug or I don't know how to query something that can not be in DB.
Example:
type Team struct {
	CreatedAt time.Time `bun:",nullzero,notnull,default:current_timestamp"`

	ID int `bun:",pk,autoincrement"`

	Description string
}

func Something(ctx context.Context, id int) (*Something, error) {
	var player Player

	var team *Team

	err := r.db.NewSelect().Model(&player).Where("?TableAlias.id = ?", options.PlayerID).Scan(ctx)
	if err != nil {
		return nil, fmt.Errorf("select player: %w", err)
	}

	err = r.db.NewSelect().Model(team).Where("?TableAlias.player_id = ?", options.PlayerID).Scan(ctx)
	if err != nil && !errors.Is(err, sql.ErrNoRows) {
		return nil, fmt.Errorf("select team: %w", err)
	}

	return &Something{
		Player: player,
		Team:  team, // I need a *Team here
	}, nil
}

If I use this code and the Team for this Player is not in DB I get this error:
ERR  error="select team: sql: Scan error on column index 0, name \"description\": bun: Model(nil)"
reflect: call of reflect.Value.Field on zero Value
...

If I use var team Team bun returns me a Team{ID: 0,...} which I think is not correct.
Is there a way to handle this situation?

You probably should replace var team *Team with team := new(Team).
You can also try Model(&team), but I am not sure that will always work...

I cannot try anymore because the code is changed. Can we write a test for this case? I think this is an interesting case.
Why team := new(Team) should be different from var team *Team? I mean is the same, right?

I cannot try anymore because the code is changed. Can we write a test for this case? I think this is an interesting case.
Why team := new(Team) should be different from var team *Team? I mean is the same, right?

Not really.  team := new(Team) equals to team := &Team{} which means allocate memory for the struct and return a pointer to it. But  var team *Team just declares variable, does not actually allocate any memory for the struct.

You're right. I'll re-open it for future issues about this. Thanks!


Switch build process to microbundle

Keeping up with the dependencies for building the package is starting to get tiresome.
Update build process to use Microbundle via:
https://github.com/ivandotv/microbundle-template

closed via eb6f81543bf3907653db48529a51437e10514c99


Make sure SV_ShadingRate appears on some reference page

Link to article:
It's a very old page, but maybe it belongs here
https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-semantics
Problem:
If you need to know how to use SV_ShadingRate your only option seems to be the public VRS spec or maybe the conceptual doc. I can't find a reference page.

A fix for this has been merged


about page

please add an "about" page and add the text from acdh-ch website there
https://www.oeaw.ac.at/de/acdh/projects/grocers-of-istanbul-tracing-food-consumption-grocerist
please ask our project partners to read and approve this text or to to come up with their own version

We made a few minor changes to this text when we submitted the German translation, so we'll send them the updated version


Recreating a bridge that is in the database leads to bad behavior (lxd init)

System Info

Distribution: zesty
Distribution version: latest
The output of "lxc info" or if that fails:

Kernel version: 4.10.0-13-generic
LXD version: 2.12-0ubuntu1
Storage backend in use: zfs

Issue description
Initializing lxd, deleting the created bridge on the system, and then reinitializing lxd leads to unexpected behavior. This started happening once the network subcommands were introduced.
Steps to reproduce

Run lxd init for the "first time" (or equivalent), accepting all the default options
Delete "lxdbr0" (ip link set lxdbr0 down && brctl delbr lxdbr0)
Run lxd init, attempting to accept all the default options

Expectation
lxd init should succeed, recreating the bridge and attaching it to the default profile.
Reality
lxd does create the bridge (surprise), but then complains that the bridge already exists because it's already in the database.
$ lxd init
...
What should the new bridge be called [default=lxdbr0]?
The requested network bridge "lxdbr0" already exists. Please choose another name.

This message is misleading, and it seems that the database should synced up with the actual state of the system.

For LXD itself the bridge is never really deleted from it's db which is fine since you didn't call lxc network delete lxdbr0 (At least not from what I can see here.). So LXD is right when it complains that the bridge exists when it tries to create it. @stgraber

As @brauner said, we don't support people going behind LXD's back and deleting devices. If you want to delete the bridge, use "lxc network delete".
In your case, should you have restarted LXD or altered any property of the bridge through "lxc network edit", you'd have seen LXD re-create the interface. The same is true of libvirt, networkd, ifupdown, NetworkManager, ... we're hardly a unique snowflake here and the error is absolutely correct in that "lxc network list" would have reported the bridge to exist.


Move RJ to normalizers

oy @Peter554 ! Can I move RJ to normalizers from the augmentors?

It depends if the RJ method is really a normalizer i.e. can it be implemented with a fit and transform method like the other normalisers?

Yes, you right - its just a stain deconvolution method. Not sure where to put it, what about moving rj to utils.rj_utils as I tried in this branch of my fork LINK, and then modified augmentors.Fetcher as such LINK
Let me know what you think boss!

Pull request #12 , please review

Merged :D


how do you install ignite 2?

i uninstalled the old ignite and run npm install ignite-cli -g but ignite is not recognized now

+1

+1

I'd say hang tight till this week.  Beta 1 incoming.

We're finishing up the docs and what needs to be in 2.0 - so soon!!!


Polyfills for Legacy Browsers

1⃣ Is this something that is wanted/needed? Did you create a feature-request issue first?
This is wanted in response to https://github.com/calebporzio/livewire/issues/119
2⃣ Does it contain multiple, unrelated changes? Please separate the PRs out.
no
3⃣ Does it include tests if possible? (Not a deal-breaker, just a nice-to-have)
nah
4⃣ Please include a thorough description of the feature/fix and reasons why it's useful.
There are several methods and objects that some legacy browsers don't support (Fetch/Promise, Array stuff, etc). This PR provides those polyfills and brings support for LW to those browsers.
5⃣ Thanks for contributing! 🙌
thank you for your contributions to Laravel community, assisting me with my first PR, and for being an overall solid dude ::high five::

Thanks for the great contribution @fakingfantastic!!

@all-contributors please add @fakingfantastic for maintenance


return '415 Unsupported Media Type' on unsupported Content-Type

From comparing the response behavior of rust-doh with doh-httpproxy it appears that rust-doh closes the connection instead of returning 415 Unsupported Media Type
when clients send an unsupported content-type.
Can you confirm that? What do you think about returning 415 in such cases?
thanks!

If the proxy gets hammered by what is obviously not a DoH client, but rather some random bot or scanner, I'd rather close the connection right away than stay polite so that it keeps trying even more.
That being said, there is apparently nothing in the code that checks the content type in the client request. Only the content itself.

In an environment with a frontend webserver (nginx) and multiple backends handling DoH requests, closing the connection directly instead of returning 415 actually increases unnecessary processing.
nginx will forward the request to the next backend if the first one simply terminated the connection without meaningful response code, instead of giving up after the first one.
This is illustrated by the following log example:
nginx log format: $status $upstream_status $upstream_addr
415 502, 502, 415 <IP_ADDRESS>:3000, <IP_ADDRESS>:3001, [::1]:8082

3000 and 3001 are rust-doh instances, 8082 is the backup only backend running doh-httpproxy.
It would be great if that would be configurable so I could tell rust-doh to return 415 and the request would not end up on 3 instances before it stops trying additional instances.
Thank you!

Can you try the current git code?

We upgraded to current git (217bb90320c65dfa828b3d381abca3c1f697eee0)
and run it for a short while before downgrading again.
Are you enforcing the presence of an accept header? RFC8484 does not say there "MUST" be one, right?

The DoH client SHOULD include an HTTP Accept request header field to indicate what type of content can be understood in response.

Accept: */*
should also be fine, no?

What do actual clients send?

Content-Type is now checked instead of Accept. But unlike Accept, there is no Content-Type for GET queries.

Enforcing something that is not a MUST in the specification will increase the error rate reduce interoperability unnecessarily, no?

IETF specifications come with a lot of bureaucracy. They take forever to write, are difficult to update, and are constantly behind the reality. This is blatantly true in the DNS world.
But verifying the Content-Type should be enough to avoid forwarding queries from non-DoH clients, so ignoring Accept is fine.

What is the motivation to reject requests that worked fine before?

Blocking junk as soon as possible in the chain. If a query doesn't come from a DoH client, don't waste time on it.

How do you know it does not come from a DoH client?

If it's expecting a HTML page as a response, it's very unlikely to be a DoH client :)

Why do you think it is expecting an HTML page?

Bots don't harvest web servers to get DNS responses.


chore: add lab sign config

This adds a definition for a "test" sign(s) set up in our office. Other than the unique IDs, the config is a copy of state_blue_mezzanine for now.
Reviewer Checklist

[x] Meets ticket's acceptance criteria
[x] Any new or changed functions have typespecs
[x] Tests were added for any new functionality (don't just rely on Codecov)
[x] This branch was deployed to the staging environment and is currently running with no unexpected increase in warnings, and no errors or crashes (compare on Splunk: staging vs. prod)

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1207677723099981

This has been running on dev overnight and does not seem to have encountered any issues, though all it's doing is sending an empty string for both lines — I assume this is because the "sign mode" that for a normal sign would be configured in signs_ui defaults to "off". This task didn't mention anything about setting up signs_ui to handle the lab sign, but I'm not sure if that's an intentional omission.


REST > OICP register/unregister/delete endpoints + doc

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: LucasBrazi06:white_check_mark: Ninjeneer:white_check_mark: ClaudeROSSI:x: Jérôme BenoitJérôme Benoit seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[FEATURE] JRTB-0: create Sketelon Spring boot project

Create skeleton Spring boot project for JRTB.
Acceptance criteria:

Spring boot project created.

Implemented in https://github.com/javarushcommunity/javarush-telegrambot/pull/14

Implemented in https://github.com/javarushcommunity/javarush-telegrambot/pull/14


rsync: fix missing ipv6 support

Description of changes
Added a patch to apply https://github.com/WayneD/rsync/pull/558.
Somehow aarch64-linux is okay:

https://hydra.nixos.org/build/242874385/nixlog/1256

While aarch64-darwin is not:

https://hydra.nixos.org/build/243173677/nixlog/1

I think it broke with clang-16:
ivan@vm:~/projects/rsync$ clang-15 -o derp -g -O2 -Wall -W derp.c
derp.c:4:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main()
^
int
1 warning generated.

ivan@vm:~/projects/rsync$ clang-16 -o derp -g -O2 -Wall -W derp.c
derp.c:4:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main()
^
int
1 error generated.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Can we gate it to just darwin and target master still or would it be still to big in terms of rebuilds?

Can we gate it to just darwin and target master still or would it be still to big in terms of rebuilds?

https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#changes-causing-mass-rebuilds says over 500 is considered a mass rebuild event, so seems like it needs to target staging regardless.

I asked GitHub to target staging + rebased and force pushed it. Same as always, there was a weird intermediate state with lots of unrelated changes that pulled many reviewers. I'm not sure if there's a proper way to do this in the same PR, but I'm happy to be pointed at the right docs for the next time.

I think that means you have to close this PR and try again.
https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#something-went-wrong-and-a-lot-of-people-were-pinged


builder for threebot

Make a builder for 3bot server and generate an flist

Implemented build, install, sandbox. Still working on the startup toml

fix at lua builder in sandbox: https://github.com/threefoldtech/jumpscaleX/commit/890e6db052de86efdbd03ead19985edb0a749fe2

add sonic sandbox: https://github.com/threefoldtech/jumpscaleX/commit/6421bd77307ff3d8c7cdd48be157723e00469714

add threebot builder at: https://github.com/threefoldtech/jumpscaleX/commit/fc9d3ecd84cb33876c8e5985e5f0ed53253de348
flist at: https://hub.grid.tf/hammam/threebot.flist.md
still working on the flist

add flist tweeks: https://github.com/threefoldtech/jumpscaleX/commit/30b7699a0636cbb590d133bdc5ca2372130f8a76

fixed jsx autobuilder at: https://github.com/threefoldtech/jumpscaleX/commit/cadbacf930abed80860504fc848661303a67c3d9 https://github.com/threefoldtech/jumpscaleX/commit/6017d90b6de9a637ca2469da8bd15a2ceece3818 https://github.com/threefoldtech/jumpscaleX/commit/cf05b8238e1011704271ab0b323e5fb18d517c12 https://github.com/threefoldtech/jumpscaleX/commit/ba631ba956c4bb83ebd150aa84b8c1769aa0aece

3bot builder at: https://github.com/threefoldtech/jumpscaleX/blob/development_jumpscale/Jumpscale/builders/apps/BuilderThreebot.py
generate flist at: https://hub.grid.tf/hammam/threebot_dev.flist, note you should wait for the flist to be deployed correctly, once it's done you have a ready 3bot container.
working on more tests for the flist and performance improvment

Am facing this error while testing theebot as below
JSX> j.servers.threebot.test()

no server running on /tmp/tmux-0/default
no server running need to start
++ '[' start == kill ']'
++ tmux -f /sandbox/cfg/.tmux.conf has-session
no server running on /tmp/tmux-0/default
++ '[' 1 -eq 1 ']'
++ echo 'no server running need to start'
++ tmux -f /sandbox/cfg/.tmux.conf new -s main -d 'bash --rcfile /sandbox/bin/env_tmux_detach.sh'
++ '[' start '!=' start ']'
main: 1 windows (created Sun Aug 18 14:14:19 2019) [80x24]
## .startupcmd.1
id: 2
name                : zdb
cmd_start           : zdb --listen <IP_ADDRESS> --port 9900 --mode seq --admin 123456 --protect
interpreter         : BASH
cmd_stop            :
debug               : False
path                : /sandbox/var/zdb/threebot/
env                 : {}
ports               :
    - 9,900
ports_udp           : []
timeout             : 10
process_strings     : []
process_strings_regex: []
pid                 : 0
executor            : TMUX
daemon              : True
hardkill            : False
state               : DOWN
corex_client_name   : default
corex_id            :

error               :
time_start          : 2019/08/18 14:14:23
time_refresh        : 2019/08/18 14:14:19
time_stop           : 2019/08/18 14:14:21

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/sandbox/lib/jumpscale/DigitalMe/servers/threebot/ThreeBotServersFactory.py", line 45, in test
    s.start()
  File "/sandbox/lib/jumpscale/DigitalMe/servers/threebot/ThreebotServer.py", line 45, in start
    j.servers.openresty.build()
  File "/sandbox/lib/jumpscale/DigitalMe/servers/openresty/OpenRestyFactory.py", line 42, in build
    j.sal.fs.copyDirTree("/sandbox/openresty/luarocks/bin/resty-auto-ssl/", "/bin", rsyncdelete=False)
  File "/sandbox/lib/jumpscale/Jumpscale/sal/fs/SystemFS.py", line 290, in copyDirTree
    rc, out, err = j.sal.process.execute(cmd, showout=showout)
  File "/sandbox/lib/jumpscale/Jumpscale/sal/process/SystemProcess.py", line 108, in execute
    replace=replace,
  File "/sandbox/lib/jumpscale/Jumpscale/core/InstallTools.py", line 1899, in execute
    raise Tools.exceptions.Base(msg)
Jumpscale.core.InstallTools.BaseJSException: {RED}EXCEPTION:

    Could not execute:    rsync --no-owner --no-group -rLt --partial  --exclude '*.egg-info/' --exclude '*.dist-info/'
        --exclude '*__pycache__/'
            '/sandbox/openresty/luarocks/bin/resty-auto-ssl/' '/bin' --verbose

    stdout:
        sending incremental file list

        sent 3,659 bytes  received 32 bytes  7,382.00 bytes/sec
        total size is 1,753,269  speedup is 475.01

    stderr:
        rsync: readlink_stat("/sandbox/openresty/luarocks/bin/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-
        ssl/resty-
            auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-
            ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-
        ssl/resty-
            auto-ssl/resty-auto-ssl/resty-auto-ssl") failed: Too many levels of symbolic links (40)
        rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]{RESET}

{RED}EXCEPTION:

    Could not execute:    rsync --no-owner --no-group -rLt --partial  --exclude '*.egg-info/' --exclude '*.dist-info/'
        --exclude '*__pycache__/'
            '/sandbox/openresty/luarocks/bin/resty-auto-ssl/' '/bin' --verbose

    stdout:
        sending incremental file list

        sent 3,659 bytes  received 32 bytes  7,382.00 bytes/sec
        total size is 1,753,269  speedup is 475.01

    stderr:
        rsync: readlink_stat("/sandbox/openresty/luarocks/bin/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-
        ssl/resty-
            auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-
            ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-ssl/resty-auto-
        ssl/resty-
            auto-ssl/resty-auto-ssl/resty-auto-ssl") failed: Too many levels of symbolic links (40)
        rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]{RESET}

js version

3BOTDEVEL:3bot:jumpscaleX: git log -1
commit 074d680e3e571388bb268facbb24fcd8d72b56e4 (HEAD -> development_jumpscale, origin/development_jumpscale)
Author: kristof de spiegeleer <>
Date:   Sun Aug 18 14:37:08 2019 +0200

    bug
3BOTDEVEL:


mklink not worked

Hi Roffild,
this great project, but i cant install it using mklink on my windows 7 pc. any solution with that?

May be
mklink /j "%APPDATA%\MetaQuotes" "D:\MQLProjects"

ok, that's work, thanks for advice... :)

hi Roffild,
Again, i found this :
D:\MQLProjects\RoffildLibrary\Indicators\Roffild\ToIndicator.mq5 - FAIL D:\MQLProjects\RoffildLibrary\Indicators\Roffild\ToIndicator.mqh - FAIL D:\MQLProjects\RoffildLibrary\Indicators\Roffild\ToIndicator_window.mq5 - FAIL D:\MQLProjects\RoffildLibrary\Scripts\Roffild\UnitTests\ArrayList_UnitTest.mq5 - FAIL D:\MQLProjects\RoffildLibrary\Scripts\Roffild\UnitTests\Log4MQL_UnitTest.mq5 - FAIL D:\MQLProjects\RoffildLibrary\Scripts\Roffild\UnitTests\MLPDataFile_UnitTest.mq5 - FAIL D:\MQLProjects\RoffildLibrary\Scripts\Roffild\UnitTests\Serialization_UnitTest.mq5 - FAIL Obtaining file:///D:/MQLProjects/RoffildLibrary/Include/Roffild/RoffildPython ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\\Users\\XRAY~1\\AppData\\Local\\Temp\\pip-req-tracker-4uo2lc8f\\834659a94ab542192abbdbd4d2eb990ccec1b423e11610d78a0a95e6'

The path is wrong.

(Important)
Run the create_links.bat from the MQL5\MyProjects\RoffildLibrary folder after cloning the project.

That is, create_links.bat should be in D:\MQLProjects\Terminal\D0E8209F77C8CF37AD8BF550E51FF075\MQL5\MyProjects\RoffildLibrary or in D:\MQLProjects\MQL5\MyProjects\RoffildLibrary if there is a link mklink /j D:\MQLProjects\MQL5 D:\MQLProjects\Terminal\D0E8209F77C8CF37AD8BF550E51FF075\MQL5
Where:
D0E8209F77C8CF37AD8BF550E51FF075 = md5(C:\Program Files\MetaTrader 5)
MyProjects = any folder name


Small but  powerfull library

The library is very small but powerful, and I hope that it will not stop developing.

Thanks!
Coding will go on as possible as I  can.

@lesismal
Thank very much


My space station is no longer orbiting any planet. Warp controller GUI not open-able, rocket cannot take off (destination unselectable)

My server admin recently added new planets or something and had to restore my space station from backup files. TL:DR, it is not orbiting any celestial body and any warping/travelling option seems to be unavailable. For the warp controller, GUI will not open on right click. For the rocket, cannot open select destination GUI.
As you can see, no planet is visible from the space station.

Can you check to see if errors are appearing in the log?

https://hastebin.com/sorocosesi.vbs

is there one with the rocket too?

https://hastebin.com/udefewafez.vbs
Rocket^
The modpack is running Advanced Rocketry V 1.1.4

I've done a bit of testing, the only way this is possible is if the station is put into orbit around a non existant planet.  I'll put a patch in that forces stations not in orbit around a valid planet to be migrated to earth.

I have this same issue on ftb interactions. I had to reinstall the pack, is there a way to force that orbit?


azure pipelines branding fix

@erickson-doug : Thanks for your contribution! The author, @rwike77, has been notified to review your proposed change.

Looks fine.  #sign-off


Not working with Java

atom-beautify will not beautify my Java file (below) in atom.
I get this error in atom.
spawn uncrustify ENOENT
Hide Stack Trace
Error: spawn uncrustify ENOENT
at exports._errnoException (util.js:734:11)
at Process.ChildProcess._handle.onexit (child_process.js:1035:32)
at child_process.js:1127:20
at process._tickCallback (node.js:357:13)
Java file
public class ConditionalStatements {
public static void main(String[] args) {
String olive = "Kalamata";

switch (olive.toLowerCase()) {
  case "kalamata":
    System.out.println("It's Greek");
    break;
  case "picholine":
    System.out.println("It's French");
    break;
  case "ligurio":
    System.out.println("It's Italian");
    break;

default:
    System.out.println("I do not know, location");
    break;
}

}
}
atom running on 64 bit Microsoft Windows 8.1 Pro
Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)] on win32
pip 7.0.3 from C:\tools\python2\lib\site-packages (python 2.7)

The language support is shown in the README: https://github.com/Glavin001/atom-beautify#language-support
For Java:

Java

Requires Uncrustify

Please confirm you have Uncrustify installed correctly first.
Then if you are still having problems please let me know and run Atom's command Atom Beautify - Help Debug Editor.

Let me know and this issue can be reopened if you are still having problems.


AE400 SDK with ROS

Hello there,
I have installed AE400 and built it from the given link.
https://github.com/lips-hci/ae400-realsense-sdk/releases/tag/AE400_v<IP_ADDRESS>_rs2.36.0
I have followed instructions from the below link:
https://github.com/lips-hci/ae400-realsense-sdk#installation-on-ubuntu-linux

This is the screen for my real sense-viewer working on 20.04 ubuntu.
https://github.com/IntelRealSense/realsense-ros
Now, when I am building ROS wrapper I am getting issues with version compatibility as the link in the above link has the latest version of real sense SDK and I think AE400 is still working on real sense 2.36. Can you please! help to solve it.

Hi Ranji,
You need to compile from source code in order to use the latest version of realsense SDK.
I did it successfully on Ubuntu 18.04, but not fully succeeded on Ubuntu 20.04.(not fully support for now)
I was able to run “capture” & “point-cloud” samples whereas “realsense-viewer” was not responding.
This means API works fine and the cause of viewer not responding is just UI compatibility or UI integrates lower level functionalities. ROS wrapper basically brings in RGBD streaming, so you can give a try.
Known issues:
realsense-viewer is hung or not responding when running v<IP_ADDRESS> with RS v2.45.0~2.49.0
(Ref: https://github.com/lips-hci/ae400-realsense-sdk)
** be cautious  of FW & SDK compatibility**

not fully succeeded on Ubuntu 20.04.(not fully support for now)

Can you please! tell us when the full proper functional SDK for ubuntu 20.04 will be ready? that will be fully compatible with the latest real sense versions?

You need to compile from source code in order to use the latest version of realsense SDK.

After compiling from source do I have to change in realsense files?
I think find_package(realsense2 2.50.0) https://github.com/IntelRealSense/realsense-ros/blob/development/realsense2_camera/CMakeLists.txt  I think we have to change this and If I am building with latest realsense-ros then It iw throwing me an error.


Re-implemented togglebookmark off using stack

Stack is used to know the relation between conditional block inside conditional block
If parent is toggle of, no child will have toggle off object

I have updated according to comments besides stack and generating inlines data. @AdamTombleson

fix updated to make toggle off in false case. @AdamTombleson

Ready to merge @p-mag


Navigate.To(By.LinkText) with multiple equal link texts

Hey! I have a question with Navigate.To<SomePage>(By.LinkText("linkText" ) .
In my web page there is a link with the same text to the same page both in the menu and in the footer.
I want to navigate to that page by the link that is in the footer not in the menu. I guess Navigate.To<SomePage>(By.LinkText("linkText" )  chooses the first link which is the menu link but how can I make it choose the other link?
If I had a code like this:
public void NavigateToSomePageByFooter()
        {
            var footerItems= Find.Element(By.ClassName("footer"));
            var footerItemToClick= footerItems.FindElement(By.LinkText("linkText"));
            footerItemToClick.Click();
        }

That would navigate me to the wanted page by footer link, but it would not return me the page. And Seleno does not allow returning new Page Object.
How can I navigate to page with multiple equal link texts?

Try return GetComponent();

On 5 Oct 2016, at 7:12 PM, happymonkey<EMAIL_ADDRESS>wrote:
Hey! I have a question with Navigate.To(By.LinkText("linkText" ) .
In my web page there is a link with the same text to the same page both in the menu and in the footer.
I want to navigate to that page by the link that is in the footer not in the menu. I guess Navigate.To(By.LinkText("linkText" ) chooses the first link which is the menu link but how can I make it choose the other link?
If I had a code like this:
public void NavigateToSomePageByFooter()
{
var footerItems= Find.Element(By.ClassName("footer"));
var footerItemToClick= footerItems.FindElement(By.LinkText("linkText"));
footerItemToClick.Click();
}
That would navigate me to the wanted page by footer link, but it would not return me the page. And it is not possible to just return new instance of that page. How can I do the same thing but also return the page?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok, thanks! That works.
So basically this Navigate.To<SomePage>(By.LinkText("linkText" ) does not allow to specify more?


[Feature request] Add configuration to extension for differente languages

The other day installed Julia and it added create new Julia file, which runs on nbdev. Then I just went to a nbdev project and added a new Julia notebook and it did output the file as .py file, but "it worked" no errors trhow.
So I think would be nice if the writing of files extensions could be handled from:

inside a jupyter notebook
from the main configuration

Sure, for compiled languages (which IIRC you can add to jupyter notebooks), people will still need to launch their compile process in the output directory... or maybe have a "build command" that is just launched after output of input files. But I think the first step would be to change the extension of files.
Why?
Well, there are lots of other languages who doesnt have a nice literate programming which help you keep in sync code and documentation.
If it add lots of issues on top of nbdev that is compatible with python, maybe not worth it to try to add "all possible languages", maybe only allow some little tweeks for similar envs to python which just require the extension maybe.

I'm not sure that we can try to make nbdev language agnostic, there are lots of features that are specific to python.  Perhaps you could use a subset of these features with other languages, but I'm not sure this is something we want to claim.
If someone is willing to share a working prototype with nbdev in another language, this would be a good conversation starter!
Closing this issue.  cc: @jph00


LDAP - Not Needing to Pre-Add Users

In our organization, we try to use AD as our single-source-of-truth as much as possible.
Given that the filter is customization, it would be great to add an option for LDAP auth which would allow any user matching filter (even if they don't yet exist) to login.

Hi @benyanke
What about using multiple user search configurations?
@ncresswell thoughts?

Are you saying that's a current solution, or a proposed solution? I'd be ok with that, if it's a future proposal.

I definitely see the value in the mode of operation as it currently exists, but especially if it's used for a larger place, it would be very nice to have it automatically create accounts behind the scenes on login if they don't exist already, allowing authentication to be handled completely by AD. Similarly, accounts disabled in AD would need to be disabled / deleted, in this scheme.
I've implemented AD auth on other apps I've written, so let me know if I can be of any help with this too. I've not worked on portainer, but there's a first time for everything

I thought we already do this with our auto-create user function?
I have a portainer instance with ldap enabled and no users; i can login to portainer with my ldap account just fine (and the user is auto created in portainer).
Are you using portainer 1.19.2?
Rgds,
Neil Cresswell
On 19/09/2018, at 2:01 AM, Ben Yanke <notifications<EMAIL_ADDRESS>wrote:
In our organization, we try to use AD as our single-source-of-truth as much as possible.
Given that the filter is customization, it would be great to add an option for LDAP auth which would allow any user matching filter (even if they don't yet exist) to login.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_2290&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=pVXuUnLULFS5E3Ta1iAp2gIqU80YTRz1heYshCAt8bU&s=PW_JltOex54GUu6YK12ZhVh1PUVFo9SwgwQJZ6mtdYY&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlY15JNw8X-2DV5af-5FlpFhiNYCOjO8gks5ucPyrgaJpZM4Wt-5FZZ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=pVXuUnLULFS5E3Ta1iAp2gIqU80YTRz1heYshCAt8bU&s=qOVNAbJp-qw5WTGPivRJEUwrS_0G-b0SVickWZ2qBcE&e=.

My apologies - I thought I had my containers auto-updating with watchtower. It looks like it's already done when I manually updated!


V1 editorial review

Rebranding

[x] need to create new github repo waci-didcomm - https://github.com/decentralized-identity/waci-didcomm
[x] preserve github history - https://github.com/decentralized-identity/waci-didcomm
[x] publish latest spec - https://identity.foundation/waci-didcomm/
[ ] redirect latest old spec to latest new spec
[ ] archive this repo after moving all issues to the new repo.

Editorial and Content Review
Review the sections of the spec, address any spelling, grammar or readability mistakes.

I will take the action to start the new repo / setup process.

@csuwildcat @bumblefudge we need to redirect from the latest "spec up" spec for this repo to https://identity.foundation/waci-didcomm/
How do we do this with spec up?

Hi,
The links for presentation exchange attachment format do not work.
In the protocol you say that<EMAIL_ADDRESS>and<EMAIL_ADDRESS>attachment formats can be used (first issue here: It should be only "definition" not "definitions" if you refer to https://github.com/hyperledger/aries-rfcs/blob/main/features/0510-dif-pres-exch-attach/README.md).
But anyway. The links do not work:  https://github.com/decentralized-identity/waci-didcomm/blob/main/0510-dif-pres-exch-attach/README.md#propose-presentation-attachment-format with site result 404.
So second issue, where should I find the documentation ?
In the url I can see you refer to Aries 0510 which I guess is more for DIDComm v1 not for the version 2. I googled it by myself, but I am not sure. Shouldn't the attachement format be in regards to Presentation Exchange 2.0? https://identity.foundation/presentation-exchange/#presentation-request

@csuwildcat @bumblefudge we need to redirect from the latest "spec up" spec for this repo to https://identity.foundation/waci-didcomm/
How do we do this with spec up?

I'm not sure this is a spec-up thing, because the routes are determined by GitHub pages and the repo structures.

would this work?
https://gist.github.com/domenic/1f286d415559b56d725bee51a62c24a7

would something like this work to make
i.f/waci-presentation-exchange/
-->
i.f/waci-didcomm/
? Happy to make the PR if so


Add all social media in website

Add all the social media link to the website
can I work on this issue under LGM-SOC21?

Hi, I am interested in working on this issue. I am a participant of LGMsoc'21. May I work under this repository?

@Yash-Sakre  pls assign me this issue.

can I work on this issue @Yash-Sakre


html auto-formatting: preserve my line breaks between attributes

VSCode Version: 1.9.0

The new html.format.wrapAttributes settings is nice, but can it be extended with an option to keep "manual" wrapping?
"html.format.wrapAttributes": "auto" condenses all attributes into one line (or multiple lines if max length is reached).
"html.format.wrapAttributes": "force|force-align|force-expand-multiline" inserts a line break between each attribute.
It would be nice to have an option of making your own line breaks between attributes where you feel it's best (but so that auto-formatter still indents, removes empty lines and extra spaces, inserts missing spaces, etc.).

We use jsbeautify as formatter. Please file the request there.

https://github.com/beautify-web/js-beautify/issues/1125


Allow for sorting apps by most recently used

Add buttons to app drawer to allow for sorting the list of apps by the most/least recently used as well as alphabetically.

TODO - Need to figure out how to deal with this in the "Customise Drawer" menu since right now the sorting in that drawer is affected.  Note that the "Customise Apps" menu is not affected since that code uses different app data.


[Bug] diagmat throws error when there is \sqrt used

\documentclass{article}
\usepackage{physics2}
\usephysicsmodule{diagmat}
\begin{document}
\[\pdiagmat{\sqrt{2},\sqrt{2}}\]
\end{document}

! Incomplete \iffalse; all text was ignored after line 5.
<inserted text>
                \fi
<*> test.tex

?

It takes time to fix. You can use \sqrtsign#1 or \root#1\of#2 instead of \sqrt before the next version is released.
In this version, the same error will arise when you put macros containing \@ifnextchar in the mandatory argument of \diagmat.

Fixed. See 058dddf.


Unable to locate package ros-humble-isaac-ros-unet

I tried to run the demo but I can't find package 'ros-humble-isaac-ros-unet' when installing at step 5 of the Quickstart, do you have any suggestions

with docker

Hi,
Could you confirm that everything that you're running is on the latest version? Could you also provide further details about what platform you're running on?

Hi,
Could you confirm that everything that you're running is on the latest version? Could you also provide further details about what platform you're running on?
Could you please run this command inside the container and let us know what the output is:
sudo apt policy ros-humble-isaac-ros-unet

The expected output is something like this:
  Installed: (none)
  Candidate: 2.1.0-0focal
  Version table:
     2.1.0-0focal 500
        500 https://isaac.download.nvidia.com/isaac-ros/ubuntu/main focal/main amd64 Packages

Thinks,I found out that the package and doc had been updated a few days ago, but my package was previously cloned.I solved the problem by deleting docker images and running the new 'run_dev.sh'.
Then I have a new question, do I need to build a new image every update.

You should only need to exit the container and run 'run_dev.sh' again which will download any new Docker image needed and launch a fresh container against it.
I get it,thinks.

Sorry for reopening this issue，I used a new computer and everything worked according to quickStart, but this problem reappeared. I dont understand.

Sorry for reopening this issue，I used a new computer and everything worked according to quickStart, but this problem reappeared. I dont understand.

Have you executed sudo apt update before?

No,I think it's not necessary,maybe. Because I tried to run run_dev.sh today,everything worked normally.  So weird,To ensure success each time, what should I pay attention to?

This is very strange indeed. Let us check whether that package itself is being appeared/disappeared from the manifest on the debian repository somehow. That seems suspect.


i9 and below multiple password issue

When you submit an empty form with multiple password inputs on ie9 and below, password inputs get filled in with the place holder text (except last one).
when you click on those inputs and enter text the text is visible and the placeholder text doesn't go away
Here's a video of the issue in ie9
http://screencast.com/t/gGoW01Ns3qW

@yangkennyk can't see the screenast as it's no longer available. Can you retest your case using v2.1.3?

Closing for lack of response.

didn't see the notification!
here's the video.
http://www.screencast.com/users/BlueLeverageMedia/folders/Snagit/media/59ef167d-b497-4cfa-b678-cba037867d32

although the bug may have been fixed here?
https://github.com/mathiasbynens/jquery-placeholder/issues/226


Booky clean up

Update of bookpurnong case history for release
A few details:

Removed old ugly pics
Simplified things
Added updated new pretty pics

Suggested reviewers:

[ ] @dougoldenburg
[ ] @lheagy

Correct me on the formatting if any.
Before merging: please run a spell check through your documents!

Great! I will add this back to the case history to the index so it shows up in the table of contents

There are a couple things that will need to be cleaned up before we can merge this pr - see the travis log https://travis-ci.org/ubcgif/em/builds/152518381

:)