TcpSocket can transmitt packages in wrong order

I observed that a tcp connection where one socket is just sending and one socket is just receiving emits a wrong package after some time.
I programmed a small app to demonstrate the problem here: https://gitlab.com/tendsinmende/smoltcp_tcp_bug
I tried the app on ArchLinux + AMD and ArchLinux + Intel.
What happens?
The symptom is, that after some time the received test string ends to early and is filled with the start of the next test string instead.
In my case the test string is
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac feugiat sapien, et condimentum quam. Phasellus nec faucibus nulla. Vivamus at bibendum mauris. Aliquam erat volutpat. Ut rutrum arcu sed nisi efficitur, ac sagittis lacus bibendum. Phasellus et ante lectus. Integer vestibulum, dolor consequat scelerisque fermentum, neque neque ultrices dolor, nec ultrices nisi lectus sit amet tellus. Morbi scelerisque quis mi nec facilisis. Morbi porttitor tortor rhoncus mauris blandit sodales. Etiam elementum nunc a laoreet vulputate. Curabitur interdum imperdiet viverra.
Donec elementum porta risus, in commodo libero sodales eget. Suspendisse porttitor vitae mi ut volutpat. Proin eget accumsan neque. Vestibulum quis ex placerat, semper odio in, lobortis nulla. Nulla sollicitudin eget tortor sed venenatis. Phasellus eget purus ligula. Nam fringilla ultrices dapibus. Vivamus iaculis elementum lectus id malesuada.
Nulla ultrices erat et vulputate varius. Pellentesque nec massa viverra, pharetra nulla a, rutrum

However, after some time I'll receive a broken package like this one:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac feugiat sapien, et condimentum quam. Phasellus nec faucibus nulla. Vivamus at bibendum mauris. Aliquam erat volutpat. Ut rutrum arcu sed
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac feugiat sapien, et condimentum quam. Phasellus nec faucibus nulla. Vivamus at bibendum mauris. Aliquam erat volutpat. Ut rutrum arcu sed nisi efficitur, ac sagittis lacus bibendum. Phasellus et ante lectus. Integer vestibulum, dolor consequat scelerisque fermentum, neque neque ultrices dolor, nec ultrices nisi lectus sit amet tellus. Morbi scelerisque quis mi nec facilisis. Morbi porttitor tortor rhoncus mauris blandit sodales. Etiam elementum nunc a laoreet vulputate. Curabitur interdum imperdiet viverra.
Donec elementum porta risus, in commodo libero sodales eget. Suspendisse porttitor vitae mi ut volutpat. Proin eget accumsan neque. Vestibulum quis ex placerat, semper odio in, lobortis nulla. Nulla sollicitudin eget tortor sed venenatis. Phase

Observations
As you can see I implemented a custom device to test this. Apparently the problem already occurs in the sending socket. While the correct string is inserted into the send-queue via socket.send_slice(), the device appears to receive an already broken string when parsing the TCP package inside the Ethernet package that is being send over the device.
While Tcp is able to transmit the package on the device out of order (as far as I understood) there seems to be a problem when splitting the package up and putting them back together in order on the receiving end.
The first part is send (in my example until [..]Ut rutrum arcu sed) but the rest of this package is never send afterwards. Instead a new package is send.
I'm not sure if this is a duplicate of this issue, or something new. I added a print to the transmit token on this branch. When executed the Tokens are consumed in order, until at one point it isn't in order anymore.
What changes the behavior?

When increasing the buffer sizes of the packages the bug occurs later.
Sometimes in debug builds a attempt to multiply with overflow occurs here: https://github.com/smoltcp-rs/smoltcp/blob/v0.7.x/src/socket/tcp.rs#L143

Context
OS: ArchLinux
rustc: rustc 1.52.0-nightly (8e54a2113 2021-02-13)
smoltcp: 0.7.1
occurs in debug and release build
Is my expectation wrong that the data returned by socket.recv() is in the same order as given to socket.send()?
Any Ideas if I'm missing something or where to look for the bug?
Cheers
Tendsin Mende

The bug is in this snippet. send_slice may enqueue only part of the slice you provide, which can cause the messages to be "cut" like you're seeing.
                    let size = socket.send_slice(&TESTBUFFER).unwrap();
                    //println!("Send {}", size);
                    if size == 0{
                        //println!("NOT SEND");
                    }else{
                        //println!("SEND");
                    }

Hi, thanks for the fast reply!
I added tracking of which parts of the buffer where sent to the example, but it seems to persist on my side.
According to the println the send_slice() function enqueues the whole package, when enqueuing anything at least.

There's another bug in the receiving code: you're setting ptr to 0 in each poll iteration, throwing away data. On one iteration you may receive only part of a message, you have to keep that data for when the rest arrives later.
https://gitlab.com/tendsinmende/smoltcp_tcp_bug/-/blob/master/src/main.rs#L216

That fixed it indeed, thank you for your time!


CMake Debugger: group variables better

Brief Issue Summary
See the image:

There are 52 local variables (already reduced from 140 by unsetting variables). So it is quite hard to find/see the variable I would be looking for.
So is there some way to group variables better (like the cmake gui does by prefix_) or to filter the variables in the debug view somehow? Alternatively showing variables only set by CMAKE_CURRENT_LIST_FILE and provide an expandable tree for the CMAKE_PARENT_LIST_FILE or variables set via PARENT_SCOPE from included/"child like" list files?
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

This is a reasonable feature request! I'll mark it as such and we will investigate where this might fit in our backlog and if we have bandwidth for it.
Thanks!


[APPM-1639] Subscriber permission need to be added for mobile apps

Currently we only have webapp/subscribe permission. This is essential to login to app-store. but there can be a situation, user is only interested in mobileapps. In that case, user should be able to login with mobileapp/subscribe permission.Reference: https://wso2.org/jira/browse/APPM-1639

App manager component is being rewritten for IoT server, and this will be addressed there. Hence closing the issue.


Resume of data conversion?

🚀 Feature Request

Motivation

When converting a huge dataset, I would like to resume the conversion process when it failed on the way.
[Optional] Implementation

Additional context

@karan6181 @knighton this seems like an interesting feature, I would like to work on this

@huxuan I attempted to solve the issue, but here are the major blockers:

For resuming from a particular shard upon interruption, we need to know the total shards to mark completion, but while each shard is created dynamically, it's hard to estimate the total shards during the beginning of the script.
Resuming from a particular shard means splitting the data from that point, which might break the atomicity as an exact data split can be unclear.

I will raise an issue to at least have a feature to estimate the total shards that would be created, so that in future maybe resuming from a particular shard index can be possible.

For resuming from a particular shard upon interruption, we need to know the total shards to mark completion, but while each shard is created dynamically, it's hard to estimate the total shards during the beginning of the script.

In my current data packaging implementation, the data is provided by a IterableDataset, and a None value is used to indicate the end of the whole dataset.

Resuming from a particular shard means splitting the data from that point, which might break the atomicity as an exact data split can be unclear.

I did not deeply looked into the implementation of MDSWriter, but I suppose it should not change the original behavior. It should be OK to delete and generate the broken shard if possible.

@huxuan @abhijithneilabraham This isn't something that's currently on our roadmap right now, but if you have ideas for how we would improve MDSWriter to make this functionality possible, that would be great! We always appreciate open source contributions :)

For anyone might be interested, a workaround is used for resume.

The data is splitted into subsets with a predefined chunk size, for example, 10000.
The data conversion script will maintain the state of each subset.
The data conversion script will skip those subsets whose state is "Done" and will overwrite the specific subset when it is not.

This works fine in my scenario with tens of millions of video clips.


Revert "Repackaging - PaloAlto-PAN-OS (MMA to AMA Migration)"

Reverts Azure/Azure-Sentinel#9088

This PR having validation error therefore new PP raised.


Will this project return

You stopped working on it? Will you work on it again in the future, very promising.

I have been busy lately..., But Yeah, i'll work on it and add the friends request part.

You should end up adding user profiles kind of like Discord has for nitro, partners, discord devs, etc.

@ThalKod You forgot to add CSS Files to your project...

@JosGCS What CSS Files are you talking about ? The files is there: /public/stylesheets/

I will donate to you to keep this alive <3

@Puyodead1 I will kindly accept ;)

I will donate to you to keep this alive <3

Me too! This project should not die. It is promising. I am happy to contribute


Add test vectors

Hi,
I couldn't find any test vectors here. It would be perfectly nice to have them for other implementations as well as to run unit tests over the reference implementation.
I can generate them using this implementation to verify other ones but it is much better to have official ones. :)

Please feel free to submit a pull request with some test vectors. I'll take a look at it when I get a moment.

When you are working on testvectors, can we
a) standardize if you want to include a final hash (maybe HMAC) or specify an option in the password blob to signify
b) define how different algorithms would be configured
c) resolve the todo in the compress function regarding hashing in meta data
d) include option for pepper and if it should be signed in hash
i was thinking instead of including all parameters in the hash we could allow/support a profile Id (to facilitate switching parameters for pepper), not sure about the algorithms though. Maybe define a
a=1 (ShA256,AES128,no HMAC“ profile compatible with ref impl?
a=2, sha512, aes256, HMAC256
also, can we define to remove padding characters from base64 and use urlsafe charset instead?

I see that @unkaktus go impl uses FinalHash only in the parallel case. It’s the configured hash not an Hmac - is that agreeable?
https://github.com/unkaktus/balloon/blob/6c6badd85b7c2748b56c2ddc93efd6d99e819757/balloon.go#L55

The nettle 3.9 release from two weeks ago ships with a balloon implementation including an automated test suite. They claim to have taken their test vectors from

https://github.com/nachonavarro/balloon-hashing (here)
https://github.com/RustCrypto/password-hashes/tree/master/balloon-hash (here)

There would be no shame using the same.
The mentioned test vectors test the sha256 variant with passwords and salts of different lengths (including an empty password and an empty salt case) and different costs. In a second set of test vectors, they test the sha1, sha256, sha384 and sha512 variants all with "password" and "salt" and constant costs as input.

Please feel free to open a PR for this. I'd be happy to review and merge it.

Unfortunately this prototype implementation can not use these test vectors because it's implementation differs slightly. RustCrypto's implementation follows the paper more closely then the prototype implementation. See https://github.com/RustCrypto/password-hashes/pull/232 for more details.
nachonavarro/balloon-hashing was also adjusted to use the same algorithm and test vectors: https://github.com/nachonavarro/balloon-hashing/pull/2, https://github.com/nachonavarro/balloon-hashing/pull/3.
So either this prototype implementation has to adjust to be compatible with RustCrypto's, nachonavarro's and nettle's implementation, or we change all our implementations to something else we all can agree on.

It would be great with me to change this implementation to be byte-compatible with RustCrypto and nachonavarro's implementations if anyone has interest in doing that.


GitHubCi: improved not using GitPush1by1 message

@realmarv why is CI of this PR red? please investigate

@kubaflo can you rebase this PR please.

@kubaflo please fix CI

@kubaflo It is not necessary for every commit to pass the CI since some commits intentionally include failing tests as part of the Test-Driven Development (TDD) approach, which is perfectly acceptable.

@realmarv @knocte I don't really understand what you want from my side :/ I just added 8 words to the message for users

Zahra is saying that if a particular commit is adding a failing test, then it is not required that the CI is green. So your message  saying "to make sure every commit passes the CI" could be misleading.  Then what you have to say is to have a CI status, not to pass CI.

Zahra is saying that if a particular commit is adding a failing test, then it is not required that the CI is green. So your message saying "to make sure every commit passes the CI" could be misleading.  Then what you have to say is to have a CI status, not to pass CI.

@knocte aaa Okay that makes sense now. Thanks for clarifying


Nullpointer Exception

I am trying to interact with the FAB in my activity class but I keep getting nullpointer exceptions. I do not know what the problem is, please assist.
here is the XML:
<com.getbase.floatingactionbutton.FloatingActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/sendOrderFAB"
fab:fab_colorNormal="@color/myAccentColor"
android:src = "@drawable/ic_check_out3"
fab:fab_size="mini"
fab:fab_title="Send Order"
fab:fab_colorPressed="@color/white_pressed"/>
and java code:
FloatingActionButton sendOrderFAB = (FloatingActionButton)findViewById(R.id.sendOrderFAB);
sendOrderFAB.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
floatingActionsMenu.collapse();
}
});

