[Refactor][JIRA] Jira account collection task

What and why to refactor
Hi team,
I have a question about the Jira plugin, specifically regarding the Jira account collection task.
If I understand correctly, every time the Jira boards accounts task runs, it fetches all accounts from the _tool_jira_accounts and then calls the api/2/user Jira API for each account to retrieve information, and eventually saving it to the raw table. This process could significantly slow down jobs for small Jira boards that initially don’t have many accounts discovered on their boards but still need to call the API for all of them because some other big board has pushed many accounts into _tool_jira_accounts.
Describe the solution you'd like
Maybe calling API for accounts only connected with that board for which the job is running (issues/epics tasks that run before are also pushing stuff to _tool_jira_accounts , so maybe rely on that?
Related issues
Please link any other
Additional context
How to reproduce:

Deployed Devlake locally.
Created a Devlake project connected to a large Jira board.
Ran the import process.
For me this project discovered over 350 accounts and saved them in the _tool_jira_accounts table.
Created another Devlake project linked to a smaller Jira board, with a time range set to the last week.
Ran the import process.
Found that the account collection job for the second project processed the same number of accounts as the first project - check the all_acc.log.
Cleared entries from the _tool_jira_accounts and _raw_jira_api_users tables.
Re-executed the collection job for the second project.
Noted that the account collection job completed much faster this time - check the identified_acc.log.

all_acc.log
identified_acc.log

Hi @klesh , could you take a look when you're available?

It could be beneficial for big organizations. Would you like to work on it?

I can't commit to a specific timeframe for tackling the task, but let's keep it open for now if that works for you. Perhaps someone else might be able to lend a hand before we can.

ok, no problem.

@sstojak1 Sure thing, Happy coding.

@klesh PR created.


BitRefill.Com invoice QR code gives "Unknown link format".

Describe the bug
A clear and concise description of what the bug is.
When I go to BitRefill.Com, and set up an invoice, and scan the QR code, I get:  "Unknown link format".
To Reproduce
Steps to reproduce the behavior:

Set up invoice at BitRefill.Com for Lightning Network (mainnet)
Zap:  select Send
Point at QR code displayed by BitRefill.Com
See error

Expected behavior
Continue past that error.  For instance, I was able to copy and paste the link, and then I got the next step, which in my case was another error ("Unable to find a path to ..." which is an LND issue).
Screenshots
Your environment

Device: iPhone6+
OS: iOS 11.4.1
Version 0.1.0, build 1

Additional context

After I opened up a channel with sufficient pathway, I tried another transaction of the same amount at Bitrefill.  I had the same error from the QR code from Bitrefill, but then I copied the invoice text from Bitrefill and pasted it into https://www.the-qrcode-generator.com/ and then used THAT QR code, and that QR code worked, and I paid my phone bill.
Is there a reason why the QR codes would be different?  Should I show you a sample QR code from Bitrefill, or are you able to pay your phone bill with their QR code to diagnose?  Is it Bitrefill's faulty QR code?

yo, thanks a lot for reporting the bug! ❤fixed it

Thank you!  That fixed it.  I hadn't considered looking at the QR output text; I should have thought of that.  I would have noticed that error too.  Anyway, great fix.


Can enable or disable the self sign-up option by following the below documentation.
https://docs.wso2.com/display/AM250/Customizing+the+API+Store
But sign up feature not get disabled even after the self signup option is disabled.
In the older version of the API manager it get disabled. But in the new version, still new user
registration link appears.
Older version

New version

Add following to the deployment.toml to disable self signup
[identity_mgt.endpoint]
enable_self_signup_endpoint=false

It still works for 4.0.0 ... but why is the documentation not up to date ?
https://apim.docs.wso2.com/en/latest/reference/customize-product/customizations/customizing-the-developer-portal/enabling-or-disabling-self-signup/


Syncd asks for SSH password, but doesn't allow enough time for it to be entered.

I'm having an issue with syncd, where having set it up as per the ReadMe, on making any changes I am not given any time to enter my ssh password and get an error.
Steps to replicate:

Run syncd start
Make changes to a file (with file and terminal open side by side)
Go to terminal, (see pasted output below)

The password prompt appears mulitple times, but automatically goes straight to permission denied a number of times, without me having had the chance to enter my ssh password. As expected this causes rsync to fail.
Syncd then appears to hang, and there is no further updates to the output. However, while further changes do get added to the log, nothing gets synced.

Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender] no changes added to commit (use "git add" and/or "git commit -a")
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]

Update.
Just to note syncd isn't hanging, and continues to fire out the above output to the terminal on any change made to a file in the watched directories.


transliteration and conventionDeclaration

I could be interpreting conventionDeclaration incorrectly, but I'm not quite sure why transliteration attributes are being moved up to it.

@alexduryee This is because @transliteration is meant to "designat[e] the transliteration scheme", i.e. the rule (or convention) followed when transcribing from one writing system into the other.

Closing this issue out, as discussed above.


Unable to cache routes

Description
Running the php artisan route:cache command causes an error, because closures are used for the robots.txt, sitemap.xml and favicon.ico routes.

Hi @damianlewis,
Thanks for using our plugin and reporting the issue.
We'll take care of that in the next minor release.
Kind regards,
Tomasz Strojny


Installation fails into fresh virtualenv

$python3.7 -m pip install git+https://github.com/funkybob/gilbert.git
Collecting git+https://github.com/funkybob/gilbert.git
  Cloning https://github.com/funkybob/gilbert.git to /tmp/pip-g3bsf2gf-build
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/gilbert.egg-info
    writing pip-egg-info/gilbert.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/gilbert.egg-info/dependency_links.txt
    writing entry points to pip-egg-info/gilbert.egg-info/entry_points.txt
    writing requirements to pip-egg-info/gilbert.egg-info/requires.txt
    writing top-level names to pip-egg-info/gilbert.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/gilbert.egg-info/SOURCES.txt'
    error: package directory 'src/find_namespace:' does not exist

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-g3bsf2gf-build/

Just tried it locally, in and out of a virtualenv, and it works fine.
I wonder if it's a pip version issue?

Yes this is a version issue with setuptools:
$ pip install -U setuptools
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
     |████████████████████████████████| 583kB 1.4MB/s
Installing collected packages: setuptools
  Found existing installation: setuptools 39.0.1
    Uninstalling setuptools-39.0.1:
      Successfully uninstalled setuptools-39.0.1
Successfully installed setuptools-41.0.1

After this update the install works fine

This line:
https://github.com/funkybob/gilbert/blob/96160b5e1ce5560403951d890791aa0075a57daa/setup.cfg#L15
Requires support from setuptools that was merged in this commit: https://github.com/pypa/setuptools/commit/0254a2fda8e8bd4f289d01e2179191e936517f04
Is there some way we can warn the users if they have an insufficient version of setuptools?

Short of the always advisable "Ensure your pip and setuptools are up to date before installing" ... none I can think of.
Documenting this error in the README would be a good start, I guess.

Would some sort of FAQ section in the docs be an appropriate place for this sort of information? If so I'll happily pull request some changes

An FAQ entry, and a note in the README, please :)

I just made #18 to document what's happening here.
We've just started using this internally on a couple of projects so we will try to get our notes into proper documentation as we go.


added lambda function

Each time, the user submits the userID, SQS sends a message and an eventhandler lambda picks up the message. Based on whether the Purpose type is 'attendance', the message is forwarded to an attendance SNS topic. From there liveclassAttendanceHandler picks the message up and the message is written to bigquery.

Hello @sudheshna-donthineni! Thanks for opening this PR.  Thanks for opening this PR.  Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file lambda_function.py:

Line 6:1: E302 expected 2 blank lines, found 1
Line 11:1: W293 blank line contains whitespace
Line 13:1: W293 blank line contains whitespace
Line 17:67: W291 trailing whitespace
Line 18:64: W291 trailing whitespace
Line 19:48: W291 trailing whitespace
Line 20:50: W291 trailing whitespace
Line 24:1: W293 blank line contains whitespace
Line 30:1: E302 expected 2 blank lines, found 1
Line 40:5: E265 block comment should start with '# '
Line 50:1: W391 blank line at end of file

@sudheshna-donthineni fix these too :)

@sudheshna It would be better to configure a pre commit hook so all these PEP8 type errors gets fixed automatically before you commit the code. Check out https://github.com/pre-commit/pre-commit-hooks

Setup pre-commit on your local.
Add pre-commit hook as a github action -- It will run on every pull request and point out the errors (if any)
Add the information to set up pre-commit on local in some documentation file

Pre-commit is setup for plio-frontend and plio-backend repositories. You can take a look there to figure out how to do this!


fix: remove yaml loader from yamllint as this results in always pass

Codecov Report

Merging #153 (c12692b) into main (e74cd66) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   18.31%   18.36%   +0.05%
==========================================
  Files           9        9
  Lines        1070     1067       -3
==========================================
  Hits          196      196
+ Misses        874      871       -3

Impacted Files
Coverage Δ

ansiblelater/standard.py
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


Settings won't save

Describe the bug
Settings won't save. If I change the settings and then refresh the page, they are reset. I also noticed, that the default settings from the settings.js are not applied. Am I the only one with this issue?
Console error
No errors
Desktop (please complete the following information):

OS: Windows 10
Browser Microsoft Edge
Version 22

Try chrome, or try webosu.online

I tried chrome and even from my mobile, but it didn't worked. I host it on my server and I am using the latest version


feat(migaloo): Add initial migaloo app based on comdex

Still needs icon updates in some places, mostly want to confirm the logic first.
Narwhal-1 is the testnet, later we will add the mainnet once that is live.
Description
Closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] ran linting via yarn lint
[ ] wrote tests where necessary
[ ] included the correct type prefix in the PR title
[ ] targeted the correct branch
[ ] provided a link to the relevant issue or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed
[ ] added a changeset via yarn && yarn changeset

