Training and model details for the released pre-trained model

Hi, after asking a few questions I'm still not 100% sure how the released model was trained (that was used for these samples https://drive.google.com/open?id=1CafFnqWn_QvVPu2feNLn6pnjRYIa_rbP).
Was it, at the end, audioset or not? It was conv1d not conv2d, right? I'd really love to reproduce it but can't really figure out perfectly. Can you kindly provide more details?
Thanks :)

@keunwoochoi
I'm sure with default code to reproduce result that is uploaded checkpoint, validation and test samples. I got a test with default source code and it reproduced completly. And There is no conv2d code on my repository.
But, the problem is being with audioset. Few days ago, I find out audioset_augmentor source comes not work from sometime that after I did download audioset. Many requests in short time is prevented with youtube-dl package. I think youtube add protection logic to prevent crawling their videos or some prevention code is added to that package. So, If I cannot find other way to download youtube audios, audioset_augment will be deprecated.
Finally, summarizing out that issue, I can share only checkpoint file, validation and test samples that trained with audioset files in general sound case. But it is still able to reproduce singing voice separation.

By the way, at your time for getting audioset files, it could be possible to download audios.
Let's check it out, Is it sure your the number of audio files are about 18k (it could be reduced with license issue, downloading audio can be rejected with updating license)  of human-class after downloading and pre-processing audios?

your the number of audio files are about 18k

Yes, I also had the issue with youtube-dl but managed to work out on my laptop and I got about 18k files.
And thanks for the answer but the training data is still unclear to me. When you were training the uploaded checkpoint, was the training data Voicebank, audioset, or both?

This code line is augmention point that using audioset.
Ok, then, you should check it below. Is it prints out correct number of audios?
from audioset_augmentor.augmentor import AUDIO_LIST
print(len(AUDIO_LIST))

Hm, I understood the code. But my question is about which dataset was used exactly for the released model - AudioSet? Voicebank? I'm confused because the readme reads like Audioset was used, but previously when we were chatting you mentioned Audioset actually didn't seem to help.
To answer your question, I don't actually know, because I didn't run your code as it is. I run this code below to get 12147 non-speech audio files from the balanced set. Not sure if it helps but anyway..

def gnu_main(meta_path: str = '../assets/unbalanced_train_segments.csv'):

    # load config
    meta_info = get_audio_info(meta_path)

    # make args
    args_list = []

    human_filenames, nonhuman_filenames = [], []

    noise_human_filenames = []
    noise_nonhuman_filenames = []

    human_ids = collect_all_ids()
    noise_ids = collect_all_ids('/m/096m7z')
    for item in meta_info.iterrows():
        renamed_yt_id = item[1]['YTID'].replace('-', 'XX')
        tag_id = item[1]['positive_labels'].split(',')
        is_human_sample = any([i in human_ids for i in tag_id])
        is_noise_sample = any([i in noise_ids for i in tag_id])

        if is_human_sample:
            human_filenames.append(renamed_yt_id)
        else:
            nonhuman_filenames.append(renamed_yt_id)

        if is_noise_sample:
            if is_human_sample:
                noise_human_filenames.append(renamed_yt_id)
            else:
                noise_nonhuman_filenames.append(renamed_yt_id)

    list_to_txt(human_filenames, 'unbalanced_audioset_speech_ids.txt')
    list_to_txt(nonhuman_filenames, 'unbalanced_audioset_nonspeech_ids.txt')

    list_to_txt(noise_human_filenames, 'unbalanced_audioset_noise_human_ids.txt')
    list_to_txt(noise_nonhuman_filenames, 'unbalanced_audioset_noise_nonhuman_ids.txt')

    print(len(human_filenames), len(nonhuman_filenames), len(noise_human_filenames), len(noise_nonhuman_filenames))
    # balanceed set: 2351 19809 32 96
    # unbalanced set:<PHONE_NUMBER>792 732 1252

def gnu_further():
    my_filenames = txt_to_list('filenames_all.txt')
    nonspeech_filenames = set(txt_to_list('balanced_audioset_nonspeech_ids.txt'))

    # import ipdb; ipdb.set_trace()
    print(len(my_filenames))
    my_filenames = [f for f in my_filenames if f.split('/')[1].replace('.wav', '') in nonspeech_filenames]
    print(len(my_filenames))

    list_to_txt(my_filenames, 'filenames.txt')
    list_to_txt(my_filenames[:-500], 'filenames_train.txt')
    list_to_txt(my_filenames[-500:], 'filenames_test.txt')
    # 2019-10-24. ugh, out of 13549, now i only use 12147 non-speech ones as noise signals. meaning, 10% of them was speech.

The number of downloaded audioset can reduced with license or network issues.
As I ran again experiments, audioset helps inference quality exactly. And It is trained with voice bank.
Hmm.. In another view, inference code can generate similar result with pre-trained checkpoint? If it can generate samples rightly, it seems be checked out voice bank processing codes.

Ok, voicebank only. Thanks!
About 1-2 months ago I tried to load your checkpoint, but there was something wrong. I think it was a layer name mismatch but don't remember exactly. I'll try it soon and let you know.

Ah not only model is trained on voice bank but also audioset augmentation is contained!
Hmm.. I think pre-trained checkpoint should be tested other environment. If you cannot generate similar result with pre-trained checkpoint, please say me!
Thanks for checking out in detail

Ok thanks! I'll try some stuff (loading the model, etc) and get back to you.

It seems to be difficult to reproduce experimental result.  If my desktop gets idle status, I will refactor this repository for using and training model easily. Close it and I will notice this issue at that time.


Think about how to include Gandi.net CNAME clean-up in DNS-IAC

Background

We have a weekly script that automatically cleans up CNAME records used for Gandi.net ssl validations.
This needs to be incorporated into DNS-IAC.
Acceptance Criteria

[ ] Option(s) for how we might treat this problem.

Reference
How to write good user stories

Created a new python script to remove cname records from terraform files: https://github.com/ministryofjustice/dns-iac/blob/main/scripts/remove-cnames.py

Blocked until PR is raised on repo with modified terraform files, I think this files are still in the 4 week grace period. If no PR raised within 4 - 5 weeks then need to look into why the script isnt working as expected

Unblocked: the gh action checkout in the yml file was modified to check out the full git history for the git log command on each file to acquire the last update date correctly.


is not working with 1.7.0