Does it happen every time the button is clicked, or only sometimes? Can you share the stack trace? Can you share more code to include floatingActionsMenu creation?


Update video on login page

[x] Update video on the login page. We created a new video that is a little cleaner and includes QML showpieces
[x] make video take up entire bottom section

Note: @JRussellHuffman will have the new video
Design file here

resolved by #272


Fix ProtocolError

This PR fixes an issue with incorrect behaviour of redisBufferWrite after merging SSL support.
The following logic was moved from redisBufferWrite to rawWrite in commit
if ((errno == EAGAIN && !(c->flags & REDIS_BLOCK)) || (errno == EINTR)) {
    /* Try again later */
} else {
    __redisSetError(c, REDIS_ERR_IO, NULL);
    return -1;
}

The "Try again later" thing stopped working after that commit. This produces runtime errors in hiredis-rb after upgrading its hiredis to the latest version.

Reach me out if you have any questions.

@michael-grunder hello, any change this PR can be merged? or maybe some additional work needed?
thank you

Apologies, I will test and merge this weekend.

Hi @YegorZdanovich
I need to play around with this a bit more to completely think through the right place to catch EAGAIN.  The reason it's a bit tricky is that our write function is now abstracted behind a function pointer.
/* This will likely continue to work for any reasonable `write` pointer, but there is no guarantee
   `c->funcs->write` will set `errno` as `write` and `send` do. */
ssize_t nwritten = c->funcs->write(c);
if (nwritten < 0) {
    if ((errno == EWOULDBLOCK && !(c->flags & REDIS_BLOCK)) || (errno == EINTR)) {
        /* Try again later */
    } else {
        __redisSetError(c, REDIS_ERR_IO, NULL);
        return REDIS_ERR;
    }
}

We may need to use a special return value from c->funcs->write to specify such a condition generically.

Hi, @mtuleika-appcast can you take a look at #1106.


Get current slide number

Is there a way to get the currently shown slide? I want each slide to navigate to a unique page when clicked on, which means I will need to know which slide is currently focused.

I also have issue, the info callback doesn't seem to work. How to get tu current slide?

I have actually figured it out after some deep, deep digging into the OwlCarousel object in the Chrome inspector. My solution is as follows: I gave each object in my OwlCarousel an onClick(e) handler that takes an event, e. That event has a property, page, that represents that specific object in the OwlCarousel. The page property has its own property, index, representing the index of that page in your OwlCarousel. That is your current slide number.
tl;dr -> onClick(e) handler for each object in your OwlCarousel, e.page.index to get the current slide number.


Teach file about glob!

