pre-first release review - DO NOT MERGE

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/multiplesequencealign branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

dev branch was merged with #158 .
I will close this one :)


useDateFieldState: setValue not correctly setting value for incomplete fields

Discussed in https://github.com/adobe/react-spectrum/discussions/4790

Originally posted by Darmun July 19, 2023
Hello,
recently I've been working on custom Datepicker which would work with Calendar placed in container which doesn't block interactions with other elements on the page, and which is visible when focused on an input.
However I stumbled on problem with updating state of input fields: for some reason if input is clear, without any value, it won't update value, when I try to invoke state.setValue destructured from useDateFieldState from button/RAC Calendar. Here is codesandbox with reproduction, and below code I wrote for this.
To reproduce, try click button with set date label. Despite an action, input will not update.
It works fine, if first value is set manually, and then button is used.

import { createCalendar, parseDate } from "@internationalized/date";
import { useRef } from "react";
import { useDateField, useDateSegment, useLocale } from "react-aria";
import { useDateFieldState } from "react-stately";

export function DateField(props) {
  const { label, ...rest } = props;
  const { locale } = useLocale();

  const state = useDateFieldState({
    ...rest,
    locale,
    createCalendar
  });

  const ref = useRef(null);
  const { labelProps, fieldProps } = useDateField(props, state, ref);

  return (
    <div
      className="wrapper"
      style={{
        display: "flex",
        flexDirection: "column",
        alignItems: "flex-start"
      }}
    >
      <span {...labelProps}>{label || "fallback label"}</span>
      <div
        {...fieldProps}
        ref={ref}
        className="field"
        style={{
          display: "inline-flex",
          padding: "2px 4px",
          border: "1px solid black",
          borderRadius: "2px"
        }}
      >
        {state.segments.map((segment, i) => (
          <DateSegment key={segment.type} segment={segment} state={state} />
        ))}
      </div>
      <button onClick={() => state.setValue(parseDate("2023-07-07"))}>
        set date
      </button>
    </div>
  );
}

function DateSegment({ segment, state }) {
  const ref = useRef(null);
  const { segmentProps } = useDateSegment(segment, state, ref);

  return (
    <div
      {...segmentProps}
      ref={ref}
      className={`segment ${segment.isPlaceholder ? "placeholder" : ""}`}
    >
      {segment.text}
    </div>
  );
}

Is there a mistake in the example? Or am I missing something?

It seems like here we aren't accounting for the value being set externally here.
https://github.com/adobe/react-spectrum/blob/84a1f0fc20d4494430e8acda8e244ff087e1e5e0/packages/%40react-stately/datepicker/src/useDateFieldState.ts#L239-L246

It seems the state.dateValue is still updated even though state.value remains null.
A workaround for now seems to set the segments manually using state.setSegments before calling state.setValue, but depending of what you set, onChange may be called more than once with an intermediate value:
() => {
  const newDate = parseDate("2023-07-07")
  if (!state.value) {
    state.setSegment('day', newDate.day)
    // ...
  }
  state.setValue(newDate))
}


no matrix user?

I've setup this bot, but there is no any user that I could invite, it says in the guide:
"Invite the Matrix side bot to your room and wait for it to join."
but it does not mention what's the bot username

It should be the same as your sender_localpart in discord-registration.yaml

there is no such user created, what I could've done wrong that prevents its creation?

I have the same issue

I checked the SQLite database and can confirm no user was present is the "users" table. This is weird.


Request to host package: rikulo-el

This issue was originally filed by<EMAIL_ADDRESS>
Hi,
We have converted the rikulo-el to meet pub structure. Here is our source code location:
http://github.com/rikulo/rikulo-el
Please let me know if there is anything we need to change. Thanks.
Henri

This issue has been moved to dart-lang/pub#169.


Refactor async Signer

Describe the bug
Remove async from all non-async functions
signTransaction should not be async, Abi is not used so it should be removed as an optional parameter and removed validation on it?
Check the rest...
To Reproduce
This is Architectural Bug
Expected behavior
Same as before but not async for non-await functions

StarkNet.js version: Latest

this is not a bug or anything
The Signer interface should be async, as this allows for much more implementations than having it sync.
Think walletconnect as an example. Remote signers are far more popular than sync signers

Oh I see, I was looking into default implementation and it has no sense to me


GROOVY-7509 Problem With Stub Generator And Static Import Aliases

The PR looks good to me!

Thanks!

Thank you both for reviewing!


Unexpected checkDatabaseEncryptionKey

Hi
I've used the C# example but when I enter the phone number I got this error :
error {   code = 400   message = "Unexpected checkDatabaseEncryptionKey" }
Please help me resolve this problem.

I set the log level to 25 and sent the log to bot but the bot didn't reply
to the messages.
On Thu, May 3, 2018 at 2:50 PM, Aliaksei Levin<EMAIL_ADDRESS>wrote:

Could you set TDLib log verbosity level to 25 at
https://github.com/tdlib/td/blob/cfe4d9bdcee9305632eb228a46a954
07d05b5c7a/example/csharp/TdExample.cs#L204, reproduce the problem and
send the log up to received error to @tdlibbot?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tdlib/td/issues/218#issuecomment-386250538, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFV59cfNH--eegzHY6_rg4wUnEARzsFLks5tutnfgaJpZM4TwiyV
.

--
فناوری پارت سیلیکون پاژ
تولید کننده نرم افزارهای همراه
Mobile:09157690095www.AndroidSoftware.ir http://www.AndroidSoftware.ir
www.MashhadMap.com http://www.MashhadMap.com

thanks to @levlam
My problem was because of using proxy.
Levlam answered :
You currently can't set a proxy before library is initialized. You need to put that line after
_client.Send(new TdApi.CheckDatabaseEncryptionKey(), new AuthorizationRequestHandler());


Adding calculator for finding equation of a plane

I would like to add a calculator for finding equation of a plane when 3 coordinate points are given.
Please assign this issue to me.

Go ahead
Deadline 1 May,2021


Rename the repo so it matches the ros package name

lpms_imu_ros is one possible solution

Fixed in PR #6


ö, ä,ü and ß in an objects name makes PRMan crash.

If an objects name in the scene has an ö, ä, ü or ß (german letters) in it, Renderman will not render the image but "IT" displays a black image and Blender tells me PRMan: Done Rendering: elapsed Time: 00:00:00
not a big deal for me now that i know not to name my objects like that but it might screw ups some german users scenes
Edit: Just saw this issue was already addressed - closed it.

Yep.  It's on the list to fix this.


Windows Position and interface issue

I think DesktopPic interface's position should be independent from Windows Position value. I mean that you can move the picture around your desktop and get (X, Y) position but if your picture is at corner of screen then when you access the interface by double-clicking on it, the interface is obscured and hard to view.
Interface should be positioned at fixed location like center of the screen or so, regardless of Windows Position.

Its a tricky problem because if you're on a second monitor, you probably don't want the interface popping up on the primary. In a newer program I wrote (FolderViewPainter) I handle it be ensuring the entire window is positioned on screen. I'll look into this. Thanks for pointing it out.

I was looking at this today and realized that I didn't quite answer correctly. The interface simply pops up in exactly the same size and position as the image that is currently displayed. If that image is partly off the screen, then so too will be the interface.
When all of the images in the folder are the same aspect ratio and orientation then, once you have position where the first image is on screen, all other images and the interface will also be on screen.
The trouble comes with a folder of images of various aspect ratios or orientations. For that situation, the solution is to implement a "smart" corner display option so that a folder of images of various aspect ratios always display on screen. That is, the software will need to dynamically determine the x-y location for each image.
So this issue is really the same as the other open issue. That is, it's essentially a request for the same enhancement. I know I can implement it for the primary display. I'm not so sure for other displays.


Wrap some of the channels API calls

I shall be needing quite a few of the functions in the channels namespace. I see they're not yet wrapped.
I'll probably have a go at implementing this locally, and if I get to a point where I have something that seems useful I'll send a PR

Thank you for contributing!

I have made a start on this branch. https://github.com/leonerd/telegram.link/tree/leonerd/channels
I'll keep adding to it for a while before I make a PR to bring in all the bits of API that I seem to need.

You can just iterate through Object.keys(api.service.channels) and add methods dynamically or write to file


Why did my development machine have three instances of Yukon running when it booted up visual studio code?

This might come as a surprise for anyone who wants to develop Yukon in the future

Is this a trick question?

This can also make tests succeed even when the test failed to launch Yukon

2 PyCyphal demos were also running

Debugged using this: https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer, it shows where processes originate from and what tree they belong to.

My tests were being run when vscode opened during test discovery


Parquet files in generation.py

How to access parquet data for generation.py script?
I am trying to run generation script but I am running into an issue of
FileNotFoundError: [Errno 2] No such file or directory: 'image/ChartQA/ChartQA-eval-queries.parquet
Is this data supposed to be downloaded from elsewhere or how else do I access it?

@cagey-squirrel Yes, you’ll need to download the necessary files from Hugging Face. Our model and all associated data can be found in the VisRAG collection.
Regarding the specific error you mentioned, the Parquet file containing the ChartQA dataset queries is located here.
Let us know if you have further questions!


Add FieldIdentifier related steps.

Added step to filter AST nodes for FieldIdentifier.
Added property accessor for canonicalName property of FieldIdentifier.

Awesome @ml86!


removed 2 NSLog() calls

Changed the last 2 NSLog calls to MixpanelError calls

I don't see any issue merging this. Paging @alex-hofsteede


[BUG]: Case ID and Title search bar_not working in Nyan mitra.  [UAT]

Describe the bug
Not able to search with case id in 'Case ID and Title' search bar.
To Reproduce
Steps to reproduce the behavior:
1.login with valid creds in myan mitra
2. In 'Case ID and Title' search bar
3. search with 'Case ID'
4. No Results Found
Expected behavior
We should able to see the searched case details.
Reference link:

https://jam.dev/c/abfdec3a-0fe8-4b0c-9417-accc95530d13

*verified in UAT env, its working fine.


Is there a field for "File" type to select files instead of directories?

I am using electron-preferences to set values for several folders and that works fine however I also need to prompt for a file selection. If I change the type to "file" instead of "directory" nothing happens. What is the correct type to popup a file selection dialog?
Thanks,
Daryl

Hi Daryl
I'm afraid the file type hasn't been implemented yet. Therefor I've created issue #55.
It should be quite simple to implement though, as it is the same logic as the folder dialog which as you state is already implemented.
So if you're up for the challenge to try and add the file type to electron-preference, just let me know in issue #55. Else I'll try to give that issue a higher priority on my todo list.
For now I'm closing this issue as it's a duplicate.

Will be available in the next release


Does not support react 18

npm i react-bootstrap-table-nextgen-toolkit
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-bootstrap-table-nextgen-toolkit
npm ERR!   react-bootstrap-table-nextgen-toolkit@"" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

I would like support for React 18 as well. It's strange that types for React 18 are included already, but not the actual React versions:
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",

in package.json


This exception is confusing: Provided schema version 1 is less than last set version 0

What actually happened is I switched development branches.  The prior branch was using a file-specific Configuration:
return Realm.Configuration(
  path: getStorePath(storeName),
  inMemoryIdentifier: nil,
  encryptionKey: nil,
  readOnly: false,
  schemaVersion: storeVersion(storeName),
  migrationBlock: { migration, oldVersion in

  },
  objectTypes: nil)

The branch I switched to was an old branch using default Configuration:
let Realm(path: getStorePath(storeName))

It threw the exception.
It was easy enough to figure out what happened and delete the file.  But that's a confusing error.  1 is definitely not less than 0. :)

Is the old branch using Realm 0.94.1? That error message was fixed in 0.95.

Yeah... actually, the new branch was using .95 and the old branch was .94.1.  I forgot I updated it.

Getting same error, Exception logs:
2015-10-20 00:44:03.162 RealmTest[60656:33271965] *** Terminating app due to uncaught exception 'RLMException', reason: 'Provided schema version 0 is less than last set version 1.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff8e48703c __exceptionPreprocess + 172
	1   libobjc.A.dylib                     0x00007fff8684a76e objc_exception_throw + 43
	2   Realm                               0x000000010017e738 _Z18RLMSetErrorOrThrowP7NSErrorPU15__autoreleasingS0_ + 264
	3   Realm                               0x0000000100158bbe +[RLMRealm realmWithConfiguration:error:] + 5598
	4   Realm                               0x0000000100156d1d +[RLMRealm defaultRealm] + 93
	5   RealmTest                           0x00000001000028bb _TFC9RealmTest7Trainer11saveTrainerfS0_FT_T_ + 75
	6   RealmTest                           0x0000000100004224 _TFC9RealmTest14ViewController13viewDidAppearfS0_FT_T_ + 612
	7   RealmTest                           0x0000000100004352 _TToFC9RealmTest14ViewController13viewDidAppearfS0_FT_T_ + 34

Code:
    func applicationDidFinishLaunching(aNotification: NSNotification) {
        let configuration:RLMRealmConfiguration = RLMRealmConfiguration.defaultConfiguration()
        configuration.schemaVersion = 1
        configuration.migrationBlock = {(migration:RLMMigration, oldSchemaVersion: UInt64) in
            if oldSchemaVersion < 1 {
                migration.deleteDataForClassName("Dog")
                migration.deleteDataForClassName("Person")
            }
        }

        RLMRealmConfiguration.setDefaultConfiguration(configuration)
        let realm = RLMRealm.defaultRealm()
    }

@bipinvaylu we're working on a fix for that in #2707.

hi @jpsim, schema versioning issue fixed and released ??

Yes, in 0.96.1.

ok, i just did pod install but it's still showing me 0.96.0.
Bipins-MacBook-Pro:RealmDemo bipinvaylu$ pod install
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Using Realm (0.96.0)
Using SwiftyJSON (2.3.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 2 dependencies from the Podfile and 2 total
pods installed.

please run pod setup to refresh the latest set of available pods.

@jpsim, actually pod update to update dependencies. Great thanks :)

both work. cheers!

@jpsim updated to latest but still facing same issue when going to get default realm object let realm = RLMRealm.defaultRealm().

Please file a new issue, along with all the steps we need to take to reproduce the issue you're having, along with a description of what you're expecting to happen, and what's actually happening. Following our CONTRIBUTING.md guidelines should be a good start to indicate the kind of information that's useful to us.


Analyzer complains when static constant check depends on environment

When a constant expression contains fromEnvironment calls, and some static check in the constant depends on the value of the environment constant, the analyzer seem to always give an error, even when appropriate -D options are given on the commandline.
For instance, the program
class A {
  const A(int x) : assert(x > 5);
}

main() {
  var c = const A(int.fromEnvironment("x"));
  print(c);
}

gives the error
  error • Evaluation of this constant expression throws an exception at junk/const_assert.dart:7:11 • const_eval_throws_exception

The same problem shows for the test case in https://dart-review.googlesource.com/c/sdk/+/101262
const b = bool.fromEnvironment("foo");

main() {
  const l1 = [1, 2, 3];
  const l2 = [if (b) ...l1];
  print(l2);
}

where b with its default value of false should give no errors.

https://dart-review.googlesource.com/c/sdk/+/102001


CI with traffic

Add traffic test to the CI pipeline:

[x] docker compose with two ixia-c-te ports b2b raw traffic
[x] docker compose with two ixia-c-te & pe ports and FRR DUT with traffic between two emulated devices for ARP & BGP

done in #24


chore(dependencies): Update all dependencies

Please check the issue, delay is creating issue in my work? I need to use latest mongo db.
Thanks


fix for using loadProps in child route component

The state needs to be updated if the location changes, not if it is the same location

Sure, I'll pull down the repo and take a stab at it.

You don't have any examples of pushing a new route to the history and checking the page content, how do I simulate a click? Pull in testutils?


Start adding Shepherd documentation in repo

Start adding documentation into the wiki.
Actions vs Extensions
Other docs on getting started

https://github.com/rancher/shepherd/wiki


Fix bad comment on readme

Simple change to fix a comment on the readme.

Thank you for your contribution @danielgomezrico !


server: manage conflicts by using start date

if a listen comes in whose start date is older that the current, should ignore it

fixed in bbdf7c781738239c1adb04adfe0358209708fd72


fat32: getter for file content offset

This allows getting the raw offset to a contiguous file. Helpful to construct an io.Reader or io.ReadSeeker.

Thanks for the submission @malt3
I do not quite get what GetContentSection() does? It returns 2x int64 and an error? What do those represent?

It returns the absolute offset and the file size on success.
Those can be used in the constructor of a io.SectionReader: https://pkg.go.dev/io#NewSectionReader
For the range to be valid, I test that the file is contiguous (all blocks are next to each other in the correct order). If the file cannot be read as a contiguous range, the function returns an error.

absolute offset and file size

I still am having a hard time understanding. io.SectionReader is passed an io.ReaderAt, offset within the ReaderAt and max bytes to read. If working against, say, your local ext4 or APFS or whatever, you would do os.Open() to get an os.File, and then pass it to NewSectionReader(f, offset, max). In this case, AFAIUI, max is not supposed to be the max size of the file (ReaderAt would return io.EOF when you get there anyways), just the max number of bytes to return, based on your desires, and the offset.
f, err := os.Open("/path/to/file")
r := io.NewSectionReader(f, 25, 6000) // or whatever numbers you want

Why wouldn't you do the same here?
f, err := fs.OpenFile("/path/to/file", flag)
r := io.NewSectionReader(f, 25, 6000) // or whatever numbers you want

Why is GetContentSection() needed, rather than just passing the File to io.NewSectionReader(). You don't need to worry about contiguous or anything like that.

I do not want to use the Read abstraction built into the File struct. I want to construct my own ReaderAt (and possibly WriterAt) for a file from the underlying block device or file that contains the filesystem.
If I now that the file is contiguous, it is safe to do so.

Why would you? The whole point of the abstraction is so that you don't have to deal with things like figuring out clusters. If you opened a real fat32 file system (or ext4, etc), you wouldn't do that.
What's the benefit here?

The real benefit is that this allows me to modify file contents in place.

modify file contents in place

what does that mean? What is the process you are doing, and what is the parallel to it with a normal mounted filesystem?

This api is very similar to fiemaps in linux. It gives me direct access to extents of a file, without changing the structure of the filesystem.
I the end, a filesystem is just a bag of bytes, and the file contents are stored somewhere inside. I want to be able to change the contents of a file without modifying any metadata or layout.
The above mentioned API allows to do this, but is more complete: Instead of enforcing that the whole file is contiguous, it allows the user to see the offsets of individual extends of a file.

Similarly, mmap allows user space to get random read / write access into a file

But doesn't mmap work through the filesystem driver? You get a file descriptor via open() which you pass to mmap. That fd came from using the filesystem driver, not directly reading bytes from the underlying device. When you write bytes via mmap, if the filesystem needs to change metadata, that is its job.

This api is very similar to fiemaps in linux. It gives me direct access to extents of a file, without changing the structure of the filesystem.

I am trying to understand how that works. From what I see of the linked docs, it is up to the filesystem to implement it, meaning, like mmap, it is mediated by the filesystem.

You could rearchitect this feature to return a custom type that implements io.ReaderAt or io.WriterAt and mediate any access. I see how this doesn’t quite map to regular usage pattern for filesystems - I just find it to be very useful.
In the end, I also understand if this feature doesn’t make sense in the context of this library. I’m happy to maintain my little downstream patch if needed.

implement io.ReaderAt or io.WriterAt

That is quite a good idea. os.File supports it, no reason this should not. I would be happy to see a PR on it.

I see how this doesn’t quite map to regular usage pattern for filesystems - I just find it to be very useful.