hello there, I was trying to use with the last version of tdlib: 1.7.0 but is not working
tdlib-ruby-2.2.0/lib/tdlib/types.rb:858:in `wrap': Can't find class for updateAnimationSearchParameters (ArgumentError)

anyone knows why is this?
thanks for advance

Same error

Same error

@chebyte @aemon have you guys found a solution for the problem?

Hi! No. Still have error.
С уважением, Денис.
ср, 24 февр. 2021 г. в 16:19, vsevolod alokhin<EMAIL_ADDRESS>
@chebyte https://github.com/chebyte @aemon https://github.com/aemon
have you guys found a solution for the problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/southbridgeio/tdlib-ruby/issues/44#issuecomment-785107535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM6Y7OAYOMFQTO36KSB3K3TAUDHHANCNFSM4WJEDGDA
.

thanks!
vsevolod.
On 3 Mar 2021, 19:24 +0200, Denis<EMAIL_ADDRESS>wrote:

Hi! No. Still have error.
С уважением, Денис.
ср, 24 февр. 2021 г. в 16:19, vsevolod alokhin<EMAIL_ADDRESS>
@chebyte https://github.com/chebyte @aemon https://github.com/aemon
have you guys found a solution for the problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/southbridgeio/tdlib-ruby/issues/44#issuecomment-785107535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM6Y7OAYOMFQTO36KSB3K3TAUDHHANCNFSM4WJEDGDA
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Should be working now.


fix(compute): fixed compute_reservation_create_shared sample and test to use mocked client

Description
In this PR I made improvements to compute_reservation_create_shared and its test. We now use a similar approach to the mock client as we do for the other samples in the compute package.
Fixes #
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist

[x] I have followed Sample Format Guide
[ ] pom.xml parent set to latest shared-configuration
[ ] Appropriate changes to README are included in PR
[ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
[ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
[x] Tests pass:   mvn clean verify required
[x] Lint  passes: mvn -P lint checkstyle:check required
[ ] Static Analysis:  mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
[ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
[ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
[ ] Please merge this PR for me once it is approved

We do not review draft PRs. If this PR is ready for review and merge, please convert it to active PR.

@gemini review


#0: Improve functional generality of ttnn.concat

Generalize to N-d pad_to_tile shape in autoformat
Modify MassageOp interface
Adds input/output transformations bringing ttnn.concat from 78% -> 85.4% generality for torch2 traces. When the new Tensor design adds support for row-major bf16 tensor with odd last dim, we will be at 100% generality with respect to these traces.

Checklist

[ ] Post commit CI passes
[ ] Model regression CI testing passes
[ ] Device performance regression CI testing passes
[x] New/Existing tests provide coverage for changes

@jaykru-tt for the failing tests , can you just comment that its the same type of fails that we see in main

Models perf passed 🎉  Device perf is failing on GS, but it is failing on main as well. One last failure in post-commit; going to see if it's also on failing main.

Saw post-commit failures in slow dispatch unit tests, but these are also failing on main, so I decided to merge: https://github.com/tenstorrent/tt-metal/actions/runs/11901075191


Stop implying that Calico for OpenStack is only for <= Mitaka

I have ubuntu 16.04 Xenial system and installed openstack ocata by following the procedure given in the openstack documents. When i tried installing the etcd , i was not able to find the etcd.conf file in my system . I think there should be a update in calico documentation for systemctl based config.

@srikrishna68 Please open a new issue to track that request.  Commenting on an open PR isn't the right place.

I'd probably drop mention of Icehouse now that we no longer test it routinely. but otherwise LGTM.


spdlog verssion you are using is about a year old and causing issues on Linux

As I was building solution with SDK, I encountered issue where my code is using spdlog and your code is using it as well. However, SDK is using about year old version and it caused some strange memory allocation issue. I stopped further investigation since version difference might be an issue here.
Please update spdlog to latest version 1.3.1.

Hi @bjelovar, thanks for the feedback. Moving to new versions of SpdLog is something we would like to often as it allows up to pickup the latest features of that project. However the internal process for doing so is more complicated. So we will be taking updates only when needed.
As for the SPDLOG issue, I can not reproduce the problem. So I am closing this for now.


Log in a user when open a new tab with the same application.

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[x ] Other... Please describe:

Library version

Library version: 0.2.1

Hi! I develop angular 6 app using B2C auth. I use sessionStorage to store user's session.
When I already logged in to the app and when I open the same app in a new tab I want to be logged in here too.
How I can make it possible without using localStorage?
Thanks!

@yakimko SessionStorage cannot be shared between tabs. You will need to use localStorage for this. Is there a reason you cannot or don't want to use the localStorage?

@navyasric
I have a few opened tabs with logged in user.
When I close the last tab with opened application I need to be logout from the app(just clean storage. when I use sessionStorage it cleans automatically).
When I use localStorage I can share a session between tabs but I can't logout a user from the app when the user close the last tab, because I do not know is he close the tab or just refresh the page.

A possible alternative to using localStorage events for cross-tab communication might be to use the Broadcast Channel API.   At one time not all browsers provided support for it.  But that was a while ago.

@yakimko MSAL currently doesn't provide any API to support this feature. I am closing this for now.


Integrate nostr

All announcements should be posted to nostr (mints, listings, sales).
Maybe each token can have a discussion page retrieved from nostr.

Done in https://github.com/macterra/artx-market/commit/ebe4d2667a120230a538c55a41df82aa209516d0


Api Review for Aspire Components -- Not super deep dive, overview.

@sebastienros - is this work now complete?


Files deleted are not removed on deployment

If we remove a file in Git there is nothing to upload for the Python deploy script which makes sense.
How can Python see if a file have been deleted? And that it should do that on the Live server?

The Python script is still getting the file paths so we basically need it to see if the file actually exists and if not we must assume it have been deleted and therfore it should be deleted from Live as well.

The Python script is still getting the file paths so we basically need it to see if the file actually exists and if not we must assume it have been deleted and therfore it should be deleted from Live as well.


clean up indentation

Many code blocks in README.md are indented by two extra spaces. This removes them so indentation is correct when copying examples.

Sure, thanks!


Create state to hold information from start to end of questionnaire

How will this be done?

local storage?
via a server?
Redux?

Update:
We are going to add the questions to session storage. This will be wiped when someone closes the browser tab/window and we can manually wipe when the email has been sent to the therapist.

Hi @MHemsley and @des-des.
We have just had our sprint one retrospective.
Do you both agree that storing the answers to the questionnaire into sessionStorage is a good idea?
Is this safe enough?

@RhodesPeter
I think session storage is fine for MVP, we might want to revisit this question at a later date.
Legally I think you are okay as it is all on the users end (but I am defo not an authority here).
In reality for MVP I think this is good, the only situation in which data would get leaked would be if someone left the page open, and you do not have much control over that.
Just to confirm, you are talking about session storage rather than local storage?

Thanks @des-des, sounds good.
Yep session storage rather than local storage.


Replace DelayedJob with Sidekiq

@taboularasa

@taboularasa por favor

@patbenatar gave a looksie left two comments

@patbenatar I add rspec-sidekiq, I guess you need to give the :ship: now? this is weird...

@patbenatar this is all set to go


apps/nsh:add resetcause command

Signed-off-by: 田昕<EMAIL_ADDRESS>Summary
add resetcause nsh command, this will call boardctl to read last reset cause
Impact
N/A
Testing
Vela tested

@xiaoxiang781216 Need your review and approval.

I approved the CI run. Let's wait it to finish.


DRS ids for the tutorial

I would discourage using filenames as the DRS ids - which is essentially what seems to be happening with a DRS id like:
drs://localhost:5000/HG00284.1kgenomes.wgs.downsampled.bundle
It works. The drs_id (the part after the last / ) can be any string. However, it would be a misleading precedent to set. The starter kit should get good precedents. And no known DRS server is using file names as the id
It will mean the starter kit DRS server would have to allocate ids to files, and maintain the mapping the to cloud location. It probably is doing that anyway - so no additional work. The data connect data would also have to use those ids of course.

Picking up

Is the drs object id = "HG00284.1kgenomes.wgs.downsampled.bundle" or is there a UUID that I need to obtain from somewhere? (I think this might be very specific to the starter kit implementation)

Per what I said above you could create the UUID. However UUIDs would be overkill for starter kit. The only requirement is that you use a DRS id that is unique on your DRS server. So you could create shorter unique ids.
To illustrate, other DRS servers are using ids like
602db3568887dd4ba02c8065
Shorter than a UUID, but still long enough to allow for a large number of objects.

Part 1 straightforward
modified load.py to use md5 hashes as the drs_ids.
Edited readme.md
It will presumably affect the ids used in the WES section of Part 1, but that code doesn't seem to be there yet.
Part 2
Did the same for Part 2
Also needed to handle
The DRS ids in data/iigsr_samples_nums.ndjson do not seem to be those in the one_thousand_genomes_sample Data Connect table. Wondering whether that file is actually used.


[Bug]The tooltip is not displayed in entity pane when query name is too long

Description
[What happened]The tooltip is not in the entity pane when the query name is too long  and also the starting text of the name is not displayed
Steps to reproduce the behaviour:

Add a query
Now click on meatball icon in the entity pane
Click on its name
Now add the Query name as " insert_data_to_verify" text
Verify the display of text

the starting text insert is not displayed correctly and even the tooltip is not displayed

Important Details

Version: [Cloud ]
OS: MacOS
Browser chrome
Environment  release

@somangshu Please assign this to me


Add vmap for SVD and inverse

Proposed changes
Add vmap for SVD and inverse, following https://github.com/ml-explore/mlx/pull/836
Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING document
[x] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have updated the necessary documentation (if needed)

@nicolov the tests are failing.. could you take a look?

I'm looking into it. Linux (not Mac) calls moveaxis with a big axis number in mlx::core::detail::vmap_replace. @angeloskath's suggestion does not fix the issue sadly.

Yeah indeed I also saw that (that's weird and I may look into it later if you haven't fixed it by then). My suggestion has to do with the general correctness for cases where the input is not vmapped. So it wouldn't fix that...

My suggestion has to do with the general correctness for cases where the input is not vmapped.

But in those cases vmap wouldn't be called at all, no?


Automatic pull request for presentation

Created via the Hask Anything web interface. If this contains copyrighted material, please ask the author if we are allowed to replicate it here with attribution.

Tested this pull request.


New package: RNAForecaster v0.9.0

Registering package: RNAForecaster
Repository: https://github.com/rossinerbe/RNAForecaster.jl
Created by: @rossinerbe
Version: v0.9.0
Commit: 626709f8de5ec606a3ead5ba44bc88b02859a445
Git reference: HEAD

Presumably superseded by #62819


Provided asset file does not match upstream version

While working on https://github.com/rails/propshaft/issues/74 I've noticed that the file app/assets/stylesheets/tailwind.css is for version 2.2.19, but the version in upstream.rb is for 3.0.22.
Is the asset file still needed? If yes, shouldn't it be for the same version defined upstream.rb? This is causing some confusion in Propshaft, as it automatically grabs gem files inside app/assets/stylesheets.

I have the same issue with the combination of propshaft (0.6.3) and tailwind. I have therefore created PR #148

Had the same issue using propshaft + tailwind, @HusseinMorsy's fix does the trick.

@brenogazzola it is not needed, nice catch. This PR should fix the issue https://github.com/rails/tailwindcss-rails/pull/148


Display gravatar's of broken build claimants

This gives an easy way to quickly visually identify who is looking at a particular build.  If this is considered desirable I may be able to submit a PR to implement.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28605980-display-gravatar-s-of-broken-build-claimants?utm_campaign=plugin&utm_content=tracker%2F580790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F580790&utm_medium=issues&utm_source=github).

+1 to this :) "No blame game" gets to new level :D


fix(declarative) fix db_import upsert via deterministic v5 UUIDs

Whenever an entity was inserted via declarative config without an explicit id given in the YAML file, the loader auto-generated a random UUID. When using kong config db_import, this meant that each time one loaded a file, it would generate new entries, even though the implementation of db_import used upsert.
With this commit, when an id is not given but the "endpoint-key" unique identifier is given to an entity (e.g. name for service, username for consumer, etc.), this endpoint-key is used to generate a deterministic UUID v5.
This allows upserts to work as expected when using kong config db_import.
As discussed with @kikito, we cannot easily use upsert_by_<unique> here because the id's are auto-generated at a different step, so it is not easy to tell apart the id's given by the user from the auto-generated ones (the code doing so would be much more convoluted).
The first two commits contain the fixes and the tests and make it easier to review the code changes separately. The other three are code cleanups with no behavior changes (these can be dropped or merged later if deemed unnecessary or risky for 1.2.0).

I rebased this to release/1.2.0 for rc2 and dropped the refactor commits. I will bring them back in a separate PR!


ci: twister: Remove Blackbox artifacts

Blackbox tests do not produce easily accessible artifacts. Thus, the upload steps ought to be removed.

please do not start commit titles with path, i.e. do not use ".github:..."
maybve "ci: workflows:..."

You probably want to change the commit message title as well, not just the GitHub PR title.


Sonic the Anonymous Hedgehog: Watch linkcentre.com

Sonic the Anonymous Hedgehog requests the watch of the watch_keyword linkcentre\.com. See the MS search here and the Stack Exchange search here.

linkcentre\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Seen in this spam post.

Approved by Eliah Kagan in Charcoal HQ


Fixes the case when a closure is provided to a().

I just tried to provide a closure as a default to a() and got some unexpected results.
The problem is that it gets cast to an array and then never gets invoked.
I could just use v() but then I have to manually arraize.
Removing the cast fixed my issue, if there is a better way let me know.

Current coverage is 97.05%

Merging #33 into master will not affect coverage as of bdb964f

Uncovered Suggestions

+0.39% via src/Engine.php#339...342
+0.39% via src/Engine.php#324...327
+0.29% via ...Extensions/Links.php#200...202
See 7 more...

Powered by Codecov. Updated on successful CI builds.

Sounds good. arraize will set the resulting value as array, so nothing should break. Going to merge.
Thanks a lot.


PluralSight HTTPError

Hi,  I'm having an issue downloading from PLuralsight, it was working fine but now is not.
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--username', u'PRIVATE', u'-p', u'PRIVATE', u'-o', u'/Users/SteveGreen/Node Web API - play by play/%(title)s-%(id)s.%(ext)s', u'https://app.pluralsight.com/library/courses/play-by-play-node-web-api-john-papa-sam-artioli/table-of-contents', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.10 - Darwin-15.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8.2, ffprobe 2.8.2
[debug] Proxy map: {}
[pluralsight:course] play-by-play-node-web-api-john-papa-sam-artioli: Downloading course JSON
[pluralsight:course] play-by-play-node-web-api-john-papa-sam-artioli: Downloading course data JSON
[download] Downloading playlist: Play by Play: Building a Node Web API with Sam Artioli and John Papa
[pluralsight:course] playlist Play by Play: Building a Node Web API with Sam Artioli and John Papa: Collected 12 video ids (downloading 12 of them)
[download] Downloading video 1 of 12
[pluralsight] Downloading login page
[pluralsight] Logging in as stevegreen22
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 352, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1903, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
result = self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Can you watch it in browser?

seems my creds have been revoked...


IT80-002 doesn't align or resize images and qr after .set

Printer equal IT80-002 ESC/POS
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from escpos import *
from time import sleep

Epson = printer.File("/dev/usb/lp0")

Epson.set("LEFT", "A", "B", 1, 1)
Epson.text("Left\n")
Epson.qr("test")
Epson.image("test.jpg")

Epson.set("RIGHT", "A", "B", 1, 1)
Epson.text("Right\n")
Epson.qr("test")
Epson.image("test.jpg")

Epson.set("CENTER", "A", "B", 2, 2)
Epson.text("CENTER DOUBLE\n")
Epson.qr("test")
Epson.image("test.jpg")

Epson.cut()

Any ideas? Thanks for the help

I am sorry, but I can't reproduce. I have adapted your script for my serial printer (Serial instead of File) and have removed the image printing. The alignment of the QR-code prints just fine.
To rule out that I have "removed" the problem, could you please remove the image-printing line and see if it persists?
Moreover you could try to call the method flush() after setting the alignment. (the file printer has problems with buffered commands, we will probably have to call flush automatically in the future) However it seems that the printer receives the command.
As a next step you could try to acquire the command reference for your specific model, try to construct the relevant commands "manually" and then send them with the _raw() method. This way you can be sure that the printer receives the right commands.

The command in the documentation linked at mike42/escpos-php/issues/96 is identical to the epson documentation. So we are sending the right command according to docs.
Maybe see if
Epson._raw(b'\x1b\x61\x32')
Epson.text("Right\n")
Epson.image("test.jpg")

aligns it right. It's using the alternative: ESC + a + 50 instead of ESC + a + 2

Thanks @DavisGoglin , unfortunately the problem persists. It worked for text but not for the images.

The problem was resolved on the referenced issue using the ESC * command for printing images.

For the record here, it was solved at mike42/escpos-php#96  by using ESC * bit image mode column format printing.
We are using the obsolete command GS v 0 (bit image raster mode) to print instead of ESC * (bit image column mode), or the recommended image command GS ( L (set graphics data).


I meet a trouble about sh ./init.sh , I hope that you can reply to me as soon as possible. Thank you!

ck (most recent call last):
File "setup_linux.py", line 63, in
CUDA = locate_cuda()
File "setup_linux.py", line 58, in locate_cuda
for k, v in cudaconfig.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

from Python3.5, iteritems is replaced by items.


chore: update gitattributes

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Component Makefile changes

Create a common makefile for components to be added.
Use the same approach as taken by otel contrib for the main Makefile to identify sources to avoid touching component code

I'm seeing main module (github.com/signalfx/splunk-otel-collector) does not contain package github.com/signalfx/splunk-otel-collector/internal/tools as a warning when running commands w/ these changes. I had to exclude the internal tools module from ALL_SRC to prevent this when introducing the lib: https://github.com/signalfx/splunk-otel-collector/commit/b392b5b734a7c8ef68f3896c58a4aee52f1226de#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R14

I'll chase that one down.

OK, that warning is gone - and the makefile should be a bit faster.


Add chromium as package dependency

There is a new googleChrome project (puppeteer) that downloads the chromium as dependency. Can we do something similar with prerender?
With this we can easily containerize prerender which was something with what  I was struggling yesterday.
POC:
https://github.com/prerender/prerender/compare/chrome...hensansi:chrome
docker run -p 3000:3000 hensansi/prerender
Dockerfile

Yeah the Chromium install is nice.
In the current state of prerender where we are using phantomjs, we downloaded the phantomjs binary every time. This caused lots of problems when downloading the binary for every npm install. We ran into issues where sometimes the downloads would fail in production due to random weirdness with npm or the network.
With our use of Chrome so far with prerender, it works much better to already have Chrome installed on the machine so prerender can be lightweight.
I know that makes prerender a little harder to use but most people should already have Chrome installed when testing locally. So really this just makes it a little harder to deploy prerender.
We won't want to pull puppeteer as a dependency just for the Chromium install.


[Event Request] Codeunit ReservationManagement (99000845) ClearSurplus

Hi,
in Function ClearSurplus() in Codeunit Reservation Management we need a new publisher in order to add a few LoadFields to avoid a JIT-Load Error when subscribing to OnDelete Event of Reservation Entry.
So please add the following Event.
Thank you for integration in one of the next Minor Updates.
procedure ClearSurplus()
var
    ReservEntry2: Record "Reservation Entry";
    ActionMessageEntry: Record "Action Message Entry";
begin
    CalcReservEntry.TestField("Source Type");
    ReservEntry2 := CalcReservEntry;
    ReservEntry2.SetPointerFilter();
    ReservEntry2.SetRange("Reservation Status", ReservEntry2."Reservation Status"::Surplus);
    // Item Tracking
    if ItemTrackingHandling = ItemTrackingHandling::None then
        ReservEntry2.SetTrackingFilterBlank();
    OnClearSurplusOnAfterReservEntry2SetFilters(ReservEntry2, ItemTrackingHandling);

    if Item."Order Tracking Policy" = Item."Order Tracking Policy"::"Tracking & Action Msg." then begin
        ReservEntry2.Lock();
        ReservEntry2.SetLoadFields("Entry No.");

        **// start new Code
        OnClearSurplusOnAfterSetLoadFields(ReservEntry2);
        // end new Code**

        if not ReservEntry2.FindSet() then
            exit;
        ActionMessageEntry.Reset();
        ActionMessageEntry.SetCurrentKey("Reservation Entry");
        repeat
            ActionMessageEntry.SetRange("Reservation Entry", ReservEntry2."Entry No.");
            ActionMessageEntry.DeleteAll();
        until ReservEntry2.Next() = 0;
    end;

    ReservEntry2.SetRange(
      "Reservation Status", ReservEntry2."Reservation Status"::Surplus, ReservEntry2."Reservation Status"::Prospect);
    if not ReservEntry2.IsEmpty() then
        ReservEntry2.DeleteAll();
end;

**// start of new code
[IntegrationEvent(false, false)]
local procedure OnClearSurplusOnAfterSetLoadFields(var ReservEntry2: Record "Reservation Entry")
begin
end;
// end of new code**

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53441.


Dice roller trims whitespaces

This should be long fixed, but just confirming you are not having any more issues with this @Yilmas?

Yup has been fixed.


Changed NewtonSoft dependency to use the InGame dll instead of latest…

Some of the ingame functions rely on NewtonSoft.Json version 8.0.0 that is actually packaged with the game.
ToyBox currently uses 13.0.1 which causes conflicts when trying to reference some ingame function that rely on the older NewtonSoft.Json version such as:
IContractResolver contractResolver = DefaultJsonSettings.DefaultSettings.ContractResolver;

This PR fixes the issue by using the ingame packaged NewtonSoft.Json dll instead.
Have done some basic functionality tests to see nothing broke. But might want to do further tests to see if any behavior is changed.

Good catch.  Thanks for fixing this.


Fix errors found in testing

@cielf this fixes the 2 issues we found so far:

Crash after creating a storage location
Not failing when reducing inventory via an edit

I don't know if this is specfic to this fix or if it would occur on main, but I was testing a bit using MHM,  which has some negative inventory items at this time, and when saving a Donation (of a different item)  I got   "Error occurred when re-running events: DistributionEvent on 2024-02-20: Could not reduce quantity by 1 - current quantity is 0 for Car Seat - Infant up to 22lbs. w/ handle in Main Warehouse"       Sooooo.... we may need to do some data cleanup for this to work?

Checked out the production branch, and it worked ok,  so it's probably on this.

Hrrrm.    i managed to totally mung the inventory numbers.  Magnitued:  Took a value that was in the 20000 range down to negatives, and messed up all the numbers.   I assumed it was to do with the above error, but no luck with the immediate recreation.   I was checking a couple of other things, and going back and forth between flag on and flag off.   So this is just a heads up until I recreate.

Regarding the negative inventory -- I'm pretty sure we'll need to remove the old events and start with a fresh snapshot.  There are some pretty large differences between the inventory we calculate with events, and what they are currently seeing on this org.

Regarding the exception:  I'm not sure adding an inventory adjustment would  work.  It's failing for something that happened in the past...

Oh -- also on the donation -- I wasn't clear -- the error around the negative inventory is an uncaught error, so they'd get a 500.  On the distribution, it is caught and presented as an error.   (It would still be mightily confusing, and prevent them doing anything)

It does look like this is safe when the read_events flag is disabled though.   I have not been able to recreate the problem with the inventory going kerfluey.  I was hopping amongst 2 or 3 different branches,  maybe that had something to do with it.

Found another problem that is related to the reduction of inventory.   If you have that kind of error,  at least in donation,  the name of the item in question goes away, and you just have the number.  I can write this up as a separate issue if you prefer.

@dorner One last thing -- that error is going to be pretty confusing if it ever comes up.   What action should the user take if it does -- contact us?  Or make an inventory adjustment?     Maybe we can give them some guidance.

@dorner Whoops --the crash also happens on finalizing audit.

Pushed a fix for the audit. If the error happens, for now I think they need to contact us. Should I add that to the error message? I feel like it's already pretty wordy.

There really isn't anything else that we really want them to contact us for.   It's an exceptional case (which I hope we never actually have once we get events fully implemented).  So, yes.  Please do have them contact us.

@awwaiid -- can you do the tech review up to this point, please?  (Handling the outstanding text change is well within my abilities to confidently o.k.)

@cielf added the extra text.

@dorner There are a couple of suggestions from Brock -- could you take a quick look at them and confirm or deny?   Thanks.

@cielf done.


Junk arguments in #set-options get interpreted as filenames and are ignored

Here's a snippet from FStar.Math.Lemmas.fst
#reset-options "-z3rlimit 20 --initial_fuel 1 --max_fuel 1"

The -z3rlimit is not a legal option. But, we happily parse it (and the 20 that follows it) as the name of the file and ignore it in this context.
It should, of course, be --z3rlimit 20

Also, this one crashes fstar.exe
module A
#reset-options "--initial_ifuel --max_fuel 1"
let f x = 0

with
$ fstar a.fst
Unexpected error; please file a bug report, ideally with a minimized version of the source program that triggered the error.
Invalid_argument("Z.of_substring_base: invalid digit")

nswamy@nikhil-Z820 /cygdrive/c/Users/nswamy/workspace/test
$ fstar a.fst --trace_error
Unexpected error
Invalid_argument("Z.of_substring_base: invalid digit")
Called from file "src/ocaml-output/FStar_Options.ml", line 663, characters 33-59
Called from file "src/ocaml-output/FStar_Options.ml", line 480, characters 48-51
Called from file "src/basic/ml/FStar_Getopt.ml", line 32, characters 18-33
Called from file "src/ocaml-output/FStar_Options.ml", line 1005, characters 8-96
Called from```

This is fixed.


Add DevC Dhaka info

What does this PR do?
This PR adds information about Facebook Developer Circle: Dhaka
Any relevant issues this PR addresses? (optional)
#
Any background context you want to add?

Thanks!


Mark providers as required in documentation

What type of PR is this?

/kind documentation
What this PR does / why we need it:
providers were marked required in #158, but docs still show it as optional
Which issue(s) this PR fixes:

Does this PR introduce a user-facing change?:

/lgtm
/approve
Thanks @keithmattix !


Copying an EntityList from a loaded blueprint throws InvalidAssociationError if any entities have connections

When loading a blueprint from an external source, or building it in code, and then copying its .entities to a Group, Draftsman throws an InvalidAssociationError if any entities have any connections of either kind (circuit or power).  The external blueprint is valid in-game, and this can be reproduced in a blueprint with two entities: two power poles with a single electric connection.  Test case available as gist.
Current Behavior

Either load an existing blueprint from disk into a Blueprint object, or create one in code.
Copy the blueprint's .entities to a new Group (group.entities.extend(bp.entities)).
IF there are no connections between any entities, the copy will succeed and the group will be ready for use.
If there are connections, an InvalidAssociationError exception will be thrown, with explanatory text like this:

Attempting to connect to <ElectricPole 'medium-02'>{'name': 'medium-electric-pole', 'position': {'x': 3.0, 'y': 0.0}, 'neighbours': [<Association to ElectricPole at 0x00007F62A442FED0>]} which lies outside this EntityCollection; are all Associations between entities contained within this EntityCollection being copied?
Expected behavior
Copying a list of entities from a blueprint should work the same as copying them from a group that was generated in code.  All connections should be preserved, and no errors should be thrown.
Additional context
Related to #22.
Draftsman version: 1.1.0
Python version: 3.12.0
I wanted to find out if this can be supported natively, as I use this in a tool that "remixes" blueprints by loading them into Groups and modifying and combining them according to the user's config.