What's this PR do?
Adjusts the file check to use Python's glob such that it supports Unix style pathname pattern expansion.
I also documented in the readme!
Motivation
In addition to single-file checks this lets this check also work with paths like var/run/stripe/restart-required/* such that any file being present will trigger the check when used with expect: absent.
Notes
The file.age_seconds gauge is now returns the oldest files age in the event that there are > 1 files that match the pattern.
Testing
Adding some new tests to cover this, made sure old tests are ok.
As for the age thing, I couldn't come up with a reasonable way to test this. Am open to ideas or just assuming it works ok. I'll do some testing in QA, of course.
r? @antifuchs

Hm, I'd go with the max age (min timestamp on the file) instead of timestamp for the first file? That would mean that hosts with that start needing more security reboots don't start looking less urgent the host map (:

Looks good apart from the test nit (and the test failure? What's that about?)

Sounds good @antifuchs! I added some mkstemp()s and used gettempdir() jic!

LGTM
(And to tests)!


How to call partials html in other pages?

How can use partial element in HTML?
https://github.com/BootstrapDash/StarAdmin-Free-Bootstrap-Admin-Template/blob/cd043f69b96e6a8565b309a2254f177bea1406c3/src/demo_1/index.html#L28
@bootstrapdash-team

To be sincere, Neither did I figure out how to do this. Do you have any suggestions?


ts: Add associated client code

Adds back in the associated client helpers to make it easier for apps to cope with the breaking change introduced in https://github.com/project-serum/anchor/pull/612.

Tag @michaelhly

@armaniferrante maybe it's a good idea to annotate them with something like
https://jsdoc.app/tags-deprecated.html


feature request: add lidarr

Radarr and Sonarr are already supported, so i guess it would just need minor adaptations.
cheers
bendsch
https://lidarr.audio
https://github.com/lidarr/Lidarr

+1 for this from me 👍

Yes please 👍

Another +1 for this...  Using Link for now (work around)


Meta command followups.

PR follows the fixes for https://github.com/memcached/memcached/issues/546
Finally had a giant brain moment while wondering where to stash flag data for the set results: turns out wbuf has plenty of space! A small parser to replay some tokens was all that was needed. Now CAS can be atomically returned from a meta set.
There're a handful of fixes in here which should finalize the incompatible changes for meta.. anything new should be new.

not doing a flag for the old set behavior, since this was always broken before this PR (extra space on OK response).

only going to document the flag in the release notes... don't want people to accidentally use it.

Didn't get any other major reviews going. I've looked it over again and pretty sure I'm happy with this as-is. HD is as good as anything.. it can be literally anything so long as it doesn't overlap with any old return codes, and it doesn't.
The mset fixes are all fine. It didn't work before due to the extra space.
Any further changes are easily extensions; new commands with new return codes, new flags to existing commands, and so on.
I'll merge this in to next and cut a release once I kick the buildbots back to life.


ForwardProps are not being forwarded

glamorous version: 3.5.0
glamor version: 2.20.24
react version: 15.4.2

What you did:
I tried to use glamorous to wrap a third party framework's component.
What happened:
My forwardProps did not get applied to the child of the glamorous component, and I was then able to reproduce the issue in the forwardProps example
Reproduction:

Below is the forwardProps example code.
"Hello worlds" should be rendered but is not:
https://codesandbox.io/s/GZEo8jOyy
Problem description:
forwardProps is not forwarding props

Hi @rbrewington, thanks for bringing this up. I'm unsure what's going on, but the version of glamorous in that codesandbox was old so I've updated it and things seem to be working now.
Could you try the latest version of glamorous?

Guess I should have checked myself before I wrecked myself. Thanks!


SignedMailValidator cannot access jakarta.mail.internet.MimeMessage

I'm using bcjmail-jdk15on 1.70, which is the jakarta mail flavor of bcmail. However, when I try to validate a S/MIME signature, I get this exception:
java.lang.IllegalAccessError: class org.bouncycastle.mail.smime.validator.SignedMailValidator (in module org.bouncycastle.mail) cannot access class jakarta.mail.internet.MimeMessage (in module jakarta.mail) because module org.bouncycastle.mail does not read module jakarta.mail
If I see it correctly, there should be a requires jakarta.mail; added to bcjmail's module-info.java file. Or do I miss something important here?

No it should have been there. Try the latest on https://www.bouncycastle.org/betas

I can confirm it's working with bcjmail-jdk18on-171b07 now. Thank you!

And thank you!


Line Item Rule

Introduce a line item granularity for budgeting.
Add better value messages for pacing.
Add pacing type (AHEAD, ASAP, BEHIND, etc.) checks
Remove budgeting by days ahead rule

Will update when I've run it.


[nri-bundle] Bump subcharts versions

Is this a new chart
No
What this PR does / why we need it:
Upgrade subcharts versions

nri-prometheus
nri-metadata-injection
nri-kube-events
newrelic-logging

Which issue this PR fixes
N/A
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] Chart Version bumped
[X] Title of the PR starts with chart name (e.g. [mychartname])

Subcharts tarballs are supposed to be ignored according to https://github.com/newrelic/helm-charts/blob/master/.gitignore#L36
Do you want me to clear the charts subdirectory ?

@AdrienKuhn it would be great, is that still works 😅
Thanks again.

@douglascamata Actually it doesn't seems to work as we are referencing the local charts in the requirements.yaml file

@AdrienKuhn ah yes. Feel free to update to the remote reference instead then. I think it will be even better like so.

@douglascamata
I'm not able to make it work...
I will try to investigate in the next days and I will open a new PR.


Fix shader crash when using varyings with non-flat integer type

Fix https://github.com/godotengine/godot/issues/95599

Also removed useless modes from the Varying::Stage enum.

Thanks!

How does varying work on boolean/bvec? Is it the same as if you had flat on integer 0~1 values?

I'm curious about why does boolean varying types allow neither flat nor smooth. Why is that, and how does it work exactly? Does that mean there's a third varying mode specific to booleans? Is it different than flat used in integers?


Recommendation to search from Marketplace is not shown

I opened VS Code with a brand new profile (--profile-temp --user-data-dir /foo/tmp) and opened .arb file. I was expected to see a notification "Marketplace has extensions that can help with '.arb' files" but nothing appeared.
I put a breakpoint inside promptRecommendations() in fileBasedRecommendations.ts and noticed that when this.recommendationsByPattern.get('.arb') is called, the set of extensions returned does not match those you get when yous earch "ext:arb" in the marketplace search. It returns a number of unrelated extensions, which are then discarded for not being ARB extensions, so ultimately no prompt is shown.

For example, in the list fetched in code is the Go extension, the CSharp extension, the Python extension, the PowerShell extension. But when I search the marketplace I get:

As a result, promptRecommendations never calls promptFromRecommendations, so promptRecommendedExtensionForFileType is also never called, which is where the file-type prompt is usually handled.
(@sandy081 FYI - I notice you made some changes in this area in #177181, so perhaps you have some context about how this works and whether this is a bug, or the behaviour is not exactly as I expect?).

Thanks! :)

We decided to remove the recommendation on file type extension feature. More details here https://github.com/microsoft/vscode/issues/188467
Thank you!


Update erroneous link for deployment

ping @bpmct. At the moment the link is not rendered correctly in the GitHub interface

https://github.com/coder/deploy-code-server/pull/81 🤷♂

'ello stranger <3 thanks for the PR.


problem with Nim 1.6.0

good morning,
i just found a problem with nim 1.6.0 that didn't exist with nim 1.4.8!
import random (just import it to generate the error !! )
now create an error:
/home/andrea/ProgPicoNim/test160/src/os.nim(63, 10) Error: OS module not ported to your operating system!
oserr.nim(94)            raiseOSError
Error: unhandled exception: No such file or directory
Additional info<EMAIL_ADDRESS>"csource/test160.c", "No such file or directory")" [OSError]
i know you probably can't do anything about it, but i tell you (maybe it's a bug of nim 1.6.0 ?????)
bye!

Yea the pico doesnt have an OS unless using RTOS, so much of the Nim stdlib that depends on os will not work. Ideally we make more bindings for pico, but I've been quite distracted as of late. Might be worthwhile to just use c2nim or similar to make bindings even though they're not idiomatic.


Izima/gifs

Pre-Submission Checklist

[ ] Your pull request targets the main branch.
[ ] Branch name is descriptive and follows the guidelines here.
[ ] All tests pass . Use git commit --amend to amend any fixes.

Checklist:

[ ] All tests are passing.
[ ] Tested changes locally.
[ ] Improved documentation or readme where necessary.
[ ] Your commit messages format follows our commit message guideline here.

What does this PR do?

How should this be manually tested?

What are the relevant issues?

Screenshots (if appropriate)

Does it require any deployments updates ?

Questions:

I went through the conflicts and fixed them. They were less than I thought. Should be safe to merge. Fingers crossed it works


DbaAgent functions - work without job values

New-DbaAgentJob was cleaned in the parameter section. Two parameters are
added (schedule and scheduleid) to make it possible to attach a shared schedule when the new job gets created. The return of the object was also improved.
New-DbaAgentSchedule got a cleanup in the parameter section. It not longer needs a job to create a schedule. The job parameters can still be used to assign the schedule to a job.
Remove-DbaAgentJob cleanup in the parameter section and the job parameter was set to be an object type instead of a string.
Remove-DbaAgentSchedule had the help improved and a cleanup in the
parameter section. It not longer relies on the job and has had a full rewrite to support that.
Set-DbaAgentJob had a cleanup in the parameter section.  Two parameters
are added (schedule and scheduleid) to make it possible to attach a shared schedule to a job.

Tested and confirmed working:

New-DbaAgentSchedule with no job param supplied, to create a shared schedule not attached to any jobs
New-DbaAgentSchedule with a job param to attach a new schedule to an existing job
New-DbaAgentJob with no associated schedule
New-DbaAgentJob with an associated schedule, referenced by Name

Tests failed:

New-DbaAgentJob referencing an existing schedule by ID (the same schedule as referenced by name above). When adding by name, I see that it correctly resolves the schedule ID:

VERBOSE: [Set-DbaAgentJob][18:12:19] Adding schedule id 16 to job

but if I pass ScheduleId 16 into New-DbaAgentJob then I get:

WARNING: [Set-DbaAgentJob][18:16:13] Schedule 16 cannot be found on instance...

You may need to refresh your connection or the job server object. We have seen that with some other commands.

@wsmelton Yep, I've had this issue using the objects directly. @sanderstad could we insert a call to refresh() before any job retrieval operations?

hey @sanderstad - can you add @DevOpsFu's request and we'll merge and test for this week's version?

@sanderstad This still doesn't work for me after creating a new schedule.


small initial text

If text property is a string that is less than maxLine, the ellipsisNode still shows. The maxLine prop should be static in my useCase but the text is dynamic.
Image attached
<Ellipsis
      text='My short text'
      ellipsis={ellipsisState}
      maxLine={3}
      reflowOnResize
      onEllipsisClick={toggleReadMore}
      ellipsisNode={<strong> ...{ellipsisState ? t('readMore') : t('readLess')}</strong>}
      endExcludes={[' ', ',', '.']}
/>

Solved with the onReflow callback. But isn't it better if it works out of the box?
Thanks

@meeshh I can't reproduce your issue, can you just reproduce it on an online code website such as codepen and share the case to me?


Dropdown with lots of items

Hi,
Have a problem with the menu/menu.jsx, and lots of items which affects select field/dropdown menu.
I tried a max-height and overflow:auto, but this won't work, as the menu sets overflow to visible on load for CSS transitions.
I saw that the other menu in menus/menu.jsx seems to do a bit more advanced calculation on height.
@hai-cea - could you advise on what the other menus should be used for, or if you've any ideas for a solution to this issue?

Thanks,
Chris

@chrismcv The new menus are a revamp of the current menus and takes care of this problem. IconMenu replaces IconDropDown and is pretty much complete and will be released soon. I'll work on replacing DropDownMenu next.

Dupe of #642


Lower required_rubygems_version to 2

Heroku, AWS Beanstalk, and others dont have rubygems 3 yet (#153).

Resolves #153

Is there anything else that needs to be done to get this merged and released? I'd be happy to help out!

Yeah this is preventing me from using the gem.

Me too. Waiting on the new release.

I'll see about releasing this.

@indirect Thank you for working on the release of the new version!
I'm not sure if you're still willing to eagerly maintain this gem, but if you're not, we, the haml team are ready to take over the maintenance tasks.
Here's our rough plan.

Move the repo under the haml organization
Invite all the current maintainers of haml-rails (@indirect, @syguer, @radar, anyone else?) to the haml organization
Move some Rails specific modules (e.g. Railtie, Action View monkey-patches, some helpers, etc.) and tests from haml to haml-rails (as we discussed several years ago...)

WDYT?
P.S. I know what I'm doing. I know I'm commenting on a closed issue instead of opening a new issue. I just thought that this place would be a nice channel to continue this kind of semi-public conversation within the people who are concerned with the release management.

@amatsuda yes, that sounds about right. If you have permission, go ahead and move this repo to the haml organization. If you don't, let me know, and I'll start the transfer.

@indirect Thank you! But unfortunately no, seems like I'm not an admin here...

@amatsuda ok. it seems I cannot give you admin access to my personal repo, and I cannot transfer to haml unless I have "create repo" permissions in the haml org. Can you give those permissions to me?

@indirect Done!

@amatsuda transferred!

@indirect Confirmed! Thank you very much!!


gnupg21: 2.1.16 -> 2.1.17

Motivation for this change
Release announcements:

http://lists.gnu.org/archive/html/info-gnu/2016-12/msg00011.html
http://lists.gnu.org/archive/html/info-gnu/2016-12/msg00007.html

Things done

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

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@grahamc none that I can see.


Implement course warnings

Show icon/warning on course when:

User drags a course into a quarter where it isn't offered
User drags a course that already exists in the planner (in case a student failed a class etc.)

Implemented first subtask with #119


transform/validate claim name as dns1123 subdomain name

Related issue: https://github.com/stolostron/backlog/issues/23099
Signed-off-by: Yang Le<EMAIL_ADDRESS>

/lgtm
/approve

/cherry-pick backplane-2.0


[$1000] Web - Member`s avatar is 40x40px instead of 32x32px

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Isіue found when executing PR https://github.com/Expensify/App/pull/20512
Action Performed:

Go to URL https://staging.new.expensify.com/
Login with any account
Go to Settings -> Workspace -> Create new WS -> Add any user to WS
Create a $$ request in a workspace chat, open the created request
Verify that the member`s avatar is 32x32px

Expected Result:
The member`s avatar is 32x32px
Actual Result:
The member`s avatar is 40x40px
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01c72abdd919a99974
Upwork Job ID:<PHONE_NUMBER>364895232
Last Price Increase: 2023-07-13

Correct, closing.


Fixed #30758 -- Made RangeFields use multiple hidden inputs for initial data.

https://code.djangoproject.com/ticket/30758

@nasirhjafri Thanks for this PR, however I don't think that it's a proper approach. IMO we should rather fix passing initial data for range fields. Currently we use HiddenInput which ends with
<input type="hidden"
       name="initial-range_field"
       value="[datetime.datetime(2019, 9, 13, 9, 53, 31, 531040), None]"
...

IMO we should change hidden_widget in BaseRangeField to get
<input type="hidden" name="initial-range_field_0" value="2019-09-13 09:53:31" id="initial-id_range_field_0">
<input type="hidden" name="initial-range_field_1" id="initial-id_range_field_1">

e.g.
diff --git a/django/contrib/postgres/forms/ranges.py b/django/contrib/postgres/forms/ranges.py
index 47a16a1bbd..2d55cbce57 100644
--- a/django/contrib/postgres/forms/ranges.py
+++ b/django/contrib/postgres/forms/ranges.py
@@ -2,7 +2,7 @@ from psycopg2.extras import DateRange, DateTimeTZRange, NumericRange

 from django import forms
 from django.core import exceptions
-from django.forms.widgets import MultiWidget
+from django.forms.widgets import MultiWidget, MultipleHiddenInput
 from django.utils.translation import gettext_lazy as _

 __all__ = [
@@ -16,6 +16,7 @@ class BaseRangeField(forms.MultiValueField):
         'invalid': _('Enter two valid values.'),
         'bound_ordering': _('The start of the range must not exceed the end of the range.'),
     }
+    hidden_widget = MultipleHiddenInput

     def __init__(self, **kwargs):
         if 'widget' not in kwargs:

@felixxm That's how it was being done in 1.11.x https://github.com/django/django/blob/stable/1.11.x/django/forms/fields.py#L398
I'll try the solution you provided, thanks.

@nasirhjafri Yes but it's clunky, IMO.

@felixxm Any ideas on how test cases should look like? This solution works but I can't think of a test case.

We should test the way how RangeFields widgets are rendered with initial data (tests.postgres_tests.TestWidget) and how has_changed() works for these fields with and without initial data (see similar tests for MultiValueField).

@felixxm I've pushed the tests, but they are not running on circle ci. Can you please manually run the tests on PR?

buildbot

buildbot

@felixxm This one is failing without the fix and working with the fix.
https://github.com/django/django/blob/3b7febf5edac974287f99d5de3a11fe1874edd3d/tests/postgres_tests/test_ranges.py#L802-L813
I've created two separate commits. Please review.

@nasirhjafri Thanks! I simplified tests, moved them between test classes and added some extra tests. I also notice that with MultipleHiddenInput it doesn't detect changes as expected, so I decided to add a new HiddenRangeWidget which works fine, IMO. Can you take a look?

buildbot

@felixxm looks good to me, working fine with the new HiddenRangeWidget.

Great, I squashed commits and rebased from master.

Merged in faf4b988fe75dd4045bc5c62496cc4f2e0db8c4d and 733dbb21c734920fceb7c285e7396b15db4182ed.

Hi! Thanks a lot for fixing this!
@felixxm do you know if this patch will be able to make it into 2.2.6?

@yeppus No, it doesn't qualify for a backport to 2.2.x, but it's included in Django 3.0.

@felixxm thanks for letting me know,,, we need the LTS so I guess we need to rework the code around this bug in that case.


[WIP] Correct stale behavior on API-based experiment creation

closes #594

On staleness w.r.t https://github.com/oughtinc/mosaic/issues/594#issuecomment-517810059
Top-level Q only ✅
-> Workspace 50 should be stale

Top-level Q + honest answer✅

Top-level Q + honest answer + malicious answer ✅


Camera selection action should be configurable

Same view different camera.
Or: default view different camera.

What if your default view is image and you want to open live view after selecting camera in menu, but also want to keep existing behaviour for live, clips, snapshots?

@peledzius Out of the box, that just wouldn't be supported as proposed. You could add your own submenus (docs) that are conditional on the view so that when you're in the image view the items in the submenu do something different. That also has hidden challenges though, so let me step back ...
Can you describe your setup a bit -- why is image your default, and how do you typically want to use the card? [Maybe there's another way to get what you want]

I'm using default view for image because I like to see what's happening on the camera without loading the live view and wasting network resources. It doesn't make sense for me to open live view by default when I've an opportunity to take a glance to one image.  Whenever I need to look live feed, I'm pressing appropriate button for that.
I've setup multi camera configuration with same camera, one for HLS stream and other for WebRTC. WebRTC is 2nd in list so when I'm in image view and select WebRTC in camera menu it would make sense to open live view without pressing Live view button.
Now my first comment make some uncertainties. Because it's same camera for both providers, it doesn't matter to keep current camera selection action for clips or snapshots. Maybe make it configurable like:

Specific view for different camera

Is that making sense?

Is that making sense?

Yes, thank you for the description. So I think the new option should be:
Camera Submenu View

[Default] "Same view"
[Or] Choose any view from the normal view list (e.g. snapshots, snapshot, live, image, clips, clip)

I think that would address your use case?

I think that would address your use case?

Yeah.


Error encountered when trying to use Google Coral accelerator

rpi-deep-pantilt version: v1.2.0
Python version: 3.7.3
TensorFlow version: 2.2
Operating System: Raspbian 10 (buster), running on a 4 gig Raspberry Pi 4

Description
Object detection using Google Coral accelerator (following README.md instructions for rpi-deep-pantilt version 1.2) fails and does not display image.  Please note standard object detection without using the accelerator works ("rpi-deep-pantilt detect --rotation 180").  I repeated the deep-pan-tilt build and object detection twice -- with the same result.
When I issue "rpi-deep-pantilt detect --edge-tpu --rotation 180", I get two errors with no image displayed on the RPi.
Fist error:

Traceback (most recent call last):
File "/home/pi/.venv/bin/rpi-deep-pantilt", line 10, in
sys.exit(main())
File "/home/pi/.venv/lib/python3.7/site-packages/rpi_deep_pantilt/cli.py", line 172, in main
cli()
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/pi/.venv/lib/python3.7/site-packages/rpi_deep_pantilt/cli.py", line 96, in detect
run_stationary_detect(labels, model_cls, rotation)
File "/home/pi/.venv/lib/python3.7/site-packages/rpi_deep_pantilt/detect/camera.py", line 80, in run_stationary_detect
model = model_cls()
File "/home/pi/.venv/lib/python3.7/site-packages/rpi_deep_pantilt/detect/ssd_mobilenet_v3_coco.py", line 65, in init
tf.lite.experimental.load_delegate(self.EDGETPU_SHARED_LIB)
File "/home/pi/.venv/lib/python3.7/site-packages/tensorflow/lite/python/interpreter.py", line 161, in load_delegate
delegate = Delegate(library, options)
File "/home/pi/.venv/lib/python3.7/site-packages/tensorflow/lite/python/interpreter.py", line 90, in init
self._library = ctypes.pydll.LoadLibrary(library)
File "/usr/lib/python3.7/ctypes/init.py", line 434, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.7/ctypes/init.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: libedgetpu.so.1: cannot open shared object file: No such file or directory
Exception ignored in: <function Delegate.del at 0xa5f3bfa8>

Second error:

Traceback (most recent call last):
File "/home/pi/.venv/lib/python3.7/site-packages/tensorflow/lite/python/interpreter.py", line 125, in del
if self._library is not None:
AttributeError: 'Delegate' object has no attribute '_library'

What I Did
I freshly installed Raspbian 10 (buster) on a high speed 32 gig SD card.  I then followed the README.md instructions.  I only had one issue after issuing the "pip install https://github.com/leigh-johnson/Tensorflow-bin/releases/download/v2.2.0/tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl" command.
Here is the error:

Building wheels for collected packages: grpcio
Running setup.py bdist_wheel for grpcio ... error
Complete output from command /home/pi/.venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-tjyl9jcz/grpcio/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-okaw4p5s --python-tag cp37:
Found cython-generated files...
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'

Failed building wheel for grpcio
Running setup.py clean for grpcio
Failed to build grpcio

Otherwise, I encountered no problems with the install.  Please note, I was careful to make all recommended changes config.txt and Raspberry Pi interfaces.

Thanks for the bug report @GBW48, sorry this didn't work for you!
Looks like your TensorFlow installation didn't finish because you don't have the wheel Python package installed. I think my Coral installation instructions are out of date too. Try the following to re-install, let me know how it goes. 🤞
Let me know how it goes a (with your virtual environment active) to reinstall everything

Install wheel and reinstall TensorFlow

(.venv)$ pip install wheel && pip install --force-reinstall https://github.com/leigh-johnson/Tensorflow-bin/releases/download/v2.2.0/tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl

Install/reinstall Coral's libedgetpu.

$ echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list

$ curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install libedgetpu1-std

Re-install Coral's tflite_runtime

(.venv)$ pip install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-linux_armv7l.whl

Hi Leigh, Thanks so much for the quick response.  With your suggested changes, I am still getting run-time errors and I'm unable to display objects using the Coral accelerator.
I tried your suggestions on a fresh build.  The wheel and TensorFlow installation appeared to work.  Here are the results of the install.

(.venv) pi@raspberrypi:~ $ pip install wheel
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting wheel
Downloading https://files.pythonhosted.org/packages/8c/23/848298cccf8e40f5bbb5  9009b32848a4c38f4e7f3364297ab3c3e2e2cd14/wheel-0.34.2-py2.py3-none-any.whl
Installing collected packages: wheel
Successfully installed wheel-0.34.2
(.venv) pi@raspberrypi:~ $
(.venv) pi@raspberrypi:~ $ pip install --force-reinstall https://github.com/leig  h-johnson/Tensorflow-bin/releases/download/v2.2.0/tensorflow-2.2.0-cp37-cp37m-li  nux_armv7l.whl
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting tensorflow==2.2.0 from https://github.com/leigh-johnson/Tensorflow-bi  n/releases/download/v2.2.0/tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl
Downloading https://github.com/leigh-johnson/Tensorflow-bin/releases/download/  v2.2.0/tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl (109.3MB)
100% |████████████████████████████████| 109.3MB 4.0kB/s
Collecting astunparse==1.6.3 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/2b/03/13dde6512ad7b4557eb7  92fbcf0c653af6076b81e5941d36ec61f7ce6028/astunparse-1.6.3-py2.py3-none-any.whl
Collecting six>=1.12.0 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729f  e4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting absl-py>=0.7.0 (from tensorflow==2.2.0)
Downloading https://www.piwheels.org/simple/absl-py/absl_py-0.9.0-py3-none-any  .whl (121kB)
100% |████████████████████████████████| 122kB 455kB/s
Collecting termcolor>=1.1.0 (from tensorflow==2.2.0)
Downloading https://www.piwheels.org/simple/termcolor/termcolor-1.1.0-py3-none  -any.whl
Collecting grpcio>=1.8.6 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/5e/29/1bd649737e427a6bb850  174293b4f2b72ab80dd49462142db9b81e1e5c7b/grpcio-1.30.0.tar.gz (19.7MB)
100% |████████████████████████████████| 19.7MB 23kB/s
Collecting wheel>=0.26; python_version >= "3" (from tensorflow==2.2.0)
Using cached https://files.pythonhosted.org/packages/8c/23/848298cccf8e40f5bbb  59009b32848a4c38f4e7f3364297ab3c3e2e2cd14/wheel-0.34.2-py2.py3-none-any.whl
Collecting google-pasta>=0.1.8 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/a3/de/c648ef6835192e6e2cc0  3f40b19eeda4382c49b5bafb43d88b931c4c74ac/google_pasta-0.2.0-py3-none-any.whl (57  kB)
100% |████████████████████████████████| 61kB 1.9MB/s
Collecting keras-preprocessing>=1.1.0 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/79/4c/7c3275a01e12ef9368a8  92926ab932b33bb13d55794881e3573482b378a7/Keras_Preprocessing-1.1.2-py2.py3-none-  any.whl (42kB)
100% |████████████████████████████████| 51kB 4.2MB/s
Collecting protobuf>=3.8.0 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/47/90/27eac528bb6871336e86  ed8bcbb72a9b412a4020bf69bb7be71d40e5eab0/protobuf-3.12.2-py2.py3-none-any.whl (4  43kB)
100% |████████████████████████████████| 450kB 985kB/s
Collecting tensorflow-estimator<2.3.0,>=2.2.0 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/a4/f5/926ae53d6a226ec0fda5  208e0e581cffed895ccc89e36ba76a8e60895b78/tensorflow_estimator-2.2.0-py2.py3-none  -any.whl (454kB)
100% |████████████████████████████████| 460kB 977kB/s
Collecting wrapt>=1.11.1 (from tensorflow==2.2.0)
Downloading https://www.piwheels.org/simple/wrapt/wrapt-1.12.1-cp37-cp37m-linu  x_armv7l.whl (68kB)
100% |████████████████████████████████| 71kB 318kB/s
Collecting scipy==1.4.1; python_version >= "3" (from tensorflow==2.2.0)
Downloading https://www.piwheels.org/simple/scipy/scipy-1.4.1-cp37-cp37m-linux armv7l.whl (50.7MB)
100% |████████████████████████████████| 50.7MB 9.2kB/s
Collecting opt-einsum>=2.3.2 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/63/a5/e6c07b08b934831ccb8c  98ee335e66b7761c5754ee3cabfe4c11d0b1af28/opt_einsum-3.2.1-py3-none-any.whl (63kB  )
100% |████████████████████████████████| 71kB 4.0MB/s
Collecting h5py<2.11.0,>=2.10.0 (from tensorflow==2.2.0)
Downloading https://www.piwheels.org/simple/h5py/h5py-2.10.0-cp37-cp37m-linux  armv7l.whl (4.7MB)
100% |████████████████████████████████| 4.7MB 98kB/s
Collecting numpy<2.0,>=1.16.0 (from tensorflow==2.2.0)
Downloading https://www.piwheels.org/simple/numpy/numpy-1.19.0-cp37-cp37m-linu  x_armv7l.whl (10.5MB)
100% |████████████████████████████████| 10.5MB 33kB/s
Collecting gast==0.3.3 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/d6/84/759f5dd23fec8ba71952  d97bcc7e2c9d7d63bdc582421f3cd4be845f0c98/gast-0.3.3-py2.py3-none-any.whl
Collecting tensorboard<2.3.0,>=2.2.0 (from tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/1d/74/0a6fcb206dcc72a6da9a  62dd81784bfdbff5fedb099982861dc2219014fb/tensorboard-2.2.2-py3-none-any.whl (3.0  MB)
100% |████████████████████████████████| 3.0MB 151kB/s
Collecting setuptools (from protobuf>=3.8.0->tensorflow==2.2.0)
Using cached https://files.pythonhosted.org/packages/e9/93/4860cebd5ad3ff2664a  d3c966490ccb46e3b88458b2095145bca11727ca4/setuptools-47.3.1-py3-none-any.whl
Collecting google-auth-oauthlib<0.5,>=0.4.1 (from tensorboard<2.3.0,>=2.2.0->ten  sorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/7b/b8/88def36e74bee9fce511  c9519571f4e485e890093ab7442284f4ffaef60b/google_auth_oauthlib-0.4.1-py2.py3-none  -any.whl
Collecting markdown>=2.6.8 (from tensorboard<2.3.0,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/a4/63/eaec2bd025ab48c754b5  5e8819af0f6a69e2b1e187611dd40cbbe101ee7f/Markdown-3.2.2-py3-none-any.whl (88kB)
100% |████████████████████████████████| 92kB 3.7MB/s
Collecting requests<3,>=2.21.0 (from tensorboard<2.3.0,>=2.2.0->tensorflow==2.2.  0)
Downloading https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba74  04532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl (6  1kB)
100% |████████████████████████████████| 71kB 4.1MB/s
Collecting tensorboard-plugin-wit>=1.6.0 (from tensorboard<2.3.0,>=2.2.0->tensor  flow==2.2.0)
Downloading https://files.pythonhosted.org/packages/51/cd/a0c1f9e4582ea64dddf7  6c1b808b318d01e3b858a51c715bffab1016ecc7/tensorboard_plugin_wit-1.6.0.post3-py3-  none-any.whl (777kB)
100% |████████████████████████████████| 778kB 573kB/s
Collecting werkzeug>=0.11.15 (from tensorboard<2.3.0,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8  f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (29  8kB)
100% |████████████████████████████████| 307kB 1.5MB/s
Collecting google-auth<2,>=1.6.3 (from tensorboard<2.3.0,>=2.2.0->tensorflow==2.  2.0)
Downloading https://files.pythonhosted.org/packages/21/57/d706964a7e4056f3f224  4e16705388c11631fbb53d3e2d2a2d0fbc24d470/google_auth-1.18.0-py2.py3-none-any.whl   (90kB)
100% |████████████████████████████████| 92kB 3.6MB/s
Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<0.5,>=0.4.1->tens  orboard<2.3.0,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/a3/12/b92740d845ab62ea4edf  04d2f4164d82532b5a0b03836d4d4e71c6f3d379/requests_oauthlib-1.3.0-py2.py3-none-an  y.whl
Collecting importlib-metadata; python_version < "3.8" (from markdown>=2.6.8->ten  sorboard<2.3.0,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/98/13/a1d703ec396ade42c1d3  3df0e1cb691a28b7c08b336a5683912c87e04cd7/importlib_metadata-1.6.1-py2.py3-none-a  ny.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests<3,>=2.21.0->te  nsorboard<2.3.0,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/e1/e5/df302e8017440f111c11  cc41a6b432838672f5a70aa29227bf58149dc72f/urllib3-1.25.9-py2.py3-none-any.whl (12  6kB)
100% |████████████████████████████████| 133kB 3.2MB/s
Collecting certifi>=2017.4.17 (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2  .0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226  f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl   (156kB)
100% |████████████████████████████████| 163kB 2.6MB/s
Collecting chardet<4,>=3.0.2 (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.  0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b648  7b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133  kB)
100% |████████████████████████████████| 143kB 3.1MB/s
Collecting idna<3,>=2.5 (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->te  nsorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709  a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl (58kB)
100% |████████████████████████████████| 61kB 3.7MB/s
Collecting cachetools<5.0,>=2.0.0 (from google-auth<2,>=1.6.3->tensorboard<2.3.0  ,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/b3/59/524ffb454d05001e2be7  4c14745b485681c6ed5f2e625f71d135704c0909/cachetools-4.1.0-py3-none-any.whl
Collecting pyasn1-modules>=0.2.1 (from google-auth<2,>=1.6.3->tensorboard<2.3.0,  >=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c  3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.w  hl (155kB)
100% |████████████████████████████████| 163kB 2.7MB/s
Collecting rsa<5,>=3.1.4; python_version >= "3" (from google-auth<2,>=1.6.3->ten  sorboard<2.3.0,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/1c/df/c3587a667d6b308fadc9  0b99e8bc8774788d033efcc70f4ecaae7fad144b/rsa-4.6-py3-none-any.whl (47kB)
100% |████████████████████████████████| 51kB 3.8MB/s
Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<  0.5,>=0.4.1->tensorboard<2.3.0,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/05/57/ce2e7a8fa7c0afb54a05  81b14a65b56e62b5759dbc98e80627142b8a3704/oauthlib-3.1.0-py2.py3-none-any.whl (14  7kB)
100% |████████████████████████████████| 153kB 2.7MB/s
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->markdown>  =2.6.8->tensorboard<2.3.0,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/b2/34/bfcb43cc0ba81f527bc4  f40ef41ba2ff4080e047acb0586b56b3d017ace4/zipp-3.1.0-py3-none-any.whl
Collecting pyasn1<0.5.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth<2,>=1.6  .3->tensorboard<2.3.0,>=2.2.0->tensorflow==2.2.0)
Downloading https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f  506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB  )
100% |████████████████████████████████| 81kB 3.7MB/s
Building wheels for collected packages: grpcio
Running setup.py bdist_wheel for grpcio ... done
Stored in directory: /home/pi/.cache/pip/wheels/1e/e9/13/2ce6c99171a977bad2f9a  4bccfa596a6e7ea060b9fbff51bc3
Successfully built grpcio
Installing collected packages: wheel, six, astunparse, absl-py, termcolor, grpci  o, google-pasta, numpy, keras-preprocessing, setuptools, protobuf, tensorflow-es  timator, wrapt, scipy, opt-einsum, h5py, gast, cachetools, pyasn1, pyasn1-module  s, rsa, google-auth, urllib3, certifi, chardet, idna, requests, oauthlib, reques  ts-oauthlib, google-auth-oauthlib, zipp, importlib-metadata, markdown, tensorboa  rd-plugin-wit, werkzeug, tensorboard, tensorflow
Found existing installation: wheel 0.34.2
Uninstalling wheel-0.34.2:
Successfully uninstalled wheel-0.34.2
Found existing installation: setuptools 47.3.1
Uninstalling setuptools-47.3.1:
Successfully uninstalled setuptools-47.3.1
Successfully installed absl-py-0.9.0 astunparse-1.6.3 cachetools-4.1.0 certifi-2  020.6.20 chardet-3.0.4 gast-0.3.3 google-auth-1.18.0 google-auth-oauthlib-0.4.1   google-pasta-0.2.0 grpcio-1.30.0 h5py-2.10.0 idna-2.9 importlib-metadata-1.6.1 k  eras-preprocessing-1.1.2 markdown-3.2.2 numpy-1.19.0 oauthlib-3.1.0 opt-einsum-3  .2.1 protobuf-3.12.2 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.24.0 requests-  oauthlib-1.3.0 rsa-4.6 scipy-1.4.1 setuptools-47.3.1 six-1.15.0 tensorboard-2.2.  2 tensorboard-plugin-wit-1.6.0.post3 tensorflow-2.2.0 tensorflow-estimator-2.2.0   termcolor-1.1.0 urllib3-1.25.9 werkzeug-1.0.1 wheel-0.34.2 wrapt-1.12.1 zipp-3.  1.0
(.venv) pi@raspberrypi:~ $

The install of Coral's libedgetpu appears to have errors.  Here are the results of the install.

.venv) pi@raspberrypi:~ $
(.venv) pi@raspberrypi:~ $ echo "deb https://packages.cloud.google.com/apt coral  -edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
deb https://packages.cloud.google.com/apt coral-edgetpu-stable main
(.venv) pi@raspberrypi:~ $
(.venv) pi@raspberrypi:~ $ curl https://packages.cloud.google.com/apt/doc/apt-ke  y.gpg | sudo apt-key add -
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  1461  100  1461    0     0   9938      0 --:--:-- --:--:-- --:--:-- 10006
gpg: no valid OpenPGP data found.
(.venv) pi@raspberrypi:~ $
(.venv) pi@raspberrypi:~ $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Get:3 https://packages.cloud.google.com/apt coral-edgetpu-stable InRelease [6,33  2 B]
Err:3 https://packages.cloud.google.com/apt coral-edgetpu-stable InRelease
The following signatures couldn't be verified because the public key is not av  ailable: NO_PUBKEY 6A030B21BA07F4FB
Reading package lists... Done
W: GPG error: https://packages.cloud.google.com/apt coral-edgetpu-stable InRelea  se: The following signatures couldn't be verified because the public key is not   available: NO_PUBKEY 6A030B21BA07F4FB
E: The repository 'https://packages.cloud.google.com/apt coral-edgetpu-stable In  Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disa  bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta  ils.
(.venv) pi@raspberrypi:~ $
(.venv) pi@raspberrypi:~ $ sudo apt-get install libedgetpu1-std
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libedgetpu1-std
(.venv) pi@raspberrypi:~ $

The install or Coral's tflite_runtime appeared to work.  Here are the results of the install.

(.venv) pi@raspberrypi:~ $
(.venv) pi@raspberrypi:~ $ pip install https://dl.google.com/coral/python/tflite  _runtime-2.1.0.post1-cp37-cp37m-linux_armv7l.whl
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting tflite-runtime==2.1.0.post1 from https://dl.google.com/coral/python/t  flite_runtime-2.1.0.post1-cp37-cp37m-linux_armv7l.whl
Downloading https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37  -cp37m-linux_armv7l.whl (1.8MB)
100% |████████████████████████████████| 1.8MB 231kB/s
Requirement already satisfied: numpy>=1.12.1 in ./.venv/lib/python3.7/site-packa  ges (from tflite-runtime==2.1.0.post1) (1.19.0)
Installing collected packages: tflite-runtime
Successfully installed tflite-runtime-2.1.0.post1
(.venv) pi@raspberrypi:~ $

I confirmed that object detection using the "rpi-deep-pantilt detect --rotation 180" command worked.
However, when I ran "rpi-deep-pantilt detect --rotation 180 --edge-tpu" the command failed with two errors:

"OSError: libedgetpu.so.1: cannot open shared object file: No such file or directory"
AttributeError: 'Delegate' object has no attribute '_library

Here is the console log when I tried to use the Coral accelerator.

(.venv) pi@raspberrypi:~ $
(.venv) pi@raspberrypi:~ $ rpi-deep-pantilt detect --rotation 180 --edge-tpu
WARNING:root:Detecting labels: ['person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light', 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', 'hair drier', 'toothbrush']
Downloading data from https://github.com/leigh-johnson/rpi-deep-pantilt/releases/download/v1.0.0/ssdlite_mobilenet_edgetpu_coco_quant.tar.gz
81715200/81713258 [==============================] - 3s 0us/step
Traceback (most recent call last):
File "/home/pi/.venv/bin/rpi-deep-pantilt", line 10, in
sys.exit(main())
File "/home/pi/.venv/lib/python3.7/site-packages/rpi_deep_pantilt/cli.py", line 172, in main
cli()
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/.venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/pi/.venv/lib/python3.7/site-packages/rpi_deep_pantilt/cli.py", line 96, in detect
run_stationary_detect(labels, model_cls, rotation)
File "/home/pi/.venv/lib/python3.7/site-packages/rpi_deep_pantilt/detect/camera.py", line 80, in run_stationary_detect
model = model_cls()
File "/home/pi/.venv/lib/python3.7/site-packages/rpi_deep_pantilt/detect/ssd_mobilenet_v3_coco.py", line 65, in init
tf.lite.experimental.load_delegate(self.EDGETPU_SHARED_LIB)
File "/home/pi/.venv/lib/python3.7/site-packages/tensorflow/lite/python/interpreter.py", line 161, in load_delegate
delegate = Delegate(library, options)
File "/home/pi/.venv/lib/python3.7/site-packages/tensorflow/lite/python/interpreter.py", line 90, in init
self._library = ctypes.pydll.LoadLibrary(library)
File "/usr/lib/python3.7/ctypes/init.py", line 434, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.7/ctypes/init.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: libedgetpu.so.1: cannot open shared object file: No such file or directory
Exception ignored in: <function Delegate.del at 0xa5eb8fa8>
Traceback (most recent call last):
File "/home/pi/.venv/lib/python3.7/site-packages/tensorflow/lite/python/interpreter.py", line 125, in del
if self._library is not None:
AttributeError: 'Delegate' object has no attribute '_library'
(.venv) pi@raspberrypi:~ $

Thanks in advance.  I really appreciate your help with this issue...

Hi Leigh, I just wanted to let you know that I tried your fix for the Coral runtime error. Unfortunately, the suggested changes did not work. I posted the results on GitHub.
When you have an opportunity, I’d appreciate it if you could look into the Coral runtime issue. Thanks in advance! ...Gary White
------ Original Message ------
From: Leigh Johnson
To: leigh-johnson/rpi-deep-pantilt
Cc: GBW48, Mention
Sent: June 24, 2020 at 10:53 PM
Subject: Re: [leigh-johnson/rpi-deep-pantilt] Error encountered when trying to use Google Coral accelerator (#37)
Thanks for the bug report @GBW48 (https://github.com/GBW48), sorry this didn't work for you!
Looks like your TensorFlow installation didn't finish because you don't have the wheel Python package installed. I think my Coral installation instructions are out of date too. Try the following to re-install, let me know how it goes. 🤞
Let me know how it goes a (with your virtual environment active) to reinstall everything
Install wheel and reinstall TensorFlow
(.venv)$ pip install wheel && pip install --force-reinstall https://github.com/leigh-johnson/Tensorflow-bin/releases/download/v2.2.0/tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl
Install/reinstall Coral's libedgetpu.
$ echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list $ curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - $ sudo apt-get update $ sudo apt-get install libedgetpu1-std
Re-install Coral's tflite_runtime
(.venv)$ pip install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-linux_armv7l.whl
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/leigh-johnson/rpi-deep-pantilt/issues/37#issuecomment-649183139), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AJ6UNZBY42SPR5E2MIFTGMTRYK33PANCNFSM4OHKDX7Q).

Hi Leigh,  I reran your instructions for the install/reinstall of Coral's libedgetpu.  This time there no errors.  After a reboot, I was able to successfully  use the Coral accelerator to display and track both objects and faces.  Every thing worked!
Thanks so much for creating such an excellent, well conceived and documented project!  What a wonderful way to learn about the capabilities of TensorFlow!
...Gary White
P.S.
I'm not sure why the second attempt to apply your fix worked, while the first attempt failed.   I'm including the console log for the second install.  Perhaps, you might be able to figure out the reason for the failure, if you look at the  June 25, 2020 console log associated with the fist installation of the fix.
(.venv) pi@raspberrypi:~ $ echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list

deb https://packages.cloud.google.com/apt coral-edgetpu-stable main

(.venv) pi@raspberrypi:~ $ curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   653  100   653    0     0   4766      0 --:--:-- --:--:-- --:--:--  4766
OK

(.venv) pi@raspberrypi:~ $ sudo apt-get update

Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 https://packages.cloud.google.com/apt coral-edgetpu-stable InRelease [6,332 B]
Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [330 kB]
Get:6 https://packages.cloud.google.com/apt coral-edgetpu-stable/main armhf Packages [1,172 B]
Fetched 13.4 MB in 7s (2,019 kB/s)
Reading package lists... Done

(.venv) pi@raspberrypi:~ $ sudo apt-get install libedgetpu1-std

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
rpi-eeprom-images
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
libedgetpu1-std
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 274 kB of archives.
After this operation, 624 kB of additional disk space will be used.
Get:1 https://packages.cloud.google.com/apt coral-edgetpu-stable/main armhf libedgetpu1-std armhf 14.0 [274 kB]
Fetched 274 kB in 0s (642 kB/s)
Selecting previously unselected package libedgetpu1-std:armhf.
(Reading database ... 96755 files and directories currently installed.)
Preparing to unpack .../libedgetpu1-std_14.0_armhf.deb ...
Unpacking libedgetpu1-std:armhf (14.0) ...
Setting up libedgetpu1-std:armhf (14.0) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...

I then  re-installed Coral's tflite_runtime which also worked.  Here are the results:
(.venv) pi@raspberrypi:~ $ pip install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-linux_armv7l.whl

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: tflite-runtime==2.1.0.post1 from https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-linux_armv7l.whl in ./.venv/lib/python3.7/site-packages (2.1.0.post1)
Requirement already satisfied: numpy>=1.12.1 in ./.venv/lib/python3.7/site-packages (from tflite-runtime==2.1.0.post1) (1.19.0)

Sorry, I closed this issue by mistake.

@GBW48 Woooo, glad that worked for you Gary! Thanks for including logs of your second go. At a glance, I'm not sure what's different. 🤔
I'll prioritize getting installation a bit better scripted/automated. Right now, there are a lot of manual steps that make it tedious to reproduce a working environment. I've been getting by with some Ansible playbooks for my own release testing, but they're too crufty and personal to release for general use.


Google, Microsoft and Cloudflare not Working

Hello,
would be nice if you can fix the search for google, Microsoft and Cloudflare.
At least for me, no matter what I search i get no results from these 3 Services as you can see in the Screenshot.
Thanks :)

I'm getting the same thing, thanks for posting the issue. I should have time early next week to dig into it.

google and microsoft now fixed in v1.5
url and html parsers were out of date.
Looking into cloudflare

another update pushed.


fix Stripe Zero Decimal Points Issue

https://support.stripe.com/questions/which-zero-decimal-currencies-does-stripe-support.

@ohadraz , @dleshem


Use system boringssl on iOS

Can we use system libboringssl.dylib to reduce Flutter.framework size on iOS?

Why do you think this woud reduce the framework size?

See https://boringssl.googlesource.com/boringssl/
There is no API or ABI stability guarantee, which means that depending on a dylib of BoringSSL that we don't control would be disastrous. That's explicitly not how it's intended to be used.


how to set working directory?

I'm not pretty familiar with vscode.How can I set  my cmake tasks’ working directory?

Here is an example of cmake build task:
        {
            "label": "Cmake: build",
            "command": "build",
            "type": "cmake",
            "options": {
                "cwd": "${fileDirname}"
            },
            "group": "build"
        }


Doesn't work with socket io servers v3.x.x

Try to change socket io server version to v3.x.x, set EIO in sample to 3
Doesn't work =(
P.S. works fine with v4.2.0

Change EIO to 4
And transport to websocket
See:
https://github.com/doghappy/socket.io-client-csharp/blob/master/src/SocketIOClient.Test/SocketIOTests/V3/SocketIOV3Creator.cs
https://github.com/doghappy/socket.io-client-csharp/tree/master/src/socket.io-server-v3

Change EIO to 4 And transport to websocket See:
https://github.com/doghappy/socket.io-client-csharp/blob/master/src/SocketIOClient.Test/SocketIOTests/V3/SocketIOV3Creator.cs
https://github.com/doghappy/socket.io-client-csharp/tree/master/src/socket.io-server-v3

yes, it works with v3 with EIO 4 and Websocket as a transport. I curious what the reason to use the wrapper instead of compiled dll of SocketIO .Net library?

You can use the main repo directly if you want, i've done this wrapper to facilitate & to make it easier to get a running project, working with unity objects, without struggling with the libs, compatibility, errors, and etc..


Add PMD checks

Cherry picked the PMD set from a larger list, and corrected a few warnings

@rkuris will you update the commit message with a link to where the PMD ruleset came from for posterity?

@rtyler I just started with the full list and trimmed when I didn't agree with the rule for this project. The list of possible rules is here: http://pmd.sourceforge.net/pmd-5.1.1/rules/index.html


feat: enable read-only opportunities

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #4789   👈

This comment was auto-generated by Graphite.


ToVectorValue not implemented for Rfloat

I've encounterd this issue when trying to create an RArray or RMatrix from Doubles. I cannot think of a simpler reprex for this scenario.
#[extendr]
fn bad_rarry() -> RArray<Rfloat, [usize; 2]> {
    let v = vec![2.0, 1.0, 0.5];
    Doubles::from_values(v)
        .iter()
        .collect_rarray([1, 3])
        .unwrap()
}

I am without a PC to test, but have you tried the code below?
#[extendr]
fn bad_rarry() -> RArray<Doubles, [usize; 2]> {
let v = vec![2.0, 1.0, 0.5];
v.iter().collect_rarray([1, 3]).unwrap()
}
To me it doesn't make sense RArray<Rfloat, [usize;2]>, since you create a matrix from vectors, so the correct would be RArray<Doubles, [usize;2]>.
I suppose it should work also for a Vec of Doubles instead of a Vec of f32.


Add links for free video content at Vue School

This PR adds links to free courses and lessons. We have handpicked the lessons to make sense on their own to not require the users to have watched previous or following lessons.
Courses:
Vue.js Fundamentals
Components Fundamentals
Lessons:
Form Validation
Lifecycle Hooks
Class Binding
Component Registration
Async Components
Custom Vue Directives
Intro to Single File Components
Here are the visuals for the placements.

@yyx990803 I added screenshots with the placements.


Emmet overrides user snippets

I have a custom snippet like this:
<snippet>
 	<tabTrigger>BEGIN</tabTrigger>
 	<content><![CDATA[<!-- BEGIN ${1:BLOCK} -->
 $SELECTION
 <!-- END ${1:BLOCK} -->]]></content>
 	<description>Blitz block</description>
 </snippet>

and when I write “BEGIN” and press Tab, I get <BEGIN></BEGIN> instead of the snippet value.

Hi,
I'm using ST3 with Emmet. I have this snippet:
{
  "scope": "source.css",

  "completions":
  [
    { "trigger": "imp", "contents": "@import \"$1\";"},
  ]
}

When I'm in a CSS file though, if I type imp and press tab I get this:
-webkit-animation-play-state: running;
-o-animation-play-state: running;
animation-play-state: running;

Any idea how I could get it fixed? Thanks!

@inwardmovement I've fixed the issue with disabled_single_snippets, which was being ignored if emmet wasn't in a scope listed in disabled_single_snippet_for_scopes. The fix is available in my fork of emmet.
@sergeche happy to make a PR but noticed none were accepted since March, give me a nod if you're still accepting PR's :-)


drop query_comment

fixes: #16
drop the dbt-generated query_comment
the following query yields more immediately scannable/readable results
SELECT START_TIME, DURATION, STATUS, QUERY_TEXT, ERROR_MESSAGE FROM catalog.query_history WHERE STATUS != 'STARTED_EXECUTION' ORDER BY START_TIME DESC LIMIT 50;

@swanderz: looks good to me
@cody-firebolt wondering if this metadata is useful or we are good to drop it - the only useful information in my opinion would be the node_id / model name, although I think it would be better to discard it and create a better (custom per model/folder, and richer) experience once we have query tags in.
sample for reference:
/* {"app": "dbt", "dbt_version": "0.21.0", "profile_name": "firebolt_OZ_dbt", "target_name": "firebolt_dev", "node_id": "model.dbt_demo.ltv_account"} */

