Problem of dimension

I am curious that why the model output channel dimension is 2, my output is [b image_size image_size], but your code need output [b 2 image_size image_size].

two channels represent mean and variance

two channels represent mean and variance

Thanks! I think that if len(model_output) == 2 can be revised as if isinstance(model_output, tuple). Because I find when training process model_output is a Tensor but sample process is a tuple.

two channels represent mean and variance

Thanks! I think that if len(model_output) == 2 can be revised as if isinstance(model_output, tuple). Because I find when training process model_output is a Tensor but sample process is a tuple.

Good, I have updated. Many temporary/lazy implementations in the code. Welcome to point out.

two channels represent mean and variance

Thanks! I think that if len(model_output) == 2 can be revised as if isinstance(model_output, tuple). Because I find when training process model_output is a Tensor but sample process is a tuple.

Good, I have updated. Many temporary/lazy implementations in the code. Welcome to point out.

Thanks. I have another question to consult about the meaning of 3 in the following image. Whether to represent the channel of the conditional image such as the channel dimension of RGB image. When my conditional image channel is 6, do I need to change it to 6.

two channels represent mean and variance

Thanks! I think that if len(model_output) == 2 can be revised as if isinstance(model_output, tuple). Because I find when training process model_output is a Tensor but sample process is a tuple.

Good, I have updated. Many temporary/lazy implementations in the code. Welcome to point out.

Thanks. I have another question to consult about the meaning of 3 in the following image. Whether to represent the channel of the conditional image such as the channel dimension of RGB image. When my conditional image channel is 6, do I need to change it to 6.

It should be your channels + 1. This parameter will not be used in this version of code though.

Thanks a lot for your help！

two channels represent mean and variance

Thanks! I think that if len(model_output) == 2 can be revised as if isinstance(model_output, tuple). Because I find when training process model_output is a Tensor but sample process is a tuple.

Good, I have updated. Many temporary/lazy implementations in the code. Welcome to point out.

Thanks. I have another question to consult about the meaning of 3 in the following image. Whether to represent the channel of the conditional image such as the channel dimension of RGB image. When my conditional image channel is 6, do I need to change it to 6.

It should be your channels + 1. This parameter will not be used in this version of code though.

Thanks a lot for your help！


feat(config): add ShenZhen Sunricher Technology Multisensor SR-ZV9032A-EU

Add configuration file for the ShenZhen Sunricher Technology, Ltd. Multisensor SR-ZV9032A-EU.
Referenced product
Actually this is exaclty the same configuration as the product Namron SR-ZV9032A-EU (#5474), only the manufacturer differs.
Link to documentation
Link to product: https://www.robbshop.nl/robb-smarrt-4-in-1-multisensor-beweging-inbouw-z-wave-plus
Link to manual: https://www.robbshop.nl/media/54/ab/aa/1667909195/ROB_100-070-0_download_1.pdf
The product in the link is a rebranded version, the company confirmed that it is actually the Sunricher SR-ZV9032A-EU.
This name (SR-ZV9032A-EU) can also be seen by checking the properties of the PDF manual.

@AlCalzone any idea when probably you have time for a review? You also reviewed the referenced product.
I'm already using this configuration already successfully, but it would be nice if this will be merged and it becomes part of this very nice project.


Parquet with versioned policies

Description
Now we support all the versioned policies, because the can have distinct schema for the dataframes.
Reviewer
@arinconstrio

LGTM +1

OK


Updated the input

Issue #283
There was a very small change needed in the code. Please do verify if it is working or not.
screen-capture (1).webm

Hi,  thanks for contribution. I checked that problem, and the proper solution was different. It was related to questions mapping. https://github.com/Ryczko/FormsLab/pull/287


Model size hyperparameter

Hi thanks for the great work!
I wonder do you have any suggestion on how to increase the model size? For example, I found that increase spconv kernel improve performance on our task. Do you see similar things?
Thanks!

I found that increasing the spconv kernel size causes series overfitting. Did you encounter similar situations?

I found that increasing the spconv kernel size causes series overfitting. Did you encounter similar situations?

Exactly, SpConv is not good at expanding the receptive field. It is also the reason why we need attention. No need to scale up the kernel size of conv in PTv3.

Hi thanks for the great work!
I wonder do you have any suggestion on how to increase the model size? For example, I found that increase spconv kernel improve performance on our task. Do you see similar things?
Thanks!

Hi, I highly recommend reading the paper, Scaling Laws for Neural Language Models, from OpenAI. So there is no need to force scaling up parameters. The scaling up of parameters always goes with the scaling up of data. If you have already scaled up the train data (scale), you can consider increasing the number of blocks and channels of PTv3. For the current training setting (even multi-dataset joint training from PPT), the model is still over capacity.


Use readline for interactive input

Importing the readline module and using input() instead of sys.stdin turns on command line editing, including history.
For a REPL dinosaur like myself this is essential. :-)

Thank you!


Differentiate the versions of each message

There are several messages with the same Class ID and Message ID but a different length.
CFG-MSG for example:

The messages.go adds a numeric suffix to differentiate them, but in decode.go, the switch cannot differentiate them.
I think that a Length() method should be added to the Message interface.
But the Length field in the XML file is not easy to handle.
What are your thoughts about this issue and how do you want to handle it?
By the way, how is the xml file generated?

Can be tested with:
package ubx

import (
	"bytes"
	"reflect"
	"testing"
)

func TestCanDecodeCorrectCfgMsgType(t *testing.T) {
	originalMsg := CfgMsg2{MsgClass: 0xF0, MsgID: 0x9} // GBS
	var b bytes.Buffer
	err := Encode(&b, originalMsg)
	if err != nil {
		t.Error(err)
	}

	msg, err := Decode(b.Bytes())
	if err != nil {
		t.Error(err)
	}
	pointerToOriginalMsg := &originalMsg
	if reflect.TypeOf(msg) != reflect.TypeOf(pointerToOriginalMsg) {
		t.Error("Bad msg type")
	}
	cfgMsg := msg.(*CfgMsg2)
	if cfgMsg.MsgClass != 0xF0 {
		t.Errorf("Bad MsgClass. Should be 0xF0, actually is: %xd", cfgMsg.MsgClass)
	}
	if cfgMsg.MsgID != 0x9 {
		t.Errorf("Bad MsgID. Should be 0x9, actually is: %xd", cfgMsg.MsgID)
	}
}

Can be tested with:
package ubx

import (
	"bytes"
	"reflect"
	"testing"
)

func TestCanDecodeCorrectCfgMsgType(t *testing.T) {
	originalMsg := CfgMsg2{MsgClass: 0xF0, MsgID: 0x9} // GBS
	var b bytes.Buffer
	err := Encode(&b, originalMsg)
	if err != nil {
		t.Error(err)
	}

	msg, err := Decode(b.Bytes())
	if err != nil {
		t.Error(err)
	}
	pointerToOriginalMsg := &originalMsg
	if reflect.TypeOf(msg) != reflect.TypeOf(pointerToOriginalMsg) {
		t.Error("Bad msg type")
	}
	cfgMsg := msg.(*CfgMsg2)
	if cfgMsg.MsgClass != 0xF0 {
		t.Errorf("Bad MsgClass. Should be 0xF0, actually is: %xd", cfgMsg.MsgClass)
	}
	if cfgMsg.MsgID != 0x9 {
		t.Errorf("Bad MsgID. Should be 0x9, actually is: %xd", cfgMsg.MsgID)
	}
}

the xml was 'generated' by one of my staff putting in a month of monk's work transliterating the pdf and looking at the bitfield pictures. ublox claimed there was no internal source, or they just didnt want to make it available.  given the quality of thee protocol design that doesnt surprise me.

the xml was 'generated' by one of my staff putting in a month of monk's work transliterating the pdf and looking at the bitfield pictures. ublox claimed there was no internal source, or they just didnt want to make it available.  given the quality of thee protocol design that doesnt surprise me.

the xml was 'generated' by one of my staff putting in a month of monk's work transliterating the pdf and looking at the bitfield pictures

Ouch! That's a large amount of work!

the xml was 'generated' by one of my staff putting in a month of monk's work transliterating the pdf and looking at the bitfield pictures

Ouch! That's a large amount of work!

yep, esp when compared to me writing the code to use it which was far less.
Op ma 4 jan. 2021 om 12:05 schreef Romain Reignier<EMAIL_ADDRESS>
:

the xml was 'generated' by one of my staff putting in a month of monk's
work transliterating the pdf and looking at the bitfield pictures
Ouch! That's a large amount of work!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/daedaleanai/ublox/issues/3#issuecomment-753911314,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACIGIC6NXEGCC5SD3RHKHHDSYGOIXANCNFSM4VSZ7VXA
.

yep, esp when compared to me writing the code to use it which was far less.
Op ma 4 jan. 2021 om 12:05 schreef Romain Reignier<EMAIL_ADDRESS>
:

the xml was 'generated' by one of my staff putting in a month of monk's
work transliterating the pdf and looking at the bitfield pictures
Ouch! That's a large amount of work!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/daedaleanai/ublox/issues/3#issuecomment-753911314,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACIGIC6NXEGCC5SD3RHKHHDSYGOIXANCNFSM4VSZ7VXA
.

I have tried the genmsg branch and the issue seems to be already resolved.

I have tried the genmsg branch and the issue seems to be already resolved.


#13644: Add support for tensor-scalar binary ops

Ticket
#13644
Problem description
Binary ops between a tensor and a scalar allocate a single tile on the host, then copy it to the device, and delegate to the tensor-tensor overload for further handling. Moreover, if the first tensor has the first dimension be a non-singleton (N > 1), then the created tile is repeated N times.
What's changed
We now instead pass the scalar as a runtime arg directly to the binary reader kernel, bypassing all the unnecessary steps above.
Checklist

[ ] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] Device performance regression CI testing passes (if applicable)

Yes!! 💯

What's changed
We now instead pass the scalar as a runtime arg directly to the binary reader kernel, bypassing all the unnecessary steps above.

@dmakoviichuk-tt  this would be great now?

added @tt-aho and @dmakoviichuk-tt as reviewers

@yan-zaretskiy  main thing to check: make sure that this scalar is not a part of the cache. If we need to create a new program for any new scalar it will be slow.

Well spotted about the cache, will absolutely make sure it's excluded!


Makefile: Add go version check

skuba requires >= go1.12 for building.
This PR make sure make check that requirement.
Before:
make
GO111MODULE=on go install -mod=vendor -ldflags "-X=github.com/SUSE/skuba/pkg/skuba.Version=0.8.1 -X=github.com/SUSE/skuba/pkg/skuba.Commit=8fd48ab -X=github.com/SUSE/skuba/pkg/skuba.BuildDate=20190725" -tags development ./cmd/...
build k8s.io/component-base/config: cannot find module for path k8s.io/component-base/config
make: *** [Makefile:54: install] Error 1