Dear @0xFable ,
Thank you for your interest in contributing to our project on GitHub. We appreciate your effort and time put into this pull request.
Before proceeding with the pull request, we would like to let you know that if you are interested in a business partnership, please reach out to us at<EMAIL_ADDRESS>We would be happy to discuss further opportunities with you.
Otherwise, if you just want to create a new chain, we suggest that you fork the repository to your own account. Kindly consider visiting BDJuno as well, as it is the default backend for big-dipper.
Thank you again for your interest in big dipper. We look forward to your continued support.

closing it for now, If you have any further concerns or questions, please do not hesitate to reach out.
thank you again for your contribution, and we hope you have a great day!


UI: volume expansion feature

Add one more operation Expand for the volume. And the related batch operation is not needed:

The API is /v1/volumes/{volume name}/expand
The input is Size. The format is the same as the Size of Create volume API: it's a number in bytes or a string like 1Gi.
The input Size should be larger than volume.size.
The operation is available only when the volume is in attached or detached state.
If volume.kubernetesStatus.pvName != "", put a warning on the top of the input: The capacity of related PV will not be updated; else if volume.kubernetesStatus.pvName != "" && volume.kubernetesStatus.pvcName != "" && volume.kubernetesStatus.lastPVCRefAt == "", put warning: The capacity of related PV and PVC will not be updated
Put one more warning for the volume whose disableFrontend is true: Longhorn will not expand the filesystem for the volume in maintenance mode. There is no available frontend for filesystem expansion

If volume.state == attached and volume.size != volume.controllers[0].size, it means the volume is being expanded. In this case, show the follow line in the Size field: The volume is in expansion progress from size "volume.controllers[0].size" to size "volume.size"

Is there any progress on that? Has it been accepted for the next release?

@funkydorian Currently the backend code has been accepted and merged, we're working on the UI now. It will be available in the next release.

I changed the API in the UI to /v1/volumes/{ volumeName }?action=expand @shuo-wu

Validation: PASSED
Steps to test: #17


Add Turkish language support

Thank you very much for your contribution 🙏
Just 1 thing:
Your strings.xml has less lines than the english strings.xml. Are some translations missing or did you just use a old version of it?
If so please update your file to have all the values in it

Only the initial license is missing. Strings are seamless

I see. I will merge and see if it works. There is a custom script doing the translation badges in the readme that might be broken. If so, I will add the comment myself :)


Bundler could not find compatible versions for gem "rails"

Bundler could not find compatible versions for gem "rails":
  In snapshot (Gemfile.lock):
    rails (= 5.0.0.alpha)

  In Gemfile:
    knock (>= 0) ruby depends on
      rails (~> 4.2) ruby

    rails (>= 0) ruby

Any news about Rails 5 support?

I just submitted PR #30 as a first step for Rails 5 support

#30 should fix this indeed. Thanks @sespindola.

#30 should fix this indeed. Thanks @sespindola.


Current status has same Version as old Pypi status

First I installed pyfakefs using pip. Then I recognized that the version on Pypi is old and on github are some developments. I tried to upgrade my version to github using pip. It failed, because Pypi version and github version are both 2.4. I had to remove the old installed version to install this one. If the github version shall be used, there should be a new version number.

I uploaded pyfakefs 2.6 to PyPi.  Please give this a try.


Fatal error using default credentials

Attaching to container shows error:

FATAL:  password authentication failed for user "postgres"
DETAIL:  User "postgres" has no password assigned.

 Any help is appreciated thanks.
Using latest version.

For anyone having the same issue, I fixed it by creating a new volume in my docker-compose. Pretty weird bug.

Thanks, just came across this same issue now...
Actions tried

docker volume prune
docker-compose down && docker-compose up --force-recreate
Manually removing the generated volume from the fielsystem
Using postgres:9.6-alpine instead of postgres:9.6.4
With/without POSTGRES_PASSWORD set

Finally, simply recreating the volume by renaming the bindings worked. Not sure of the root cause though... caching on some level that I didn't clear correctly?
    volumes:
      - ./docker/db/development:/var/lib/postgresql/data

->
    volumes:
      - ./docker/db/dev:/var/lib/postgresql/data

Thanks for your tip.

Same issue. Fixed yjimk and orion's solution.


SDS Spiffe ID, currently in SDS the spiffe are hard-coded to a particular format there is no easy way to change the format.

Describe the feature request
Currently, the spiffe ID format is hard-coded in Istio SDS server. There should be a easy way to configure the Spiffe ID format.
Describe alternatives you've considered
The alternative way to change the spiffe ID is to manually create destination rule for each service created in the cluster.
Additional context
I have discussed on slack with @JimmyCYJ about this issue.

I don't know what format you want, this is very unlikely to happen and the use case is vague, given Istio only issues fixed format SPIFFE cert.

If you want to reopen, please explain with full e2e worklfow of what format you need, how that can carries namespace and k8s service account information.


httpd could be launch without root user in alpine container

Hello 👋
Wouldn't it be better to launch httpd in the container without root, using unix capabilities ?
It could be done this way just before the EXPOSE and COMMAND instruction at the end of the alpine Dockerfile:
# add capacity management library
RUN apk add --no-cache libcap=2.25-r1 && \
  # chown apache working directory
  chown -hR www-data:www-data /usr/local/apache2/ && \
  # Set capability to bind privileged ports as non-root user for httpd
  setcap 'cap_net_bind_service=+ep' /usr/local/apache2/bin/httpd

# use non-root user
USER www-data

Any advice / comment on this ?
Could it break anything downstream ?
Related : issue 102, closed
Good day :-)

setcap will not work with some Docker storage drivers which is why tianon said the following in #102:

Your setcap probably doesn't round-trip through the graph drivers properly.

See also related https://github.com/moby/moby/issues/8460 and especially https://github.com/moby/moby/issues/8460#issuecomment-312459310.

Hello @yosifkit
Thanks for the feedback, so I guess this is the reason why apache start as root before defering to apache user.
In our case I think we will go on with the capability setup if we do not encounter issues with storage driver (deploying on k8s btw).
I believe this question / request can be close then.
Thanks again, good day :-)


Temporary fix for tests on Python <= 3.5

By disabling tests

Probably good enough for now. Once the master branch is clean again, I'd like to prepare the RC release.

I'm separated from a computer I can use to investigate this properly for the next 24hrs or so, so I think this will have to do for now.
My suspicion is that this isn't really a new bug, but it's just the test that's exposed an issue with our pre enum wrapping. I'll have a look later this week, but don't think a small issue with Python <3.6 justifies holding up the release candidate.

I'll take

Probably good enough for now.

as approval and merge this to get the CI clear


Speed up Netlify builds by skipping Gatsby install

Reason for change
postinstall was originally for developing locally—using Storybook & Gatsby. But with Netlify using Storybook, this will speed things up.
Also, there have been many instances locally this slows down development when installing something for Storybook not needed for Gatsby.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #128   +/-   ##
=======================================
  Coverage   53.03%   53.03%
=======================================
  Files          30       30
  Lines         709      709
  Branches      164      164
=======================================
  Hits          376      376
  Misses        331      331
  Partials        2        2

Continue to review full report at Codecov.

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

Closing; this isn’t really slowing down Netlify that much and it creates other issues.


feat(table): add small table support with smaller pagination component

Summary

summary_here

Change List (commits, features, bugs, etc)

chore(carbon-icons): upgrade to latest carbon-icons and update EmptyState and TileCatalog components to use non-built versions
feat(Table): detect the size of the table and hide aspects of the pagination component.  Remove min-widths so our table can get narrower if it needs to
fix(Table): passthrough the style prop to the parent component so the whole thing can be resized

Related Issues

Closes IBM/carbon-addons-iot-react#221
Closes IBM/carbon-addons-iot-react#220

Acceptance Test (how to verify the PR)

Verify the new small width table

:tada: This PR is included in version 1.43.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.43.0 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


Suggestion on converting a image to hex

Hi All,
Could you advice if there is any software convert .jpg to hex for this board?
I am now using LCD Image Converter
However, I have no idea how to get the settings correctly because I can only display the distorted image.
The example I used is "display" and modify the contents "img.h"
The setting is below:

preset name: Color R8G8B8
data block size: 8 bit(s), uint8_t
RLE compression enabled: no
conversion type: Color, not_used not_used
split to rows: yes
bits per pixel: 24

preprocess:
main scan direction: top_to_bottom
line scan direction: forward
inverse: no

Thanks in advance

I managed to get the image setting right with Color R5G6B5 and the image is not distorted, however, the colors are messed up.
The enclosed are the modified code under "img.h", original photo and the photo uploaded to the display
The code--> img.h.docx

I got the correct setting finally.
Basically the bits were reversed.

For record
The followings are the settings :

Enjoy


Make README userfrendly

@mishudark Hi, I make some useful for users changes in your project README, please, review them.

Nice doc, really useful, thanks a lot


Cannot install execSync v1.0.2 error

I get the following error when I tried
npm install grunt-shell-spawn --save-dev

<EMAIL_ADDRESS>install d:\cq\cq-bhg\ui\node_modules\grunt-shell-spawn\node_modules\execSync
node install.js

[execsync v1.0.2] Attempting to compile native extensions.
{ [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' }
[execSync v1.0.2]
Native code compile failed!!
Will try to use win32 extension.
<EMAIL_ADDRESS>node_modules\grunt-shell-spawn
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>I'm running
$ node --version
v0.10.35
Any idea why?
Thanks

:+1:

From here: https://github.com/mgutz/execSync/issues/24
I was able to get it to work with the following steps:
npm install -g node-gyp
Install Python https://www.python.org/download/releases/2.7.3#download
CD node_modules\grunt-favicons\node_modules\execSync
Assume you have Visual Studio 2013 installed ...
node-gyp rebuild --msvs=2013
If you look at the source you will see that the error message "execSync incompatible with installed nodejs" is thrown for any exception, there is no test being done for versions, it's misleading.

I still have this error but the fix didn't work for me

Thanks for the tip @sbryfcz ! Installing node-gyp using the official instructions and executing node-gyp rebuild inside the node_modules\execSync directory worked for me!

Thank you @sbryfcz! :)

Closing due to merge of #35


use check-local-archive-file instead of our verify-download?

I realized quicklisp already has a check-local-archive-file that is documented as verifying size and signature of downloaded files but actually only checks the size, not the signature. It does report better error information than we are reporting in verify-download, and when the check fails it offers a restart to "Delete the archive file and fetch it again". I'm thinking maybe instead of having our own verify-download function, we should just add the the md5 and sha1 signature checks as CLOS :after methods to check-local-archive-file, and the existing function will do the file length check. If that sounds reasonable I can make a PR for it

Yes. Sounds indeed reasonable. Please go ahead and create PRs for this.


feat: add support for auto-unpin on merged/closed, closes #5

Alright, here we go!
A couple of thoughts:
During local dev, I encountered GitHub's API rate limiting and had to temporarily modify the fetch utility to use a PAT. This is definitely an edge-case, as I had adjusted the TTL to a very small interval for testing purposes, but I imagine other devs may run into this. In any case, have you considered adding an option to make authenticated requests?
Second, do you plan on adding testing to this project? I'd be happy to write a few unit tests so we have coverage of this feature.
Anyway, give me a shout if I can correct anything on this PR.  Thanks for letting me join in :)

We'd better to add an option to the popup.

PAT

Created #12

Testing

That would be great, thanks!

@antfu What framework / tooling do you prefer for testing? I can set it up in this PR or I can hold off and add my tests later if you would prefer to do it. I'm happy with any approach!

I have no idea how to test a web extension, maybe Cypress could do.

I have no idea how to test a web extension, maybe Cypress could do.
Same. I'm hoping worst case scenario we will at least be able to stub some of the functionality. I'll do a bit of research and give it a shot!

Well dang, integration testing web extensions is trickier than I thought. I don't think I'm going to figure this one out in a reasonable amount of time. Sorry :/
It looks like there's a few discussions on Cypress' GH about mocking some of the Chrome integrations. Maybe someone that is familiar with testing extensions can chime in.

No problem at all. Since currently, we don't have much complex logic to handle, let's hold the testing for later. Thanks.

Note: I have merged it for now. However, we will need to add a UI entry in the popup to make it visible for users to configure. Again, PR is welcome.
Thanks


using chrome with file:///

For some reasons (my target platform is Android WebView, not a computer) I cannot run an even lighweight http server, so I need to use the file:///
I have been successful to make that working in Firefox by switching the privacy.file_unique_origin property.
However on my computer's Chrome (and in Android's WebView, which I suppose is very similar) the code just fails with Uncaught ReferenceError: xxxx is not defined where xxxx are the names of my modules. In fact, it seems that the computer's Chrome and Android's WebView silently ignore the

Hello demo

...

<button onclick="hello.solarSystem.greet ()">Click me repeatedly!</button>

...

<button onclick="hello.solarSystem.explain ()">And click me repeatedly too!</button>

Not sure about Chrome (very hard and frustrating for me to figure those things out, as described by your own motivations) but for Android's WebView the following solves the issue
WebSettings webSettings = myWebView.getSettings();
webSettings.setJavaScriptEnabled(true);
webSettings.setAllowFileAccessFromFileURLs(true);
webSettings.setAllowUniversalAccessFromFileURLs(true);


PR#303 IOSXE/show wireless stats client delete reasons

Description
Parser created for iosxe show wireless stats client delete reasons
Screenshots:

Checklist:

[x] I have updated the changelog.
[x] All new and existing tests passed.
[x] All new code passed compilation.

Cisco PR #303


Spanner, BigTable, and BigQuery operations should use the Futures interface

@jonparrott It sounds like this is Beta blocking for Spanner and the other APIs, correct? IIUC, it affects the surface for LRO calls.

Yes but this is also fixed.
On Mon, Aug 7, 2017, 4:31 PM Brian J. Watson<EMAIL_ADDRESS>wrote:

@jonparrott https://github.com/jonparrott It sounds like this is Beta
blocking for Spanner and the other APIs, correct? IIUC, it affects the
surface for LRO calls.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/issues/3617#issuecomment-320808256,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc2agjDUBzPA1iJ4KD_AEet0n5OeXks5sV55IgaJpZM4Oabq8
.


How can I make a new delegate for clicked in VCFloatingActionButton itself.

Hey guys, how can I add another delegate that when i click on VCFloatingActionButton it self? What I wanna do is when I click on VCFloationgActionButton I want present another view controller. thanks in advance.

Hi afiq,
I assume you are asking for a behaviour similar to the google inbox FAB.
In the -(void)handleTap:(id)sender function,
'if (_isMenuVisible)
{

}'

how can I make those delegate. sorry I'm novice in iOS dev. thanks. :)

Thats okay
In the VCFloatingActionButton.h file, add these lines  in the @protocol
@optional
-(void) didSelectMenuOptionAtIndex:(NSInteger)row;
-(void) didPressSelf; // Or anyother name you want
@end

.m file
if(_isMenuVisible)
{
    [delegate didPressSelf];  //or the name you've given
}

thank you, it's working now.

You are welcome :+1:


Creating KeyVault managed account using Azure CLI is not possible in 2024

The documentation provides the command that should create KeyVault-managed storage account:
az keyvault storage add --vault-name <YourKeyVaultName> -n <YourStorageAccountName> --active-key-name key1 --auto-regenerate-key --regeneration-period P30D --resource-id "/subscriptions/<subscriptionID>/resourceGroups/<StorageAccountResourceGroupName>/providers/Microsoft.Storage/storageAccounts/<YourStorageAccountName>"

However, when running this command with Azure CLI v2.58.0, the following error appears:

'storage' is misspelled or not recognized by the system.
Did you mean 'restore' ?

Apparently, this command is not a part of Azure CLI anymore:
$ az keyvault --help

Group
    az keyvault : Manage KeyVault keys, secrets, and certificates.

Subgroups:
    backup                      : Manage full HSM backup.
    certificate                 : Manage certificates.
    key                         : Manage keys.
    network-rule                : Manage vault network ACLs.
    private-endpoint-connection : Manage vault/HSM private endpoint connections.
    private-link-resource       : Manage vault/HSM private link resources.
    region                      : Manage MHSM multi-regions.
    restore                     : Manage full HSM restore.
    role                        : Manage user roles for access control.
    secret                      : Manage secrets.
    security-domain             : Manage security domain operations.
    setting                     : Manage MHSM settings.

Commands:
    check-name                  : Check that the given name is valid and is not already in use.
    create                      : Create a Vault or HSM.
    delete                      : Delete a Vault or HSM.
    delete-policy               : Delete security policy settings for a Key Vault.
    list                        : List Vaults and/or HSMs.
    list-deleted                : Get information about the deleted Vaults or HSMs in a
                                  subscription.
    purge                       : Permanently delete the specified Vault or HSM. Aka Purges the
                                  deleted Vault or HSM.
    recover                     : Recover a Vault or HSM.
    set-policy                  : Update security policy settings for a Key Vault.
    show                        : Show details of a Vault or HSM.
    show-deleted                : Show details of a deleted Vault or HSM.
    update                      : Update the properties of a Vault.
    update-hsm                  : Update the properties of a HSM.
    wait                        : Place the CLI in a waiting state until a condition of the Vault is
                                  met.
    wait-hsm                    : Place the CLI in a waiting state until a condition of the HSM is
                                  met.

To search AI knowledge base for examples, use: az find "az keyvault"

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

ID: 8b568009-2a35-c627-cfa0-ff5cbfde027e
Version Independent ID: 07fc2d02-be89-1170-3b37-9e65808d5d89
Content: Manage storage account keys with Azure Key Vault and the Azure CLI
Content Source: articles/key-vault/secrets/overview-storage-keys.md
Service: key-vault
Sub-service: secrets
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

Related issue: https://github.com/MicrosoftDocs/azure-docs/issues/116676

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

It is correct that feature is removed no longer maintained. Let me add note to with version of CLI where this can still be used for legacy systems.

Update will be published tomorrow morning.

@vzabawski
if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Display multiple results of select - in tabs

Nice would be, when executing the following SQLs:
select * from TableA;
select * from TableB;
It would be great when marking and executing both, if there will be shown 2 Tabs in the result. One Tab for each result grid.

This is possible with "Execute in new tab" command. CTRL+\.

You mean, Ctrl+Alt+X -- "Execute Statements in separate Tabs"
Thats exactly what I meant. Thanks!

any way to do this by default?

will in this case dbeaver split statements on client side send them independently, and display singular result sets, or will there be multiple result sets returned from DB?

@eric-szakacs try to switch your shortcuts as default.


Support Windows Terminal Quake Mode

Open Windows terminal in quake mode.
Add entries to vscode menus to Open in quake mode or open in quake mode by default.

Is the _quake arg stable? The underscore makes me a little nervous.
Regardless I think there should be a setting for this, so the items don't clutter the UI unless the user opts in.


feat: capability for XML's token

Feature request
Implement a capability (decorator) to mark class properties as normalizedString for XML.
Only when this marker is set:

on serializing to XML: replace special characters by space ( ), and collapse all spaces afterward
on deserializing to XML: replace special characters by space ( ), and collapse all spaces afterward

why both? Because the values should not have been in the XML in the first place!
so they must not appear after reading, and they must not appear after writing.
Background
XSD  http://www.w3.org/2001/XMLSchema - which defines token as follows:
<xs:simpleType name="token" id="token">
  <xs:annotation>
    <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#token"/>
  </xs:annotation>
  <xs:restriction base="xs:normalizedString">
    <xs:whiteSpace value="collapse" id="token.whiteSpace"/>
  </xs:restriction>
</xs:simpleType>

token represents tokenized strings. The ·value space· of token is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces. The ·lexical space· of token is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces. The ·base type· of token is normalizedString.

similar to #114

solution as done in TS?JS https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1116

i started working on this, via https://github.com/madpah/serializable/pull/119


Strip inline comments in CartoCSS

Context
When using inline comments // Something in CartoCSS, the map breaks.
It's related to this file.
We have to use the postcss-stripe-inline-comments plugin for PostCSS as we do in Grainstore.
Steps to Reproduce