more metadata the merrier, but I agree on waiting for query tags and then doing it right


Feature request: Please provide support google.protobuf.Struct for a Mixer data type

I previously present the design doc Istio Auth Attributes (http://goo.gl/9dokCX). We need to define request.auth.claims to be google.protobuf.Struct. Can someone please add google.protobuf.Struct as a mixer data type.
Note that google.protobuf.Struct is an open source proto. See https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto

Supporting structs as a first class attribute type has considerable implications. Whereas Mixer generally ensures strong typing, this would introduce weak typing into our model. It would also likely require substantial syntax enhancements in our expression language.


Adapting Videokit Library for HarmonyOS: Issues with Pre-compiled Libraries

Hi @olokobayusuf,
I hope to install this videokit library on a Huawei's HarmonyOS phone. I plan to modify this library to make it compatible with HarmonyOS, but I found that some of the system-related files under Plugins contain pre-compiled libraries and do not have the source code. What should I do? Or is this library unable to be adapted to HarmonyOS by myself?

Hey @chenhao8721 , from what I've read about HarmonyOS, VideoKit won't be able to run on this operating system. You won't be able to adapt VideoKit to run on the OS. I tried looking at HarmonyOS developer docs but they are sparse.

Thank you for your answer!
l still want to ask what the purpose of the compiled files in the Plugins folder is, and whether they are essential to the project. l have the HarmonyOS documentation available to consult: https://gitee.com/openharmony/docs/tree/master/en. It would be great if videokit could run on the HarmonyOS system.

l still want to ask what the purpose of the compiled files in the Plugins folder is, and whether they are essential to the project.

The native libraries contain the actual implementations of VideoKit for each platform. The C# library wraps the native libraries and provides access to their functionality from C#/Unity. They are required for VideoKit to work.

l have the HarmonyOS documentation available to consult: https://gitee.com/openharmony/docs/tree/master/en. It would be great if videokit could run on the HarmonyOS system.

The docs seem useful, but adding a new platform to VideoKit is not an easy undertaking, especially given that you're the only one who has requested this. It sounds like you are familiar enough with HarmonyOS, so perhaps you can implement this backend yourself? Feel free to follow up over email


Brainstorm: Create a static website with Next.js

In the backend, there is a Django Application running on two servers and there is a GitLab pipeline running for deployments. I think this is overkill. We don't need that.
It can be a simple HTML file and be served directly from GitHub without needing servers. I was thinking of moving the backend from GitLab to here but I think this approach is way better.

https://github.com/htmlpreview/htmlpreview.github.com
A repository I came across recently, as far as I understand, we can make a static website using JavaScript and a user browser and render the Page.json file of the user. But I'm not sure if we're stuck on CORS, we need to look at the cors options for raw.github.com.

One other option could be something like John-Doe https://github.com/cadars/john-doe - single-file html sites

@haliliceylan CORS is not a problem with GitHub Raw.
@itsbrex It is a good idea but it is a bit away from only link aggregation

Having a backend also has its own benefits. I am thinking of sticking to the backends after thinking about it. And there is no need to move the backend to GitHub because the GitLab pipeline is fantastic. I open-sourced the backend. You can find the repo on the README


Should we really use JSON Schema ?

No preference here, just some thoughts :)
It could be best to define object at compile time.
Should we act as a high level language like Java or Scala by defining DAO's and Objects statically (example: HeroResource, HeroRecord).
Or should we use some shema to define what we're expecting and only type DAO's statically (example: heroSchema describe a specific type of schema, a hero resource is defined with a schema) ?
@firehist