That explains my confusion.
I don't see exposing something that makes it too easy for people to bypass normal filesystem usage and break the filesystem. If there is a generic exposition that works, definitely.


Playwright headless mode throwing error

What are you trying to achieve?
Run demo script or my script in headless mode using command from docs: "npm run codeceptjs:headless " (normal mode works fine). Problem occurs with Chromium and Firefox
What do you get instead?

Provide console output if related. Use --verbose mode for more details.
error: "'HEADLESS' is not recognized as an internal or external command,
operable program or batch file."

CodeceptJS version: 3.0.1
NodeJS Version: 12.19.0
Operating System: Windows
puppeteer || webdriverio || protractor || testcafe version Playwright with Chromium and Firefox

Can you comment out setHeadlessWhen and change the show flag under helpers section to false?
  helpers: {
    Playwright: {
      url: "http://localhost",
      show: false,
      browser: 'chromium'
    }
  },

Thanks for the quick reply @SamBreaksThings.
That has fixed the issue. Thanks


dts: entropy: cleanup Kconfig and replace CONFIG_ENTROPY_NAME with DT_ENTROPY_NAME

@galak A related change in the hal_nordic module is also needed (see https://github.com/zephyrproject-rtos/hal_nordic/pull/32).

Reworked this PR based on discussion in dev-review.  Pulled in some commits from @mbolivar-nordic PR on FLASH.  This now uses a chosen property to specify the entropy device.


Add separators argument to to_json function.

This change addresses issue #4453: cirq.to_json now accepts separators argument, which is forwarded to json.dump function.

@mpharrigan @95-martin-orion

Automerge cancelled: A status check is failing.

Fixed formatting issues. @mpharrigan, can you re-trigger workflow?


Crash when moving variable value slider after setting step to 0

A team member will update this issue with more details soon.

This is your friendly Microsoft Issue Bot. I created this issue automatically as requested by a team member.


Webpack Stats file confusion

Hi, I'm a bit confused on how my webpack-stats-file would work in production, since it stores an absolute path (c://users/...).
How would the path resolution work in production?

Hi, I'm closing this issue due to unrespone.


Make "Try me!" CSV file dynamic, from image folder

Brad: place CSV in images folder. Rethvick: use same base url as for images (=logo_path), then add file name.

Closing for now due to CORS issue preventing retrieval of text content from external server. So far unable to find the a set of pre-flight request directives which solves this issue. Will keep text embedded in web app for now. In future, may serve as JSON from database via api request, or as intended here, if we can find a solution to the CORS issue.


Copied image/Pdf files don't appear in history

Thank you for improving such a wonderful application. These days I cannot find the copied images or pdf files in history. I can only find text. Is there something wrong?

I am also a user hoping to see images and files copied on macOS can be shown in history. Maybe this is a new feature to be developed?

On my macOS 10.15.5 Catalina, pdf and images can be shown in history.

Thank you for improving such a wonderful application. These days I cannot find the copied images or pdf files in history. I can only find text. Is there something wrong?

I have the same issue, so +1.

Same issue

This is getting annoying. Is there an equally good alternative to Clippy without this issue?

It seems that the project is abandoned. Does anyone knows if there's a successor of Clipy? Lack of screenshots saving feature in history is annoying. It's not working on Mojave 10.14.6 18G6020
@braindeath you could still use ClipMenu_0.4.4a12.zip  (Original dropbox link is dead, I've re-uploaded it) it seems to still work fine with screenshots in history

This is getting annoying. Is there an equally good alternative to Clippy without this issue?

Hey @braindeath it seems that there's a properly working fork from ian4hu. Works for me

This is getting annoying. Is there an equally good alternative to Clippy without this issue?

Hey @braindeath it seems that there's a properly working fork from ian4hu. Works for me

Oh, cool, thanks! Yes it does!


treat shortcodes in resource link text as literal text

Pre-Flight checklist

[x] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets?
#1280
What's this PR do?
Ensures that shortcodes inside resource_link text do not trigger the LegacyShortcodes plugin.
How should this be manually tested?

Add a resource link with with a legacy shortcode in its text, e.g., {{% resource_link uuid "Helo {{< sup 2 >}} bye"%}}
Ensure the page can be edited without unintended edits to the link text. _In the example above, you should be able to edit the {{< sup 2 >}} since it is not really a shortcode, it's just text.

Screenshots
Before/After

Codecov Report

Merging #1359 (3cf51f9) into master (d0bbaa6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1359   +/-   ##
=======================================
  Coverage   89.07%   89.07%
=======================================
  Files         231      231
  Lines        9562     9564    +2
  Branches     1780     1781    +1
=======================================
+ Hits         8517     8519    +2
  Misses        928      928
  Partials      117      117

Impacted Files
Coverage Δ

...lib/ckeditor/plugins/ResourceLinkMarkdownSyntax.ts
100.00% <100.00%> (ø)

static/js/lib/ckeditor/plugins/util.ts
98.30% <100.00%> (+0.02%)
: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 d0bbaa6...3cf51f9. Read the comment docs.


Repeating error on deployment of container

In our attempt to deploy this on marathon in a mesosphere cluster, we are getting the following repeating error:
12:50:12.199 [Thread-59648] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:12.199 [Thread-59648] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@d7ff77a
12:50:12.199 [Thread-59648] DEBUG o.e.j.j.java.javaURLContextFactory - >>> new root context requested
12:50:12.199 [Thread-59648] DEBUG jndi - Looking up name="comp/env/mesos.role"
12:50:12.199 [Thread-59648] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:12.199 [Thread-59648] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@3b808a5
12:50:12.199 [Thread-59648] DEBUG jndi - Looking up name="mesos.role"
12:50:12.199 [Thread-59648] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:12.199 [Thread-59648] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@7879c0a
12:50:12.200 [Thread-59648] DEBUG o.e.j.j.java.javaURLContextFactory - >>> new root context requested
12:50:12.200 [Thread-59648] DEBUG jndi - Looking up name="comp/env/mesos.role"
12:50:12.200 [Thread-59648] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:12.200 [Thread-59648] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@4285029e
12:50:12.200 [Thread-59648] DEBUG jndi - Looking up name="mesos.role"
12:50:12.200 [Thread-59648] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:12.200 [Thread-59648] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@30b3f993
12:50:12.200 [Thread-59648] DEBUG o.e.j.j.java.javaURLContextFactory - >>> new root context requested
12:50:12.200 [Thread-59648] DEBUG jndi - Looking up name="comp/env/mesos.role"
12:50:12.200 [Thread-59648] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:12.200 [Thread-59648] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@730d2200
12:50:12.200 [Thread-59648] DEBUG jndi - Looking up name="mesos.role"
12:50:13.201 [Thread-59650] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:13.201 [Thread-59650] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@25b4460b
12:50:13.201 [Thread-59650] DEBUG o.e.j.j.java.javaURLContextFactory - >>> new root context requested
12:50:13.201 [Thread-59650] DEBUG jndi - Looking up name="comp/env/mesos.role"
12:50:13.201 [Thread-59650] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:13.201 [Thread-59650] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@2b73accd
12:50:13.201 [Thread-59650] DEBUG jndi - Looking up name="mesos.role"
12:50:13.201 [Thread-59650] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:13.201 [Thread-59650] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@2f4c2d7b
12:50:13.201 [Thread-59650] DEBUG o.e.j.j.java.javaURLContextFactory - >>> new root context requested
12:50:13.201 [Thread-59650] DEBUG jndi - Looking up name="comp/env/mesos.role"
12:50:13.201 [Thread-59650] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:13.201 [Thread-59650] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@6a4ea6f6
12:50:13.201 [Thread-59650] DEBUG jndi - Looking up name="mesos.role"
12:50:13.201 [Thread-59650] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:13.201 [Thread-59650] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@6dcd31aa
12:50:13.201 [Thread-59650] DEBUG o.e.j.j.java.javaURLContextFactory - >>> new root context requested
12:50:13.201 [Thread-59650] DEBUG jndi - Looking up name="comp/env/mesos.role"
12:50:13.201 [Thread-59650] DEBUG jndi - InitialContextFactory.getInitialContext()
12:50:13.201 [Thread-59650] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@5b6eed1a
12:50:13.201 [Thread-59650] DEBUG jndi - Looking up name="mesos.role"

From what I can see, there's not a jndi call in the code, so any info on where we may have gone wrong here would be greatly appreciated.

Hello @bpsmit28.
Thank you very much for your report. Could you please attach your Marathon configuration as well?

I will presume you mean for the app itself?
{"app":{"id":"/logstash","cmd":null,"args":null,"user":"root","env":{"MESOS_ROLE":"logstash","LOGSTASH_ELASTICSEARCH_URL":"<IP_ADDRESS>:1028","mesos.zk":"master.mesos:2181","ENABLE_SYSLOG":"true","EXECUTOR_CPUS":"0.5","EXECUTOR_FILE_PATH":""/var/log/*"","ENABLE_COLLECTD":"false","EXECUTOR_HEAP_SIZE":"128","ENABLE_DOCKER":"true","MESOS_ZOOKEEPER_SERVER":"master.mesos:2181","ENABLE_FILE":"true","FRAMEWORK_NAME":"logstash","MESOS_MASTER":"leader.mesos:5050","LOGSTASH_HEAP_SIZE":"64","MESOS_USER":"root"},"instances":1,"cpus":1,"mem":1024,"disk":200,"executor":"","constraints":[],"uris":["http://cdtsdvo108p.rxcorp.com:8081/repository/mesosResources/docker/docker.tar.gz"],"fetch":[{"uri":"http://cdtsdvo108p.rxcorp.com:8081/repository/mesosResources/docker/docker.tar.gz","extract":true,"executable":false,"cache":false}],"storeUrls":[],"ports":[10101],"requirePorts":false,"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[],"docker":{"image":"mesos/logstash-scheduler:0.10-RC1","network":"HOST","privileged":false,"parameters":[],"forcePullImage":true}},"healthChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":1,"maximumOverCapacity":1},"labels":{},"acceptedResourceRoles":null,"ipAddress":null,"version":"2016-04-04T21:10:26.244Z","versionInfo":{"lastScalingAt":"2016-04-04T21:10:26.244Z","lastConfigChangeAt":"2016-04-04T21:10:17.233Z"},"tasksStaged":0,"tasksRunning":1,"tasksHealthy":0,"tasksUnhealthy":0,"deployments":[],"tasks":[{"id":"logstash.a7015f88-faa9-11e5-8f63-0242a4015329","host":"<IP_ADDRESS>","ipAddresses":[],"ports":[4265],"startedAt":"2016-04-04T21:10:53.191Z","stagedAt":"2016-04-04T21:10:26.297Z","version":"2016-04-04T21:10:26.244Z","slaveId":"549e25ac-943c-4361-b0f4-8ddefd8ca502-S6","appId":"/logstash"}],"lastTaskFailure":{"appId":"/logstash","host":"<IP_ADDRESS>","message":"Failed to launch container: Failed to 'docker -H unix:///var/run/docker.sock pull cdtsdvo108p.rxcorp.com:9443/mesos/logstash-scheduler:0.10-RC1': exit status = exited with status 1 stderr = unexpected EOF\n","state":"TASK_FAILED","taskId":"logstash.dd199c8c-faa1-11e5-bafc-024200137f90","timestamp":"2016-04-04T20:14:56.444Z","version":"2016-03-31T19:31:16.729Z","slaveId":"3f180e82-4db1-4f07-aa73-8d0791002a82-S0"}}}

Yes :)
There shouldn't be anything jndi in Logstash, so I'm not sure where that logging comes from. I would pay attention to the failure message in the json above

Failed to launch container: Failed to 'docker -H unix:///var/run/docker.sock pull cdtsdvo108p.rxcorp.com:9443/mesos/logstash-scheduler:0.10-RC1': exit status = exited with status 1 stderr = unexpected EOF

Are you downloading the image via a proxy, that for some reason isn't working properly?
Please make sure you can actually perform the 'docker -H unix:///var/run/docker.sock pull cdtsdvo108p.rxcorp.com:9443/mesos/logstash-scheduler:0.10-RC1 command successfully

I'm not sure why that's still showing up in the config. It has pulled down successfully and manages to spin up as a framework, but then because of the jndi issue, it seems to not be able to spawn any tasks within the framework.

According to this thread, it looks like it happens on every healthcheck, http://stackoverflow.com/questions/33991626/how-to-disable-jndi-debug-logs-in-spring-boot.
Though, I'm not sure why you have debug logging for Jetty enabled, and why it want's to look up comp/env/mesos.role and mesos.role.

Right, but we didn't make any modifications to the package other than what you've seen in the form of env variables in the json. It would seem that this is done within the container itself?

Could you add the following environment variable and try again:
```LOGGING_LEVEL_COM_CONTAINERSOLUTIONS_MESOSwith the valueDEBUG`.


Dynamically set the meta lang tag depending on the browser language

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] Documentation content changes

Other information

Issue Number: #141

Looks good to me! Thanks @EtienneGrall

@all-contributors please add @EtienneGrall for a11y!


fix: inability to customize nvim-cmp completion window

Related to #125

completion and window.completion is not the same. The first is for behaviour and the other is for the UI.
If people need to customize nvim-cmp beyond of the supported arguments in .setup_nvim_cmp() I suggest using .defaults.cmp_config().


Medication ontology - graph restriction update

Lung Tier 2 medication in the last month field should have values from the DRug ONtology as stated in the description

Please indicate the last known therapy, as drug categories from the Drug Ontology (DRON), administered to the patient within the last month prior to sample collection. If this information is not shareable due to data privacy restrictions, please indiciate "not shareable".

For that reason we updated the medical_history schema (v7.0.0) to use the dron ontology and specified the graph restriction to the children of material entity.
However, for projects like #1316 we had to add medications (Oral contraceptive progestin) that did not match any DRON term from the subgraph we've added.
For that reason we decided to check the mapping of the medications that we've previously wrangled.

Pull medication data from ingest
Wrangle the data to clean the values
Use ZOOMA to get matches from all OLS
Decide which ontology is more comprehensive for us to include

Note: Since lung is asking for DRON, I believe we should have it anyway in the graph restriction. However, we can also add another ontology in the graph and suggest the usage of one of those.

from hca_ingest.api.ingestapi import IngestApi

query  = [{
        "field": "content.medical_history.medication",
        "operator": "REGEX",
        "value": ".*"
}]

api = IngestApi(url="https://api.ingest.archive.data.humancellatlas.org/")
api.set_token(f"Bearer {<token>}")
response = api.post('https://api.ingest.archive.data.humancellatlas.org/biomaterials/query?operator=AND&size=535', json=query)

med=[]
for donor in response.json()['_embedded']['biomaterials']:
    med.append(donor['content']['medical_history']['medication'])

set(med)

@idazucchi worked on this, generating this medication_ontology.xlsx spreadsheet

The most important tab is new mapping.
I've checked 3 possible ontologies: DRON, CHEBI and NCIT
I've highlighted in orange the drugs where I'm not sure of the match, and  in yellow the matches that are good but don't fall in the Pharmacologic Substance branch for NCIT. Terms in purple could also be described under treatment
DRON - all the best matches are imported terms from CHEBI, so after the first 30 drugs I dropped it
CHEBI - the matches are good but it's structure based, so it doesn't have more broad terms like Antiretroviral Therapy
NCIT seems like the best match so far, the only exceptions are some terms that are not in the Pharmacologic Substance. There are also a couple that could fall into treatment, like high-dose intravenous immunoglobulin
Before we switch ontology we should make sure that we can at least map all the terms in the sheet
It's not the full list of drugs present in ingest but at least it's a varied selection


Implementation on FCOS

Hi, thanks for your wonderful work, i have implemented the core modules of YOLACT v1 on FCOS in https://github.com/Epiphqny/Yolact_fcos, without bounding box cropping, it can achieve 35.2 mAP on COCO val2017 set with the ResNet-101 backbone.

Hey @Epiphqny,
Nice Job! Would you please tell me what FPS you have achieved? Do you have any plan to implement Yolact++ as well?
Thanks!

Hey @Epiphqny,
Nice Job! Would you please tell me what FPS you have achieved? Do you have any plan to implement Yolact++ as well?
Thanks!

The speed is slower than the original yolact, as the base detector(FCOS)  is larger, the FPS is about 7.7. As I used serial inference for each instance, there is still room to improve, I will convert it to parallel prediction for each image later.

I think detectron2 demo is not optimized well at all in terms of the speed. YOLACT visualization tools are optimized very well for better speed. You will achieve higher FPS If you can use yolact visualization tools.

Thanks for your advice, I will try it later.

@Epiphqny  great work in getting FCOS feature any plans to add it on yolact++ since the drop in performance will less compared to yolact

@abhigoku10 I will update the repo if many people request that.


update dependent packages

Before we lock down we need to rev the dependent packages.
In particular we should make sure we are on the lastest Recognizer packages.

Recognizer packages are up to date.


AArch64 Linux?

Attempts to run the python picoLLM demo results in an unsupported CPU error. Is it possible to add support for AArch64 on Linux?

Please reopen this issue using the issue template, otherwise I cannot assist you:
https://github.com/Picovoice/picollm/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml&title=picoLLM+Issue%3A+


[Bug]: Typescript types do not support "saved_payment_methods"

What happened?
Typescript types do not include typings to show saved payment methods in the checkout.
Setting a customerAuthToken do not fails but only because its treated by typescript as an "extra" property but it's not included in the definition.
See 1 & 2
Steps to reproduce

Setup paddle-js using https://www.npmjs.com/package/@paddle/paddle-js
Add customerAuthToken to checkout.open. Typescript does not complain. If you run it, it works.
Add allowedPaymentMethods: ["saved_payment_methods"] to checkout or global settings. Typescript complains.
...

What did you expect to happen?
Types to be up to date to paddle-js implementation.
How are you integrating?
React
Logs
No response

Hi @ferenckv, this type support is now available in v1.3.3, see https://github.com/PaddleHQ/paddle-js-wrapper/pull/81 for the relevant changes
Thanks again for raising!


eubucco.com is not available anymore

I am trying to download the data but it seems the website is down. May I kindly ask if it is temporary or not?

Hi @ridvansalihkuzu! Yes, sorry, this was a temporary server hiccup. The website should be back now :)


Bug: Searching for traits that are substrings of other traits is impossible

The most extreme case of this is trait:q which shows every crew with a trait that begins with the letter Q, and as far as I can tell, there's no way to just see all the Q.
Should probably make the trait: filter only match on whole word (although not sure how it handles spaces in trait names currently?)

When it comes to members of the continuum, they all have the trait "Q Continuum" which you can search. But your point is still valid. I'd suggest that putting a search term in quotes mean an exclusive search without searching substrings.

When it comes to members of the continuum, they all have the trait "Q Continuum" which you can search. But your point is still valid. I'd suggest that putting a search term in quotes mean an exclusive search without searching substrings.

@Darxide23 but if I just want to see variants of the character Q, no such luck. Another example is trait:tas shows the character Tash.

@Darxide23 but if I just want to see variants of the character Q, no such luck. Another example is trait:tas shows the character Tash.

The John deLance character Q can be searched for with the trait q_jdl

The John deLance character Q can be searched for with the trait q_jdl

This was fixed in #78 although better documentation is needed as per #101.


[2pt]  Display joined missions in My profile - Filters

Render a list of all joined missions (use filter()) on the "My profile" page.

https://github.com/oluwatobi-fasasi/react-group-project/pull/43


fit Manipulations::FIT_FILL not working as expected

Edit:
Looks like this is intended by Glide:

fill: Resizes the image to fit within the width and height boundaries without cropping or distorting the image, and the remaining space is filled with the background color. The resulting image will match the constraining dimensions.

I'm assuming the result is due to the "without distorting the image" part.
Perhaps it's worth updating your documentation to match? (or just link through to the glide documentation).
End edit
First, thank you very much for your packages. They really help!
I'm using the medialibrary package in a laravel 5.4 project, but figured the issue belonged here since its a manipulation problem.
I'm having some problems with the fit Manipulations::FIT_FILL when the original image is smaller then the fit dimensions (enlarging the image).
It appears that it is acting more like FIT_MAX then FIT_CONTAIN in that the image doesn't size above it's original dimensions.
Original image:
https://via.placeholder.com/400x400
Conversion:
$this->addMediaConversion('gallery')
        ->fit(Manipulations::FIT_FILL, 1000, 964)
        ->background('ffffff');

Resulting image:
https://s3-ap-southeast-2.amazonaws.com/cubro-dev/41f795fdf1ef9647d7465538dfa48c64/conversions/gallery.jpg
Based on the documentation, I was expecting the resulting base image to be resized to 964x964 with an 18px white fill on either side. Instead, the image remains at 400x400 with the remained filled.

Perhaps it's worth updating your documentation to match?

Feel free to send a PR to our docs.

I think that this issue is still relevant. Based on Glide's documentation:

max: Resizes the image to fit within the width and height boundaries without cropping, distorting or altering the aspect ratio, and will also not increase the size of the image if it is smaller than the output size.

fill: Resizes the image to fit within the width and height boundaries without cropping or distorting the image, and the remaining space is filled with the background color. The resulting image will match the constraining dimensions.

So max explicitly states that it will not increase the image size. But this is not the same for fill. So a person would expect that if they resize an image of dimension 300x300 to fit a container of 500x600, then the output image would be 500x600 and it will contain the actual picture as 500x500 and 50 from top and bottom would be transparent (or the specified background colour).
At the moment the only possible way to make it happen is to double-fit the image like this:
$this->addMediaConversion('example')->fit(Manipulations::FIT_CONTAIN, width: 500, height: 600)->apply()->fit(Manipulations::FIT_FILL, width: 500, height: 600)->background('white');

With the current implementation "fill" actually does not fill, it is actually a max with a background.


Vue example doesn't work - fails with CORS error

Possibly related to the issue with the Nuxt example, #187.
Version used

this repository: commit 8790e61
directus: 9.22.1
docker-compose: version 1.24.0, build 0aa59064

Steps to reproduce (on Ubuntu 22.04)

Clone the repo
git clone https://github.com/directus/examples

In a terminal, cd into directus within the repo, and docker-compose up

In another terminal,cd into vue within the repo, then
$ docker run --rm -it -v $PWD:/work --network=host --workdir /work --entrypoint bash node:20.0.0-bullseye

and within the Docker container:
$ cp .env.example .env
# test that we can reach Directus
$ curl http://<IP_ADDRESS>:8055/admin
$ npm run dev

Visit http://localhost:3000/ (or http://<IP_ADDRESS>:3000)
Open up the Javascript console/developer tools in a browser, and observe error messages like:
Access to XMLHttpRequest at 'http://<IP_ADDRESS>:8055/items/articles?fields[]=*&fields[]=author.avatar&fields[]=author.first_name&fields[]=author.last_name&sort=-publish_date' from origin 'http://<IP_ADDRESS>:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Comments
The docker-compose.yml file (added in commit 196c3fe1f99e05f6a194c7b9d6c1725baa5752c3) does not appear to be correct. In my version of docker-compose, the .env file isn't picked up at all, so the CORS variables (CORS_ENABLED and CORS_ORIGIN) in it are never set.
(You can observe this by, for example, changing the PORT in the .env file to, say, 8056; it doesn't get processed by Directus at all.)
The docker documentation on environment variable precedence (https://docs.docker.com/compose/environment-variables/envvars-precedence/) says an environment key in the .yml file takes precedence over an .env file, so I am guessing this is the intended behaviour for Docker. The docker-compose.yml presumably needs to be fixed somehow.
If the .env file is manually processed (e.g. by adding to the .yml file entrypoint: ["sh", "-c", "tail -f /dev/null"] to get a running container, docker exec-ing in, and manually source-ing the .env file and running docker-entrypoint.sh), then Directus does indeed work without CORS issues.
Presumably this has been a problem the entire time the docker-compose.yml file has existed in this repository; testing the examples to make sure they work might be a good idea in future.

Just noting, for anyone who comes across this issue, that I don't believe it actually has been fixed yet - but since the Vue example no longer includes a valid docker-compose file (issue #192), it's difficult to tell.


brave: 1.30.86 -> 1.30.87

Motivation for this change
Fixes CVE-2021-37975, CVE-2021-37976
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 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.

Backport created here: https://github.com/NixOS/nixpkgs/pull/140449


Add Qwen pipeline and example

Please also update readme, other LGTM.

README updated.

Merge it first. Will fix any issues in a following PR.


Suggestion to improve README for zsh installation.

Note: If you're using zsh you can easily install nvm as a zsh plugin. Install zsh-nvm and run nvm upgrade to upgrade.
The above line should be under Installation, not Important Notes.
Following the instruction, on Mac OSX, zsh is a default and hence I was able to install (or more like add) zsh by adding nvm to the ~/.zshrc file, instead of doing any curl or wget like this doc suggests.
It would be great if this can be fixed since zsh-nvm does not explain about nvm installed in zsh at all.

@leochoo if you do not do the curl/wget like the doc suggests, then you are using an unsupported installation mechanism, and i won't be able to help you with any issues you encounter.

@leochoo  Can you please help test PR #2511. It has the potentials to resolve this issue.


chore(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cbr/ibm (source)
module
minor
1.22.2 -> 1.23.0

terraform-ibm-modules/cos/ibm (source)
module
minor
8.4.1 -> 8.5.2

terraform-ibm-modules/kms-all-inclusive/ibm (source)
module
patch
4.13.2 -> 4.13.4

terraform-ibm-modules/observability-agents/ibm (source)
module
minor
1.25.4 -> 1.26.0

terraform-ibm-modules/observability-instances/ibm (source)
module
patch
2.13.1 -> 2.13.2

terraform-ibm-modules/security-group/ibm (source)
module
patch
2.6.1 -> 2.6.2

Release Notes

terraform-ibm-modules/terraform-ibm-cbr (terraform-ibm-modules/cbr/ibm)
v1.23.0
Compare Source
Features

Ability to add optional location for each serviceRef when creating zone (#457) (3142064)

v1.22.3
Compare Source
Bug Fixes

update required ibm provider version to >= 1.65.0, < 2.0.0 to ensure fix for known provider issue is included (#467) (2e9cff1)

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v8.5.2
Compare Source
Bug Fixes

update bucket DAs dependencies (#654) (e311989)

v8.5.1
Compare Source
Bug Fixes

deps: update terraform-module (#651) (dd1a7c1)

v8.5.0
Compare Source
Features

add support to use an optional prefix in the COS instances DA (#650) (77cf971)

v8.4.2
Compare Source
Bug Fixes

updated several variable descriptions (#644) (52255cd)

terraform-ibm-modules/terraform-ibm-kms-all-inclusive (terraform-ibm-modules/kms-all-inclusive/ibm)
v4.13.4
Compare Source
Bug Fixes

deps: update terraform-module (#502) (1cb586a)

v4.13.3
Compare Source
Bug Fixes

remove upper limit for required terraform version (#500) (55443ca)

terraform-ibm-modules/terraform-ibm-observability-agents (terraform-ibm-modules/observability-agents/ibm)
v1.26.0
Compare Source
Features

deps: update icr.io/ext/logdna-agent docker tag to v3.10.0-20240620.7524d812f60db3d2 (#354) (2c17d18)

terraform-ibm-modules/terraform-ibm-observability-instances (terraform-ibm-modules/observability-instances/ibm)
v2.13.2
Compare Source
Bug Fixes

allow more permitted_target_regions to be used in the global_event_routing_settings. Full list of supported regions is now: us-south, eu-de, us-east, eu-es, eu-gb, au-syd, br-sao, ca-tor, eu-es, jp-tok, jp-osa, in-che (#522) (f27e865)

terraform-ibm-modules/terraform-ibm-security-group (terraform-ibm-modules/security-group/ibm)
v2.6.2
Compare Source
Bug Fixes

remove upper limit for required terraform version (#286) (ccd2d6f)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 3.27.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ControlGroup

Tasks

[ ] Design, build and test the ControlGroup component.

Notes
Slots

default: Used to pass in the controls that a part of "this" group.

References

https://github.com/vime-js/vime/blob/master/core/src/components/ui/controls/control-group

Unnecessary.


[BUG] Reconnection logic doesn't work when registering callbacks

Creating a new issue here since I haven't heard back on https://github.com/luxonis/depthai-core/issues/1042.
Hello DepthAI team,
In our application, we register a callback for new frames using DepthAI's API. This callback is triggered whenever a new packet/frame is received. However, this design leaves me uncertain about how to catch exceptions or handle a dropped device event.
Specifically, I'm looking for recommendations on how to implement reconnection logic in a situation where the device is dropped, but no new frames are being received (i.e., the callback is not triggered). Since I rely heavily on the callback to process data, I am unsure where or how to catch any exceptions that might arise due to a device being dropped or encountering other issues. I found this resource online, but I don't think this could work for the callback approach.
Could you provide any examples or guidance on how to detect and handle these cases within the callback system or elsewhere in the data flow? Additionally, if there are best practices for managing reconnections, I would greatly appreciate your insights.
Thank you for your continued support.

Could anyone please help me?

Hi @guilhermedemouraa , perhaps rather use our Forum (discuss.luxonis.com) which is primary support location:)
I'd say you can use device.isPipelineRunning(), and if it isn't, create a new Device object and setup callbacks once again (one the new Device object). Thoughts?


Table Column Max Width

Is your feature request related to a problem? Please describe.
Sometimes the text for a cell can be really long. It'd be nice to be able to control the maximum width of the column instead of just the minimum width.
Describe the solution you'd like
One option would be to truncate the cell entirely (as per linked PR), and display the whole cell's value upon hovering.
Describe alternatives you've considered
Another option could be to restrict the max width of the column and then just wrap the text, but with really long values, this could lead to a row of data taking up tens of lines or more in the table.
Additional context
PR linked

+1

The PR was merged forever ago, but the issue never got closed. Thanks for the contribution!


Add support for case insensitive equals

Description
To make the library more robust and flexible add a validator similar to equals which would be case sensitive.
Proposed name
iequals

This was completed in dfd0de913961f3daac89b5502e40a71392973739


Basic media controls implementation.

This pull request adds the following methods to the library:

Future load(String uri) (#12)
Future pause() (#14)
Future play() (#13)
Future stop() (#15)
All those functions are implemented for both Android and iOS platforms.

It also adds the following members to the Stereo class:

bool isPlaying: indicates whether the Stereo player is playing. (#16)
ValueNotifier<bool> isPlayingNotifier: notifies listeners when the Stereo player changes state. (#16)

Additionally, I changed the method channel from com.mcs.plugins/stereo to com.twofind.stereo for clarity purposes.
Also, the example has been updated to reflect library changes.

@faku99 You can merge for me :)


Gems: Add ExceptionNotification

Add support for the ExceptionNotification rubygem. This gem helps trap application errors and can alert staff via (email, slack, etc.) of those errors.

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>


[x86] Islandwood House - towards the end an unexpected UI flashes before the pop up

This is on the master build which has the 1701 payload - 20170127.1
Play the game till the very end. Just before you see the pop up which says -
"Islandwood Demo
Thanks for playing ..."
you'll see some colorful text and other UI layers which momentarily show up and then disappera

This seems app specific, so closing this for now.


ERR_CONNECTION_REFUSED

Simply cloned and build in dev
Getting this error after changing content in any of the components. Basically hot reload is causing this:

GET http://localhost:3000/ws/?EIO=3&transport=polling&t=MeZzH9V net::ERR_CONNECTION_REFUSED

Any suggestions? Anyone else getting this?

@Asher978 I think this issue come from websocket, it has a route use('/ws') in server.js and api.js. You should check these files to make sure that websocket works well or maybe remove all them if you don't use websocket

@goodguy000 i will be using websockets.
i see that backend is initializing sockets in api.js by:
  .configure(socketio({ path: '/ws' }))

but i highly doubt this error is related to that since other sockets requests on the client side are working fine. This error only occurs after the app has hot reloaded. Which is a bit odd!

Note the websockets calls failing which is right after a hot reload!

This is the normal behavior, the server restarts and the connection is lost for a short time.


OLS-818: CVE fix in NLTK library

Description
CVE fix in NLTK library
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[x] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

Related Tickets & Documents

Related Issue #OLS-818

/lgtm

/approve

/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"

/override "Red Hat Konflux / ols-e2e-tests-rosa / lightspeed-service"

/retest

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

Project coverage is 94.69%. Comparing base (3c71e79) to head (7ba4be9).
Report is 23 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1387   +/-   ##
=======================================
  Coverage   94.69%   94.69%
=======================================
  Files          58       58
  Lines        2505     2505
=======================================
  Hits         2372     2372
  Misses        133      133

/retest


Exception on array types

I have initiated the form scope with an empty object {}, one of it's properties are of array type with simple string as items.
When I click on the "Add" button it returns the follow error,
TypeError: Cannot read property 'length' of undefined
    at n.angular.module.directive.link.scope.$watch.scope.appendToArray (/assets/scripts/schema-form.js:1587:27)

Inspecting list and scope.modelArray shows and empty array during form initialize, but list.length loses reference and turns into undefined in line 1587 appendToArray().

The workaround is to have an empty array object in your "default" structure.  For example.
{
   "items":[]
}

Without the default array, angular-schema-form will not be able to find it and thus give an undefined when accessing the list variable.
However, my attempts of setting it to [] makes it behave incorrectly, it appears to swap the array with an object whose indices are integers.  Not exactly sure which part of the code does that but I did see something about it earlier.

I have been heading into this for twice in a week. The real cause of this is the sf-model pointing to an empty reference, or missing altogether. Looks like ASF fail to initialize the array without it, maybe add the attribute as required?

I was thinking something along the lines of scope.model.$watch for {} then initialize it to have the empty arrays.  At least that would work for the top level ones, but we need it to work on the arrays within arrays.

Can it be done in render() (line 2157) instead?

I have a general purpose form that works on multiple models, all default values are not applied when I assign an empty object {} into sf-model. I have to make my own creation method for each model at this moment.

I am gettings this too now, it seems like a pretty serious problem.

Obviously this is not a solution for anyone, but I just realised that angular-scheme-form-dynamic-select add-on is not affected by this. I use that everywhere (I am the maintainer), so was basically a mistake that made me encounter this problem.
So if you use that, you are out of the woods on this one. You also get a ton of other features, but I have seen no negative performance impact of the component so far.

The select-external plugin I am currently using also shims the value in some cases, but that's best taken care of in the core.

That is correct, of course. I was not suggesting that it shouldn't, it certainly is a serious bug.
That said, it feels like most new users almost immidiately needs the kind of functionality the select add-ons provide anyway, so I'd mention it. (i would also want to call them plugins instead)

+1

@vicary this should work in the latest alphas.

@Anthropic Thank you!


I accedantely deleted files on my desktop...

Issue Type: Feature Request
Hey, I have been using Visual Studio for a couple of months to do some web development. Today I wanted to learn how to use Git and Github but I somehow added my Desktop as a repository and deleted some files on it. Can you guys help me please?
VS Code version: Code 1.40.1 (8795a9889db74563ddd43eb0a897a2384129a619, 2019-11-13T16:49:35.976Z)
OS version: Windows_NT x64 10.0.18362

/question


sharp is not working fine with custom libvips for > v0.31.1

Possible install-time or require-time problem

[x] I have read the documentation relating to installation.
[x] I have ensured that the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime.

Are you using the latest version of sharp?
Yes

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.

Is this a problem with filesystem permissions?
No

If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag?
If you are using npm v7 or later, does the user running npm install own the directory it is run in?
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?

What is the complete output of running npm install --verbose --foreground-scripts sharp in an empty directory?

https://pastebin.com/NPiUARSW (GitHub is saying the output is too long)

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

  System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (5) x64 unknown
    Memory: 6.63 GB / 7.76 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.12.1 - /usr/bin/node
    npm: 9.1.3 - /usr/bin/npm
  npmPackages:
    sharp: ^0.31.3 => 0.31.3

Hello, I'm using a sharp with a custom libvips installation, essentially for allowing as many image extensions as possible.
The custom libvips is available as Docker image at https://github.com/Kikobeats/docker-vips.
Also, I have a project called https://github.com/microlinkhq/splashy for detects predominant colors in an image.
The repo also has unit test to be ensured the detection is deterministic:
https://github.com/microlinkhq/splashy/blob/master/.github/workflows/pull_request.yml
I started detecting something changed in sharp > v0.31.1 because automatic pull request for upgrading the version failed:

with sharp v0.31.2 failed: https://github.com/microlinkhq/splashy/pull/36
with sharp v0.31.3 failed: https://github.com/microlinkhq/splashy/pull/39

Just sharp v0.31.1 is the latest known version that worked: https://github.com/microlinkhq/splashy/pull/30
For debugging purpose I tried to setup different flags in the custom vips compilation in order to find the issue, but it looks to me something internally at sharp changed in a way new versions can't simply work as expected

Please can you try changing this line https://github.com/Kikobeats/docker-vips/blob/master/Dockerfile#L9
- ARG LIB_VIPS_VERSION=8.13.2
+ ARG LIB_VIPS_VERSION=8.13.3

It's working fine with libvips v8.13.3
tests are green: https://github.com/microlinkhq/splashy/pull/40
so closing this 🙂


CFE-4051: Added dependencies of modules added by URL through the index now correctly have "added_by" keys in cfbs.json

Thanks for submitting a pull request! Maybe @larsewi can review this?

Great work 🚀


Add arm64 images

Helpful for development on m1 macs and deployment to hardware such as AWS Graviton

@agouin I'm on arm64 (m1 mac).
The gaia container is giving me trouble with musl.
❯ docker run -it ghcr.io/strangelove-ventures/heighliner/gaia:v6.0.4 sh
~ # gaiad
qemu-x86_64: Could not open '/lib/ld-musl-x86_64.so.1': No such file or directory
~ # gaiad -h
qemu-x86_64: Could not open '/lib/ld-musl-x86_64.so.1': No such file or directory
~ #

Apologies if this is a known issue.
The failure also happens in ibctest. My workaround is to use juno and osmosis which do not exhibit this issue.
Also, if this should be a separate GH issue with a bug label, let me know!

Thanks @DavidNix for finding this and helping me troubleshoot. I found out that the build-linux target we are using for gaia is overwriting the GOARCH to amd64. This is fixed by using the build target instead.

The dockerfiles have been moved here.
All dockerfiles have been updated to cross compile using the host architecture for the build phase, then package the cross compiled binary into the final image with the target architecture in the last qemu step.
Buildkit integration was added here so that CI and local can build the multi-arch images.
chains.yaml has been modified so that all chains will use a make target or build script that allows for cross-compilation


[FEATURE] Community resources to array

Description

instead of changing markdown, best to have a data object
display in descending order (newest at the top)

Screenshots
No response
Additional information
No response

Please provide more context(code link/screenshot) to this issue.

I would like to work on this issue. Can you assign this to me.

I would like to work on this issue. Can you assign this to me.

@sital002 I have assigned this to you


labs-engineer.sh fails if user hasn't agreed to Xcode license

I'm using a brand-new iMac (running Sierra 10.12.6). I had not yet installed Xcode, and as expected, cloning the repo prompted me to install the command line tools—so far, so good.
I tried running the labs-engineer.sh script. But when it attempted to install ruby-2.3.1, the script failed with the following message:
BUILD FAILED (OS X 10.12.6 using ruby-build 20170914)

Inspect or clean up the working tree at /var/folders/zz/4bz05l193730qm3l2ml3q9w40000gn/T/ruby-build.20170921202020.18482
Results logged to /var/folders/zz/4bz05l193730qm3l2ml3q9w40000gn/T/ruby-build.20170921202020.18482.log

Last 10 log lines:
  Total:      15490 (3777 undocumented)
   75.62% documented

  Elapsed: 63.8s

Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.

I installed Xcode, opened it, agreed to the EULA, and re-ran the script. This time it installed ruby successfully.
Unless there's another fix, it seems as though installing Xcode may still be necessary, even on Sierra.

Looks like ruby needs Xcode. This explains why we do not see this issue on the data-engineer.sh side. Thank you for pointing this out.


gitoxide: 0.33.0 -> 0.34.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Byron/gitoxide/releases.
meta.description for gitoxide is: A command-line application for interacting with git repositories
meta.homepage for gitoxide is: https://github.com/Byron/gitoxide
meta.changelog for gitoxide is: https://github.com/Byron/gitoxide/blob/v0.34.0/CHANGELOG.md
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.34.0 with grep in /nix/store/6nc1w510dj4jibdm588gd5msr9vqr7yz-gitoxide-0.34.0
found 0.34.0 in filename of file in /nix/store/6nc1w510dj4jibdm588gd5msr9vqr7yz-gitoxide-0.34.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
gitoxide

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6nc1w510dj4jibdm588gd5msr9vqr7yz-gitoxide-0.34.0 \
  --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 gitoxide https://github.com/r-ryantm/nixpkgs/archive/fa1ab31bf1d93792fa6a31757c634c2ac5e10eb7.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/fa1ab31bf1d93792fa6a31757c634c2ac5e10eb7#gitoxide

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gitoxide

Maintainer pings
cc @syberant for testing.

@ofborg build gitoxide gitoxide.passthru.tests


[BUG] Formula not correctly evaluated

Describe the bug
I have the following formula:
IF(Length(${DOC.Properties.832504:/current/XXX-WPNRID-D}) == 6, ${DOC.Properties.832504:/current/XXX-WPNRID-D}, null)
which is not correctly calculated. I tried to change the source code at:
io.atlasmap.core.DefaultAtlasFieldActionService#processActionForEachCollectionItem
from:
subField.setValue(value);
to:
fieldGroup.setValue(value);
That seems to work, but I don't know what side-effects this can have.
Attach .adm file and source document examples
mapping.zip
To Reproduce
Steps to reproduce the behavior:

Import adm file
Go to mapping of target DSER_DEPOT_BESTAND_WKN
use preview

Expected behavior
If the input field has exactly 6 characters than we want a mapping. Otherwise not.
Screenshots

Environment (please complete the following information):

OS: Linux Mint 21
Browser chrome
Version 105

Additional context
Maybe you should think about using some existing frameworks / interpreter like Lua/JS/... instead of writing a custom formula interpreter.

The above change does not seem to work and breaks other formulas.
Hint: formulas like:
MyFunction('param1', ${fieldValue1}) * MyFunction('param1', ${fieldValue2})
are also not correctly evaluated.


Tag first release candidate of tf-encrypted

Once we've cleaned out our old releases and tags off github, docker hub, and other artifact repositories we can tag our first ever release candidate of tf-encrypted.
The first official version will be 0.1.0 to properly follow PEP 440 and the major.minor.bug schema which is detailed in the RELEASING.md document in this repository.

think clearing is done!

Done! https://pypi.org/project/tf-encrypted/0.1.0/


The sample C# code is using methods from the deprecated package

A lot of the sample code for .Net is no longer valid. It references methods from the deprecated package
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1be935e6-88cc-38b8-aab4-bd43fd32ed4d
Version Independent ID: 3c900aa3-ebc8-17bc-cfa2-3e3a6e7400e9
Content: Field mappings in indexers - Azure Cognitive Search
Content Source: articles/search/search-indexer-field-mappings.md
Service: cognitive-search
GitHub Login: @HeidiSteen
Microsoft Alias: heidist

Thanks for the feedback! We are currently investigating and will update you shortly.

I have assigned the issue to the content author to investigate further and update the document as appropriate.


Bump storybook version to v3 and webpack to v2

Hooray!
There is one small issue with @storybook/info-addon where we get a proptype warning in the console (it is on the way to being fixed - https://github.com/storybooks/storybook/pull/1374). Other than that, the storybook, build script, and tests all seem to work as intended.
@ljharb can you take another look?

Coverage remained the same at 86.35% when pulling cd5e6f3d5510de6d0f84f55053e87c665f9011d6 on maja-bump-storybook-version into 61f505cb07753a29e2c767dce15b46d1d2176498 on master.

Coverage remained the same at 86.13% when pulling f7e3f57a5ae1b5f7fefc3df06aadd9ca687cc3a6 on maja-bump-storybook-version into 458200a3dc073be734dd5791da6db44bf52f5e78 on master.

Coverage remained the same at 86.13% when pulling f7e3f57a5ae1b5f7fefc3df06aadd9ca687cc3a6 on maja-bump-storybook-version into 458200a3dc073be734dd5791da6db44bf52f5e78 on master.

Coverage remained the same at 86.13% when pulling 75a6715fd955becc180bdf5187ae9aac7e42bc90 on maja-bump-storybook-version into 458200a3dc073be734dd5791da6db44bf52f5e78 on master.

Coverage remained the same at 86.13% when pulling cebfe76521efbdf29ecf9cc03a5038e645ab15b2 on maja-bump-storybook-version into 458200a3dc073be734dd5791da6db44bf52f5e78 on master.

Coverage remained the same at 86.13% when pulling 6b0a32e73dd753ebc477c1e11022669a18dcf270 on maja-bump-storybook-version into 458200a3dc073be734dd5791da6db44bf52f5e78 on master.

Coverage remained the same at 86.13% when pulling 2c06ef5c29e8cd0fab30ecc593a91159c05b74a4 on maja-bump-storybook-version into 458200a3dc073be734dd5791da6db44bf52f5e78 on master.

Coverage remained the same at 86.13% when pulling 3619c5a41cdb53da4a7b563d93aacd05ca704136 on maja-bump-storybook-version into 458200a3dc073be734dd5791da6db44bf52f5e78 on master.

Coverage remained the same at 86.13% when pulling 7493c777be543c4ad4462b9995826bb7e6c91e8d on maja-bump-storybook-version into 2883081b0435529555ebc096617edae5f4ea880a on master.


fix: test

One-line summary

Zalando ticket : ARUHA-XXX (only if appropriate)

Description
A few sentences describing the overall goals of the pull request's
commits.
Review

[ ] Tests
[ ] Documentation

Deployment Notes
These should highlight any db migrations, feature toggles, etc.

:tada: This PR is included in version 1.2.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Error : creating an S3 bucket to store pipeline data

@dalbhanj
import random, string
HASH = ''.join([random.choice(string.ascii_lowercase) for n in range(3)] + [random.choice(string.digits) for n in range(3)])
AWS_REGION = 'us-west-2'
S3_BUCKET = '{}-kubeflow-pipeline-data'.format(HASH)
!aws s3 mb s3://$S3_BUCKET --region $AWS_REGION
make_bucket failed: s3://qhg411-kubeflow-pipeline-data An error occurred (AccessDenied) when calling the CreateBucket operation: Access Denied
facing this error while creating an S3 bucket to store pipeline data
Checked IAM Roles AmazonEC2ContainerRegistryFullAccess and AmazonS3FullAccess is present.

@dalbhanj Pls help

So the Jupyter notebook uses Worker node IAM Role and assume permissions to create S3 bucket. Can you check if your worker node IAM role has right permissions?
You can also create S3 bucket outside of notebook and configure S3_BUCKET to use it as well

thx @dalbhanj
i created the bucket manually from portal. while executing the 3rd step  train and test data is getting uploaded
Training data will be uploaded to: s3://ktq371-kubeflow-pipeline-data/mnist_kmeans_example/train_data
Test data will be uploaded to: s3://ktq371-kubeflow-pipeline-data/mnist_kmeans_example/test_data
After this getting this error
ClientError                               Traceback (most recent call last)
 in
34 buf.seek(0)
35
---> 36 boto3.resource('s3').Bucket(bucket).Object(train_data_key).upload_fileobj(buf)
37
38 # Convert the test data into the format required by the SageMaker KMeans algorithm
/usr/local/lib/python3.6/dist-packages/boto3/s3/inject.py in object_upload_fileobj(self, Fileobj, ExtraArgs, Callback, Config)
619     return self.meta.client.upload_fileobj(
620         Fileobj=Fileobj, Bucket=self.bucket_name, Key=self.key,
--> 621         ExtraArgs=ExtraArgs, Callback=Callback, Config=Config)
622
623
/usr/local/lib/python3.6/dist-packages/boto3/s3/inject.py in upload_fileobj(self, Fileobj, Bucket, Key, ExtraArgs, Callback, Config)
537             fileobj=Fileobj, bucket=Bucket, key=Key,
538             extra_args=ExtraArgs, subscribers=subscribers)
--> 539         return future.result()
540
541
/usr/local/lib/python3.6/dist-packages/s3transfer/futures.py in result(self)
104             # however if a KeyboardInterrupt is raised we want want to exit
105             # out of this and propogate the exception.
--> 106             return self._coordinator.result()
107         except KeyboardInterrupt as e:
108             self.cancel()
/usr/local/lib/python3.6/dist-packages/s3transfer/futures.py in result(self)
263         # final result.
264         if self._exception:
--> 265             raise self._exception
266         return self._result
267
/usr/local/lib/python3.6/dist-packages/s3transfer/tasks.py in call(self)
124             # main() method.
125             if not self._transfer_coordinator.done():
--> 126                 return self._execute_main(kwargs)
127         except Exception as e:
128             self._log_and_set_exception(e)
/usr/local/lib/python3.6/dist-packages/s3transfer/tasks.py in _execute_main(self, kwargs)
148         )
149
--> 150         return_value = self._main(**kwargs)
151         # If the task is the final task, then set the TransferFuture's
152         # value to the return value from main().
/usr/local/lib/python3.6/dist-packages/s3transfer/tasks.py in _main(self, client, bucket, key, extra_args)
331         # Create the multipart upload.
332         response = client.create_multipart_upload(
--> 333             Bucket=bucket, Key=key, **extra_args)
334         upload_id = response['UploadId']
335
/usr/local/lib/python3.6/dist-packages/botocore/client.py in _api_call(self, *args, **kwargs)
314                     "%s() only accepts keyword arguments." % py_operation_name)
315             # The "self" in this scope is referring to the BaseClient.
--> 316             return self._make_api_call(operation_name, kwargs)
317
318         _api_call.name = str(py_operation_name)
/usr/local/lib/python3.6/dist-packages/botocore/client.py in _make_api_call(self, operation_name, api_params)
633             error_code = parsed_response.get("Error", {}).get("Code")
634             error_class = self.exceptions.from_code(error_code)
--> 635             raise error_class(parsed_response, operation_name)
636         else:
637             return parsed_response
ClientError: An error occurred (AccessDenied) when calling the CreateMultipartUpload operation: Access Denied

however i checked the KF fairing S3 and ECR Permission. when i checked echo $ROLE_NAME it was blank
i tried to execute the below command but no luck
aws iam attach-role-policy --role-name $ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryFullAccess
aws iam attach-role-policy --role-name $ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonS3FullAccess
policy-arn arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryFullAccess
usage: aws [options]   [ ...] [parameters]
To see help text, you can run:
aws help
aws  help
aws   help
aws: error: argument --role-name: expected one argument
my aws cli is 2.0.38 and i m using linux box

we set the ROLE_NAME here:
https://www.eksworkshop.com/030_eksctl/test/#export-the-worker-role-name-for-use-throughout-the-workshop
Can you check to see that you ran that command, had the correct cluster name, and that the command set the variable correctly?

Billion Thanks @brentley & @dalbhanj  . Issue got resolved after stetting the variable correctly.
Thanks Again :) Happy Weekend now :)


expand on basis directions comment

it seems that others have also found this passage harder than normal to parse. https://stackoverflow.com/questions/47268920/how-to-understand-individual-neurons-are-the-basis-directions-of-activation-spa

I attempted a rewrite of that section:

We by now have a lot more to say on this topic, and it's tempting to reorganize and rewrite the entire section, but for now I hope this is an improvement for most readers.


Fix a race condition in TestLoggingWithHooksRace

Fix #751

@sirupsen did you have a chance to look at this pr ? the fix is pretty obvious and ensure the test reproductability.


Docstring cleanup.

Docstring in testing code refers to a parameterized variable as testcase, but it was changed to case.

The type of case in the docstring needs to change from [str, str, str] to [str, str, str, str].


clean up global const variables and helper functions

This PR move const variables and helper functions to their own scope ( discussion here: https://github.com/oeway/ImJoy/issues/136#issuecomment-497661712 ).

move variables in const.py back to relevant modules (mainly two places: version related variables to  imjoy/init.py , and subprocess runner related variables to subprocess.py)
move functions in helper.py (utility functions to util/__init__.py and subprocess runner related functions to runners/helper.py)
move aiohttp.py/file_sender back to server.py, because there is only one function in that file.

@MartinHjelmare Please take a look at these files, not sure if you like it but I tried to put back these variables and functions to be scoped in their relevant modules.
And those I left in utils.py are functions which can be seen as "not project aware", most helper functions are placed next to subprocess.py. (BTW, subprocess.py is still a bit too long)

Looks good! Just a few things as commented above.


V/dfdf: com.downloader.Error@cb45940

what type of error?

Sorry for the delay. I have fixed the release mode issue. Please try the updated library and confirm me.
compile 'com.mindorks.android:prdownloader:0.3.0'

@amitshekhariitbhu I have same issue, and I try to update to 'com.mindorks.android:prdownloader:0.3.0'. But still not work

I'm error com.downloader.Error@243c561
What solution do you have to solve this problem?

@amitshekhariitbhu I have same issue, and I try to update to 'com.mindorks.android:prdownloader:0.3.0'. But still not work

Check that you have storage permissions.


current issue on loading the dataset

Hello, i am currently new to this code so I am trying to run the classification using the custom dataset of my own. Although I have the data file in the folder, the exception keeps saying there is no file existing. Can anyone see why this is such a case? I will upload the screenshots for better understanding. Any advice would be appreciated. Thank you

Hi,
Looks to me that the reason is that your specified directory is using a slash here: classification/ , while you are on Windows and paths should use backslashes \.
Having said that, the code has not been tested on Windows,  so I am really not sure whether you will face more difficulties in the future. I recommend using Windows Subsystem for Linux,  it's very easy to install and use.

Hi thanks for the response. I found a linux based environment to run the program and installed the virtualenv and requirements. but i still keep getting error from tqdm, saying that there is no module. I used pip install tqdm and pip3 install tqdm. How can i solve this issue

Okay, I would say that this is not an issue with loading the dataset, or this repository, it is environment/Python debugging.
Can you show a screenshot or paste what kind of error you are getting?
Also, can you simply start a python shell within your virtual environment and see whether you can import tqdm?

this is currently the status


Cannot build shim 0.9 on Solaris system

Hi,
shim 0.9 does not build on Solaris systems.  I have attached some patches if anyone is interested.  Sorry if this is not the right place to post.
Thanks,
Mat Troi
patches.tar.gz

We are interested, but if you could please post these patches as individual pull requests with real changelog entries on each, that would be a significantly more normal process to aid in properly merging fixes.

Hi vathpela,  I have created the pull request with a changelog.  Please let me know if I do it correctly/incorrectly.  Thanks.


How production-ready Effection is?

Thank you for the great framework! Structured Concurrency is a must for complicated concurrent applications. I had a lot of fun experimenting with Trio in the past.
How production-ready do you consider Effection to be? Specifically:

What kind of apps it was tested on?
What are the known limitations and drawbacks?
What is the performance penalty for using Effection compared to async/await?

I've read the manual, but unfortunately I didn't find the answers to these questions.

Hi there @shamrin! We agree, and can measure time in the era before and after we discovered structured concurrency.

What kind of apps it was tested on?
We consider Effection to be production ready for our applications. We originally developed it for writing BigTest (I don't see how it would have been possible without it), and then we migrated Interactors over to use it in order to support cancelling interactions. We've also used it quite extensively on internal client projects, especially in the area of testing multi-process systems because we can manage processes quite effectively with it. In the area of process management it is particuaraly useful since adding an implicit lifetime to external process is really helpful. To that end, I believe it is used in covector.

What are the known limitations and drawbacks?
For me personally, the biggest drawback is that using it with TypeScript is sub-optimal. There are workarounds, but it is still annoying at times. For others, I think there is a definitely a learning curve you need to surmount to think in terms of resources and operations and generators "feel scary".

What is the performance penalty for using Effection compared to async/await?
I do not have any data on this other than it has never felt any slower. One thing that is interesting about Effection that sets it apart from async/await is that whenever operations can resolve synchronously, they will resolve synchronously, and so theoretically it has a higher upper limit than async / await in which every promise in the chain must resolve in a separate tick of the run loop.

I'm going to marked this as answered. Let me know if you have any other questions, or feel free to stop by our discord


[Enhancement] Digest updater now checks whether there are any changes

This is a followup for the recent update of the digest updater in which we allowed it to continue in case of an error. Let's not allow that and pro-actively try to avoid such error by checking whether there are actually any changes to be commited to the repository. If not, simply tell this to user and end gracefully.
Also, this fixes 2 typos.
Follows up on #70.
WDYT?
Note - this hasn't been tested since I didn't dare to touch the digest update workflow at the moment.
We should provide relevant changes also to https://github.com/opendatahub-io/notebooks/blob/main/.github/workflows/notebooks-digest-updater-upstream.yaml

Is this downstream specific, if not
lets please close this open a PR upstream.

Closing in favor of #193.


Dlib: not a supported wheel on this platform

Hello
I have python 3.8.2 and i downloaded dlib-19.22.99-cp310-cp310-win_amd64.whl.
When i run pip install dlib-19.22.99-cp310-cp310-win_amd64.whl i get this error ERROR: dlib-19.22.99-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.
Does anybody know why i get this error and how i can fix this?

You should install:
pip install dlib-19.22.99-cp38-cp38-win_amd64.whl
Because you use python 3.8

You should install: pip install " PATH OF FILE/ dlib-19.22.99-cp38-cp38-win_amd64.whl "
Because you use python 3.8

I tried it but i got the same issue.

try pip install "G:/Gedeelde drives/4TW_2022-2023_T1(Lucas-Bram-Senne)/Lucas N/Test gezichtsherkenning/dlib-19.19.0-cp38-cp38-win_amd64.whl"
and make sure your windows is 64


Error Message

What does this mean and how can I fix it?
SyntaxError: Unexpected token <
at Object.parse (native)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-wink/node_modules/wink-js/index.js:68:19)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:913:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
raw message

Application Error

Application Error

As it says /usr/local/lib/node_modules/homebridge-wink I would recommend to post it at the homebridge-wink's issues.

Thanks for the help! I was wondering which would be the appropriate place to ask. I'll move over there!

On Apr 6, 2016, at 8:43 AM, Raoul<EMAIL_ADDRESS>wrote:
As it says /usr/local/lib/node_modules/homebridge-wink I would recommend to post it at the homebridge-wink's issues.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub