[swift_build_support] Fix crash in FreeBSD toolchain.

What's in this pull request?
Fixes a crash in the FreeBSD toolchain logic, which was reported here: https://github.com/kylef/swiftenv/issues/36
Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

Reported in https://github.com/kylef/swiftenv/issues/36

@swift-ci please Python lint

@swift-ci please smoke test

@swift-ci please Python lint

@rintaro Can you take a look at this, I think this was a bug introduced in b3dc7b74e210b633d4bee55e0275da658f39c066

@ddunbar Yeah, sorry for that bug.
LGTM.

@swift-ci please smoke test


docs: remove references to image manager

Description

Checklist

[ ] Read the contributing guidelines.
[ ] Each commit follows the Conventional Commit spec format.
[ ] Update the readme (if applicable).
[ ] Update or add any necessary API documentation (if applicable)
[ ] All existing unit tests are still passing (if applicable).

[ ] Add some steps so we can test your bug fix or feature (if applicable).
[ ] Add new passing unit tests to cover the code introduced by your PR (if applicable).
[ ] Any breaking changes are specified on the commit on which they are introduced with BREAKING CHANGE in the body of the commit.
[ ] If this is a big feature with breaking changes, consider opening an issue to discuss first. This is completely up to you, but please keep in mind that your PR might not be accepted.

Current dependencies on/for this PR:

next

PR #185   👈

This comment was auto-generated by Graphite.


Refactor graphs (PR 1)

Great, this looks like a good thing to factor out! Is the plan to move the other graph files to the output folder as well?


fixing 1 failing test

What changes were proposed in this pull request?
minor fix to resolve a failing UI test
How was this patch tested?
21110 passing (16s)
50 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3763/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3764/
Test FAILed.
Test FAILured.


TTGO-T4: Vehicule selection problem

I have a Kona 2020 64kw and to be able to select this vehicule, I need to chose the Kona 2020 39kw.  When I choose the 64kw version, the select button do nothing.

It's fixed.
https://github.com/nickn17/evDash/tree/master/dist


Refactor test structure

In this PR I propose a refactor of the tests in miden-base.
This enables better navigation and scalability of our codebase and follows more idiomatic rust conventions.
Closes: #434

@bobbinth, I would like to discuss with you the relevancy and the potential removal of the following test file in miden-tx:
https://github.com/0xPolygonMiden/miden-base/blob/main/miden-tx/src/tests.rs
This file declares 4 test functions:

test_prove_witness_and_verify:
https://github.com/0xPolygonMiden/miden-base/blob/b160b2cffe326befbae744610df508df1e6be26c/miden-tx/src/tests.rs#L256-L278

In this PR: https://github.com/0xPolygonMiden/miden-base/pull/438, we are adding tx proving to other tests, hence this functionality will be already proven multiple times and on more complex logics.

test_tx_script:
https://github.com/0xPolygonMiden/miden-base/blob/b160b2cffe326befbae744610df508df1e6be26c/miden-tx/src/tests.rs#L283-L327

This functionality is already thoroughly tested in multiple other tests where we create txs, example: https://github.com/0xPolygonMiden/miden-base/blob/main/miden-tx/tests/p2id_script_test.rs

test_transaction_executor_witness:
https://github.com/0xPolygonMiden/miden-base/blob/b160b2cffe326befbae744610df508df1e6be26c/miden-tx/src/tests.rs#L32-L63

test_transaction_result_account_delta:
https://github.com/0xPolygonMiden/miden-base/blob/b160b2cffe326befbae744610df508df1e6be26c/miden-tx/src/tests.rs#L65-L254

I am not fully sure that we have this functionality covered in other tests for these two tests. Could you let me know if you think that they are still relevant or not?

Closing this PR because it has been open for quite some time. Will refactor miden-base test structure in the future.


Remove measures from observations query

It seems like the measures resolver in the observations query is not used : https://github.com/visualize-admin/visualization-tool/pull/302#discussion_r796701637.

Fixed in #377.


Replace copyTree, getSubItems and copyItem with the stock recursive file copy function

This code existed when the install script was intended to ship with no dependencies beyond the Haskell core libraries.

Now using Distribution.Simple.Utils.copyDirectoryRecursive function. Note that this WAS ALWAYS IN THE CORE libraries and we could have used it at any time in the older script!


Automated cherry pick of #3165: fix: skip services without project resources when fetching project resources

Cherry pick of #3165 on release/2.11.
#3165: fix: skip services without project resources when fetching project resources

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@972c4f1). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.11   #3167   +/-   ##
==============================================
  Coverage                ?   7.15%
==============================================
  Files                   ?     476
  Lines                   ?   76846
  Branches                ?       0
==============================================
  Hits                    ?    5499
  Misses                  ?   70883
  Partials                ?     464

Flag
Coverage Δ

#aFlag
7.15% <ø> (?)

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 972c4f1...8474e62. Read the comment docs.


Change whisk.invoke into npm openwhisk

whisk.invoke and whisk.trigger will sunset soon. This patch changes the existing deprecated functions into using npm openwhisk.

note that it's not just whisk.invoke that's deprecated but all references to the methods it provided, including whisk.done and whisk.async. Quickly checked through the rest of the source and here's one more that needs to be ported:

packages/samples/helloAsync/javascript/helloAsync.js

@rabbah I have replaced all the whisk functions.


Guitar Pro parts export

Hi there, I've noticed some people are uploading the GP files to UG. Yet usually always the mods of UG make this comment: "4.8. Missing GP song parts. Please mark all parts of the song (Intro, Chorus, Verse, Solo, etc). In addition to Shift + Insert; In GP7 you can also use the Menu->Section->Edit; In GP6 you can use Menu-Section->Insert/Remove."
Would it be possible to change the export so that this happens?

Far as I remember, the tool already writes all available section markers from the original psarc to the output, so short of inventing some I wouldn't know what to do.
Either way, I'm afraid I cannot support uploading the produced files to UG or any other sites due to legal reasons. The tabs are property of Ubisoft and whoever holds the rights of the particular song. If you don't have explicit permission, I'd advise not sharing them :)

It does indeed export the 'section' but as text, this is what bothers the UG mods.
We don't share the Rocksmith OG tabs ofcourse, but our own Custom charts :) which are based on .. custom tabs found on UG

Ah. I vaguely remember that the way to define actual sections in GP files was not compatible with the way they were provided from the Rocksmith arrangement, so implementing this might be quite challenging. I'm afraid that I do not currently have the time available to dig into that.


Will break with etcd 3.2

I just tried etcd 3.2rc1, and while it still has the v2 API as a fallback, the /v2/machines call has been removed. It's used in this library if reconnects are enabled.

etcd has decided to revert: https://github.com/coreos/etcd/pull/8062

In any case, I plan to add proper support for etcd 3.x with an Api as
similar ad possible to the current one, using python-etcd3 as a base.
To that end, I'm contributing to the upstream project in the meanwhile to
add features we are used to with the current library. The goal is to make
it relatively easy to port your software to etcd3 without a complete
rewrite.
G.
Il ven 9 giu 2017, 20:39 Maik Zumstrull<EMAIL_ADDRESS>ha
scritto:

etcd has decided to revert: coreos/etcd#8062
https://github.com/coreos/etcd/pull/8062
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jplana/python-etcd/issues/244#issuecomment-307467817,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABaDYOOudxkc8_xmLSdq9HRfwlL0wGLsks5sCZFygaJpZM4N0Dok
.

Please refer to #232 for updates.


no issue - makinacorpus/query-builder:^0.1.10 BC break upgrade

Static analysis failed !

This should be fixed now.


fixed minor typos

Codecov Report

Merging #646 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #646   +/-   ##
======================================
  Coverage    71.3%   71.3%
======================================
  Files         137     137
  Lines       12871   12871
======================================
  Hits         9178    9178
  Misses       3693    3693

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 8078038...d2a4dff. Read the comment docs.

initialisation is valid English. Just not American English. ;)(
See: https://en.wiktionary.org/wiki/initialization
Two questions:

Could you rephrase the commit message to something like "Use American English for consistency."?
Further, if you see more spelling mistakes, I appreciate if it's just one commit that contains all fixes, rather then a one character pull request.

My bad there is nothing wrong with how it was spelled in the first place. Feel free to close the PR.
And yes squashing the commits sounds good


Initialize Blockchain Project using Hardhat

[ ] Create a folder named blockchain in the root of the project.
[ ] cd into the blockchain folder.
[ ] Follow the guide here to initialize the project. Please select the 2nd option (Create a TypeScript project).
[ ] Please do not remove the boilerplate code in the project. Mainly contracts/Lock.sol, tests/Lock.ts & ignition/modules/Lock.ts. We will be using it as reference as we go.
[ ] Commit and push your code(s) whiles you are at it.
[ ] Raise a PR to be merged once ready.

@mikehammond I want to take up this issue.

@mikehammond I want to take up this issue.

Sure thing @mickeymond I have assigned it to you.
Take it away.
Note that this issue is a dependency for all the blockchain issues so you need to go fast.


[Fixes] Renamed SQL MI instances

Description

Renamed SQL MI instances

Pipeline references

For module/pipeline changes, please create and attach the status badge of your successful run.

Pipeline

Type of Change
Please delete options that are not relevant.

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update to documentation

Closing as the deployment worked and only the removal is stuck on the test subscription's side


Logos have moved it seems

I think we also need to update the archive e.g helm package charts/metal3-deploy/0.1.0/ -d assets/metal3-deploy (until we resolve the issue preventing using chart-build-scripts for that ?

I think we also need to update the archive e.g helm package charts/metal3-deploy/0.1.0/ -d assets/metal3-deploy (until we resolve the issue preventing using chart-build-scripts for that ) ?

I think I did it (?) there is no reference to "cncf-branding.netlify.app" in the updated file (unless you are talking about anything different)

I think we also need to update the archive e.g helm package charts/metal3-deploy/0.1.0/ -d assets/metal3-deploy (until we resolve the issue preventing using chart-build-scripts for that ) ?

I think I did it (?) there is no reference to "cncf-branding.netlify.app" in the updated file (unless you are talking about anything different)

Maybe I'm missing something - AFAICS the tarball isn't updated by this PR, so if you untar assets/metal3-deploy/ metal3-deploy-0.1.0.tgz we still see the old path e.g:
./metal3-deploy/0.1.0/Chart.yaml:icon: https://cncf-branding.netlify.app/img/projects/metal3/icon/color/metal3-icon-color.svg

I think we also need to update the archive e.g helm package charts/metal3-deploy/0.1.0/ -d assets/metal3-deploy (until we resolve the issue preventing using chart-build-scripts for that ) ?

I think I did it (?) there is no reference to "cncf-branding.netlify.app" in the updated file (unless you are talking about anything different)

Maybe I'm missing something - AFAICS the tarball isn't updated by this PR, so if you untar assets/metal3-deploy/ metal3-deploy-0.1.0.tgz we still see the old path e.g:
./metal3-deploy/0.1.0/Chart.yaml:icon: https://cncf-branding.netlify.app/img/projects/metal3/icon/color/metal3-icon-color.svg

Apologizes, I wasn't taking into account the tarball 🤦🏻 In any case, as this is just cosmetic (to fix the current index.html here https://suse-edge.github.io/charts/ ) and give the fact that you probably will release a new version soon, I'm not sure if creating the tarball is required or it will be inherit next time a release is done 😅


Terraform cdk support

https://github.com/hashicorp/terraform-cdk/issues/304

Hi 👋
Just stumbled upon this via an old issue in our (CDK for Terraform) repository.
I just wanted to note that the CDKTF supports any provider from the Terraform Registry.
So you should be able to run cdktf provider add dmacvicar/libvirt in an existing CDKTF project to use this provider 👍
(I think this issue can be closed)

Thanks @ansgarm for confirmation!


Created fidelity bond does not show up

Expected behavior
The "Earn" tab shows created fidelity bonds.
Actual behavior
My created fidelity bond does not show up in the "Earn" tab, neither in the orderbook.
Steps to reproduce the problem
This is what I experienced. I am also very lost on what actually happened and why. I am doing my best to describe the situation.

I tried to create a fidelity bond with a specific UTXO, and somehow it failed. I didn't take note of the error message.
I retried, and it failed again, presumably due to the same reason.
I refreshed the page and wanted to try again, but I noticed that an UTXO I never selected had become frozen. However, it did not show up as a configured fidelity bond. When I use wallet-tool to view my wallet, the address is shown as "frozen" but no expiration date is given.

I selected September when I attempted to create the fidelity bond, so I can wait for a week to see if it unfreezes by 9/1, but I suspect there might be some unusual problems here because normally the expiration date would be at least shown in the wallet tool output. This bug caused me significant trouble because a very large proportion of my funds are now locked for an unknown period.
Specifications

Version: jam-ui-only:v0.1.5-clientserver-v0.9.9
Platform: Docker
Browser: Firefox 116

Please let me know what information you might need to pinpoint the issue. Also, could someone please guide me on making sure my funds are not locked indefinitely?

Hey @realSaltyFish,
from what you described it looks like no fidelity bond has been created (no transaction was broadcasted).
In order for Jam to use specific UTXOs for the bond, all UTXOs not participating in the bond are frozen and only unfrozen at the end of the flow. Meaning, UTXOs that were not selected in an aborted creation flow will stay frozen.
I'd say you can unfreeze them manually yourself and try creating a FB again. Why the flow did not succeed the first time, I cannot tell. If an error occurs if you try again, please take note of the error message.
Hope this helps.

Hello @theborakompanioni,
Thanks for the info. It seems that the error caused some internal states corruption. I "unfroze" the funds by rescanning the joinmarket wallet in Bitcoin Core.

Hey @realSaltyFish, I kind of don't understand exactly what was wrong and would be happy do investigate further. But you closing the issue means, the problem is solved for you? I had the feeling I might have been wrong with my analysis and I just want to make sure you can access all your funds.
"Freezing" and "unfreezing" can also be done from the Jar Details View (if you click on any jar on the main screen).
If something is still unclear or if you have further questions, feel free to reopen this issue!


Make ActiveShotBlock Optional

Resolves #57

Looks fine to me. We can merge this once comments have been processed.

I will close this PR until the team figured out what we want with this


Cannot draw heatmap or surface when passing coordinates if data has missing values.

Setup:
a = Array{Union{Float64,Missing},2}(undef,10,10)
[a[1:10,i] .= 10rand() for i in [1,3,5,7,9]]
x = y = collect(1:10)

This runs:
heatmap(a)

But this throws a method error:
heatmap(x,y,a)

also:
surface(x,y,a)

The error is:
ERROR: There was no AbstractPlotting.convert_arguments overload found for
the plot type Combined{AbstractPlotting.surface,Tuple{Array{Int64,1},Array{Int64,1},Array{Union{Missing, Float64},2}}}, or its conversion trait AbstractPlotting.SurfaceLike().
The arguments were:
(Array{Int64,1}, Array{Int64,1}, Array{Union{Missing, Float64},2})
To fix this, define AbstractPlotting.convert_arguments(::Combined{AbstractPlotting.surface,Tuple{Array{Int64,1},Array{Int64,1},Array{Union{Missing, Float64},2}}}, ::Array{Int64,1}, ::Array{Int64,1}, ::Array{Union{Missing, Float64},2}).

Tried with AbstractPlotting v0.14.2 and master

Bringing this to life.
https://github.com/JuliaPlots/AbstractPlotting.jl/pull/610 was closed on January in favor of a more general solution but the code continues without working.


What's the difference between gpt-2 and CodeGPT in baseline models?

I noticed that there are two gpt models in the baseline, what's the difference between them?

CodeGPT is a GPT-style language model pre-trained on programming language dataset (Python and Java) from CodeSearchNet. It shares the same model architecture with GPT-2 small (12 layers) but w/o parameter initialization from GPT-2. It has its own BPE vocabulary on programming languages. We trained two monolingual CodeGPT models for Python and Java. If you are interested about CodeGPT, you can try it by following https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/CodeCompletion-token#fine-tune

CodeGPT was trained on programming language dataset and it has its own vocabulary, while GPT-2 in baseline was the original version of gpt2 released by openai, am I right?

Yes.

Thanks very much!


Scrap user playlists

Requested Feature
Hey, I really like  saved and all-user-playlists but they seem to only apply to logged in users. Can we figure out something to feed any user's url and scrap all their playlists ?
(I can may a look myself, moslty opening issues to keep track of open ideas)
Possible implementation
No response

API to access users followed artists is currently private and requires spclient token. i don't have time to add something like this right now. i've added all-user-followed-artists tho

Hey, I am intrested in contributing to this issue do let me know how I can help.

Hey, I am intrested in contributing to this issue do let me know how I can help.

Feel free to open a PR with this as a new feature.

Hi, if this is still open I would like to contribute. Can I have this issue assigned to me?

Hi, if this is still open I would like to contribute. Can I have this issue assigned to me?

sure go ahead

Hey, I would like to take add this feature, just wanted to ask in case someone already is actively working on this.


C library wrapper

This is to wrap the go client library for c using cgo, however there are two commits caused by syncing the fork, so maybe I can try squashing the commits together because one of the commits is just a merge.

Quick thing: The changes to the UDS Server seem to have been overwritten by my first force-push, I think it's because the branch I was working on didn't branch off of main before I changed the UDS server


Add functionality to select all items in the current directory.

So that the user can easily select all subdirectories within a directory to create multiple transfer jobs without the hassle to click through all the items.

@marcelzwiers this is the issue you mentioned today to me.  Let's keep track this issue on GitHub.

This functionality has been implemented and deployed to the production.  Given that there is only one transfer queue in the system (and the system supports only 4 transfer jobs to be run at the same time), submitting too many jobs by a user can cause other user's jobs waiting behind.
@marcelzwiers If you don't mind to wait for another 24 hours, I suggest to let the current long transfer job to reach its end (there are still 1 more attempt to go).  Hopefully it will be finished successfully (I see it's now 56% done, and I would expect the last attempt will make it through).  If it is failed in the end, you could give it a try with this new function to split the transfers by subject.

feature implemented and deployed to production, closing it now.


Typo

There is probably a typo in the line below, isn't that just Comparison<T>?
public delegate int Comparison<in T>(T left, T right);

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

ID: 1dcd91a4-603a-feb9-cff2-94f1985417fc
Version Independent ID: a86cde90-1eba-e1d5-2b42-2a3cd37f5499
Content: System.Delegate and the delegate keyword
Content Source: docs/csharp/delegate-class.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Hi @nakigoe - Thanks for posting this issue, however, this is not a typo, it's the in modifier of C#. This makes the generic type-parameter T a contravariant type.
See: https://docs.microsoft.com/dotnet/csharp/language-reference/keywords/in-generic-modifier#contravariant-generic-interface
I'm going to close this issue. If you have another question, or need more help - please either create a new issue or reply here. Thanks


storing output of failures

Hi
I'm using pytest-logger and I have example test:
def test_random():
    import random
    assert random.choice([1,2,3,4]) == 2

Of course this test fails sometimes.
The output of assertion is only printed to stdout/err.
test_random.py F                                                                                [100%]

==================================================================================================== FAILURES =====================================================================================================
___________________________________________________________________________________________________ test_random ___________________________________________________________________________________________________
test_random.py:49: in test_random
    assert random.choice([1,2,3,4]) == 2
E   AssertionError: assert 1 == 2
E    +  where 1 = <bound method Random.choice of <random.Random object at 0x28b5a78>>([1, 2, 3, 4])
E    +    where <bound method Random.choice of <random.Random object at 0x28b5a78>> = <module 'random' from '/usr/lib/python3.6/random.py'>.choice
============================================================================================= short test summary info =============================================================================================
FAILED test_random::test_random - AssertionError: assert 1 == 2
======================================================================================== 1 failed, 544 deselected in 1.51s ========================================================================================
ERROR: InvocationError for command .tox/super_test/bin/py.test -n auto -raR --tb=short --sut-name=auto -k test_random -n0 (exited with code 1)
_____________________________________________________________________________________________________ summary _____________________________________________________________________________________________________
ERROR:   super_test: commands failed

Is it possible to store such output in logs for each failed test? How to do that?
This would be very helpful to analyze issues. Currently there are only files created by pytest-logger itself and they do not contain such exceptions.

I managed to do that with some pytest hooks with similar approach as there:
https://py.watch/pytest-save-full-error-output-to-file-ee37d6ccbd32
I don't need your help there, have a nice day! ;)

True, I think it's easier to store that part of status pytest output using other hooks. Good day :)


Request: skip & continue when directories/files do not have permission

When dua encounters a directory that it doesn't have permission to enter, the program prints an error essage and terminates:
$ ~/.cargo/bin/dua -f binary aggregate
Error: Permission denied (os error 13)
$ echo $?
1

It would be nice if it prints a more specific error message and continues, similar to du:
$ du -chs
du: cannot read directory './.config/gsmartcontrol': Permission denied
du: cannot read directory './.cache/dconf': Permission denied
du: cannot access './.cache/doc': Permission denied
du: cannot read directory './.dbus': Permission denied
du: cannot access './.gvfs': Permission denied
873G	.
873G	total
$ echo $?
1

My personal preference would be for this to be the default, but if it has to be enabled with an option so be it.
(du apparently doesn't have a way to turn off this behavior - which is fine by me).

Thanks for posting!
Could you verify that this behaviour only occours on the top-level? Thus, the issue above would not occour like this: dua -f . or dua -f - it should just report that there were IO errors while descending into the given directory.
Regarding the termination behaviour, I am not quite sure what happens if IO errors are encountered during traversal, my feeling is that this doesn’t affect the exit code yet. If that should be the case, it should enable the new behaviour rather than change it to prevent breakage.

Thanks for posting!
Could you verify that this behaviour only occours on the top-level? Thus, the issue above would not occour like this: dua -f . or dua -f - it should just report that there were IO errors while descending into the given directory.
Regarding the termination behaviour, I am not quite sure what happens if IO errors are encountered during traversal, my feeling is that this doesn’t affect the exit code yet. If that should be the case, it should enable the new behaviour rather than change it to prevent breakage.

Thanks for the very quick response.
Strangely, I am unable to reproduce the behavior I ran into just yesterday even though the permissions haven't changed  (du still complains about the same directories).
In case you care (I don't), dua doesn't give an error message about the directories it shouldn't be able to enter - it just lists a 0 size for them).

Thanks for the very quick response.
Strangely, I am unable to reproduce the behavior I ran into just yesterday even though the permissions haven't changed  (du still complains about the same directories).
In case you care (I don't), dua doesn't give an error message about the directories it shouldn't be able to enter - it just lists a 0 size for them).


Hawk authentication docs

Hi and thanks for publishing this extension.
I guess I'd need some more information on how the hawk-authentication is supposed to work. I have the basic example up and running. To do something useful I must have answers to at least the following questions:

How can I keep track of the currently authenticated "user"?
How can I write unit-tests for functionality that depends on having an authenticated user?

Any suggestions?

Hi, thanks for your kind words.
As far as I understand, you're asking about current_user like functionality. Unfortunately I have not had a chance to implement that.
For testing this example might help.

Thanks again for the pointers. It seems that I'll end up implementing something like current_user for API-keys.


hub.module_v2.load() returns a non-callable object

System information

tf version: 2.0.0 gpu
tf_hub version: 0.6
python: 3.7 with Anaconda

model = "https://tfhub.dev/google/imagenet/mobilenet_v2_140_224/feature_vector/3" # MobileNetV2
# both lines below cannot work
layer = hub.KerasLayer(model)
layer = hub.KerasLayer(model, tags="train")

Error messages are long, but those related to the issue are below:
~\anaconda\envs\tf2\lib\site-packages\tensorflow_hub\keras_layer.py in __init__(self, handle, trainable, arguments, **kwargs)
    102       self._func = handle
    103     else:
--> 104       self._func = module_v2.load(handle)
    105       if not callable(self._func):
    106         raise ValueError("Non-callable result from hub.load('%s')" %

ValueError: Importing a SavedModel with tf.saved_model.load requires a 'tags=' argument if there is more than one MetaGraph. Got 'tags=None', but there are 2 MetaGraphs in the SavedModel with tag sets [[], ['train']]. Pass a 'tags=' argument to load this SavedModel.

then I realized if we just directly use hub.KerasLayer(), the 'tags=' argument will not be passed to module_v2.load(), which causes this error.
So then I modified the codes as below:
model = "https://tfhub.dev/google/imagenet/mobilenet_v2_140_224/feature_vector/3"
mod = hub.module_v2.load(model,tags=['train']) # this line works fine
layer = hub.KerasLayer(mod) # error here

Howerver, this won't work, either. The error messages related to the error are:
~\anaconda\envs\tf2\lib\site-packages\tensorflow_hub\keras_layer.py in __init__(self, handle, trainable, arguments, **kwargs)
    102       self._func = handle
    103     else:
--> 104       self._func = module_v2.load(handle)
    105       if not callable(self._func):
    106         raise ValueError("Non-callable result from hub.load('%s')" %

and
AttributeError: 'AutoTrackable' object has no attribute 'startswith'

It seems that it is related to the code in keras_layer.py and specificly codes below:
def __init__(self, handle, trainable=False, arguments=None, **kwargs):
    self._handle = handle
    # Resolve the handle to a callable `func`.
    if callable(handle):
      self._func = handle
    else:
      self._func = module_v2.load(handle)
      if not callable(self._func):
           raise ValueError("Non-callable result from hub.load('%s')" %
                         str(handle))

When I pass the mod object to hub.KerasLayer(), the code in if branch is expected to be executed, but the code in else branch is executed, which means the mod object returned by  module_v2.load() is not callable. That doesn't make sense.
So I wonder maybe it is a bug or there's something wrong with the MobileNet model or it just that the model doesn't fit in TF2.0.

I've had a similar issue with AutoTrackable not being callable when trying to use the universal sentence encoder. I wonder if TF2 updates inadvertently messed with the module and broke it?

That SavedModel does not exposes an object based "call" or other elements required to be compatible with "hub.KerasLayer".
We are working in:

Republishing some models in this format.
Updating hub.KerasLayer to fallback to use ".signatures["default"]" if the saved model loaded via "tf.saved_model.load()" does not provides a "call". In this case fine-tune the models is likely not to be supported out of the box as there details on how update ops can't be pruned from the graph.

At the moment you have the following options:

Use a SavedModel compatible with current "hub.KerasLayer": https://tfhub.dev/google/tf2-preview/mobilenet_v2/feature_vector/4
Create your own keras Layer from an old saved model by wiring the trainable variables properties, an implement a call that calls the right signature exposed by an old SavedModel.
If you also want to fine-tune those and have correct handling of update ops such as batch norm maintaining of exponential moving averages then you have to go one layer deeper and prune the parts of a graph with the use of tf.compat.v1.wrap_function and old collections.

The following link is relevant about implementing your own KerasLayer to wire an old SavedModel:
https://github.com/tensorflow/hub/blob/master/docs/migration_tf2.md

Marking this as closed since there are both TF-2 versions of these modules as well as hub.KerasLayer was updated to handle legacy hub Modules in https://github.com/tensorflow/hub/commit/c3b29c32339542d89078d83368d4ef6b76f93a13 and that is present in the new r0.7 version of the library.


Add possibility to pass NULL as the trampoline func ptr argument to not create it if not needed

Added feature in 619e11b5e7f44eeaaec2a1fc23e3ca29426639d2


Tags instead of Categories

This is the start of working on #146 for using Tags instead of Categories.

Idea for filtering server-side that is compatible with Starlight/hybrid mode:

Create a SSR partial route with export const prerender = false; and export const partial = true
Author partial route to render a filtered version of the list using data from the request (JSON, query parameters, form data, etc)
Filter the list by fetching the partial client side and swapping the old list with the new filtered list

I think query parameters would be the best option. Then that would allow users to share a URL with the filters.

I think query parameters would be the best option. Then that would allow users to share a URL with the filters.

We looked at that during the call, it doesn't work, since Starlight is prerendered. And I don't want to do some workarounds with inline scripts. But as @BryceRussell we could use some "island" partial solution.
Another idea would be to always inline all items inside the HTML, and only do client-side filtering, should be fast enough for a long time too.

@HiDeoo Any suggestions on this?

_https://github.com/astrolicious/astro-tips.dev/pull/155#issuecomment-2177454335_: @HiDeoo Any suggestions on this?

It was answered on Discord, which can be found here.


BatchNormImpl -> BatchNorm2dImpl

When using the latest version of libtorch, BatchNormImpl must be changed to BatchNorm2dImpl. #7

@shnhrtkyk Thanks a lot


Mobile. Main page. Header overlaps some text after auto-scrolling

WTR:

Open https://vs-work.github.io/#/
Press Arrow button at the bottom of the screen(marked on screen)

Result: Auto-scroll stops when header overlap title "What do we do for our success"
Expected result: Auto-scroll stops when header doesn't overlap title "What do we do for our success"

Fixed


Typo "Teams room application"→"Teams Rooms application"

https://learn.microsoft.com/en-us/microsoftteams/rooms/rooms-lifecycle-support
https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/blob/public/Teams/rooms/rooms-lifecycle-support.md
#PingMSFTDocs

@tonysmit
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@tonysmit
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


feat: 404 page

404 page implemented in the error.vue layout with a matching IPFS 404 page in the static directory.

Oh @orvn that is an excellent question → I'd say instead let's move fonts out of assets and into static. We can just point to the static dir when importing fonts via Webpack, it should still work.

@orvn @timelytree I might need one of you to resolve the conflicts in the package & package-lock files. Looks like some dependencies have been removed since I branched off of develop.

@timelytree, was this when you moved dev dependencies into regular dependencies?


when the hash like '/#/main/sub' style, ratchet.js can't work

when the hash like '/#/main/sub' style, ratchet.js can't work

Can you provide a example of your bug please ?

  var getModal = function (event) {
    var modalToggle = findModals(event.target);
    if (modalToggle && modalToggle.hash) {
      return document.querySelector(modalToggle.hash);

      // try{
      //   var domModal = document.querySelector(modalToggle.hash);
      //   return domModal;
      // }catch(e){
      //   console.log(e);
      // }

    }
  };

return document.querySelector(modalToggle.hash);
because document.querySelector('/main/sub')  will be  error;

Yes because your selector have to respect the standars, look at this page :
http://www.w3schools.com/jsref/met_document_queryselector.asp
I'm not sure / are allowed into ID

I knew selector is wrong, my point is hash like  '/#/main/sub' , eg: angular's router style,
ratchet.js can't work, I thought that the hash shouldn't relate to selector,  forgive my pool english,  thanks a lot

or selector didn't query all hash, just query the hash that has modal/popover/.... etc


An error "InternalServerError" shows under the Functions node of one windows Node.js 18 runtime Function App

OS: All
Azure Resources extension: 20231114.1
Azure Functions Extension Version: v1.13.1
Repro Steps:

Create a windows Node.js 18 runtime Function App.
Expand the Functions node of the above Function App.
Check whether there is no error under the Functions node.

Expect:
There is no error under the Functions node.
Actual:
An error "InternalServerError" shows under the Functions node.

More Info:

Refresh can't fix this issue.
The error disappears after deploying a project to the function app.
This issue does not reproduce for a Linux Node.js 18 runtime Function App.

+1
Rather than making an another issue I'm commenting on this one, as I've first created a project(function) with the vscode extension following the steps from the typescript guide
After creating so, I'm able to run the function locally. But there arises problems after deploying.

the deployment goes through properly
not able to visit the hosted URL(just loads and loads and throws a 502 apache style page) PS: I tried visiting /api/functionName then too no help
Also in the functions extension it doesn't load

IDK what is the issue I'm just trying to deploy the sample app from the docs and it isn't even working

Please work on the developer experience and try to at least make sure the quick starts guides work properly (I'm trying to debug this issue from almost 5-6 hours after which commenting)
Any more details required I'd be happy to share


Fix markdown typo

This change has been made here, so closing this PR:
https://github.com/ExpressionEngine/ExpressionEngine-User-Guide/pull/554


Unable to download settings

**Visual Studio Code Version : 1.21.1
**Code Settings Sync Version : 2.9.0
**Operating System : Windows 10
**Occurs On: Upload
**Proxy Enabled: No
Getting Internet Not Connected error below

Try on other network

Thanks, i try it on other network and it works


Fix bug, update asset picker mobile selector

Coverage remained the same at 29.912% when pulling b639c14074bb28e27e9564e3ed3f628c4c6e456d on qingweibinary:qingwei/mobile_perf_test into f9d82ca8472eecfbded8fba0e8ef4ac7e72fcb2a on binary-com:master.


Chore: remove event emission on channel upgrade

Description
closes: #5741
This PR will remove emitting the full upgrade on every handler.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against the correct branch (see CONTRIBUTING.md).
[x] Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
[x] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/).
[ ] Added relevant godoc comments.
[x] Provide a conventional commit message to follow the repository standards.
[ ] Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
[ ] Re-reviewed Files changed in the GitHub PR explorer.
[ ] Review SonarCloud Report in the comment section below once CI passes.

Summary by CodeRabbit

Refactor

Simplified event attributes for channel upgrade processes, enhancing clarity and efficiency.
Updated default Hermes tag in test configuration for improved test organization.

Looks like some channel upgrades e2e tests are consistently failing, so could be that we have removed too much. 😅 I will take a look.

Looks like some channel upgrades e2e tests are consistently failing, so could be that we have removed too much. 😅 I will take a look.

no problem sir, I'll run it locally and fix it 🙏

A new hermes tag fixed the e2e tests. Thank you, @ljoss17!


Error locating program: samtools_0.1.18

Hello,
I'm trying to map the reads for each sample to the reference genome,and here is the code:
tophat -p 8 -G ./genome/database/GCA_000187875.1_V1.0_genomic.gtf -o ./quantity/DP_1_thout --no-novel-juncs ./genome/database/GCA_000187875.1_V1.0_genome raw_sequences/DP_1_1.fq raw_sequences/DP_1_2.fq
and here is an error:
[2017-11-21 21:08:58] Checking for Bowtie
Bowtie version:        <IP_ADDRESS>
Error locating program: samtools_0.1.18
I don't kown why？I have installed the samtools(version:1.5),I will appreciate it if you could help me solve the problem.
best
Lijuan

I just fixed a similar problem in Debian. You might want to try these changes.

原因是无法调用tophat2文件夹里的samtools_0.1.18程序，可以试试创建软连接
1.提高权限
chmod +x /home/user/tophat2/samtools_0.1.18
2.创建软连接
sudo ln -s /home/user/tophat2/samtools_0.1.18 /usr/bin/samtools_0.1.18


Default JIT compilation breaks my production build

Environment

Operating System: Darwin
Node Version:     v18.17.0
Nuxt Version:     3.6.5
Nitro Version:    2.5.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      app, hooks, pages, modules, i18n, css, build, typescript, vite, components, runtimeConfig
Runtime Modules<EMAIL_ADDRESS>vite-plugin-vue-type-imports/nuxt<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
The default value is toggled to JIT compilation, and I explicitly need to set it to false in order to avoid breaking my build
Describe the bug
JIT compilation toggled to true.
Vue-i18n state that it is default to false to avoid breaking change.
Additional context
https://vue-i18n.intlify.dev/guide/advanced/optimization.html#jit-compilation
Logs
No response

I explicitly need to set it to false in order to avoid breaking my build

How / where would you do that? My production build is also affected..

Thank you for your reporting!
I seem this issue is same #2379
Could you give us your minimal reproduction please? 🙏

#2379

In your nuxt.config file, you need to specify this :
i18n: {
    compilation: {
      jit: false,
    },
    vueI18n: "./i18n.config.ts",
  },

I explicitly need to set it to false in order to avoid breaking my build

@GaetanWi, how / where would you do that? My production build is also affected..

In your nuxt.config file, you need to specify this :
i18n: {
    compilation: {
      jit: false,
    },
    vueI18n: "./i18n.config.ts",
  }