[dart:js_interop] Introduce API for defining getters and setters.

Currently JS interop missing a good way to define getters and setters that would be available from JS side.
We have no Object.defineProperty function built-in. Even if we had such, currently it's very hacky and requires some workarounds (see this comment https://github.com/dart-lang/sdk/issues/54381#issuecomment-2208745412 ), which wont always work.
My actual use case is to implement feature detection code from following article: https://developer.chrome.com/docs/capabilities/web-apis/fetch-streaming-requests#feature_detection
That is:
const supportsRequestStreams = (() => {
  let duplexAccessed = false;

  const hasContentType = new Request('', {
    body: new ReadableStream(),
    method: 'POST',
    get duplex() {
      duplexAccessed = true;
      return 'half';
    },
  }).headers.has('Content-Type');

  return duplexAccessed && !hasContentType;
})();

As you can see this requires using a getter to check that property is accessed. While exactly this use can can be achieved without doing much of beforementioned workaround, there are still some issues.
Using a setter would requires somehow externally passing reference to the object. Meaning there's no good way to do something like this (example from MDN)
const language = {
  set current(name) {
    this.log.push(name);
  },
  log: [],
};

language.current = 'EN';
language.current = 'FA';

console.log(language.log);
// Expected output: Array ["EN", "FA"]

Mostly this issue is not about exposing Dart API as JS interface, but rather passing data to existing JS APIs.
I think to fix this:

Fix #54381 as it is a blocker
Introduce Object.defineProperty with idiomatic API in dart:js_interop_unsafe.

Here is my current defineProperty:

js_object_define_property.dart
import 'dart:js_interop';

// Workaround for #54381

@JS('Function')
external JSFunction _createDynamicJSFunctionUnsafe$1(JSString argument, JSString body);

final _captureThis = () {
  try {
    return _createDynamicJSFunctionUnsafe$1(
      'f'.toJS,
      'return function (...args) { return f.call(this, this, ...args); };'.toJS,
    );
  } catch(e) {
    return null;
  }
}();

JSFunction _tryCaptureThis$0<R extends JSAny?>(R Function(JSObject? context) f) {
  final jsF = f.toJS;
  if (_captureThis == null) {
    return (() => f(null)).toJS;
  }
  return _captureThis!.callAsFunction(_captureThis, jsF)! as JSFunction;
}

JSFunction _tryCaptureThis$1<R extends JSAny?, Arg1 extends JSAny?>(R Function(JSObject? context, Arg1 arg1) f) {
  final jsF = f.toJS;
  if (_captureThis == null) {
    return ((Arg1 arg1) => f(null, arg1)).toJS;
  }
  return _captureThis!.callAsFunction(_captureThis, jsF)! as JSFunction;
}

// Prototype code

@JS('Object.defineProperty')
external void defineProperty(JSObject object, JSStringOrJSSymbol property, JSPropertyDescriptor descriptor);

/// [JSString] and [JSSymbol] union type.
extension type JSStringOrJSSymbol._(JSAny _) implements JSAny {
  /// Wrap [JSString] to [JSStringOrJSSymbol] union.
  factory JSStringOrJSSymbol.fromJSString(JSString body) = _JSStringOrJSSymbolJSString;
  /// Wrap [JSSymbol] to [JSStringOrJSSymbol] union.
  factory JSStringOrJSSymbol.fromJSSymbol(JSSymbol body) = _JSStringOrJSSymbolJSSymbol;
}

extension type _JSStringOrJSSymbolJSString(JSString _) implements JSString, JSStringOrJSSymbol {}
extension type _JSStringOrJSSymbolJSSymbol(JSSymbol _) implements JSSymbol, JSStringOrJSSymbol {}

/// Conversions from [JSString] to [JSStringOrJSSymbol].
extension JSStringToJSStringOrJSSymbol on JSString {
  JSStringOrJSSymbol get toJSStringOrJSSymbol => _JSStringOrJSSymbolJSString(this);
}

/// Conversions from [JSSymbol] to [JSStringOrJSSymbol].
extension JSSymbolToJSStringOrJSSymbol on JSSymbol {
  JSStringOrJSSymbol get toJSStringOrJSSymbol => _JSStringOrJSSymbolJSSymbol(this);
}

/// Property descriptors present in objects come in two main flavors:
/// data descriptors and accessor descriptors.
/// A data descriptor is a property with a value that may or
/// may not be writable. An accessor descriptor is a property described by
/// a getter-setter pair of functions.
/// A descriptor must be one of these two flavors; it cannot be both.
extension type JSPropertyDescriptor._(JSObject _) implements JSObject {
  /// When this is set to `false`:
  /// * The type of this property cannot be changed between data property
  ///   and accessor property.
  /// * The property may not be deleted.
  /// * Other attributes of this property's descriptor cannot be changed
  ///   (however, if it's a data descriptor with `writable: true`,
  ///   the value can be changed, and `writable` can be changed to false).
  @JS()
  external final bool configurable; // Defaults to false.

  /// `true` if and only if this property shows up during enumeration
  /// of the properties on the corresponding object.
  @JS()
  external final bool enumerable; // Defaults to false.
}

/// A data descriptor includes key and value pairs that contain a property's
/// value, regardless of whether that value is writable, configurable,
/// or enumerable.
extension type JSDataDescriptor<T extends JSAny?>._(JSPropertyDescriptor _) implements JSPropertyDescriptor {
  /// Create new JavaScript property data descriptor.
  factory JSDataDescriptor({
    bool configurable = false,
    bool enumerable = false,
    bool writable = false,
    T? value,
  }) => JSDataDescriptor<T>._new(
    configurable: configurable,
    enumerable: enumerable,
    writable: writable,
    value: value,
  );

  @JS('')
  external factory JSDataDescriptor._new({
    bool configurable,
    bool enumerable,
    bool writable,
    T? value,
  });

  /// `true` if the value associated with the property may be changed with
  /// an assignment operator.
  @JS()
  external final bool writable; // Defaults to false.

  /// The value associated with the property. Can be any valid JavaScript value
  /// (number, object, function, etc.).
  @JS()
  external final T? value; // Defaults to undefined.
}

/// Accessor descriptors contain functions that execute when a property
/// is set, changed, or accessed.
extension type JSAccessorDescriptor<T extends JSAny?>._(JSPropertyDescriptor _) implements JSPropertyDescriptor {
  /// Create new JavaScript property accessor descriptor.
  factory JSAccessorDescriptor({
    bool configurable = false,
    bool enumerable = false,
    T Function(JSObject? context)? get,
    Null Function(JSObject? context, JSAny? value)? set,
  }) {
    final descriptor = JSAccessorDescriptor<T>._new(
      configurable: configurable,
      enumerable: enumerable,
    );
    if (get != null)
      descriptor.get = _tryCaptureThis$0<T>(get);
    if (set != null)
      // ignore: prefer_void_to_null
      descriptor.set = _tryCaptureThis$1<Null, JSAny?>(set);
    return descriptor;
  }

  @JS('')
  external factory JSAccessorDescriptor._new({
    bool configurable,
    bool enumerable,
    JSFunction? get,
    JSFunction? set,
  });

  /// A function which serves as a getter for the property, or `undefined` if
  /// there is no getter. When the property is accessed, this function
  /// is called without arguments and with `this` set to the object through
  /// which the property is accessed (this may not be the object on which
  /// the property is defined due to inheritance). The return value
  /// will be used as the value of the property.
  @JS()
  external JSFunction? get; // Defaults to undefined.

  /// A function which serves as a setter for the property, or `undefined` if
  /// there is no setter. When the property is assigned, this function
  /// is called with one argument (the value being assigned to the property)
  /// and with this set to the object through which the property is assigned.
  @JS()
  external JSFunction? set; // Defaults to undefined.
}

With that feature detection looks like this:
  final supportsRequestStreams = (){
    var duplexAccessed = false;
    final options = RequestOptions(
      method: 'POST',
      body: RequestBody.fromReadableStream(ReadableStream()),
    );
    defineProperty(
      options,
      'duplex'.toJS.toJSStringOrJSSymbol,
      JSAccessorDescriptor(
        get: (context) {
          duplexAccessed = true;
          return RequestDuplex.half.value.toJS;
        },
      ),
    );
    final hasContentType = Request('', options).headers.has('Content-Type');
    return duplexAccessed && !hasContentType;
  }();

I think toJSCaptureThis is essential either way, but this is useful to see one more motivation.
I'm hesitant to say we should add Object.defineProperty in dart:js_interop_unsafe. Beyond the fact that it's an "unsafe" API, it necessitates a separate definition for the descriptor and I'm not sure it will be used often enough to warrant its own definition. There's been general brainstorming about moving such APIs to package:web in a section that's specific to JS instead of the DOM - maybe that might be the place for this in the long-term.
Purely FYI - somewhat related to defining JS getters/setters is createJSInteropWrapper that wraps a Dart object in a JS wrapper with Dart getters and setters being called in JS getters and setters using Object.defineProperty. I can't tell if that is useful here or not.


Poliphony is not supported

Hi,
is my impression or if you receive a note on message the library wait for a note off?
Thanks,
Nick

sorry my mistake :-)

Nicola,
Thanks for your interest. I am curious, are you planning on using the
library? I have had very little time to work on hobbies lately and so it's
been some time since I looked at the library. However, your comments
inspired me to make more time for this!
Thanks
Tom
On Wed, Nov 10, 2021 at 2:21 AM Nicola Lunghi @.***>
wrote:

sorry my mistake :-)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mikromodular/libmidi/issues/5#issuecomment-964850697,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7G2LBPRS2O3Y57O75LF7DULIMRBANCNFSM5HXE2YMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


