Async compatible SQLPanel

Description
By instrumenting  the SQLPanel in sync_to_async we can monkey patch all the connection in a dedicated thread and store those connections there meanwhile all cross compatible views and operations in async context will take place in that threaded thus they will use those patched db connections which will help us store all async and sync operations.
more explanation of sync_to_async: https://docs.djangoproject.com/en/4.2/topics/async/#sync-to-async
Fixes https://github.com/jazzband/django-debug-toolbar/issues/1430
Fixes  https://github.com/jazzband/django-debug-toolbar/issues/932
Checklist:

[x] I have added the relevant tests for this change.
[x] I have added an item to the Pending section of docs/changes.rst.

@tim-schilling  I think this is ready as per the discussion tests have been covered by #1835

@tim-schilling  Apparently instrumentation is causing the lint fail, even if I have added it to word list.


Correct capitalization of PyPI

As spelled on https://pypi.org/.

I am impressed by your attention to detail :)


API extension to handle copying fully imperatively

I'd like to propose extending the API so that the following use case would be possible.
In some scenarios, clicking the copy trigger element may have unwanted consequences, e.g. a <button> or <a> in a Bootstrap dropdown which causes the dropdown to close if event propagation is not stopped. I would like to stop propagation of the click event beyond the button and handle clipboard actions immediately. Right now this does not seem to be possible, but I could not locate thorough API documentation which would confirm this (an issue raised in #422).
JSFiddle example.

I managed to resolve my particular issue by examining the code. src/clipboard.js calls listen from good-listener, which has different behavior depending on whether a selector or a DOM node is passed. In the former case, an event handler is attached to <body>, in the latter to the passed node itself. Passing a node allows stopping event propagation early on. This should certainly be documented.

Thanks for reporting @tambeta, feel free to send a pull request with your suggestions.


Fix #2 and improve performance

I've fixed issue #2 and improved performance by caching the animations. If you have any remarks please do say them. I'll be more than happy to improve this library as well as my pull request.

thanks!


Buildfix

Something seems to be broken, previous examples not working anymore. Hold off on merging with the master branch until resolved.

Something seems to be broken, previous examples not working anymore. Hold off on merging with the master branch until resolved.

Specifically issue seems to be with the forces training (forces scores MAE is too high)


Action column position is not changing dynamically

material-react-table version
v1.10.0
react & react-dom versions
17.0.2
Describe the bug and the steps to reproduce it
if positionActionsColumn is in state and is getting changed, I'm expecting so that column orders would change too
Minimal, Reproducible Example - (Optional, but Recommended)
https://stackblitz.com/edit/github-wtvpnu?file=src%2FTS.tsx
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

I guess we will fix this, but it might be better to handle the columnOrder in the state manually if you are already planning on mutating the column order like that.

I'm actually considering removing the positionActionsColumn prop in a future 2.0 version. Column Order State should drive all column order stuff. This prop just leads to bugs

Agree, I've just used the column order state with mrt-row-actions in the right position and removed the positionActionsColumn

Hello, have sort of same problem:
Table have some columns -> On some effect conditionally is added a column on the second position in columns ordering but table is displaying this column as the last column.
Fixed by initializing the initial column order state.

The positionActionsColumn table option still exists for convience, but if you ever run into this problem, just manage the columnOrder state manually.


the format of the reconstruction file

could you plz explain the meaning of the tracks.csv file and the reconstruction.json file？I‘m confused by the translation and gps_position and the reference_lla.json. What should I do if I want to calculate the camera position in real world coordinate.
Sent from PPHub

This might help: https://www.opensfm.org/docs/dataset.html#reconstruction-file-format

thanks and after I read the source and my problem have been solved


Verbose message when domain.yml parsing fails.

When there is a mistake in the format in the domain file, training for core fails silently. All it prints is a single message saying: DEBUG    rasa.importers.rasa  - Loading domain from 'domain.yml' failed. Using empty domain. It doesn't provide any information on where the parsing failed.
- utter_answer
  - text: "You have typed the word "mango" wrong".  # the double quotes make this invalid

Rather than failing silently, it could at least give the line number where the parsing fails.

Thanks for submitting this feature request 🚀@akelad will get back to you about it soon!✨

That's a good point, thanks for the suggestion! Is this something you'd be willing to work on?

@akelad Is there a workaround for this issue? It's crazy that you'll give this error and not point where. I got more than a thousand lines in my domain file. How am I supposed to find which line went wrong?

You can use a yaml validator for now - we're open to community members working on this issue, otherwise we will get around to fixing it eventually.

Yes, but it's not only happening for syntax errors. It's throwing the same error if there are any duplicates in the domain file. I was able to get around it after a couple of hours of tinkering. Now, when I tried to train, it couldn't find the stories file. It's just right there in the data folder. I suspect this is the same issue. Another couple hours of my life wasted on this. Such a nuisance.


constant byte array obfuscation

Would be useful if there was obfbytes!, which takes a byte array (whether it be b"\x2A\x2A", [42, 42] or include_bytes!("data.bin")), and encrypts+obfuscates it.
My use case is making it more difficult to find a hardcoded public key used for validation.

Whoops, just realized all the stuff in the bytes module kinda does this.
Still though, would be useful to have it in a simple macro.

Shameless plug: I built a crate that does something like this: include_crypt. If you only want to include a single file, then you could probably just treat the bytes as a string and then simply use as_bytes().

@not-matthias ooh, that's nice, i'll certainly probably use that in the future, although it's a bit overkill for a 32-byte key which I already have in \xFF form

Hi @aspenluxxxy , thanks for taking interest!
I hadn't considered your use case, but the implementation seems trivial (since I already use a byte oriented obfuscation for strings itself). I'll consider a simple variation of obfstr but for bytes, eg. obfbytes.
That said I'm not sure what benefits you could have from obfuscating the encryption key itself since it's fairly short and is just a 32 random looking bytes. The goal of my crate specifically is to prevent automated analysis from deobfuscating all the strings in a binary to kick start analysis without prior understanding. It offers zero protection against a dedicated attacker who already knows what they're looking for. The obfuscation is fairly trivial to undo for a specific string.
Assuming the attacker already knows that your binary contains a hidden, encrypted file my approach would be to find the code which performs decryption (looking for aes instructions and constants used in popular encryption schemes) and xref the code until it reaches the code which supplies the concrete arguments to decrypt. From there either use an external tool with the extracted data and keys or breakpoint the decryption routine and extract the data after it is finished. None of this is prevented by this particular obfuscation library.
It would be more productive to disconnect the references to the decryption routines than trying to obfuscate the key. This functionality to specifically obfuscate function pointers appears missing in my library and I'll see what I can do to support it.
An important note is the usage of #[doc(hidden)]: I use it for two purposes:

To export some stuff needed for the macros to work, I do not consider these hidden APIs to be stable and usage of them may break in the future. This includes the bytes and words modules. Eg. when Rust gets const generics which allow &str I intend to refactor the code to use it extensively.
To soft-deprecate stuff without breaking backwards compat. This includes the ObfString and ObfBuffer wrappers and some of the helper macros I no longer like. In 0.3 and onwards these have been removed.

@not-matthias Interesting, I've looked through the code for some ideas and I have some observations:
You're using ObfString which I've removed in the 0.3 release (fairly recent). From the way you used it it seems to be constrained to keys which are valid utf-8, am I reading this right?
It is unclear to me what exactly the threat model is for your crate, what exactly does it hope to achieve? For obfstr I have a small blurb trying to explain what it should be used for.

@CasualX For my use case, it's more meant to prevent "lol change public key with hex editor" - nothing's uncrackable, but I might as well throw all I can at making it harder to do so.

@aspenluxxxy haha that's fair, I keep assuming the low bar is someone with a copy of IDA and the ability to do some scripting to automate their analysis. Of course it's not even close to the level needed to simply search for a pub key in a binary and hex edit it to something else and any basic obfuscation would raise the bar significantly.

@CasualX The general goal of include_crypt is to be able to include an entire folder and prevent the automatic extraction with tools like binwalk. There's some crates that allow you to embed folders, but even when they compress the files, you can still extract the files automatically.

@not-matthias that makes sense! In the end I realize that my obfuscation code is not and won't be suitable for large amounts of data which is a niche your crate can fulfill.
I'm working on making the obfuscation available to plain byte arrays but I won't specifically support obfuscating function pointers (which can be done instead by putting them in a static and obfuscating the reference to that static).


TRAD-254 Jupiter RouteSwap Changes

Removing PoolAddress and adding OutToken to RouteStep in RouteSwap request

@kdonthi close this if no longer relevant?


Added maven-assembly-plugin for building fat-jar.

It is handy for the guys who want to use latest version of LittleProxy.

 Sorry for the noise.


Application initializations should be delegated to the implementers.

Any needed utilities should be guarded with an "isInitialized" flag.

Anything that cant be guard (reflection) should be a required initialization and throw a proper runtime exception.


[TASK] Refactor our code to the .value

Estimated story points: 13
Description

This allows for much more maintainable code

Acceptance criteria

There is no more Signal.flatten or Signal.map in our code

time: 6h


Finish ProfilePage implementation

Is your feature request related to a problem? Please describe.
Currently changing available to mentor and needs mentoring on the RelationPage doesn't have any effect.

Describe the solution you'd like
I'd like this to work. I'd love this to work and be nicely coded :)
Additional context
I remember I had some issues with this while speed-coding this app during GCI and finally forgot to finish this :) That's why it isn't already implemented.

I would like to work on this issue.

I'm on mobile and can't assign you, but...feel assigned and good luck :)

Thank you @bartekpacia , @isabelcosta

The issue is on Profile page and not Relation page right, I am still working on it.

You're right @gaurivn. I should realy be more focused when doing stuff.

@bartekpacia how would we handle checkbox state in bloc? I was thinking we can create a custom stateful widget in a different class? so it can call setstate without rebulding the main page?
Is this the right/optimal way?

I'd use BLoc pattern instead of setState().  Working solution usingsetState() is much easier to code but using BLoC we'll have cleaner code and arch in general.

I was asked on the Mentorship Flutter setup session to fix this, so I'm assigning this to myself.

Well, after investigating this, I feel the weight of the technical debt I created while speed-coding this👀. The whole ProfilePage is just pure garbage.
The best part is that I feel I don't have enough knowledge / feel confident enough to come up with a proper solution for this. I'll do some advanced BLoC tutorials in the near future and then try to fix this

we can always rebase to using setstate 👀

Yeah, we could, but I'd like this to follow best practices so people can learn something.
But maybe BLoC is too complex for this use-case. Idk honestly. Recently, in one of my personal projects I started using provider and it's awesome and introduces much less boilerplate than BLoC.
Do you have experience with provider @Techno-Disaster?

Yeah, we could, but I'd like this to follow best practices so people can learn something.
But maybe BLoC is too complex for this use-case. Idk honestly. Recently, in one of my personal projects I started using provider and it's awesome and introduces much less boilerplate than BLoC.
Do you have experience with provider @Techno-Disaster?

@bartekpacia sadly no. i have been planning to learn these since a month, but something keeps popping up, preventing me to learn it. Lets see if i can start it again this week 🙂

Sure, no problem! It's really complex topic IMO so don't hurry, take your time doing tutorials etc.
I'm currently busy too but this issue the back of my head.

@bartekpacia How does our app use bloc? 🤔 Like isn't the basic idea of bloc to prevent reloading the whole page and just update the changed data? Our app just rebuilds the whole page when we change tabs.

At the HomeScreen level, BLOC is simply used to maintain the current state (currenly opened screen) . I'm sure that we're probably not using all of its power, but unfortunately, I don't have time to learn it properly now.

There's definitely area for improvement.

@bartekpacia I tried getting around this again and looks like we might have to rewrite the whole profile bloc again, asked some friends including the creator of flutter_bloc himself :see_no_evil: , seems like the profile page is a mess, were you able to make any progress?

@Techno-Disaster Sure, I'll reassign you. Glad you figured this out :) and thanks for taking this from me


[SPARK-33977][SQL] Add doc for "'like any' and 'like all' operators"

What changes were proposed in this pull request?
Add doc for 'like any' and 'like all' operators in sql-ref-syntx-qry-select-like.cmd
Why are the changes needed?
make the usage of 'like any' and 'like all' known to more users
Does this PR introduce any user-facing change?
'No'.
How was this patch tested?
No tests

cc @wangyum

cc @wangyum

Test build #133612 has started for PR 31008 at commit 3d0826e.

Test build #133612 has started for PR 31008 at commit 3d0826e.

Test build #133612 has finished for PR 31008 at commit 3d0826e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133612 has finished for PR 31008 at commit 3d0826e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133612/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133612/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38201/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38201/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38201/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38201/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38201/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38201/

Test build #133640 has started for PR 31008 at commit d5b0e48.

Test build #133640 has started for PR 31008 at commit d5b0e48.

Test build #133640 has finished for PR 31008 at commit d5b0e48.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133640 has finished for PR 31008 at commit d5b0e48.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133640/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133640/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38229/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38229/

For reviews, could you put the screenshot of this doc update in Does this PR introduce any user-facing change??

For reviews, could you put the screenshot of this doc update in Does this PR introduce any user-facing change??

Test build #133704 has started for PR 31008 at commit 524759a.

Test build #133704 has started for PR 31008 at commit 524759a.

Test build #133704 has finished for PR 31008 at commit 524759a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133704 has finished for PR 31008 at commit 524759a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38292/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38292/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133704/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133704/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38292/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38292/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38292/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38292/

Thanks! Merged to master.

Thanks! Merged to master.

@maropu Thanks for your work! @wangyum @srowen Thanks for your review.
Specially, Thanks for your screen shot @maropu

@maropu Thanks for your work! @wangyum @srowen Thanks for your review.
Specially, Thanks for your screen shot @maropu


"Save Config As" freezing RViz2 when dealing with complex RobotModels

I have a RobotModel that's complex and whenever I try to save the current config, RViz2 freezes.

I have a RobotModel that's complex and whenever I try to save the current config, RViz2 freezes.
I'm facing a similar issue; did u find any solution to this?

hi guys
did you find any solution for this problem as I have the same issue!?
I work with Ubuntu 22.04


WIP: Automatically create log-enricher link

What type of PR is this?
/kind feature
What this PR does / why we need it:
The idea is to automatically create the log enricher link within the non-root-enabler to be able to run the log enricher per default.
Which issue(s) this PR fixes:
None
Does this PR have test?
None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

TBD

It still does not seem to work, the log enricher complains about lacking permissions:
> k logs -f spod-slvhl log-enricher
I0608 08:13:34.955259  823178 deleg.go:130] setup "msg"="starting component: log-enricher"  "buildDate"="1980-01-01T00:00:00Z" "compiler"="gc" "gitCommit"="a5ac96b0cc0a7b71c13d9516f20227c5ea60a264" "gitTreeState"="dirty" "goVersion"="go1.16.2" "platform"="linux/amd64" "version"="0.4.0-dev"
E0608 08:13:34.955318  823178 enricher.go:52] log-enricher "msg"="tail audit log" "error"="open audit log file: open /var/log/spo/spo.log: operation not permitted"
E0608 08:13:34.955332  823178 deleg.go:144] setup "msg"="running security-profiles-operator" "error"="tail failed: open audit log file: open /var/log/spo/spo.log: operation not permitted"

@pjbgf is it even possible to run the enricher without being privileged? Right now we create a symlink within the non-root-enabler like this:
~ $ ls -l /var/log/spo/
total 0
lrwxrwxrwx    1 65535    65535            9 Jun  4 10:50 spo.log -> /dev/kmsg

CRI-O supports mounting devices via a custom annotation like io.kubernetes.cri-o.Devices: "/dev/kmsg:/dev/kmsg" since v1.21.0.


Error in loading the Arabic Billion Words Corpus

Describe the bug
I get IndexError: list index out of range when trying to load the Techreen and Almustaqbal configs of the dataset.
Steps to reproduce the bug
load_dataset("arabic_billion_words", "Techreen")
load_dataset("arabic_billion_words", "Almustaqbal")

Expected results
The datasets load succefully.
Actual results
_extract_tags(self, sample, tag)
    139             if len(out) > 0:
    140                 break
--> 141         return out[0]
    142
    143     def _clean_text(self, text):

IndexError: list index out of range

Environment info

datasets version: 1.10.2
Platform: Ubuntu 18.04.5 LTS
Python version: 3.7.11
PyArrow version: 3.0.0

I modified the dataset loading script to catch the IndexError and inspect the records at which the error is happening, and I found this:
For the Techreen config, the error happens in 36 records when trying to find the Text or Dateline tags. All these 36 records look something like:
<Techreen>
 <ID>TRN_ARB_0248167</ID>
 <URL>http://tishreen.news.sy/tishreen/public/read/248240</URL>
 <Headline>Removed, because the original articles was in English</Headline>
</Techreen>

and all the 288 faulty records in the Almustaqbal config look like:
<Almustaqbal>
 <ID>MTL_ARB_0028398</ID>

 <URL>http://www.almustaqbal.com/v4/article.aspx?type=NP&ArticleID=179015</URL>
 <Headline> Removed because it is not available in the original site</Headline>
</Almustaqbal>

so the error is happening because the articles were removed and so the associated records lack the Text record.
In this case, I think we just need to catch the IndexError and ignore (pass) it.

Thanks @M-Salti for reporting this issue and for your investigation.
Indeed, those IndexError should be catched and the corresponding record should be ignored.
I'm opening a Pull Request to fix it.


Decimal is incorrectly displayed in MS SQL

System information:

Operating system (distribution) and version: Windows 10 - Microsoft Windows [Version 10.0.19042.985]
DBeaver version: Version <IP_ADDRESS>106032102
Additional extensions: none

Connection specification:

Database name and version: Microsoft SQL Server 2012 (SP2-GDR) (KB3194719) - 11.0.5388.0 (X64) Standard Edition (64-bit) on Windows NT 6.3  (Build 9600: ) (Hypervisor)
Driver name: not sure
Do you use tunnels or proxies (SSH, SOCKS, etc)? : no

Describe the problem you're observing:
Decimals are not correctly displayed.
See attached...
Also - icon was strange , I don't think I saw it anywhere else within the DBeaver Tool.

Using available for me other tools (Azure DataStudio) I was able to determine that erroneously displayed datatype is decimal.
See attached...

Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs

ps.
This is low priority bug. It is nuisance, but not the show-stopper (no impact on development/modeling, etc...)

@YuriDude ,
unfortunately cannot reproduce the issue against 21.1.3. Could you provide ddl example to reproduce it?

You should be able to use any generic DDL with Decimal datatype and don't really need DDL from me.
I am using  21.1.0 as stated above; if it is known bug and has been address in 21.1.3 then it is irrelevant.

@YuriDude I was not able to reproduce it on 21.1.0 Is it displayed like this for every table with decimal column? Also can you at least show how this column looks in Source (DDL) tab?

Well...
My "local machine" has been patched by Microsoft with latest updates over the weekend. Seems that problem was related to my local "image": I have decimals now 👍 .
My local image: Microsoft Windows [Version 10.0.19042.1052]  .... see above to the state before...

@YuriDude Glad it was resolved


Crate owner based build backoff

Really big releases can swamp the build queue and make normal people wait hours for their crate to get built and manual de-prioritization requires human intervention, so some sort of owner-based backoff would be a good automatic solution.
The basic idea is that if over n crates with the same owner are present within the build queue at the same time, x0 of their crates get the -1 priority level, x1 crates get the -2 priority level, ad nausea.
Basically, it gradually pushes back more and more crates based on how many an owner is currently building so that it's fair to everyone, the owner still gets some of their crates built within a timely manner and all of the normal people get pushed to the front of the line.
It also prevents the (terrifying) scenario where two or more biggies are published at the same time, so instead of the first to publish getting all of their crates built and the latter ones waiting hours for any of their crates to build, they both actually get some crates built within a reasonable time span.
Additionally, it also doesn't punish big publishers who just want to make a patch release of some sort, if people-who-publish-50-crates-at-a-time want to do a one-off random release for a patch or something they aren't permanently in a de-prioritized state even though they've only released one single crate (opposed to the manual de-prioritization where they are unconditionally pushed back in the queue)

I second this. Because of the way cargo works, a breaking change of swc_common means breaking changes of all swc crates. But that's not an api change of crates. It's to guarentee a successful version resolving for rust-side users.
So if swc uses many slots in the build queue, it means a breaking change of some important upstream crate and showing docs for the old version is perfectly fine.


Properly enforce gitea environment for pushes

#8982 attempted to enforce the gitea environment for pushes - unfortunately it tested the settings before they were actually read in - and therefore does not do that!

Damn this is going to be more involved than I had hoped.

Codecov Report

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

@@            Coverage Diff            @@
##             master    #9501   +/-   ##
=========================================
  Coverage          ?   41.48%
=========================================
  Files             ?      571
  Lines             ?    75266
  Branches          ?        0
=========================================
  Hits              ?    31221
  Misses            ?    40170
  Partials          ?     3875

Impacted Files
Coverage Δ

models/update.go
12.69% <ø> (ø)

cmd/hook.go
0% <0%> (ø)

models/repo_generate.go
3.81% <0%> (ø)

models/helper_environment.go
100% <100%> (ø)

models/repo.go
48.1% <33.33%> (ø)

routers/repo/branch.go
57.65% <78.57%> (ø)

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 59885c5...165dd80. Read the comment docs.

Done

ping lgtm

Just did a minor performance improvement -  no point loading the settings if we're running an internal command.
Looking again at PushToBaseRepo there is little point running the hooks here because they won't do anything - I could make this one use the internal pushing environment if liked.

make lg-tm work


useCopyToClipboard: accept options object to pass to copy-to-clipboard

Is your feature request related to a problem? Please describe.
The function exported by copy-to-clipboard library takes a second options parameter, that allows to change the MIME type or add a custom message. Currently the useCopyToClipboard hooks does not forward this option object.
Describe the solution you'd like
The hook should accept and pass the options object to the copy-to-clipboard function call.

Hey @pietrofxq 👋,
can you explain in brief or share some related links?
I'm not able to understand it.


Which tool did you use to convert your code to .exe file?

I made some modifications to this code and packed it to .exe file by pyinstaller. But it doesn't work while reporting an error relative to module keyboard .
I wonder if you met this error and which pack tool did you use.
Thank u for your time. @beuaaa

Hi @XinShiOfficial,
I use NUITKA, all the files to compile Pywinauto Recorder arer in this folder.


POC: Add Failure Reason to claim.json

This is a proof of concept to add a more meaningful "Failure Reason" to the claim.json results section.
Example FailureReason field output format.
When the test succeeds, the reason is at the end of the test log. This is because there is no function equivalent to gingko.Fail for passing test with a reason.
Also using regex to parse the ps command output to retrieve also the command args (to add more context to this particular reason ).
This is just for illustration, in the successful case
{
 "CompliantObjectsOut": [
   {
     "ObjectType": "ContainerProcess",
     "ObjectFields": {
       "ContainerName": "task-pv-container",
       "Namespace": "tnf",
       "PodName": "task-pv-pod",
       "ProcessCommandLine": "sleep 30",
       "ReasonForCompliance": "process satisfies: SHARED_CPU_SCHEDULING: scheduling priority == 0",
       "SchedulingPolicy": "SCHED_OTHER",
       "SchedulingPriority": "0"
     }
   },
   {
     "ObjectType": "ContainerProcess",
     "ObjectFields": {
       "ContainerName": "task-pv-container",
       "Namespace": "tnf",
       "PodName": "task-pv-pod",
       "ProcessCommandLine": "/bin/bash -c -- while true; do sleep 30; done;",
       "ReasonForCompliance": "process satisfies: SHARED_CPU_SCHEDULING: scheduling priority == 0",
       "SchedulingPolicy": "SCHED_OTHER",
       "SchedulingPriority": "0"
     }
   }
 ],
 "NonCompliantObjectsOut": null
}

}

Internal error happening during the testcase are also recorded in the non-compliant list at the level at which it happened (in this case at container level):
{
  "CompliantObjectsOut": null,
  "NonCompliantObjectsOut": [
    {
      "ObjectType": "Container",
      "ObjectFields": {
        "ContainerName": "task-pv-container",
        "Namespace": "tnf",
        "PodName": "task-pv-pod",
        "ReasonForNonCompliance": "Internal error, err=unable to run nsenter due to : cannot execute command: \" ps -e -o pidns,pid,args \"  on container: task-pv-container pod: task-pv-pod ns: tnf err:command terminated with exit code 1"
      }
    }
  ]
}

Just one comment: don't hesitate to check DCI jobs to see if claim.json file is displaying the new information. For the moment, I haven't seen this new failure reason there, just to let you know.

Looks good in general. But one thing that I'd be very careful about is propagating this *testhelper.ObjectOut as a return type for functions processing those objects (which are the simpler types for Container, Pods, etc.). In my opinion, that particular abstract type for objects should only be used at the top level function of the test cases for constructing the compliant/non-compliant slices. The rest of helper/processing functions should continue using the standard types.

Maybe I'm alone here, but I don't think it's necessary to go deeper than standard kubernetes resources, being "pod" the lowest level. Otherwise, we might end up flooding the claim file with too many of these custom objects, with a potencially long (and weird, in my opinion) types list in the code. The testhelper package will have a lot of "NewXXX()" functions... You'll be lucky if you can re-use an existing one.
For this specific example of the process scheduling:
{
    ...
    nonCompliantResources : [
      {
        resource="pod",
        name="test-pod-1",
        namespace="test-namespace-1",
        reason="Container test-container-1: process test-process1 has invalid scheduling policy: SCHED_OTHER\nContainer test-container-2:, test-process-2 has invalid scheduling policy: SCHED_RR".
      },
      {
        resource="pod",
        name="test-pod-2",
        namespace="test-namespace-1",
        reason="Container test-container-3:, process test-process1 has invalid scheduling policy: SCHED_OTHER",
      },
      ...
	],

    compliantResources : [
      {
        resource="pod",
        name="test-pod-3",
        namespace="test-namespace-1"
      },
      ...
    ]
}

Another variant:
    testedResources: {
       compliant: [
        {
            resource="..."
            name: "...",
            namespace="..."
        }
       ],
       nonCompliant: [
        {
            resource="...",
            name="...",
            namespace="...",
            reason="..."
        }
       ]
    }

I would still prefer to use the granularity of the the object we are testing. In my opinion, it is still simple, since we don't have to convert much between what we test and how we report it. Also, thinking about the future, it will make it easier to parse in the html web page where we could for instance have a hierarchical view of failed objects. I am not sure about the comment about re-use. Unless I miss something,  most of lowest level objects will be k8s objects such as namespaces, pods,  containers, volumes, etc: these will be reused a lot. Then for the test cases that are going through non k8s objects such as processes I don't think we will have a lot of them but they would still be re-used. I am not suggesting to add an object for every single thing we are testing, only when it makes sense in the way we present the results, for instance the volume object would include info about PV/PVC/storageclass.

Just one comment: don't hesitate to check DCI jobs to see if claim.json file is displaying the new information. For the moment, I haven't seen this new failure reason there, just to let you know.

@ramperher thanks, sure will double check, the failure reason should be present only when it fails, unfortunately there is no "success" reason so I am just writing it  as the last piece of text in the log for a given test case


ol.proj.transform return illegal coordinates

In some cases ol.proj.transform return illegal -540, 540 values. Here is the example, see the console:
http://snikus.tk/coords.php

Hi @LaySoft.  It sounds like you may have run into a legitimate issue.  It would be easier to understand what values you are seeing and what values you expect if you could add a bit more detail to this ticket.  A link to an example is nice, but it shouldn't take too much time for someone to dig around to find the offending code.
Can you include a short code snippet that demonstrates the problem (for example, ol.proj.transform([10, 20], 'EPSG:4326', 'EPSG:3857')?  In addition, you should describe the values you get and what you expect.

var extent = [-60112525.02836773, -3995789.540683016, 60112525.02836773, -2628483.9787177835];
var bottomLeft = ol.proj.transform([extent[0], extent[1]], 'EPSG:3857', 'EPSG:4326');
var topRight = ol.proj.transform([extent[2], extent[3]], 'EPSG:3857', 'EPSG:4326');
console.log(bottomLeft);
console.log(topRight);

The extent come from vectorSource url callback, like in my linked example:
url: function(extent, resolution, projection) {
}

@tschaub I don't know the specifics of how the map is passing the extent into the loader but you can view the difference here:
v3.5
https://jsfiddle.net/rs5bhyfb/
v3.19.1
https://jsfiddle.net/rs5bhyfb/1/
I'm assuming that the loader is supposed to only pass the extent of the current view. Not the extent of 3 maps wide.

Difference between the two loaded extents comes down to adding the buffer if wrapX is true:
v3.19.1
https://github.com/openlayers/ol3/blob/master/src/ol/renderer/canvas/vectorlayer.js#L255
v3.5
https://github.com/openlayers/ol3/blob/v3.5.0/src/ol/renderer/canvas/canvasvectorlayerrenderer.js#L250

In my linked example the map give me this extent:
[-60112525.02836773, -3995789.540683016, 60112525.02836773, -2628483.9787177835];
And if I try to convert coordinates, the result is wrong: https://jsfiddle.net/rs5bhyfb/5/

Although it doesn't present the same result, I hope to check if the transformation result is expected.
http://jsfiddle.net/79as6ypx/
Turns out: the extent of that map is 155.407..,-48.488..,191.9703..,-35.498..

If the extent contains the 180 degree meridian, then such an extent is expected.

Closing due to lack of activity.


Call specific function from wasm module inside Zephyr

I am running WAMR on zephyr inside QEMU.
I have been able to follow the sample available at: /product_mini/platforms/zephyr/sample, and I can now run the main function of wasm modules.
However, I am trying to run specific functions inside the same wasm module with no success.
I have changed the simple sample and instead of 'wasm_application_execute_main' I am calling 'wasm_application_execute_func'.
e.g. (using a wasm module with a single function "sum" that adds the two given arguments):
in sample/src/main.c:
char* balance[2] = {"15","5"};
wasm_application_execute_func(module_inst, "sum", 2, balance);
I get a big amount of errors and the module doesn't run.
I do not have that many experience with C and I am not being able to fix this issue.
Is there any available similar sample somewhere that can help me?
I'm sorry if this is not the place to ask this,
Thanks in advance

@xicocana the wasm_runtime_execute_func is not supported in zephyr platform currently, the compiler reports link error while building. We recommend you use the API wasm_runtime_lookup_function and wasm_runtime_call_wasm instead, see the attachment patch for sample/simple/src/main.c. for the APIs, please refer to Native calls WASM functions and passes parameters.
we wrote a wasm application named main.c:
int sum(int x, int y)
{
    return x + y;
}

then compile it to test.wasm with wasi-sdk:
/opt/wasi-sdk/bin/clang -O3 -z stack-size=4096 -Wl,--initial-memory=65536 \
      -Wl,--export=main -Wl,--export=sum -o test.wasm main.c \
      -Wl,--export=__heap_base,--export=__data_end -Wl,--no-entry \
      -nostdlib -Wl,--allow-undefined

then we dump it to test_wasm.h (posted attachment) and copy it to zephry/samples/simple/src/:
cp test_wasm.h zephyr/samples/simple/src/

Finally, execute samples/simple/build_and_run.sh and get the correct return of sum function
sum function return: 20

Could you please have a try? thanks.
attachment.zip

@wustwn It works perfectly now ! Thanks for the fast and detailed answer ! Really saved me some headaches here

@wustwn btw how are you dumping the .wasm to test-wasm.h? I wrote a small python script that calls hexdump and creates me the .h file with the desired syntax. Just wondering if there's a better way

@xicocana Hey there,  we have uploaded the ibinarydump tool we wrote, which you can use to dump .wasm file to test_wasm.h.
please refer to [binarydump-tool] (https://github.com/bytecodealliance/wasm-micro-runtime/tree/main/test-tools/binarydump-tool)  and have a try.

@wustwn sorry for troubling you again.
I am successfuly being able to compile C code to wasm code using wasi-sdk, as you explained:
/opt/wasi-sdk/bin/clang -O3 -z stack-size=4096 -Wl,--initial-memory=65536 \       -Wl,--export=main -Wl,--export=sum -o test.wasm main.c \       -Wl,--export=__heap_base,--export=__data_end -Wl,--no-entry \       -nostdlib -Wl,--allow-undefined
but everytime I try with a piece of C code with external libraries, e.g. :
#include <stdarg.h>
I get the following WAMR error:
[0/1] To exit from QEMU enter: 'CTRL+a, x'[QEMU] CPU: cortex-a53 *** Booting Zephyr OS build zephyr-v2.2.0-2144-g3d16bda27d5e  *** WASM module load failed: unexpected end elpase: 10 QEMU: Terminated
Should I compile my code in a different way?
Thanks in advance


Update config.yml

CircleCI will soon deprecate Xcode 9.3.0. More details here.
Moving the project from 9.3.0 to 9.3.1 should have no impact on the CircleCI jobs, and it will help avoid problems due to Xcode 9.3.0 image deprecation. Plus it will help the project to hit fewer Xcode bugs.
Risk Level: Low
Testing: Green macOS CI run is enough
Docs Changes: None
Release Notes: None

@appplemac can you fix DCO?

Yep, on it…

/retest

Thank you!


Share "Reopen with" command and Editor Associations with notebooks, settings and keybindings UIs

Notebooks, settings UI and the keybindings UI are very similar to custom editors. We should make the command more generic so the method to view the backing file in the text editor is shared and behaves the same across each of these editors.

Internally we are all using EditorService.overrideOpenEditor(handler: IOpenEditorOverrideHandler): IDisposable; so it makes better sense that we implement the Reopen ... inside the service.

I'm thinking about prototyping a "PowerShell Notebooks" experience where the backing file is a regular ps1.
I want to be able to toggle between rendering the ps1 in the regular text editor & rendering the ps1 as a Notebook.
Having a mechanism to do this would be fantastic.

Above is the prototype for shared "Reopen with..." command. Previously every "custom" editor registers a simple editor override handler
export interface IOpenEditorOverrideHandler {
  (editor: IEditorInput, options: IEditorOptions | ITextEditorOptions | undefined, group: IEditorGroup): IOpenEditorOverride | undefined;
}
interface IEditorService
  overrideOpenEditor(handler: IOpenEditorOverrideHandler): IDisposable;
}

Now the IOpenEditorOverrideHandler is enriched as
export interface IOpenEditorOverrideHandler {
  open: (editor: IEditorInput, options: IEditorOptions | ITextEditorOptions | undefined, group: IEditorGroup) => IOpenEditorOverride | undefined;
  canOpen: (editor: IEditorInput, options: IEditorOptions | undefined, group: IEditorGroup | undefined) => {  id?: string; label: string; description?: string; detail?: string; }[];
}

The shared "File: Reopen with..." action will show all custom editors (which can be multiple CustomEditors, multiple Notebook Editors, two types of Settings Editors and one Search Editor) which can handle the resource for users to choose from.
We also need to think about how to configure the default editor for a resource. @mjbvz added settings for CustomEditor but considering that the same file extension can be supported by different contributors.
@mjbvz @roblourens @JacksonKearl thoughts?

As the first step, I can add this action and adopt it in Notebook and then later on you can adopt it gradually in your "custom" editor.

The QuickPick now aligns with Custom Editor per feedback from today's sit-down

Pushed my first attempt to master https://github.com/microsoft/vscode/commit/dc1746e790f693660dc1eccce8c096b8ab1ae408 . To adopt the change in your editorOverride:
1. Implement IOpenEditorOverrideHandler.getEditorOverrides
 this.editorService.overrideOpenEditor({
  getEditorOverrides: (editor: IEditorInput, options: IEditorOptions | undefined, group: IEditorGroup | undefined) => {
  ...
  return [
    {
      label,
      id,
      active,
      detail
    }
  ];
  }
}

Note that the editorInput passed in can be any kind of IEditorInput, while previously it's FileEditorInput most of the time.
The return type is IOpenEditorOverrideEntry[]. If you are returning multiple entries, make sure the id property is unique thus you know which one users pick
Handle Reopening
The editor input reopen override handler now has one more optional parameter id. If it's undefined, it means users attempt to open the file through File Explorer, etc. If it's not empty, users pick the IOpenEditorOverrideEntry explicitly.

Thanks @rebornix. The approach looks good like a good start. I'll look into adopting it for custom editors.
I think it's also worth considering adopting more concepts from custom editors for notebooks and settings. For example, the workbench.editorAssociations setting lets users configure which custom editor is used for a given resource. This is very similar to what the  "workbench.settings.editor" setting also does.

@mjbvz workbench.editorAssociations sounds a good config for mapping between file associations with "custom" editors. We use viewType as well for the notebook, in order to align with Custom Editor. So I think we can move it out to workbench/files from custom editor?
Once we do that, we need to document how viewType works across different non-text editors and how we are going to resolve conflicts.

@rebornix I hooked custom editors up to use the shared api.
The only missing feature from the shared command compared the custom editor one is that custom editors show a gear icon:

Clicking this gear sets workbench.editorAssociations for the file. I feel this improves the discoverability of workbench.editorAssociations
I see two options:

Add the gear as a shared feature. Clicking on it would set workbench.editorAssociations for both notebooks and custom editors

Let custom editors contribute a button to the reopen with quick pick.

@rebornix Would notebooks also benefit from making workbench.editorAssociations more easily configurable?

Add the gear as a shared feature. Clicking on it would set workbench.editorAssociations for both notebooks and custom editors

@mjbvz yes, notebook will have similar problems and having the gear as a shared feature makes best sense. Will you do the migration? I can do that as well.

@mjbvz adopted the gear icon in the quick pick, which will set editor association. It's safe to deprecate the "View: Reopen with..." command from Custom Editor now.

@rebornix Thanks! I'll move over any other custom editor functionality that makes sense to share

@rebornix is this an editor command I can take advantage of in an extension?

This one is an internal one for now but I've heard that @mjbvz is making a generic public command to open a resource with a specific "custom editor"

70a890efb6601c04e5235b06e537bdf47d85281d make the vscode.openWith command support other editor types besides custom editors

@mjbvz thanks for the good work!
@roblourens @JacksonKearl @sandy081 if you want to adopt this set of APIs and commands in your component, feel free to create new issues to track them, it's no blocker for this iteration. We just need to make sure we are not introducing similar commands in the future.

Moving to May for settings and keybindings UI adoption

I'm not sure about using this for settings, since we don't consider the different scopes to be in different settings GUI resources/editors. It doesn't fit my mental model. Makes sense for keybindings though.

@roblourens why not swap between whatever file it is based on the settings editor tab is opened? Sure it's a little different but it would be nice to have the same command/keybinding for switching to the text versions of keybindings, notebooks, custom editors and settings.

You can already have the same keybinding and you won't have to pick from two options in a quick pick. I can look into it though.

In Search editors, there’s currently no way to view the raw text^ and no feature requests for such a thing either. So probably not going to implement it just for this, but if demand arises I’ll be sure to use this.
^ Exception is via diff view

You can already have the same keybinding and you won't have to pick from two options in a quick pick.

The command should just switch instead of showing a quick pick if there are only 2 options imo, or have an alternate toggle command which does this.

For context, here's what I'm doing in the PowerShell extension to emulate what the Settings UI/Json does today (flip between a fancy mode and raw mode).
https://github.com/TylerLeonhardt/vscode-powershell/blob/903c483a70fb3c4301186ba5eaad5c799bc78ed8/src/features/PowerShellNotebooks.ts#L31-L37

I looked into this for a bit and I don't think it supports what I need currently, but I might be wrong.
Basically when you open the settings UI editor, you are opening a vscode-settings: URI. If we want "reopen with > text editor" we need to open a different resource. I am expecting to be able to either override the entry that says "Text Editor/Built-in", or to intercept the open that happens after I pick "Text Editor" with my overrideOpenEditor handler. It doesn't seem like either of those things are possible.

Agree that supporting this in Keybindings makes good sense and settings is a bit weird. The Settings UI is a 1-N mapping between the UI and multiple settings.json.

Can somebody please explain to me what needs to be done here for Keyboard Shortcuts editor and any code references?

@sandy081 Keybindings contribution needs to register itself as an IOpenEditorOverrideHandler https://github.com/microsoft/vscode/blob/1ed5e6cf0ee95b9878d74813d4b97e67026e9fe1/src/vs/workbench/services/editor/common/editorService.ts#L246 and as a handler, it is responsible for

getEditorOverrides, provides override candidates for a specific resource. For example, there are three different view types for keybindings.json: UI, Split JSON editor, simple JSON editor. The return result will be used in Editor: Reopen With.
open(editor: IEditorInput, options: IEditorOptions | ITextEditorOptions | undefined, group: IEditorGroup, context: OpenEditorContext, handles the editor opening override This one is a bit tricky and we are looking into improving it, but now it works as

If users try to open keybindings.json directly, editor is a FileEditorInput. If options?.override is not set, we should open Keybindings Editor based on user settings (for example, by default it opens the UI editor)
if options?.override is set, open the right editor based on options?.override (it's the id of the override candidate)

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


TNB TCBG - Still being edited

Project Details
How would you describe your project?
This would be a real-time blockchain-based trading card game.
What problem does this project solve?
Solves one of the usable products on our chain. It will showcase the chain's abilities and show people can be made on this chain.
Who is the target market?
Trading card gaming player between 13-45.
How will this project benefit the network and/or the community?
It will showcase the chain's abilities and show people can be made on this chain.
How is this project centered around thenewboston?
Cards and pack buying will happen tnbc or a subtoken it also increased locked coins as well for players.
What is the estimated completion date for this project? (rough estimates are acceptable)
1-3 months. The issue with timing these things is finding the talent and also waiting on the main beta to complete the game backend mechanics. Stuff-like website trading and stuff like this can all be worked out beforehand. And since I have a knowledge of how things work in this chain and how they will work going forward I'm ideal to lead a project like this.
Please include a detailed roadmap for your project below. This must include a list of all milestones where payments will be awarded upon completion of each.
https://docs.google.com/document/d/1SlM-QYwna0DF_j45pTADk8SjtDdAHMhle7x3wv4mKW4/edit
What is your Discord username?
DISCORD USERNAME HERE (https://discord.gg/thenewboston)
Additional files and documentation including architectural diagrams, wireframes, research documents, visuals, etc… (optional)

OPTIONAL ATTACHMENT HERE
OPTIONAL ATTACHMENT HERE
OPTIONAL ATTACHMENT HERE

Milestone Details
Please include a detailed breakdown of the first milestone including a list of all quantifiable objectives and the estimated coin value of each. Upon completion of the milestone, each objective will be reviewed by thenewboston team
and once all objectives have been verified as completed, coins will then be rewarded.
Note that all future detailed milestone breakdowns will be written as a separate GitHub issue. Only the first one is
included in the project proposal.

EX - Preferred: John Doe
Project Wallet
PROJECT WALLET ACCOUNT NUMBER HERE

Adding a Blocked label since this is blocked by the subtoken feature.

Actully it don't require subtokens. This can be ran on the customjson no issues


Incorrect test connection troubleshooting document

Hi Team,
I noticed the document mentioned test connection troubleshooting is incorrect. There is no EMCA connector required in this scenario. Could you please review this troubleshooting point link?

The "here" link will jump to local EMCA connector test connectivity document. But there is no EMCA connector require in this scenario. https://learn.microsoft.com/en-us/azure/active-directory/app-provisioning/on-premises-ecma-troubleshoot#troubleshoot-test-connection-issues
Best regards,
Tony Shen

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

ID: 9cccbfac-fe61-ed55-efff-6030b72de3cb
Version Independent ID: ac5c4382-332b-f772-f01e-1d9c88227a92
Content: Azure AD on-premises app provisioning to SCIM-enabled apps - Microsoft Entra
Content Source: articles/active-directory/app-provisioning/on-premises-scim-provisioning.md
Service: active-directory
Sub-service: app-provisioning
GitHub Login: @billmath
Microsoft Alias: billmath

@TonySh127-ms
Thanks for your feedback! We will investigate and update as appropriate.

@TonySh127-ms
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.
@billmath
Can you please check and add your comments on this doc update request as applicable.

Thank for submitting this. I have created a work item for it and will reviewing this in the coming weeks. I am not sure what the timeline will be, so I am going to close this for now. But once I have an update I will drop it in here and let you know.
Thank you!
Bill
#please-close


Get different CAD models into current position

Sir,
One of imodel great function is merging different into one imodel file. My question is how to place the different CAD models  into current position. For example, I try to assemble a Revit file（architectural building) with a CATIA file (Mechanical equipment) together and build one imodel file just like Autodesk Navisworks can assemble different CAD model into one file.
Thanks in advance.

Sorry, maybe assemble a Revit file with a IFC and a Autodesk Civil 3D model into one imodel.

Have you looked at iTwin Synchronizer? As described on that page it supports Revit and Civil 3d.

Thank for your help and support. I can place most of different CAD model into right position. But I still can not position the Navisworks model. Any suggestion?
Thanks a lot!

Do you have access to the full Navisworks App? You can right-click on the root node of the selection tree, select Units and Transform..., and that should let you shift the NWD data (and then run it through the Connector again).

Thanks a lot!


Lookup would require extrapolation

After playing my ouster lidar rosbag and running hdl_graph_slam.launch, i face the given error in rviz while visualizing /filtered_points:
Transform [sender=unknown_publisher]
For frame [base_link]: No transform to fixed frame [map]. TF error: [Lookup would require extrapolation<PHONE_NUMBER>.320200682s into the past. Requested time<PHONE_NUMBER>00 but the earliest data is at time<PHONE_NUMBER>.752368689, when looking up transform from frame [base_link] to frame [map]]
upon echoing /tf, I observed timestamps of map->odom and base_link->os_sensor (my lidar frame) to be around<PHONE_NUMBER> but odom->base_link and odom->keyframe is around 537

I think it's because your computing device lacks sufficient performance.
using rosrun tf tf_monitor /map /base_link and top may be helpful.
you can close rviz and use rosrun tf tf_monitor /map /base_link instead to get the data and description of TF erro you mentioned above


include simulation with optimal parameters

include simulation with optimal parameters in the new data format (former in the data file, simulation sheet). we agreed on having a third filel for that

lets maybe discuss about that again. should have not too many files and only one column would be different.

Agreed again on having an additional file.


docs: add missing module option of swc minimizer plugin

Summary
This option is in the source code but not in official website dcos.
https://github.com/web-infra-dev/rspack/blob/7e15f6816c0ff5f440d2f7eb07235a03b51686e8/crates/rspack_binding_options/src/options/raw_builtins/raw_swc_js_minimizer.rs#L82
Here's the docs on the official website:

Checklist

[ ] Tests updated (or not required).
[x] Documentation updated (or not required).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

👍


feat: add build-in method 'file.read' to load file

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

add a built-in function to load file
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[x] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[x] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.767%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2303

Relevant Lines:
2624

💛  - Coveralls


[DOC] Link from jina AI points to nonexistent resource

What's wrong?
Hey folks,
I’ve noticed that the link from jina AI website points to a nonexistent resource in the SDDB docs.
cc: @blythed @hanxiao
Steps to reproduce

Go to https://jina.ai/embeddings
Find the superduperdb icon
Click on it.

Actual behavior
The link points to https://docs.superduperdb.com/docs/docs/ai_integrations/jina
Expected behavior
The link points to https://docs.superduper.io/docs/ai_integrations/jina
How could it be better?
I assume redirection to the new domain is not configured properly, hence potentially, links from all partners’ websites to sddb docs are broken. I feel that it affects users experience and creates wrong impression about superduper. I think that reconfiguration of your CDN would be a feasible solution of the problem until all partners update their websites.

Thanks @kislerdm we are looking into this and associated issues after refactors.


Upgrade CI deps

What this PR does / why we need it:

Bump minikube to 1.33.1 to fix the following issues. Failed to enable container runtime: sudo systemctl restart cri-docker, https://github.com/medyagh/setup-minikube/issues/110
Bump Kubernetes version to 1.29.7
Bump cert manager to 1.15.1
Use helm for installing knative in CI

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Upgrade CI deps

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

/approve


Updating to v5.81 (DSM 20.0.967)

Updating to v5.81 (DSM 20.0.967)

Per the notice, all projects that were part of the Quick Start program have been deprecated and will be removed soon, so no new pull requests are being accepted.


[DO NOT SQUASH MERGE] Fixes after community merge

Description
Cherry-pick fixes for jdbc failures after latest community merge.
Issues Resolved
Task: BABEL-5435
Test Scenarios Covered

Use case based -

Boundary conditions -

Arbitrary inputs -

Negative test cases -

Minor version upgrade tests -

Major version upgrade tests -

Performance tests -

Tooling impact -

Client tests -

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.003%) to 74.712%

Files with Coverage Reduction
New Missed Lines
%

contrib/babelfishpg_tds/src/backend/tds/tdsutils.c
2
73.8%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.003%

Covered Lines:
45755

Relevant Lines:
61242

💛  - Coveralls


Deprecate Dictionary.ofList in illib.fs

This function is very slow, it is convenient, but forces to allocated lists and tuples just to populate a dictionary.
It is also a place where the infamous List.length is called.
Calling Dictionary.Add in place at usage site seems to be close to 10 times faster (I've taken the size of all calls, loading a project in FSI to check), this might add few lines of code at the call sites but is the only way I've found to get the good performance.
The function is called 9 times in the code:

absil\illib.fs
absil\il.fs
absil\ilmorph.fs
absil\ilbinary.fs
fsharp\TcGlobals.fs
fsharp\MethodCalls.fs
fsharp\IlxGen.fs

I'll prepare a codebase discarding it's usage.

@dsyme could you comment on usage in betterTyconRefMap (https://github.com/Microsoft/visualfsharp/blob/f3b72d6f3cb44460c81acc8b5eadb63c9dea27a5/src/fsharp/TcGlobals.fs#L679) I think this one is just executed once and won't impact much, is it right?

it doesn't amount to any visible difference to replace the implementation AFAICS.

@smoothdeveloper Yes it's fine to remove this

I've submitted the PR (#2301), there seems to be no gain, but I somehow feel safer than having this helper being used in places it could be a bad choice.
The prependInstrsToCode is the place I suspect had the most wastage (identified with my other PR #2296 with non-optimal Array.append²) because we generate a list and pairs for thousands of IL instructions just to populate a dictionary, better to initialize dict at good size and do a for loop in this case.
I wish .net framework had a constructor with Seq<KVP<K,V>> (or value tuple?) but this doesn't exist somehow.

@smoothdeveloper I'm closing this as I don't think this particular change needs to be tracked by a bug - if we get perf improvements in a PR then we will accept it


Remove injurious references from MonoRelease

I found below issue of BugsnagMono. BugsnagMono cannot execute on MacOSX.
https://github.com/bugsnag/bugsnag-dotnet/issues/65 BugsnagMono always raise exception on MacOSX because it tries to load WPF assemblies.
I changed reference settings of each projects for MonoRelease configuration.
As a result, I succeed in booting my Xamarin.Mac application on MacOSX with  BugsnagMono.dll.
I would appreciate it if you could check above issue, and this changes.

@budougumi0617 Thanks for the contribution. I can test this soon.

@budougumi0617 Thanks for your contribution, I have pushed v2 of our notifier which does not have any references to these assemblies https://github.com/bugsnag/bugsnag-dotnet/tree/v2. Let us know if that will work for you

I appreciate your changes!


Repo sync for protected CLA branch

The pull request is created from master637504805264124411 to master to fix git push error for protected CLA branch

@Taojunshen : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add documentation?

idk how to convert typescript label stuff to .md but a doc would be nice to have considering there are methods in the class that are exposed

What sort of documentation are you looking for specifically? The README.md has examples for every part of the library you would want to use.


C# without Unity?

How would one import the C# version of Anarchy into a Mono (non-Unity) C# project?
Like with Godot or MonoGame or making your own engine?

(Sorry for missing the notification on this...)
This isn't trivial, since I wrote the code assuming a Unity environment, and I should really re-write it as a proper plugin so that the .cs file isn't Unity-specific, but in any case, the code is in unity/anarchy/Assets/Anarchy.cs, and a bit of modifications to the top of that file should render it non-Unity-specific...


How to use DTMF

I need to use DTMF, hoiw can i do?

Hi @jeffersonest,
Using Nexmo you can send and/or receive DTMF.
To receive DTMF: When creating a voice call, you can provide a event_url parameter. Any time a user presses a key, Nexmo will send you a webhook request to the URL you specified.
To send DTMF: You can send a PUT request to https://api.nexmo.com/v1/calls/{uuid}/dtmf
(more details at https://developer.nexmo.com/api/voice#send-dual-tone-multi-frequency-dtmf-tones-to-an-active-call)

I'm using postman to test :
i'm getting the id value with "$call->getId();"
and putting in:
Method PUT => https://api.nexmo.com/v1/calls/e187ff36-87e9-43ad-ad19-e29284071d7d/dtmf
with this params:
digits[0] = 1
digits[1] = 2
and i'm getting this error:
{
"type": "UNSUPPORTED_MEDIA_TYPE",
"error_title": "Unsupported Media Type"
}

Hi, i have a success with talk, but dtmf is very hard, you have examples?
i'm trying, but i'm getting errors,
$client = new \Nexmo\Client(new \Nexmo\Client\Credentials\Container($basic, $keypair));
    $payload = [
        'to' => [[
            'type' => 'phone',
            'number' => $number
        ]],
        'from' => [
            'type' => 'phone',
            'number' =><PHONE_NUMBER>1
        ],
        'answer_url' => ['https://nexmo-community.github.io/ncco-examples/first_call_talk.json'],

    ];

    $call = $client->calls()->create($payload);

    dd($client->calls()->put($payload, $call->getId())->dtmf()->setDigits('123456789'));

Hi @jeffersonest,
Could you explain your use case to us so that we can understand what you're trying to achieve? Once we understand that we may be able to help with your implementation

Closing this as there's been no activity for 10 days


FSDP and activation checkpointing leading to an error from PL 1.8.0

Bug description
Training a model with strategy fsdp using activation checkpointing worked fine up until 1.7.7. It stopped working from 1.8.0.
This occurs using (fairscale.nn.checkpoint_wrapper or torch.distributed.algorithms._checkpoint.checkpoint_wrapper.checkpoint_wrapper ) and fsdp .
Using activation checkpointing with DDPStrategy(find_unused_parameters=False) works fine. Similarly, using FSDP without activation checkpointing is ok.
How to reproduce the bug
import os
from torch import optim, nn, utils, Tensor
from torchvision.datasets import MNIST
from torchvision.transforms import ToTensor
import pytorch_lightning as pl
from torch.distributed.algorithms._checkpoint.checkpoint_wrapper import checkpoint_wrapper
#from fairscale.nn import checkpoint_wrapper
from pytorch_lightning.strategies import DDPStrategy

# define any number of nn.Modules (or use your current ones)
encoder = nn.Sequential(nn.Linear(28 * 28, 64), nn.ReLU(), checkpoint_wrapper(nn.Linear(64, 64)), nn.ReLU(), nn.Linear(64, 3))
decoder = nn.Sequential(nn.Linear(3, 64), nn.ReLU(), checkpoint_wrapper(nn.Linear(64, 64)), nn.ReLU(), nn.Linear(64, 28*28))

# define the LightningModule
class LitAutoEncoder(pl.LightningModule):
    def __init__(self, encoder, decoder):
        super().__init__()
        self.encoder = encoder
        self.decoder = decoder

    def training_step(self, batch, batch_idx):
        # training_step defines the train loop.
        # it is independent of forward
        x, y = batch
        x = x.view(x.size(0), -1)
        z = self.encoder(x)
        x_hat = self.decoder(z)
        loss = nn.functional.mse_loss(x_hat, x)
        # Logging to TensorBoard (if installed) by default
        self.log("train_loss", loss)
        return loss

    def configure_optimizers(self):
        optimizer = optim.Adam(self.trainer.model.parameters(), lr=1e-3)
        return optimizer

# init the autoencoder
autoencoder = LitAutoEncoder(encoder, decoder)

dataset = MNIST(os.getcwd(), download=True, transform=ToTensor())
train_loader = utils.data.DataLoader(dataset)

trainer = pl.Trainer(limit_train_batches=100, max_epochs=1, accelerator='gpu', strategy='fsdp')#DDPStrategy(find_unused_parameters=False))
trainer.fit(model=autoencoder, train_dataloaders=train_loader)

Error messages and logs
Traceback (most recent call last):
  File "dummy.py", line 45, in <module>
    trainer.fit(model=autoencoder, train_dataloaders=train_loader)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 579, in fit
    call._call_and_handle_interrupt(
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/trainer/call.py", line 36, in _call_and_handle_interrupt
    return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/strategies/launchers/subprocess_script.py", line 90, in launch
    return function(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 621, in _fit_impl
    self._run(model, ckpt_path=self.ckpt_path)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1058, in _run
    results = self._run_stage()
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1137, in _run_stage
    self._run_train()
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1160, in _run_train
    self.fit_loop.run()
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
    self.advance(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/fit_loop.py", line 267, in advance
    self._outputs = self.epoch_loop.run(self._data_fetcher)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
    self.advance(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 214, in advance
    batch_output = self.batch_loop.run(kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
    self.advance(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/batch/training_batch_loop.py", line 88, in advance
    outputs = self.optimizer_loop.run(optimizers, kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
    self.advance(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 200, in advance
    result = self._run_optimization(kwargs, self._optimizers[self.optim_progress.optimizer_position])
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 247, in _run_optimization
    self._optimizer_step(optimizer, opt_idx, kwargs.get("batch_idx", 0), closure)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 357, in _optimizer_step
    self.trainer._call_lightning_module_hook(
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1302, in _call_lightning_module_hook
    output = fn(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/core/module.py", line 1661, in optimizer_step
    optimizer.step(closure=optimizer_closure)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/core/optimizer.py", line 169, in step
    step_output = self._strategy.optimizer_step(self._optimizer, self._optimizer_idx, closure, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/strategies/strategy.py", line 234, in optimizer_step
    return self.precision_plugin.optimizer_step(
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/plugins/precision/precision_plugin.py", line 121, in optimizer_step
    return optimizer.step(closure=closure, **kwargs)
  File "./venv2/lib/python3.8/site-packages/torch/optim/optimizer.py", line 140, in wrapper
    out = func(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/torch/optim/optimizer.py", line 23, in _use_grad
    ret = func(self, *args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/torch/optim/adam.py", line 183, in step
    loss = closure()
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/plugins/precision/precision_plugin.py", line 107, in _wrap_closure
      closure_result = closure()
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 147, in __call__
    self._result = self.closure(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 142, in closure
    self._backward_fn(step_output.closure_loss)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py", line 303, in backward_fn
    self.trainer._call_strategy_hook("backward", loss, optimizer, opt_idx)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1440, in _call_strategy_hook
    output = fn(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/strategies/strategy.py", line 207, in backward
    self.precision_plugin.backward(closure_loss, self.lightning_module, optimizer, optimizer_idx, *args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/plugins/precision/precision_plugin.py", line 69, in backward
    model.backward(tensor, optimizer, optimizer_idx, *args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/pytorch_lightning/core/module.py", line 1406, in backward
    loss.backward(*args, **kwargs)
  File "./venv2/lib/python3.8/site-packages/torch/_tensor.py", line 488, in backward
    torch.autograd.backward(
  File "./venv2/lib/python3.8/site-packages/torch/autograd/__init__.py", line 197, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: setStorage: sizes [64, 3], strides [3, 1], storage offset 54595, and itemsize 4 requiring a storage size of 219148 are out of bounds for storage of size 0

Environment

Current environment
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow): Trainer, LightningModule
#- PyTorch Lightning Version (e.g., 1.5.0): 1.8.0
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 1.10): 1.13.1+cu117
#- Python version (e.g., 3.9): 3.9
#- OS (e.g., Linux): Linux
#- CUDA/cuDNN version: 11.7
#- GPU models and configuration: NVidia GeForce RTX 3080
#- How you installed Lightning(`conda`, `pip`, source): pip
#- Running environment of LightningApp (e.g. local, cloud): local

More info
I built this dummy model to debug a similar error I have on a bigger project. I cannot display the whole code here, but the error I get is The tensor has a non-zero number of elements, but its data is not allocated yet. Caffe2 uses a lazy allocation, so you will need to call mutable_data() or raw_mutable_data() to actually allocate memory., and it occurs on the exact same conditions as the error described above (pytorch-lightning >= 1.8.0, activation checkpointing + FSDP)
cc @awaelchli @carmocca

Ok, so I find how to make it work in 1.8+
Manually configuring the model sharding solves the issue :
from torch.distributed.fsdp.wrap import wrap, always_wrap_policy

class LitAutoEncoder(pl.LightningModule):
    [...]

    def configure_sharded_model(self):
        self.encoder = wrap(self.encoder, auto_wrap_policy=always_wrap_policy)
        self.decoder = wrap(self.decoder, auto_wrap_policy=always_wrap_policy)

I think the FSDP auto wrapping no longer wraps properly the checkpointing wrappers (which is a regression compared to 1.7), and manually calling the FSDP wrapper solves this. It would be nice not having to configure manually the sharding for simple models.

It appears the solution I described above works with fsdp up until 1.8.6. It however does not work with fsdp_native :
RuntimeError: shape '[4160]' is invalid for input of size 2080
From 1.9.0, it stops working for fsdp too :
ValueError: The optimizer does not seem to reference any FSDP parameters. HINT: Make sure to create the optimizer after setting up the model by referencing 'self.trainer.model.parameters()' in the 'configure_optimizers()' hook.

@w2ex With FSDP, activation checkpointing has to be enabled in a different way. In Lightning, that's an argument to the strategy:
# (lightning 2.0+)
from lightning.pytorch.strategies import FSDPStrategy

modules = [TransformerBlock]
trainer = Trainer(strategy=FSDPStrategy(activation_checkpointing=modules))

Here, TransformerBlock is just an example, representing the class of the layer(s) that should checkpoint their activations.


BMI160 driver 3.7.2 interrupt pin issue

We seem to have an issue with changing the levels of the interrupt pins w/ the new 3.7.2 driver. When we place the BMI160 into normal mode w/ the FIFO enabled, we are attempting to read the INT2 pin in order to time synchronize the output from the IMU FIFO. Previously, in 3.6.1, we were able to read this pin and it would be high/low depending on the state of the FIFO. Now, the pin is always reading low.
When we reverted the driver to 3.6.1, we were able to see the INT2 pin go high/low again.
In your testing, were you guys able to read any different values from the interrupt pins while using the FIFO?

Hi @ytham ,
Were you using the FIFO watermark interrupt?

I am not using the FIFO watermark interrupt.

@ytham & @jieliu8sc ,
Which interrupt is mapped to the Int2 pin?

No interrupt is mapped to int2 pin. We are pulling int2 pin high/low, and expect frame header to contain its value at frame generation time.

@BoschSensortec

@ytham ,
We are trying to duplicate the scenario. Can you send your configuration?

@jieliu8sc Can you send Bosch how you've configured the BMI160?

These are initial settings:
`
mSensor.accel_cfg.odr = BMI160_ACCEL_ODR_100HZ;
mSensor.accel_cfg.range = BMI160_ACCEL_RANGE_2G;
mSensor.accel_cfg.bw = BMI160_ACCEL_BW_OSR2_AVG2;
mSensor.accel_cfg.power = BMI160_ACCEL_LOWPOWER_MODE;
// Set gyro parameters
mSensor.gyro_cfg.odr = BMI160_GYRO_ODR_100HZ;
mSensor.gyro_cfg.range = BMI160_GYRO_RANGE_1000_DPS;
mSensor.gyro_cfg.bw = BMI160_GYRO_BW_NORMAL_MODE;
mSensor.gyro_cfg.power = BMI160_GYRO_SUSPEND_MODE;
rslt = bmi160_set_sens_conf(&mSensor);
APP_ERROR_CHECK_BOOL(rslt == BMI160_OK);
struct bmi160_int_settg int2Config = {0};
/* Select the Interrupt channel/pin /
int2Config.int_channel = BMI160_INT_CHANNEL_2;  // Interrupt channel/pin 2
/ Select the interrupt channel/pin settings */
int2Config.int_pin_settg.input_en = BMI160_ENABLE;           // Enabling interrupt pin to act as input
int2Config.int_pin_settg.latch_dur = BMI160_LATCH_DUR_NONE;  // non-latched output
rslt = bmi160_set_int_config(&int2Config, &mSensor);
Before reading FIFO we do
mSensor.accel_cfg.power = BMI160_ACCEL_NORMAL_MODE;
int8_t rslt = bmi160_set_power_mode(&mSensor);
mSensor.gyro_cfg.power = BMI160_GYRO_NORMAL_MODE;
int8_t rslt = bmi160_set_power_mode(&mSensor);
int8_t rslt = bmi160_set_fifo_config(BMI160_FIFO_GYRO | BMI160_FIFO_ACCEL | BMI160_FIFO_HEADER | BMI160_FIFO_TIME | BMI160_FIFO_TAG_INT2, BMI160_ENABLE, &mSensor);
`

Thanks @ytham  & @jieliu8sc ,
This should speed up the testing.

@ytham  & @jieliu8sc ,
Note the release 3.7.3. In addition you have to add int_config.int_type = BMI160_FIFO_TAG_INT_PIN


Release cleanup, changing docs to .rst

Summary of changes:

Change README to rst, this time using pypandoc (which leaves the syntax more readable)
File histories still remain intact using the --follow tag, but things like git blame will be forever broken, since there is no way to preserve this when renaming a file
Expanded HISTORY record
HISTORY added to long_description in setup.py, inspired by pytest Ansible, but not using the exact same approach

This pull request combines methods from several other examples in order to (hopefully) get a PyPI description page looking like we want it. I wanted to avoid importing pypandoc, because it is not installed just with a pip requirement, so I believe we would need an "apt-get" command or something like that. I was fairly certain this would cause problems in tox or some other script for the tower-cli release workflow. As such, we convert to .rst once here and leave it that way. On the other hand, I did borrow the approach for combining files from pytest-ansible and added HISTORY to the manifest, so this will be shown on the PyPI page.
These are minor but important differences from my last PR (just closed). This is mainly giving more consideration to the details for switching the README to rst in this release.
Also added a line in the script to create the Default organization, since that may not be present initially.

Exactly, as you said:

Having it listed in the requirements.txt means pypandoc will be installed whenever someone does pip install ansible-tower-cli.  I don't think that's the desired behavior.

This is the route of reasoning I followed. Putting it in the main requirements.txt file would be a bad idea. Say that we did want to implement some automatic conversion process. Ideally, that conversion would only be triggered when we are pushing a release. So, just like we have tests/requirements.txt, we could add a 3rd list of requirements. That would raise a lot of integration issues and it would probably be better to avoid that. Best just to leave it out altogether.

My impression with your use of pypandoc was that it was a one-time thing used to convert existing markdown documents.

Yes, because the output from pypandoc was a lot easier to read than my previous attempt. It seems reasonable to expect future contributors to maintain the README and HISTORY files from this PR. We are trying to strike a balance between that concern, getting the PyPI formatting right, and not breaking anything else. All of those considerations factored into the decisions made here.

Looks good @AlanCoding, please merge at your convenience


force push dies with "Validating and deploying push..."

I am not sure if this in anyway overlaps with this earlier issue:
https://github.com/heroku/force/issues/192
My issue: after I authenticate to Salesforce, I can "force export" and "force import" but "force push" gets to "Validating and deploying push..." and then it seems to hang forever.

Anyway for me to debug this? I can make guesses (maybe a permission issue?) but it be wonderful to get a useful error message.

So, when you say it hangs, does it come back with any message?  Are you
working against a Sandbox org?
I'm working on some updates to using the tooling api for single object
requests that may help solve this.
On Tue, Nov 1, 2016 at 1:19 PM, Lawrence Krubner<EMAIL_ADDRESS>wrote:

I am not sure if this in anyway overlaps with this earlier issue:
#192 https://github.com/heroku/force/issues/192
My issue: after I authenticate to Salesforce, I can "force export" and
"force import" but "force push" gets to "Validating and deploying push..."
and then it seems to hang forever.

Anyway for me to debug this? I can make guesses (maybe a permission
issue?) but it be wonderful to get a useful error message.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/heroku/force/issues/338, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHGHqVAmtB7rbA2YJb891GVyRLcgJDKks5q557qgaJpZM4Kmh_l
.

--
Thanks,
Dave

"So, when you say it hangs, does it come back with any message?"
I've waited as much as 15 minutes and no, it does not come back with a message. All I see is "Validating and deploying push...". Nothing comes after that. Eventually I hit Control-C to get out of it.
"Are you working against a Sandbox org?"
I signed up for a Developer Edition. A month ago my company asked me to start working on a Salesforce integration. I'm in the early stages of the project, but its gotten complicated enough that I can no longer use the Developer Console to manage all of the files. So I switched over to using Force-CLI. Which is great! And "force export" and "force import" work fine for me. And maybe that's all I need. I just thought "force push" would be faster when I only want to update one file.
Could this be a version mismatch? For some reason "force login" says "Version 36" whereas when I do "force export" all the meta files exported say "version 37".

You could try changing the version the CLI is using.
You could also try one of several IDEs, Eclipse IDE, Illuminated Cloud
(Intellij), Welkin Suite. All are much better supported than my CLI, which
is just a side project for me.
On Tue, Nov 1, 2016 at 2:32 PM, Lawrence Krubner<EMAIL_ADDRESS>wrote:

"So, when you say it hangs, does it come back with any message?"
I've waited as much as 15 minutes and no, it does not come back with a
message. All I see is "Validating and deploying push...". Nothing comes
after that. Eventually I hit Control-C to get out of it.
"Are you working against a Sandbox org?"
I signed up for a Developer Edition. A month ago my company asked me to
start working on a Salesforce integration. I'm in the early stages of the
project, but its gotten complicated enough that I can no longer use the
Developer Console to manage all of the files. So I switched over to using
Force-CLI. Which is great! And "force export" and "force import" work fine
for me. And maybe that's all I need. I just thought "force push" would be
faster when I only want to update one file.
Could this be a version mismatch? For some reason "force login" says
"Version 36" whereas when I do "force export" all the meta files exported
say "version 37".
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/heroku/force/issues/338#issuecomment-257705069, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAHGHlMdZUHBcppla--JmECbFSXLhdqjks5q57AJgaJpZM4Kmh_l
.

--
Thanks,
Dave

@dcarroll -- thank you for your response. My preference would be to avoid IDEs if I can. I'm used to working in Emacs and using command line tools to interact with 3rd party services. But I have learned that using IDEs is a big part of interacting with Salesforce. I assume that is the culture of the Enterprise, which influences the ecosystem.
I will try different versions, to see if that helps.
I notice that in this thread:
https://bobbuzzard.blogspot.com/2016/06/force-cli-part-2-extracting-metadata.html?showComment=1478030587109#c3646710419541416567
"Mark" posted a comment on July 9 where they complain of the same problem. No resolution.
If I get some free time, I'll try to dig into this. I'm fairly new to Golang, but I've been meaning to learn more about it.

@lkrubner, what platform are you on?
It looks like there's a bug (my guess would be in the code that zips up a directory into a static resource), but force push -t ApexClass -n HeddySearchResultController and force push metadata/classes/HeddySearchResultController.cls should definitely work.

I am on a MacBook Pro, whereas Mark in that other thread says he is using Windows.
Seems like the code dies without throwing an error. Or perhaps there is an error that is swallowed silently.


Modal: component and documentation update

Acceptance Criteria:

max-width not working sandbox property not currently working, this should work as expected

set default max width of 30rem for default modal
set default max width of 33rem for callout modal (do we need this to be different or can it just be 30 for both?)
Add the following helper text to the max-width input: "Enter width with unit (px,vw,rem,em,ch)"

Change sandbox input label from "variant" to "Callout variant" to match the property name

include a default "—Select—" option in the dropdown.

Update all examples so that only action buttons display and not the "close" icon in the top right corner
On mobile variant colored band should be displayed horizontally at the top of the modal
Update the sandbox to use the "actions" slot

Completed the component update:

On mobile variant coloured band should be displayed horizontally at the top of the modal

in this PR: https://github.com/GovAlta/ui-components/pull/2296


First implementation of the "IPython Console" plugin (single instance version)

From pierre.raybaut on 2012-05-26T01:58:37Z
Implement a single  (0.12+) plugin to handle IPython clients (frontends) and (at long term) IPython kernels. The latter will still be handled by the external console at short term.
See comments of issue #1044 .
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1050

From pierre.raybaut on 2012-05-26T06:47:46Z
One step at a time. Now I'm finalizing this plugin and will push changes in a few minutes.
I've created issue #1053 to regroup all the future developments on IPython 0.12+ integration.

From<EMAIL_ADDRESS>on 2012-05-26T01:11:02Z
It would be nice to read what specifically are the functions of IPython plugin and what are the shared responsibilities between Spyder and IPython?

From pierre.raybaut on 2012-05-26T07:34:09Z
This issue was closed by revision 40a10b02085a .
Status: Fixed

From pierre.raybaut on 2012-05-26T07:15:24Z
Summary: First implementation of the "IPython Console" plugin (single instance version)

From pierre.raybaut on 2012-05-27T04:43:14Z
Labels: Cat-IPythonConsole Component-IPython

From ccordoba12 on 2012-07-05T20:14:35Z
Blocking: spyderlib:1053

From ccordoba12 on 2015-02-15T16:14:33Z
Labels: -Component-IPython


Window width affects directional shadow resolution.

Godot version:
Affects both 3.0.6 and Official 3.1 Alpha 2
OS/device including version:
Linux Mint 19 - 64bit
Nvidia GeForce GTX 1060 on driver version: 396.54
Issue description:
For some reason the directional shadow resolution decreases as the window width increases, and increases as the width decreases.
Happens in the editor window and also in a running game.
Video
I'm assuming this isn't intended behaviour?
OmniLight and SpotLight do not seem affected.
Steps to reproduce:

Set up a scene with meshes and a Directional Light with shadows enabled.
Decrease and increase the width of the 3D scene window and observe shadows.

Any chance this one can be added to the 3.1 milestone?
The quality difference is quite dramatic.

Bumping as this issue still persists.

I'm not sure if this can be resolved completely (any ideas?). In any case, we could make it so the shadow quality becomes worse when the viewport becomes taller, instead of wider. This would play better with ultrawide displays.

I tested how shadow quality changes when the camera is set to use "Keep Width" (Vert-) aspect instead of "Keep Height" (Hor+). The shadow quality still decreases as the viewport becomes wider (even though the horizontal FOV doesn't increase, causing the image to look "zoomed in"), but it doesn't decrease as the viewport becomes taller.
This may hint at a configuration issue somewhere in the rendering code or shader.

Reopening as this isn't fixed in 3.2.x yet.

Hello! Is there any solution for this problem?

Yes, merge https://github.com/godotengine/godot/pull/43207 against 3.5.2 locally then build custom export templates using it :slightly_smiling_face:


Share list of test repos with standard-engine

There are repeated repo lists at https://github.com/feross/standard/blob/master/test/clone.js and https://github.com/Flet/standard-engine/blob/master/test/clone.js.
Let's move the list to https://github.com/feross/standard-packages and save the duplicate effort.

Agree, thanks for opening the issue for tracking!

Pushed this to both standard and standard-engine repos. :+1:


MagicPie

Added link to the most powerful chart library. The best change made ever

Project URL

https://github.com/AlexandrGraschenkov/MagicPie
Description

I added to 294 line text: "MagicPie - Awesome layer based pie chart. Fantasticly fast and fully customizable. Amazing animations available with MagicPie!!1 :large_orange_diamond: 🎉 ✨✨✨✨✨"
Why it should be included to awesome-ios (optional)
It's awesome
Checklist

[x] Only one project/change is in this pull request
[x] Supports iOS 9 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English
[x] Addition in chronological order (bottom of category)

You can't comment at this time — your comment cannot be blank.

          1 Error

:no_entry_sign:
Found 4 link issues

          1 Warning

:warning:
Please update the Pull Request title to contain the library name

Link issues by awesome_bot

Line
Status
Link

415
301
http://developer.couchbase.com/mobile/ redirects tohttps://developer.couchbase.com/mobile/

2417
503
https://www.amazon.com/Programming-Objective-C-6th-Developers-Library/dp/0321967607

2420
503
https://www.amazon.com/Core-Data-iOS-Data-Driven-Applications/dp/0321670426

2421
503
https://www.amazon.com/Cocoa-Design-Patterns-Erik-Buck/dp/0321535022

  Generated by :no_entry_sign: danger

addition should be at the bottom

Okay =(

Cool lib, @AlexandrGraschenkov! Thanks for contributing 😄