After:
make
FATAL: Go version:1.11.11 does not support modules
make: *** [Makefile:77: go-version-check] Error 1

borrowed the logic from https://github.com/kubic-project/kubic-init/blob/master/Makefile


Create allDevicesWithRoundedDisplayCorners and hasRoundedDisplayCorners variables.

Create allDevicesWithRoundedDisplayCorners and hasRoundedDisplayCorners variables like suggested in https://github.com/dennisweissmann/DeviceKit/issues/159. Doesn't however implement the breaking changes that were also suggested there so the issue shouldn't be closed.
Would like to also implement a variable for getting the actual corner radius of the display but according to this StackOverflow answer, it isn't as simple as just setting layer.cornerRadius: https://apple.stackexchange.com/a/336499/277581
(Additional commits are because I screwed up syncing my fork's master with upstream)

@dennisweissmann sorry for yet another mail notification 😜

@dennisweissmann Also, I suggest creating a 2.0 branch to start working on that to solve some of the issues that have breaking changes? If you're going to do that, I would suggest waiting on releasing my previous changes to save it for 2.0.

Alright, I wanted to release an 2.0 with (at least) Swift 5.0, since that’s around the corner it makes sense to me.
This repo uses master as the dev branch, so I would be fine with committing whatever you want to master. If there is something we should backport to an 1.X version we could cherrypick. WDYT?

In that case, I'm fine with merging this pull request if you are.
Do you want me to already make some changes for 2.0, like fixing issues like https://github.com/dennisweissmann/DeviceKit/issues/149 and https://github.com/dennisweissmann/DeviceKit/issues/130 if I have some spare time this week?
I think its better to create a 2.0 branch for those changes but then have this pull request still be for a 1.x release.


Fix iOS mangling

Hi,
We had a regression on a project that target iOS while upgrading bindgen from 0.25.3 to 0.25.4.
After a long investigation it appeared that iOS need also a mangling hack. I managed to make a patch and successfully test it.
Thanks a lot for all your work.
Cheers

@bors-servo r+
Thanks a lot, and sorry for the hassle!

:pushpin: Commit 8885365 has been approved by emilio

:hourglass: Testing commit 8885365f9fe79c0d0f61476e17e84df2470f43e7 with merge 3106b30bb36939db5c3d3d88545a40cfb5fcd06c...

:sunny: Test successful - status-travis
Approved by: emilio
Pushing 3106b30bb36939db5c3d3d88545a40cfb5fcd06c to master...

I have a feeling that checking .contains("ios") may not be a good idea. This name is too short, and could potentially conflict in the future.
Probably something like .ends_with("-ios") is more reasonable. Similarly we can convert the macOS check to be .ends_with("-darwin") I guess.

Or we could also check for .contains("apple") ? I agree that a false positive can be triggered with .contains("ios")...


Update CONTRIBUTING.md

Description
Added the remote (reference) commands and pull upstream main command in contributing.md
Fixes:  #389

Type of change

[ ] Bug fix (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)
[x] This change requires a documentation update

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@Sulagna-Dutta-Roy This PR is merged with gssoc level label. Pls add the same.


0.2.3+ not rendering GA

I've added --gaID and --gaSite to my command but it's not generating GA code.

Thanks for the report, the templates referred to old parameter names.


Sign Up modal doesn't allow email address as username

The Sign Up modal doesn't allow an email address as the username because the @ is considered to be an invalid character. However, we want to allow email addresses as usernames and the REST API already supports this.

Assigning to @sathomas for fix

to @nicolaasmatthijs for review

Looks good. Merged.


Added Elementary OS #230

Hi @maxiwolleb, thanks for this. Please can you read the information on https://github.com/edent/SuperTinyIcons#submitting-icons
That will give you the template needed for submitting a valid icon.

Hey, im on it, what background should it be if it is a white icon ? #000 or #fff

Hey I added one with black and white background, sorry for the hassle it is my first contribution :D

Hey ist everything fine now ?


  Try using:
npm install --legacy-peer-deps


🐛 fix the wrong endpoint issue of the multiple hubs hosted solution

Summary
Related issue(s)
Fixes #

/approve
/lgtm


Refactor New() out of all middleware

The New() functions that are in each middleware package are remnants of the early prototype days. Since the middleware packages are general and New() would never be invoked by any program other than Caddy, the New() functions should be moved into a separate package.

Done via e4fdf171c773657f08ed79ab7dd17a3e9a8dcdb3


Add singleMachine disk tracking (resolves #770)

resolves #770
Adding this to 3.3.1 as a patch to 3.3.0 will help @fnothaft overcome the "unable to free up enough space for caching" error in his pipeline.

@hannes-ucsc this is ready!

Any conflicts occur during cherry picking?

nope


Refactor py2 lazyproperty

Lazyproperty decorator refactoring using builtin functools lib
Linked issue : https://github.com/histolab/histolab/issues/159

Coverage decreased (-0.1%) to 97.407% when pulling d068e15f1854511b9df5c95d4b7d608857d18ba5 on refactor-py2-lazyproperty into a0e4a95028289d27265b6ef37bc98f9524947795 on master.

Coverage decreased (-0.1%) to 97.407% when pulling d068e15f1854511b9df5c95d4b7d608857d18ba5 on refactor-py2-lazyproperty into a0e4a95028289d27265b6ef37bc98f9524947795 on master.


Could you provide a public dataset for RETRO?

I wish to have a public dataset for RETRO

nope, you'll have to do that yourself


Clone Pipeline failed

Rancher versions:
2.0 master 2/26
Steps to Reproduce:

Create a Pipeline
Click clone in the action dropdown-list of Pipeline table
Give a name to the cloned Pipeline and click add.

Results:
UI shows error

Version - 2.0 master 2/27
Verified fixed


Allow to scroll in the participant list

Bug Report
Expected behavior/code
When there is a lot of participants, we should scroll on this list in the application panel.
Actual Behavior
There is no scroll and the list continues to appear under the actions button chat and viewers

Done in #1356


Fix for missing usb backend in picoprobe

Preliminary Fix for #1126:
Catch the unhandled exception NoBackendError from pyusb.
It seems that I'm unable to eradicate libusb-win32 from my machines (tried some different methods).
So to test this I'll have to setup a clean VM/physical machine.
I will update here when done.
@lennvn: if not asking too much, could you please try it?

This is the same approach used by both the STLink and CMSIS-DAPv2 plugins, so I'm sure it will work fine.
I really need to follow through with creating a Python package that wraps up the libusb library, so no separate install step is required.

Preliminary Fix for #1126:
Catch the unhandled exception NoBackendError from pyusb.
It seems that I'm unable to eradicate libusb-win32 from my machines (tried some different methods).
So to test this I'll have to setup a clean VM/physical machine.
I will update here when done.
@lennvn: if not asking too much, could you please try it?

I installed the latest dev version and no error occurred with command 'pyocd list'

Thanks for following it up.


Fixed processing of named streams in Flux YAML DSL

Needed Pull request https://github.com/apache/storm/pull/1426 to be merged, to have this functionality.

https://github.com/Parsely/streamparse/issues/259

Coverage increased (+0.03%) to 45.448% when pulling 7a7bcac9a0d4e31c239ccae69552facd73b386fa on Darkless012:patch-2 into e232224ce67517cac13104c14478c60b221cb5bc on Parsely:master.

https://github.com/apache/storm/pull/1426 Has been merged into 1.x and 1.0.x branches.

Thanks for taking it upon yourself to fix the upstream issue and to submit this PR! This fixes a major shortcoming of the current sparse run.

I rebased this locally and addressed my own comments, so the changes are now in 32808a4e3cea08c91d641f1bb623693753c8e1ac.


Add dynamic posts

Not sure how to add a branch to your repo 😛

@hhsnopek gonna close this out -- I'm going to move this over to a branch on this repo so I can make a few small changes.


kbfs - shared, public, private inaccessible

break ALL the things.
I initially had kbfs working between my Mac and a Linux VM. I tried to do a private share another user kbfs user, and was getting input/output errors. I thought maybe I was doing something wrong, and revoked one of the machines … apparently the last one to touch my public/private folders. Le sigh. I've locked myself out of everything, heck, even keybase.pub/mannkind is broken for me (I seem to be in a similar state as keybase.pub/zdsmith)
Fwiw, probably not terribly relevant now but my log id: ee69d966bb1b1cee3c6f641c

Yeah, you hit our main weak spot.  Do you want us to reset private/mannkind and public/mannkind to a revision signed by a non-revoked key?  You will lose whatever data you wrote with the revoked device (though it's basically lost now anyway).
Is the log you mention above the one that shows the I/O errors you were getting that led you to do the revoke?  I don't see anything obvious before the revoked-device-key errors start, although I'm not exactly sure what time in the log I should be inspecting.
I see other I/O errors as a result of trying to make a folder with another Keybase user (I'll refrain from saying the name here in public), someone you had previously tracked but now one of their proofs is broken and you likely need to re-track them.

I should note that resetting folders is not going to something we plan to do after the next major release, once we have the infrastructure in place to check whether a folder revision happened before a key was revoked.  It's obviously a little sketchy for us to do that, and once we start hashing the KBFS roots into the blockchain, we won't be able to pull this kind of stuff off.  But for now, we're in super-early alpha and reserve the right to throw your data out the window, so . . . we're here to help!
Though, I'd feel better if you could post a signed statement here with a key from the mannkind sigchain, or write something into /keybase/private/strib,mannkind, asking me to do the resetting.

Left you a note in /keybase/private/strib,mannkind - let me know if I need to do more.
No worries about losing data, I was really just echoing short strings into files (both publicly and privately). And as this was a preview, I don't expect anything to stick around anyway.
I'm not exactly sure what the log sent you, but I did the revoking in the early afternoon (PST). I know another user (same as I mentioned in the shared file) tried to share a file with me, but I never could see it.
Again, sorry for breaking all the things so quickly. I wanted to actually help test kbfs, not be a burden. Bah.

No worries, thank you for testing!  Didn't intend to imply you were being a burden, just didn't want the general public to think we were resetting folders willy-nilly.
I've asked our folder-resetter to roll your public folder back one revision.  Your private folder, however, looks fine, it was last written by a different device.  The I/O errors are because it looks like a rekey hasn't happened for that folder yet, using an existing device or paper key with the proper access.  Your remaining device is with access to that directory (I'm guessing the device you call "Apollo") needs to connect to KBFS to give your new device access to it.  Looks to me like it hasn't connected in 6 hours or so.

(By the way, the "folder-resetter" I reference above is a human being who may be asleep, so this might not happen until tomorrow.)

Hey @mannkind you should be all set. Mind performing at least one write to that folder asap and letting us know if it worked? Thanks!

And I left you a note in our shared folder about why the private share with your friend isn't working.  You should have had a tracker popup when you tried to access the shared folder inviting you to re-track the individual.  Do you remember if that happened or not?

@mannkind to be clear: the folder I'm referring to is your public folder.

@strib Thanks for the info via our share - I've re-tracked the user and I can now see the file shared with me. Sweet! A tracker popup did not happen for me – not on the Mac nor the Linux VM.
@aalness Thank you for your help. I'm still unable to write to the public share from either machine (just a quick echo to file test). Tried to submit a clean log - 46cafd39b2bd1529c3adff1c

D'oh, the revision we reverted to was written by ANOTHER device you revoked ("HeliosVM").  Sorry, I didn't notice that you had multiple revokes.  Let me figure out what revision has a good key and we'll get back to you.

Actually, that folder has never been written to by a device that isn't now revoked.  Bleh.  I guess we'll just have to delete the whole thing.

Works for me ("deleting the whole thing") – Sorry, at the time I thought I'd just "start fresh", but sounds like I just made it worse.

@cjb: any clue why a tracker popup didn't happen for the "1 track component failed" error in logs ee69d966bb1b1cee3c6f641c?

@strib I can't easily tell if it's the case here, but we have an open bug where the tracker popup isn't shown if the track component that failed is the signing statement itself -- i.e. A tracks B, B resets her sigchain, now A has a broken track of B but we don't offer to correct it.

@cjb: it might be the same thing.  In this case, the sigchain wasn't reset, but all the proofs in it were deleted and then later re-done.

@mannkind wiped all revisions for your public folder. Mind giving it a try again? Thanks for your patience!

And @mannkind we have a revision number on each folder that is not supposed to go backwards, but in your case it has.  So to avoid confusing clients that may have already tried looking at your public folder (including keybase.pub) you might do something like this within the folder:
i=0; while [ $i -lt 12 ]; do touch $i; rm $i; i=$[i+1]; done

@aalness and @strib  - Thank you so much for your help. Seems like my revisions are working after using that snippet. I've been able to use a private shared folder with another user, and use my public folder (and it shows up on keybase.pub). I can only use my private folder on 'Apollo'; if I try to use it on 'HeliosMBP' I get errors in the logs related to "mannkind does not have read access to directory mannkind" -- I added a log: 8c5cb29e0067a0a593101f1c
No rush or anything. I'm sure you have dev work to do.  Again, I apologize for making such a mess of things. I'll try not to destroy everything again :)

A log from "Apollo" would be more useful -- that error means the existing device hasn't yet rekeyed the folder to allow in the new device.  So we need to figure out why Apollo hasn't rekeyed.

Actually, nevermind.  You're not getting the "read access" error anymore.  You're getting:
11325 2016-02-09T12:45:15.184658 ▶ [DEBU FUSE serve.go:817] 122b -> [ID=0x8] Lookup error=EIO: Could not verify metadata for directory mannkind: MD (id=4cd22ba2fca674f5d4c5a2931a73cd16) contained unexpected handle uid:5aaa065e52ab8ed0b2122686944d4400

Never seen this before.  Investigating.

Oh actually you did get the "read access" error right before this other error.  Arg.  Logs from Apollo would still be useful.

Log from Apollo: 4cfb022c9004c7638a17f61c

You managed to tickle another bug here.  Great job finding these!
This one was a bug in our conflict resolution code.  You got into conflict mode when your Apollo device removed a file at the same time your other device requested a rekey.  We hadn't tested this before, and it caused some breakage.  So now that folder on Apollo is in "staged" mode, meaning all the updates to it are local (you won't see them on other devices), and it can't complete any rekeys.  And because of a bug, you are stuck in this mode.
I was able to repro this in our testing framework, and I just merged a fix.  It'll be in tomorrow's builds.  So tomorrow, please upgrade Apollo and then go into your private folder.  That should fix everything.

Sweet - the update this morning fixed the remaining issue! Thank you again for your help @strib and @aalness


SNAPSHOT in stable release 2.2.1?

I''m trying to build norconex-collector-http stable release 2.2.1 with a simple "mvn clean install -DskipTests".
The build fails because it times out while downloading
org.apache.pdfbox:pdfbox:jar:2.0.0-SNAPSHOT
org.apache.pdfbox:fontbox:jar:2.0.0-SNAPSHOT

The maven log message where it times out:
Downloading: http://www.mygrid.org.uk/maven/repository/org/apache/pdfbox/fontbox/2.0.0-SNAPSHOT/maven-metadata.xml

I can't find those dependencies in the pom file, so I think it's strange that maven tries to download those. The dependency seams to come from norconex-collector-core
Is there SNAPSHOTS dependency to pdfbox? if so, is there a need to rely on the SNAPSHOT instead of the latest stable version.

Those are indirect dependencies required by the Importer.  On top of timeouts, you may get compile errors with 2.2.1 and PDFBox-SNAPSHOT.  The distributed binaries of HTTP Collector have 100% working dependencies with it.
You are right though, the code for an official release should not point to a snapshot release of dependencies. This is not ideal, but in the case of PDFBox, an exception was made because its 2.0.0 snapshot branch addresses many defects that were reported with the latest 1.x stable release.  It was decided the benefits outweighed the trouble that may arise from trying to compile a stable release if the snapshot changes too much (different issue than your timeout).  I am looking forward to a stable PDFBox 2.0.0 though.
The timeout should only be temporary.  It occurred to me before and was back up after a while.
FYI, with the 2.3.0-SNAPSHOT version of HTTP Collector you should not have compile errors.

Thanks for the reply. Yes, sometimes there is only a SNAPSHOT which solve the problem.
I get the same problem with version 2.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Building Norconex HTTP Collector 2.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repository.apache.org/content/groups/snapshots/com/norconex/collectors/norconex-collector-core/1.3.0-SNAPSHOT/maven-metadata.xml
Downloading: https://repository.apache.org/content/groups/snapshots/com/norconex/jef/norconex-jef/4.0.7-SNAPSHOT/maven-metadata.xml
Downloading: https://repository.apache.org/content/groups/snapshots/com/norconex/commons/norconex-commons-lang/1.8.0-SNAPSHOT/maven-metadata.xml
Downloading: https://repository.apache.org/content/groups/snapshots/com/norconex/collectors/norconex-importer/2.4.0-SNAPSHOT/maven-metadata.xml
Downloading: http://www.mygrid.org.uk/maven/repository/org/apache/pdfbox/fontbox/2.0.0-SNAPSHOT/maven-metadata.xml

Now it's working. No more time out :)

Great. Hopefully this won't happen too often.  If it happens again, you can add the -o or --offline flag to your Maven command to force it to use snapshot releases found in your local Maven repo instead of trying to check and download fresh ones.


facing problem with c3 chart directives data reload and transform chart type

Hi Wasilak, from the example you have given on Github to tranform the chart type, I am trying to change the chart display type but some I am failing to do it and also reloading of the data using c3 directives. Could you please help me please to fix this. Please see my post at http://stackoverflow.com/questions/28191802/angulrjs-need-to-help-to-make-c3-direectives-to-reload-data-and-changing-chart.
And you can refer my plunker at http://plnkr.co/edit/wWJx3zU3Sm1cN9ZCtvoh?p=preview.
Thanks in advance.

Hi again. Check out my answer on StackOverflow

Perfect. Thanks a lot for nice directives. It simplified our life. By the way side question, do you have any plans to release directives for another powerful library d3plus (http://d3plus.org/)


Jade head body indentation

Usage Context:

Sublime Text 3
Emmet

In a new document, typing ! +Tab = HTML template in Jade syntax as follows:
<!DOCTYPE html>
html(lang="en")
head
	meta(charset="UTF-8")
	title Document
body

Issue Specific:
I get code like the following (prematurely closes html tag)
<!DOCTYPE html>

  <meta charset="UTF-8"/>
  <title>Document</title>

Suggested Resolution:
The template should have the head and body tags indented like so:
<!DOCTYPE html>
html(lang="en")
	head
		meta(charset="UTF-8")
		title Document
	body

Reference:
The Jade-lang website displays both head & body as indented as well.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4369026-jade-head-body-indentation?utm_campaign=plugin&utm_content=tracker%2F35867&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F35867&utm_medium=issues&utm_source=github).


Clean doc, 4th part

This PR:

cleans docstrings related to labels and sample weights: corrects shape (n_matrices,1) into (n_matrices,) and makes uniform descriptions;
makes uniform descriptions of default values;
adds functions for matrix tests into the API.

thx @qbarthelemy 🙏


🐛 BUG: global is not defined after migrating to v2

Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
2.20.1 [Wrangler]
What version of Node are you using?
18.18.2
What operating system are you using?
mac
Describe the Bug
I'm trying to migrate a service worker format of Worker from wrangler v1 to v2. After following the migration guide and running wrangler dev --env dev, I'm getting the following output:
% % npx wrangler dev --env dev
 ⛅ wrangler 2.20.1 (update available 3.14.0)
-------------------------------------------------------
▲ [WARNING] Processing wrangler.toml configuration:

    - "env.dev" environment configuration
      - Deprecation: "kv-namespaces":
        The "kv-namespaces" field is no longer supported, please rename to "kv_namespaces"

Your worker has access to the following bindings:
- Vars:
  - STAGE: "dev"
⬣ Listening at http://<IP_ADDRESS>:8787
- http://<IP_ADDRESS>:8787
- http://<IP_ADDRESS>:8787
- http://<IP_ADDRESS>:8787
Total Upload: 510.52 KiB / gzip: 106.09 KiB
✘ [ERROR] Error on remote worker: ParseError: A request to the Cloudflare API (/accounts/<redacted>/workers/scripts/<redacted>/edge-preview) failed.

      at throwFetchError
  (/Users/<redacted>/cloudflare-workers/node_modules/wrangler/wrangler-dist/cli.js:130780:17)
      at fetchResult
  (/Users/<redacted>/cloudflare-workers/node_modules/wrangler/wrangler-dist/cli.js:130747:5)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async createPreviewToken
  (/Users/<redacted>/cloudflare-workers/node_modules/wrangler/wrangler-dist/cli.js:132729:29)
      at async createWorkerPreview
  (/Users/<redacted>/cloudflare-workers/node_modules/wrangler/wrangler-dist/cli.js:132750:17)
      at async start
  (/Users/<redacted>/cloudflare-workers/node_modules/wrangler/wrangler-dist/cli.js:151903:34) {
    text: 'A request to the Cloudflare API
  (/accounts/<redacted>/workers/scripts/<redacted>/edge-preview)
  failed.',
    notes: [
      {
        text: 'Uncaught ReferenceError: global is not defined\n' +
          '  at worker.js:7031:20\n' +
          '  at worker.js:12211:3\n' +
          ' [code: 10021]'
      }
    ],
    location: undefined,
    kind: 'error',
    code: 10021
  }

It's a generally unhelpful error message since it doesn't tell me the source of the error. I'm guessing this is due to various pieces of code that are trying to access environment variables via lines such as:
const stage = global.STAGE;

I expected this code to "just work" since it worked under wrangler 1. (I did RTM to see if there's a suggested way of accessing environment variables, but the docs talk in terms of Typescript, which I'm not using.)
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

Updated to clarify that the environment variables are all defined ... or at least, they seem to be: I'm not seeing a report of any encrypted secrets. I guess I would have expected output like XYZ: <encrypted> to indicated that XYZ was known to the script?

How were you building your worker in wrangler v1? Using webpack? No bundling at all? Do you have an example of what your wrangler.toml looked like in v1 and in v2, and some minimal code to reproduce this?

If you're still using service worker format though, you should be able to access your environment variables simply as globals. So STAGE, rather than global.STAGE.
I would definitely recommend you consider migrating to Modules format when you can though: https://developers.cloudflare.com/workers/learning/migrate-to-module-workers/

Were you previously using webpack, via a webpack.config.js with wrangler 1? It seems webpack polyfills the node.js global by default as per https://webpack.js.org/api/module-variables/#global-nodejs.
esbuild doesn't do this, but if you follow my previous comment, you should be able to get this working by simply removing global. from your env vars.

The only webpack config we used in v1 was:
type = "webpack"

No other options or custom webpack config.

you should be able to access your environment variables simply as globals
Sure, but we made this change so we could easily exclude various values from linting (e.g., env variables, KV namespaces, etc). I'm trying to find the backwards compatible path forward that doesn't require me to touch (and then validate) 400 lines of code.

I would definitely recommend you consider migrating to Modules format
Given that this is about 20K lines of code, that will take some doing. I think it's reasonable to finish the v1 -> v2 migration before contemplating this change.

Using type=webpack alone would have been enough to get the global polyfill as this is default with webpack, but not in esbuild.
Outside of a custom build or migrating, your quickest course of action here would likely be to enable node_compat mode within wrangler:
https://developers.cloudflare.com/workers/wrangler/configuration/#add-polyfills-using-wrangler.
You'll need to add node_compat to your wrangler.toml (likely every env), and this should hopefully provide you with the global you're looking for again.

You could possibly find and replace global. with globalThis.

Thanks, this seems to work reasonably well. (At least for now -- I still have jest issues to wrestle with, and things may go sideways there.)


[Shell-Parity] Hand Ray visual updates

Overview
Hand Ray updates for Shell-parity.

Line become solid only on Press
Line color is always white
Updated gradient and dotted line pattern
*Part of the shell-parity UX items #4200

Changes

Updated color values in the DefaultControllerPointer prefab
Updated ShellHandRayPointer.cs to show solid line only on Pressed
Fixes: #4200 and #5355

/azp run


Add whitelist mode

In this pull request, I've implemented a whitelist approach for publishing the notes.
This approach introduces an optional metadata keyword, publish, to the note. If publish: true is present in the metadata of the note, it will be included in the published site, otherwise it will be excluded. This option is useful for drafts, private notes, or content that isn't ready or appropriate for the public yet.
The new changes include:

Adding a whitelist_mode field in the VaultBuilder structure to represent this behavior.
Adding a new flag, whitelist_mode, to the Command enum (which will be enabled with the argument --whitelist-mode on the command line).
Adding a new method, get, on the Metadata structure.
Enhancing the note parsing loop in the VaultBuilder.build function to check each note's metadata for publish: true.

These changes don't affect the default behavior of obsidian-garden, only adding new functionality.

You can use -t (or --tag) to only publish notes with this tag.
obsidian-garden -t public .   _build

But I agree, the tool should support the public: true/false property on front-matter section.


v1: expose filesystem customization

currently blocked by https://github.com/osbuild/osbuild-composer/pull/2285

It's currently only the installer that's failing here, and that's known to be broken (unrelated to https://github.com/osbuild/osbuild-composer/pull/2340 as well). So I propose we merge this? This is an image issue, not an api issue.

Agreed.


use https://httpbingo.julialang.org for testing (mostly fix #23)

There's one holdout test that the Go version of httpbin doesn't
support because the /drip endpoint is broken.

Codecov Report

Merging #24 into master will decrease coverage by 93.56%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #24       +/-   ##
==========================================
- Coverage   93.56%   0.00%   -93.57%
==========================================
  Files           5       5
  Lines         264     255        -9
==========================================
- Hits          247       0      -247
- Misses         17     255      +238

Impacted Files
Coverage Δ

src/Curl/Multi.jl
0.00% <0.00%> (-96.35%)
:arrow_down:

src/Downloads.jl
0.00% <0.00%> (-95.66%)
:arrow_down:

src/Curl/Easy.jl
0.00% <0.00%> (-93.11%)
:arrow_down:

src/Curl/utils.jl
0.00% <0.00%> (-90.48%)
:arrow_down:

src/Curl/Curl.jl
0.00% <0.00%> (-71.43%)
:arrow_down:

Continue to review full report at Codecov.

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


Initial commit for Sklearn integration for EvaDB

Creating this pull request for sklearn integration into EvaDB.

Thanks @jineetd for starting the Sklearn support. Next steps:

Add sklearn case at code
Add output and input information at code
Add a test case, which you can refer to https://github.com/georgia-tech-db/evadb/blob/staging/test/integration_tests/long/test_model_forecasting.py and https://github.com/georgia-tech-db/evadb/blob/staging/test/integration_tests/long/test_model_train.py


Deplicated test function if example name in swagger is duplicated too

The example in the swagger for this is duplicated before the fix. https://github.com/Azure/azure-rest-api-specs/pull/11261/files. And Resulting in this, the test function name is duplicated too.

I don't know whether it's good to add a CI checks or validation to restrict this behavior.
I am open to this.

because there are two example with same name under same http operation. should be fix in swagger.

because there are two example with same name under same http operation. should be fix in swagger.

Should add a check in CI?

Hi @haroldrandom , in swagger CI as a linter rule? I think we can propose it

fixed, and proposed prohibit duplicated example names


Lighten/improve the infrastructure

Several milestones to lighten/improve the infrastructure of the code:
Remove TrainMode
TrainMode::INDIVIDUAL refers to training POD basis per individual subdomain. Even if some subdomains are of the same component, they collect different snapshots and train different POD basis.
In actual production runs, TrainMode::INDIVIDUAL is not really used any more. Furthermore, the same feature can be executed from TrainMode::UNIVERSAL, just using the same mesh for two different components (at the different location). For SubmeshTopologyHandler, this means we're having the same number of components as the number of subdomains, as opposed to one component representing all subdomains.
Having two (unnecessary) different modes and supporting them throughout the workflow is complicating the overall code. The overall structure can be lightened by removing this feature.
Datatype for BasisTag
Unlike single-component ROM, ROM basis for multi-component system has multiple tags: by its component, by variable. The aforementioned TrainMode also changes the component name, further complicating the code.
Considering a future development for interior/interface basis separation, we would want to make a struct for basis tag, containing its component, variable, etc.

Addressed by #47 and #48 .


Multiple country codes in a single match condition?

Can we match multiple country codes in a single match condition?  For example, "US, FR, EN"?

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

ID: d67cfb74-f875-3645-e2fc-35f7c2abf3e3
Version Independent ID: 45db88b1-3a24-fea8-bbaa-596b2590b320
Content: Geo-filtering on a domain for Azure Front Door Service
Content Source: articles/frontdoor/front-door-geo-filtering.md
Service: frontdoor
GitHub Login: @KumudD
Microsoft Alias: kumud;tyao

@markarnolditpro , Yes, you can add multiple country code in a single match conditions.
Sample:

$nonUSGeoMatchCondition = New-AzFrontDoorWafMatchConditionObject -MatchVariable RemoteAddr
-OperatorProperty GeoMatch -NegateCondition $true
-MatchValue "US" , "AD"

@markarnolditpro , Do you have any further question?

@markarnolditpro , closing this issue. Please tag me if you have any further questions.

You can have up to 10 in one condition. If you need more, add another condition.


Some tweaks to reflect content store behaviour

The interesting changes are all in formats/ as usual.

Rebased That For You

:rewind: :baseball: :+1:


Support to install addon with CRD

What type of PR is this?

/kind feature
What this PR does / why we need it:
See the details from the document.
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

None

Does this PR introduce a user-facing change??

Support to install addon with CRD

/cc @kubesphere/sig-devops

/label tide/merge-method-squash


How to create double MFA

The document says:

This requirement could lead to double MFA in some cases

How can I make this happen? If my user is invited to another tenant via B2B, I want them to be prompted with my tenant's MFA even if they will also be prompted for the inviting tenant's MFA (i.e. "double MFA"). I have not been able to achieve this. Azure AD completely ignores my Conditional Access policies, including those intended to apply to everything, when a user connects to another tenant's app via Azure B2B.

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

ID: baa66805-21c3-2236-594c-ad034314dcb0
Version Independent ID: 604012b9-060a-acb0-21ff-69091331fa78
Content: Conditional Access for B2B collaboration users - Azure AD
Content Source: articles/active-directory/external-identities/conditional-access.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@githubuser857 Thanks for reaching out. We will investigate and update the thread accordingly.

@githubuser857 Double MFA triggers only when you switch from one tenant to another tenant or you access applications/resources hosted in different tenants and MFA is configured to be triggered in both tenants.
For instance, MFA is required while accessing Azure Portal in user's home tenant as well as guest tenant. When the user signs in to Azure Portal, and he gets connected to guest tenant's directory, MFA will be triggered by guest tenant only. Later, if user switches to his home tenant's directory by using "switch directory" option, MFA will be triggered again by the home tenant. MFA won't be triggered twice while signing in to azure portal in first place.

@amanmcse Thanks for the explanation. So there is no way to require MFA for my tenant's users when they access an application hosted in a tenant that I do not control? That seems like a gaping hole.

@githubuser857  MFA is implemented to protect access to the resources/applications at tenant level. Since you won't have access to the applications in the other tenants, it is the responsibility of the other tenant's admin to protect their applications by requiring 2nd factor of authentication.


'Sign out' button throws 'Uncaught TypeError'

Bug description
"REST API Try It" functionality in https://docs.microsoft.com/en-us/rest/api/azure/ is a great functionality but the 'Sign out' button does not work. This causes confusions at situations where I change IAM of some users in subscriptions.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://docs.microsoft.com/en-us/rest/api/consumption/usagedetails/list'
Click on 'Try It' button on any HTTP calls
Login and select the tenant
After you are successfully logged-in, click on 'Sign out' - It will not work
Open developer tools > Console to diagnose the problem

Expected behavior
It must sign out the current user without any exception
Screenshots

Desktop :

OS: Windows 10
Browser: Chrome
Version: 69.0.3497.100

@dend @sharriexie Can you take a look at this bug?

#log-suggestion

🚀 ATTENTION: Internal request logged.

This is now fixed, thanks for the feedback @IshamMohamed!


Questions regarding some design decisions used to train MovingMNIST in the paper

Hi,
I have a couple of questions regarding some design decisions of this paper/model to train on MovingMNIST:

Why is cross-entropy loss used for MovingMNIST, while squared error is used for natural images. Is there a reason why you did not use the same loss function for both?
In the training, you are using the ground truth frames as input for the future-predictor and the previously predicted frame as its input when testing/validating the model. But when I try this on my own model, it always ends up that only the first predicted frame is very good, but the quality decreases very fast. In consequence, the model does not seam to learn the motion correctly. But on the other side, when I use the previously predicted frames for the input to the future-predictor already on training, I get much better results. Is there a reason to not use the previously predicted frames in training already?
Looking at the model configurations, the max_iterations are set to 10,000,000. Are the results given in the paper taken from a model that was trained that long? Or for how many steps did you actually train the models? Or did you use an early stopping criteria?

Thx!

Use can think about pixels in MNIST as probabilities so cross entropy loss measures the distance between predicted and ground-truth probability distributions. You can try using MSE for MNIST not sure how it is going to work :)
You are right. This paper http://arxiv.org/abs/1506.03099 addresses what you are saying.
10 mil steps is an arbitrary number. Don't remember exact number of steps we used but it converged fast.

Regading 2:
I'm right with what? To train directly on previously predicted frames, not ground truth frames?
Because by looking in your code, you are using ground truth frames in training. See lines 79-89 in lstm_combo.py:
# Fprop through future predictor.
    for t in xrange(self.future_seq_length_):
      this_init_state = init_state if t == 0 else []
      if self.is_conditional_fut_ and t > 0:
        if train:
            t2 = self.enc_seq_length_ + t - 1
            input_frame=self.v_.col_slice(t2 * self.num_dims_, (t2+1) * self.num_dims_)
        else:
          # Instead of conditioning on true frame, condition on the generated frame at the test time
            t2 = t - 1
            input_frame=self.v_fut_.col_slice(t2 * self.num_dims_, (t2+1) * self.num_dims_)
            if self.binary_data_:
              input_frame.apply_sigmoid()
            elif self.relu_data_:
              input_frame.lower_bound(0)
      else:
        input_frame = None
      self.lstm_stack_fut_.Fprop(input_frame=input_frame, init_state=this_init_state,
                                 output_frame=self.v_fut_.col_slice(t * self.num_dims_, (t+1) * self.num_dims_), copy_init_state=self.future_copy_init_state_)

In the paper, you are writing on page 6:

Next, we change the future predictor by making it conditional. We can see that this model makes sharper predictions.

But there is not hint if it conditions on ground truth frames, or previously predicted frames.

But there is no hint if it conditions on ground truth frames, or previously predicted frames.

As far as I remember we conditioned on ground truth frames. Yeah difference between distribution of ground-truth and predicted frames is causing this issue. I also suggest at the beginning of training to condition on ground-truth and then slowly change them to previously predicted frames as in http://arxiv.org/abs/1506.03099
Btw, how far in the future are you predicting ? It looks like more that 10 frames.

Btw, how far in the future are you predicting ? It looks like more that 10 frames.

During training, I predicted 10 frames using 1-layer LSTMConv2D cells. I trained for 50k iterations and the batch size was I guess 24 on each of the 4 Titan X GPUs. So an effective batch size of 96.
After the model more or less converged, I created this video using the Test-set and enlarged to future predictor to 50 frames, just to see how it behaves after it's learned range of 50 frames.
I think you are doing the same on your (old) website and predict into the future for a very long time (100?):
http://www.cs.toronto.edu/~nitish/unsupervised_video/ (The gif in the top)
I'm just trying to get kind of the same results as yours, but can not reproduce it with my own model in TensorFlow, as well as with your code.
I'll try a another run of your code, and in case the validation set is not converging again, I can post a screenshot right here...
Last but not least: Thank you for your time! :)
Best regards from Munich

As promised, here is the screenshot:

The screenshot was taken after 40k iterations. I used the 1layer combo model. All params are unchanged and as in the repository.
As you kan see, the validation loss is 2600+. I know 40k might not be enough training, but the last time I ran the code with about 650k iterations, the loss was about 2595. There it seams to get stuck somehow.

Yeah difference between distribution of ground-truth and predicted frames is causing this issue. I also suggest at the beginning of training to condition on ground-truth and then slowly change them to previously predicted frames as in http://arxiv.org/abs/1506.03099

Thank you so much for suggesting this paper. I just read it, at this is exactly what I was looking for and is highly valuable for my thesis! :)


[ BC ? ] Remove the translation of validator message keys

Heya people!
I found something rather annoying after implementing lazy insertions of missing translations to a database. In the validator we are not only trying to translate the messages but also the keys.
So i would like to either remove the following lines or make it configurable which parts should be translated. https://github.com/zendframework/zf2/blob/master/library/Zend/Validator/AbstractValidator.php#L578-L583
Does anyone disagree with me ?

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


Add improved custom font support

Custom fonts in React Native are a pain. In CSS, you can do this:
body {
  font-family: arial;
}

In React Native, you have to set the custom font on each component. This is a terrible DX.
As of Dripsy 1.3.1, there are marked improvements for this. You can simply set a global text font by editing the text.body field in your theme:
export default {
  text: {
    body: {
      fontFamily: 'arial'
    },
    h1: {
      fontFamily: 'arialBold'
    }
  }
}

Or you could do it this way:
export default {
  fontFamilies: {
    body: 'arial',
    heading: 'arialBold'
  },
  text: {
    body: {
      // as of 1.3.1, text.body edits all <Text /> by default
      fontFamily: 'body'
    },
    h1: {
      fontFamily: 'heading'
    }
  }
}

Open issue
But what about fontWeight: bold? Well, there is no concept of @fontface in react native. What does this mean? Rather than have a bold version of arial, if you want a fontWeight to apply to a custom font, you have to spell out the custom font name.
// works...
<Text sx={{ fontFamily: 'arialBold' }}></Text>
// doesn't work.
<Text sx={{ fontFamily: 'arial', fontWeight: 'bold' }}></Text>

I don't think this makes any sense. What if you want to change from arial to something else? Should you really have to change the string arialBold everywhere in your app?
I think a nice solution could be to have a customFonts value in your theme that, given a font family name and fontWeight, returns a specific font.
const theme = {
  customFonts: {
    arial: {
      bold: 'arialBold',
      '500': 'arialSemiBold',
    }
  }
}

Then, you could just do this:
<Text sx={{ fontFamily: 'arial', fontWeight: 'bold' }}></Text>

...or, even better:
const theme = {
  customFonts: {
    arial: {
      bold: 'arialBold',
      '400': 'arial',
      default: '400' // if no font family is specified, we use this, or fallback to 400
    }
  },
  fontFamilies: {
    body: 'arial',
    heading: 'arialBold'
  },
  text: {
    body: {
      fontFamily: 'body',
      fontWeight: '400'
    }
  }
}

And then you use it in your components like normal!
<Text sx={{ fontWeight: 'bold' }}>This uses arialBold!</Text>

Ran into this issue just the other day and ended up sticking with native fonts because of it.
I think that this would be a great addition.
How do you imagine loading the fonts. Would you use some magic with expo-fonts behind the scene or require the user to load the fonts themselves and then some how do the matching in dripsy?

I think users will use expo fonts to handle the loading. All dripsy needs to do is match up the correct names and pass them to the component, given a font family and font weight. I'm going to try to get this working today

I'm trying this with yarn add dripsy@custom-font at the moment.

This is working well in my app, published to 1.4.0.

Added docs here.
Also added support for a root font, which styles globally.


Feature/increase code coverage

Increasing code coverage and make it visible on the main Readme.md

Pull Request Test Coverage Report for Build 143

15 of 17 (88.24%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+19.07%) to 65.879%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

terraform_compliance/steps/steps.py
14
16
87.5%

Totals

Change from base Build 134:
19.07%

Covered Lines:
251

Relevant Lines:
381

💛  - Coveralls

Pull Request Test Coverage Report for Build 143

15 of 17 (88.24%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+19.07%) to 65.879%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

terraform_compliance/steps/steps.py
14
16
87.5%

Totals

Change from base Build 134:
19.07%

Covered Lines:
251

Relevant Lines:
381

💛  - Coveralls


[Misc] Use main triton branch

Revert: https://github.com/ROCm/vllm/pull/107
After triton fix landed: https://github.com/triton-lang/triton/pull/4413

update triton repo link from old OpenAI organization to currently used triton-lang

@divakar-amd Can you please verify correctness on bloom and if all good approve this PR?


can't start successfully with either USE_TRACK or USE_PIN

I try to compile file-5.38，I follow the instruction of file-5.38 and create the Makefile with the following command
autoreconf -f -i
env CC=/path/to/angora/bin/angora-clang CXX=/path/to/angora/bin/angora-clang++ LD=/path/to/angora/bin/angora-clang ./configure --disable-silent-rules --disable-shared
USE_TRACK=1 make

and it shows the following error message
./.libs/libmagic.a(compress.o): In function `uncompresszlib':
/home/fuzz/file_angora/src/compress.c:576: undefined reference to `dfs$inflateInit_'
/home/fuzz/file_angora/src/compress.c:576: undefined reference to `dfs$inflateInit2_'
/home/fuzz/file_angora/src/compress.c:580: undefined reference to `dfs$inflate'
/home/fuzz/file_angora/src/compress.c:585: undefined reference to `dfs$inflateEnd'
/home/fuzz/file_angora/src/compress.c:594: undefined reference to `dfs$zError'
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:483: recipe for target 'file' failed
make[3]: *** [file] Error 1
make[3]: Leaving directory '/home/fuzz/file_angora/src'
Makefile:361: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/fuzz/file_angora/src'
Makefile:458: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/fuzz/file_angora'
Makefile:367: recipe for target 'all' failed
make: *** [all] Error 2

so I tried to use PIN_MODE to compile again with the following command:
USE_PIN=1 make

And I can successfully compile, however when I tried to fuzz the program with the following command
/path/to/angora/angora_fuzzer -i input -o output -m pin -t ./file.track  -- ./file.fast -zkd @@

it shows the following error message:
WARN  angora::fuzz_main   > There is none constraint in the seeds, please ensure the inputs are vaild in the seed directory, or the program is ran correctly, or the read functions have been marked as source.
 INFO  angora::depot::dump > dump constraints and chart..

PS. my input directory contains a small binary file
Could someone help me with this?
Thanks!

I have encountered this issue, you need to specify a text file that excludes the functions "inflateInit_" etc. see here: https://github.com/AngoraFuzzer/Angora/blob/master/docs/example.md

Thanks! It works!
Actually I've tried using -fsanitize-blacklist for clang however it didn't work. Anyway thanks for the help!


.raw() endpoint

A .raw() endpoint should be available on as many calls as possible, to expose the full server response.
I don't want pigskin to get in the business of normalizing and exposing every bit of information the services provide. It'll be unending, will break often, and the the different services may simply not provide all of the same info.
Having a .raw() call on objects would allow consumers of the API to get access to weird data they need without pigskin being on the hook for providing a stable API for it.

Closing this issue, as NFL has canceled the Gamepass service


feat(nix): add flake.nix, shell.nix and default.nix

With this PR, development with Nix/NixOS and integrating into the github:NixOS/nixpkgs is easy and would allow building a typos-lsp binary executable for VS Code/Codium Extension in NixOS.

Hi I’m not sure what to do here, as I’d like to encourage contributions, and also support what gets merged, but I’m not familiar with nix or NixOS so I wouldn’t know how to maintain this 🤔


Fixed notice error if no entities

This PR avoids notice error if you don't provide entities to the populator.
Oh and it fixed trailing whitespaces… I don't really know how to avoid these fixes, should be better without them anyway.
Cheers,
William.

Done :)


fix: [#2745] Fix current eslint warnings - botbuilder-dialogs-adaptive library - actions

Adresses #2745
#minor
Description
When reviewing the botbuilder-js project, it was found that eslint is showing several warnings for the botbuilder-dialogs-adaptive library.
Specific Changes

Replaced strings quotes with the correct one depending on the case
Replaced hasOwnProperty with Object.prototype.hasOwnProperty.call
Adjusted formatting
Limited importing scopes
Added missing jsdocs documentation for parameters and returns for functions
Removed unused variables
Added _ (underscore) to unused parameters that couldn't be removed to omit them in the eslint validation
Omitted validation for unknow/any/object variables as they will be treated in a different task

Testing
Eslint with no warnings and tests passed

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 12 (58.33%)  changed or added relevant lines in 10 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage remained the same at 84.548%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-dialogs-adaptive/src/actions/editActions.ts
1
2
50.0%

libraries/botbuilder-dialogs-adaptive/src/actions/forEachPage.ts
0
1
0.0%

libraries/botbuilder-dialogs-adaptive/src/actions/gotoAction.ts
0
1
0.0%

libraries/botbuilder-dialogs-adaptive/src/actions/sendActivity.ts
0
1
0.0%

libraries/botbuilder-dialogs-adaptive/src/actions/updateActivity.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-dialogs-adaptive/src/actions/forEachPage.ts
1
72.29%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19667

Relevant Lines:
22035

💛  - Coveralls


updating commands for local build

doing a bunch o' magick on the readme for updating local build processes

going to merge this, then grab anything useful from #210


Uncaught TypeError: Cannot read property 'printStyle' of undefined

I am trying to implement the nav bar in a Bootstrap 4 project, but I get this error:
jQuery.Deferred exception: Cannot read property 'printStyle' of undefined TypeError: Cannot read property 'printStyle' of undefined     at n (http://vitalstatistix/nav_issues/js/hc-offcanvas-nav.js?v=2.0.0:11:1427)     at new i (http://vitalstatistix/nav_issues/js/hc-offcanvas-nav.js?v=2.0.0:11:22706)     at HTMLElement.<anonymous> (http://vitalstatistix/nav_issues/js/hc-offcanvas-nav.js?v=2.0.0:11:22888)     at Function.each (http://vitalstatistix/nav_issues/vendor/jquery/jquery.min.js?v=2.0.0:2:2573)     at w.fn.init.each (http://vitalstatistix/nav_issues/vendor/jquery/jquery.min.js?v=2.0.0:2:1240)     at w.fn.init.hcOffcanvasNav (http://vitalstatistix/nav_issues/js/hc-offcanvas-nav.js?v=2.0.0:11:22834)     at HTMLDocument.<anonymous> (http://vitalstatistix/nav_issues/js/default.js?v=2.0.0:13:18)     at l (http://vitalstatistix/nav_issues/vendor/jquery/jquery.min.js?v=2.0.0:2:29375)     at c (http://vitalstatistix/nav_issues/vendor/jquery/jquery.min.js?v=2.0.0:2:29677) undefined w.Deferred.exceptionHook @ jquery.min.js?v=2.0.0:2 c @ jquery.min.js?v=2.0.0:2 setTimeout (async) (anonymous) @ jquery.min.js?v=2.0.0:2 u @ jquery.min.js?v=2.0.0:2 fireWith @ jquery.min.js?v=2.0.0:2 fire @ jquery.min.js?v=2.0.0:2 u @ jquery.min.js?v=2.0.0:2 fireWith @ jquery.min.js?v=2.0.0:2 ready @ jquery.min.js?v=2.0.0:2 _ @ jquery.min.js?v=2.0.0:2 jquery.min.js?v=2.0.0:2 Uncaught TypeError: Cannot read property 'printStyle' of undefined     at n (VM192 hc-offcanvas-nav.js:11)     at new i (VM192 hc-offcanvas-nav.js:11)     at HTMLElement.<anonymous> (VM192 hc-offcanvas-nav.js:11)     at Function.each (jquery.min.js?v=2.0.0:2)     at w.fn.init.each (jquery.min.js?v=2.0.0:2)     at w.fn.init.hcOffcanvasNav (VM192 hc-offcanvas-nav.js:11)     at HTMLDocument.<anonymous> (default.js?v=2.0.0:13)     at l (jquery.min.js?v=2.0.0:2)     at c (jquery.min.js?v=2.0.0:2)
It seems that the problem is in this part:
 n = function(e) {             if (e.querySelector("ul") || "UL" === e.tagName) {                 var g = "hc-nav-" + ++ie                   , l = R.printStyle("hc-offcanvas-" + ie + "-style")                   , s = "keydown.hcOffcanvasNav"                   , c = R.createElement("nav", {                     role: "navigation"                 })
The line where the error occurs is : l = R.printStyle("hc-offcanvas-" + ie + "-style")
I followed the basic JQuery initialisation:
$(document).ready(function($) {       // Init navbar       $('#main-nav').hcOffcanvasNav({         disableAt: 1024,         customToggle: $('.toggle'),         navTitle: 'All Categories',         levelTitles: true,         levelTitleAsBack: true       });
And at this stage I use the example menu from the README.md
Any idea why it is not working?
Thanks
Andre

Are you using the latest version of HC Off-canvas Nav?

How did you include the script into your project?

I ran today into the same wall. Webpack 5.3.2
Uncaught TypeError: Cannot read property 'splice' of undefined
Uncaught TypeError: Cannot read property 'printStyle' of undefined

const hcOffcanvasNav = require('hc-offcanvas-nav');
// import 'hc-offcanvas-nav/dist/hc-offcanvas-nav';

document.addEventListener('DOMContentLoaded', function() {

    var Nav = new hcOffcanvasNav('#offcanvas', {
        disableAt: 1024,
        customToggle: '.navbar-toggler',
        navTitle: 'All Categories',
        levelTitles: true,
        levelTitleAsBack: true
    });

});

"hc-offcanvas-nav": "^6.1.3",

I have two js files:
<script src="./assets/default/js/bundle.js"></script>
<script src="./assets/default/js/addons.js" defer></script>

As you can see, the second one is in defer mode. No error when call hcOffcanvasNav from here. But when it's called from the first bundle, the error occurs.

Yes, I was using the latest version.
I don't have the code anymore as I tried a different menu system.
But I included the CSS in the Header of the file and the javascript at the end of the file

Same thing happened to me. If you didn't add this plugin using npm and just downloaded the the whole thing from git. Then you should use the js and css files in 'dist' folder. It works just fine.


updateClassifiers doesn't download sources and docs for updated snapshot dependencies

Hello.
sbt.version=0.13.7
we are using corporate maven repository (served by artifactory 3.4.1)
Our libraryDependencies:
libraryDependencies ++= {
    val jettyVer = "9.2.3.v20140905"
    val akkaVersion = "2.3.7"
    val kamonVersion = "0.3.5"
    Seq(
        "javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided",
        "com.simplesys" %% "akka-extender" % "1.0.2-SNAPSHOT",
        "com.simplesys" %% "isc-wrapper" % "1.0.0-SNAPSHOT",
        "com.simplesys" %% "common" % "1.0.0-SNAPSHOT",
        "com.simplesys.jdbc.drivers" % "oracle" % "<IP_ADDRESS>",
        "com.simplesys" %% "isc-components" % "1.0.0-SNAPSHOT",
        "com.simplesys" %% "core-library" % "1.0.0-SNAPSHOT",
        "com.simplesys" %% "scala-io-extender" % "1.0.0-SNAPSHOT",
        "ru.simplesys" %% "core-domains" % "1.2.1-SNAPSHOT",
        "ru.simplesys" %% "core-utils" % "1.0.1-SNAPSHOT",
        "com.simplesys" % "smartclient-js" % "10.0-v20141114",
        "com.simplesys" %% "scala-gen" % "1.0.0-SNAPSHOT" % "test",
        "com.typesafe.akka" %% "akka-actor" % akkaVersion,
        "com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
        "com.typesafe.akka" %% "akka-persistence-experimental" % akkaVersion exclude("org.iq80.leveldb","leveldb"),
        "org.iq80.leveldb" % "leveldb" % "0.7",
        "com.twitter" %% "chill-akka" % "0.5.0",
        "com.github.bseibel" %% "akka-persistence-bdb" % "1.0.1",
        "com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test",
        "org.eclipse.jetty" % "jetty-webapp" % jettyVer % "container",
        "org.eclipse.jetty" % "jetty-annotations" % jettyVer % "container",
        "org.eclipse.jetty" % "jetty-plus" % jettyVer % "container",
        "org.scalatest" %% "scalatest" % "2.2.2" % "test",
        "org.scalaj" %% "scalaj-http" % "0.3.16" % "test",
        "org.json4s" %% "json4s-jackson" % "3.2.10" % "test",
        "org.scalaz" %% "scalaz-core" % "7.1.0",
        "com.simplesys.edu.mit" % "jwi" % "2.3.3",
        "org.parboiled" %% "parboiled" % "2.0.1",
        "io.kamon" %% "kamon-core" % kamonVersion,
        "io.kamon" %% "kamon-statsd" % kamonVersion,
        "io.kamon" %% "kamon-system-metrics" % kamonVersion)

during updateClassifiers only jars are downloaded, without sources and docs, although they all have published sources and docs. This is really annoying, I'm ready to supply all info you need.
 And if so find a way to reproduce the problem with publicly available artifacts and repositories?

It's all right when you download snapshot deps at first time. After that if
you republish snaphshot deps and try updateClassifiers sbt won't download
sources and docs anymore, altough main jar will be downloaded.
That's why I don't how to reproduce it with publicly available artifacts,
you need to publish new snapshot to catch the problem.
2015-06-07 19:22 GMT+03:00 Dale Wijnand<EMAIL_ADDRESS>
I've been trying to reproduce this, but I can't, trying sbt 0.13.8, 0.13.7
and 0.13.6:
// build.sbt
name := "t"
version := "1.0"
scalaVersion := "2.11.6"
      resolvers += Resolver sonatypeRepo "snapshots"

libraryDependencies += "com.chuusai" %% "shapeless" % "2.2.1-SNAPSHOT"```

updateClassifiers
[info] Updating {file:/Users/dnw/Desktop/t/}t...
[info] Resolving jline#jline;2.12.1 ...
[info] downloading https://oss.sonatype.org/content/repositories/snapshots/com/chuusai/shapeless_2.11/2.2.1-SNAPSHOT/shapeless_2.11-2.2.1-SNAPSHOT.jar ...
[info]  [SUCCESSFUL ] com.chuusai#shapeless_2.11;2.2.1-SNAPSHOT!shapeless_2.11.jar(bundle) (2553ms)
[info] Done updating.
[info] Resolving jline#jline;2.12.1 ...
[info] downloading https://oss.sonatype.org/content/repositories/snapshots/com/chuusai/shapeless_2.11/2.2.1-SNAPSHOT/shapeless_2.11-2.2.1-SNAPSHOT-javadoc.jar ...
[info]  [SUCCESSFUL ] com.chuusai#shapeless_2.11;2.2.1-SNAPSHOT!shapeless_2.11.jar(doc) (2502ms)
[info] downloading https://oss.sonatype.org/content/repositories/snapshots/com/chuusai/shapeless_2.11/2.2.1-SNAPSHOT/shapeless_2.11-2.2.1-SNAPSHOT.jar ...
[info]  [SUCCESSFUL ] com.chuusai#shapeless_2.11;2.2.1-SNAPSHOT!shapeless_2.11.jar (2025ms)
[info] downloading https://oss.sonatype.org/content/repositories/snapshots/com/chuusai/shapeless_2.11/2.2.1-SNAPSHOT/shapeless_2.11-2.2.1-SNAPSHOT-sources.jar ...
[info]  [SUCCESSFUL ] com.chuusai#shapeless_2.11;2.2.1-SNAPSHOT!shapeless_2.11.jar(src) (876ms)

@newffy https://github.com/newffy Can you check if this bug still
present? And if so find a way to reproduce the problem with publicly
available artifacts and repositories?
—
Reply to this email directly or view it on GitHub
https://github.com/sbt/sbt/issues/1750#issuecomment-109768232.

So seems like the way snapshot updates are handled is that the pom is downloaded and, if it's a newer pom, Ivy deletes the dependency jar from the Ivy cache, so then later it doesn't find it present, and re-downloads it.
For some reason the sources and javadoc configurations aren't present on the ModuleDescriptor for the dependency so that all 3 jars are deleted and re-downloaded.
Here's the code I'm talking about:

https://github.com/sbt/ivy/blob/c5d1b95f/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java#L1205-L1216

Seeking Ivy help!

The sources and javadoc configurations might be missing because they're also missing in ivy-0.1.0-SNAPSHOT.xml.
Compare bippy vs scala-library:
<publications>
  <artifact name="sbt-gh1750-bippy_2.11" type="jar" ext="jar" conf="master"/>
</publications>
<dependencies>
  <dependency org="org.scala-lang" name="scala-library" rev="2.11.7" force="true" conf="compile->compile(*),master(compile);runtime->runtime(*)"/>
</dependencies>

Interestingly invoking deliver in bippy generates:
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra">

  <info organisation="com.dwijnand" module="sbt-gh1750-bippy_2.11" revision="0.1.0-SNAPSHOT"
    status="integration" publication="20150725004740"
  >
    <description>sbt-gh1750-bippy</description>
  </info>

  <configurations>
    <conf name="compile"  visibility="public" description=""/>
    <conf name="runtime"  visibility="public" description="" extends="compile"/>
    <conf name="test"     visibility="public" description="" extends="runtime"/>
    <conf name="provided" visibility="public" description=""/>
    <conf name="optional" visibility="public" description=""/>
    <conf name="sources"  visibility="public" description=""/>
    <conf name="docs"     visibility="public" description=""/>
    <conf name="pom"      visibility="public" description=""/>
  </configurations>

  <publications>
    <artifact name="sbt-gh1750-bippy_2.11" type="pom" ext="pom" conf="pom"/>
    <artifact name="sbt-gh1750-bippy_2.11" type="jar" ext="jar" conf="compile"/>
    <artifact name="sbt-gh1750-bippy_2.11" type="src" ext="jar" conf="sources" e:classifier="sources"/>
    <artifact name="sbt-gh1750-bippy_2.11" type="doc" ext="jar" conf="docs" e:classifier="javadoc"/>
  </publications>

  <dependencies>
    <dependency org="org.scala-lang" name="scala-library" rev="2.11.7" conf="compile->default(compile)"/>
  </dependencies>
</ivy-module>

Going back a little, it seems the sources and javadoc configuration don't have artifacts that Ivy can delete and re-download because the addSourcesAndJavadocArtifactsIfPresent code in Ivy is being blocked by sbt-specific code.
This leads me to git blame myself to https://github.com/sbt/sbt/commit/d8b3118ba4b9920ebaec2ac16901c34f4d63b404 and down the links that provides.
Seems there's lots of things going on here, Ivy things, Maven things, sbt overriding ivy things, sbt changing ivy things in ivy, wrong POM things.. as well as performance concerns.
So given this context I'm not sure how this bug should be solved.

@dwijnand That's actually the desgin of sbt is to disable that feature.   It turns out Ivy is issueing an http HEAD request to check existence of files before downloading.  This is expensive, and it doesn't actually cache FAILURE (which maven does).  Additionally, maven doesn't check existence of an artifact until it's asked for.
SO, what we're trying to do in sbt is mimic the maven style, but use the Ivy interfaces/API.   That's why this is so wrong.   We have two options:

Fix the bug using all the current workarounds.  This means you'll have to dive deeper to see why sources/javadoc are not updated.  AFAIK, the mechanism we use to grab classifiers SHOULD NOT be inhibited by the code you've found, as we walk a different path to get there.
Fix the underlying issue of Ivy's sources/classifier check performance via some kind of "negative cache" for artifacts, where we prevent looking if we've tried in the past X time-units.

We really really want to fix 2, because we think we could eek a lot of performance out of Ivy if we fix 2.   TO resolve this bug you only have to fix 1, which I think may be something a bit smalelr and more paletable.
In any case, as I said in gitter, I'm still trying to think through (2) a bit more, as I'd like to nail a solution to that soon.

@dwijnand It appears like the core issue here is related to the maven -SNAPSHOT and uniqueVersion fun.    I can dive in, but I think the way we set up updateClassifiers:  https://github.com/sbt/sbt/blob/0.13/main/src/main/scala/sbt/Defaults.scala#L1216-L1237

We create DIRECT dependencies to all known transitive dependencies
We create DIRECT artifacts to download for all classifiers (we actually don't handle the "sources" vs. "srcs" issue that exists for some dependencies)

I think what's happening is we're essentially asking for foo-bar-1.0-SNAPSHOT-sources.jar when we need foo-bar-1.0-<unique version>.jar.   There's workaround in ivy for this that our code may not be hitting.   We may need to dive deeper with our sources/javadoc workaround to fix the surface issue.  Again, we could also just re-enable Ivy's normal handling of source/javadoc and instead fix the performance issue there.

@jsuereth thanks for spending time looking into this, I truly need all the help I can get.
I'm not sure if this is to do with unique version, as, at least on Nexus rather than Artifactory, the sources jar is available as foo-bar-1.0-SNAPSHOT-sources.jar.
I'm happy to look into how to fix 2, as I've been working on this exclusively for two months now, I don't mind trying to fix it the best way possible.
But I wonder, if the desired result is, given the pom has a newer publication date, delete old jars so that the updated version can be downloaded, why not just try to delete any known, common classifier jars (like sources, srcs, javadoc) and then get them downloaded again. Is it better to have an outdated sources jar present if there's no updated sources jar available? But I guess this is the "fix 1" solution here.
I'll try reproducing the performance issue with a missing sources jar, removing that sbt override, and see if I can come up with a satisfactory failure cache to mitigate. It's a shame it means working in two repos/builds.
Again, thanks for your help.

@dwijnand Anytime!  I'm hoping I can help you out here eventually.  Your idea to delete old jars when an updated version is downloaded actually sounds like it should work out as a "fix 1" workaround.  COuld bear fruit.
As far as fix #2, I'd really like to just redo how Ivy caches from the ground up, and rewrite EVERY dependency resolver to use the new caching mechanism.   We might even be able to make that work :)

I took some more detailed notes on the sequence of events, for the purposes of exploring both avenues, particularly so I can being to understand what things are called.
It's quite a wash of detail, mostly for me, but might be interesting in general, particularly if anything is or looks wrong.
The shared entry point of both update and updateClassifiers is IvyActions.updateEither

The entry point to Ivy from Sbt is
(ivy: Ivy).resolve(module: DefaultModuleDescriptor, resolveOptions: ResolveOptions)

eventually that calls SbtChainResolver, which is a ChainResolver, which is a DependencyResolver
the method is getDependency(dd: DependencyDescriptor (MergedDescriptors), data: ResolveData)

that ends up calling BasicResolver.getDependency(dd, data)

that extracts mrid: ModuleRevisionId from dd: DependencyDescriptor, which is ~= GAV

a variant of dd (nsDd) and data are used to call findIvyFileRefs, which returns ivyRef: ResolvedResource

ivyRef and another variant of dd (systemDd), and data are called to parse

that fetches a parser: ModuleDescriptorParser from ModuleDescriptorParserRegistry, by URLResource,
which returns sbt's CustomPomParser (deprecated) which is a ModuleDescriptorParser,

but the call is getMetadaTadataArtifact(mrid: ModuleRevisionId, res: Resource)
which just delegates to underlying PomModuleDescriptor
which returns moduleArtifact: Artifact (DefaultArtifact)

then a call to a RepositoryCacheManager is made,
the instance here is sbt's "default-cache",
which is essentially a DefaultRepositoryCacheManager
but overrides findModuleInCache(
  dd: DependencyDescriptor, mrid: ModuleRevisionId, options: CacheMetadataOptions, expectedResolver: String)

the call to "default-cache" DefaultRepositoryCacheManager is
  cacheModuleDescriptor(
    resolver       : DependencyResolver   (sbt's PluginCapabaleResolver, delegating to IBiblioResolver)
    mdRef          : ResolvedResource
    dd             : DependencyDescriptor (DefaultDependencyDescriptor)
    moduleArtifact : Artifact             (DefaultArtifact)
    downloader     : ResourceDownloader
    options        : CacheMetadataOptions
  )

there the POM artifact is force downloaded

then it gets parsed

the call stack uses ModuleDescritorMemoryCache and DefaultRepositoryCacheManager.MyModuleDescriptorProvider

and eventually calls
  (mdParser: ModuleDescriptorParser (PomModuleDescriptorParser)).parseDescriptor(
    ivySettings   : ParserSettings (ResolverParsingSettings)
    descriptorURL : URL
    res           : Resource       (URLResource)
    validate      : Boolean        (true)
  )

there, having populated a mdBuilder: PomModuleDescriptorBuilder
including adding it's main artifact, unreservably

it calls
  PomModuleDescriptorBuilder.addSourcesAndJavadocArtifactsIfPresent(
    mdBuilder   : PomModuleDescriptorBuilder
    ivySettings : ParserSettings (ResolverParserSettings)
  )

there it fetches the resolver: DependencyResolver (SbtChainResolver) as such:

  ModuleDescriptor md = mdBuilder.getModuleDescriptor();        // returns PomModuleDescriptorBuilder
  ModuleRevisionId mrid = md.getModuleRevisionId();
  DependencyResolver resolver = ivySettings.getResolver(mrid);  // returns SbtChainResolver

then it calls resolver.locate(artifact: Artifact (MDArtifact))

however SbtChainResolver has an override that retuns null if artifact IvySbt.hasImplicitClassifier

so locating sources, src & javadoc returns null
so no source/src/javadoc artifacts are added to mdBuilder: PomModuleDescriptorBuilder

so md: ModuleDescriptor (DefaultModuleDescriptor) propagates up to "default-cache" DefaultRepositoryCacheManager

there as md's resolvedPublicationDate: Date doesn't match the cachedPublicationDate
deleteOldArtifacts is set to true

with deleteOldArtifacts == true
the configurations on md are iterated on
fetching the artifacts for each configuration,
to then delete them

but as source/src/javadoc artifacts weren't added to md,
these aren't found
so aren't deleted
so aren't re-downloaded

See sbt/ivy#15.


[AutoPR customproviders/resource-manager/serialconsole/resource-manager/adhybridhealthservice/resource-manager] removed unused profiles

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5810

(message created by the CI based on PR content)

Codecov Report

Merging #5003 into restapi_auto_multiapi will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##           restapi_auto_multiapi    #5003   +/-   ##
======================================================
  Coverage                  49.08%   49.08%
======================================================
  Files                       6506     6506
  Lines                     182346   182346
======================================================
  Hits                       89502    89502
  Misses                     92844    92844

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 34518cd...8d4c4ee. Read the comment docs.


Cooperative team damage not resetting

Start a co-op game, leave, then start anarchy, players will be invincible when they should not be.
After testing, this seems to be working, should test this with Obi again.

Tested, it's working fine!


ensure consistent, reproducible choice when multiple parameter aliases are given

Summary
Many LightGBM interfaces (in R, Python, C++, and others) accept a key-value map params, which can be used to override LightGBM's default configuration. The valid values are documented at https://lightgbm.readthedocs.io/en/latest/Parameters.html.
For many of those parameters, LightGBM recognizes a "main" parameter name and one or more "aliases" (other names which set the same configuration).
For example, main parameter num_iterations can also be referred to in user code as n_iter, num_round, and more (docs link).
On the C++ side, LightGBM guarantees reproducible behavior whenever multiple of these aliases are provided in the same call, like this:
{
    "num_round": 100,
    "n_iter": 200
}

LightGBM's C++, R, and Python packages should all make identical choices in such situations.
Motivation
Ensuring that LightGBM always chooses the same configuration given a certain content of params eliminates one possible source of the same code producing different results  at different times or in different environments. That might save maintainers and users of the project time that would otherwise be lost investigating changes in results.
Description
Currently, the C++ side has some logic to make the choice of alias reproducible.
https://github.com/microsoft/LightGBM/blob/fc0c8fd4521ab4814fe3f59999115b70984e76c1/include/LightGBM/config.h#L1141-L1144
Instead of replicating that logic in Python and R code, I believe this feature should be implemented similarly to the approach taken in #4829. The full list of recognized aliases is known at compile time, so it shouldn't necessary to write R and Python code similar to that C++ code which checks name lengths and alphabetic ordering every time params is processed.
I think these could all be kept in sync by:

moving that size + alphabetic ordering logic out of ParameterAlias::KeyAliasTransform() and instead having https://github.com/microsoft/LightGBM/blob/master/helpers/parameter_generator.py pre-sort all aliases that way
changing ParameterAlias::KeyAliasTransform() in C++ to use the output of Config::DumpAliases() or some other code on Config, iterate over aliases in order, and prefer the first one that it finds (taking advantage of the fact that the aliases have already been sorted)

To avoid the overhead of serializing and deserializing a JSON string, it might also be useful to add an intermediate method for Config::DumpAliases() that returns arrays of names, and re-use that across both Config::DumpAliases() and that alias-resolution code in ParameterAlias::KeyAliasTransform().
References
Created based on https://github.com/microsoft/LightGBM/pull/5289#discussion_r898087959.
The changes in #4829 are highly relevant to this issue, and reading that PR will help those looking to understand this issue more thoroughly.

Totally support this!
I remember how we struggled without deterministic alias resolution method: https://github.com/microsoft/LightGBM/pull/880#issuecomment-327855127 😬

I can work on this if that's ok.

sure, that would be great!


Limit on the number of  downloaded images

If the galery is over 999 images it will only display 999 throught the app. It will have the rest on the phone but the app stops displaying at 999

Fixed in 2.1.9


Update rz-ax.md for PR 4526

Found the command output to be outdated, so once PR 4526 is put in, this should apply.
https://github.com/rizinorg/rizin/pull/4526

@TheN00bBuilder please update also the man file in the rizin repo (see binrz/man directory)

Oh! Did not see those. Fixing now, thank you for the hint.


Rename "success" to "ok"

@Siegrift what do you think about renaming success to ok? "ok" is shorter, so takes up less space on a given line, and it's (arguably) a bit more common as a keyword than "success". Obviously this would be a breaking change though and would require a major version bump.
Edit: sorry shouldn't have tagged the core team

and it's (arguably) a bit more common as a keyword than "success"

Arguably :D. zod also uses the nomenclature we have https://github.com/colinhacks/zod#safeparse.
This change does feel necessary to me and we would need to upgrade other repos (at least at some point).

Btw. you could create a tiny wrapper around promise utils that does this only for chainAPI.

This change does feel necessary to me

"Does feel necessary" - do you mean that you agree with this suggestion?

a tiny wrapper around promise utils

Also very true 👍🏻

"Does feel necessary" - do you mean that you agree with this suggestion?

Sorry, I am missing NOT there (does not feel necessary).

Fair enough. Let's keep it as is then


Create proud-to-be-nepali.php

Next time "Proud to be Japanese", "Proud to be American", "Proud to be Korean", ...

i will try that next time


QA NVBug Enhancement 1:  Switch panel to clear points

In point prompts, when the model changes to another one, the previous points are cleared in some cases but are retained in other cases. The behaviors are not consistent so the user experience is impacted.
Reproduce steps
1, Log in to the playground, select a study, and open the OHIF viewer page
2, Open the MONAI Service panel, and then open the Point Prompts tab
3, Change the model to "my_vista", select "liver" in the list options, and set some points on the images
4, Change the model to "monaistuff_vista", this clears the points set in step #3
5, Repeat step #3
6, Switch to the Segmentation panel
7, Repeat step #2, at this point the model "monaistuff_vista" is selected by default and the points set in step #5 are retained
8, Change the model to "my_vista", this clears the points set in step #5
Expected results
The points retain/clear behaviors in step #4, #7, and #8 should be consistent

Close as completed


Programming exercises with deadline extension wrongfully displayed in 'Past' section

Describe the bug
Scenario: The due date for an individual student has been extended, and the original deadline of the exercise has passed. However, the student still has time left because of their due date extension. But the programming exercise is still displayed in the 'Past' section in the student view.
To Reproduce

Create programming exercise that is due in 5 minutes
Participate in the exercise (Start exercise button)
Click on the exercise as the participant to view the exercise details (don't click on any of the buttons, click somewhere in the area that surrounds the buttons)
The red Reset Repository button should still be there.
Extend the deadline for this participant by going to Course Management -> Exercises of the respective course -> Participations of the respective exercise -> enter a new individual due date that is some time in the future
If the previous due date has passed and the individual due date has not yet passed, go to the exercise view of the course as the participant.
The exercise is displayed in the 'Past' section, even though the extended due date has not yet passed.

Expected behavior
The exercise should be displayed in the Current section for the student that still has time to work on the exercise.
Screenshots

Note that it says due date 'in 2 minutes'.
Which version of Artemis are you seeing the problem on?
6.7.0
What browsers are you seeing the problem on?
Safari

@florian-glombik can we handle this special case properly?


chinese font error with image labeled "x"

example "twopoint" ,after changed the yaxies label to chinese ,the output.png seem abnormal with font "x",
like https://github.com/wcharczuk/go-chart/issues/50
so , maybe we should add some example about setting font.
I don't know how to change the "font.go" file .
and i dont know whether the font support Font-awesome ? who can tell me ,thank you

example：
https://www.cnblogs.com/ghj1976/p/11356025.html


dnf

Fedora 22 has been released and replaces yum with dnf. Either the existing yum plugins needs to be updated to also support dnf or a new dnf plugin (based on the old yum one) needs to be created.

There are some PR's already open here. Maybe you would test them and leave your recommendation on your preferred patch. Thanks!

Done. For some reason the GitHub search I did for "dnf" did you yield these issues.


Best practice to adjust Monday - Sunday header?

7.0.6
Today i decided to turn off hasStrictBoundaries to create continuous dates in 1-row setup. Now I'm looking for a solution to adjust weekday headers.
Logically, given date, one needs to know the 'count' of days shifted when GeneratedInDates and GeneratedOutDates are off for 1-row –– and use this to adapt weekday headers. How?
Background -- Basically, i'm going from monthly to weekly view ... from 6 rows to 1 row ... and while generateInDates and generateOutDates is set .forAllMonths and .tillEndOfGrid for monthly view, these are OFF for 1-row view. Everything looks great, except for my weekday headers.

Ah. The default configuration for a 1-row calendar is this
        let parameters = ConfigurationParameters(startDate: startDate,
                                                 endDate: endDate,
                                                 numberOfRows: 1,
                                                 generateInDates: .forFirstMonthOnly,
                                                 generateOutDates: .off,
                                                 hasStrictBoundaries: false)

.forFirstMonthOnly is used to generate the offset in the columns. And with strict boundaries set to false, it will snap right next to the previous months.
Let me know fi this helped.

ha! i just figured the "forFirstMonthOnly" part out ... was upgrading a class with elaborate code when it hit me... to try ". forFirstMonthOnly" ... and that did the trick. returned here to sheepishly but gladly admit the ease of solution. Thanks Patchman !!!

youre welcome :)


Basics of the Web Workshop

Workshop about the basics of the web - html, css and js
To be presented as part on Wednesday [1 December 2021]

Closed by #10