New Tutorial on SAC embbeded  filter parameters

New Tutorial on SAC embbeded  filter parameters

Sorry if there was some misunderstanding, but now you have a DONE button and a validate tag in the previous step :-)
You can only have 1 validate button -- either DONE or a question/validation.


XZM-319: Enable RTTI

Enabled RTTI compile switch, everything in .build folder is auto-generated according the new switch


[Bug Report] Remote Select cannot be used together with Google Japanese IME tool

Element UI version
2.2.0
OS/Browsers version
macOS - chrome
Vue version
2.5.21
Reproduction Link
https://jsfiddle.net/skmtko/v9rba81s/2/
Steps to reproduce

install Google IME tool (https://www.google.co.jp/ime/)
Use Google IME tool
Fill in the Select input form
I'll be suggested Predictive completion list
( The message “Select with tab key” is displayed below the list. )
click tab

screen shot at step 4

What is Expected?
I can usually select the next predictive completion by clicking on tab key.
But change focus to next item, so and I can't fill predictive transform
What is actually happening?
Clicking the tab key ignores the google IME prediction completion and fires the focus-out event.
Other form components ( Input, Textarea, etc. ) work as expected. This issue can only be reproduced with Select

I also have this problem. Anyone can help to answer with this?


[$500] Add markdown syntax for creating a new task

We want to create some syntax that will create a task when the following message is added to the composer
[] @jack This is the task name
Should create a task in the current room that:

Is assigned to jack
Has the title 'This is the task name'
The share destination would be the current report where this comment is posted

The assignee can be optional, in which case the command would look something like this
[] This is the task name
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013d0a874d62f021b7
Upwork Job ID:<PHONE_NUMBER>740421632
Last Price Increase: 2023-12-18
Automatic offers:

Ollyws | Reviewer | 28066406
suneox | Contributor | 28066407

Proposal
Please re-state the problem that we are trying to solve in this issue.
Add markdown syntax for creating a new task
What is the root cause of that problem?
This is a new feature
What changes do you think we should make in order to solve the problem?
To start, we would modify ReportActionCompose submitForm function to the following:
const submitForm = useCallback(
        (e) => {
            if (e) {
                e.preventDefault();
            }

            const newComment = composerRef.current.prepareCommentAndResetComposer();
            if (!newComment) {
                return;
            }

            const Taskregex = /^\[\]\s*(.+)/;
            const match = newComment.match(Taskregex);

            if (match && match[1]) {
                const TaskDetails = match[1];
                return onTriggerTaskCreation(TaskDetails);
            }

            onSubmit(newComment);
        },
        [onSubmit],
    );

What we are doing is we first use a regex that will look for [] at the start of the newComment text and if there is, it will be saved in match variable.
After that we check if that match in index[1] is not empty, and if it's not we assign it's value to TaskDetails constant and pass it to a new function onTriggerTaskCreation which will contain the following logic:
const onTriggerTaskCreation = useCallback((taskDetails) => {
    const assigneeRegex = /@([\S]+)/;
    const assigneeMatch = taskDetails.match(assigneeRegex);
    const assignee = assigneeMatch ? assigneeMatch[1] : '';
    let assigneeAccountID = 0;
    let assigneeChatReport = null;
    if (assignee) {
        const assigneeDetails = Object.values(personalDetails).find(entry => entry.login === assignee) || {};
        assigneeAccountID = assigneeDetails.accountID ?? 0;
        assigneeChatReport = assigneeDetails.assigneeChatReport ?? Task.setAssigneeValue(assignee, assigneeAccountID);
    }
    const title = assignee
        ? taskDetails.replace(`@${assignee}`, '').trim() || "Untitled Task"
        : taskDetails.trim();

    Task.createTaskAndNavigate(
        reportID,
        title,
        '',
        assignee,
        assigneeAccountID,
        assigneeChatReport,
        report.policyID,
    );
}, []);

The logic of the function works as follows:

const onTriggerTaskCreation = useCallback((taskDetails) => {
    const assigneeRegex = /@([\S]+)/;
    const assigneeMatch = taskDetails.match(assigneeRegex);
    const assignee = assigneeMatch ? assigneeMatch[1] : '';
    let assigneeAccountID = 0;
    let assigneeChatReport = null;
    if (assignee) {
        const assigneeDetails = Object.values(personalDetails).find(entry => entry.login === assignee) || {};
        assigneeAccountID = assigneeDetails.accountID ?? 0;
        assigneeChatReport = assigneeDetails.assigneeChatReport ?? Task.setAssigneeValue(assignee, assigneeAccountID);
    }
}, []);

In this part we are grabbing the first @ item and assign it to assignee, otherwise it will be empty since it's not required
If there is an assignee we need to access and retrieve it's assigneeAccountID and assigneeChatReport but if there is an assigneeAccountID but no assigneeChatReport then we need to create an optimistic report for it using Task.setAssigneeValue

    const title = assignee
        ? taskDetails.replace(`@${assignee}`, '').trim() || "Untitled Task"
        : taskDetails.trim();

    Task.createTaskAndNavigate(
        reportID,
        title,
        '',
        assignee,
        assigneeAccountID,
        assigneeChatReport,
        report.policyID,
    );
}, []);

In this section we are assigning a title, the logic is that if there is an assignee, we will filter it out and assign the rest of the text as a title
If there is no assignee, we will just assign the whole text to the title
If there is an assignee but no text after it, we will take the assignee and then give the title "Untitled Task" as a placeholder
After that's taken care of we can call Task.createTaskAndNavigate and create the task.

@Ollyws I think it should be on submit because otherwise the task could be created before the user is ready to create it

@Ollyws
It should only be created once the message is submitted

Sorry I dropped the ball on this. Assigned @suneox as the proposal looks good, the only thing I have doubts is the regex.

@Ollyws Are you able to get to this soon? If not we can assign another C+ to it

Looks good to me

@Ollyws - the previously issued offer expired. So I had to reissue an offer to pay you. It is here
@suneox is paid

@anmurali can we close this then?

@anmurali can you pay then?

Paid @Ollyws now.


Change Protobuf to encode hash values as bytes instead of string

We should consider dropping the hash algo from PackageRelease entirely. If it ended up being needed in the future it could be backward-compatibly added by specifying e.g. "if the algo isn't specified, use this log's init.hash_algorithm".

Withdrawing this proposed change. After discussions and code review, it isn't worth the effort to make the change.


Remove vertical bars in banner

It turns out many institutional logos are too wide to fit nicely into the branding banner as currently designed. Some logos (UCSD) can't be uploaded at all owing to incompatible aspect ratio. In the short term we should remove the two vertical bars separating banner from institution name and contact/URL.
Permanent solution is to redesign the branding banner to accommodate the large horizontal logos.

Recommendation is to:

Remove CSS pseudo-elements (they create the vertical bars
Introduce Flexbox to help align the logo/text/links sections of the header
Also add Flexbox to help with the layout of the footer and home page sections

Within the core Roadmap project:

Remove the logic that resizes org logos when uploaded
Add CSS media queries to properly size and hide/display the logo

removed vertical bars and restructured header per conversations with the UX team.
The org name is now on the left, the logo in the middle and links to the right (assuming all are present of course)

Also removed the logic that resizes the logos when uploaded. So far they appear to be a less fuzzy.
Added media queries as well. The branding menu is folded into the hamburger menu when viewed on a phone/tablet. If the user is associated to an org (if its not the 'Non Partner Institution') then the org name appears on the left side of the fixed menu when viewing from a mobile device, otherwise the DMPTool logo appears there

i think it looks good without vertical bars in both the top nav banner and org branding area.
but i think there needs to be some resizing logic (see giant carebear logo screenshot below)

the logo display size looks good for dmptool org logos in the banner. however, we should also display the uploaded org logo at the constrained size. currently i see a huge care bear on the Org details page (screenshot). please just make it the same size as the banner display @briri

looks good! i'll create an issue in roadmap repo. closing.


#145: Fix hashCode() nullPointerException

Looks good, thanks!

For sure fixed the issues on Slide, requests are noticeably faster as well!


add udev rules

these rules activate some drivers
and provide the first NIC as eth0 even if the MAC changes
(e.g. switching Pis with one SD Card)

For now tests are missing.


parser: Fix tidb issue 24439 Inconsistent error with MySQL for GRANT CREATE USER ON .*

What problem does this PR solve?
Fix mysql grant action compatibility
related to https://github.com/pingcap/tidb/issues/24439
related to https://github.com/pingcap/tidb/pull/24485
What is changed and how it works?
Add  StaticGlobalOnlyPrivs in privs.go
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to be included in the release note

/LGTM

@wshwsh12 PTAL  related to https://github.com/pingcap/tidb/pull/24485

/lgtm


Princess

Added a header to the Html code and added some style to the css.
Also, made the website responsive to mobile

Looks good, but you didn't work on the tablet view. Good work all in all.


feat: Implement the scheduler

Depends on #406

@turbo1912 @chamini2 short update:

Renamed Node to TaskGroup based on your feedback. I think that kind of covers its purpose (like multiple tasks grouped together).
Renamed NodeQueue to Scheduler (and removed references to node name under it, so renamed a couple other methods).
Added more explanation behind exit_node into the scheduler.
Removed _staged_nodes, it didn't provide enough value to stay. So based on your suggestions I also removed it.


Failed to read TClonesArray

Hello everyone,  I've been given a ROOT file and I need to extract some data to feed a model. I'm new to ROOT (CS background) and I can't get my head around this. This error appears when trying to convert a branch into an array:

In[50]: branch['fStations']['fStations.fPMTs'].array(entrystop=1)
Out[50]: <ObjectArray [[<Undefined (failed to read 'TClonesArray' version 65535) at 0x0001ade87510>, ...]

In[52]: b['fStations']['fStations.fPMTs'].interpretation
Out[52]: asgenobj(SimpleArray(TClonesArray))

I'm not sure if it's my bad or just that the library doesn't support TClonesArray type.
I'd appreciate any help.
Thank you so much!

I think we support TClonesArray if it is split (written with splitLevel=99 or otherwise larger than 2), but not if it's unsplit, as in this case (asgenobj).
As for the usefulness of the error message—it's attempting to read it because it found the streamer defining the byte-layout of your version of the TClonesArray class and it's attempting to use that information in an automated way. However, some of the basic ROOT types are not entirely regular, at least not in a way that we've fully solved the problem of automatic deserialization. (There might be a piece of information that makes the deserialization procedure derive directly from the streamer, but I don't know it.) For simpler, less central-to-the-ROOT framework classes, our interpretation of the streamer data works well.
Usually, the reason you want to make a TClonesArray, as opposed to a TObjArray, is so that the data can be split for efficiency, anyway. Alternatively, plain arrays and std::vectors are also quite regular and easy to deserialize (then it might depend on what's in the container).

Thank you for your early response @jpivarski !  Do you know if there is a way to convert from TClonesArray into a TObjArray? From ROOT/pyroot or from this module, I don't mind?
Thank you so much again!

Preferably, you'd want to write the data as simple arrays or std::vector, since TObjArray is another core ROOT container, which could be hard to deserialize. (To my knowledge, no one has tried it in uproot. But simple arrays and std::vector are used all the time.)
If you have control over how the data are written in the first place, that's the easiest way to change it. It might even work to just turn on splitLevel=99. But if you have to read from one file and write to another, it would be a standard ROOT event loop.
If you're doing that anyway and see an easy way to break the structures up into something closer to primitive types (numbers and arrays of numbers), then that not only improves the chances of successfully deserializing the data, but it can also make the deserialization much faster. The Awkward ObjectArray you're seeing in your output is an indication that uproot hasn't been able to "cast the data as NumPy arrays" and must instead generate Python code to walk over the data structures individually. The difference in rate can be a factor of 100 or so. CMS's NanoAOD has broken the data down to simple arrays of numbers, and this has been a "killer app" for uproot because the deserialization is not only easy, it's also fast. If you have control over your data structures, making them resemble NanoAOD or a "flat ntuple" can have major benefits.

I understand. I think the ROOT file is exported from Corsika, so I'm not sure if I can change the way it's created. What I can do is read that file and write another trying to change the types.
I appreciate your help so much,
Thank you again!

I'm assuming that I can close this now. Let me know if I'm wrong.


Update Jython to 2.7.2

Ghidra uses Jython 2.7.1 which was released in 2017.
Meanwhile Jython 2.7.2 is now available, released in March 2020.
https://www.jython.org/news.html

too bad it doesn't include python3.  Have you tried it yet? (do you know if it brings anything, feature or otherwise, that helps or breaks ghidra as is?)

https://github.com/jythontools/jython/blob/f77cc106afc4b0b61426ae4212c1e38d20ec942d/NEWS#L9-L154

Jython 2.7.2
  same as 2.7.2rc1

Jython 2.7.2rc1
  Bugs fixed
    - [ 2858 ] test_ssl failure due to embedding Bouncy Castle (doc change only)
    - [ GH-156 ] Race condition in PyStringMap keys method
    - [ 2862 ] Jython fails on Linux for normal user when installed by root

Jython 2.7.2b3
  Bugs fixed
    - [ 2810 ] NoSuchMethodError in test_jython_initializer (Java 10+)
    - [ 2808 ] lib2to3 test failures on Windows JDK 11
    - [ 2846 ] Main module __name __ is not "__main__" under Java Scripting API
    - [ 2828 ] Update netty JARs to 4.1.45
    - [ 2044 ] CVE-2013-2027 Current umask sets privileges of class files and cache
    - [ 2834 ] Import of Java classes is not thread safe
    - [ 2820 ] Import fails with UnicodeDecodeError if sys.path contains invalid UTF-8 bytes
    - [ 2826 ] Unicode hex string decode failure
    - [ 2836 ] Java Swing library works only in interactive jython session

Jython 2.7.2b2
  Bugs fixed
    - [ 2814 ] maven/build.xml does not PGP-sign the publication

Jython 2.7.2b1
  Bugs fixed
    - [ 2806 ] Installer contains dependencies unshaded (Java 8)
    - [ 2666 ] Oracle JDK 7 out of support so no longer available on Travis
    - [ 2294 ] Importation of modules from directories with non-ASCII characters fails
    - [ 2055 ] isinstance() and issubclass() fail with abc.ABCMeta
    - [ 2569 ] jython launcher fails on Windows if JAVA_HOME is set
    - [ 2505 ] PySystemState is lost
    - [ 2796 ] Request for oversize arrays not handled in BaseBytes and PyByteArray
    - [ 2730 ] datetime.strptime('%b') behaviour inconsistent with CPython on Windows JDK 9+
    - [ 2613 ] MANIFEST.MF contains unfilled placeholders
    - [ 2330 ] full-build fails to copy CPython License
    - [ 2651 ] Travis builds failing with *** buffer overflow detected ***
    - [ 2703 ] JycompileAntTask cannot find ...ant.taskdefs.MatchingTask
    - [ 2708 ] test_urllib2net fails (on Travis CI)
    - [ 2764 ] Readme is not displayed when using the GUI installer
    - [ 2345 ] Installing pip fails if JYTHON_HOME points to old installation
    - [ 2774 ] test_ssl failures from weak certificate
    - [ 2768 ] Allow bytearray + and += to accept buffer protocol objects
    - [ 2742 ] JARs for bouncycastle out of date (upgrade to 1.16)
    - [ 2762 ] Upgrade Apache commons-compress to 1.18
    - [ GH-108 ] Updates to JNR/JFFI to improve ARM HF support
    - [ 2445 ] Eclipse's DelegatingFeatureMap has MRO conflict (and IBM's MQQueue)
    - [ GH-121 ] Allow struct unpack and unpack_from bytearray and buffer
    - [ 2635 ] AST.lineno ignored by compile
    - [ 2744 ] Support buffer type in marshal.dump(s)
    - [ 2077 ] marshal doesn't raise error when fed unmarshalable object
    - [ 2732 ] Regression in large module support for pip
    - [ GH-131 ] Support Unicode in zxJDBC exceptions.
    - [ 2654 ] Imported modules allow access to submodules
    - [ 2362 ] Import * doesn't work on JDK9 for java.*, jdk.* namespaces
    - [ 2630 ] Cannot import java.awt.* on Java 9
    - [ 2663 ] Remove dependency on javax.xml.bind.DatatypeConverter
    - [ 2726 ] os.uname() throws IllegalArgumentException on Windows (Chinese localisation)
    - [ 2719 ] Divergence of __str__ and __repr__ from CPython
    - [ 2714 ] Locale and java version failures in test_os_jy
    - [ GH-111 ] Proper processing of gzip trailer without resubmission
    - [ 2231 ] __doc__ of PyString objects is always "The most base type"
    - [ 2230 ] Jython evaluation blocks under heavy load with high multi-core systems
    - [ 2506 ] ensurepip is reporting an error
    - [ 1609 ] Partial parsing does not work with function decorators
    - [ 2494 ] Support for pydoc_data
    - [ 2492 ] NPE for PythonInterpreter after new PyInteger
    - [ 2707 ] jython.py shebang line invalid on Linux
    - [ 1748 ] subprocess and os.system don't show output
    - [ 2343 ] PYTHONPATH is overwritten on Windows
    - [ 2346 ] Launcher not resilient to bad environment variable settings
    - [ 2709 ] test_chdir tolerates absent DOS 8.3 filename
    - [ 2706 ] Use python.path instead of JYTHONPATH
    - [ 2410 ] Regression in PySystemStateTest (leading slash)
    - [ 2639 ] Incorrect result when using != comparison against Java {List, Set, Map}
    - [ 2672 ] Integer formatting emits two minus signs with -2^31
    - [ 2688 ] ClassCastException when adding list of non-PyObjects
    - [ 2659 ] Determine console encoding without access violation (Java 9)
    - [ 2662 ] IllegalAccessException accessing public abstract method via PyReflectedFunction
    - [ 2501 ] JAVA_STACK doesn't work (fixed for Windows launcher only)
    - [ 1866 ] Parser does not have mismatch token error messages caught by BaseRecognizer
    - [ 1930 ] traceback raises exception in os.py
    - [ 2419 ] List expected failures by OS platform in regrtest.py
    - [ 2611 ] mkdir() operation in /Lib/os.py has different behavior when running in Docker container
    - [ 2655 ] __findattr__ is final (update documentation)
    - [ 2646 ] Test failure in test_os_jy after utf-8 decode
    - [ 2469 ] jython launcher fails on Windows if JAVA_HOME is set
    - [ 2650 ] Detail message is not set on PyException from PythonInterpreter
    - [ 2403 ] VerifyError when implementing interfaces containing default methods (Java 8)
    - [ 2715 ] Restrict array.array support for buffer protocol

  New Features
    - The main program behaves more like CPython in many small ways, including a more correct
      treatment of the -i option. This simplifies support, and may also make it unnecessary for
      users to work around differences from CPython.
    - python.startup registry property (and JYTHONSTARTUP environment variable) added.
    - Only the Jython command (class org.python.util.jython) now reads the environment variable
      JYTHONPATH, not the core runtime, and it respects the -E option (ignore environment). This
      change is for consistency with CPython and with our handling of other environment variables.
      A pure Java application that creates its own interpreter may use the system or registry
      key "python.path" to add to sys.path, as documented.
    - We no longer recommend overriding toString in PyObject sub-classes as a way of defining
      string forms. Override __repr__, and if necessary __str__, as is usual in Python. We
      recommend toString should return the same as __str__ (or __unicode__).
    - Experimentally, we use Gradle to build a JAR and POM that may be cited as a dependency by
      other projects. The Jython project would like to know if this is being done suitably
      for downstream use.
    - The registry setting (or Java property) "python.verbose", and direct use of the global
      org.python.core.Options.verbose are DEPRECATED: use a Java logging properties file instead.
      Console messages are now produced via java.util.logging (JUL), and the logger "org.python"
      or its descendants. The jython command configures a ConsoleLogger for "org.python" and by
      default a format for messages generally similar to that in v2.7.1, preceded by the logger
      name and JUL severity. The volume of messages is controlled by your logging preferences, but
      by default is unchanged from v2.7.1. Each -v option on the command line makes the logging
      one step finer on the JUL scale. Error messages from Python and stack traces are unaffected.
      When embedded in your application, Jython makes no logging configuration changes: messages
      from the "org.python" name space merge with those of your application.
    - There is much improved support for locale, but as a backward-incompatible change, it is
      provided as an opt-in. Define property python.locale.control=settable on the command line
      or via the Jython registry, to enable. This  may become the default in a later version.
    - The default location of the Jython package cache has moved from the installation directory
      to the current working directory and is called ".jython_cache". Previously, Jython installed
      system-wide either exposed the cache as world read-write (a security risk) or disabled it.
    - BouncyCastle SSL support is incomplete as bundled. The Jython JAR is not signed, and may not
      be trusted by your JVM as a security provider. This manifests as a PEMException: "Unable to
      create OpenSSL PBDKF: PBKDF-OpenSSL SecretKeyFactory not available" during certain
      operations. If this is a problem, place genuine BouncyCastle JARs on the class path, and
      Jython will use those in preference to the classes we include. The slim JAR is not affected.

Jython 2.7.2a1
  Bugs fixed
    - [ 2632 ] Handle unicode data appropriately in csv module
    - [ 2638 ] str not default-decoded in str-unicode operations
    - [ 2622 ] json dumps error (use of AbstractDict)
    - [ 2607, 2620 ] Error loading Python DLL (error code 14001)
    - [ 2612 ] NPE while trying to load class
    - [ 2609 ] PyType.fromClass publication race (discovered in strptime and re)
    - [ 2608 ] Encoding problems with non-ascii host name
    - [ 2599 ] Cannot handle network paths under Windows
    - [ 2600 ] subprocess doesn't have _args_from_interpreter_flags (blocks support for multiprocessing)
    - [ 2602 ] NumberFormatException in terminal on OSX 10.12.5 (ncurses related)

  New Features
    - Updated JLine to 2.14.5

Fixed by 2ef6a778b4d477657bc71b2ba44344df8d3cb2a1

Great! I think we can close this now.

Yes, feel free to close.


Add Policy Management Certificates APIs

Added support for the policy management family of APIs.
Completes Work item #3285 #3286
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[X] C++ Guidelines
[X] Doxygen docs
[X] Unit tests
[X] No unwanted commits/changes
[X] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[X] Comments in source
[X] No typos
[X] Update changelog
[X] Not work-in-progress
[X] External references or docs updated
[X] Self review of PR done
[X] Any breaking changes?

Ping :).

/check-enforcer evaluate


Correct Frontend Conf Zurich comment about profitability

This entry mentions Frontend Conference Zurich as a for profit event
Frontend Conf Zurich is a public, not-for-profit event. We see our conference as a community event and a great opportunity to meet and learn from brilliant people. That’s why we try to keep ticket prices a low as possible to make an event that is affordable for everyone. (Which is not too easy in one of the most expensive cities in the world.)
All the money we get is used to pay for the event expenses (e.g. travel and accommodation of our speakers, speakers honorarium, free food and snacks for our attendees, etc.) and as a basis for our next event. We're a team of web professionals that organizes these events in our spare (and unpaid) time.

It is possible to correct inaccurate entries but the process is manual. @kosamari is travelling at the moment but I'm sure she'll get on this as soon as she has time!

@matthiasmeier thanks for input & @alexbooker thanks for issue tracking !
Just updated database :)

Thank you for the website and the correction.


v1.12 install-app.sh not found

Hello,
In DD STDERR of STC ZWESVTC I have :
/SYSTEM/var/ZWE/inst_01/bin/install-app.sh: /var/ZWE/bin/utils/zowe-install-iframe-plugin.sh 97: FSUM7351 not found
Im' upgrading from 1.9 to 1.12
In 1.9 install-app.sh was in /var/ZWE/instance_dir/bin/
In 1.12, I look in all dir and subdir and don't find it

Issue moved to zowe/zlux #495 via ZenHub


Issues trying to use OSDP with an InnerRange Inception

I am attempting to use LibOSDP with an InnerRange Exception alarm system. I have compiled the library, with some changes onto the STM32 using the Arduino ecosystem.
The exact code I am running lives in the following repositories:
* https://github.com/vk2tds/libosdp_pd
* https://github.com/vk2tds/libosdp_arduino
The PD is configured in Install Mode (PD is in INSTALL_MODE)
The PD that I am creating has the ID number of 1. There is an existing device that has the ID number of 0. The full debug log can be found at the following link: (https://pastebin.com/6FgGWAar). Looking at the appropriate lines, it appears that a SC session is created, and then things stop working. Alas, I am not familiar enough with the internal workings of the protocol to know what should be going on.
OSDP: DEBUG: PD[1]: PD: CMD: CHLNG(76) REPLY: CCRYPT(76)
OSDP: DEBUG: PD[1]: PD: CMD: SCRYPT(77) REPLY: RMAC_I(78)
OSDP: WARN : PD[1]: PD: SC Active with SCBK-D
OSDP: DEBUG: PD[1]: PD: CMD: ID(61) REPLY: PDID(45)
OSDP: INFO : PD[1]: PD: PD SC session timeout!
OSDP: ERROR: PD[1]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[1]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[1]: PD: CMD receive error/timeout - err:-1

The pastebin was created using the following PD_CAP
      .function_code = OSDP_PD_CAP_COMMUNICATION_SECURITY,
      .compliance_level = 0, // Try 1 later
      // more doc/libosdp/secure-channel.rst
      .num_items = 0
    },

NOTE: I also tried with compliance_level=1. The capture can be found at https://pastebin.com/0guBD9zy
Any hints in getting this working would be appreciated. Thanks.

From the logs, the CP sent you a CMD_MFG:
OSDP: PD[1]: Received [1f] =>
    0000  ff 53 01 1e 00 0d 02 17  80 af 0b 8a 7d 2d d9 82  |.S..........}-..|
    0010  c7 df e0 2a 7c d4 b2 66  ce 32 38 ac d9 a7 fd     |...*|..f.28.... |
OSDP: CMD: MFG(80) [5] =>
    0000  80 00 11 b9 10                                    |.....           |

For which your PD replied with:
OSDP: PD[1]: Sent [f] =>
    0000  ff 53 81 0e 00 0d 02 16  40 19 69 28 fb 69 a2     |.S......@.i(.i. |

Both those are valid OSDP packets. After this, the CP did not send anything for at least OSDP_PD_SC_TIMEOUT_MS (which causes the secure channel session to timeout with the message "OSDP: INFO : PD[1]: PD: PD SC session timeout!").
After this, things get interesting, your PD thinks it sees the next command but that's just the last command sitting in your rx buffer without being removed plus the new command. (notice that the first 31 bytes are identical to CMD_MFG)
OSDP: PD[1]: Received [3f] =>
    0000  ff 53 01 1e 00 0d 02 17  80 af 0b 8a 7d 2d d9 82  |.S..........}-..|
    0010  c7 df e0 2a 7c d4 b2 66  ce 32 38 ac d9 a7 fd ff  |...*|..f.28.....|
    0020  53 01 1e 00 0d 02 17 80  af 0b 8a 7d 2d d9 82 c7  |S..........}-...|
    0030  df e0 2a 7c d4 b2 66 ce  32 38 ac d9 a7 fd ff     |..*|..f.28..... |

This caused LibOSDP PD to think that the CP is resending the same packet twice and that produces this error:
OSDP: ERROR: PD[1]: PHY: seq-repeat/reply-resend not supported!

Looks like you are causing this issue with your downstream changes. Can you remove any changes you made to pd_decode_packet() and report what errors you are seeing? In essence, what was the issue you faced that prompted you to patch pd_decode_packet()? -- that fix is not right and is causing this problem for you.
nit:

OSDP: PD: Setup complete - @PROJECT_NAME@-@PROJECT_VERSION@ @GIT_BRANCH@ (@GIT_TAG@)

You need to run ./configure which will produce the osdp_config.h which you need to include in your project. Looks like you are including osdp_config.h.in

That should fix the sequence mismatch issue (your SC would still timeout as that is due to the CP's inaction). Please redo your tests with this fix and let me know if that works for you.

Hi. You are NOT going to believe this. I THINK I have found what is going on.
From the alarms datasheet:
Inception also features an RS-485 OSDP reader bus, meaning that up
to 8 Inner Range SIFER smart card readers, or 8 Wiegand readers via
OSDP <> Wiegand converters, can be connected directly to the
controller to provide card access for both in and out directions for all
doors

This sounds all nice and logical. They want you to use their hardware on the device. So, I made contact with the vendor. Their response was as follows
The Inception does not support any 3rd Party OSDP readers, so only SIFER readers can be used on the RS485 Reader port – this is the same for both the controller itself, as well as any connected SLAMs. The only option available for using 3rd Party OSDP readers may be via the OSDP<>Wiegand converter connecting into the Weigand port of a SLAM.

Essentially, they have implemented an OSDP port that by designs only operates with a superset of the OSDP (0x40 MFG) protocol, and will not operate with third party devices.
I think what is happening is that the OSDP software on the alarm is getting confused by an actual OSDP device on the bus, crashing and restarting.
My next step is to look at writing a protocol decoder for OSDP. I have one of the manufacturers WIEGAND to OSDP converters. Assuming that I capture the entire transaction, including initial enrolment, I should be able to decode the entire transmission. This would allow me to see the MFG 0x40 packets and their responses. Once I decode these, I might be able to implement enough to talk OSDP to this device.
Once again, thanks for your help. I will keep you updated.

The Inception does not support any 3rd Party OSDP readers, so only SIFER readers can be used on the RS485 Reader port

This doesn't make any sense to me at all :). If the idea is to have vendor locked devices, then why take the trouble of implementing OSPD - a protocol meant to promote interoperability - in the first place? For their sake, I hope this response is from a tech support engineer who doesn't know what he is taking about.

My next step is to look at writing a protocol decoder for OSDP.

This is a nice idea; but you may have some trouble due to secure channel but that can be overcome easily.

To be honest, I have a feeling that they want to leverage OSDP, but have commercial lock in. This is for their 'lower end' product. Their more expensive one does more explicitly support OSDP. Anyway, I have followed up and will report anything I get back.
I have started with the decoder, and am making progress. As the PD is not locked down, it appears to do a key exchange on power up, meaning that I can capture CMD_CHLNG/REPLY_CCRYPT/CMD_SCRYPT/REPLY_RMAC_I. I am now working through the libosdp code to see how to decode packets. I am getting there with that, but I think it will be a task for another day.


minified version use requires: 'ngModel' will cause an issue with checkbox

Need to change requires: 'ngModel' to requires: '?ngModel' in the minified version, otherwise will cause this issue https://github.com/angular/angular.js/issues/7062 .

The fix for this should be released in version 0.0.4.


Fix: update AccountInfo schema

Closes #278
The API response were not considered valid since the possible names in 'plan' did not include the name 'ENTERPRISE' in the validation. In addition the 'serviceID' in 'currentMonthCosts' did not include 'AGPS' in the validation.
'currentMonthCosts' and 'name' is not used in the code, and is removed from the validation.

Thanks!


COMP: Fix configuration against ITK>=5.4

Update CMake minimum required version to match Slicer requirement and fix the following error:
CMake Error at /work/Preview/Slicer-0-build/ITK-build/ITKConfig.cmake:90 (if):
  if given arguments:

    "ITK_FIND_REQUIRED_ITKIOImageBase" "OR" "M" "IN_LIST" "ITK_MODULES_ENABLED"

  Unknown arguments specified
Call Stack (most recent call first):
  AADImageFilter/CMakeLists.txt:21 (find_package)

Email sent on June 17th 2024 to @lassoan  with @sjh26 in cc:
Subject: Review & merge https://github.com/lassoan/AnomalousFiltersExtension/pull/3

Hi Andras,

When you have a moment, could you review and integrate the following pull request ?

See https://github.com/lassoan/AnomalousFiltersExtension/pull/3

Thanks
J-Christophe


checkpatch.pl doesn't match the vendor string properly

Describe the bug
checkpatch.pl will complain that the vendor string is not documented, although this is not the case
Due to the slight difference between the vendor-prefixes.yaml from Linux and vendor-prefix
To Reproduce
Steps to reproduce the behavior:

./scripts/checkpatch.pl -f ./dts/arm/nxp/nxp_kw41z.dtsi
Notice the WARNING:UNDOCUMENTED_DT_STRING: warnings for all the vendors that are in the specific checked file.
But looking into the vendor-prefixes.txt file, you can see both  ARM as well as NXP

Expected behavior
No warning reported
Impact
Annoyance
Screenshots or console output
dts/arm/nxp/nxp_kw41z.dtsi:40: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string vendor "arm" appears un-documented -- check ./dts/bindings/vendor-prefixes.txt
#40: FILE: dts/arm/nxp/nxp_kw41z.dtsi:40:
+			compatible = "arm,cortex-m0+";

dts/arm/nxp/nxp_kw41z.dtsi:52: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nxp,kw41z-mcg" appears un-documented -- check ./dts/bindings/
#52: FILE: dts/arm/nxp/nxp_kw41z.dtsi:52:
+			compatible = "nxp,kw41z-mcg";

dts/arm/nxp/nxp_kw41z.dtsi:52: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string vendor "nxp" appears un-documented -- check ./dts/bindings/vendor-prefixes.txt
...

Environment (please complete the following information):

OS: Ubuntu 18.04 LTS
Toolchain: Zephyr SDK
Commit SHA: 2d9baf97f9fbda8cdd3eb05a82b505333c196cf9

Additional context
This issue seems to stem from the different format for vendor-prefixes.txt in Zephyr versus vendor-prefixes.yaml in Linux. The commit 5b10fac97efdb444b49f5e3c3ac16048ce8661c6 inadvertently replaces the check with the one from Linux.

There is already a PR that fixes this:

There is already a PR that fixes this:
#24959

Right, I missed that. I'll close this one (and the corresponding PR)


docs: remove terraformrc setup

I'm not clear on what this change means. Users no longer define a build directory? Drop the entire Create a cluster build directory section? If so, do they still edit the terraform.tfvars file? and what does tectonic_cluster_name become?

Sorry, @zbwright I might have rushed this proposal to remove it.
I noticed now that we have some command examples further down that reference it. They are more convenient to copy-paste verbatim if we keep the instructions to export CLUSTER.
Sorry for causing confusion. Let's keep it in there.
One more thought - in this document we should have a new paragraph before the "Deploy the cluster" one where we document the need to run terraform init. I'd call it something like "Initialize Terraform" and the command example should look like the one we had for get but with init instead of get.

@alexsomesan no problem at all.

@alexsomesan one more "approve" and we can merge. are we good now?


Changes to save by location correctly.

This does:

fixes issue where linked locations where saved in the first location folder.  Now saved in appropriate location
now saves in ...\saves\ce\location and ...\saves\ce\campaign to avoid name clashes and any possible clash with TA future implementation

Not ready for merge


Error message for stack components of uninstalled integrations

Describe changes
This PR is an alternative to this one. While it is much cleaner in terms of implementation, it will not account for materializers, steps, etc. The error will only be displayed for stack components that can not be imported.
Pre-requisites
Please ensure you have done the following:

[X] I have read the CONTRIBUTING.md document.
[X] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[X] I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.
[X] If my changes require changes to the dashboard, these changes are communicated/requested.

Types of changes

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

@htahir1 I took your suggestion to print a proper pip install message on top of the zenml integration install message as well.


Could you share your kitty.conf file?

It seems that you use Kitty as your terminal. Could you share the kitty.conf? As I know, only Kitty works perfect with ident-blankline.nvim (with modify_font). Thanks very much.

https://gist.github.com/ofseed/51e7f5b6bafee31bf8574a644662bb2e

Thanks! Glory glory Halleluja!


Updated compatibility

The old version of multMPO didn't work if you had a test case like the one I added. Now it should for both the original style and this new one.

Does this entirely replace  #143?

Yes.

Ok, I will merge this and we can open up some issues for cleaning up plussers and multMPO.


Node Microphone Stream with Annyang Node

Would this Microphone-Stream work with the Node version of Annyang?
If so then this may be a way to get around the beeping on mobile.

No. annyang was not built to work with any other APIs except the browser's speech recognition.

I built a node speech rec with a stream to work everywhere: https://github.com/vin-ni/Google-Cloud-Speech-Node-Socket-Playground


No silence between sentences

When I run piper I get output that doesn't have any gaps between sentences.
echo "Hi there! How are things? There awas a princess and she lived in a castle. She was a pretty princess. A lot of knights wanted to steal her heart, but there was a big obstacle in their way: a dragon. The dragon was big and strong. He ate all of the knights. End." | ./piper --model /home/hubert/Pobrane/en_US-amy-medium.onnx --output_file hello.wav

See attached output wav for result (zipped b/c GitHub won't allow me to upload Wav).
hello.zip
I have tried passing --silence_seconds 1, this had no effect. Looking through source code, I found that maybe it's --sentence_silence https://github.com/rhasspy/piper/blob/c00ffd33340afa417d69760dc2c92c73dacef5c8/src/cpp/main.cpp#L453C24-L453C42 but it didn't work either.
This is actually not a problem for me, because I already divide the text into sentences before running it through piper, but it probably needs fixing

Actually I am testing it now and --sentence_silence works. So I think the only problem is that help screen lists is as --silence_seconds

This has been fixed in 1.2.0. Additionally, you can now modify the silence after any phoneme (including punctuation like commas).

Additionally, you can now modify the silence after any phoneme (including punctuation like commas).

How is this done?

Additionally, you can now modify the silence after any phoneme (including punctuation like commas).

How is this done?

They forgot to add this to the --help menu, but the option is --phoneme-silence <phoneme> <seconds>


Missing Terminate method in  Illuminate\Contracts\Foundation\Application

As we noticed with @joanlopez
In the __constructor method of the class Illuminate\Foundation\Console\Kernel we inject an \Illuminate\Contracts\Foundation\Application.
Then in the line 149, we call the $this->app->terminate() but this is not defined in the interface. So, if someone need to change this implementation and forget to implement the terminate() method, this would crash.
Thanks ;)

Thanks for the heads up. Please feel free to send a PR to master, and Taylor will review it. :)


Configure danger to help the PRs that only update the versioned documentation

Expected Behavior
When someone does a change in the versioned documentation they should also change the not versioned one.
Current Behavior
There is no way a contributor could know that.
Proposed solution
Configure danger so it adds a comment to inform about this with a proper explanation. A link to which file should be also modified would be great.
I'm not sure if possible but, if we could try to apply the diff to the not versioned one and it does not have conflicts add it as a suggestion would be really neat! This way a maintainer could just click to merge it and close the issue faster.

When someone does a change in the versioned documentation they should also change the not versioned one.

Have you noticed this happening? Do you have a link to the PR where this happened?

Here you have 3 instaces of these:
https://github.com/detekt/detekt/pull/6226#discussion_r1232408253
https://github.com/detekt/detekt/pull/6166#issuecomment-1568292024
https://github.com/detekt/detekt/pull/6016#issuecomment-1516141630

Here you have 3 instaces of these: #6226 (comment) #6166 (comment) #6016 (comment)

Thanks for referencing. I've implemented it here: https://github.com/detekt/detekt/pull/6412
Hopefully this will catch most of the invalid scenarios


added add_experiments GUI

This is the Add Experiment GUI related to Issue #36.

I have created a simple HTML form in add_experiment.html file which takes the input data such as experiment name etc. and sends it to the back end.
In the back end, the data is put into a temporary CSV file in proper format and that the CSV file is sent to the database using client API.
And then the temporary file is deleted

@yuvrajdalia could you please add instructions for how I can run and evaluate the GUI?

Closing b/c no longer required, per https://github.com/PecanProject/BETYdb-YABA/issues/36


PCKS12 cert not able to be referenced

Environment

Application Services Version:  3.20.0
BIG-IP Version:  15.0.1

Summary
A PCKS12 (.pfx) cert added via AS3 is not able to be referenced.
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration:

{
    "class": "ADC",
    "schemaVersion": "3.20.0",
    "id": "test",
    "test": {
        "class": "Tenant",
        "Shared": {
            "class": "Application",
            "template": "shared",
            "service": {
                "class": "Service_HTTPS",
                "virtualAddresses": [
                    "<IP_ADDRESS>"
                ],
                "clientTLS": "tlsClient",
                "serverTLS": "tlsServer",
                "virtualPort": 443
            },
            "tlsServer": {
                "class": "TLS_Server",
                "certificates": [
                    {
                        "certificate": "cert"
                    }
                ]
            },
            "tlsClient": {
                "class": "TLS_Client",
                "forwardProxyEnabled": true
            },
            "cert": {
                "class": "Certificate",
                "passphrase": {
                    "ciphertext": "<BASE64_ENCODED_PASSPHRASE>",
                    "protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJub25lIn0",
                    "ignoreChanges": true
                },
                "pkcs12": {
                    "base64": "<BASE64_ENCODED_FILE>"
                }
            }
        }
    }
}

Observe the following error response:

{
    "code": 422,
    "message":"java.net.ProtocolException: status:422, body:{\"results\":[{\"code\":422,\"message\":\"declaration failed\",\"response\":\"01070277:3: The requested certificate (/test/Shared/cert.crt) was not found.\",\"host\":\"localhost\",\"tenant\":\"test\",\"runTime\":2663}],\"declaration\":{\"test\":{\"class\":\"Tenant\",\"Shared\":{\"class\":\"Application\",\"template\":\"shared\",\"cert\":{\"class\":\"Certificate\",\"passphrase\":{\"ciphertext\":\"<SANITIZED>\",\"protected\":\"eyJhbGciOiJkaXIiLCJlbmMiOiJmNXN2In0=\",\"ignoreChanges\":true,\"miniJWE\":true},\"pkcs12\":{\"base64\":\"<SANITIZED>

Expected Behavior
All objects should be created
Actual Behavior
I get the above error.  The issue is not the cert either - if I water the declaration down to only the cert it gets imported without issue.

Thank you for reporting this bug. I have confirmed the bug and added it to our internal product backlog as AUTOTOOL-1665.

It looks like when I reproduced this bug, I mistook a similar error message for the one being reported here. I received an error because the pkcs12 data I was using did not contain a key. We have been unable to reproduce this with valid pkcs12 data. Have you confirmed that both a certificate and key are present in your pkcs12 data?

Yes.  And to reiterate, if I remove the 'tlsServer' section of the above declaration, the certs and key get imported just fine.  See below for error vs good declaration (watered it down even more here).  When I login after applying the good declaration I can see the cert and key imported just as they should.  I can even at this point manually create an SSL profile referencing it.
Also, I don't know if it makes a difference but I'm doing this against LTMs in Azure.
Errored declaration:
{     "class": "ADC",     "schemaVersion": "3.20.0",     "id": "test",     "test": {         "class": "Tenant",         "Shared": {             "class": "Application",             "template": "shared",             "tlsServer": {                 "class": "TLS_Server",                 "certificates": [                     {                         "certificate": "cert"                     }                 ]             },             "cert": {                 "class": "Certificate",                 "passphrase": {                     "ciphertext": "SANITIZED",                     "protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJub25lIn0",                     "ignoreChanges": true                 },                 "pkcs12": {                     "base64": "SANITIZED"                 }             }         }     } }
Errored response:
{     "results": [         {             "code": 422,             "message": "declaration failed",             "response": "01070277:3: The requested certificate (/test/Shared/cert.crt) was not found.",             "host": "localhost",             "tenant": "test",             "runTime": 2654         }     ],     "declaration": {         "class": "ADC",         "schemaVersion": "3.20.0",         "id": "test",         "updateMode": "selective",         "controls": {             "archiveTimestamp": "2020-07-23T18:20:05.050Z"         }     },     "code": 422 }
Good declaration:
{     "class": "ADC",     "schemaVersion": "3.20.0",     "id": "test",     "test": {         "class": "Tenant",         "Shared": {             "class": "Application",             "template": "shared",             "cert": {                 "class": "Certificate",                 "passphrase": {                     "ciphertext": "SANITIZED",                     "protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJub25lIn0",                     "ignoreChanges": true                 },                 "pkcs12": {                     "base64": "SANITIZED"                 }             }         }     } }
Good Response:
{     "results": [         {             "code": 200,             "message": "success",             "lineCount": 22,             "host": "localhost",             "tenant": "test",             "runTime": 2566         }     ],     "declaration": {         "class": "ADC",         "schemaVersion": "3.20.0",         "id": "test",         "test": {             "class": "Tenant",             "Shared": {                 "class": "Application",                 "template": "shared",                 "cert": {                     "class": "Certificate",                     "passphrase": {                         "ciphertext": "SANITIZED",                         "protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJmNXN2In0=",                         "ignoreChanges": true,                         "miniJWE": true                     },                     "pkcs12": {                         "base64": "SANITIZED"                     }                 }             }         },         "updateMode": "selective",         "controls": {             "archiveTimestamp": "2020-07-23T18:21:03.550Z"         }     } }

I'll also note that since opening this ticket, I've burned down the LTM I originally tested this on, and rebuilt it on code <IP_ADDRESS>.  AS3 version is still the same.

I generated a certificate, key, and a combined pkcs12 file with a passphrase of "password". I then used those successfully in the simple declaration below. I believe something is wrong with your pkcs12 input.
{
    "class": "ADC",
    "schemaVersion": "3.20.0",
    "id": "test",
    "test": {
        "class": "Tenant",
        "Shared": {
            "class": "Application",
            "template": "shared",
            "tlsServer": {
                "class": "TLS_Server",
                "certificates": [
                    {
                        "certificate": "cert"
                    }
                ]
            },
            "cert": {
                "class": "Certificate",
                "passphrase": {
                    "ciphertext": "cGFzc3dvcmQ="
                },
                "pkcs12": {
                    "base64": "[encoded data, 5532 characters]"
                }
            }
        }
    }
}

Closing this issue for inactivity.

I'd like to reopen this issue as i faced the same problem.
copy of what @timothyfranson said :
"And to reiterate, if I remove the 'tlsServer' section of the above declaration, the certs and key get imported just fine. See below for error vs good declaration (watered it down even more here). When I login after applying the good declaration I can see the cert and key imported just as they should. I can even at this point manually create an SSL profile referencing it."
P12 bundle that I use works fine (i can use them on my windows, i can use them in BIGIP manually). But as soon as I try to implement them using AS3, I've got the message The requested certificate (/partition/application/webcrt.crt) was not found."
as3 declaration that works :
{
    "class": "ADC",
    "schemaVersion": "3.25.0",
    "Partition": {
        "class": "Tenant",
        "Application": {
            "class": "Application",
            "WEBCRT": {
                "class": "Certificate",
                "passphrase": {
                    "ciphertext": "****"
                },
                "pkcs12": {
                    "base64": "****"
                }
            }
        }
    }
}

as3 declaration that doesn't works :
{
    "class": "ADC",
    "schemaVersion": "3.25.0",
    "Partition": {
        "class": "Tenant",
        "Application": {
            "class": "Application",
            "WEBTLS": {
                "class": "TLS_Server",
                "certificates": [
                    {
                        "certificate": "cert"
                    }
                ]
            },
            "WEBCRT": {
                "class": "Certificate",
                "passphrase": {
                    "ciphertext": "****"
                },
                "pkcs12": {
                    "base64": "****"
                }
            }
        }
    }
}

Please re-open as this issue as it is still unresolved. When you import a PKCS12 certificate and key, the key is named correctly, but the certificate is not.
AS3 does not append the .crt to the certificate file, so it cannot be referenced in a SSL profile configuration.
`{
"class": "AS3",
"action": "deploy",
"persist": true,
"declaration": {
"CertTest": {
"class": "Tenant",
"test": {
"class": "Application",
"example_cert": {
"class": "Certificate",
"passphrase": {
"ciphertext": "IA==",
"protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJub25lIn0"
},
"pkcs12": {
"url": {
"url": "https://gitea.example/certificateStore/raw/branch/master/example_092621.p12",
"skipCertificateCheck": true
}
}
},
"example_cert_clientssl": {
"class": "TLS_Server",
"certificates": [
{
"certificate": "example_cert"
}
]
}
}
},
"class": "ADC",
"schemaVersion": "3.30.0"

}
}
`
Tue, 09 Nov 2021 13:20:59 GMT - severe: [appsvcs] {"message":"Declaration failed: 01070277:3: The requested certificate (/CertTest/test/example_cert.crt) was not found.","level":"error"}
root@(bigTest01)(cfg-sync Standalone)(Active)(/CertTest/test)(tmos)# show sys crypto cert all
1 certificates found
sys crypto cert example_cert {
certificate-status none
ocsp-status none
}
as you can see the .crt fro the example_cert is missing.

Thank you for adding additional information to this issue. I have re-opened it and flagged it for triage.


dataFieldPosition amend the description to mention position not ordering

The description says "Positional order of the data field in the parent annotation".
I am not too sure what the problem with this description is.
I do not want to change it to "Position of the data field in the parent annotation" since that does not describe what position means.
I have changed it to "Location of the data field in the parent annotation's list of data fields."


[Carbon site] Add Motion UX movie in lead space.

For whatever reasons the animation was left out when migrating this page from IDL. I think this needs to go in.
Goes under the anchor links
https://www.carbondesignsystem.com/guidelines/motion/basics

@mjabbink moved to the carbon repo. Carbon doesn't have a basics page like IDL does. Is this video supposed to go here under the anchor links? https://www.carbondesignsystem.com/guidelines/motion/overview

@vpicone It’s the same content and the plan was to remove the Motion UI page in IDL once Carbon site had the Motion pages up. IDL is called Basics and Carbon called Overview but the content is like 95% the same but missing the video. Placement is as you described under the anchor links like we do in IDL Typeface, Animation, Icons pages for example.

This was opened April 20. Let’s please address as soon possible as it’s made it’s slowly creeped out of the top 10 items over a few sprints when I first created it.

@mjabbink systems squad is in charge of the documentation for the Carbon website

They are not the same. This page was removed from IDL and added to Carbon.

VIdeo link doesn't seem to work

FYI @sadekbazaraa

@mjabbink @tw15egan the link is correct. It's just a private link but the permissions are set to be viewable on ibm.com domains. I've just added carbondesignsystem.com as an additional domain in case that was the culprit.
https://vimeo.com/281513709


NIV To be correctly expanded as New International Version

In the Versification scheme, NIV is currently displayed as New Internation  Version.
It is to be correctly displayed as New International Version

UI is been updated.

As the the UI has been updated ,looks fine ,so moving done.


Spelling: "Langdedrosa Cynwrath"

The HotDQ NPC "Langdedrosa Cynwrath" should be "Langdedrosa Cyanwrath" (Official content, guid: 708b2570-c88f-4e4f-a414-a98088faa52c, fid: hoard.langdedrosa-cynwrath).

Thanks, fixed!


Fix/edit profile input 87

Description

closes #87
Checklist

[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit tests.
[x] Run flutter format.
[ ] Updated the documentation.
[x] Added an entry to the CHANGELOG.md file.
[x] Re-reviewed Files changed in the Github PR explorer.

The changes looks great 🚀
Is it possible however to also implement a validation inside the input field to make sure the user does not insert non-valid characters inside his DTag? That means checking that it respects the following RegEx:
^[A-Za-z0-9_]+$
And has a length from 3 to 30 characters (included)

@RiccardoM I'm pretty sure you already implemented this. I'm unable to click save if the dTag isn't valid
bool get isDTagValid {
    final originalDTag = originalAccount.dtag?.trim() ?? "";
    final newDTag = account.dtag?.trim() ?? "";

    if (originalDTag.isNotEmpty && newDTag.isEmpty) {
      return true;
    }

    return RegExp(r"^[A-Za-z0-9_]+$").hasMatch(newDTag) &&
        newDTag.length >= 3 &&
        newDTag.length <= 20;
  }

 /// Tells whether the user can save the profile or not.
  bool get canSave {
    return containsCustomData && isDTagValid && isMonikerValid;
  }

@RiccardoM I'm pretty sure you already implemented this. I'm unable to click save if the dTag isn't valid
bool get isDTagValid {
    final originalDTag = originalAccount.dtag?.trim() ?? "";
    final newDTag = account.dtag?.trim() ?? "";

    if (originalDTag.isNotEmpty && newDTag.isEmpty) {
      return true;
    }

    return RegExp(r"^[A-Za-z0-9_]+$").hasMatch(newDTag) &&
        newDTag.length >= 3 &&
        newDTag.length <= 20;
  }

 /// Tells whether the user can save the profile or not.
  bool get canSave {
    return containsCustomData && isDTagValid && isMonikerValid;
  }

Ok then, perfect :joy:!


[1011] Refactor error pages to remove duplicated markup

Context

https://trello.com/c/d6ITjwBW/1011-error-pages-has-2-main-elements

Changes proposed in this pull request

Create a base error layout which error views can extend. The base itself inherits from application.html.erb
Remove previously generated duplicated markup

Guidance to review

 error pages has 2 main elements


HBASE-24588 : createTableBegsSplit should consider tuning mergeEnabled for table (ADDENDUM)

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 45s
the patch passed

+1 :green_heart:
compile
1m 12s
the patch passed

+1 :green_heart:
javac
1m 12s
the patch passed

+1 :green_heart:
shadedjars
6m 33s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 46s
hbase-server in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
191m  1s
hbase-server in the patch passed.

220m 28s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1988/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1988

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux bc4b937866bf 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / af49b87367

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1988/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1988/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1988/1/testReport/

Max. process+thread count
2914 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1988/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


made Route [was ], exposed Navigator.push Future<dynam…

…ic> [results]
Pass dynamic results with Navigator.pop.
Access those results using the Future from Navigator.push, now exposed by navigateTo

Codecov Report

Merging #22 into master will decrease coverage by 2.41%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
- Coverage    53.9%   51.49%   -2.42%
==========================================
  Files           3        3
  Lines         128      134       +6
==========================================
  Hits           69       69
- Misses         59       65       +6

Impacted Files
Coverage Δ

lib/src/common.dart
33.33% <ø> (ø)
:arrow_up:

lib/src/router.dart
4.16% <0%> (-0.6%)
:arrow_down:

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 76a625c...809bf94. Read the comment docs.


Escape character does not pass through double quotes

I am trying to pass a query string through to the Azure CLI from within a PowerShell session. I have a working query for Azure CLI which has been tested against bash:
az image list --query "[?contains(tags.\"image-offer\",'Ubuntu')]"

This returns the correct query string which is:
"[?contains(tags."image-offer",'Ubuntu')]"

The double quotes around "image-offer" are needed for the query to work properly. This behaviour is not the same when the query is run in PowerShell (replacing the '' escape characters with '`')
Steps to reproduce
az image list --query "[?contains(tags.`"image-offer`",'Ubuntu')]"

Expected behavior
"[?contains(tags."image-offer",'Ubuntu')]"

Actual behavior
"[?contains(tags.image-offer,'Ubuntu')]"

And the query fails as the double quotes are missing
Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0-beta.8
PSEdition                      Core
GitCommitId                    v6.0.0-beta.8
OS                             Darwin 17.0.0 Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

The problem is that you're calling a native cli app ... and PowerShell does stuff, but then the cli does more stuff. Did you try putting the \ in too?
az image list --query "[?contains(tags.\`"image-offer\`",'Ubuntu')]"

Otherwise, you need to either use the --% to tell PowerShell to stop processing your stuff
Or use start-process so you can quote the whole block of parameters at once

Hi @Jaykul - thanks for the update. I didn't try using the \ escape character but I will give it another go. As a workaround I changed the tag name format from image-offer to imageOffer - but I will go back and try your suggestions.

Old issue without discussion.


Change UI for skillSet and add testcases

change UI for skill
Add test case for skill class
To make HackNet more visually appealing
To improve test coverage

Codecov Report

Merging #54 (d3eae75) into master (c8554e2) will increase coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #54      +/-   ##
============================================
+ Coverage     72.08%   72.15%   +0.07%
- Complexity      458      459       +1
============================================
  Files            79       79
  Lines          1426     1426
  Branches        150      150
============================================
+ Hits           1028     1029       +1
  Misses          351      351
+ Partials         47       46       -1

Impacted Files
Coverage Δ

src/main/java/seedu/address/model/team/Skill.java
95.65% <0.00%> (+4.34%)
: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 c8554e2...d3eae75. Read the comment docs.

This PR looks good to merge!


The destinationRule wants to support the same functionality as the NGINX error_page

Describe the feature request
The destinationRule wants to support the same functionality as the NGINX error_page
Describe alternatives you've considered
subsets:
  - name: testversion
    labels:
      version: v3
    errorPage:
        code:
            - 503
            - 404
        route:
           # cluster external
            - disable: false
               type: redirect
               url: http://xxx.com
          # cluster internal
           - disable: true
              type: host
              host: ratings.prod.svc.cluster.local
              labels:
                   version: v3

[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[x] Developer Infrastructure
Additional context
Envoy endorses a similar ability
https://github.com/envoyproxy/envoy/blob/main/docs/root/configuration/http/http_conn_man/local_reply.rst

I had the same use case.  My solution was custom WebAssembly code, deployed to Envoy using an Istio EnvoyFilter.  The code handled HttpCall::onResponseHeaders() and if it saw a 40x/50x it took over, changing body and headers.  It was a lot of work and a declarative way to get the same behavior would be great.

This is a duplicate of https://github.com/istio/istio/issues/29264, lets track there. Thanks!


Store system database in target warehouse

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2867
Originally created by @tayloramurphy on 2021-07-23 19:33:41

There's a clear use case for having the system database stored in a data warehouse. Meltano should be able to support easily moving data from the system db into a target.
This would go for any plugin databases as well (Airflow, Superset, etc.).
This is part of a larger metadata and observability story, but it would be good to simplify this for people potentially as a native feature.

View 2 previous comments from the original issue on GitLab


Move python bindings to a dedicated directory + split bindings in several .o files

Related to #230 and #247.

I think the time is disappointing. I tried to create several .o for the python bindings and the compilation reached 6:49 min against 2:30 min. I think the change is not necessary at all.

Sorry, but we cannot track the modifs in this PR because git unproperly tracked the file moves. Could you redo it with proper tracking?

I do not get your comment. The first commit [CMake] Move python to a dedicated directory follows well the git mv

Ok. That's the expose algorithm that was split.

Just updated and it passed. I will now merge.


Post-process 0.7.0 release

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 86.76%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8709

Relevant Lines:
10038

💛  - Coveralls


Fix typo

Please squash into one commit.

I squashed into one commit.

:+1:

Thanks for squashing.


Content-Switcher: Enable Default Option

Detailed description of what you want to happen
Currently the content Switcher lets the user selects one of the option without any preselection, but we would like to have an input in content switcher component to let the component know the default option and that is being preselected without any user inputs
Upload a screenshot or reference an example if possible
AS-IS (by default)

To-BE (by default)

Why do you need this feature?
For Project Requirements
Do you have a deadline?
Would be nice to have feature by next month end if possible
Additional information
No response

@VishnuDeepak11
Hi,
This is already possible with the selected prop.
<ifx-content-switcher-item selected="true" value="item-1">


pass swiper ref to renderCard and perform actions like swipe back swipe etc...

how to pass Swiper ref to component in renderCard i tried but getting undefined

Were you able to find any solution for it?

@sajorahasan no

Thanks for getting back


Perfsonar opensearch dashboard service listening only on IPv4

I am using Ubuntu 22 with IPv6 host only and as i checked that service is hardcoded and its listening only on IPv4:

this script is coming from here:  https://github.com/perfsonar/archive/blob/master/perfsonar-dashboards/perfsonar-dashboards/dashboards-scripts/dashboards_secure_pre.sh

@Rezi1999 can you confirm this is now working as it should in the latest 5.2-snapshot packages? And if yes, you can close the issue.

It seems the fix works for new installations, but not for upgrades. To be tested better.


Use bitmask in wherever possible instead of multiple comparison with 'or'

Related issue: https://github.com/rancher/cis-operator/issues/120

hi @rayandas are all the scan profiles changed here passing the scans?

@prachidamle Yeah I have tested all the changes, the scans are passing.
I've check kube-bench upstream configs as well, they are not using the multiple comparison with 'or' anymore, they're also using bitmask.


tensorflow-gpu 1.15.2 在win7上 运行扔是显示 tensorflow not  include contrib

der.cc:44] Successfully opened dynamic library cudart64_100.dll
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:

https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sun
set.md
https://github.com/tensorflow/addons
https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

你换CPU版本 tf即可

如果是新版显卡，可以使用 stable_baselines3


Allow the OS to handle custom URIs. Cannot open links with custom URL schema (e.g. slack://)

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

VS Code Version: 1.60.1
OS Version: All

Steps to Reproduce:

Obtain a custom URI.
For Mac users an easy way to test a custom URI is with Hook from a file or email.
Or you could create a bearbones app with a custom URI with a few lines of AppleScript. These types of links are common e.g. slack://, Zoom, OmniFocus, and several more so you should be able to find a URI that works. You can test these in your browser.
Add the link to a markdown file open in VSCode
Try to click it in the code editor and markdown preview. Observe the error.

Additional Info
Poking around I see vscode only handles a limited list. If a schema is unknown, VSCode must delegate to the OS to handle it. It also occurs to me that mailto doesn't require special treatment on this list and should be handled by the OS.
https://github.com/microsoft/vscode/blob/021071ff74a53038dae299db2fe1328beed13da0/extensions/markdown-language-features/src/util/links.ts#L9-L16
This was reported before and fell through the cracks. The same console errors where VSCode attempts to resolve a markdown file with a filename that is a substring of the url it does not understand:
Testing custom scheme:
[p.ideas.test.md](hook://file/3NE0H471r?p=RGVuZHJvbi92YXVsdA==&n=p.ideas.test.md)

Unable to open '3NE0H471r.md': Unable to read file '/Users/brandon/Dendron/vault/hook:/file/3NE0H471r.md'
(Error: Unable to resolve non-existing file '/Users/brandon/Dendron/vault/hook:/file/3NE0H471r.md').

https://github.com/microsoft/vscode/issues/104429

i.e. slack://

Should be changed to “e.g. slack://”
Totally agree otherwise.

Not sure if the link provider or the opener service needs to support that.

@mjbvz for MD link handling/allowing
@joaomoreno for OS link handling?

As long as no prompt is shown in trusted workspaces a prompt seems sane. Especially for extension pages.
I wonder though for the case of web links, do you find that people actually click the Cancel button in that prompt? Generally if a user clicks a link they want the action to occur and will blindly click okay on any thing in the way.

I did a PR to the Dendron Extension  which provides a tidy workaround for this issue via dendron: Open link.

Whatever you're doing with this, please just simply add 'tel' href links to the sanitization list as requested here:
https://github.com/microsoft/vscode/issues/133365

any updates on this? perhaps since it's mis-tagged as "feature request" when it is a bug in the link handling code?
the reason it has to be a bug & can't be a FR is because clicking the link assumes it's a relative link to a file, even though : is invalid in filenames... so prompting to create a file with an invalid filename is a bug, the fix is to notice it's a URL & let the OS deal with it
sample Markdown with links that should all open Logos Bible Software but instead all offer to create files with invalid filenames
[atlas](logos4:Atlas)
["oracle" word study](logos4:Guide;t=My_Bible_Word_Study;hw=oracle;lang=en)
[dictionary](logosres:mwdict11)
["chiasmus"](logosres:mwdict11;hw=Chiasmus)

Would really like to see this as well. We have cases at our company where Data Scientists are running Jupyter notebooks in VS Code that print out custom protocol links to connect with other desktop applications they use to analyze, monitor and evaluate their ML models during development. This works great when running notebooks in the browser, but fails to open the links created in the notebook display from inside VS Code.


Sync time is very slow and does not catch up

We were experiencing issues where the genesis validator was producing blocks more quickly than the second validator could sync them.
Ideas:

[ ] TCT integration (https://github.com/penumbra-zone/penumbra/pull/617) may speed this up
[ ] Tried setting create-empty-blocks-interval to 10s but it had no effect -- Jack Zampolin said they believe this is broken in tendermint v0.35
[x] Tried setting timeout-commit = "5s" in config.toml -- this is the value Jack said is being used for production Tendermint deploys. Seemed to work around the immediate issue and allow the new validator to catch up.

Closing for now as we've found a workaround.


osinfo-db: 20200804 -> 20201015

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/osinfo-db/versions.
meta.description for osinfo-db is: "Osinfo database of information about operating systems for virtualization provisioning tools"
meta.homepage for osinfo-db is: "https://gitlab.com/libosinfo/osinfo-db/"
meta.changelog for osinfo-db is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 20201015 with grep in /nix/store/ibircwfdmr5vriqhjqgqw7cpj3139792-osinfo-db-20201015

directory tree listing: https://gist.github.com/817cb53c78ab7c6b573c5ffaf30e0b18

du listing: https://gist.github.com/7c5b30bd0184a4aeaf3662f8d223ef18

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

2861 total rebuild path(s)

920 package rebuild(s)

914 x86_64-linux rebuild(s)
753 i686-linux rebuild(s)
472 x86_64-darwin rebuild(s)
722 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
MIDIVisualizer
adoptopenjdk-icedtea-web
agave
allegro5
amdvlk
anbox
ansible-lint
aws-okta
bacula
bareos
bdf2sfd
beancount
bindfs
bomi
bundix
byacc
cabal2nix
cachix
calibre
calibre-py2
calibre-py3
calligra
cargo-outdated
catch2
catt
cde
celluloid
ceph
ceph-client
ceph-dev
charliecloud
checkstyle
chezmoi
cinnamon.warpinator
circleci-cli
citrix_workspace
citrix_workspace_20_04_0
citrix_workspace_20_06_0
citrix_workspace_20_09_0
citrix_workspace_20_10_0
clevis
clipgrab
cloudcompare
cntk
cockroachdb
codeql
common-updater-scripts
compactor
cordless
coredns

Instructions to test this update (click to expand)

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

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

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

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @bjornfor for testing.

Result of nixpkgs-review pr 102638 run on x86_64-darwin 1

1 package marked as broken and skipped:

gnome3.nautilus-python

Result of nixpkgs-review pr 102638 run on x86_64-darwin 1

1 package marked as broken and skipped:

gnome3.nautilus-python


No longer works

Hi, the maker does not works in any actual browser. It was the only one application of their type. I dont know anything about coding, could you make your last effort fixing the app?. thanks a lot.

Should be fixed now.
Alea.js was removed from CDN for whatever reason. Self-hosting it now.

I am sorry I didn't fix it sooner. I missed a notification about this issue. :/