With Json Schema :
interface IHero {
  id: number;
  name: string;
}

const adapter = new HttpAdapter();
const heroSchema = {
  id: "heroes",
  properties: {
    id: {
      type: 'number',
      minimum: 1
    },
    name: {
      type: 'string',
      maxLength: 60,
      'default': 'Default'
    }
  }
};

const heroResource = new Resource<IHero>(heroSchema, adapter);

At the moment, it looks like this :
interface IHero extends IRecord {
  id: number;
  name: string;
}

const adapter = new HttpAdapter();
const heroSchema: IJsonSchema = {
  id: "heroes",
  properties: {
    id: {
      type: 'number',
      minimum: 1
    },
    name: {
      type: 'string',
      maxLength: 60,
      'default': 'Default'
    }
  }
};

const heroResource = new Resource<IHero>(heroSchema, adapter);

Hum well, the question is not that good...
The fact is, we're using a dynamic language with static typings.
We should take advantages of both, and it's what we're already doing.
The issue is irrelevant then, closing it.


RulePolicy: Replace ... in YAML training data

General information
Related discussion: Notion
Consider a rule like the following:
- rule: Submit form
  steps:
  # Condition that form is active.
  - form: loop_q_form
  - ...
  - action: loop_q_form
  - form: null
  - slot: requested_slot
    value: null
  # The action we want to run when the form is submitted.
  - action: utter_stop