Create a map
Write an inline comment (// Inline comment) in the CartoCSS

Current Result
The map breaks (example).

In production thanks to @alonsogarciapablo.


Is your phone protected?

I'm safe with Bitdefender Mobile Security. Try it for free on your Android.
https://bit.ly/Bd-Mobile

Thanks for creating this issue. We think this issue is unactionable or unrelated to the goals of this project. Please follow our issue reporting guidelines.
Happy Coding!


server/embeddedetcd: fix npe

This was panic'ing in non-embedded mode.

/lgtm
/approve

/approve


[es] Inconsistency in how Ordering Service is translated

Hi @claudiocebpaz. I think that there are inconsistencies in how Ordering Service is translated in the glossary. It begins as Servicio de Ordenamiento (the title) and next changes to servicio de pedidos. I think better to choose only one name to avoid misunderstands. Moreover, is represented as O in the graphics, so is better to use Servicio de Ordenamiento. Take into account that both alternatives are used throughout the entire document.

Please work on this, and submit a PR.
I agree with your comments.


Make Detaillled CVE vulnerabilities table filterable

Pull Request
Required Fields
:mag_right: What kind of change is it?

feat

:dart: What has been changed and why do we need it?

add filter on Detaillled CVE vulnerabilities table

Optional Fields
:heavy_check_mark: Which issue(s) this PR fixes?

...

:speech_balloon: Additional information?

...

Hi @rcattin,
LGTM, could you just bump the dashboard version at the end of the file?

Done, ty for the dashboards btw !

Thank you for your contribution! :tada:

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


Recognise clang -fsanitize options and translate them

Because we depend on the enable-* form of these options to allow other
compiler or linker options to be set or unset, we need to do this
translation to get things right.
Fixes #8735
[extended tests]

you are missing -fsanitize=address,undefined

and who uses -fsanitize=undefined on the command line will probably not want
-fno-sanitize-recover=all automatically added.

you are missing -fsanitize=address,undefined

And I also don't detect if they're added through the setting of CFLAGS "make variable".  So I reworked this for better detection.

and who uses -fsanitize=undefined on the command line will probably not want
-fno-sanitize-recover=all automatically added.

So if more than one sanitizer is selected, and the -fno-sanitie-recover=all is suitable for one but not for the other, what do we do?  This is reaching the limits of what we can adapt for...

Agreed, but could you just avoid overriding an explicit -fsanitize-recover or -fno-sanitize-recover option?

Hmm.  I thought that this would add -fno-sanitize-recover=all when only -fsanitize=undefined is on the
config parameters.  But now I see that is not the case.
The only thing that is questionable, why does -fsanitize=undefined need -fno-omit-frame-pointer ?
Is that needed for clang?  At leaset gcc does not print full call stacks for ubsan diagnostics.

As I understand it, by default we pass -fno-omit-frame-pointer, and either using the fuzzer or sanitizer we remove that.

For enable-asan and enable-msan adding -fno-omit-frame-pointer makes sense, because it does
a lot more stack traces, than it does print out in the end.  It can also walk the stack through code that
omits the stack pointer but that is a rarely used non-default option and probably much slower.
But ubsan does not depend on frame pointers at all, and neither does thread sanitizer.
Who passes -fsanitize= option will certainly know when to use -fno-omit-frame-pointer.
Anyway, that is just a remark, but no objection to this PR.

Rebased on new master, which brought on a small adjustment.  Need reconfirmation

reconfirmed.
but could you try if -fsanitize=leak (a subset of address) works as expected?

but could you try if -fsanitize=leak (a subset of address) works as expected?

Sure.  I'll make a separate PR if needed

Merged.
bacc3081309ef4489b78d1ee8bf04122785ba588 Recognise clang -fsanitize options and translate them

I just did a build with -fsanitize=leak, and it built cleanly, and seems to test fine.


Add js-out and grpc-web-out options

Add options to allow modifying the output options for node and web code
generation. Add web generation tests.
closes #71

closes #71

@ido-namely is this a reasonable contribution? It's necessary for our use case and hopefully could help others.

@ido-namely, or any other namely developers. What are the chances of getting this merged?

@ido-namely, or any other namely developers. What are the chances of getting this merged?

Hey @artificial-aidan, thanks for putting the PR! It looks good to me, please resolve the conflicts and bump build version in variables.sh https://github.com/namely/docker-protoc/blob/78ef0905e15f1fae2c4fd7e63320174bfaad92c7/variables.sh#L9

Hey @artificial-aidan, thanks for putting the PR! It looks good to me, please resolve the conflicts and bump build version in variables.sh https://github.com/namely/docker-protoc/blob/78ef0905e15f1fae2c4fd7e63320174bfaad92c7/variables.sh#L9

Hey @artificial-aidan, thanks for putting the PR! It looks good to me, please resolve the conflicts and bump build version in variables.sh
https://github.com/namely/docker-protoc/blob/78ef0905e15f1fae2c4fd7e63320174bfaad92c7/variables.sh#L9

Done. Thanks!

Hey @artificial-aidan, thanks for putting the PR! It looks good to me, please resolve the conflicts and bump build version in variables.sh
https://github.com/namely/docker-protoc/blob/78ef0905e15f1fae2c4fd7e63320174bfaad92c7/variables.sh#L9

Done. Thanks!


Correct gradient on user description truncation

(color was white by default, use the same as truncatedAudioInfo)

Trying to find an artist with a big enough description was the real challenge here 😁
Didn't found this earlier, thanks!

Thank you very much for your quick reply! and sorry, I should have included an example artist! Actually the very first few I tested myself had long descriptions... :$


feat: use tooler from getdeck in beiboot

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Files with Coverage Reduction
New Missed Lines
%

getdeck/utils.py
1
49.74%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
1134

Relevant Lines:
1800

💛  - Coveralls


[Issue #289.0] TextQL - Fixed indentation in pom.xml file

Replaced misused '\t' charater with spaces characters in textdb-textql/pom.xml

LGTM.


Support Global Doc V

Story: https://app.shortcut.com/smileid/story/10425/support-global-docv
Summary
A few sentences/bullet points about the changes
Known Issues
Any shortcomings in your work. This may include corner cases not correctly handled or issues related
to but not within the scope of your PR. Design compromises should be discussed here if they were not
already discussed above.
Test Instructions
Concise test instructions on how to verify that your feature works as intended. This should include
changes to the development environment (if applicable) and all commands needed to run your work.
Screenshot
If applicable (e.g. UI changes), add screenshots to help explain your work.

Can you also update the changelog?

The call to hasBackSide should happen within the DocV flow (so that it is abstracted away from partners) rather than as a parameter that is passed in

As per the last discussion, the call now happens inside the country selection flow, and is passed into the sdk as a parameter. The value is always set to true, so we can show the skip button inside the sdk


No crash data sent on 'real' error (not throw new Error)

OS:

[ ]  Windows
[x]  MacOS
[ ]  Linux

Platform:

[x]  iOS
[ ]  Android

Output of node -v && npm -v && npm ls --prod --depth=0
v8.11.4
5.6.0

Config:
<EMAIL_ADDRESS>{
   logLevel: __DEV__ ? SentryLog.Debug : SentryLog.None,
}).install()

Hello. The app doesn't send a crash event from client when it's real crash (not the throw new Error one). It does send errors triggered manually (by throw new Error). Tested on iOS simulator in development mode.
Steps to reproduce:

create some faulty code in the app, but able to build, like someObject.nonExistingField.nonExistingField

Actual result:

I have an error and red screen on Simulator "TypeError: undefined is not an object (evaluating someObject.nonExistingField.nonExistingField) but there's no error reported to Sentry.

Expected result:

error is reported to Sentry and I can see it on the dashboard

did you try Sentry.nativeCrash() ? what is the result

I am closing all old issues, please if this is still a problem feel free to revive it.
Also, consider moving to our new SDK @sentry/react-native if it still happens there please open a new issue.


Adds 404 page

A very boring 404 page at that.

Also this page links to registration so I wouldn't merge until #47 is merged.

Closes #51


Remove .sln from activation event

Removing .sln from list of activation events, this is primarily due to this related issue:
https://github.com/fsharp/FsAutoComplete/issues/620
Thinking about it the combination of other events should be sufficient. What are your thoughts?

As described before (https://github.com/ionide/ionide-vscode-fsharp/issues/1041#issuecomment-576668861) this is by design behaviour.

Thanks @Krzysztof-Cieslak, I missed that discussion.
Would you support a PR that changes FSAC to do the cache initialization lazily?

Would you support a PR that changes FSAC to do the cache initialization lazily?

👍

@Krzysztof-Cieslak can you expand on why you closed this PR?

As described before (#1041 (comment)) this is by design behaviour.

Yes - the whole point of this PR was to change that behaviour. Wouldn't the other activation events be sufficient without *.sln?

As described before (#1041 (comment)) this is by design behaviour.

There's no mention in that issue of why that's the intended behavior.  I can't think of any reason why that would be the case.

Is there any way we could adjust this? It seems to me that there are a sufficient collection of activation events to cover the common F# use cases without requiring activation on seeing .sln files


CUDA Graph support

Hi vLLM genius @WoosukKwon @zhuohan123
After reading the Speed, Python: Pick Two. How CUDA Graphs Enable Fast Python Code for Deep Learning and the llama-cuda-graph-example by Fireworks.ai's @jamesr66a

CUDA graphs address all sources of CPU overhead highlighted above: user-written logic, PyTorch dispatcher logic, memory allocation overhead, and GPU driver/kernel overhead.

Thus, incremental generation can be limited by the CPU speed and thus is a good candidate for CUDA graphs.

While both the regular attention mechanism and the PagedAttention scheme undergo shape changes over iterations, the latter provides a unique advantage when integrating with CUDA graphs.

And with this benchmark

We find that without CUDA graphs, LLaMA-7B inference executes at 30 tokens/sec, but with CUDA graphs enabled it executes at 69 tokens/sec for a 2.3x speedup.

We may refer to and port similar optimizations to vLLM. Cheers.

https://github.com/fw-ai/llama-cuda-graph-example/tree/masked_attn

Hi @zhyncs thanks for bringing it up. I believe their arguments make sense. Currently, we don't use CUDA graphs because of the difficulties in dynamic shape support, but things will get easier if we apply CUDA graphs only on the generation phase.

However, we'd need more investigation and discussion on this, since using CUDA graphs certainly adds complexity and imposes some restrictions to our python code. Considering the ease of future development, having a lightweight C++ backend just like FasterTransformer might be a better option.

However, we'd need more investigation and discussion on this, since using CUDA graphs certainly adds complexity and imposes some restrictions to our python code. Considering the ease of future development, having a lightweight C++ backend just like FasterTransformer might be a better option.

Make sense.

With CUDA graphs being a method that combines significant performance improvement with code flexibility and usability.

But for now, these optimizations require specific expertise that is not yet sufficiently automated.

We will also do some investigations and hope to participate in construction for it.

@WoosukKwon would you mind clarifying how a C++ backend would help alleviate CPU overhead? Do you mean re-implementing the models like FastTransformer in C++ while using paged attention kernels?

@WoosukKwon @zhuohan123 a CUDA graph POC: https://github.com/yunfeng-scale/vllm/pull/1. I realized this is less useful for us since this does not improve throughput, but it might be helpful for the framework overall. let me know if I should move forward with the PR and merge upstream.

However, we'd need more investigation and discussion on this, since using CUDA graphs certainly adds complexity and imposes some restrictions to our python code. Considering the ease of future development, having a lightweight C++ backend just like FasterTransformer might be a better option.

Currently we use an independent memory pool (it is definitely needed) to create cuda graph and capture llama2 gpt model in decoding stage.
This will ease the overhead between kernel launching in host cpu side (even with CPP). In llama.cpp, 15% is estimated by @agray3 in this issue. (yes definitely we should do this in ROCM HIP)
Do we have new benchmark ? @WoosukKwon @yunfeng-scale


Cannot match the whole two-character letters in non-ASCII languages

This whole letter:
सो
is made with two characters.
स ो
But python's re module does not see the second character (even if combined) as a \w (word) character.
In python's regex:
ो  is not in the set of \w
But स  is in the set of \w
This presents us with a problem, where this pattern works as intended:
Find r'(?<!\w)त' in " सत "
But not this one:
Find r'(?<!\w)त' in " सोत "

There's two ways I've thought of, to solve this:

Manually include all the unicode alphabet ranges.
https://unicode-table.com/en/alphabets
https://www.unicode.org/charts/#scripts
Will take some time to setup, but it looks like a sure way to me.

Use positive lookbehind and lookahead to check for whitespaces and punctuation:
https://www.unicode.org/charts/#scripts
This is more difficult, since the punctuation used in certain languages are not near each other in the unicode. There's fewer ranges, but more single characters to include.

Here's an alternative:
regex: ([\p{Alphabetic}])
will match alphabetic characters.
regex: ([\p{P}])
will match punctuation characters.
Reference: https://www.unicode.org/reports/tr18/tr18-21.html#Compatibility_Properties


JavaScript functionality on index page and photo page, better styling

button on index page changes background color randomly and now when you mouseover any of the pictures on the photos page a caption pops up. the styling is also nicer now.

screenshots of the pages!


Optimize install/attach/detach of firebug logger actor

The front (client) should attach Firebug logger actor only when necessary. It should be attached only when the server side logging options are on (at least one) and detached again when it's all off.
Further, the registration (installation) of the actor should not happen until the actor is actually needed. If the server logging options are off by default the actor should not even be registered. The installation should happen the first time the user actually sets any of the server side logging.
Honza

The entire logger feature is now built-in Firefox
Honza


"Uncategorized" category does not appear when editing a categorized item

The category for "uncategorized" shows as a blank area in the dropdown list when I want to move a gradebook item that is in a category to the uncategorized category.
Steps to reproduce:

Create a gradebook item and assign it to an existing category
Click on Edit Item Details
From the "Category" drop down, the first blank area is actually the "uncategorized" category, but the text indicating that information does not appear.

Users probably do not typically need to move something to uncategorized, but it may be helpful to see the name. It may also be helpful if the uncategorized category appeared at the bottom of the dropdown list rather than the top.

Thank you, @JulianneMorgan ! This is a great catch, and seems like a very reasonable remedy. The GB team will look into this.

Discussed 9/9/2016:
Add 'Uncategorized' to replace the blank and add to the bottom (as categories in the list respect the ordering of the categories in the gradebook)

Confirmed:


enhancement: optimize rabc setting of openyurt components

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage
/sig storage

/kind enhancement
What this PR does / why we need it:
optimize rbac setting of certificate generation in yurt-controller-manager, yurt-tunnel-server, edge-hub components.
the reference link is here: https://raw.githubusercontent.com/kubernetes/website/main/content/zh/examples/access/certificate-signing-request/clusterrole-approve.yaml
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/assign @Fei-Guo

/lgtm
/approve


Add clearer language describing UNION ALL

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@matthewoldham thanx for this pr


az login getting sl

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login

Errors:
Paste here the error message you have received. Make sure to remove all sensitive information,
such as user name, password, credential, subscription ID, etc.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login

Expected Behavior
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.10.8
Installer: MSI

azure-cli 2.45.0

Additional Context

Paste here the error message you have received. Make sure to remove all sensitive information,
such as user name, password, credential, subscription ID, etc.

PS C:\Users\vinay.dev> az login
The command failed with an unexpected error. Here is the traceback:
HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /organizations/v2.0/.well-known/openid-configuration (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x044141A8>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')))
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 174, in _new_conn
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/connection.py", line 73, in create_connection
File "socket.py", line 955, in getaddrinfo
socket.gaierror: [Errno 11002] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 696, in urlopen
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 964, in _prepare_proxy
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 358, in connect
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 186, in _new_conn
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x044141A8>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed
D

Similar to https://github.com/Azure/azure-cli/issues/11829. Looks like some network issue.

Issue fixed by removing http_proxy env variable, which was added by mistake during testing
az bicep install command ,
which is still not resolved, but az login is working fine
PS C:\Program Files\PowerShell\7> az bicep install
Error while attempting to retrieve the latest Bicep version: HTTPSConnectionPool(host='downloads.bicep.azure.com', port=443): Max retries exceeded with url: /releases/latest (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))).


Date time parsing in Accessors

Hi,
I am trying to parse the created_at to a readable format using  an Accessor method
public function getCreatedAtAttribute($value) {

               return Carbon::parse($value)->diffForHumans();

   }

which throws

DateTime::__construct(): Failed to parse time string (xxxxxxx) at position 11 (0): Unexpected character

Anyway to work around this ? Digged a lot and couldn't find anything to solve this. Thank you

Would you post an example string in the error message (xxxxxxx) please?  (I don't think this has to do with laravel-mongodb)

@george-viaud That was the time shown in epoch format

I assume this is in your model?  If so, there is no need to pass a variable in, just do:
return $this->created_at->diffForHumans();

Laravel will auto-magically treat any $dates field as Carbon.
Hope this helps

Simple example from inside tinker using standard Users collection:
>>> \App\User::first()->created_at->diffForHumans();
=> "2 years ago"

Ahh.  Carbon doesn't take epoch time in this way.  Try createFromTimeStamp instead:
Carbon::createFromTimeStamp(1540051389)->diffForHumans();

Thanks


assets:precompile causes Propshaft::MissingAssetError (dev & prod)

Environment

Rails <IP_ADDRESS>
Ruby ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21]
Bundler 2.3.9
Propshaft 0.6.4

Problem
As far as I understand Propshaft has two ways to resolve assets: dynamically and statically. Dynamic is the preferred way for development and static the way for production as assets get precompiled to public/assets.
Now, I recently deployed my project to Heroku and noticed that it crashes immediately as I visit the URL. Upon checking logs I noticed the following error message:
Propshaft::MissingAssetError in Home#index
The asset 'tailwind.css' was not found in the load path.
...

I double checked on Heroku and confirmed that the public/assets folder was correctly created. I also took a look at the .manifest.json and found no problems. I tried to reproduce the problem locally by running rails assets:precompile and voilà: same error message and same behavior (i.e. public/assets and .manifest.json look fine).
I noticed that this problem isn't specific to tailwind.css as stated in the error message - it seems to be any asset really. Oddly enough, upon rails assets:clobber everything works fine again locally as Propshaft switches back to the dynamic resolver.
Please note, this is fairly fresh rails project (about a week old) and I have not changed the default config in development.rb,  production.rb and application.rb - yet I am unable to get the project to work properly after a rails assets:precompile.
What am I missing?
(I've attached a full stack trace just in case)
stack_trace.log

I will need more information to help.
1 - Which css gem are you using? cssbundling-rails, dartsass-rails, or tailwind-rails?
2 - When you say the manifest file has no problem, do you mean that it has an entry for tailwind.css file?
3 - Is tailswind.css file in the public/assets folder after precompile?

@brenogazzola thanks for looking into it!
Below the information

tailwindcss-rails 2.0.8-arm64-darwin
correct, this is what the manifest looks like after a rails assets:precompile

{"tailwind.css":"tailwind-fb954058e5fd6a4053212d3556fa206f22302e90.css","backgrounds/bank-note.svg":"backgrounds/bank-note-50af140247e3439021747435ae92c3fd80e32f19.svg","backgrounds/undraw_no_data.svg":"backgrounds/undraw_no_data-0c5103bc939b8a036c3843619f98420dfc43de2a.svg","backgrounds/circuit-board.svg":"backgrounds/circuit-board-3d78da3974a2290c319c15e7034bd9dbd8450bb9.svg","backgrounds/undraw_alert.svg":"backgrounds/undraw_alert-b085948b5447f62750d4131c93e60e8405a138d2.svg","backgrounds/graph-paper.svg":"backgrounds/graph-paper-32da6b2f96dba9c94727a2cafec73a5f38b3d66a.svg","backgrounds/falling-triangles.svg":"backgrounds/falling-triangles-2f52a5b6f9dc00502def4eaf5ef8b4c9dfc461d9.svg","application.tailwind.css":"application.tailwind-d0d91abd3e76a75273408065798334439ec3368e.css","application.css":"application-2d04d1b749c0e0e5100489b3b423c9b8ce2e27e4.css","Inter-italic.greek.var.woff2":"Inter-italic.greek.var-0237d2cb53480f610892ca60df2a312ef229dc78.woff2","Inter-roman.latin.var.woff2":"Inter-roman.latin.var-f4cf732763710b1578dcb10fada6484284e39ac3.woff2","Inter-italic.vietnamese.var.woff2":"Inter-italic.vietnamese.var-b86af8f080cf435b6679bdc2fe5d01e67a73d968.woff2","Inter-roman.cyrillic.var.woff2":"Inter-roman.cyrillic.var-617f83b242b64f68afd70903d382f0f6305bb590.woff2","Inter-roman.greek.var.woff2":"Inter-roman.greek.var-500924034d991abcee1c493af565badbc214a4bc.woff2","Inter-roman.alternates.var.woff2":"Inter-roman.alternates.var-384656f1c6ce84130f8b902cf5267bd17eec995c.woff2","Inter-italic.latin.var.woff2":"Inter-italic.latin.var-26f4216faef913a69714ee7d28f12d31a71bc224.woff2","Inter-roman.vietnamese.var.woff2":"Inter-roman.vietnamese.var-ecac6871adf22786ac28da931b7b570f75a71654.woff2","Inter-italic.symbols.var.woff2":"Inter-italic.symbols.var-94f0c2bd9453870b21f4a1b633a8818dbe41f3b1.woff2","Inter-italic.extra.var.woff2":"Inter-italic.extra.var-6a679c243c7a75b26fe6bdb7f8b2e56124007945.woff2","Inter-roman.symbols.var.woff2":"Inter-roman.symbols.var-fc6b8addd3e8a0040c87cb153662ec54b706ba32.woff2","Inter-italic.latin-ext.var.woff2":"Inter-italic.latin-ext.var-90bd98d581429f8b459a71219968bf188f1f0989.woff2","Inter-italic.alternates.var.woff2":"Inter-italic.alternates.var-6a679c243c7a75b26fe6bdb7f8b2e56124007945.woff2","Inter-roman.latin-ext.var.woff2":"Inter-roman.latin-ext.var-c2fb49f067b59023e4a2b00a567458529bbd92fa.woff2","Inter-italic.cyrillic.var.woff2":"Inter-italic.cyrillic.var-b860a9d06fa7dc1f844a2343a096762d1b5513a0.woff2","Inter-roman.extra.var.woff2":"Inter-roman.extra.var-384656f1c6ce84130f8b902cf5267bd17eec995c.woff2","inter-font.css":"inter-font-5d03f6e514e09bb762620f3f1d38145a16f6504f.css","stimulus.min.js":"stimulus.min-18eaacc58b7827f3729d07fff0094620e22f9c20.js","stimulus.js":"stimulus-33b5690d111cc0620be9dd1b12e236dacf03a024.js","stimulus.min.js.map":"stimulus.min.js-787cb4d685ae9a10466252272464074f1215b5a9.map","stimulus-importmap-autoloader.js":"stimulus-importmap-autoloader-8678f88c061b2304855da698756b741391e08db4.js","stimulus-autoloader.js":"stimulus-autoloader-f0ebf72276e8a3370cc9bf4bb5888307b3d4bb02.js","stimulus-loading.js":"stimulus-loading-e367296568a6df104dc84fcfe5d1aafae5076fc0.js","turbo.min.js.map":"turbo.min.js-be482c12399498cf96dfffc770008c5c80f46f68.map","turbo.js":"turbo-584e11f34371796122a0100de30f21d9a7e4af20.js","turbo.min.js":"turbo.min-2e103ccc37abc7e592e309b1e6fa6aab152c8c99.js","es-module-shims.js.map":"es-module-shims.js-3a66b10e1bd5dc914a9eb8dd80ffd6d9b606d3ea.map","es-module-shims.js":"es-module-shims-6a29d1d0b1d1409eca0af6175eb03f8e14cffc55.js","es-module-shims.min.js":"es-module-shims.min-5ae73ca96350ef69888fc88e45277f783c0be43b.js","action_cable.js":"action_cable-a21b4532ea1400611d408e8375c5c42a35c11199.js","actioncable.esm.js":"actioncable.esm-850276fc683d4c874d6c73f5ed0954f24f5bf389.js","actioncable.js":"actioncable-121775e39ad4dc481c68abee9955c60b0b1ff7d6.js","actiontext.js":"actiontext-92c50511824a8ff9a235f6e1ee2e9627b9bd0f27.js","trix.js":"trix-c9e1c067e4bfaad3fb2c0e4d65b5b11115fc3f6a.js","trix.css":"trix-f84c5ee27b3a44e58ee790d379e9bb11624891e2.css","activestorage.esm.js":"activestorage.esm-852e4c97bb3b9e7a957506bc1993528ae91843a5.js","activestorage.js":"activestorage-14ce7a0eac3f16a2135c9bda5402d49953c1a3bc.js","rails-ujs.js":"rails-ujs-c3b690f9b8614cb5b5611b669cbf480235543f71.js","application.js":"application-71cc3ac8c00a1b68a53eca7aa49b154c8a5d858b.js","controllers/index.js":"controllers/index-a60852f1edb9abac18231d32c970b5d1d066dc74.js","controllers/application.js":"controllers/application-dd6ee432f25b60298ff91381e781b92a7f218ff6.js"}

It is. The name even matches the digest-stamp in the manifest.

The stylesheet_link_tag is unchanged as far as I can tell - that's why I am unable to figure out what the problem is.
<head>
  <%= display_meta_tags site: "My Title", reverse: true %>
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <%= csrf_meta_tags %>
  <%= csp_meta_tag %>
  <%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>

  <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
  <%= javascript_importmap_tags %>
</head>

Yeah, everything looks fine. When you run precompile does the build folder already exist?
(Build folder must exist at all times and be commited to the repo. Just the folder, not the files inside).
If yes, do you think you can provide a minimal version of a project that contains the error? I’ll debug to figure out what’s broken.

Yeah, the build folder exists and is committed into VCS - contents are ignored.
@brenogazzola you should've received an invite to the project I'm having trouble with. I appreciate you looking into it!

@brueggemann-erik Found it. The problem is this initializer:
Oj.default_options = { symbol_keys: true }

Propshaft uses standard JSON.parse when reading the manifest file, and therefore expects all keys (the asset names) to be string. This is turning them intro strings. Just remove it and you will be fine.

Sorry, I'll reopen this while I discuss if we should support this option.

@brenogazzola thank you so much - would have never guessed that to be the culprit. 😊

No problem. Don’t forget to remove me from the project.


 This gives us confidence that we haven't broken core functionality when deploying.
Unfortunately, all of our core functionality is behind DfE Sign In. This limits how effective a minimal smoke test can be for our services.
We should review how we want to improve our smoke tests later.
Changes proposed in this pull request

Add a way to configure the targeted service for system and request specs
Add a way to perform smoke tests via Capybara

Guidance to review

Smoke tests are currently configured to make requests on the http://claims.localhost:3000 and http://placements.localhost:3000 hosts.
Ensure your development server is running and runs the smoke tests with bundle exec rspec --tag smoke_test. You should see access logs.
 The tests should fail.

Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[x] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated or added to the Azure KeyVault

 Add minimal smoke test


Wrong save on lost focus

From @yuyuki on December 30, 2016 10:3

VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:49:23.350Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

Bookmarks
alefragnani
0.10.1

vscode-color
anseki
0.2.2

path-intellisense
christian-kohler
1.2.0

gitignore
codezombiech
0.5.0

jshint
dbaeumer
0.10.15

EditorConfig
EditorConfig
0.3.4

tslint
eg2
0.7.1

vscode-npm-script
eg2
0.1.5

auto-rename-tag
formulahendry
0.0.9

docthis
joelday
0.3.6

net-core-project-manager
ksubedi
0.3.6

vscode-JS-CSS-HTML-formatter
lonefy
0.2.2

HTMLHint
mkaufman
0.3.3

prettify-json
mohsen1
0.0.3

csharp
ms-vscode
1.6.2

tsimporter
pmneo
1.2.13

vscode-icons
robertohuertasm
4.3.0

sass-indented
robinbentley
1.3.0

code-settings-sync
Shan
2.3.8

stylelint
shinnn
0.21.1

autoimport
steoates
1.2.2

change-case
wmaurer
1.0.0

html-css-class-completion
Zignd
1.0.3

Steps to Reproduce:

set  "files.autoSave": "onFocusChange" in your setting
open two files in split windows
make some modification on one file without saving
click on the second file in the second window
the code of the first file is save in place of the code in the second file

Copied from original issue: Microsoft/vscode#17932

I think it's expected as focus change event is occurred on the first file so the content of first file is saved.

From @yuyuki on December 30, 2016 18:48
I'm not agree with you.
I think when the first window lost focus the new content MUST BE SAVE ON THE FIRST WINDOW.
The problem is that the content of the first window is save on the second window.
Sorry for insist but I do not meet the problem with webstorm.
Thank you and happy new year ☺
Jaufré Devosse
Envoyé par BlueMail
Le 30 déc. 2016 19:41, à 19:41, Peng Lyu<EMAIL_ADDRESS>a écrit:

I think it's expected as focus change event is occurred on the first
file so the content of first file is saved.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/Microsoft/vscode/issues/17932#issuecomment-269806724

From @yuyuki on December 30, 2016 19:2
It's exactly that.
Thank you to understand and I wish you the best for next year
Jaufré Devosse
Envoyé par BlueMail
Le 30 déc. 2016 20:01, à 20:01, Peng Lyu<EMAIL_ADDRESS>a écrit:

@yuyuki sorry that I might misread the description you put it there.
Are you saying the content of first window is saved into the second
window? If so then it's a valid bug.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/Microsoft/vscode/issues/17932#issuecomment-269808974

@yuyuki sorry that I might misread the description you put it there. Are you saying the content of first window is saved into the second window? If so then it's a valid bug.

Thank you for your patience and happy new year! I'd like to ask just one more question, when you open two files in split windows, are you editing the same file in two split windows or two different files in different windows?
Right now from what I tell, editing the same file in two split windows with onFocusChange is ruined but I don't run into any issue if I'm editing two different files in different windows. Hope you can help confirm.

From @yuyuki on December 30, 2016 19:37
Hi,
You can see my test on this video on youtube
I've tested with javascript and typescript. The bug is reproduce only with javascript file

@yuyuki thanks for the video, it shows how the problem goes great!
However I still can't reproduce this issue even with the same files you are using. Could you please disable all extensions and see if you can still reproduce this?


Certain let indent syntax not recognized

Hey, thanks so much for the latest release. It makes elm development 10x better than before :)
There is an issue though that in the evancz/elm-graphics package this indenting seems to result in a syntax error in the plugin: https://github.com/evancz/elm-graphics/blob/master/src/Collage.elm#L326-L327
And that is also causing the rest of the definitions of that file to not be recognized either.

What plugin are you talking about?

Ah wrong repo, soz!


YouTube multi audio track

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
What is the command to embed multi audio track video?
Like this video: https://www.youtube.com/watch?v=LnlKwzc_TNA
This video has 7 audio tracks. I want to download those 7 tracks and embed them.
-f "bv*+mergeall[vcodec=none]" --audio-multistreams this command downloading all differnt audio formats, which I don't want. I only need 7 different languange audio. I don't care about audio formats. Auto audio format selection is fine for me.
Verbose log
No response

This is not currently possible https://github.com/yt-dlp/yt-dlp/issues/1176

What I can think of is to choose the audio formats manually so that it can work well.
´´´yt-dlp -f "(bv[height<=1080]+251-0+251-1+251-2+251-3+251-4+251-5+251-6)[ext*=webm]"´´´

if you are sure the format ids are always named 251-n, you could do -f bv+mergeall[format_id^=251]

This is not currently possible #1176

Is there any possibility of getting this feature in near future?
With proper short command.

Subscribe to #1176 to be notified when there is any update on this


Update optional-list.txt

4players not loading
Google Docs not loading
YouTube on mobile devices
Google Translate not loading

@alexruf Thanks for the PR, but I don't see these domains on default blocklists. Can you mention the host files in which these domains are blocked?

I have to apologize for the PR. Seems like you're right and the domains are not blocked by the default filter lists, but from an additional filter list which was added.
Sorry!

Can you please share that list with us anyways?

Sure. Before I discovered Pi-hole, I was using AdGuard on my desktop & mobiles. Since I am located in Germany the default Pi-hole lists don't work well for me.
So I just added the AdGuard filter lists.
Especially the following once:

English filter
Spyware filter
German filter
Mobile ads filter

Is it possible to import those lists directly into pihole?

@alexruf Thanks for the information. I will check these domains with Wally3k's lists, if I found these domains in those host files I will add them to whitelist

@PascalMinder No you cannot use these filters with Pi-Hole since it's not in host file format.

Thanks for the hint, didn't recognize that they format of those lists is different. Well, I was able to import them anyway and it didn't complain about the format. They seem to partially work anyway since most of the ads are blocked for me now.

@alexruf These domains are not blocked in any of the block lists. However I will keep an eye on these domains.


Improve Grabbing Behavior

Describe the problem
I am always frustrated when I use the ObjectManipulator (or in general the PointerDown / PointerUp) because, to grab a virtual object and move it from point A to B, it requires that the hand is 100% visible. Once there is a short <100ms~ disturbance, where the hand that was grabbing gets "lost", it releases/drops the object. Which forces the user again to do the pinch gesture and grab the object again. It's not a good UX.
Describe the solution you'd like
I would like to have a checkbox that activates an experimental improved/stable grabbing (e.g. for the ObjectManipulator). And there I have the idea, of having a short-timer (0.1s - 1s) which waits that time to get again positional values from the hand before actually triggering the release aka ManipulationEnded.
Describe alternatives you've considered
If we don't solve that in high-level scripts like ObjectManipulator, then there should be an option via MRTK Profiles, that activate "extended/approx. Hand Tracking", which gets activated, when HoloLens loses the hands tracking, and this algorithm jumps in and gives the best possible estimated data for the hands, so the high-level scripts think, they are getting values and don't release the object.
Additional context
Here is a short gif showing the issue. Here I use the MRTK Examples and grab the cheese and move around, and then I take a ruler and move it fast between the HoloLens and my grabbing-hand to simulate a small disturbance.

This should get fixed in MRTK v3 as we move onto a newer input system backend!

This should get fixed in MRTK v3 as we move onto a newer input system backend!

Any rough estimations when v3 will be released? Q1? Q2?

We're currently targetting Spring/Summer 2022

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


analytics: Fix the query for messages_sent_to_stream:is_bot.

Automated message from Dropbox CLA bot
@rishig, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @rishig!


Update in preparation for Python3.8 deprecation of importing ABCs from collections

Updates the use of collections in preparation for Python3.8, see https://github.com/python/cpython/commit/c66f9f8d3909f588c251957d499599a1680e2320 (and also avoids deprecation warnings when using iris in Python3.7).

Test failures appear to all be plotting and docs related so I think this is blocked for now

@DPeterK is my understanding correct that this is failing for reasons other than the changes made in the PR?

@znicholls you are right, all recent PRs against master have these errors.  I believe these should be fixed once #3316 is merged, then we can all rebase!

@rcomer are you the right person to ask for a review?

are you the right person to ask for a review?

@bjlittle will know the best person to nominate to review this.

@bjlittle are you able to review this one, I think it's pretty trivial?

This looks OK except for the change to collections.Counter which I believe is incorrect. Can you sort that out @znicholls and we can get this merged.

Should be sorted now cheers @ajdawson ~

Thanks @znicholls, would you mind squashing into a single commit? In case you don't know, you can squash these commits by doing an interactive rebase onto the commit before your first one git rebase -i b209642 and choose squash/fixup for every commit except the first. Let me know if you have questions.

Assuming I haven't mucked up the header handling I think this should be good now

would you mind squashing into a single commit?

Just intrigued - why do you want @znicholls to do that, when you can squash on merge yourself : is it just for the contributor to write the commit message ?

Just intrigued @ajdawson - why do you want @znicholls to do that, when you can squash on merge yourself : is it just for the contributor to write the commit message ?

Habit I suppose... I assume you are referring to the squash-and-merge button? In this case that would have been a sensible use of it.

@ajdawson Habit I suppose...

😁


TypeError: Cannot read properties of undefined (reading 'wgl_camera')

I run examples from https://makie.juliaplots.org/v0.15.2/tutorials/basic-tutorial/
replace CairoMakie by WGLMakie and JS exception occurs:
...TypeError: Cannot read properties of undefined (reading 'wgl_camera') ...
here is the code:
using WGLMakie f=Figure() ; ax=Axis(f[1,1])
WGLMakie version is v0.6.12, both on windows and fedoras 35

Duplicate of: https://github.com/JuliaPlots/Makie.jl/issues/1546


It doesn't compile in Windows and Linux, am I doing something wrong?

For Ubuntu I followed your Linux setup guide and when I compile the code this is the error given:
https://pastebin.com/nhBt5KPX
Then I tried on VS Code but I can't compile there too,  and it give me this error:
https://pastebin.com/SUE7UgbA
The VS Code "task.json" for compiling is the following:
{ 	"version": "2.0.0", 	"tasks": [ 		{ 			"type": "cppbuild", 			"label": "C/C++: g++.exe compila il file attivo", 			"command": "C:\\msys64\\mingw64\\bin\\g++.exe", 			"args": [ 				"-std=c++11", 				"-fdiagnostics-color=always", 				"-g", 				"${file}", 				"-o", 				"${fileDirname}\\${fileBasenameNoExtension}.exe" 			], 			"options": { 				"cwd": "${fileDirname}" 			}, 			"problemMatcher": [ 				"$gcc" 			], 			"group": { 				"kind": "build", 				"isDefault": true 			}, 			"detail": "compilatore: C:\\msys64\\mingw64\\bin\\g++.exe" 		} 	] }
I don't know if I'm dumb and I'm doing something wrong but I can't figure out how to fix even if I read the issue #55 and the other one about the same problem.
Sorry for the disturb and I appreciate if you can help me

Hey, @Jg747 I'm sorry, I missed your two issues, this happens when I don't read my emails on that day =/.
I will investigate what is going on, I imagine you have moved to use something else, but thank you for creating these issues and reporting this problem.
Regards.

Hey, @Jg747 I'm sorry, I missed your two issues, this happens when I don't read my emails on that day =/.
I will investigate what is going on, I imagine you have moved to use something else, but thank you for creating these issues and reporting this problem.
Regards.

No, don't worry, I solved the issue by myself. The error was that I wasn't compiling the .cpp files of CParse into one application, I only compiled the main and linked your library, now it works well.

Oh that's good. I am happy it worked eventually. I will then proceed to close this issue and the other one. Feel free to create new ones if you need, I will try to respond faster next time =P


When did the WindowManager.getAll('main') method obtain results that were not unique?

the code is this
  sendToWindowsOfName(name, event, ...details) {
    const windows = WindowManager.getAll(name);
    _.forEach(windows, (window) => {
      if (window) {
        this._send(window, event, ...details);
      }
    });
  }

I would like to ask under what circumstances, the result is not unique?
because i always find `WindowManager.getAll('main') ====> [object BrowserWindow]'

With our uses, normally getAll returns a single window but the point is, in the future it is API safe to return multiple.


Fix makefile default target

i think .DEFAULT_GOAL is a special variable, it should be defined using := operator ^1 ?
found the issue when building w/o target specified:
❯ make
go mod tidy
go: downloading k8s.io/api v0.26.2
...
go: downloading github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38
test -z ""
test -z  || echo "[WARN] Fix formatting issues with 'make fmt'"
golangci-lint run
make: golangci-lint: No such file or directory
make: *** [Makefile:96: check] Error 127


Fix crashing when changing Node type.

Checks if selection is not null before accessing it.
Fixes #30493
I think there's a better way to do this...

Seems fine, but please amend the commit log to be more descriptive, the commit title (first line) should explain what the fixed bug is. E.g.:
Fix crash when changing Node type

Fixes #30493.

Done, is it okay now?

Thanks!


How can I know if a job panicked?

If I execute a job, how can I know it has panicked?
The example uses a channel to collect results, but I don't think it's possible to distinguish between a response that won't be sent, and a response that hasn't been sent yet.
use threadpool::ThreadPool;
use std::sync::mpsc::channel;

let pool = ThreadPool::new(4);

let (tx, rx) = channel();
for i in 0..8 {
    let tx = tx.clone();
    pool.execute(move|| {
        if i == 4 {panic!();} // -- unexpected failure added here --
        tx.send(i).unwrap();
    });
}

// And now this code waits forever:
assert_eq!(rx.iter().take(8).fold(0, |a, b| a + b), 28);

@pornel What do you think about https://github.com/frewsxcv/rust-threadpool/pull/31 ?

I don't see how it solves the problem of iterator being stuck forever.
It would work for me if rx.iter() returned Results with errors for panicked threads. Or if there was pool.execute().or_else(||) callback to let me provide the error value.
For now in my code I use a dummy object with Drop that sends back Err when thread is unwinding.

Sorry, I just skimmed this issue and all I took away was "If I execute a job, how can I know it has panicked?", which the PR solves as long as you're polling (which I am).
A different solution would be necessary for the iteration example.

I just merged https://github.com/frewsxcv/rust-threadpool/issues/31, but I'll leave this open as there's still room for improvement.

catch_unwind is now stable, which might make this easier to implement?
http://blog.rust-lang.org/2016/05/26/Rust-1.9.html

The solution is to reduce the lifetime of tx:
extern crate threadpool;

use threadpool::ThreadPool;
use std::sync::mpsc::channel;

fn main() {
  let pool = ThreadPool::new(4);

  let rx = {
    let (tx, rx) = channel();
    for i in 0..8 {
        let tx = tx.clone();
        pool.execute(move|| {
            if i == 4 {panic!();} // -- unexpected failure added here --
            tx.send(i).unwrap();
        });
    }
    rx
  };

  // And now this code waits for all the senders to be destructed:
  assert_eq!(rx.iter().take(8).fold(0, |a, b| a + b), 24);
}

because the iter of rx will stop as soon as there are no more senders and take only iterates over the first n? iterations of iter`.
This works because iter returns an iterator that will block waiting for messages, but never panic!. It will return None when the channel has hung up.
The final None will cause the fold to terminate, so it correctly calculates all the values exept the 4.
Maybe we could add this to the examples, what do you think?

join is now a method on ThreadPool to wait until all jobs have finished:
https://docs.rs/threadpool/1.6.0/threadpool/struct.ThreadPool.html#method.join
It seems like one can call join and then check the panic_count of the ThreadPool to see if there were any panics. Is it fair to say this issue is solved now?

Thanks


Doesnt take variable in value prop

If I write the below line as value="suman" , then it works but if i assign a variable name="suman" and use it as below then it doesn't work.
 <QRCode value={name} />

It will throww an error like this :
Error: No input text

Just commenting here how I figured out how to use this in case it isn't clear to others. The above sample will work like this:
<QRCode value={`${name}`} />
This works for me.


No distinction between what needs to be setup manually and automatically is shown. Very confusing.

The text is generally open to interpretation and misleading.
This document was at the centre of a support ticket that ran for 118 days.
RE: [EXTERNAL] Re: virtual entity relationship - TrackingID#2307070050003549
Had the document been more helpful it would have not caused so much confusion.
The headings are:

Native entity-to-native entity relationships
Virtual table-to-virtual table relationships
Virtual table-to-native table relationships
Native entity-to-virtual entity relationship
The terms native table and native entity are both used, as is virtual table and virtual entity, these should be rationalised.
Point 4 reads 'users associate native records with finance and operations virtual records, and the GUID of the virtual entity is saved on the native entity record'
Many(VE) to One(DV) success
One(VE) to many(DV) fails
There is no reference to the side of the relationship when it is created.
The attached shows how this is confusing in practice as used in the support ticket
This is the situation.
Virtual Entity(One) to Dataverse native(Multiple) does NOT need X++ coding.
Virtual Entity(Multiple) to Dataverse native(One) 'requires' X++ coding.
Where the synthetic relationship needs to be coded in X++ the supplied code fails when posted in a mapping extension.
Guidance as to where it should be posted is much needed.

The text also refers to the need to setup keys in Dataverse to include the company account.
In our current version this is already in place, this might now be the standard so again the text could be simplified.
Thanks, Richard UK
VEDEMO-relationship-trials.pdf

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

ID: 10cac4f9-75f5-9d60-60fb-12d438543138
Version Independent ID: d5376bf6-9fae-8c6f-cd37-cdc0017e089e
Content: Entity modeling - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/power-platform/entity-modeling.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @Sunil-Garg
Microsoft Alias: sunilg

Reached out to PM for guidance.


PSBT with seedsigner doesnt work

The problem accour in the final step of PSBT, when the seedsigner generates the qr containing the signed txo. OBW isnt able to recognize the qr and shows an error. It shows a load screen when scanning qr that end at 99% with the fatal error.
The seesigner signin seems to work (no error reported, no unexpected behaviour and the final qr is correctly generated).
The same issue is present in SBW.

Here's the error message (I censored what I naively think are some hashed data like utxos involved in the transaction, pardon me if it result ridiculous).

Thank you for this report. I will try to decode the error message and investigate this as soon as possible.

I checked how seedsigner manage the PSBT process and I discovered that the final qr generated from seedsigner contains only the sign (not the tx signed). So it is the coordinator (OBW) that need to bring togheter the tx and the sign and then broadcast it.
I dont know how passport works, but in the video seems to work well (https://www.youtube.com/watch?v=93EZrNC7AN0). Highligtning the diffs of the two HW I think we will find what could be the problem. (just speculating: is the passport in the last qr shows the full signed tx and so OBW just scan for a full tx hex?).
Another check that could be useful is analize the wallets that actually works as coordinator with seedsigner; sparrow works well and I think it has some java libraries in common with OBW (hummingbird?).


fixed issue

Description

Hello, made the small script that create the files with a message inside and print it to the console! thanks
Additional Context

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


add support for turbo tags

What is turbo tags?

turbo is similar to htmx
https://turbo.hotwired.dev/reference/frames
It has some specific tags to hande frames and streams and also some specific attributes


[FEATURE] A way for validating textField with type type none

Is your feature request related to a problem? Please describe.
Input field validation is not available for the textfield with type none. Scenario when need to send some more data into vault other than the provided type and requirement is to validate it as well. It is not available as per current implementation.
Describe the solution you'd like
A way to inject custom validation or way of adding custom type with custom validation.
Inject a validation model with regex for a custom type.
Describe alternatives you've considered
NA
Additional context
This is very generic requirement which can be there for saving sensitive data other than card details into the vault and there is a requirement to validate it as well.
Possible solution
Don't have it right now, but can submitting a PR if asked.

Hello @siddharthsuneel-Deserve , we have this feature in our roadmap. For now it's possible to setup configuration.formatPattern string, this will limit the input length and prevent from adding not valid character types in VGSTextfield. To know when the input is full you can check textfield.state.inputLength. However for more complicated validations setting custom regex feature still required.

Hello @siddharthsuneel-Deserve, we released pre-build validation rules in VGSCollectSDK v1.5.5. Now it's possible to add/edit validation rules to VGSTextField through it's configuration:
configuration.validationRules = VGSValidationRuleSet(rules: [
    VGSValidationRuleLength(min: 6, max: 9, error: "WRONG LENGTH"),
    VGSValidationRulePattern(pattern: "^555\\d*$", error: "PATTERN FAILED")
  ])

Check our documentation for more details.


Extend Catalog Restrictions to include spec.Free for [Cluster]ServicePlans

When applying catalog restrictions, the current properties of the plan can be used:
name - the value set to [Cluster]ServicePlan.Name
spec.externalName - the value set to [Cluster]ServicePlan.Spec.ExternalName
spec.externalID - the value set to [Cluster]ServicePlan.Spec.ExternalID
spec.serviceClass.name - the value set to ServicePlan.Spec.ServiceClassRef.Name
spec.clusterServiceClass.name - the value set to ClusterServicePlan.Spec.ClusterServiceClassRef.Name

It would be cool to also extend this to allow the user to specify they only want free plans (spec.Free)

#dibs


Support FreeBSD/amd64 architecture

This commit includes the .so library installed by the pkg tool on FreeBSD 10.3. (Command: sudo pkg install libsass)
Docker does not support FreeBSD, a problem that I have documented more thoroughly here [1]. As a result, I have not included docker resources to build the FreeBSD/amd64 libsass library.
[1] http://blog.altometrics.com/2016/06/dockers-dirty-little-secret/
This PR supercedes and closes bit3/jsass#40.

Merged and released as 5.2.0.
For future support #45 will add cross-compile-builds.

Thanks, @tristanlins!


[ANCHOR-161] Validate assets

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[x] This PR adds tests for the most critical parts of the new functionality or fixes.

What
Add amount validations in patch transactions
Why
We need to validate if the asset is valid before it commits the transaction
Known limitations

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr840.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr840.previews.kube001.services.stellar-ops.com/


APM/Otel Relationship with AWS AmazonMQ - Relationship Definition

Relevant information
For any service instrumented using Otel or New Relic APM, a service map is shown in the new relic dashboard which displays the relationship between the service in question and other entities it is dependent on.
In case a service calls a MQ service of AWS, this relationship is not shown in the service map. Instead, it shows that the service calls an external entity.
With the code changes in this PR, the user can correctly see the relationship between the Otel/APM service and Amazon MQ exchange or topic or queue (ActiveMQ or RabbitMQ)
Checklist

[ ] I've read the guidelines and understand the acceptance criteria.
[ ] The value of the attribute marked as identifier will be unique and valid.
[ ] I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

Hi @Sanjalee-NewRelic.
We will be closing PR's that haven't had any interaction in a month. If this PR is still needed please reopen the PR and answer the feedback requests.


Change test URL scheme from http to https

Change test URL to accommodate Apple’s impending requirement for iOS
apps to use ATS.

looks great, thanks