Thanks for the report, I'll take a look at this over the weekend.

Once I created a workaround, I discovered the Group.load_from_string() method, which does what I want and appears to not cause the InvalidAssociationError (presumably because the associations are created within the group).
I will throw some more scenarios at it and see if that resolves the issue.

After taking a look at what you're intending, this seems to be another case of a sore spot between interacting with Blueprintables, similar to issue #48.
Basically, when you extend the entities from bp to group_sub, each entity is individually copied over, one at a time, as you would probably expect. How to handle an entity's Associations (power and circuit connections), however, is not entirely clear, because Draftsman doesn't know if the entities connected to it will also be in the group, and if so which ones they are. Consider the case where you only happened to move over one power pole to the new group; this case is obviously malformed, since there's no possible target for the entity to connect to.
Because Draftsman doesn't have this information when copying one-at-a-time, it defaults to keeping the Associations in the copied entity identical to the original. This means that the entities in group_sub are connected to the entities in bp, rather than the entities in their own group, hence the error.
The reason why group_sub.entities = bp.entities does work is because this statement asserts that all entities in one will all be in the other, meaning that I can figure out which entity corresponds to what and update their associations as you would expect. IIRC deepcopy on any Blueprintable also ensures this, as long as the entire thing is being copied all at once.
A clearer option might be to wipe any entity Associations when copying individually, giving a user a hint that what they're attempting to do is somewhat malformed by definition... but it could also be equally as confusing to have entities with connections mysteriously lose them after a copy. One could have it so that any entity associated with a copied entity is also copied to ensure that all Associations are preserved, but I'm not sure this is clearer, would probably not be always desired, and would likely have a performance impact to boot.
It should be noted that the group_sub.entities = bp.entities statement does create a copy EntityList, which is currently at least unavoidable. Each blueprintable object needs to "own" it's own data, as I believe being able to pass by reference would be even more confusing than the convoluted method we have right now.
Suggestions on improving this are obviously welcome, particularly from an outsider's perspective. Structural changes can also be made, since I'm planning on releasing 2.0 in the near future so any breaking change is tolerable there.

I think my main issue was not understanding how best to copy entities with connections.  The docs don't call out a best practice (which sounds like it should be group_sub.entities = bp.entities).  I didn't consider that approach because I thought the source blueprint and all the groups copied from it would become "entangled."
As for making partial copies of the .entities: in my usage of draftsman, I have not encountered a use case for partially copying entities from a blueprint "blindly" (expecting everything to just work, regardless of existing connections).  My expectation is that if I need to grab a subset of the entities, I will also need to query them for any connections, and then handle them appropriately.  I believe the framework should (and TMK does now) simply allow that, and then apply the existing validations on export or usage.
I will look into making the best practice for copying between blueprints & groups clearer in the docs.  That might be the best resolution to this particular issue.


fix: update api mocks for harvest endpoints

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Dnsmasq metrics

Posting the dnsmasq-metrics daemon. This still needs to be done:
This commit is towards resolving issue https://github.com/kubernetes/kubernetes/issues/29060

e2e test with a dnsmasq server running in a container
readme.md instructions

I'm posting this early to get some feedback.
Note: for the build, I used thockin's template.

This change is

cc: @bprashanth @MrHohn

Another great example of the utility of Pods.

Is there already an image of this on gcr and I can't find it or is it not there yet?

@brancz : sorry about that -- it should be up now
$ docker pull gcr.io/google_containers/dnsmasq-metrics-amd64:1.0
1.0: Pulling from google_containers/dnsmasq-metrics-amd64
Digest: sha256:4063e37fd9b2fd91b7cc5392ed32b30b9c8162c4c7ad2787624306fc133e80a9
Status: Image is up to date for gcr.io/google_containers/dnsmasq-metrics-amd64:1.0


Remove check_for_low_fd

Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)

Closes
Other information and links

I believe the check is still needed if you want to warn the user about low fd. But I'm ok that this is something that must be take care outside of Forest by node operator.
Maybe have a look on #### File Descriptor Limits section to update it, ie usize should be ulimit.


SOLR-17039: Entropy calculation fails in Docker due to missing 'bc' cmd

https://issues.apache.org/jira/browse/SOLR-17039
@chatman

Huh very cool, I learn more about bash every day!

Huh very cool, I learn more about bash every day!

And I learnt it from ChatGPT by giving it the old if statement and asking it to get rid of "bc" :-) I could of course also have used a plain if [[ $ratio -lt 25 ]] but I think the double parens were nice


schedule: introduce waiting operators

What problem does this PR solve?
This is a rough draft of scheduling limit.
What is changed and how it works?
This PR containing the changes lists as following:

removes the global limit of all scheduler and uses a *Inflight for each scheduler to control the number of generated operators.

adds waitingOperators structure which is temporarily implemented by map. The newly created operator will be firstly added into the waitingOperators. And then according to the condition, it will be promoted to the runningOperators which has the same functionality with the original operators.
Here are the conditions which can trigger the promote mechanism:

When Dispatch a region, it will first check if there is an operator in runningOperators. If not, it will check the waitingOperators . lt try to promote the operator in waitingOperators which is not timeout.
It will try to promote an operator once it has been created.
It will try to promote an operator once the current operator in waitingOperators has been replaced.
It will try to promote an operator after removing an operator from runningOperators.

for each store, uses storesCost to control the number of concurrent operators running in a specified store.

uses both exceedStoreCost and getScheduleCost to decide if an operator can be put into runningOperators.

Check List
Tests

Unit test
Integration test
Manual test

Code changes

Has configuration change

Side effects

Breaking backward compatibility

Related changes

Need to update the documentation
Need to update the tidb-ansible repository
Need to be included in the release notes

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0690cea). Click here to learn what that means.
The diff coverage is 66.42%.

@@            Coverage Diff            @@
##             master    #1304   +/-   ##
=========================================
  Coverage          ?   67.36%
=========================================
  Files             ?      158
  Lines             ?    15508
  Branches          ?        0
=========================================
  Hits              ?    10447
  Misses            ?     4117
  Partials          ?      944

Impacted Files
Coverage Δ

server/schedulers/scatter_range.go
77.77% <0%> (ø)

server/schedulers/balance_leader.go
95.78% <100%> (ø)

server/store_statistics.go
84.95% <100%> (ø)

server/schedulers/balance_region.go
83.49% <100%> (ø)

server/schedule/namespace_checker.go
78.33% <100%> (ø)

server/schedulers/random_merge.go
60.52% <100%> (ø)

server/config.go
83.28% <100%> (ø)

server/coordinator.go
84.55% <100%> (ø)

server/schedulers/grant_leader.go
88.57% <100%> (ø)

server/schedule/operator.go
91.52% <100%> (ø)

... and 16 more

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 0690cea...d9cd485. Read the comment docs.


Use cargoHash in buildRustPackage crates with SRI hashes

Motivation for this change
We now have cargoHash (as a replacement for cargoSha256) for SRI
hashes. So, use it in derivations that use a SRI hash for vendored
Cargo dependencies.
This change does not update rust-analyzer. It also requires changing
the update script, which relies on nix-prefetch, which returns non-SRI
hashes (didn't have time to look deeper). (@oxalica)
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Did you forgot to commit something?

Did you forgot to commit something?

Did you forgot to commit something?

I didn't forget anything? Like the description says, this commit changes derivations that use cargoSha256 with an SRI hash to use cargoHash. See #103118. This should have no side effects (rebuilds).

Did you forgot to commit something?

I didn't forget anything? Like the description says, this commit changes derivations that use cargoSha256 with an SRI hash to use cargoHash. See #103118. This should have no side effects (rebuilds).

@danieldk please fix the merge conflict.

@danieldk please fix the merge conflict.

@SuperSandro2000 rebased

@SuperSandro2000 rebased


Indented methods' CodeLens: documentation link doesn't work

BUG  - CodeLens for indented methods adds extra %09 characters (tabulators) in the URL.
When the "Unity Event" CodeLens link is clicked, it leads to a broken URL.
Example: When clicking on Start's documentation link, it opened https://docs.unity3d.com/ScriptReference/MonoBehaviour.%09Start.html
It looks like there is an unwanted %09 (tabulator) character in the link. This only happens when the line with the method name is indented (suggesting a mistake in the URL cutter thing in the source), and is NOT exclusive to Start.
Doesn't work:

Works:

I can't reproduce the bug. I don't think it is necessary though, as I am currently rewriting the project.

Oh OK, it's not critical anyway.


Feature/games get

Due to a known issue with latest sonarcloude-scan-github update, merge without successful sonar scan.


Behavior of joining paths starting with "/" is unnatural

I think the following joining behavior is unnatural.
let path = Path("/usr/bin") + Path("/swift") // becomes "/swift" instead of "/usr/bin/swift"

Implemented here:
https://github.com/kylef/PathKit/blob/62dca49ee33b16f209b9f2074d109e0a7191ae9e/Sources/PathKit.swift#L668
I think it is common to build paths with, left hand side not ending with "/" and right handing side starting with "/".

I disagree that this is unnatural, it's actually consistent with many other languages and join implementations. It's exactly how I'd expect it to work.
Could you perhaps explain your use-case a bit more so we can try and find a different solution? Why would your right hand have a slash in it already? You shouldn't write your code as you did, but instead:
let root = Path(Path.separator)
let usrBin = (root + "usr") + "bin"
let swift = usrBin + "swift"

If you're supporting multiple platforms, you cannot rely on the fact that / is the separator, it could be something else such as \. The whole point around this API is to join paths without hard-coding "/" as a string everywhere.
Python
https://docs.python.org/3.5/library/os.path.html#os.path.join

If a component is an absolute path, all previous components are thrown away and joining continues from the absolute path component.

>>> from os import path
>>> path.join("/usr/local", "/swift")
'/swift'

Ruby
Can't find a statement in the documentation, but you can see the behaviour is the same:
> Pathname.new('/usr/bin').join('/swift')
=> #<Pathname:/swift>

Cocoa (NSURL)
Again, I can't find a part of the documentation, but here is the behaviour.
NSURL(fileURLWithPath: "/swift", relativeToURL:NSURL(fileURLWithPath: "/usr/bin"))
// --> file:///swift

Thank you for explaining in detail.
I see you're pretty right that it's consistent and natural.
I had one counter example in mind.
let basePath = NSURL(fileURLWithPath: "/base/path")
let path = basePath.URLByAppendingPathComponent("/some/path")
// --> file:///base/path/some/path

Anyways, my use case is…
I have some generated swift code that I can't control, and has let path = "/some/path" in it.
And I need to concatinate it to a let basePath = Path("/base/path").
With the current implementation, I need to String(path.characters.dropFirst()) before concatination.
These paths are acutually part of a URL, so I don't need to worry about path separators.
Would you say this is not a use case for PathKit, or am I missing a better approach using PathKit?
Thanks in advance for advice.

I found this behaviour in Ruby.
base_path = "/base/path"
path = "/some/path"
result_path = File.join(base_path, path) // => /base/path/some/path

I think, at least there are some demands for this style of concatination.

Boy, I don't want to see debate about this when Apple or somebody brings Swift to Windows... (slash and backslash works both, drives' letters etc.)


language server error

when I try to run language_server_windows_x64.exe
found this question:
I0717 14:34:07.817767 27116 server.go:604] Child process acquired lock file C:\workspace\program\cygwin\tmp\child_lock_1721198045225073300_5898481218764976816
E0717 14:34:07.826275 27116 api_server_client.go:201] Ping error: unavailable: dial tcp <IP_ADDRESS>:50001: connectex: No connection could be made because the target machine actively refused it.
E0717 14:34:08.706157 27116 api_server_client.go:261] GetConfig error: unavailable: dial tcp <IP_ADDRESS>:50001: connectex: No connection could be made because the target machine actively refused it.
E0717 14:34:09.714415 27116 api_server_client.go:261] GetConfig error: unavailable: dial tcp <IP_ADDRESS>:50001: connectex: No connection could be made because the target machine actively refused it.
E0717 14:34:10.727118 27116 api_server_client.go:261] GetConfig error: unavailable: dial tcp <IP_ADDRESS>:50001: connectex: No connection could be made because the target machine actively refused it.
E0717 14:34:11.380764 12580 cmd_wrapper.go:265] LanguageServer wait failed: timed out while waiting on process 27116 at 0717 14:34:11.380764, sent SIGTERM then SIGKILL

the codeium version is:
let s:language_server_version = '1.8.80'
let s:language_server_sha = 'ea9a89028334feda7d7ab8900d5f1d58e2f7c361'


result object

When the image gets generated the result object has the name as the full path. Anyone else have this issue?
Can you remove the process.cwd() from the outDir on index.ts#L87?
{
root: '',
dir: '',
base: 'H:\\blocks\\node\\.out\\dd8ada90-55…4e32-5408-4331-834f-74d3cca0c1ce-0-1088143682.png',
ext: '.png',
name: 'H:\\blocks\\node\\.out\\dd8ada90-55…28c64e32-5408-4331-834f-74d3cca0c1ce-0-1088143682'
}

that sounds like technically a breaking change, would need to either add an option or wait for a major version bump

also doesn't really seem necessary, so I don't think I'll do anything here


Add examples from TPC-H

Which issue does this PR close?
This PR does not close #440 but it helps to address one part of it.
Rationale for this change
One of the difficulties for new users to DataFusion is to find helpful examples. This PR adds in a series of examples that are based on the queries performed for the TPC-H benchmark. Those are known examples and we have a script in place to generate data for users to work with. By adding these examples, we will give new users both dataframe to work with and a series of examples showing Data Fusion in operation.
What changes are included in this PR?
This PR makes one change to the generator script to update it's docker image location.
All other changes are within the examples folder.
Are there any user-facing changes?
No user facing changes.

These examples are looking really nice @timsaucer. Don't feel that you have to wait until all of them are implemented before we start merging into main. We could do this in stages if you like.

Thanks for the feedback. I am seeing a few differences between a couple of the results I'm getting and what's in the answers file, so I want to get those resolved before committing. I also want to put something in the readme pointing out which examples contain different features to make it easy for people to find things. At the rate I'm going, I'll probably have the last 10 done before mid week.

I've added to the main readme in the examples folder, so I think this PR is good to go pending review.


Speed up docker builds

Summary
Both of the Umee docker file re-download all the go libraries every time any files are updated because all the files are copied over first before go mod download is ran. We should copy just the go.mod and go.sum files over first, run go mod download, and then copy over the rest of the application so when the image is rebuilt after some of the application files are changed it skips the very long process of downloading all the go libraries again unless the go.mod file has changed.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

@robert-zaremba This need to be done for the go.mod from the price feeder as well. Or we can wait until Ojo is ready and the pull out the price feeder anyways.

I've updated the contrib/images/price-feeder.dockerfile. Is tthere anything else missing @zarazan ?

The docker build will still install a bunch of go packages after making non-package related changes. I'll try to diagnose it sometime soon. The goal is to reduce the time it takes to rerun the tests locally after making changes.

What kind of changes? We are copying the whole directory. So if you change any file in that directory it will force rebuild and every step after COPY . .

I don't think there is a clear way to optimize that. You would need to manually list all go files we want to copy. And that will be in multiple steps to preserve the the directory structure.

My assumption is that there is still stuff we can move before the COPY . . command. I'll play around with it when I get some free time soon.


BufferedAudioUnit as base class for AKAudioUnitBase and AKGeneratorAudioUnitBase (again)

This is re-introducing the changes originally made in https://github.com/AudioKit/AudioKit/pull/1579. There was an incompatibility with AKSampler where notes would seemingly hang, so the existing base classes were reverted in https://github.com/AudioKit/AudioKit/pull/1587.
The issue was that the existing base classes zeroed out the output buffer before rendering, whereas the new base class does not. This is addressed by zeroing the output buffer before rendering in AKSamplerDSP->processWithEvents.

This looks good. Any followups and edits can be added later.


Use core.Object instead of core.dynamic.

Re-generated with updated generator.

Dropping this one. core.dynamic is correct according to the language team, so hopefully analyzer and DDC will fall in line eventually...


Fixes made changes #460

"zhmc ldap delete" fails with TypeError #460 fixed

There were the following issues with your Pull Request

Commit: 1586fec97b01ed7cade90fb998c1c1ea9bbe0d77

Invalid signoff. Commit message must end with
Signed-off-by: . <.*>*

Commit: 4faf7cca979ea088ed49a29f637cb3827e80e1e1

Invalid signoff. Commit message must end with
Signed-off-by: . <.*>*

Guidelines are available at https://github.com/zhmcclient/zhmccli/blob/master/CONTRIBUTING.rst

This message was auto-generated by https://gitcop.com

I found that I had to approve the test workflow for it to run.

@nexuspy Since PR #476 has now been provided that addresses the issue, and since you were not reacting to the review comments, I am closing this PR as a duplicate. Thanks anyway for the attempt!


correctly parse floats in scientific notation (Fix #5267)

well, that was easier than expected...
Fixes #5267

What about 1e5? It should likely not be parsed as float but as int.

@akien-mga : not even C++ would parse it to int.


Fixed gnome and mate clipboard format synthesizers

@pnowack found the culprit. half done support for older clipboard formats

@pnowack ok, interesting. which format do you get?
I´ve tested with a few files from my download folder and only got the ones I did request.
Nice catch with the typo ;)

@akallabeth The x-special/gnome-copied-files format is used here (nautilus 43 is the producer). I just reconnected to the server and it did not happen this time (when copying one file).
However, then I copied the file again (same connection), then copied the file again, deleted the file on the server side.
Since it is a new file list, the cached data on the server is also deleted, then I pasted it again and the file was copied + I got a dialog for replacing the file.
So, it seems, that the old list is not cleared, when the selection on the client side changes.

Did a quick test: It seems, that not the copied file is used for the file list, but also its parent instead. E.g. if I copy a lone file, which is in a folder containing 100.000 files, then the resulting file contains that parent folder, with its files.

Can't reproduce that bug any more and I cannot find any indicator for that as bug in FreeRDP for this.

LGTM


Use list_for_each_safe for freeing up http_header_list

This fixes a corruption because of using unsafe list_for_each for freeing up the data.

Hello @ycyang1229, Does this look good to you? If yes,  I can raise the fix at main repo as well.

Please reach out to @awsblake


Include files in the package root

Cannot include files in the package root (i.e. LAMBDA_TASK_ROOT/lib).
The LD_LIBRARY_PATH environment variable is used to store helper libraries and function code.
The LD_LIBRARY_PATH environment variable contains /lib64, /usr/lib64, LAMBDA_TASK_ROOT, LAMBDA_TASK_ROOT/lib.
https://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html

Succeed to add files in package root by adding to serverless.yml the following code:
package:
  individually: true
  include:
    - lib/**


Can't create FKs using foreignIdFor on not auto-incremented IDs

Laravel Version: 9.35.1
PHP Version: 8.1.11
Database Driver & Version: MySQL 5.7

Description:
Method foreignIdFor on Illuminate\Database\Schema\Blueprint not working with not incremented IDs.
I really hope I'm not miss understanding the problem and it's not intended to be this way.
I wasn't able to find a logical explanation of why this check is needed...
public function foreignIdFor($model, $column = null)
    {
        if (is_string($model)) {
            $model = new $model;
        }

        // -------------------------------------------------👇
        return $model->getKeyType() === 'int' && $model->getIncrementing()
                    ? $this->foreignId($column ?: $model->getForeignKey())
                    : $this->foreignUuid($column ?: $model->getForeignKey());
    }

Steps To Reproduce:
Create a migration with the table that does not increment the id:
(I do that because the brands are imported and I want to maintain original IDs)
Schema::create('brands', function (Blueprint $table) {
    $table->unsignedBigInteger('id')->primary();
});

Use the model class in the foreignIdFor helper method:
 Schema::table('cars', function (Blueprint $table) {
    $table->foreignIdFor(Brand::class)->nullable()->constrained()->nullOnDelete();
});

Temporal solution:
I get that it can be solved just defining the relation manually. I just prefer using helper methods when it's possible 🤷♂
Schema::table('cars', function (Blueprint $table) {
    $table->unsignedBigInteger('brand_id')->after('id')->nullable();
    $table->foreign('brand_id')->references('id')->on('brands')->nullOnDelete();
});

p.s.: Also would really like to know why that check should be there if I'm missing something.

@driesvints will do, thank you for getting back to me! Is there any explanation why, just curious?

I don't have any, sorry.


âœ½ symbol in exception stacktrace.

Describe the bug
The 'âœ½' symbol is displayed in the stacktrace of the 'scenario-detail' page. This is on the line detailing the feature file location details. I am using the version 2.5.0, on windows.
To Reproduce
Steps to reproduce the behavior:

Run tests with a failing scenario.
Click on failing scenario to get details.

Expected behavior
The '?' or '✽' should be displayed. Seen the '?' in other reporting solutions but cucumber console displays '✽'. The later seems to be the correct, as per this - https://utf8-chartable.de/unicode-utf8-table.pl?start=9920&number=128&names=-&utf8=char. The relevant symbol is third from the bottom.
Maybe decoding the error_message byte array, by using the UTF_8 Charset could fix this.
Attachments

Cucumber JSON report :
result": {               "error_message": "java.lang.AssertionError: error\r\n\tat stepdefs.Stepdefs.throwException (Stepdefs.java:48)\r\n\tat âœ½.Throw exception(classpath:stepdefs/experiment.feature:15)\r\n",
Additional context
Add any other context about the problem here.

Thanks for reporting this - will look into it for the next release.

This is just taken from the json as is. So the error must be before the report generation which is out of Cluecumber's scope.


Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections4:4.4

Task Description
We need to upgrade commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections4:4.4. Please, note that this will probably require code changes as well.
Tasks
The following tasks will need to be carried out:

[ ] Update the version in the strongbox-parent project.
[ ] Apply any required code changes, or dependency excludes.
[ ] Test and confirm that there are no issues with the core projects (strongbox, strongbox-web-integration-tests, etc) after upgrading.

Task Relationships
This task:

Relates to:  #1847 , #1859 , #1860, #1861

Help

Check our article on how to upgrade dependencies and plugins.
Our chat
Points of contact:

@carlspring
@sbespalov
@steve-todorov

GHC, @carlspring please assign to me this task. thank you!

Hi @shiylxinsse ,
Feel free to pick it up and dig into it!

Hey @shiylxinsse - did you perhaps forget to push your changes or maybe you are no longer interested in this task? :)

@steve-todorov my apologies for the late response. I'm working on it and will send a PR soon. I also noticed that the commons-collections have already been replaced with commons-collections4 in issue-1262 PR. This PR will be a minor release upgrade.

Thanks for double-checking and looking into this!
I'm looking forward to seeing your pull requests! :)

I suggest you rename the issue to reflect that it is only an upgrade from version 4.3 to 4.4 of commons-collections4, to reflect the change properly and prevent confusion.
I'll give you a pull request for this to get things moving again.


Allow additional module registration during package resolution

Currently we only register the default SLE Micro product during package resolution when SCC code is specified. This is not enough to fetch RPMs under additional product modules e.g. SL-Micro-Extras/6.0/x86_64.
To achieve this, specifying the following parameter of SUSEConnect should be set:
    -p, --product [PRODUCT]  Specify a product for activation/deactivation. Only
                             one product can be processed at a time. Defaults to
                             the base SUSE Linux Enterprise product on this
                             system. Product identifiers can be obtained
                             with `--list-extensions`.
                             Format: <name>/<version>/<architecture>

As a workaround in the meantime:

Spin up a fresh SUSE Linux Micro with the same version needed
Register it
Activate the module/product required, for Extra for example:

transactional-update register -p SL-Micro-Extras/6.0/aarch64

Reboot
Run a temporary and unsupported shell to download the required packages:

transactional-update shell -d
...
zypper in --download-only traceroute
exit

The packages should be in the /var/cache/zypp/ folder:
find /var/cache/zypp/ -iname "*traceroute*"
/var/cache/zypp/packages/SUSE_Linux_Micro_6.0_aarch64:SL-Micro-6.0-Pool/aarch64/traceroute-2.1.3-1.3.aarch64.rpm

We discussed this in voice, but to capture the outcome:
The fact that the repo URL contains the version number causes a headache. If it was as simple as saying "SL-Micro-Extras", or even with the arch, we could easily add this into the template.
The problem comes with the fact that the SL Micro version is in the string. We don't have any way inside of EIB to either detect or have the user specify the version of Micro.
The initial plan for 1.2 (with a backport to 1.1) was going to be to hardcode the 6.0 string in the RPM resolution and then revisit in the future when we had more time to think of a clean solution. Now it sounds like 6.1 is a requirement for EIB 1.2, which means we need to figure out a more robust solution than we had hoped.

A possible option instead of adding the version to the definition is to auto-detect it. I worry about the reliability of it, but for the interm (6.0, 6.1, plus the near future), we can probably use /etc/os-release:
6.0
cat /etc/os-release | grep VERSION
VERSION="6.0"
VERSION_ID="6.0"

6.1 Beta 2
cat /etc/os-release | grep VERSION
VERSION="6.1 Beta2"
VERSION_ID="6.1"

Obviously the Beta2 is a beta, but VERSION_ID should work, at least for the time being. We can access that file from the unsquashed raw image, it's just going to be a bit ugly to rip it out and pass it around EIB. I'll play with some ideas.

Another option would be to make the user responsible for putting those correctly. At the end of the day it is similar to the repository string that has also a version.

It's an option, but IMO the last one. Once we put something into the API (i.e. image definition), it's much more difficult to remove. Until we see how many of these separate repos 6.x introduces, I'd rather not pollute the definition and have to deal with the longstanding backward compatibility headaches.

Update: The EIB 1.2 release will only support 6.0 and not 6.1, which means for this bug the solution is simple. Once it's resolved I'll open another to pursue the approach of deriving the URL programmatically.


Add Example data

Is it possible to add some example data, or even fake data, so people who want to develop/test out the library, but don't perhaps have access to typical RESQML projects?

Thanks for this suggestion Duncan (also requested by Brennan Williams). We will add some small synthetic data sets to the repository.

I think we could take inspiration from seaborn, and include a simple helper method in the main resqpy library to make example datasets available, by just fetching from github:
https://github.com/mwaskom/seaborn/blob/e04b07eb3df135511e71e556c2bd34ef59ba08ba/seaborn/utils.py#L441

This looks like it was done with #59, as well as with the test data and tutorials so I'll close the issue


TypeError: object of type 'map' has no len()

Because python2's map function is different from python3's.
Try to modify line 86 in main.py to walks = [list(map(str, walk)) for walk in walks]

Because python2's map function is different from python3's.
Try to modify line 86 in main.py to walks = [list(map(str, walk)) for walk in walks]
If you run main.py with python2,it worked without modifying the code
@ranzeng


[Server] Create SearchController.java

Details
When search bar is complete we should be able to leverage the search to find bookmarks and tags.
Requirements
Create rest mappings for the following.

[ ] Create endpoint mapping /api/search
[ ] /api/search/tags

Search for bookmarks with a given tag.

[ ] /api/search/title

Search for a bookmark based on words in the title.

[ ] /api/search/text

Used for full text search.

Implementing these functions will be done by subsequent issues.

@R-Sandor I am interested in working on this issue. Can you assign this to me?

@apurvabanka Certainly, Thank you for helping FindFirst! :rocket:


Watch option doesn't work?

grunt.config.set('browserify', {
        app: {
            options: {
                debug: false,
                watch: true,
                transform: [
                    ['reactify', { es6: true }],
                    ['uglifyify', { global: true }]
                ]
            },
            src: 'src/app/index.js',
            dest: 'dist/assets/js/bundle.js'
        }
    });

It works like I've not specified watch property.

Ok, I found that keepAlive have to be specified too. Can you update a documentation to mention this?

:+1: to including this in the docs


Feature/dotnet 6

Removing unsupported frameworks - .NET Standard is all you need now.
Update support apps to .NET 6.0.
Update outdated dependencies

Nice work. Thank you!


Modal doesn't hide if hide is called during show animation

Hi,
because of this lines (modal.js 160-162)
if (this._isTransitioning || !this._isShown) {     return; }
if you invoke modal('hide') before it has ended the show animation it won't hide.
I wasn't able to understand if this was a design choice or some bug preventing, I tested it removing the return and it hasn't shown any problem, the modal hides before the animation has ended.
I was updating my application to 4 beta and noticed that most of the modals weren't closing anymore at the end of a loading.
Regards

@maestroosram why would you show the modal and then hide it again before it is shown? Why not just don't show the modal in the first place?

I often use modals to show status messages, for example during an ajax call: in this case I show a modal with an .alert-info message "Loading..." and then at the end of the call I hide the modal. If the call is too fast the ajax callback will call the modal hide before the modal is totally shown and it won't hide anymore.
I quickly resolved this for myself because I don't call the modal('hide') directly but I use a mask method:
$(this).on('shown.bs.modal', function() {     $(this).modal('hide'); }).modal('hide');
but in general I thought this could happen to more users so I opened the issue.

My suggestion...
Having a modal appear and disappear, even if the ajax response is too fast makes for a confusing user experience.  It would be suitable, in my opinion, to allow the modal to open, and provide some status indication that the loading was successful in addition to adding some timing or a manual way out of the modal.  Therefore any hide attempt should be suppressed until the AJAX completes in some way, shape, or form.

@maestroosram, big thanks for solution!

@maestroosram your solution works great for most of the cases. But, there is one drawback: if the modal was closed after modal is shown (which means not using the mask, only .modal('hide') part), the event listener (mask) will be already set. Then, in the next modal('show'), it'll close the modal immediately.
Maybe we should also unbind '.shown.bs.modal' on '.hidden.bs.modal'.

For me, it's not an issue or a bug here, it's a choice we made, it's written everywhere in our documentation our methods are asynchronous (example) so you have to listen to our events.
BTW if you want to cancel an event, we have different state of events for example: show.bs.modal and shown.bs.modal.
When shown.bs.modal is triggered your modal is fully shown but when show.bs.modal is triggered your modal will be shown, so you can preventDefault this event.
Example:
var $myModal = $('#myModal')
$myModal.on('show.bs.modal', function (event) {
  event.preventDefault();
  // your modal won't show
})


Adds flushing after each buffer write in case of text/event-stream

Adds flushing after each buffer write in RestClientProxyExchange in case of text/event-stream to fix issue https://github.com/spring-cloud/spring-cloud-gateway/issues/3410

Thanks for your review, I've added tests for the flushing behavior. Unfortunately, it is unpredictable in a stream how many flushes there are. So I mocked Input- and Outputstream completely.

I refactored things to allow the customizing of streaming media types like in the webflux server 5b73fdb5fe46555b1918c5173050bcc47c016c6a


PSP: clarify the difference between the case when pod is being created by a user and a service account

This partially addresses https://github.com/kubernetes/kubernetes/issues/49024
PTAL @pweil- @liggitt @simo5 @strowi

This change is

thx, that clarifies a little bit for me. But there is another weird behaviour that i noticed. Not sure if this belongs to psp-documentation, or a new bug?
Using the following policies with the examples, a restricted user can create a daemonset without specifying a serviceaccount and won't be restricted (e.g. use  ports < 3000, privileged-mode, etc).
Does Kubernetes only check for the existence of keys or the value too?
apiVersion: extensions/v1beta1
kind: PodSecurityPolicy
metadata:
  name: privileged
spec:
  privileged: true
  runAsUser:
    rule: RunAsAny
  fsGroup:
    rule: RunAsAny
  seLinux:
    rule: RunAsAny
  supplementalGroups:
    rule: RunAsAny
  hostIPC: true
  hostPID: true
  hostNetwork: true
  hostPorts:
  - min: 0
    max: 65535
  volumes:
  - '*'
---
apiVersion: extensions/v1beta1
kind: PodSecurityPolicy
metadata:
  name: restricted
spec:
  privileged: false
  runAsUser:
    rule: RunAsAny
  fsGroup:
    rule: RunAsAny
  seLinux:
    rule: RunAsAny
  supplementalGroups:
    rule: RunAsAny
  hostIPC: false
  hostPID: false
  hostNetwork: false
  hostPorts:
  - min: 30000
    max: 65535
  volumes:
  - 'emptyDir'
  - 'gitRepo'
  - 'secret'
  - 'nfs'
  - 'persistentVolumeClaim'
  - 'downwardAPI'
  - 'configMap'
  - 'projected'

Not sure if this belongs to psp-documentation, or a new bug?

@strowi I have too few information to say something for sure:

how do you run kubernetes?
do you use local-up-cluster.sh script?
which version of kubernetes do you use?
how exactly do you create a pod? The command is important because if you run it against unsecure port, then you will have privileged pemissions
could you inspect a pod and check what PSP has been applied? (kubectl get pod <pod> -o yaml | grep psp)

Also it's better to move the discussion to a better place.

@php-coder Sorry, mixed up the 2 threads..:

kubernetes 1.6.6 is run via coreos/matchbox
kubectl is always run against the secured api-port with rbac enabled
for the pods created by a deployment the privileged psp is being used, don't really know why, there is no reference to any privileged role etc.. anywhere.

I can happliy supply more info if needed, but don't want to spam..
Would love to move it, where is a better place ?;)

@strowi Create an issue in this repo, because docs outdated anyway (I see that ALLOW_ANY_TOKEN was completely removed from the k8s some time ago, for example).

Done -> #4457

@pweil- @liggitt PTAL

/lgtm

@chenopis It's ready to merge. PTAL

Resolved a conflict by update a link.

Deploy preview ready!
Built with commit<PHONE_NUMBER>06f3ef8767104a96b556eb8ac9cad6
https://deploy-preview-4423--kubernetes-io-master-staging.netlify.com


Handle schemas on to object

Windows test FAILed.

Linux test PASSed.

Windows test FAILed.

Linux test PASSed.

Windows test FAILed.

Linux test PASSed.

Windows test PASSed.

Linux test PASSed.


Bug: ng test --code-coverage doesn't display spec results in the browser in CLI rc2

OS
Mac  OSX Sierra 10.12.3
Versions
@angular/cli: 1.0.0-rc.2
node: 6.9.1
os: darwin x64
@angular/common: 4.0.0-rc.5
@angular/compiler: 4.0.0-rc.5
@angular/core: 4.0.0-rc.5
@angular/forms: 4.0.0-rc.5
@angular/http: 4.0.0-rc.5
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.0-rc.5
@angular/platform-browser-dynamic: 4.0.0-rc.5
@angular/router: 4.0.0-rc.5
@angular/cli: 1.0.0-rc.2
@angular/compiler-cli: 4.0.0-rc.5
Repro steps.

Install RC2
Run ng test --code-coverage

The browser opens and the spec list does not appear

Run ng test

The browser opens and the spec list does appear

Install RC1
Run ng test --code-coverage

The browser opens and the spec list does appear
In all cases, the spec execution results are shown correctly in the terminal.
It seems there was a regression from rc1 to rc2 on this

Should be fixed with https://github.com/angular/angular-cli/pull/5514

Closing as dupe of https://github.com/angular/angular-cli/issues/5136


Split each spinner into a feature

Most people only need one or two spinners. Instead of having the user install all 80+ spinners, we can use features so that they only need to install the specific spinner they want.
With this change, iterating over all spinner variants will not be supported out of the box and, instead, will need to be implemented by the user. People installing all 80+ spinners will also have a slightly larger crate to install (due to the individual implementations for each spinner). Still, this crate will be able to drop maplit and strum as dependencies, as they will no longer be necessary.
However, this change has a delightful side effect of allowing SpinnerFrames data to be decoupled with the core of the crate itself. Users, if they so wish to, will now be able to implement and run their custom spinner using a macro provided by this crate while still reaping the ergonomics that this crate offers, allowing for much more extensibility.
We can easily achieve this without changing the interface by using macros and tweaking the library just a bit; We can also have the default feature set to all to ease the transition.
An example of what it could look like:
// The generated code (from the macro) could have an empty struct, a way to
// convert the struct into `SpinnerFrames`, and the actual static value itself.
pub struct Dots;

impl From<Dots> for SpinnerFrames {
    fn from(_: Dots) -> SpinnerFrames {
        DOTS_SPINNER.clone()
    }
}

static DOTS_SPINNER: Lazy<SpinnerFrames> = Lazy::new(|| SpinnerFrames {
    frames: vec!["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"],
    interval: 80
});

// If a user has the `dots` feature enabled, a new spinner could be created
// with the same interface as the current one
Spinner::new(Spinners::Dots, "Hello world!", None);

What do you think?
I already have a fork for https://github.com/FGRibreau/spinners implementing this change, so adjusting it and porting it to this crate should be easy. If you don't have any fundamental objections, I would like to submit a PR, though, I fully understand if you don't want this.

Hi, amazing idea! I've been thinking of implementing custom spinners for quite a long time, however I didn't have enough free time to work on it.  With how I understand this, it looks good. If you want, send in a PR and I'll look at it.
One question though, will we need to create a macro for every already set spinner variant in advance?

Yeah, I think we should.


what is the logic of the real time inference

Q1: how to copy with the first wave?
Q2: how to terminate the program?
Q3: how to achieve a real-time performance?

Q1 and Q2 can be solved by adding a switch.

Logic flow of the real-time inference
Step 1 Capture the audio

use a microphone to capture the audio
use Python to store this voice in some meas

Q1: how to connect microphone and Python?
Q2: how to store the voice in Python?
Q3: how to specify the format of the captured audio?

How to terminate the program
Init the program

[ ] how to automatically select the external input and output device?
[ ] how to tell the machine we begin the program? like, "hi, Siri" #


feat: launch apiserver in llamaindex/llama-deploy container.

Previously the entrypoint of the default container lamaindex/llama-deploy was designed to simplify the compose files under examples. WIth this PR, we start optimizing the container for deploying the apiserver in a production environment.
Example:
$ docker run -p 4501:4501 llamaindex/llama-deploy:local
INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:4501 (Press CTRL+C to quit)

From another shell in the same host:
$ python -m llama_deploy.cli status
Llama Deploy is up and running.

Currently there are no active deployments

Note this is not breaking for the examples, that are pulling version v0.1.3 of the image, and that will keep working. We might still need to adjust them at some point so they can use the new image.

Merging to unblock myself, I'll adapt existing examples later


Section on creating a certificate is unclear

Section "Obtain a certificate"
Step 2 - it's not clear here e.g. "Tap Windows Key, type Manage User Certificates and open the Credential manager, then Open" would be better
Last steps are missimg - Step 6 could be followed by something like "Step 7: Choose a folder and filename to export the file to and press Next then Finish to export the certificate"

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

ID: 7f4e153e-0fe3-2f8f-58b9-0402e3d11951
Version Independent ID: 8f7af191-8ac1-ac6c-a733-0216075373ee
Content: Configure Azure Active Directory B2C as a SAML IdP to your applications
Content Source: articles/active-directory-b2c/saml-service-provider.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@rikgarner
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.


Two adapters have identical parameters plug in the same model but get different outputs

Environment info

adapter-transformers version: 2.2.0
Platform: Linux-5.4.0-87-generic-x86_64-with-debian-buster-sid
Python version: 3.7.12
PyTorch version (GPU?): 1.10.1+cu113 (True)

Details
Recently I use your package in my research and it really works well and helps me a lot, thanks for your work!!!
And I have a problem now...
My work steps(how did I get the strange results):

I add an adapter to bart-base and train the adapter called 'nonstyle'.(main code is below)

model.add_adapter("nonstyle",config = AdapterConfig.load("pfeiffer",leave_out = [0,1,2,3,4,5]))
model.train_adapter("nonstyle")
model.set_active_adapters("nonstyle")

then use Seq2SeqAdapterTrainer to train and use model.save_adapter() to save adapters
2. Then I add the adapter 'nonstyle' to bart-base, freeze the adapters and decoder layers of the model, only train the encoder layers. Output the model(without adapter) called 'encoder-FT' and its adapter called 'nonstyle2'.(main code is below:)
model.load_adapter('xxx/nonstyle')
model.set_active_adapters('nonstyle')
    (fix adapters and decoder, fine tune encoders: adapters are only plugged in decoders by 'leave_out')
for module in model.base_model.decoder.layers[0:6]:
    for param in module.parameters():
        param.requires_grad = False
for module in model.base_model.encoder.layers[0:6]:
    for param in module.parameters():
        param.requires_grad = True

After training, save the adapter called 'nonstyle2', delete the adapters and save the model called 'encoder-FT'.

I try to check if the adapters were changed in the training, so I load encoder-FT and add nonstyle to 'encoder-FT' then activate it. But get different results from encoder-FT with 'nonstyle2'.

from transformers import BartTokenizer,BartForConditionalGeneration
model = BartForConditionalGeneration.from_pretrained("xxx/encoder-FT")
model.has_adapters()
False
model.load_adapter("xxx/nonstyle2")
model2 = BartForConditionalGeneration.from_pretrained("xxx/encoder-FT")
model2.load_adapter('xxx/nonstyle')
tokenizer = BartTokenizer.from_pretrained('facebook/bart-base')
abstracts_eg = "u.n. inspectors will go to syria `` as soon as possible '' to probe chemical weapons use . they 'll look into 3 incidents , including one in which syria has accused rebel fighters . the u.s. believes syrian forces crossed a `` red line '' by using chemical weapons . more than 100,000 have been killed since syria 's civil war began over two yaers ago ."

inputs = tokenizer([abstracts_eg],return_tensors="pt")
model.set_active_adapters("nonstyle2")
model2.set_active_adapters("nonstyle")

summary_ids = model.generate(inputs["input_ids"])
print([tokenizer.decode(g, skip_special_tokens=True,    clean_up_tokenization_spaces=False) for g in summary_ids])
**['u.n. inspectors to go to syria to probe chemical weapons use']**

summary_ids = model2.generate(inputs["input_ids"])
print([tokenizer.decode(g, skip_special_tokens=True,    clean_up_tokenization_spaces=False) for g in summary_ids])
**["u.n. inspectors to go to syria ' as soon as possible ' to"]**

different outputs happened here

Then I check if the parameters of 'nonstyle2' has changed during the training.But I find the parameters seem to be identical!!!

for module in model.base_model.decoder.layers[0:6]:
    for param in module.parameters():
        list1.append(param.data)
for module in model.base_model.encoder.layers[0:6]:
    for param in module.parameters():
        list1.append(param.data)
for module in model2.base_model.decoder.layers[0:6]:
    for param in module.parameters():
        list2.append(param.data)
for module in model2.base_model.encoder.layers[0:6]:
    for param in module.parameters():
        list2.append(param.data)
for i in range(len(list1)):
    print((list1[i]==list2[i]).all())

All the returns are 'tensor(True)'
So the two models 'model'(encoder-FT + nonstyle2) and 'model2'(encoder-Ft + nonstyle) have identical params but output differently!?
Question:
1.Intuitionly, nonstyle and nonstyle2 should be the same, but they are different in fact.
2.Why the models with the identical params output different results?
3.Is the training code wrong?
4.Or is my method to check params and set params frozen wrong?
5.Other details I need to offer.

Other details
add nonstyle and then delete nonstyle, the model seems to be changed, while nonstyle2 not:
from transformers import BartTokenizer,BartForConditionalGeneration
model2 = BartForConditionalGeneration.from_pretrained("xxx/encoder-FT")
tokenizer = BartTokenizer.from_pretrained('facebook/bart-base')
abstracts_eg = "u.n. inspectors will go to syria `` as soon as possible '' to probe chemical weapons use . they 'll look into 3 incidents , including one in which syria has accused rebel fighters . the u.s. believes syrian forces crossed a `` red line '' by using chemical weapons . more than 100,000 have been killed since syria 's civil war began over two yaers ago ."
inputs = tokenizer([abstracts_eg],return_tensors="pt")
summary_ids = model2.generate(inputs["input_ids"])
print([tokenizer.decode(g, skip_special_tokens=True, clean_up_tokenization_spaces=False) for g in summary_ids])
**['u.n. inspectors to probe syrian chemical weapons use']**

model2.load_adapter('xxx/nonstyle')
model2.set_active_adapters("nonstyle")
model2.delete_adapter("nonstyle")
summary_ids = model2.generate(inputs["input_ids"])
print([tokenizer.decode(g, skip_special_tokens=True, clean_up_tokenization_spaces=False) for g in summary_ids])
**['u.n. inspectors to go to syria to probe chemical weapons use, report']**

Looking forward to your generous reply.

Maybe I find something related: load 'nonstyle' and other adapters trained by myself to model 'encoder-FT' will change model.base_model.shared.parameters() and model.lm_head.parameters() while 'nonstyle2' not. More over, even 'nonstyle' and other adapters are deleted from 'encoder-FT', the change of model.base_model.shared.parameters() and model.lm_head.parameters() reserved. And load 'nonstyle2' will fix it(recover to encoder-Ft without any adapter).
What's more, model.add_adapter("aaa",config = AdapterConfig.load("pfeiffer",leave_out = [0,1,2,3,4,5])) not change model.base_model.shared.parameters() and model.lm_head.parameters().
 So do the 'nonstyle2'(It will change the model's embeddings(lm_head) to 'encoder-FT' while loading it to another model).
Is it a bug? Or I can change some settings to avoid it? I store adapters and models in a same path, is it important?

..... I check the load_adapter() function and find there is a param: with_Head = True. And I think set 'with_Head = False' will fix the problem! XD


Open PDF Files directly from File Manager

Current Behaviour:
If I click on a pdf file in Samsung's file manager, PDFViewer opens file selector/directory view.
Expected Behaviour:
PDFViewer opens the clicked PDF file.
__
Device informations
Device: Samsung Galaxy S7
Android version: 8.0.0

This has already been fixed (#111), will come with the next release.

Perfect 👍