Everything before the ... is the condition for the rule to apply. We want to make this explicit by moving the condition steps to a special key condition. The rule would then look like:
- rule: Submit form
  condition:
  # Condition that form is active.
  - form: loop_q_form
  steps:
  - action: loop_q_form
  - form: null
  - slot: requested_slot
    value: null
  # The action we want to run when the form is submitted.
  - action: utter_stop

There a currently two other applications for ... in rules besides conditions:

the lack of ... at the start of a rule indicates that the rule only applies at conversation start. As this is way less frequent than having a rule which can apply at all conversation parts, we need to replace this with a different construct
... at the end of the rule steps indicate that the rule should not predict action_listen once the rule is finished, but that another action (e.g. from a different rule / story) should be predicted

Steps to Solution

[x] enable YAML reader to parse steps from condition key. It's probably easier to keep the conversation events as they are, which means that the condition part should be insert as the initial conversation events, followed by a ActionExecuted("...") and then the remaining steps from steps. Phrased differently: No need to touch anything besides the yaml reader. We just translate the condition to what we currently have (unless this is a huge implementation pain)
[x] these steps might make sense to do as part of the issue depending on the discussion state:

replace ... at the end of a rule with another indicator to tell Rasa to not predict action_listen at the end of a rule
find a different indicator than the missing ... at the start of steps to tell Rasa that a rule is only applicable at the beginning of a story

The current suggestion for the start of the conversation is something like:
- rule: Greet user (only relevant at start of conversation)
  condition:
    - action: action_session_start
  steps:
    - intent: greet
    - action: utter_greet

There's been some debate as to whether it should say conversation_started instead of action: action_session_start to make it clearer to the user.
The current suggestion for the end of the conversation is:
- rule: FAQ detailed
  steps:
    - intent: faq
    - action: utter_faq
  wait_for_user_input: false

This key should only need to be added when the case is not the default option of waiting for user input after a predicted action.
Let me know if anyone has more questions on this topic

There's been some debate as to whether it should say conversation_started instead of action: action_session_start to make it clearer to the user.

Let's go for action: action_session_start for now and then get feedback on it?

sure!

@akelad I think it should actually be like that, no? That's the same way we e.g. handle it for "form submit" rules
- rule: Greet user (only relevant at start of conversation)
  steps:
    - action: action_session_start
    - intent: greet
    - action: utter_greet

Uargh. It doesn't work at all. action_session_started is not part of applied_events and hence can't be matched by a rule. I'll add a simple key ala only_apply_start

not super into only_for_conversation_start @melindaloubser1 or @b-quachtran do you have any ideas for better things to call this?

That's fine as long as the approach is ok 🎉 . Renaming the key is easy.

yeah approach is fine. My other thought was doing:
condition:
  - conversation_beginning

But I think I actually prefer the simple key with True/False

Ja if it's just about the name then conversation_start or conversation_beginning or something intuitive

+1 for conversation_start as well

Awesome, will work it in, merge and then update docs 🎉 Thanks for your input!


gcquant match_cal_conc pandas index bug

compiled.reset_index() in  match_cal_conc throws a bug.  This bug did not show up for me in pandas 0.18, but while building package I upgraded to 0.20.2 and now it shows up.
This bug is present in the current valence conda release

conda update pandas to update pandas and see bug


Updated screenshots and UI info for Kubeflow v0.6

Updated screenshots and the quoted excerpts from UI text to reflect the Kubeflow v0.6 UI.
Updated the port-forwarding instructions for the v0.6 UI.
Fixes https://github.com/kubeflow/website/issues/990
Fixes https://github.com/kubeflow/website/issues/1042
Fixes https://github.com/kubeflow/website/issues/1041

This change is

Preview:

https://deploy-preview-1029--competent-brattain-de2d6d.netlify.com/docs/notebooks/setup/
https://deploy-preview-1029--competent-brattain-de2d6d.netlify.com/docs/components/training/tftraining/
https://deploy-preview-1029--competent-brattain-de2d6d.netlify.com/docs/gke/pipelines-tutorial/
https://deploy-preview-1029--competent-brattain-de2d6d.netlify.com/docs/other-guides/accessing-uis/
https://deploy-preview-1029--competent-brattain-de2d6d.netlify.com/docs/pipelines/pipelines-quickstart/

/hold
Adding hold so I can lgtm/approve this PR, while there is a nit under review.

/lgtm
/approve

Thanks! Fixed. PTAL.
/hold cancel

/lgtm


Remove timeout from install.sh

The BusyBox timeout command's arguments changed starting in webOS 7.
Tested on webOS 6.3.2 and 8.1.0.

Tested this on (rooted) webOS 1, 4.0, 4.5, 6, and 8.


Create first extension documentation

The Prerequisites on the Creating your first out-of-process Visual Studio extension page mention installing the .Net desktop development workload but there is no mention of installing Visual Studio extension development workload. This is a bit counter intuitive, is this correct? It would help if it is explained why we need .Net desktop development workload.

Hi @arung2207, the documentation is correct. The Visual Studio Extension Development workload refers to the existing, in-process SDK for creating extensions. The new VisualStudio.Extensibility SDK here in this repo is in preview and will eventually become that workload, but for now we ship the bits separately.
The .NET Desktop Development workload is needed because VisualStudio.Extensibility is a .NET library with several references in that workload.

Thanks for the quick response @maiak
The documentation for the new Extensibility model is incomplete. While there are examples which get one started but do not cover all the way through to see the extension working. I am facing an issue running the samples which I logged on stackoverflow here. The mini 7 part video series also didn't touch upon the execution part. Can you point me in the right direction?
What is the timeline for GA for the new VisualStudio.Extensibility SDK?

Thanks @arung2207.
Both the documentation and the product itself are very much under active development, so we're working hard to fill gaps in documentation and add functionality. But we're very interested in keeping the documentation up-to-date and making sure you have what you need to get started. If you notice anything incorrect or missing, please file an issue for it and I'll make sure it's looked at.
Because the SDK is in preview, you're likely going to get faster responses if you post your issues here rather than StackOverflow for now. Three questions:

Which version of VS are you using?
Which version of the VisualStudio.Extensibility Project System are you using?
Which documentation is missing or incorrect that would help you with your issue?

I don't currently have a GA date to share for the SDK, but we expect to move into beta next summer or fall with GA information to come based on the feedback from the beta.

Microsoft Visual Studio Community 2022 (64-bit) - 17.4.1

VisualStudio.Extensibility Project System - <IP_ADDRESS>780

Documentation that would be helpful:

Information related to testing the extension during development. Ensuring break points are hit
Specifically some details about experimental instance of Visual Studio. I have been trying to create several commands and I noticed the changes "linger on" in the experimental instance. And to get rid of them I deleted %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\17.0_80883399Exp\Extensions folder.
Information about the publishing the extension. I noticed all the demos in the mini-video had the command already there, F5 was not pressed to start the experimental instance.
Information similar to VsixCookbook for the new SDK would be a good starting point.

One more question, I noticed the the VS Extensibility template do not prompt to choose the .NET framework, does it mean changing target framework for the project to .NET 7 would not have any affects?

Hello @maiak Did you get a chance to view my last response?


Polkadot KMS grant application

Grant Application
This application is (select one):

[x] Speculative (use this by default)
[ ] an RFP response

This application is (select one):

[x] Public (fully)
[ ] Public with private finances

Abstract
In this project, we will design and implement a remote signer module within Substrate, and also a dedicated key management server to be used with the remote signer module.
Checklist

[x] The grants document has been read and understood.
[x] The Google Form will be completed accurately. Note that the Google Form requires the pull request URL.
[x] Abstract (above) is succinct and complete.
[x] The application is being included into the correct directory: either 'targeted' or 'speculative'.
[x] The application includes a project description.
[x] The application includes all names of team members.
[x] The application includes a description of the team's experience.
[x] The application includes all necessary links (e.g. GitHub and LinkedIn)
[x] The "Development Roadmap" section in the application has a timeline of development ("milestones").
[x] The "Development Roadmap" section in the application has an estimate of funds required.
[x] The "Development Roadmap" section gives an indication of the team's long term plans.
[x] The "Development Roadmap" section includes documentation as a deliverable for at least one milestone.

Is this the team who discussed this in substrate repo issues?

Is this the team who discussed this in substrate repo issues?

I think not. I don't know the issue you mentioned.

It seems to be our mistake, did not find the issue when we started discussing this project. I've just glimpsed the issue, and found that the goal almost overlaps. However, our long-term goal is to implement a KMS which can be used with Substrate. After paritytech/substrate#4689 is resolved with a concrete implementation or after remote signing protocol is fixed, we may be able to implement our own version of a signing server. I think it is still a meaningful project since it enriches the ecosystem.
Anyway, what is your suggestion? Just withdraw this PR and wait and monitor the issue 4689 until we apply for another grant? Or revise this PR now with a new revised goal?

Even though the proposal may not be able to work on remote signer, I think this has value in that it can enable existing enterprise organizations to provide secure recovery service here.


[BUG] Cannot read properties of undefined (reading 'length')

What happened?
click in farm icon of gui crash gui
Version
2.1.3
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output or stacktrace
Cannot read properties of undefined (reading 'length')

URL
#/dashboard/plot

Stacktrace
at webpack://@chia-network/gui/src/components/plot/overview/PlotOverviewPlots.tsx:51:44 length
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:167:136 Xh
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:197:257 hj
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:292:87 null,Zf(d)?(f=!0,cg
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:280:388 uj
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:280:319 uj
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:280:179 uj
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:271:87 Ok
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:273:299 Dk
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:127:104 jg

Fixed in 2.2.0


fix(docs): typo at getValueMetadata() argument type

Addresses https://github.com/zwave-js/node-zwave-js/issues/1618

@zwave-js-bot rename commit

Thanks


feat(cli): support using assumed role

Add optional arguments role_arn and role_name.
Now we can use this app with the assumed role.
fix #32

Codecov Report

Merging #36 (0bde4ed) into master (6b9c7dd) will decrease coverage by 2.94%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   72.77%   69.82%   -2.95%
==========================================
  Files          27       27
  Lines        1469     1531      +62
  Branches      279      295      +16
==========================================
  Hits         1069     1069
- Misses        224      286      +62
  Partials      176      176

Impacted Files
Coverage Δ

src/bin/main.rs
0.71% <0.00%> (-0.04%)
:arrow_down:

src/utils.rs
15.58% <0.00%> (-38.97%)
: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 6b9c7dd...0bde4ed. Read the comment docs.


fix(action): remove re-run logic

:pencil: Description

Turns out the context.runNumber thing didn't work how I thought, so reverting it.

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


Selection and clipboard support in prompt

I am currently refactoring the input handling, and I wonder whether it would be desirable.

Probably something useful to have down the line, but not the most pressing issue.
It's nice to have.


Cypress/E2E: Fix user team invite link to sign up spec

Summary

Replaced query for town square

Ticket Link
NA
Screenshots

Release Note
NONE

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/187727


Allow user to view computed distances in metric units.

The distance between the mapper hex and the witnessing hotspot is currently only reported in miles.
In my early prototype, I allowed toggling between miles/km by clicking on the distance cell in the table.

Objective:

Allow user to toggle between miles/kilometers
Save this attribute in localstorage

Great addition!

Should metric be the default, given >90% of the worlds population uses the metric system?

Should metric be the default, given >90% of the worlds population uses the metric system?

Hahaha, that's right...but I don't mind to have mi as default considering developers are in EEUU.
The point here is, that this is a SIMPLE & GREAT feature that would make us happy users (specially from EU).
Please add it on next release! 🙏🏻


Simplify and fix underline-link mixin

Use px instead of rem for underlined link mixin. It seems that somewhere along the line, rem stopped working. Changing values to px; this might be better anyway as we want absolute control over the underline size.
The mixin was simplified as well since we don't need different underline styles.
Fixes lonelyplanet/destinations-next#762

:+1: