Update Brazilian Portuguese translation's URL

Now Bootstrap Brasil have custom domain. :wink:

How can I contribute to translation?

@AndreiRailean you can help us here @bootstrapbrasil

CC: @XhmikosR @hnrch02

The website doesn't seem to work for me.

Works for me, although third-party "getbootstrap" domains make me uncomfortable from a brand/trademark perspective.

Might be a DNS update issue.
And yeah I agree with you. It indicates even indirectly that this is
official.
On Jul 17, 2016 21:47, "Chris Rebert"<EMAIL_ADDRESS>wrote:

Works for me, although third-party "getbootstrap" domains make me
uncomfortable from a brand/trademark perspective.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/19195#issuecomment-233197093, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAVVtSrQINZW2V51hfu4eXprSHrICfK2ks5qWnjKgaJpZM4HaBT-
.

Works for me, although third-party "getbootstrap" domains make me uncomfortable from a brand/trademark perspective.

I'm inclined to agree, but I think that's more of @mdo's field.

Other than that I don't know what to comment about here. 👍  for translations and this seems to only update the URL anyway.

Guys, we @BootstrapBrasil know the importance of official brand Bootstrap, obey the license to mention the official link in all pages our website. :smiley: The domain that way help users memorize, anyway, the domain is redirecting to the other link http://bootstrapbrasil.github.io/.

Bootstrap 3 is no longer being officially developed or supported.
All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4!
<3,
@mdo and team


Error when trying to build a docker image with self-hosted github runner

When using the config bellow to try and build a docker image I get an error that the Dockerfile can't be found. Be when running the same script in a Github runner from Github it runs. I've mounted the volume to the container of the self-hosted Github runner:
The error message: unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /github/workspace/Dockerfile: no such file or directory
jobs:
  # This workflow contains a single job called "build"
  build-and-publish-head:
    runs-on: ubuntu-16.04 #self-hosted does not work here.

    steps:
      - uses: actions/checkout@v2 # Checking out the repo

      - name: Build and Publish head Docker image
        uses<EMAIL_ADDRESS>        with:
          github-token: ${{ secrets.GITHUB_TOKEN }} # Provide GITHUB_TOKEN to login into the GitHub Packages
          image-name: fantasy-map-tool-react # Provide Docker image name
          image-tag: ${{ github.sha }} # Provide Docker image tag

Any thoughts?

Hello,
The error you're getting indicates that a Dockerfile can't be found. Could you double check the location of the Dockerfile in your repository ?
Also, I'm not sure, but it seems that VaultVulp/gp-docker-action is using a Docker based action, meaning that it will spin-up a container to run the build and push commands. However, as you are already running the runner inside Docker, this might also be an issue.

Hi! I think there is no problem with the dockerfile. It is in the root and works with Githubs own runner.
Domyou Guys use this project to build docker images? Do you have a action that works with this project?

Hello,
Although it runs on shared runners and not self-hosted runners, the following docker-build job should work with this project : https://github.com/tcardonne/restic-controller/blob/master/.github/workflows/main.yml#L27
I can't investigate further your issue at the moment, but I'm almost sure that it's because the gp-docker-action is an action spinning up a new Docker image.

Hi.
I experienced a similar issue with another action.
What's happening is that your repo is checked out inside the github-runner container, and your action is starting a different container where the repo and Dockerfile don't exist.
In my case, my action was looking for a file in -v "/home/runner/_work/my-repo/my-repo":"/github/workspace", so I simply ran the github-runner container with --mount type=bind,source=/home/runner/_work/,destination=/home/runner/_work/ so that the host directory /home/runner/_work/ acts as a common volume where the repo exists for both containers.
Hope it's the right solution and it helps

Is there a way to avoid using the Host OS you think? Possibly with volumes?
I guess we can't control how the runner's logic about mounting containers works though?

Is there a way to avoid using the Host OS you think? Possibly with volumes?
I guess we can't control how the runner's logic about mounting containers works though?


Add get_ref methods for Queries

Objective

fix #11517 by adding a get_ref method for Query and QueryState

Solution

Add get_ref method for QueryState
Add get_ref method for Query

Changelog

The QueryData trait has another associated type - Reffed. Reffed is the type we get when we request "reffed" (not a fan of the name, couldn't think of a better one) access to the data. For example:
"reffed" access of &T is Ref<T>, the same is true for &mut T, because reffed access is explicitly read-only, and as such is analogous to first converting a QueryData to its read-only form (QueryData::ReadOnly) and then to its reffed form.
The QueryData derive macro changed a bit in its implementation to reflect the above changes.
The QueryData implementations of many types have changed to reflect the above changes.
get_ref , as_reffed methods were added to QueryState
get_ref method was added to Query
system_query_get_ref test was added to make sure Query<Ref<T>> and Query<&T> + get_ref produce the same result.

Notes

This may be overkill for such a small API change. get_ref is already implemented for EntityRef and you can query Ref<T> directly. However, it was requested, and it will keep the API consistent.
Please review the comment under the implementation of QueryState::as_reffed. I don't know whether the implementation is 100% safe due to my lack of experience with Bevy's various storage techniques and optimizations.

@alice-i-cecile What do I do about that one failing CI that expects a certain error message? (because the derive macro changed a bit and that messed with the error)

@alice-i-cecile What do I do about that one failing CI that expects a certain error message? (because the derive macro changed a bit and that messed with the error)

The error message should be updated to match in this PR. IIRC there's a "bless" command to do it automatically if you prefer: check the docs of the crate we're using if you want to try it out :)

Naming suggestions:

QueryItemRef (Mut is often used as a suffix, so why not Ref?)
ValueRef
WithRef
RefWrapper
RefAccessor
RefAccess
Reference

Is there a reason it's not possible for the "reffed" form of &'a mut C to be Mut<'a, C>? That would be my intuitive expectation, to just add change-detection without changing the rest of the semantics.

The default form of &'a mut C already is Mut<'a, C> 🤔 I think that "the reffed form is always read-only" is more clear, and works better with the rest of the API.

I settled on ROQueryItemRef and ReadOnlySmartRef, I think these are consistent and straightforward. I implemented many of your suggestions in the documentation, and added a migration guide.
Should I add the missing "get_ref API" such as iter_ref etc. here or in another PR? or not at all?

I'm unsure of the utility of this PR. I feel like if you have a Query<&T> it's easy enough to change that to a Query<Ref<T>>. So the only time this comes in handy is when you have a Query<&mut T>. I feel like it would be easier to change the ReadOnly associated type to a Ref<T> for impl WorldData for &mut T. It would be a breaking change, but I think it makes sense for Mut<T> to go to a Ref<T> when it's read only instead of a &T. This would make query.get return a Ref<T> for Query<&mut T>.

I'm also going to voice my opposition to this, quite frankly, signifcant complexity of the implementation and how much utility it provides. Another option would be to allow Mut<T> to downgrade into a Ref<T> for a similar effect.

I agree, I've felt this is too much for too little.


Jc/lazy ellipsoidal transition

analysis of single transition of backward transition

Codecov Report

Merging #267 (fe7ec8e) into master (de14113) will increase coverage by 0.54%.
The diff coverage is 73.68%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
+ Coverage   78.69%   79.24%   +0.54%
==========================================
  Files          61       62       +1
  Lines        4305     4361      +56
==========================================
+ Hits         3388     3456      +68
+ Misses        917      905      -12

Impacted Files
Coverage Δ

src/system/controlsystem.jl
100.00% <ø> (ø)

src/utils/scalar_functions.jl
90.00% <ø> (+22.25%)
:arrow_up:

src/utils/utils.jl
100.00% <ø> (ø)

src/utils/intersection_set.jl
25.00% <25.00%> (ø)

src/utils/rectangle.jl
81.25% <62.06%> (-15.90%)
:arrow_down:

...c/optim/abstraction/lazy_ellipsoids_abstraction.jl
79.16% <100.00%> (-5.21%)
:arrow_down:

src/symbolic/ellipsoidal_transitions.jl
74.75% <100.00%> (+1.49%)
:arrow_up:

src/system/controller.jl
92.30% <100.00%> (+58.34%)
:arrow_up:

src/utils/box.jl
28.57% <100.00%> (ø)

src/utils/ellipsoid.jl
91.53% <100.00%> (+2.30%)
:arrow_up:

... and 1 more

... and 7 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Main Thread Checker

Hello guys,
After migrating to ios11 and Xcode 9, I have a warning for each toast :
Main Thread Checker: UI API called on a background thread: -[UIView init]
PID: 57662, TID: 5080800, Thread name: (none), Queue name: NSOperationQueue 0x600000425b20 (QOS: UNSPECIFIED), QoS: 0
The warning disappear if I add DispatchQueue.main.async(execute: { () -> Void in when I call the toast but I need to add this code in all toast call.
Do you have an idea to make the init view with thread main  in the Toast Library Code ?
Thank you !

I have the same problem of it.
I add a class function in class Toast.
class func show(text: String?) {
    DispatchQueue.main.async {
        Toast(text: text).show()
    }
}

And I use the method as following.
Toast.show(text: "One apple a day, keep doctor away")

I believe we could just document that Toast(text: text) must be called on main thread, like for any UIKit class. Trying to do an asynchronous initialization to avoid that restriction would be kind of superfluous efforts.


Autodiscover happens prematurely (maybe 2020.3 only?)

Open a project with no .git/machete file. Notification shows up before Git Machete tab is even opened:

This might be confusing for newcomers.
I remember we've already resolved this issue... possibly it only manifests itself on 2020.3? Or a regression happened :c

It manifests itself also on 2020.1.1.

It manifests itself also on 2020.1.1.


TINY CHG: added static for openGL .cc shader generated strings.

avoid link issues with identical names for shaders using multiple .shd files

Thanks! I'll give it a test with my other oryol projects, but I don't expect any problems :)

Ok, one thing I did after the merge was to bump the shader code generator version so that existing shader sources are re-generated even if they haven't changed.
I tested different Oryol and Oryol-Samples build configs (emscripten, Metal, GL), all working fine.
Thanks again for the PR!

good idea ... its a tiny change ... working heavily on other stuff  using oryol ;o) .. will update soon ...


Added comments to platform messages

Let me know if I should add a different reviewer.
Most of this is probably wrong of course.

I realised that my comments for DarwinSensors were basically all wrong, because we converted to SI / our units before we input the values into the message. I have updated them as such

@Bidski could I please grab a review on this one


Add .master to file extensions

Thanks for this extension, it's great. Any chance you can add .master as a file type extension? I use Atom to build ASP.NET master pages, and it would be convenient if it automatically recognized these files.

@kyleschaeffer This package explicitly states it is for Classic ASP (and therefore not useful for ASP.NET).

Agreed, will close this issue for now.


add ADS-B list

[Insert URL to the list here]
https://github.com/rickstaa/awesome-adsb
[Explain what this list is about and why it should be included here]
This pull request contains an ADS-B awesome list that can be used as a reference for ADS-B enthusiasts. Automatic Dependent Surveillance–Broadcast (ADS-B) is a surveillance technology and form of Electronic Conspicuity in which an aircraft determines its position via satellite navigation or other sensors and periodically broadcasts it, enabling it to be tracked.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

[x] Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it. Instead use #2242 for incubation visibility.
[x] Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
[ ] You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration. Just commenting “looks good” or simply marking the pull request as approved does not count! You have to actually point out mistakes or improvement suggestions. Comments pointing out lint violation are allowed, but does not count as a review.
[x] You have read and understood the instructions for creating a list.
[x] This pull request has a title in the format Add Name of List. It should not contain the word Awesome.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ add Swift
❌ Adding Swift
❌ Added Swift

[ ] Your entry here should include a short description about the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

[x] Your entry should be added at the bottom of the appropriate category.
[x] The title of your entry should be title-cased and the URL to your list should end in #readme.

Example: - [Software Architecture](https://github.com/simskij/awesome-software-architecture#readme) - The discipline of designing and building software.

[x] The suggested Awesome list complies with the below requirements.

Requirements for your Awesome list

[x] Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
[x] Run awesome-lint on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please report it.
[x] The default branch should be named main, not master.
[x] Includes a succinct description of the project/theme at the top of the readme. (Example)

✅ Mobile operating system for Apple phones and tablets.
✅ Prototyping interactive UI designs.
❌ Resources and tools for iOS development.
❌ Awesome Framer packages and tools.

[x] It's the result of hard work and the best I could possibly produce.
If you have not put in considerable effort into your list, your pull request will be immediately closed.
[x] The repo name of your list should be in lowercase slug format: awesome-name-of-list.

✅ awesome-swift
✅ awesome-web-typography
❌ awesome-Swift
❌ AwesomeWebTypography

[x] The heading title of your list should be in title case format: # Awesome Name of List.

✅ # Awesome Swift
✅ # Awesome Web Typography
❌ # awesome-swift
❌ # AwesomeSwift

[x] Non-generated Markdown file in a GitHub repo.
[x] The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
[x] Not a duplicate. Please search for existing submissions.
[x] Only has awesome items. Awesome lists are curations of the best, not everything.
[x] Does not contain items that are unmaintained, has archived repo, deprecated, or missing docs. If you really need to include such items, they should be in a separate Markdown file.
[ ] Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

[x] Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
[x] Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

[ ] Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.
Must not feature Contributing or Footnotes sections.

[x] Has an appropriate license.

We strongly recommend the CC0 license, but any Creative Commons license will work.

Tip: You can quickly add it to your repo by going to this URL: https://github.com/<user>/<repo>/community/license/new?branch=main&template=cc0-1.0 (replace <user> and <repo> accordingly).

A code license like MIT, BSD, Apache, GPL, etc, is not acceptable. Neither are WTFPL and Unlicense.
Place a file named license or LICENSE in the repo root with the license text.
Do not add the license name, text, or a Licence section to the readme. GitHub already shows the license name and link to the full text at the top of the repo.
To verify that you've read all the guidelines, please comment on your pull request with just the word unicorn.

[x] Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.
It can optionally be linked from the readme in a dedicated section titled Contributing, positioned at the top or bottom of the main content.
The section should not appear in the Table of Contents.

[ ] All non-important but necessary content (like extra copyright notices, hyperlinks to sources, pointers to expansive content, etc) should be grouped in a Footnotes section at the bottom of the readme. The section should not be present in the Table of Contents.
[x] Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

[ ] Does not use hard-wrapping.
[x] Does not include a CI (e.g. GitHub Actions) badge.You can still use a CI for linting, but the badge has no value in the readme.
[x] Does not include an Inspired by awesome-foo or Inspired by the Awesome project kinda link at the top of the readme. The Awesome badge is enough.

Go to the top and read it again.

Thanks for making an Awesome list! 🙌
It looks like you didn't read the guidelines closely enough. I noticed multiple things that are not followed. Try going through the list point for point to ensure you follow it. I spent a lot of time creating the guidelines so I wouldn't have to comment on common mistakes, and rather spend my time improving Awesome.

@rickstaa a quick glance has shown that you are not following the following rules regarding this pull request:

have to review at least 2 other open pull requests.
PR title does not follow the naming guidelines (add ADS-B list)
minor grammatical errors (e.g. Place a file named license or LICENSE in the repo root with the license text. , repo has licence)

@rickstaa a quick glance has shown that you are not following the following rules regarding this pull request:

have to review at least 2 other open pull requests.
PR title does not follow the naming guidelines (add ADS-B list)
minor grammatical errors (e.g. Place a file named license or LICENSE in the repo root with the license text. , repo has licence)

@alenrajsp Thanks for helping me with this PR 🙏🏻.

have to review at least 2 other open pull requests.

https://github.com/sindresorhus/awesome/pull/2509
https://github.com/sindresorhus/awesome/pull/2449

PR title does not follow the naming guidelines (add ADS-B list)

I think both the PR title and commit contain this information:

minor grammatical errors (e.g. Place a file named license or LICENSE in the repo root with the license text. , repo has licence)

Ah, good catch, I will fix that and check the To-dos one more time.

Sorry for being pedantic but the PR rules state:

[x] - Add "Something"  <- okay
[ ] - add "Something" <- not okay

Capitalisation of the first word.

Sorry for being pedantic but the PR rules state:

[x]  - Add "Something"  <- okay
[ ]  - add "Something" <- not okay

Capitalisation of the first word.

Ah thanks, I missed that one and the description being about the technology, not what the list contains👍🏻.

🦄

@sindresorhus Okay, I think I now fixed everything. I also did three comprehensive reviews. You are welcome to let me know if something needs to be changed.

Tweet: https://twitter.com/awesome__re/status/1671473888285294592

Thanks


Add mypy to CI

We have type annotations and mypy stub files (.pyi) that aren't checked during CI, so they can drift out of sync with the implementation. We should run mypy during CI to catch these issues. This should be done as a build task run as part of the checks tasks.

@idavis Yes, definitely. That makes sense 👍


BSD Builds

Would it possible to have builds for the bsd systems as well ? Tailwind usually works on them, so it should be possible, but maybe there's something I'm missing.
Specifically I'm using OpenBSD.

Nevermind, this should be on tailwind-cli upstream


Smoke counters Finka

Smoke counters Finka (does more damage when her boost is active)
Probably hard counter

This is an existing soft counter on the graph.


Wrong regular expression to check MACAdresses in DefaultChannelId

Using Netty on a Java-VM running on IBM z/OS it occurs, that creating a unique channel-id leads to problems.
It seems to me, that this process bases at least on the MAC-Address of networking hardware.  On IBM z/OS this information is not available with the usual JAVA-methods in NetworkInterface.  Netty logs always a warning to System.err running on z/OS that it felt back to a random MAC.
So I decided to use the VM-Option io.netty.machineId=xxxxxxxx to inject here a valid MAC-Address retrieved from non-java resources on z/OS.
To my regrets it does not work. The problem is not platform-dependent, even with in a SUN-VM running on Windows it is not possible to use this option.
Probably the Regular Expression, used to check the input, is not correct.
I would recommend to change the used RegExp
 private static final Pattern MACHINE_ID_PATTERN = Pattern.compile("^(?:[0-9a-fA-F][:-]?){6,8}$");
to an expression more like
([0-9a-fA-F]{2}[:-]){5,7}[0-9a-fA-F]{2}
Expected behavior
DefaultChannelId allows to customize the used MACAddress via System.property.
Using -Dio.netty.machineId=00-14-5E-5A-AF-77 as Java-VM-option should be accepted as valid MACAddress.
Actual behavior
Netty rejects this MACAddress as malformed:
Dez 14, 2016 2:10:49 PM io.netty.channel.DefaultChannelId <clinit> WARNING: -Dio.netty.machineId: 00-14-5E-5A-AF-77 (malformed) Dez 14, 2016 2:10:49 PM io.netty.handler.logging.LoggingHandler channelRegistered INFO: [id: 0xa9354b7b] REGISTERED Dez 14, 2016 2:10:49 PM io.netty.handler.logging.LoggingHandler bind INFO: [id: 0xa9354b7b] BIND: <IP_ADDRESS>/<IP_ADDRESS>:8007 Dez 14, 2016 2:10:49 PM io.netty.handler.logging.LoggingHandler channelActive INFO: [id: 0xa9354b7b, L:/0:0:0:0:0:0:0:0:8007] ACTIVE
Steps to reproduce
Start any Netty-using application (i.e. your sample io.netty.example.echo.EchoServer) with VM-option -Dio.netty.machineId=xxxxxxxx to overrule the standard MAC-Address ascertaining in MacAddressUtil.bestAvailableMac(), where xxxxxxx is any MAC-Address in standard (IEEE 802) format for printing MAC-48 addresses in human-friendly form.
Minimal yet complete reproducer code (or URL to code)
see above. Reproducible via VM-option
Netty version
4.1.5
JVM version (e.g. java -version)
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
OS version (e.g. uname -a)
Windows 7 Professional Service Pack 1

@jo-kin - Thanks for reporting. Stand by for a PR.

Thanx a lot.
Deeply impressed by speed and thoroughness. Will report how it works for me soon.
Wishing you a very Happy Christmas and New Year 2017.


How to dewrap realtime fisheye video to panoramic/square video in Unity?

Required Info

Camera Model
{ T265 }

Firmware Version
(<IP_ADDRESS>9)

Operating System & Version
{Linux (Ubuntu 14/16/17)

SDK Version
{ 2.0 }

Language
{C#/unity }

Segment
{VR/AR/others }

Issue Description
I am using T265 and manged to stream images in realtime in Unity with RsDevice and RsStreamTextureRenderer scripts. I am wondering if it is possible to unwrap the fisheye images to square images in real time.

One way would be to port undistortion code from python here to OpenCvSharp\Emgu CV.
Probably a better approach for Unity would be to use shaders to do the same on the GPU.
You'll want to create a 'uvmap', a texture that contains coordinates that map each pixel of the undistorted image to a pixel on the original distorted image.
This is what initUndistortRectifyMap from link above does, You could use rsutil.h  as a reference:
https://github.com/IntelRealSense/librealsense/blob/81d469db173dd682d3bada9bd7c7570db0f7cf76/include/librealsense2/rsutil.h#L83

Went ahead and created this gist
It's a drop-in replacement for RsStreamTextureRenderer.cs and BW.shader that undistorts the images.

@johnny-wang16
There hasn't been any responses since ogoshen added some updates on this thread.  Is there anything else needed here?

@ogoshen  thanks for doing this. I ended up with a different approach which is using opencv to undistort the image before passing the datastream into Unity. I'd try your approach if I have time.
@RealSenseCustomerSupport  I think that's it. thank you @ogoshen  again for creating the replacement.


provision is slow because of dotnet secrets

I observed that dotnet user secrets slowed down the command by 1.5s per invocation. We invoke this per setting, and this adds up to over 10 seconds with less than 10 variables which is unacceptable.

For the record... we set .net user secrets so that the user can access the outputs of a provision in their application... if there are performance issues then we should talk to the.net team to see if they have a bulk API or can improve the perf of the existing API's

Seems to be an observation. Needs investigation on the alternatives, if any. Moving this to backlog. Not a must-fix for GA.
@savannahostrowski @ellismg


feat(python): default to new ruff instead of ruff_lsp

Description
Change default python ruff lsp from ruff_lsp to ruff. It is now marked as stable. I have been using it for a few days without any problems. I use python for relatively small to medium projects. Maybe someone who is using python more rigorously has better feedback.
References:
https://github.com/astral-sh/ruff/releases/tag/0.5.3
https://docs.astral.sh/ruff/editors/setup/#neovim
Also the issue in https://github.com/LazyVim/LazyVim/pull/3057 has been resolved. I tested it and I only get 1 ruff server process per nvim instance. The processes close correctly when nvim is closed.
Checklist

[x] I've read the CONTRIBUTING guidelines.

If this works out without issues, we can also get rid of the old one. Unless you are worried about breaking user's config.

I've read the Neovim setup and it states the following

By default, Ruff will not show any logs. To enable logging in Neovim, you'll need to set the RUFF_TRACE environment variable to either messages or verbose, and use the logLevel setting to change the log level:
require('lspconfig').ruff.setup {
 cmd_env = { RUFF_TRACE = "messages" }
 init_options = {
   settings = {
     logLevel = "debug",
   }
 }
}

Might I suggest you also incorporate these changes into this PR for `ruff` server, since if it's going to be used as default, it might make it easier for users if they run into any problems? I'm not sure about the differences between `messages` and `verbose` in `RUFF_TRACE`, so maybe you have a better understanding as to what is more appropriate.

I noticed it in the docs, but I was afraid it be spammy and didn't know if it create logs. Let me give it a go.

I also don't know if they mean a more verbose logging information in LspLog. From my understanding of how I read it, it seems that it doesn't show any messages in LspLog at all, but of course I might be mistaken (since I haven't used it) and it shows basic info like other LSP servers and this is meant only for more verbose logging (in which case this might not be necessary).

By default, this will write logs to stderr which will be available in Neovim's LSP client log file (:lua vim.print(vim.lsp.get_log_path())). It's also possible to divert these logs to a separate file with the logFile setting.

Yes, but it's referring to the previous code snippet, in which you enable logging.

I tried them all. Imho, even warn is spammy for the average user. I'm debating between warn and error.
Error is the most user friendly, warn is the most dev-friendly.
I'm setting it to error, if Folke has a different opinion I can change it.

@dpetka2001 from main branch, do you know why we have duplicate keys instead of a single one?
https://github.com/LazyVim/LazyVim/blob/43dbe0e60d0083f38ab5113a82d9c74229895af2/lua/lazyvim/plugins/extras/lang/python.lua#L45-L56

You applied to [ruff], which means that it will also be set for ruff-lsp. The [ruff] is a key with the variable local ruff that is set to either ruff_lsp or ruff. It would be better if you applied it to only ruff I believe.

Ohh, didn't realise, thanks!

This won't work as expected since [ruff] will simply override ruff now.
Will refactor this PR a bit.

That should fix it

Merged. ty!

Thanks, sorry for the trouble!

Just out of curiosity and for me to understand better? Wouldn't the [ruff] and ruff specs get merged? And if the specs are evaluated in the order they are parsed, could it maybe have worked if we changed the order, so that [ruff] was first spec and ruff was evaluated after?

You would basically do the same as:
{
  test = 1,
  test = 2,
}

test would randomly be 1 or 2. Merging has no impact here, since the value will already be set on the table.

So it was random that the keys traversed to the ruff server table? Because i tried it 4 times i believe and every time the result was the same.

Again, there is no merging happening.
Take the example below:
{
  test = { foo = "bar" },
  test = { bar = "baz" },
}

test will be one of the two. Not merged.
Lua does not guarantee an order of which value would prevail either, so it's just something you should never do.
If you add the code above in a lua file, then luals will even show a diagnostic about that.

Previously it didn't matter, since all values were just enabed = ....
That's also why I initially added it like that.
But now that we set additional properties, this would lead to issues.

Ok I see what you mean. The enabled property also didn't make it to the ruff server table. It was just the keys from [ruff]. But no matter how many times I tried (I tried about 7-8 now) it was always the second key that overwrote the key before. Maybe it was still random and was pure coincidence? But you're right that the additional properties in [ruff] (the keys property) didn't make it into the ruff server table if I reversed the order.

I believe my "format on save" stopped working with this change, I was relying on ruff for formatting rather than black. I didn't configure anything extra in lazy, just added some [ruff] rules to pyproject.toml.  Anyone know how to get it working again with the new lsp?

@doulighan It works for me, are you sure it's not your config?
What do you see in :ConformInfo?


Support ALB + Lambda integration

Issue #, if available:
comment of #152
Description of changes:
With this branch's change, it's possible to handle the requests from ALB.

@brettstack Is there any plan to release support for ALB + lambda soon? I am looking to deploy an isomorphic react JS application on lambda and would rather execute from ALB and not from API gateway, which provides better features and support for routing, redirection, etc.
This feature would be an incredible improvement to the project.

@massa-man I made it exactly same thing what u want to do and works nicely. I hope the integration will be made soon.

@brettstack can you please review/merge this?

I'm currently adding support for this in v4. Anyone who needs this immediately can use this branch. @TylorShin thanks for the PR; I'll tag you in the commit (you can see current wip on v4 branch)


Notifications being received, but HomeKit not firing events.

Hi guys,
Glad to see we've shifted to the notification API (YAY for that!). It's reliable in my experience...but here's what's happening:
[6/15/2017, 8:10:26 AM] [Doorbell Platform] DoorBird resetting doorbell
[6/15/2017, 8:10:48 AM] [Doorbell Platform] HTTP Server: doorbell.html was called, sending event to homebridge.
[6/15/2017, 8:10:53 AM] [Doorbell Platform] DoorBird resetting doorbell
[6/15/2017, 8:11:05 AM] [Doorbell Platform] HTTP Server: doorbell.html was called, sending event to homebridge.
So...the events are being received by the HTTP server, but what isn't happening is I'm not getting a notification of the event on an iDevice. When I monitor it within the Home app...weirdly it shows that motion events were triggered with the doorbell (not the motion device...which I have disabled) -- not sure if that's a HomeKit quirk, or if something else is up there.
TLDR: Doorbird is firing events correctly and sending to the HTTP server. HTTP server doesn't seem to be properly triggering events back to HomeKit.
Thoughts?

You sure the motion sensor has "Allow Notifications" enabled post the upgrade?  If you're seeing the events flow through to iOS you're pretty much there...

I have to say its been flawless lately, given you can set the relaxation too on the API its even better :)

Hi,
one thing I noticed during testing: When sending multiple events in a short periode of time homekit stopped sending the push notifications for some minutes. After waiting a couple of minutes everything workes fine again. Can you confirm this behavior?
Imho some type of flooding protection....

Possibly something on HomeKit as previously you could flood it to death
Sent from my iPhone

On 16 Jun 2017, at 12:54, mrhund<EMAIL_ADDRESS>wrote:
Hi,
one thing I noticed during testing: When sending multiple events in a short periode of time homekit stopped sending the push notifications for some minutes. After waiting a couple of minutes everything workes fine again. Can you confirm this behavior?
Imho some type of flooding protection....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I noticed the same looking into it
Sent from my iPhone

On 16 Jun 2017, at 12:54, mrhund<EMAIL_ADDRESS>wrote:
Hi,
one thing I noticed during testing: When sending multiple events in a short periode of time homekit stopped sending the push notifications for some minutes. After waiting a couple of minutes everything workes fine again. Can you confirm this behavior?
Imho some type of flooding protection....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Nothing that I can pin just yet seems another plugin was failing (harmony hub) but it's back and working now
Sent from my iPhone

On 16 Jun 2017, at 12:54, mrhund<EMAIL_ADDRESS>wrote:
Hi,
one thing I noticed during testing: When sending multiple events in a short periode of time homekit stopped sending the push notifications for some minutes. After waiting a couple of minutes everything workes fine again. Can you confirm this behavior?
Imho some type of flooding protection....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Still not seeing it. Next I'm going to try removing Doorbird from HomeKit and adding it back in to see if that helps. Very odd.

Closing this one


Improving Search Queries

Description

[ ]  Improve Filtering for Mentor Selection

Allow users to choose multiple options in the filter by expertise and filter by motivation
Frontend Changes - enable multi-selection in the dropdown
Backend Changes - Implement logic to querying mentor information when we have multiple options for the same search query.

Eg motivation : [”Marketing” , “Leadership”]
Currently, the API expects the response as motivation: “Marketing”

[ ]  Render Chips component when filtering options

Example How leetcode uses chips to show options selected for filtering questions.

Domain
Full Stack
Code of Conduct

[X] I follow Contributing Guidelines of this project.

Hi @Rishabh-malhotraa I would like to work on this issue

/assign


"RuntimeError: Set changed size during iteration" in version 0.20

Hello, I would like to report a bug when doing the following:
holidays.financial_holidays('NYSE', years=2020)
It will give  RuntimeError: Set changed size during iteration in version 0.20
I reverted to version 0.19 and it works again, tested on miniconda3 on win server.

HI @lunarflint,
thanks for reporting this!
The good news is that the issue has already been addressed in https://github.com/dr-prodigy/python-holidays/pull/1000
You might be interested in using beta (0.21)
pip install --upgrade https://github.com/dr-prodigy/python-holidays/tarball/beta
I hope to release the 0.21 today.


create_stream: Failure in referencing a stream name.

issue: when stream is created with asterisk character and if it is referenced as message in other streams , it does'nt reference as link to stream
solution: when creating a stream we do prevalidation and validation before submit , as part of prevalidation & validation i added a condition to check if stream has a asterisk  character , if found I am raising an error and preventing user from submitting.
Fixes:#17921
Testing plan:
wrote automation test ( puppeteer automation test when stream name has a asterisk character) and manual testing
GIFs or screenshots: <!-- If a UI change.  See:

@timabbott as suggested in issue #17921 , i am preventing stream creation if stream name contains asterisk character.
we may need to update documentation in below link saying we don't allow asterisk character in stream name.
https://chat.zulip.org/help/create-a-stream

@srinivasan1995 thanks for working on this!  However, this strategy won't work, for a few reasons:

You can't prevent creating an object through frontend changes, since we have an API too.
I think we can make it work to have stream names containing * with some small changes to the typeahead library, so that's a better fix than banning the character.


Fix bug in --today when not in UTC timezone

Currently --today checks if the event is within the day, but day is
defined by UTC. I think this makes more sense to use local time, as UTC
has no significance in this context (IMO, anyhow).

Good catch, thanks


Implement MaxRequestBodySize feature for IIS inprocess

Fixes https://github.com/aspnet/AspNetCore/issues/8293.
I'm okay if this slips to preview6. I'll leave comments in the diff.

Moving this out of preview 5. We are starting to limit preview 5 work to essential stuff only.

I'm going to block myself on merging this until I figure out why a set of IIS tests aren't running on PRs.

Re-enabled some IIS tests, this should now report success/failures correctly now.

This now adds support for reading the IIS content length limit and logs a warning per request/in the constructor for the Server.

@aspnet-hello triage https://dev.azure.com/dnceng/public/_build/results?buildId=180325

This comment was made automatically. If there is a problem contact<EMAIL_ADDRESS>I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2479

We just upgraded to preview-6 and suddenly our web.config setting () seems to not be working anymore. We run on IIS in-process. Here is the config: https://github.com/Dynatrace/superdump/blob/master/src/SuperDumpService/web.config
Anything wrong with the config at first glance? Should we file an issue for this? @jkotalik

seems to not be working anymore

What is the error?

the setting from web.config is not respected anymore, so it uses a much lower default.

If you're seeing the setting be ignored, definitely file a new bug and provide a runnable sample that reproduces the problem. We don't track merged PRs like this so it's likely this will get lost if we stop checking our GitHub notifications ;). Also, include any logs from the app since it looks like we should be logging a warning if there's a conflict between these options.
@jkotalik From a very cursory look at the code, I wonder if the fact that we set a default size limit in the managed code is conflicting here. Perhaps the default (if the setting isn't set) should be to just use whatever the web.config value is (if one is present)?


Make the id editable

This checkin includes:

Removed name field in edit server modal and model
Made the id editable in edit server modal
Added unique id validation to make sure no duplicate id updated/added
Fixed to not allow  duplicate of server added manually
Fixed problem where the last valid input can turn on the add more or save
button while the previous invalid inputs are ingnored.
Cleanup for unused cpu and ram item in the server data

This goes with backend change:
https://github.com/ArdanaCLM/ardana-installer-server/pull/17
Note:
To make this change smaller, will address import duplicates in csv seperately
since it has a different bug item.
Also if import csv directly without editing, it will have empty field like ilo_user,
ilo_password...which can cause problems for config processor. Will addrss this seperately
as well. .

kid of messed up with comments when rebase and push -f ...will have a new pull request since no one has looked at it yet.


[WIP] SourcedObjectStore -> ObjectStore

What is this PR trying to achieve?
Simplify SourcedObjectStore to remove the necessity for stored objects to be stored.
Who is this change for?
Developers who would like to make the object store as simple as possible in order to use it in the recorder service.
Have the following been considered/are they needed?

[ ] Deployed new versions
[ ] Run terraform apply.

Part of https://github.com/wellcometrust/platform/issues/1565


Redirect Vocab URI to SkoHub

Aufgabe: Idealerweise sollten langfristig verfügbare URIs verwendet werden, z.B. durch Nutzung von w3id.org oder purl.org.
As we want the canonical version of ESC to be the one published with SkoHub Vocabs, we need to redirect the namespace URI we defined in the Turtle file to SkoHub. As we used w3id.org for this, we have to make a pull request in the respective repo.
Ergebnis: As a result, we have published a controlled vocabulary in SKOS under a permanent URI and with a human-readable HTML representation from GitHub with a minimum amount of work. Additionally, the initial Turtle representation is transformed to more developer-friendly JSON-LD. The HTML has a hierarchy view that can be expanded and collapsed at will

Abweichend von Doku (hat nicht funktioniert) wurden einzelne Redirects eingerichtet


Script failed to scan birthdays.

Script failed to scan birthdays.
Error message: eyJ0eXBlIjoiU0NBTl9FUlJPUl9USU1FT1VUIn0=

https://www.facebook.com/checkpoint/828281030927956/

The issue is solved in https://github.com/zagushka/birthday-calendar-extractor/pull/94


[tool_crash] FileSystemException: Cannot open file, OS Error: The system cannot find the file specified., errno = 2

Command
flutter doctor

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot open file, OS Error: The system cannot find the file specified.
, errno = 2
#0      _File.throwIfError (dart:io/file_impl.dart:675:7)
#1      _File.openSync (dart:io/file_impl.dart:490:5)
#2      _File.writeAsBytesSync (dart:io/file_impl.dart:644:31)
#3      _File.writeAsStringSync (dart:io/file_impl.dart:668:5)
#4      ForwardingFile.writeAsStringSync (package:file/src/forwarding/forwarding_file.dart:150:16)
#5      ErrorHandlingFile.writeAsStringSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:279:22)
#6      _runSync (package:flutter_tools/src/base/error_handling_io.dart:600:14)
#7      ErrorHandlingFile.writeAsStringSync (package:flutter_tools/src/base/error_handling_io.dart:278:5)
#8      Cache.setStampFor (package:flutter_tools/src/cache.dart:673:35)
#9      VersionCheckStamp.store (package:flutter_tools/src/version.dart:798:30)
#10     FlutterVersion._getLatestAvailableFlutterDate (package:flutter_tools/src/version.dart:326:31)
<asynchronous suspension>
#11     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart:285:47)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:383:11)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#17     main (package:flutter_tools/executable.dart:93:3)

[✓] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.19045.5011], locale fa-IR)
    • Flutter version 3.24.4 on channel stable at C:\Users\Sorena\Documents\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 603104015d (12 days ago), 2024-10-24 08:01:25 -0700
    • Engine revision db49896cf2
    • Dart version 3.5.4
    • DevTools version 2.37.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Sorena\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[✓] VS Code (version 1.95.1)
    • VS Code at C:\Users\Sorena\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.100.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.5011]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 130.0.6723.92
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 130.0.2849.68

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata
No pubspec in working directory.

Duplicate of https://github.com/flutter/flutter/issues/137167


Add vpaint cask

VPaint is an innovative vector-based graphics animation software. I'm really excited to see how this kind of technology will affect the animation industry in the coming years :smile:

Thank you for the contribution. It was merged directly as cd0e48e22869b4d7b10190b3fa7c2f44486eadc1 to keep commit history cleaner. Your contribution is still credited to you.


To Submit a Security Disclosure

System Info / 系統信息
This issue is not related with an operating environment.
Who can help? / 谁可以帮助到您？
No response
Information / 问题信息

[ ] The official example scripts / 官方的示例脚本
[ ] My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程
Dear ChatGLM Team,
We are researchers from the University of California, San Diego (UCSD), and we would like to make a security disclosure regarding your product, ChatGLM. We have previously attempted to reach out through email and contact forms but have not received a response. As we are unsure whether our messages have been successfully delivered, we are reaching out here as a last resort in the hopes that you can direct us to the appropriate contact for this matter.
Thank you for your attention to this issue. We look forward to your guidance.
Sincerely,
Zihan Wang
Expected behavior / 期待表现
We'd appreciate it if you can point us to the right contact for making a security disclosure.

I apologize, we indeed did not receive the message. We have seen this issue. Could you please let us know which email address you contacted? Would it be possible to send a specific piece of information to<EMAIL_ADDRESS>we would be very grateful.

Thanks for the prompt reply! We contacted<EMAIL_ADDRESS>(Sep 18, in Pacific Time<EMAIL_ADDRESS>(Sep 18), and<EMAIL_ADDRESS>(Sep 22). We have just sent our disclosure package to the open source email account you sent above from<EMAIL_ADDRESS>

We have received this email and are processing it.
Once there is new progress, we will reply as soon as possible.

Hello! I just wanted to follow-up to check if any progress has been made.


[Bug]: Pipeline Tasks failing for external users

What happened?
Since in our pipeline we are currently using internal Azure Artifact feed, External users are not able to source packages required to build the project.
Version
0.5.35
What database are you using?
Azure SQL
What hosting model are you using?
No response
Which API approach are you accessing DAB through?
No response
Relevant log output
Feeds used:
https://msdata.pkgs.visualstudio.com/CosmosDB/_packaging/data-api-builder_PublicPackages/nuget/v3/index.json
##[error]The nuget command failed with exit code(1) and error(NU1301: Unable to load the service index for source https://msdata.pkgs.visualstudio.com/CosmosDB/_packaging/data-api-builder_PublicPackages/nuget/v3/index.json.
NU1301: Unable to load the service index for source https://msdata.pkgs.visualstudio.com/CosmosDB/_packaging/data-api-builder_PublicPackages/nuget/v3/index.json.

Build Pipeline logs: Pipelines - Run 20230331.3 logs (visualstudio.com)

Code of Conduct

[X] I agree to follow this project's Code of Conduct

duplicate of #1395

Duplicate of #1395


Disable IP-in-IP by default of calico config

Need to set CALICO_IPV4POOL_IPIP to "Never" in calico.yaml.
Default value of calico.yaml is "Always".

Update in v0.9.7 release.


Kraken buy order precision

Note: for support questions, please join our Discord server

I'm submitting a ...
[ X] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Action taken (what you did)
Ask gekko to trade on kraken

Expected result (what you hoped would happen)
that gekko can buy!

Actual result (unexpected outcome)
Error of kraken api call due to precision problem

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

This behaviour was explained by kraken a few days ago
https://blog.kraken.com/post/1261/announcement-reducing-price-precision-on-all-trading-pairs/
2017-09-05 00:00:47 (DEBUG):	kraken returned an error, retrying..
2017-09-05 00:00:52 (DEBUG):	BUY 0.359568 ETH @<PHONE_NUMBER>9 EUR
2017-09-05 00:00:53 (ERROR):	unable to buy Error: Order:Invalid price:XETHZEUR price can only be specified up to 3 decimals.
at /home/XXX/bin/gekko/node_modules/kraken-api-es5/index.js:59:13
at next (native)
at step (/home/XXX/bin/gekko/node_modules/kraken-api-es5/index.js:1:253)
at /home/XXX/bin/gekko/node_modules/kraken-api-es5/index.js:1:423
at process._tickCallback (internal/process/next_tick.js:109:7)

Ah yes, Kraken has changed a few days back. Will update!

I'm working on

@lbnt can you try out the latest develop branch of Gekko? You can download it here:
https://github.com/askmike/gekko/tree/develop
It includes a fix for this issue by @julesGoullee!

I'm currently trying multiple pairs too


Need to provide link to IKE settings

Currently we only show a screenshot of custom traffic selectors, but we don't give any context as to what should be inputted into these fields. Instead of defining them on this page, we can easily link to an existing page where those settings exist:
https://learn.microsoft.com/en-us/azure/vpn-gateway/ipsec-ike-policy-howto

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

ID: 3c208741-c04a-d55b-6e22-06b5293f0cec
Version Independent ID: 0b485bc7-1c0b-548e-eae1-20b907c857b6
Content: Tutorial - Connect an on-premises network and a virtual network: S2S VPN: Azure portal - Azure VPN Gateway
Content Source: articles/vpn-gateway/tutorial-site-to-site-portal.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

We are actually getting volume on this issue, please reach out to me if there are any further questions. Thanks!

@brmarti116
Thanks for your feedback! We will investigate and update as appropriate.

@brmarti116 , added a link to custom IPsec/IKE settings for more information under this section as requested. The doc will reflect these changes soon.


This documentation page needs A LOT of work

Many parameters missing documentation, unclear how to use various commands.
This task is a mess. It should be split up into a bunch of smaller tasks (one for pack, one for push, etc.) - as is, it's very difficult to figure out which parameters are required and which are optional for any given command.
Documentation is inconsistent between this page and others, for example here: https://docs.microsoft.com/en-us/azure/devops/pipelines/artifacts/nuget?view=azure-devops&tabs=yaml
I have to try 5-10 times before I brute-force the correct way to use this command.

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

ID: 0fa37a3f-6551-16ad-e164-a4ac522cdaab
Version Independent ID: a3fd6935-2b99-92ef-4eb3-3249fca01f8a
Content: NuGet restore, pack, and publish task - Azure Pipelines
Content Source: docs/pipelines/tasks/package/nuget.md
Product: devops
Technology: devops-cicd
GitHub Login: @chasewilson
Microsoft Alias: phwilson

Is there any progress on this? Is allowPackageConflicts still only available for Windows agents as stated here?

Ways to improve the current NuGet docs:
I think we need more examples with the various options we have. There are currently some examples of restore, pack and push commands but we should add one for custom as well. E.g.
"Custom command can be used to run any other nuget command, such as
- task: NuGetCommand@2
  displayName: 'NuGet locals all -clear'
  inputs:
    command: custom
    arguments: 'locals all -clear -verbosity Detailed'

Change the following:

We should add to the above that the string here must be either 'select' or 'config' as seen in the examples in the docs.

Add: Default: true and equired when feedsToUse == Select
Add example of using externalFeedCredentials:
- task: NuGetCommand@2
  displayName: 'NuGet restore NuGet.config external feed'
  inputs:
    restoreSolution: 'Example.sln'
    feedsToUse: config
    nugetConfigPath: ./nuget.config
    externalFeedCredentials: 'Canary@CodeSharing-SU0 (Artifacts)'
    noCache: true
  continueOnError: true

And add to the explanation that it needs to be the name of the service connection here:

https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml
Updates to the publish to nuget feed docs:

Also, we should probably highlight more clearly that the NuGet Authenticate task is the recommended way now

@ahelwer Thank you for your feedback. The updated article will go live shortly.


update to swift 3.0

hi!
i've updated the code to swift 3.0 (including the code-generating main.swift).
my mac is not that old, but xcode had a really hard time processing the large generated swift files.
best,
chris

I took your branch and added some extra commits to it for Linux support and made a new PR here: https://github.com/SwiftGL/OpenGL/pull/4
Going to close this one out to merge #4 with all the changes in one go. Thanks helping out!


[Request for External] table 7347 "Internal Movement Line" - CheckBinContentQty

We would like to request for setting procedure CheckBinContentQty() to global to allow reuse in extensions.

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


Node vs. Leaf elements

Problem
Example case: circle is a leaf:
circle :: forall p i. Leaf I.SVGcircle p i
circle props = element (ElemName "circle") props []

However, in the general case, I think in general it ought to be a node, for example when we need to store animation attributes in it.
I have been using the following alternative for that:
circleNode :: forall p i. Node I.SVGcircle p i
circleNode = element (ElemName "circle")

There are more elements like this.
Question
Should we turn such elements into Node, perhaps providing compatibility wrappers like the following?
circle props = circleNode props []

I think the correct way is to make it a Node but default
added https://github.com/kwohlfahrt/purescript-halogen-svg/pull/18/commits/3f50d5602a88800716d9ae8cf60b02e31ca3d62b


Breakpoints not working and app output not shown

VSCode Version: Version: 1.54.2 Commit: fd6f3bce6709b121a895d042d343d71f317d74e7
Local OS Version: Darwin x64 19.4.0
Remote OS Version: Ubuntu 18.04.2 LTS
Remote Extension/Connection Type: SSH

Steps to Reproduce:

Installed Remote SSH plugin
Got connected to server, opened folder with the project, setup debug config:

  "version": "0.2.0",
  "configurations": [

    {
      "type": "pwa-node",
      "request": "launch",
      "name": "Launch Program",
      "skipFiles": [
        "<node_internals>/**"
      ],
      "program": "/root/swap-test/app/test.js"
    }
  ]
}

Press launch and then i see, that process seems to be started but i don't see any output. If i just launch this file from terminal i see output. But, if if make source file broken, then i see error report on that. Source file are as simple as that:

'use strict';
 console.log('Test launch is successeful!!!');
 //dddd
 process.exit();

I've recorded little video to illustrate problem:
https://user-images.githubusercontent.com/7261328/111082988-8e17f000-850b-11eb-83e7-0772d314ad04.mov
Does this issue occur when you try this locally?: Yes/No
Does this issue occur when you try this locally and all extensions are disabled?: Yes/No

/jsDebugLogs

Here is the logs from trace option you asked @connor4312 :

{"timestamp":1615809349259,"tag":"runtime.welcome","level":1,"message":"js-debug v1.54.5 started","metadata":{"os":"linux x64","nodeVersion":"v12.18.3","adapterVersion":"1.54.5"}}
{"tag":"dap.receive","timestamp":1615809349203,"metadata":{"connectionId":0,"message":{"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"pwa-node","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-gb","supportsProgressReporting":true,"supportsInvalidatedEvent":true},"type":"request","seq":1}},"level":0}
{"tag":"dap.send","timestamp":1615809349204,"metadata":{"connectionId":0,"message":{"seq":1,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConfigurationDoneRequest":true,"supportsFunctionBreakpoints":false,"supportsConditionalBreakpoints":true,"supportsHitConditionalBreakpoints":true,"supportsEvaluateForHovers":true,"exceptionBreakpointFilters":[{"filter":"all","label":"Caught Exceptions","default":false,"supportsCondition":true,"description":"Breaks on all throw errors, even if they're caught later.","conditionDescription":"error.name == \"MyError\""},{"filter":"uncaught","label":"Uncaught Exceptions","default":false,"supportsCondition":true,"description":"Breaks only on errors or promise rejections that are not handled.","conditionDescription":"error.name == \"MyError\""}],"supportsStepBack":false,"supportsSetVariable":true,"supportsRestartFrame":true,"supportsGotoTargetsRequest":false,"supportsStepInTargetsRequest":false,"supportsCompletionsRequest":true,"supportsModulesRequest":false,"additionalModuleColumns":[],"supportedChecksumAlgorithms":[],"supportsRestartRequest":true,"supportsExceptionOptions":false,"supportsValueFormattingOptions":true,"supportsExceptionInfoRequest":true,"supportTerminateDebuggee":false,"supportsDelayedStackTraceLoading":true,"supportsLoadedSourcesRequest":true,"supportsLogPoints":true,"supportsTerminateThreadsRequest":false,"supportsSetExpression":false,"supportsTerminateRequest":false,"completionTriggerCharacters":[".","[","\"","'"],"supportsBreakpointLocationsRequest":true,"supportsClipboardContext":true,"supportsExceptionFilterOptions":true}}},"level":0}
{"tag":"dap.send","timestamp":1615809349204,"metadata":{"connectionId":0,"message":{"seq":2,"type":"event","event":"initialized","body":{}}},"level":0}
{"tag":"dap.receive","timestamp":1615809349250,"metadata":{"connectionId":0,"message":{"command":"launch","arguments":{"type":"pwa-node","name":"Launch Program","request":"launch","trace":{"console":false,"level":"verbose","stdio":true,"logFile":"/root/.vscode-server/data/logs/20210315T125531/exthost1/ms-vscode.js-debug/vscode-debugadapter-7c5c6a68.json.gz","tags":[]},"outputCapture":"console","timeout":10000,"timeouts":{},"showAsyncStacks":true,"skipFiles":["<node_internals>/**"],"smartStep":true,"sourceMaps":true,"pauseForSourceMap":false,"rootPath":"/root/swap-test","outFiles":["/root/swap-test/**/*.js","!**/node_modules/**"],"sourceMapPathOverrides":{"webpack:///./~/*":"/root/swap-test/node_modules/*","webpack:////*":"/*","webpack://?:*/*":"/root/swap-test/*","webpack:///([a-z]):/(.+)":"$1:/$2","meteor://💻app/*":"/root/swap-test/*"},"enableContentValidation":true,"cascadeTerminateToConfigurations":[],"__workspaceFolder":"/root/swap-test","__autoExpandGetters":false,"__breakOnConditionalError":false,"cwd":"/root/swap-test","env":{},"envFile":null,"localRoot":null,"remoteRoot":null,"autoAttachChildProcesses":true,"runtimeSourcemapPausePatterns":[],"program":"/root/swap-test/app/test.js","stopOnEntry":false,"console":"internalConsole","restart":false,"args":[],"runtimeExecutable":"node","runtimeVersion":"default","runtimeArgs":[],"profileStartup":false,"attachSimplePort":null,"killBehavior":"forceful","__configurationTarget":5,"__workspaceCachePath":"/root/.vscode-server/data/User/workspaceStorage/d319d7fd14122a4fe164201bda10ad8a/ms-vscode.js-debug","__sessionId":"e4ac2f3e-6a0e-45ba-bda2-28b90993e3e4"},"type":"request","seq":2}},"level":0}
{"tag":"dap.send","timestamp":1615809349252,"metadata":{"connectionId":0,"message":{"seq":3,"type":"event","event":"output","body":{"category":"telemetry","output":"js-debug/launch","data":{"type":"pwa-node","request":"launch","os":"linux x64","nodeVersion":"v12.18.3","adapterVersion":"1.54.5","parameters":"{\"type\":\"pwa-node\",\"name\":\"<string>\",\"request\":\"launch\",\"trace\":{\"console\":false,\"level\":\"<string>\",\"stdio\":true,\"logFile\":\"<string>\",\"tags\":[]},\"outputCapture\":\"console\",\"timeout\":10000,\"timeouts\":{},\"showAsyncStacks\":true,\"skipFiles\":[\"<string>\"],\"smartStep\":true,\"sourceMaps\":true,\"pauseForSourceMap\":false,\"resolveSourceMapLocations\":[\"<string>\",\"<string>\"],\"rootPath\":\"<string>\",\"outFiles\":[\"<string>\",\"<string>\"],\"sourceMapPathOverrides\":{\"webpack:///./~/*\":\"<string>\",\"webpack:////*\":\"<string>\",\"webpack://?:*/*\":\"<string>\",\"webpack:///([a-z]):/(.+)\":\"<string>\",\"meteor://💻app/*\":\"<string>\"},\"enableContentValidation\":true,\"cascadeTerminateToConfigurations\":[],\"__workspaceFolder\":\"<string>\",\"__autoExpandGetters\":false,\"__breakOnConditionalError\":false,\"cwd\":\"<string>\",\"env\":{},\"envFile\":null,\"localRoot\":null,\"remoteRoot\":null,\"autoAttachChildProcesses\":true,\"runtimeSourcemapPausePatterns\":[],\"program\":\"<string>\",\"stopOnEntry\":false,\"console\":\"internalConsole\",\"restart\":false,\"args\":[],\"runtimeExecutable\":\"node\",\"runtimeVersion\":\"default\",\"runtimeArgs\":[],\"profileStartup\":false,\"attachSimplePort\":null,\"killBehavior\":\"forceful\",\"__configurationTarget\":5,\"__workspaceCachePath\":\"<string>\",\"__sessionId\":\"<string>\"}"}}}},"level":0}
{"tag":"dap.send","timestamp":1615809349253,"metadata":{"connectionId":0,"message":{"seq":4,"type":"event","event":"output","body":{"category":"console","output":"Verbose logs are written to:\n/root/.vscode-server/data/logs/20210315T125531/exthost1/ms-vscode.js-debug/vscode-debugadapter-7c5c6a68.json.gz\n"}}},"level":0}
{"tag":"runtime.launch","timestamp":1615809349270,"message":"Using binary at","metadata":{"location":"/root/.nvm/versions/node/v9.11.2/bin/node","executable":"node"},"level":1}
{"tag":"dap.receive","timestamp":1615809349275,"metadata":{"connectionId":0,"message":{"command":"setBreakpoints","arguments":{"source":{"name":"run-swap.js","path":"/root/swap-test/app/run-swap.js"},"lines":[6,39,86],"breakpoints":[{"line":6},{"line":39},{"line":86}],"sourceModified":false},"type":"request","seq":3}},"level":0}
{"tag":"dap.send","timestamp":1615809349275,"metadata":{"connectionId":0,"message":{"seq":5,"type":"response","request_seq":3,"command":"setBreakpoints","success":true,"body":{"breakpoints":[{"id":1,"verified":false,"message":"Unbound breakpoint"},{"id":2,"verified":false,"message":"Unbound breakpoint"},{"id":3,"verified":false,"message":"Unbound breakpoint"}]}}},"level":0}
{"tag":"dap.receive","timestamp":1615809349276,"metadata":{"connectionId":0,"message":{"command":"setBreakpoints","arguments":{"source":{"name":"test.js","path":"/root/swap-test/app/test.js"},"lines":[8],"breakpoints":[{"line":8}],"sourceModified":false},"type":"request","seq":4}},"level":0}
{"tag":"dap.send","timestamp":1615809349276,"metadata":{"connectionId":0,"message":{"seq":6,"type":"response","request_seq":4,"command":"setBreakpoints","success":true,"body":{"breakpoints":[{"id":4,"verified":false,"message":"Unbound breakpoint"}]}}},"level":0}
{"tag":"runtime.launch","timestamp":1615809349276,"message":"Discovered version","metadata":{"version":"v9.11.2"},"level":1}
{"tag":"dap.send","timestamp":1615809349283,"metadata":{"connectionId":0,"message":{"seq":7,"type":"event","event":"output","body":{"category":"console","output":"/root/.nvm/versions/node/v9.11.2/bin/node ./app/test.js"}}},"level":0}
{"tag":"runtime.launch","timestamp":1615809349286,"message":"Launched successfully","metadata":{"name":"k"},"level":1}
{"tag":"dap.send","timestamp":1615809349286,"metadata":{"connectionId":0,"message":{"seq":8,"type":"response","request_seq":2,"command":"launch","success":true,"body":{}}},"level":0}
{"tag":"dap.send","timestamp":1615809349348,"metadata":{"connectionId":0,"message":{"seq":9,"type":"event","event":"terminated","body":{}}},"level":0}
{"tag":"dap.receive","timestamp":1615809349368,"metadata":{"connectionId":0,"message":{"command":"setExceptionBreakpoints","arguments":{"filters":[],"filterOptions":[{"filterId":"uncaught"}]},"type":"request","seq":5}},"level":0}
{"tag":"dap.send","timestamp":1615809349368,"metadata":{"connectionId":0,"message":{"seq":10,"type":"response","request_seq":5,"command":"setExceptionBreakpoints","success":true,"body":{}}},"level":0}
{"tag":"dap.receive","timestamp":1615809349448,"metadata":{"connectionId":0,"message":{"command":"loadedSources","type":"request","seq":6}},"level":0}
{"tag":"dap.send","timestamp":1615809349448,"metadata":{"connectionId":0,"message":{"seq":11,"type":"response","request_seq":6,"command":"loadedSources","success":true,"body":{"sources":[]}}},"level":0}
{"tag":"dap.receive","timestamp":1615809349474,"metadata":{"connectionId":0,"message":{"command":"disconnect","arguments":{"restart":false},"type":"request","seq":7}},"level":0}
{"tag":"dap.send","timestamp":1615809349475,"metadata":{"connectionId":0,"message":{"seq":12,"type":"response","request_seq":7,"command":"disconnect","success":true,"body":{}}},"level":0}

I notice you're using a version of Node which has been end of life for ~3 years and is not supported. Please try upgrading to a more recent version (latest is 14.x)

@connor4312  worked like a magic! Thanks a lot!


feat(rbx_mantle,rbx_api): add notification string support

@brinkokevin I made some adjustments (renamed a couple of things and improved the docs) and merged this in #187. Thanks again for your contribution! I'll post in the discord when this is released.


[ThreadPool] Solve thread transitions issue

This pr solves thread transitions issue.
When we use OpenCV + TVM, we will produce much thread transitions so that OpenCV + TVM is slow. Auto tuning has issue too. The reason is we bind task 0 to master cpu by default.
More detail / background and reproduceable test case: https://discuss.tvm.ai/t/use-tvm-darknet-to-detect-vidoes-after-relay-build-module-build-cv2-ops-cost-much-more-time/4730/
After this PR, we don't bind task 0 to master cpu by default but export one environment TVM_EXCLUDE_WORKER0 to set. If users set TVM_EXCLUDE_WORKER0 be 1, we will bind task 0 to master as previous.
@vinx13 @yidawang @tqchen

@yidawang please https://docs.tvm.ai/contribute/code_review.html#approve-and-request-changes-explicitly

@FrozenGene please act on the review comments

sorry for later replying because of other things. have changed the comments.

ping @vinx13 @yidawang @tqchen have any comments?

Hmm...I think Auto Tuning and OpenCV + TVM is very common and many users will forget this things, so I prefer it be false by default. However, we could add comment on exclude_worker_0 and suggest to be true when to use single thread. Also open to listen more people's comment. @vinx13 @tqchen guys could tag anyone interested.

I think there seems to be two concerns:

Whether we want to use cpu as worker0
Whether we want bind the master thread to CPU0

The problematic case seems can be resolved by not binding the master thread, but still include as part of the worker thread.  By default, we bind the rest of the threads but not the master one.

Another way to resolve the problem, which might be better, would be register the fork handler, which reset the affinity at fork time.
https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_atfork.html

Hmm...I think Auto Tuning and OpenCV + TVM is very common and many users will forget this things, so I prefer it be false by default. However, we could add comment on exclude_worker_0 and suggest to be true when to use single thread. Also open to listen more people's comment. @vinx13 @tqchen guys could tag anyone interested.

At least the Auto tuning case is about binding the master thread or not, which we have discussed here. After reviewing all these use cases, I think by default we probably 1) don't bind the master thread; 2) exclude work0, i.e. bind the first task to core 0.

@vinx13 @yidawang @tqchen I use pthread_atfork function to avoid  master thread affinity derived by child threads. I find this solution suggested by @tqchen more elegant. But open to listen more comments.

@vinx13 @tqchen @yidawang I wish I have understood your concerns / comments completely.
@tqchen re Android, I don't provide binding master thread env like Linux. does it make sense?

@yidawang @tqchen update code according to your comments.

Thanks @FrozenGene for the work

I am signing off. Just one side note, as we have more and more ENV VARs, each of which has its default value and a number of possible configurations, we probably should have a place to summarize them.

I agree it. Like this: https://mxnet.apache.org/api/faq/env_var

Thanks @FrozenGene @yidawang @tqchen this is merged


What's the ETA on extend tool/function calling?

Models like llama3.1 and Granite-Code?

I'm also eagerly awaiting this


Give an ID on http 400 + 500 codes

Generate an ID for http 400 and 500 codes - and log the ID, the response and the request endpoint.  Then we can correlate SF issues with Serval issues.

This is a partial implementation to #58.  It enables something without having to instrument every microservice.

Or a SMT/NMT build failure.

@johnml1135 Could you clarify what you mean by ID?

A randomized, transaction ID, that would be able to associate the scripture forge errors with our error logs. That is the whole purpose, and it should not live beyond being entered into the log and inserted into the HTTPresponse.

When later we implement a trace ID, the trace ID would replace this temporary ID.

We need a way to correlate issues in SF and Serval. Our long-term plan is to instrument all of the microservices in Serval to support distributed tracing using OpenTelemetry. This will allow us to associate requests across all of our services. All of the requests are tied together by a single trace ID. In the meantime, we just want to return a trace ID whenever we return an error status code in the Serval API. The trace ID just needs to be a generated GUID. You can use System.Diagnostics.ActivityTraceId.CreateRandom().ToString() to create the GUID. This will create the same kind of GUID that OpenTelemetry will create.

I see. OK, that's straightforward. I can go ahead and implement the short-term solution.

The long term issue is #58.

Is there a reason we can't use the traceIds already provided? I just implemented a simple result filter that logs the status code and the traceId (Activity.Current.Id) which is returned in the http response. @ddaspit @johnml1135

Here is my best guess - @ddaspit  what do you think?
https://stackoverflow.com/questions/70828928/difference-between-httpcontext-traceidentifier-and-activity-current-id/77008433#77008433
// Use http first to trace to client call, if available
// If not, fall back on the thread ID
var traceId = httpContext?.TraceIdentifier ?? Activity.Current?.Id;

But if I use the TraceIdentifier, I will want to set the Activity.Current.Id to it anyway since that's what ultimately gets sent as part of the HTTP response (I've verified this: in this example
{     "type": "https://tools.ietf.org/html/rfc7231#section-6.5.4",     "title": "Not Found",     "status": 404,     "traceId": "00-56e2b2aa24b8f0c040bc981e0319731a-3317ed93be04a435-00" }
the traceId is set to whatever Activity.Current?.Id is regardless of httpContext?.TraceIdentifier).

Ok - so let's see if I understand - aspdotnet automagically includes Activity.Current.Id in http responses.  Since this is the case, if we log Activity.Current.Id and tell SF to associate it with their trace, we could get the desired end?

Yes, that is how it works. I have that working locally, but I wanted to make sure there wasn't a reason that we should generate a separate id and use that.

I like the solution (Activity.Current.Id) - let's go with it.

The PR only seems to log the trace ID. Wasn't the point of this issue to return the trace ID in the response, so that SF has access to it?

@Enkidu93 - isn't the trace ID already included in every http response - or am I misunderstanding your previous comments?

Yes, it is included already on 4-500s.

Is that sufficient, @ddaspit, to close this issue?

Yep, that is great.


Draft version of VSCode Extension info page is prepared.

See https://code.visualstudio.com/api/working-with-extensions/publishing-extension
We need to create a good README, images (in PNG format), icon, etc.

Some sections, such as https://docs.google.com/document/d/1Y50CjzM-Oy9XYVGNGAip2-O9BBd61kQz86dD0orT90I/edit#heading=h.1pp0hal4c56h and https://docs.google.com/document/d/1Y50CjzM-Oy9XYVGNGAip2-O9BBd61kQz86dD0orT90I/edit#heading=h.hqjcowm7jb1e, are still missing.
The client setup section needs to be trimmed and link out to the client tool READMEs.

I'm going to close this and open additional issues on specific change requests.


Reset connection on manager context cancellation

#1046 added new context for single manager session. This resets manager connection if this context is cancelled(on demotion) before connection state changes.
@LK4D4 @aaronlehmann
Signed-off-by: Tonis Tiigi<EMAIL_ADDRESS>

LGTM

[Current coverage][cc-pull] is 54.76%

Merging [#1117][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.08%

@@             master      #1117   diff @@
==========================================
  Files            77         77
  Lines         11926      11927     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6541       6532     -9
- Misses         4477       4483     +6
- Partials        908        912     +4

[][cc-pull]

Powered by Codecov. Last updated by [df20242...6780958][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/swarmkit/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/swarmkit/compare/df202428aa690c44da202ab92396538ea692a3f6...6780958aa56e9bfb38a2aa2923c2f91e27b7f006
[cc-pull]: https://codecov.io/gh/docker/swarmkit/pull/1117?src=pr

LGTM


PDFBox and Emoticons

Hi,
i'm using PDFBox-Android for converting a text file, having
emoticons written in, to a pdf file .
At least all the text are properly converted (written)
but the emoticons are skipped .
Would mind telling me how can be done ?
Thanks for your answer.

The emoticons are most likely unicode characters, right? PdfTextStripper still has some issues, and generally doesn't handle characters outside of the ASCII range. They could also be images, in which case the text stripper wouldn't pick them up at all.

Thank you for having replied . So there 's no way to put emoticons in the
generated pdf . Ok we shall do without . Tank you again.
Le dim. 15 avr. 2018 à 04:36, Tom Roush<EMAIL_ADDRESS>a écrit :

The emoticons are most likely unicode characters, right? PdfTextStripper
still has some issues, and generally doesn't handle characters outside of
the ASCII range. They could also be images, in which case the text stripper
wouldn't pick them up at all.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TomRoush/PdfBox-Android/issues/148#issuecomment-381371249,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADwSPKQEvOsNW-DFakqsDtRUjMy-99aDks5topYfgaJpZM4SlKH_
.


llvm function multi-versioning

related to but distinct from https://github.com/google/android-riscv64/issues/8, we'll want function multi-versioning in llvm.

Is this issue related to the multi-versioning feature itself or to function optimization that supports different instruction set extensions?

ifuncs are too much trouble [...] fmv will help

To the best of my knowledge, function multiversioning in both LLVM and GCC is implemented using GNU indirect functions. So this ticket could be considered blocked on #8.

This is referring something like this? https://gcc.gnu.org/wiki/FunctionMultiVersioning

Yes. As usual,  @maskray's blog has useful info: https://maskray.me/blog/2023-02-05-function-multi-versioning

Kito filed an issue here https://github.com/riscv-non-isa/riscv-c-api-doc/pull/35


Age Group Filter

Age group filter not working. Irrespective of the age group i select it shows slots for all the age group and also if the list could highlight availability first

Refer to the instructions. This is not an issue.


System suspends on Hyprland exit

Hyprland Version
 System/Version info
Hyprland, built from branch HEAD at commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47  (props: bump ver to 0.35.0).
Date: Mon Feb 5 01:59:02 2024
Tag: v0.35.0

flags: (if any)

System Information:
System name: Linux
Node name: pragma-arch
Release: 6.7.4-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 05 Feb 2024 22:07:49 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Bug
Description
When exiting hyperland via hyprctl dispatch exit, the system goes to sleep/suspends.
How to reproduce
Execute 'hyprctl dispatch exit' from a terminal.
Crash reports, logs, images, videos
No response

How do you start Hyperland ?
from terminal ?
$ Hyprland

or via a display manager ?

I am also facing the same issue. I start Hyperland by running Hyprland from terminal.

I also faced this when a tmux sessions/server is running in the background and I executed hyprctl dispatch exit, Try remapping the exit keys or run this command tmux kill-server && hyprland dispatch exit . If it's not tmux it could be some other daemon/server running. Make sure those programs are closed or daemon is stopped before exiting.


Can't use generic prop type when definition includes intersection with generic params?

Vue version
3.3.4
Link to minimal reproduction
https://play.vuejs.org/#eNqFUbFOwzAQ/ZWTBwJSaRamNI3EgsSGRMXkJW6urYXjs2ynVRTl3zmHQCMGOtnne/feu+dBPDu3PncoClGGvdcuQsDYOTC1PW6liEGKSloA3TryEV6IXiO2cPDUQrbO5zpRZAm2JxsiHIhgC0M6C3hagap9AdkJjaFsBTp86KCVwQKi7xDGjbTSlvm3PqtxwZzO1BEn7fJH9fyotG3YFhNLATl3y3wB5TLE3qSroqaHIU2rev959NTZpgBluGC5ZNQQm7qcdMTpYZwszNNiJRab3Qgn9g5TMNeVbdcq9JvEOTXfqcU3Ty6Uu4pRO7hj5CIGRWSwtgkvbYMHbWf4dZD5q+r+4f+cGn3mjMKJLuzul59Nzh8y2YNxLHNG/g1PjF+nxbYT
Steps to reproduce
type Foo = { foo: number; }
type SomeProps<T> = T & { isVisible: boolean }

What is expected?
this should be valid typescript:
https://www.typescriptlang.org/play?#code/C4TwDgpgBAYg9nKBeKBvKAzBAuKA7AVwFsAjCAJygF8AoUSKAZTiIgAVy4wBnAHgBUAfMij8oAMjRQAltwBqs6SQA2EXCQSqAhnmo0AxnDzdgmHExbtOPXvDjCU6LHFwBmADQz5ilWqjByAmgqAG4aaQwoAApnADpZBW4lVQBKKENjOFVY5TgAcxiEFJCgA
What is actually happening?
compile error:
1:55:02 AM [vite] Internal server error: [@vue/compiler-sfc] Unresolvable type reference or unsupported built-in utility type

/testdir/src/FooItem.vue
1  |  <script setup lang="ts">
2  |  type Foo = { foo: number }
3  |  type SomeProps<T> = T & { isVisible: boolean }
   |                      ^
4  |
5  |  defineProps<SomeProps<Foo>>()
  Plugin: vite:vue
  File: /testdir/src/FooItem.vue
      at ScriptCompileContext.error (/testdir/node_modules/.pnpm/@vue+compiler-sfc@3.3.4/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:15841:11)
      at innerResolveTypeElements (/testdir/node_modules/.pnpm/@vue+compiler-sfc@3.3.4/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:17966:20)
      at resolveTypeElements (/testdir/node_modules/.pnpm/@vue+compiler-sfc@3.3.4/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:17902:35)
      at /testdir/node_modules/.pnpm/@vue+compiler-sfc@3.3.4/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:17924:31
      at Array.map (<anonymous>)
      at innerResolveTypeElements (/testdir/node_modules/.pnpm/@vue+compiler-sfc@3.3.4/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:17924:20)
      at resolveTypeElements (/testdir/node_modules/.pnpm/@vue+compiler-sfc@3.3.4/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:17902:35)
      at innerResolveTypeElements (/testdir/node_modules/.pnpm/@vue+compiler-sfc@3.3.4/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:17947:16)
      at resolveTypeElements (/testdir/node_modules/.pnpm/@vue+compiler-sfc@3.3.4/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:17902:35)
      at resolveRuntimePropsFromType (/testdir/node_modules/.pnpm/@vue+compiler-sfc@3.3.4/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:19312:20)

System Info
  System:
    OS: macOS 12.0.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 44.49 GB / 64.00 GB
    Shell: 5.1.4 - /usr/local/bin/bash
  Binaries:
    Node: 16.20.0 - ~/.nvm/versions/node/v16.20.0/bin/node
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.0/bin/npm
  Browsers:
    Chrome: 113.0.5672.126
    Chrome Canary: 116.0.5806.0
    Firefox: 111.0
    Safari: 15.1
    Safari Technology Preview: 15.4
  npmPackages:
    vue: ^3.3.2 => 3.3.4

Any additional comments?
I'm not actually sure if I'm characterizing this correctly, but it seems like the sfc compiler cannot handle props whose type intersects one of its own generic parameters.
full pnpm lockfile if that's useful: https://gist.github.com/superfreddialpad/248efe40250d772938f31a2440e54e35

Pretty sure this is a duplicate of #8468

@justin-schroeder They're not exactly the same.

I get the same error when I use an imported type as an alias. I'm not 100% sure if these errors are related.
<script setup lang="ts">
import type * as T from './Foo.types'
defineProps<T.Props>()
</script>

Here is the link for reproduction: https://play.vuejs.org/#eNqFU8lu2zAQ/ZUBL24LVz6kJ0UJ0BYpkB7aoDV64kXLWGZCkQSH8gJD/94hJTtCUTgncRZy3jI6ic/OZbseRS4Kqr1yAQhD70CXpr2TIpAU99IAqM5ZH+CbtY8BO9h428EiW01xfGIR22prKMDGWriDU/zm8GkJVelzWGxRa7tYgqI/ilSlMYfge4ThVhppitU4n6dxwG86XQZMs4vz1N3HSpmGYfHDUsCKq8Vq1sohhaOOx8o2RzjF21VZv7Te9qbJodIc8LgIVFsGtd+qgCkxJAjTbbEUM2ZviDNJE44O4QOUBOu5PFnME4sjTYMbZfDJW0fFOkvf+3fvr1Nv1I5p09bueeBFOZ47aZxEhmEoVtz5rx5MIxBbslFt9kzWMJEkiRS17ZzS6H+6oNgyKfJRrFgr2ab995SL/izP+XqL9ct/8s90iDkpnjwS+h2ju9RC6VsMY/nh9w888PlS7GzTRy5Xir+QrO4jxrHtC9vIsGd9Ce1jskCZdk0Ph4CGzqQi0ORu6peC3fx6hfor3JvsZtqKYVyG0ccsEIuIh1fHk41p22d7XVmrsTS34x9AwTM03nMx/AVHMyjZ

Yep I also tested the latest version (3.3.10) and still have the same issue.

@Trandx your code doesn't show how the interface is used in the component.
@amritk If you are still having the same error, make sure to provide the exact and complete code that is causing the error because there can be many different ways of using generics.

I am not sure if it is connected, but I have simillar problem even after updating from 3.3.4 to 3.3.13
// Those types are in a separate file and are imported into the component

export type ExtractExtraApiGetRequestParams<T extends ApiGetRequestParams> = Subtract<
  T,
  ApiGetRequestParams
>;

export type Subtract<T extends U, U> = Pick<T, Exclude<keyof T, keyof U>>;

const props = defineProps<ExtractExtraApiGetRequestParams<ApiAuditGetRequest>>();

ApiAuditGetRequest extends ApiGetRequestParams.
And I am getting:
[plugin:vite:vue] [@vue/compiler-sfc] Unresolvable type reference or unsupported built-in utility type

We ran into this when trying to use zod type inference.

I still have problems with generic on the latest version. Even the simple following code fails to compile:
export type Test<T> = T

Okay, thank you for your solution. But, I think that my issue has already
resolved in the  resent version that contents Typescript 5.4
Le sam. 8 juin 2024 à 22:55, Clément Nerma @.***> a
écrit :

I still have problems with generic on the latest version. Even the simple
following code fails to compile:
export type Test = T
—
Reply to this email directly, view it on GitHub
https://github.com/vuejs/core/issues/8482#issuecomment-2156200684, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKENQXTGQCRWEHWYSAG4TY3ZGN4UJAVCNFSM6AAAAAAYX3IKCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGIYDANRYGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I tried to re-use vuetify component's props type FormInputProps = VTextField['$props'] and as under the hood Vuetify exports via InstanceType<typeof VTextField>, also ended up with error [@vue/compiler-sfc] Unresolvable type reference or unsupported built-in utility type
version 3.4.29

I'm also getting the same error when trying to import an inferred zod type
[plugin:vite:vue] [@vue/compiler-sfc] Unresolvable type reference or unsupported built-in utility type
import { z } from 'zod';

export const EmailVerificationViewPropsSchema = z.object({
  initialStage: z.enum(['send', 'resend', 'verify', 'changeEmail']),
  email: z.string().email(),
});

export type EmailVerificationViewProps = z.infer<typeof EmailVerificationViewPropsSchema>;

I'm importing it inside script setup:
<script setup lang="ts">
import type { EmailVerificationViewProps } from './view-props';

const props = defineProps<EmailVerificationViewProps>();

/* ... */
</script>

🙏 thanks
Le jeu. 20 juin 2024 à 15:14, rcomesan @.***> a écrit :

I'm also getting the same error when trying to import an inferred zod type
[plugin:vite:vue] @.***/compiler-sfc] Unresolvable type reference or
unsupported built-in utility type
import { z } from 'zod';
export const EmailVerificationViewPropsSchema = z.object({
initialStage: z.enum(['send', 'resend', 'verify', 'changeEmail']),
email: z.string().email(),});
export type EmailVerificationViewProps = z.infer;
I'm importing it inside script setup:

—
Reply to this email directly, view it on GitHub
https://github.com/vuejs/core/issues/8482#issuecomment-2180817508, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKENQXRWG5NGMLLBFHNMY5TZILPUHAVCNFSM6AAAAAAYX3IKCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQHAYTONJQHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Any updates here? I am having this problem when importing InferType from yup

I get a similar error when using prop extraction from the element-plus library.
<template>
  <ElButton v-bind="$props" :icon>
    <slot />
  </ElButton>
</template>

<script setup lang="ts">
import { ElButton } from 'element-plus'
import type { IconDefinition } from '@fortawesome/fontawesome-svg-core'

type TElButtonProps = InstanceType<typeof ElButton>['$props'];

const props = defineProps<TElButtonProps & {
  awesomeIcon?: IconDefinition
}>()

const GenericIconComponent = resolveComponent('Icon')

const icon = h(GenericIconComponent, { name: props.awesomeIcon })
</script>

We massively rely on inferred types from zod schemas and run into this issue. Is this a design limitation of @vue/compiler-sfc or something that can be fixed?


Library release removal request

Library name
BGWiFiConfig
Version to remove
v1.0.9

https://github.com/fish-five/BGWiFiConfig @ArduinoToolingBot

https://github.com/fish-five/BGWiFiConfig@ArduinoBot

https://github.com/fish-five/BGWiFiConfig @ArduinoBot


Make compatible with vs code themes

Is it possible to make the style adjust to the selected VS Code theme?

https://github.com/vuerd/vuerd/issues/198

You can add the following settings to setting.json.
Because it's not real-time, it's reflected only when you load a new erd view.
{
  "dineug.vuerd-vscode.themeSync": true,
  // will NOT synchronize the color list
  "dineug.vuerd-vscode.theme": {
    "keyPK": "#B4B400",
    "keyFK": "#dda8b1",
    "keyPFK": "#60b9c4",
    "edit": "#ffc107"
  }
}

Thanks a lot for that hint.

I think the only issue with the sync for me is that the canvas color is the same as the background color for the tables.

Most cases apply appropriately.
Some themes can't be helped.

Custom themes will need to be defined.
Open the webview developer tool
Find the vuerd-provider element
I'll look at the theme colors that are currently applied.
Define the customized theme accordingly.


Touchscreen for 64bit drivers

I merged the display refactoring into dev (fresh sd card build is needed). Switching on the touchscreen is working now again. But the calibration seems not working correctly yet. @openoms it would be great if you can take a look .. if we can get this fixed on the RC2 that would be great.

@frennkie any luck so far to getting the calibration back on track?

OK ... I got the touchscreen running again even with calibration and i2c-off :) Making some last test tomorrow, but looks good.

@frennkie after upgrade from 1.6.3 to v1.7.0 (on my latest tests with the merged latest changes into dev) the touchscreen was working but needed a new calibration. After new calibration the touchscreen  restarted multiple times until it worked. This is the debug:
** Message: 01:05:33.299: app.vala:76: Launching unclutter
** Message: 01:05:33.308: app.vala:76: Launching xset
** Message: 01:05:33.312: app.vala:76: Launching xset
** Message: 01:05:33.316: app.vala:76: Launching xset
** Message: 01:05:33.322: app.vala:76: Launching sh
** Message: 01:05:33.330: options.vala:107: Create build-in Clipboard
** Message: 01:05:33.332: main.vala:441: Check keymap_mode (null)
** Message: 01:05:33.339: app.vala:76: Launching /usr/bin/ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-verko5jOI2MK/agent.10267; export SSH_AUTH_SOCK;
SSH_AGENT_PID=10272; export SSH_AGENT_PID;
echo Agent pid 10272;
** Message: 01:05:33.499: app.vala:130: xset exit with this type of exit: 0
** Message: 01:05:33.500: app.vala:139: Exit normal, don't reload
** Message: 01:05:33.500: app.vala:130: xset exit with this type of exit: 0
** Message: 01:05:33.500: app.vala:139: Exit normal, don't reload
** Message: 01:05:33.500: app.vala:130: xset exit with this type of exit: 0
** Message: 01:05:33.500: app.vala:139: Exit normal, don't reload
** Message: 01:05:33.500: app.vala:130: /usr/bin/ssh-agent exit with this type of exit: 0
Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"

So it seems the /usr/share/lxde/openbox/menu.xml was not ready. I think this is not critical, but can you give me a hint how to improve on that for v1.7.1?

found a small bug to be fixed before final: when recovering with touchscreen on it ended up with hdmi_hotplug=1 still in /boot/config.txt which gave a black screen (was no able to see the final recovery info). Check why. Maybe get rif of hdmi-hotplug completly for now if it just makes trouble.

OK Touchscreen is now looking good .. even Calibration is working. Closing issue for v1.7 release.