Add bower.json to .npmignore

See https://github.com/webpack/webpack/issues/1042
This ensures webpack will not use bower.json when react-widgets is installed from npm.

Whoops.


Windows Distribution .zip files are reporting they are invalid

When I attempt to unzip either of the Windows portable .zip archives, I get an error from Windows stating the archives are invalid on Windows 8.1 Professional.

Hello,
thanks for using mongoclient. In current windows portables, there's an erorr like this because of the long path names, but you should be able to open zip and execute mongoclient, just ignore the warnings and try to open it and let me know.
Best Regards

Unfortunately, I can't even open the archive to manually copy out mongoclient... at least not with the default Windows zip archive handler. Is there one you recommend?

I'm currently able to unzip it with winrar, could you please try with it ? If you can't I'll re-package it asap

That's got it. Thanks!

I'm glad your issue is fixed :) duplicate issue of #65


Recover Password does not show an error when invalid username is entered

Description
When trying to recover password, if an invalid username (which does not exist in the system) is entered, ideally an error should be displayed. But the system shows a confirmation message as the email is successfully sent.
Affected version: WSO2 IS 5.7.0
Steps to reproduce:

Start the IS server
Load the IS login page for any application (ex: dashboard)
Click on Forgot Password
Enter a username which does not exist in the server.
A confirmation message is displayed with the content,

Password recovery information has been sent to the email registered with the account  username

This behavior is implemented intentionally to avoid username enumeration vulnerability.


Naive bayes

Hello! I noticed that there is a dask_ml.naive_bayes.GaussianNB class, but doesn't seem to be a mention of it in the docs. I tried fitting and predicting with some example data and it seems to work. Is the implementation not yet ready, or does it just need to be added to the docs? I am happy to add docs entry if its the latter.
This came up while I was working on #386, because it looks like GaussianNB also returns a 1-d array rather than an array of shape (N, 2)

I think this is just an oversight in the docs (though @TomAugspurger can correct me if that's not that case). A documentation PR would be welcome @rikturr

Yeah probably a doc issue.

On Nov 24, 2020, at 15:30, James Bourbeau<EMAIL_ADDRESS>wrote:

I think this is just an oversight in the docs (though @TomAugspurger can correct me if that's not that case). A documentation PR would be welcome @rikturr
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Disable basemap auto-completion on dict methods

We use nest bunches to represent available basemaps and make them discoverable with auto-complete:

I was wondering if it is possible to disable auto-complete on a type, except for specified attributes?

@carreau might know that.


Add make bigger/smaller buttons to Edit bar for ActiveStoryItem

Version: 0.4.2
Should add make bigger/smaller buttons to Edit bar (for the ActiveStoryItem)
That way could also resize the RootStoryItem
Could probably be one button with a slider in a dropdown that has its knob centered and allow to drag to left to make smaller and to right to make bigger (by a percentage similar to the step ALT+mousewheel uses to resize child items)

Currently set ALT+mousewheel to also resize the ActiveStoryItem if done over its empty space (not over a direct child of it) so can use that to resize the RootStoryItem


Blacklist improvements

This should be changed to a set for faster lookups. Also, it should be updated to refer to player tags rather than player names in case multiple users have the same in-game name.
https://github.com/chradajan/ClashBot/blob/226f4c372b064bb1fdb08cd0ad50edb5df2f0183/setup/blacklist_example.py#L4

500012d7ea00ab10b4f470799cdf11c124cc09d0


Canadian exchange owner murdered in Mexico by cartel

Within scope? No evidence of any theft of bitcoin, probably just simple fraud-related justice

I looked into it recently but there does not seem to be any evidence that the violence was Bitcoin related. Sounds like it was related to other activities this guy had in the drug trade.


#2: Remove $ from method names

Avoid using dollars in Scala identifiers to prevent compiler conflicts.

Additionally, I adjusted the .gitignore a bit because with the current implementation, a bunch of IntelliJ working files wanted to get added with the commit. Simply excluding the .idea directory should do it. Similarly, .bsb was not ignored at all. I didn't touch anything else, but the file contains items unrelated to this project, concerning other build tools not used by this project, etc. I left those as they were.
As for functional changes - in accordance with the agreements in the issue.

Woah, man. Thanks! 🎉 I'll review the changes during the weekend.

@baldram, do you have the time to update also the README file with the new names of the two methods?
If you don't, I'll take care of it 🫶

@baldram, do you have the time to update also the README file with the new names of the two methods?

README.md is updated, did I overlook anything. I think any occurrence in the project is fixed.
Both catching and asTry have snipped in documentation and introduction. Or you mean adding more documentation above what was existing so far? Of course, I can do something more, but need a clarification what it would be or what did I overlook?

Sorry, I reviewed it from my iPhone 😅.
Approved 👌

I have no rights to merge it. If all fine, please feel free to merge. Thank you!

@baldram, merged. Thanks a lot for the valuable contribution. If you have any other ideas to evolve the library, please feel free to open a new PR or to discuss it directly/


DNS challenge for *.hackclub.app tls cert

https://caddyserver.com/docs/automatic-https#wildcard-certificates

https://github.com/hackclub/dns/issues/980

Requires #17

Solved in favor of just using hackclub/dns, so not needed.


repo size too large

Hi. Thanks for pacstall. It's cool, and I'm trying to package a few apps. However, I noticed that due to some .tar.gz files being added and later deleted, the repo site is huge for a repo that contains pacscripts. Could you please remove the problematic commits and force push?

Yes


"Call to a member function cool2() on integer" uncaught for some reason.

Hello there,
I have the following code.  For some reason, I'm not getting the error report for this on Sentry platform.
        $client = (new \Raven_Client("https://{$publicKey}@sentry.io/{$projectId}"))->install();
        $b = 2;
        $c = $b->cool2();

On the screen, I get this exception.
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Call to a member function cool2() on integer
I confirm that other errors (such as division by zero) are thrown without issues.
I'm using sentry/sentry 1.9.2
I'm still on localhost, Windows 10, Wamp, PHP 7.0.10
Your help is appreciated.  Thank you!

Oh, I noticed something!
If I do the same thing before I step inside the framework (right after the autoload include) (I use Laravel btw), it actually gets caught by Sentry!
Hmmm, I think I'm misunderstanding some key concepts here.
If someone would be able to shed me some light, I'd be very much appreciated!
Thank you!

Sorry for spamming so many comments.  I know I should've summarized everything at once.
I know there is a Sentry library for Laravel.  However, I want to keep my custom code loosely dependent on Laravel, so I prefer using the native PHP version of it.  However, if setup is so complicated, I definitely will consider the Laravel version of it.  I want to just know what's running behind before I make the decision.
Thanks again!

Hey @bs-thomas, if you are seeing the error in your browser (in the nice error page Laravel provides) I think it's catching the errors before sentry can so they're never submitted.
I would consider trying the Laravel package, it's just a simple wrapper on the Sentry client, so any code written integrating with Sentry directly is easily changed to any framework or project (you interact with the Raven_Client directly through the Laravel integration).
So it's probably because of a loading/registering order of the error catching in Laravel & Sentry. Also try setting your debug to false en env to production to make sure no local debug things are shown/handled.

Thanks for the assistance.  Indeed using the sentry-laravel package is a lot simpler.  I don't have to worry about the weird exceptions caught by the framework.  Thanks for your assistance!


IPv6 support?

Hi,
Would you consider adding IPv6 support to SSDB?
(we prefer to run IPv6-only inside the datacenter.)
#717 suggests having code for this.

Hi again
What would be required to add IPv6 support to SSDB ?

Try https://github.com/ideawu/ssdb/tree/ipv6, this branch is now under development.

Thanks!  Evaluating this.  A few first findings:

ssdb-cli does not yet support ipv6
replication only runs over ipv6 if we set an ipv6 address, it does not yet resolve hostnames to ipv6
like ipv4, allow/deny statements must use a prefix notation (unusual for ipv6), instead of CIDR notation.

These are just minor, the main protocol over IPv6 works.  (We are using Zimbra with SSDB to store session tokens, and this is working over IPv6.)  We'll test further.

Thanks for the feedback. ssdb-cli now supports ipv6.

Nice, thanks!  We can run SSDB in an ipv6-only environment now.


[chore] Use a GitHub merge queue

https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue
A merge queue should help with merging a lot of PRs and making sure the tests are all run against HEAD.

Initial support for merge_group was implemented on #1701

Looks like CodeQL won't support the merge queue. Uploading results fails with
Error: ref 'refs/heads/gh-readonly-queue/main/pr-1740-9a7ef41ec68d53579328852d39a790cfa1f258db' not found in this repository

Created an issue on the CodeQL action for the issue
https://github.com/github/codeql-action/issues/1572


Update Globals “nav”

Automatically generated by Netlify CMS

👷 Deploy Preview for strong-beijinho-c4d917 processing.

Name
Link

🔨 Latest commit
1ca75649f1cb04b7db23eb860be8c7b7751ba9e4

🔍 Latest deploy log
https://app.netlify.com/sites/strong-beijinho-c4d917/deploys/65eaab3b36ca940008ba506c


How to use 192.168.1.* in cloudfoundry deploy [migrated from cf-release]

Original issue: https://github.com/cloudfoundry/cf-release/issues/839
Original poster: @yyl8815

Hi there,
I am trying to deploy cloudfoundry in vsphere environment. My purpose is to use internal IP(192.168.1.*) for most of the VMs created for cloudfoundry. For those VMs which need to interact with external IP, i can give them an additional IP address.
It might be something like:
> uaa_z1: <IP_ADDRESS>
> ha_proxy: <IP_ADDRESS>, 10.62.54.x
My original bosh director only has an external IP.
I want to understand:

Do I need to update the bosh director? Is it necessary that I need to give it an Internal IP? How to do that? Can I modify the VM settings(add another network) via vSphere and add another eth?
Maybe i need to re-deploy the bosh director? How to configure the Network for the bosh manifest? I use bosh-init to deploy bosh.
For the CF VMs, how should i configure each of the jobs so that I can use 192.168.1.* for internal traffic and 10.62.54.* for external traffic?

Thank you very much for every help!

Can anyone kindly help?

It really depends how you setup your routing.
To configure VMs to have additional nics you can specify multiple IPs in the manifest. See http://bosh.io/docs/networks.html for more details.
Regarding segregating traffic it kind of depends what you consider as internal traffic. There are components that communicate through public facing LB (e.g. api talking to uaa), which means that machines on private network must be able to route to public network.

HI @cppforlife
Thank you for sharing this. Appreciated.
What I am trying but not sure how to do is setting up a correct routing.
For example, I have only one IP address in 10.x.x.x which can access public network and a whole set of 192.168.1.x in a private vSwitch. I want to set most of CloudFoundry machines in 192.168.1.x. And the bridge( I don't know if it is uaa or haproxy) can have both 10.x.x.x and 192.x.x.x.
In this way, user can access the cloudfoundry via 10.x.x.x.xip.io and other VMs can also access public network through the bridge VM(such as download buildpack).

Closing this due to inactivity. We have improved documentation at bosh.io which hopefully explains a good amount of networking in BOSH. Feel free to create a new issue if you are still looking for more information.


convertFromHTML doesn't render image inside anchor element

Do you want to request a feature or report a bug?
This is a bug report
What is the current behavior?
Currently convertToHTML does not output contentBlocks and entityMap so that an  nested in an  is rendered properly.
Steps to Repeat

Open the file in Draft-js repo: examples/draft-0-10-0/convertFromHTML/convert.html
Change the variable on line 56 to:

const sampleMarkup =
    'Bold text, Italic text

' +
    '' +
    '  ' +
    '';

The image is rendered, but it is not wrapped in an anchor tag. The  is completely removed.

What is the expected behavior?
I'm not sure what the the blocksFromHTML should look like in order for this to render correctly, but I'd love to know. Here is the resulting object.
However, the expected markup is that the  would be wrapped inside an .
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?

Draft.js version 0.10.0
Chrome  56.0.2924.87
Mac 10.12.3
This did not work in previous versions of Draft.js

Unfortunately we don't have a way to support rendering an image inside a link, short of you creating a LINKED_IMAGE entity type (or similar). I'm not sure if there's anything more we can do here.

@spicyj Thanks for the repsonse

Is this still the case presently? Just ran across this now and we are on 0.10.5. Anyone?


Gpt4o No Image Input

Describe the bug
Gpt4o model just text no image input.
To Reproduce
Steps to reproduce the behavior:

Go to Azure OpenAI
Click on Azure OpenAI Studio dan Deploy to a new web app
Build Success
Just text only, no image input or etc

Expected behavior
A website chat gpt with image input
Screenshots
for GPT4o model future just text, no image input

Configuration: Please provide the following

Azure OpenAI model name and version (e.g. 'gpt-35-turbo-16k, version 0613')
Is chat history enabled? Yes
Are you using data? If so, what data source? CosmosDB
Verify the startup command and runtime configuration by showing the output of the following az CLI command:

az webapp show --name <app name> --resource-group <resource group name> --query "{startupCommand: siteConfig.appCommandLine, runtime: siteConfig.linuxFxVersion}"

Logs

If the application deployment is failing, please share the deployment logs using the following az CLI command:

az webapp log deployment show --name <app name> --resource-group <rg name>

If the application is crashing after deployment, please share the application logs using the following az CLI command:

az webapp log tail --name <app name> --resource-group <resource group name>

Additional context
Add any other context about the problem here.

totally agree. wish to have image input to utilise the gpt-4o model. it could really boost our client usage, and open to lots of new use cases!

as a workaround https://github.com/microsoft/azurechat - was just updated with gpt-4o image upload support.

same problem


Consolidated ref field reference

Also updated the links to the language spec.

Internal previews

📄 File
🔗 Preview link

docs/csharp/language-reference/builtin-types/ref-struct.md
ref structure types (C# reference)

docs/csharp/language-reference/keywords/ref.md
ref (C# reference)

Close/open for a fresh build


Use TypeVars rather than specific unions

Also from the chars of #8208 -- this uses the TypeVars we define, which hopefully sets a standard and removes ambiguity for how to type functions. It also allows subclasses.
Where possible, it uses T_Xarray, otherwise T_DataArrayOrSet where it's not possible for mypy to narrow the concrete type down.

The failure is coming from the docs — getting lots of timeouts; I think unrelated to the code changes

Yeah, fair.
Your call on whether it's an improvement.
I think if we just have DataArray | Dataset around the place, that's totally fine. The thing I was less keen on is a bunch of different ones that then mean we're digging through mypy errors to understand the cause of something. But actually that hasn't been an issue so far. So no objections to closing...

Closing — thanks for the review & useful feedback @headtr1ck , greatly appreciated!


add rule count on log

make the log clearer

@hate13, I see this issue in the Travis log:
/home/travis/build/apache/incubator-druid/sql/src/test/java/org/apache/druid/sql/calcite/util/CalciteTests.java:588: error: incompatible types: String cannot be converted to NodeType
        "nodetype",
        ^
/home/travis/build/apache/incubator-druid/sql/src/test/java/org/apache/druid/sql/calcite/util/CalciteTests.java:585: error: cannot find symbol
    final DruidLeaderClient druidLeaderClient = new DruidLeaderClient(
                                                ^
  symbol: constructor (HttpClient,DruidNodeDiscoveryProvider,String,String,ServerDiscoverySelector)

It's probably because you're missing some changes from master - could you please merge master into your branch and re-push?


[astro-rss] [tutorial] [docs] --- Blog-tutorial breaks on step 5.4 --- '@astrojs/rss' does not provide an export named 'pagesGlobToRssItems`

What version of astro are you using?
1.9.2
Are you using an SSR adapter? If so, which one?
none
What package manager are you using?
npm
What operating system are you using?
mac
Describe the Bug
Hey folks!
I was just going through the official build-a-blog-tutorial and saw something unexpected. This happens in the section on adding an RSS feed.
Steps to reproduce

up until this step follow the tutorial pretty much word for word
run on Gitpod

following tutorial:

npm i @astrojs/rss -> ✅
create rss.xml.js, copy and paste code from tutorial
npm run build -> ‼ throws  error   The requested module '@astrojs/rss' does not provide an export named 'pagesGlobToRssItems'

weird

npm list -><EMAIL_ADDRESS>while in the Astro RSS docs it says that pagesGlobToRssItems was added in<EMAIL_ADDRESS>however npm i<EMAIL_ADDRESS>says that this version can't be found and npm.com lists the latest version as 2.0.0

workaround

as per the RSS docs, remove pagesGlobToRssItems and use Vite's import.meta.glob instead

problem
possibly confusing or irritating for Astro newcomers following the tutorial
solution
I'm in the dark here. Any tips are appreciated!
Link to Minimal Reproducible Example
https://gitpod.io#snapshot/ce172e28-33b0-41e8-b5af-6533bf1d9dc0
Participation

[X] I am willing to submit a pull request for this issue.

Closing this issue as now the tutorial instructions are updated, and matches the new RSS behaviour!  🎉  Thanks everyone!


Updated test to show message is not actually sent (it's sitting on transport.queue)

I was having problems implementing winston-syslog (problems = ['https://gist.github.com/1782990' ,'https://gist.github.com/1783187']). This update to the test shows the message hasn't been sent but it's actually sitting on the queue of the transport. I'd be happy to look into this next week.

Thanks. I'll try to look into this soon. If you fix the failing tests you'll be forever remembered as a hero.


Add @matteocrippa's awesome-swift

the correct position is in the "Other Awesome Lists"

can you change this?

hey @vsouza, I moved those links

thank you.

:smile:


Abstract Content Type Snippets

Motivation
At the moment, content type snippets are just flattened into the model types. This defeats the purpose of the single point of truth provided by the snippet functionality, and it would make obvious sense to generate separate types for the content snippets, and have the model types extend from them.
Proposed solution
See above.
P.S. perhaps I've missed this functionality?

Apologies, I did not catch this closed issue: #24

In fact, I'll re-open it again, as even though content-type snippets are generated, they are not abstracted as above :)

@WoodyWoodsta I've split the content type snippets and will release it soon :-) Thanks for the idea! If you can test it and let me know if that works for you, that would be great.

@Enngage Unfortunately I'm no longer working with Kontent, so will not be able to test.


Fixed the creation of the GrokAssembly.exe temp file and the cleanup of the temp config file.

Fixes Issue
The GrokAssembly.exe temp file was not created anymore. Probably accidentally removed in https://github.com/jeremylong/DependencyCheck/commit/0075a7e1ce2eab3bf2e543f362e9303ea101f6e5.
Description of Change
I added back the line that creates the GrokAssembly.exe temp file from resource and added asserts to tests to verify that the GrokAssembly executable and config temp files are created and cleaned up. I also added code to cleanup the temp config file.
Please note that this fixes all tests except one (AssemblyAnalyzerTest.testNonexistent), which still fails, but the failure doesn't seem related to the changes in this PR.
Have test cases been added to cover the new functionality?
yes

Can one of the admins verify this patch?

Should I disable all tests (as it was before)? Should I disable only the test that fails now?


WIP(legacy-deckgl): draft for migrating deckgl repo into superset-ui

💔 Breaking Changes
🏆 Enhancements
📜 Documentation
🐛 Bug Fix
🏠 Internal

Did you copy-paste or did lerna import (which will preserve git history)?

These were copy-pasted. Lerna Import sounds like a better alternative, so let's close this one out for now.


state.say(...) blocks the entire thread

During testing, I noticed the processing of new events ceased when a call to say is being run. This is confirmed by watching logs and see that they stop processing during speech, start processing the next item, then get blocked by speech again. Nothing gets received during these times.
I think it's time we move to the ssip-client library instead of speech dispatcher. In theory it's fairly easy to do since the ssip-client library has all the right types to send structured commands. The downside is that this library is not async, so we'd need to make that.
Well, I haven't learned how to create awaitable methods from unawaitable ones before so I'll assign this to myself.

Fixed with SSIP branch merge


unable to visualize the results using the tools/analysis_tools/visualization.py

tried visualization script after evaluation throws dimension mismatch  error

I have met the same problem, have you solved that?

Adding fut_coord = fut_coord.squeeze(0) before
https://github.com/wzzheng/GenAD/blob/4000d2cd1aa595301be35e31a8d3755614d63785/projects/mmdet3d_plugin/core/bbox/structures/nuscenes_box.py#L268 could potentially solve the problem

The code has been updated. Please use the latest visualization code.


fix types for fetching bot data

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#45  👈
#44
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @techwithanirudh and the rest of your teammates on  Graphite

Merge activity

Nov 6, 4:37 AM EST: A user merged this pull request with Graphite.


Display username if full name not set

You see only empty "by" without any name, if the full name not set.
Here a "fallback" and use the username...

Coverage remained the same at 96.28% when pulling 85bb1eeb7beb73cbb783d4a65a680b4bab2dc40e on jedie:author_name into c0d27d08ea99c9c5ff0949bf34ff1f28b572d0a8 on nephila:develop.

Coverage remained the same at 96.28% when pulling 85bb1eeb7beb73cbb783d4a65a680b4bab2dc40e on jedie:author_name into c0d27d08ea99c9c5ff0949bf34ff1f28b572d0a8 on nephila:develop.

Thanks @jedie !


clicking on a meeting in outlook fails to take me to meeting in teams application

starting in a browser logged into outlook email when I click on a meeting ( the Join button ) say from my calendar it launches my desktop Teams application however it fails to pull up the matching meeting ... it just launches Teams and takes me to the last location I  was in in Teams
Because of this bug its very hard if not impossible to pull up in Teams the meeting I am supposed to attend
issue happens across any browser ( most recent chrome or firefox )
I am on a Ubuntu 21.04 laptop
Teams is version <IP_ADDRESS>55

case closed ... I purged Teams application and did a fresh install and all is well
dpkg -l|grep teams
ii  teams                                      <IP_ADDRESS>55                                                          amd64        Microsoft Teams for Linux is your chat-centered workspace in Office 365.

sudo apt-get purge teams  #   uninstall

then I did a fresh install of the linux deb file

evidently the problem happened in between the time I did the initial teams install of version <IP_ADDRESS>857_amd64 and teams itself did its own internal updates ... below is my Download dir of teams install deb files ( Ubuntu 21.04 )
-rw-rw-r--  1 eve  eve    76334658 Dec 18  2020 teams_<IP_ADDRESS>857_amd64.deb
-rw-rw-r--  1 eve  eve    83232268 Jun 23 10:01 teams_<IP_ADDRESS>53_amd64.deb

Thanks for reaching out us. We are the developer support team for Microsoft teams focused on helping developers resolve their issues. For issues related to teams product, please reach out to the product support channels for Microsoft Teams.


input document for runtime to test all functionality added

Description
This pull request adds support for additional data types and scenarios to the JSON Schema, enhancing the testing coverage for the runtime
The changes in this pull request address issue #1825  by fixing a bug related to date-time parsing in the runtime.
Related Issue
"Related to issue #1825"
Checklist

[✓ ] The code follows the project's coding standards and is properly linted (npm run lint).
[✓ ] Tests have been added or updated to cover the changes.
[✓ ] Documentation has been updated to reflect the changes.
[✓ ] All tests pass successfully locally.(npm run test).

Additional Notes

Hey @Iamanshuaditya, could you help me understand your changes and assist with anything you need? I've realized that all we need is knowing of data types in JSON Schema and the ones supported by AsyncAPI.
Is that all? I find it difficult to understand further.

Hey, sorry for the confusion. I have a lot of doubts. The thing is, if we're planning to expand the types or utilize the built-in formats of JSON Schema, how can we expect that the correct type is assigned to each key or property?


Listing only unique dependencies of packages

Small change => big consequences.
Before the patch:
$ brew deps --tree docbook
docbook (required dependencies)
├── homebrew/dupes/unzip
├── homebrew/dupes/unzip
├── homebrew/dupes/unzip
├── homebrew/dupes/unzip
├── homebrew/dupes/unzip
├── homebrew/dupes/unzip
└── homebrew/dupes/unzip

After the patch:
$ brew deps --tree docbook
docbook (required dependencies)
└── homebrew/dupes/unzip

I think this is something upstream might be interested in.

This particular example doesn't affect Mac because unzip is included on Mac and so homebrew/dupes/unzip is not a dependency on Mac. This xz example does affect Mac though:
❯❯❯ brew deps --tree xapian
xapian (required dependencies)
└── :python
├── xz
└── xz

So, yes this is an upstream bug. Please submit it to Homebrew/brew.

:+1:

The upstream PR has been closed, but Mike said he'd review it when @maxim-belkin addresses the comments.
So I think we can close this.


Can't install latest release

Hi,
I can't install posh-git via choco or install-package/install-module.
When I install using install-package or install-module posh-git gets installed (I can see it in 'modules' folder), but import-module posh-git doesn't bring it.
If I install using choco setup fails:
Get-BinRoot is going to be deprecated in v1 and removed in v2. It has been replaced with Get-ToolsLocation (starting with v0.9.10), however many packages no longer require a special separate directory since package folders no longer have versions on them. Some do though and should continue to use Get-ToolsLocation.
Extracting C:\Users\username\AppData\Local\Temp\chocolatey\poshgit\<IP_ADDRESS>60330\dahlbyk-posh-git-v0.6.1-224-g5ada37f.zip to C:\tools\poshgit...
C:\tools\poshgit
ERROR: Cannot bind argument to parameter 'Path' because it is an empty string.
The install of poshgit was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\poshgit\tools\chocolateyInstall.ps1'.

I only managed to install it by first installing PsGet and then running install-module, then manually addding import-module to profile. But in this case I've got version 0.7.0.
System info:
posh-git version: 0.6.1, PSVersion: 5.1.14393.693, git version 2.10.1.windows.1, OS: Microsoft Windows NT 10.0.14393.0

Since you are on PS 5.1, you shouldn't need to use Chocolatey.  You say you first installed PSGet, but you shouldn't have to do that.  PS v5 and higher come with two modules: PackageManagement (manager of pkg managers) and PowerShellGet.  The latter supersedes the need for the older, community created PSGet.
I posh-git did get installed into your $Home\Documents\WindowsPowerShell\Modules\posh-git\<IP_ADDRESS>60330, make sure it installed correctly.  First, import from that location e.g.:
Import-Module $Home\Documents\WindowsPowerShell\Modules\posh-git\<IP_ADDRESS>60330\posh-git.psd1

Also check for the existence of the following file:
Get-Item -Force $Home\Documents\WindowsPowerShell\Modules\posh-git\<IP_ADDRESS>60330\PSGetModuleInfo.xml

If that file doesn't exist, then you probably installed with the old PSGet. If it exists, then it was installed with PowerShellGet - which means you can use Update-Module posh-git to update to newer versions.
OK, so if the above import worked but "Import-Module posh-git" does not work, it means your PSModulePath environment variable is borked.  Output its value with $Env:PSModulePath.  It should look like this:
C:\Users\Keith\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files\Microsoft Message Analyzer\PowerShell\

Note that it is the existence of C:\Users\<username>\Documents\WindowsPowerShell\Modules that allows PowerShell to load modules from your Modules directory.  If that doesn't exist, then go to the System Properties and edit the PSModulePath environment variable to add this path.

Hi,
I was having the exact same problem when I found out this issue report (I didn't know not to use chocolatey to install). Then I followed your readme.md.
Install-Module -Name posh-git seemed to have succeeded. Get-Module -Name posh-git returns the following:
ModuleType Version    Name     ExportedCommands
---------- -------    ----     ----------------
Script     <IP_ADDRESS>... posh-git {Add-SshKey, Enable-GitColors, Get-AliasPattern, Get-GitDirectory...}

The Import-Module posh-git command does not output anything (I'm assuming this is a good thing) but the command prompt does not change.
My PSModulePath includes C:\Users\<username>\Documents\WindowsPowerShell\Modules.
PSversion:
Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      14393  693

git version: 2.11.0.windows.3
OSVersion:
Major  Minor  Build  Revision
-----  -----  -----  --------
10     0      14393  0

PS: In your readme, you mention a command Add-PoshGitToProfile. posh-git does not seem to export it. Also, $GitPromptSettings does not contain DefaultPromptSuffix, it has the following:
LocalWorkingStatusForegroundColor         : Red
AfterStashBackgroundColor                 : DarkMagenta
WorkingForegroundBrightColor              : Red
RepositoriesInWhichToDisableFileStatus    : {}
IndexForegroundColor                      : Green
BranchForegroundColor                     : Cyan
BeforeStashForegroundColor                : Red
EnablePromptStatus                        : True
AfterBackgroundColor                      : DarkMagenta
LocalStagedStatusSymbol                   : ~
BeforeIndexBackgroundColor                : DarkMagenta
AfterText                                 : ]
BeforeForegroundColor                     : Yellow
LocalWorkingStatusSymbol                  : !
BranchAheadStatusSymbol                   : ↑
LocalDefaultStatusSymbol                  :
IndexForegroundBrightColor                : Green
WorkingForegroundColor                    : Red
LocalStagedStatusForegroundColor          : Cyan
ShowStatusWhenZero                        : True
BranchIdenticalStatusToBackgroundColor    : DarkMagenta
BeforeIndexForegroundColor                : Green
BranchIdenticalStatusToSymbol             : ≡
BranchBehindAndAheadStatusForegroundColor : Yellow
LocalDefaultStatusForegroundColor         : Green
DescribeStyle                             :
BranchBackgroundColor                     : DarkMagenta
LocalStagedStatusBackgroundColor          : DarkMagenta
AfterStashText                            : )
BeforeBackgroundColor                     : DarkMagenta
BeforeIndexForegroundBrightColor          : Green
EnableStashStatus                         : False
Debug                                     : False
LocalWorkingStatusForegroundBrightColor   : Red
LocalWorkingStatusBackgroundColor         : DarkMagenta
IndexBackgroundColor                      : DarkMagenta
DelimText                                 :  |
BranchBehindAndAheadStatusSymbol          : ↕
WorkingBackgroundColor                    : DarkMagenta
EnableWindowTitle                         : posh~git ~
DefaultForegroundColor                    : DarkYellow
BranchNameLimit                           : 0
AfterForegroundColor                      : Yellow
DelimBackgroundColor                      : DarkMagenta
BranchBehindStatusForegroundColor         : Red
AfterStashForegroundColor                 : Red
LocalDefaultStatusForegroundBrightColor   : Green
LocalDefaultStatusBackgroundColor         : DarkMagenta
StashForegroundColor                      : Red
DelimForegroundColor                      : Yellow
TruncatedBranchSuffix                     : ...
BeforeStashBackgroundColor                : DarkMagenta
StashBackgroundColor                      : DarkMagenta
BranchAheadStatusForegroundColor          : Green
BranchUntrackedSymbol                     :
BranchBehindStatusBackgroundColor         : DarkMagenta
BranchAheadStatusBackgroundColor          : DarkMagenta
AutoRefreshIndex                          : True
BeforeText                                :  [
BranchBehindStatusSymbol                  : ↓
BranchBehindAndAheadStatusBackgroundColor : DarkMagenta
BeforeIndexText                           :
EnableFileStatus                          : True
BeforeStashText                           :  (
BranchIdenticalStatusToForegroundColor    : Cyan

We haven't updated the PSGallery for 0.7.0 just yet.  You won't see the prompt change on import until 0.7.0 releases.  Hopefully in the coming week (or two).  In the mean time execute notepad $profile.CurrentUserAllHosts and add the following to it:
function prompt {
    $origLastExitCode = $LASTEXITCODE
    Write-Host $ExecutionContext.SessionState.Path.CurrentLocation -NoNewline
    Write-VcsStatus
    $LASTEXITCODE = $origLastExitCode
    "$('>' * ($nestedPromptLevel + 1)) "
}

Import-Module posh-git

Once 0.7.0 comes out and you run Update-Module posh-git, you will be able to remove the prompt function from your profile (but leave in the import command).

@rkeithhill Thank you for the prompt response. It works after applying your suggestion.

Back to the original issue: I believe the removal of the call to install.ps1 in https://github.com/dahlbyk/posh-git/commit/c2cb856c8a2964b504ad462c01d51e2c6d404752 was premature; a clean install over in #358 doesn't work either. 😦

@dahlbyk  :-( indeed.  What can I help with (later tonight)?

Sorry for hijacking the thread. In my setup, the C:\ProgramData\chocolatey\lib\poshgit directory did not exist when I got the Error while running 'C:\ProgramData\chocolatey\lib\poshgit\tools\chocolateyInstall.ps1'. error. Not sure if that helps with anything, though :)

@canpolat please confirm your Chocolatey version?
All: #383 should fix at least part of the problem. Unfortunately I need to merge to confirm. (Also something about our Chocolatey package that will be fixed by #358.)

@ownmaster @canpolat I just tested a clean choco install poshgit (choco v<IP_ADDRESS>) without issue.
C:\ProgramData\chocolatey\lib\poshgit\poshgitInstall.zip.txt contains:
C:\tools\poshgit\dahlbyk-posh-git-3959aa1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\.vscode
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\chocolatey
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\.editorconfig
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\.gitattributes
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\.gitignore
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\appveyor.yml
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\CHANGELOG.md
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\install.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\ISSUE_TEMPLATE.md
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\LICENSE.txt
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\profile.example.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\PSScriptAnalyzerSettings.psd1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\README.md
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\.vscode\launch.json
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\.vscode\settings.json
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\.vscode\tasks.json
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\chocolatey\tests
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\chocolatey\tools
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\chocolatey\poshgit.nuspec
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\chocolatey\tests\dahlbyk-posh-git-60be436.zip
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\chocolatey\tests\InstallChocolatey.Tests.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\chocolatey\tools\chocolateyInstall.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\en-US
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\CheckVersion.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\GitPrompt.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\GitTabExpansion.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\GitUtils.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\posh-git.psd1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\posh-git.psm1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\TortoiseGit.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\Utils.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\src\en-US\about_posh-git.help.txt
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test\Get-GitBranch.Tests.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test\Get-GitDirectory.Tests.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test\Get-GitStatus.Tests.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test\git-help.txt
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test\ModuleManifest.Tests.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test\Shared.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test\Ssh.Tests.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test\testDebugHarness.ps1
C:\tools\poshgit\dahlbyk-posh-git-3959aa1\test\Utils.Tests.ps1

@dahlbyk I'm on a different PC now but I'm pretty sure my chocolatey version was 0.10.3.

If anyone cares to dig into this, I pushed a preview release of 0.7 and Chocolatey package verification failed with this same error: https://github.com/dahlbyk/posh-git/pull/358#issuecomment-276156658.

I haven't had a chance to dig in, but the full error trace is available here: https://gist.github.com/choco-bot/8fd09f341ed80aa5cf6ae01f39b49763

Here's the specific error:
2017-01-30 18:46:34,436 [ERROR] - ERROR: Cannot bind argument to parameter 'Path' because it is an empty string.
 at Add-PoshGitToProfile, C:\tools\poshgit\dahlbyk-posh-git-9f6b256\src\Utils.ps1: line 98
at <ScriptBlock>, C:\tools\poshgit\dahlbyk-posh-git-9f6b256\install.ps1: line 6
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\poshgit\tools\chocolateyInstall.ps1: line 42
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 48
at <ScriptBlock>, <No file>: line 1

I did not expect so many posts here, but will try to make everything clear :)
I never said I first installed PsGet. If talking about order:

I tried choco (I know I don't have to use choco, I just like to use it)
Tried install-module
Tried install-package
And only after all that failed I installed PsGet, and then installed posh-git using PsGet

I know what PsGet is, but that was the only way that worked in my situation.
The system before all described actions was brand new (it is actually brand new laptop, with preinstalled Windows 10 Home 64bit).
Now, I removed working posh-git and PsGet and tried again install-module. It is installed into c:\Program Files\WindowsPowerShell\Modules\posh-git\<IP_ADDRESS>60330\. PSGetModuleInfo.xml is there. $env:PSModulePath is OK -  C:\Users\username\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules.
But import-module doesn't give any result.
Below is output of Import-Module posh-git -Verbose:
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\posh-git\<IP_ADDRESS>60330\posh-git.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module posh-git.
VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\posh-git\<IP_ADDRESS>60330\posh-git.psm1'.
VERBOSE: Importing function 'Add-SshKey'.
VERBOSE: Importing function 'Enable-GitColors'.
VERBOSE: Importing function 'Get-AliasPattern'.
VERBOSE: Importing function 'Get-GitDirectory'.
VERBOSE: Importing function 'Get-GitStatus'.
VERBOSE: Importing function 'Get-SshAgent'.
VERBOSE: Importing function 'Get-SshPath'.
VERBOSE: Importing function 'Invoke-NullCoalescing'.
VERBOSE: Importing function 'Start-SshAgent'.
VERBOSE: Importing function 'Stop-SshAgent'.
VERBOSE: Importing function 'TabExpansion'.
VERBOSE: Importing function 'tgit'.
VERBOSE: Importing function 'Update-AllBranches'.
VERBOSE: Importing function 'Write-GitStatus'.
VERBOSE: Importing function 'Write-Prompt'.
VERBOSE: Importing alias '??'.

@ownmaster did you try the suggestion at: https://github.com/dahlbyk/posh-git/issues/381#issuecomment-276080295
I had the same problem and following @rkeithhill's comment solved it for me.

@ownmaster

But import-module doesn't give any result.

Import won't give any result if the module imports without problems.  That's just how PowerShellGet\Import-Module works.  However, once 0.7.0 releases, importing posh-git should change the default prompt function to display Git status summary info when in a Git repo.  However, if you already have a prompt function defined in your PowerShell profile, posh-git will not modify the prompt.

New error! :rage: Suppose I should upgrade Chocolatey so I can reproduce locally.
https://gist.github.com/choco-bot/a36989a10a30e911ac05694c5c6f5136
2017-01-30 20:54:30,783 [ERROR] - ERROR: Cannot bind argument to parameter 'LiteralPath' because it is null.
 at Add-PoshGitToProfile, C:\tools\poshgit\dahlbyk-posh-git-9d559c4\src\Utils.ps1: line 129
at <ScriptBlock>, C:\tools\poshgit\dahlbyk-posh-git-9d559c4\install.ps1: line 6
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\poshgit\tools\chocolateyInstall.ps1: line 42
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 48
at <ScriptBlock>, <No file>: line 1

@rkeithhill

However, if you already have a prompt function defined in your PowerShell profile, posh-git will not modify the prompt.

Nothing was defined in my profile. I supposed that profile should be modified automatically during install. Copied and modified profile posh-git configuration from another PC, now I have modified prompt.

I supposed that profile should be modified automatically during install.

It used to (see #383). Still trying to get back to the point where that works again. ☹

#383 title says about choco. What about native PowerShell installation methods, did they also break at some point?

@ownmaster The native PowerShell installation method has not been updated to 0.7.0.  It is still installing <IP_ADDRESS>60330 (released last year).
Once a new user has installed 0.7.0 via the PowerShellGet\Install-Module (or Update-Module) command, they only need to run Add-PoshGitToProfile to have the Import-Module posh-git command to their profile script.  However, since you've already done this (manually), you won't need to do anything else once you've updated to 0.7.0.

:ok: I think I have everything cleared up. If anyone here still wants to use Chocolatey, try this:
choco install poshgit --version=0.7.0-pre4

@dahlbyk using choco install poshgit --version=0.7.0-pre4 worked like a charm.
I was previously getting the "Cannot bind arguement to parameter 'LiteralPath'... error.

Thank you.

@dahlbyk how to load posh-git after 0.7.0-pre4 installation via choco?

Executing Import-Module posh-git doesn't load the module?

Yeah, forgot that module is installed into location which is not in PowerShell paths list. Added it manually.
BTW, when 0.7.0 is initially loaded it shows prompt as ~> but after any directory change it becomes regular c:\folder. Is it by design?

Yes and that is something that is currently under discussion at #386.  Basically, since the posh-git provided prompt is a single line - with a lot of info to potentially display - we substitute ~ for you home directory.  If you are not in or under your home dir, you will see a full path.  We are likely to add a $GitPromptSettings property to allow you to control that.  At the moment, the debate is over what the default should be (to abbreviate or not).

@ownmaster Do you consider this issue fixed - considering you can only install the latest pre-release from Chocolatey ATM?

I did not have access to that PC yesterday. Today, I tryied the 0.7.0-pre4 version and the installation wen thru. Thank you for the quick response.

0.7.0 is Coming Soon, but I went ahead and pulled the important bits from #358 into master anyway to fix non-prerelease installs. Thanks, again, for the bug report @ownmaster!

@rkeithhill I guess yes, it is fixed - now I can install. :) I hope in 0.7.? release it will be added to profile automagically after setup.

it will be added to profile automagically after setup.

If using Chocolatey, yes.  But no if using PowerShellGet\Install-Module.  The latter just downloads, unzips and copies the bits to the specified Modules folder - nothing more.

it will be added to profile automagically after setup.

If using Chocolatey, yes. But no if using PowerShellGet\Install-Module. The latter just downloads, unzips and copies the bits to the specified Modules folder - nothing more.

We started down the automagical path with https://github.com/dahlbyk/posh-git/pull/361, but couldn't reliably decide if we should add to profile or not. We ended up with the deterministic Add-PoshGitToProfile instead.


updateOutput called multiple times

Creating a graph did not work for me. I get errors. It turns out that apply_func in graphgen.lua runs the original updateOutput again (after the first forward() call) via base_func. This goes wrong for any layer that somehow creates a new tensor because then the new tensor pointer cannot be found in the nodes table. A simple fix is to do just "return self.output" in those cases.

Hi, thanks for opening this issue.
The fix you propose is included in this pending PR https://github.com/fmassa/optimize-net/pull/10, but only that is not enough to handle all cases (like in nn.Parallel). I haven't merged that PR yet because I'm afraid that the other changes I did there (like overwriting __index) could have unexpected effects.
I can factorize the bit that removes the need of running forward twice and merge it to master if it solves your problem.
But usually, it's a good practice to keep the output tensors of a module unchanged during different forward calls, and only changing its data.

I understand that it is not easy to piggy-back on existing Torch routines and be able to handle the diverse suite of "layers" all correctly. I am glad to see my problem confirmed. I have my own work-around and just hope that other can benefit as well. Keep up the good work.


leader line overlapping

Hi Team,
When I scrolling page, the leader line is overapping
Please look  example : https://angular-woohoo-leader-line-h2r72m.stackblitz.io,
steps :

First point two item.
then scroll  down windows scroll. and up the window scroll,
now you can reproduce issue

Hi @maninalliappan, thank you for the comment.
You have to call position method when the layout is changed.
https://anseki.github.io/leader-line/#position
Try to scroll an example saying "Scroll this" in the document.

No reply came, then this abandoned issue is closed.


Initial Configuration of QTM - Unity - SDK

Dear All,
Upon connecting to QTM SDK  through Unity using UDP port 22222 an error appears in Unity QTM Streaming window saying:
"Error setting version of protocol"
and when using UDP port 3883 a SocketException occurs:
"SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted."
Unity Console Error.txt

Hi,
You might be using an old version of QTM. Unity plugin is support from QTM 2.11 and upwards but I would recommend using the latest possible version.
Best regards,
Morgan
Qualisys

Hi Morgan,
updating the QTM 2.9 isn't an option because the cameras we're using were discontinued in recent versions. Is there a workaround like an older version of QTM-SDK-Unity or a patch we could use for QTM 2.9?
Thanks in advance.

Looking into it... will test here but here is something you can try:
Change the MINOR_VERSION constant to 12 instead of 14 in RTClientSDK.Net/RTProtocol.cs file and run. Version 12 is the one released with QTM 2.9.
Support for Proreflex cameras where dropped in 2.10 so you could update to that version if you want to.


SocialAutoCompleteTextView don't show cursor

Hello Friend,
Is happening to me the following situation, when opening the screen with a SocialAutoCompleteTextView the cursor does not appear in the field, even with the focus on it.
When typing some text the cursor appears normally, even erasing everything it remains there.
That is, it happens when entering the screen and field being empty, only with a hint.

@magnoleal Hey there,
I have discovered that TextView (and all it subclasses) behaves exactly what you have described because I explicitly set their movement method. Unfortunately, this movement method is crucial to enable text span clicking detection.
As an immediate fix, I have uploaded version 0.6.2 that will only set movement method when OnSocialClickListener is supplied to the view. So if you have not yet set 'setOnSocialClickListener' on that SocialAutoCompleteTextView, you will be able to see the cursor at activity startup.
Please try it and see if it is an acceptable fix. And thank you very much for such a detailed observation!

I did that you made and works perfectly!
Thanks for your quick support!


Can add some function let us know the bytes is image or text

Hi, @changkun Thank you to create the wonderful framework.
Can you provide a way for us to read the clipboard content as a stream of characters or images？
Like this
func IsText() bool
func IsImage() bool

Hi I don't think you need additional APIs to check if the data is text or image, if you try
clipboard.Read(clipboard.FmtText)

But the actual content in clipboard is image, the call returns you a nil, same applied to image.
Regarding reading as a stream of characters, I don't know enough about the purpose of it.
If you just need convert []byte to io.Reader, you could try bytes.NewReader. Can you elaborate more?

Lack of information. Close.


Support for procedural generation of a layer

Would like the option to be able to generate an intGrid layer while still using auto tiles and the setup from LDtk.
The way it works currently (at least from what I can see) is that the render function ignores whatever is currently stored in intGrid at the time of rendering and only renders the auto tiles.
It's missing a way to go through intGrid and create new auto tiles based on the rules set (kinda like it does when drawing by hand in LDtk). This doesn't have to happen on each render call but whenever intGrid changes if there would be an option to generate auto tiles out of it that would solve it. That way render function itself can still just render auto tiles like it is. And the user is able to create and remove tiles at runtime just by modifying the intGrid.

Got a very hacked up working version of this in my fork https://github.com/deepnight/ldtk-haxe-api/compare/master...mufty:ldtk-haxe-api:master
I just copied stuff from LDtk sources into the API. Everything is in Layer which isn't good but It's cuz stuff like rules is just plain types as parsed from JSON so in order to clean it up I'd have to do instances for more objects than just Layer. I just wanted to see if it would work.

just for illustration I just generated a new intgrid on runtime and then just call layer.applyAllAutoLayerRules() to get this sort of thing

Related: https://github.com/deepnight/ldtk/issues/970


Add timeout to init_etcd

Hi there,
The curl default connect timeout is 120s or more, we should use the timeout in the configuration.
Please review it. thx.

merged already, fixed the code style at new pr: https://github.com/iresty/apisix/pull/258

many thx @vkill


Sample Project

Hello,
Just getting started with dynamic rendering. Was wondering if there is an aep file with dynamic image, text and video rendering examples that I can start playing with?
Getting Started guide will be great for new comers as well. Thanks for the great work! Love the package.

Hello @musdy
Yep, there is a thing similar to what you've described.
If you check out the packages/nexrender-core/test, you can find a few testing files I personally used to test nexrender while developing it. You can try to use them as some sort of a reference:
https://github.com/inlife/nexrender/blob/master/packages/nexrender-core/test/manual.js
The files are mentioned here are taken from this repo: https://github.com/inlife/nexrender-boilerplate
I still had no time to update the original boilerplate repo to reflect the new version tho.
Planning on doing that as soon as I will be able to.


warp-terminal: 0.2<IP_ADDRESS>.55.stable_04 -> 0.2<IP_ADDRESS>.02.stable_03

Changelog: https://docs.warp.dev/getting-started/changelog#id-2024.12.19-v0.2<IP_ADDRESS>.02
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 366843

x86_64-linux

:white_check_mark: 1 package built:

warp-terminal


Add Facebook's LinkBench benchmark

Overview taken from the LinkBench repo:

LinkBench is a database benchmark developed to evaluate database performance for workloads similar to those of Facebook's production MySQL deployment. LinkBench is highly configurable and extensible. It can be reconfigured to simulate a variety of workloads and plugins can be written for benchmarking additional database systems.
LinkBench is released under the Apache License, Version 2.0.

I started working on a pull request for this benchmark here: https://github.com/meteorfox/PerfKitBenchmarker/commit/f17b6a28c28505baa63f63a2c5950ac401d58670
I will do a pull-request once I get it to a somewhat functional state.
Can any of the owners assign this issue to me?
Thanks

You mean this issue? It already is assigned to you :)

On Fri, Mar 27, 2015 at 2:20 PM, Carlos Torres<EMAIL_ADDRESS>wrote:

I started working on a pull request for this benchmark here: meteorfox@
f17b6a2
https://github.com/meteorfox/PerfKitBenchmarker/commit/f17b6a28c28505baa63f63a2c5950ac401d58670
I will do a pull-request once I get it to a somewhat functional state.
Can any of the owners assign this issue to me?
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/27#issuecomment-87095695
.

--
Anthony F. Voellm (aka Tony)
Google Voice:<PHONE_NUMBER>
https://www.google.com/voice/b/0?pli=1#phones
Blog: http://perfguy.blogspot.com/

@voellm yes. @yuyantingzero just assigned it to me. :) Thank you


Fixed issues #2618

Fixes #2618

Coverage remained the same at 100.0% when pulling 89fb4f7e7bc7279401d2efb3504cce9142d485fc on akashfoss:master into 95eeb021317437128607fd77a197871c8fa9693b on GoogleCloudPlatform:master.

I signed it!
On 5 Oct 2017 20:23, "googlebot"<EMAIL_ADDRESS>wrote:
Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify.
Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If your company signed a CLA, they designated a Point of Contact who
decides which employees are authorized to participate. You may need to
contact the Point of Contact for your company and ask to be added to the
group of authorized contributors. If you don't know who your Point of
Contact is, direct the project maintainer to go/cla#troubleshoot.
In order to pass this check, please resolve this problem and have the
pull request author add another comment and the bot will run again.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-node/pull/2656#issuecomment-334490081,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQiEhjFXPr1-pCg412o5y6zgMX3x8ETqks5spO10gaJpZM4PvNl0
.

Thanks!


WIP: abc-updater integration

Meant to make this a draft but forgot to click the right button. :/
Seth had some feedback about how to structure, so I made a PR.
There is still quite a bit of work to do before this is ready, as there needs to be a process to update our abc-updater-apps repo (private repo which is source of verison info) when a new release is cut.
Linter isn't happy as we haven't publicly released the abc-updater repo yet, so this repo cannot consume it.

https://github.com/abcxyz/abc/pull/417

(will merge soon now that updater is public)

I think the PR description needs an update
updated


Command line JSHint without Node.js

Is there any other option, how to get JSHint into Windows command line without using Node.js? Is it possible to get jshint.bat and jshint command line environment with all dependencies in simple zip archive or by using git clone? I know, Node.js is needed to compile the JavaScript. But is it needed to run JSHint in command line? Or could I install and compile it somehow with Node.js and then use it without Node.js? I actually work on a plugin for one text editor and the plugins for that are based on command line (like compilers). But I don't want users to install Node.js to use my plugin. I'm beginner in Node.js.

@dvorapa +1

I would request the same thing. need a console-mode binary for windows, preferably 32-bit.

oh, and 1521 was a feature request, not a request for support. please read before blasting away at bug reports. if you are able to provide a binary by compiling for windows using mingw-w64 (sf.net) then it would be most helpful. one possibility is windows script host (wscript.exe). you can probably specify the language in the script tags, but it might be an ie-flavored version of jscript or VBA you get.
Q: is this the way jslint was intended to run under? or something else? I suspect the DOM is going to be different for JScript commandline.

that is, if it's enabled...


Todo before next release

Bump version, obviously
Fix README's example to avoid reading into a buffer
Update NEWS

Closed by 39b90ee8dd9746f16c2c460ac3494a19961e7fd4.


Dependency upgrade

Currently abroad, won't have time until next Thursday...
Op vr 23 feb. 2018 16:37 schreef Roey Darwish Dror<EMAIL_ADDRESS>
:

@r-darwish https://github.com/r-darwish requested your review on:
hasadna/anyway#852 https://github.com/hasadna/anyway/pull/852
Dependency upgrade.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/hasadna/anyway/pull/852#event-1489325663, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAQEw5nNdFNGi6KlYYx8AL3DXqjxFKhKks5tXts5gaJpZM4SRDmU
.

@r-darwish there is a problem in upgrading flask-admin and flask-security (flask login is redundant because it is installed with flask-security).
I tried to do that because I am working on the Admin panel and encountered an error regarding the integration with flask-babel:
https://github.com/mattupstate/flask-security/issues/715
https://github.com/mattupstate/flask-security/issues/718

@aviklai can you tell me how to reproduce the problem? I'll look for the latest version of Flask Security which doesn't cause problems

@r-darwish try to ugrade the packeges and then go to:
http://localhost:5000/admin/login/

I now constrain flask login and flask security. The maximum recursion depth error doesn't happen anymore.

What about flask admin? I tried to upgrade it to version 1.5 and got the recursion error.

That's weird. I'm using 1.5 as well and don't see this error. Can you give me the output of pip list?
Also, do you see this error when logged in to the control panel, or just in the panel's main page?

pip list:
alembic (0.8.2)
amqp (2.2.2)
APScheduler (2.1.2)
astroid (1.6.0)
attrs (17.3.0)
Babel (2.5.0)
backports.functools-lru-cache (1.4)
billiard (<IP_ADDRESS>)
blinker (1.3)
celery (4.1.0)
certifi (2<IP_ADDRESS>)
chardet (3.0.4)
click (6.7)
colorama (0.3.9)
configparser (3.5.0)
enum34 (1.1.6)
et-xmlfile (1.0.1)
Flask (0.10.1)
Flask-Admin (1.5.0)
Flask-Assets (0.12)
Flask-Babel (0.11.2)
Flask-BabelEx (0.9.3)
Flask-Compress (1.3.0)
Flask-Login (0.3.2)
Flask-Mail (0.9.1)
Flask-Principal (0.4.0)
Flask-Security (1.7.5)
Flask-SQLAlchemy (2.1)
Flask-WTF (0.14.2)
funcsigs (1.0.2)
futures (2.1.6)
gunicorn (18.0)
idna (2.6)
isort (4.2.15)
itsdangerous (0.23)
jdcal (1.3)
Jinja2 (2.7.1)
kombu (4.1.0)
lazy-object-proxy (1.3.1)
Mako (1.0.7)
MarkupSafe (0.18)
mccabe (0.6.1)
newrelic (<IP_ADDRESS>)
openpyxl (2.4.9)
passlib (1.7.1)
pip (9.0.1)
pluggy (0.6.0)
psycopg2 (2.5.5)
py (1.5.2)
pylint (1.8.1)
pyproj (1.9.4)
pytest (3.3.1)
pytest-base-url (1.4.1)
pytest-html (1.16.0)
pytest-metadata (1.5.1)
pytest-selenium (1.11.3)
pytest-variables (1.7.0)
python-dateutil (2.4.2)
python-editor (1.0.3)
pytz (2017.2)
rauth (0.7.2)
redis (2.10.6)
requests (2.4.3)
selenium (3.8.0)
sendgrid (1.4.0)
setuptools (36.2.7)
singledispatch (<IP_ADDRESS>)
six (1.10.0)
smtpapi (0.2.0)
speaklater (1.3)
SQLAlchemy (1.1.14)
urllib3 (1.22)
URLObject (2.4.3)
vine (1.1.4)
webassets (0.10.1)
Werkzeug (0.14.1)
wheel (0.29.0)
wrapt (1.10.11)
WTForms (2.0.2)
yuicompressor (2.4.8)
and it happens when I am not logged in.

I installed the versions specified in your environment and I got the breakage too. It's caused by Flask-Babelex. For some reason, I didn't have it installed in my environment. When I uninstall it using pip the breakage was fixed.
I think that manually trying to upgrade Flask-Security for a version 3 pulled Flask-Babelex, which seems to break the environment even after Flask-Security is downgraded back to 2. Can you try to make a clean environment with the this branch and see if it works?

You were right. When I uninstalled Babelex and installed Flask-Admin 1.5 it worked.

And you can remove flask-login from the requirements because it is installed as part of flask-security.

We use flask login directly here so I rather keep it.

But it will still be available because it is installed automatically as part of Flask-Security.

I know, but I personally think it's not a good practice. I think that if we use something directly then we shouldn't rely on the fact that it's a dependency of another dependency.

O.K - no problem. We can merge this.


Lacks Unit Tests

Project lacks unit tests

Tests are now built in, however coverage is still very low. I will close this issue and try to keep up with tests on any new functionality as required.


High-level Toga API

Hello.
Thank you for this repository. I think it address very important issue for toga. Right now writing toga applications looks like manual build widgets hierarchy with inline css.
It is important to have such low level interface for tricky UIs, but in general programming API should be more declarative.
As preparation step for my PyCon Belarus talk I wrote declarative widgets tree formed in the jade/pug template. It is possible to move css properties into separate file and then apply those rules to the tree before widgets generation.
Also there are pyxl library hack running inside browser with Batavia.
https://github.com/proofit404/proofit404.github.io/tree/master/talks/the-right-bees
I think we can develop new layer of high level API for toga. Personally I want to see something component based for UI and probably kind of redux port as another little project for state management.
Also I think this projects should be part of the pybee organization to gain more popularity.
Let's discuss our thoughts in this issue first.
cc @freakboy3742

Thanks for bringing this up, Artem! I agree that a real high-level API for Toga would be awesome. Also, I think that sticking to React design and ideology (while probably simplifying some things occasionally) would be great as well so that those who come from the frontend webdev world would already know how to deal with it.
On pyxl: would be awesome to use it, but it seems like it's eared towards classic HTML more for now. We can always fork it and adapt for our needs, though.
On Redux: there are already some implementations like Pydux by @usrlocalben or aioredux by @ariddell, we might use these (if they'll work with Toga, that is; I haven't tested yet).

@proofit404 And by the way, any chance to see your talk's recording? Haven't found it on PyCon's website.

Here is the video of my talk (in Russian): https://www.youtube.com/shared?ci=KB0DqG_oOa4

So OK, the primary problem I've faced is that there's no way to dynamically remove a child element (https://github.com/pybee/toga/issues/30) which is pretty crucial for React-ish behavior.

In the time being, we could try develop against Qt or something like that. I really like the idea behind Toga, but the implementation is a bit too alpha-quality for now :(


Cache dependencies

Coverage decreased (-0.01%) to 95.112% when pulling 0ecaa00d42a22d247b2cf50ebcfde703f337bbde on kibertoad:feature/cache-dependencies into 045fe74bc122be4eeffe7cb5f2d0ed107583d283 on Vincit:master.


Exception error on processing joypads on Windows

Godot version
4.0 dev (68e3f49157b10b87504a88fc31d15c4d1c691ead)
System information
Windows 10
Issue description
When starting Godot I intermittently get the following exception error:

Call stack is:
godot.windows.editor.dev.x86_64.exe!JoypadWindows::probe_joypads() Line 290 (d:\Development\godot4-git\platform\windows\joypad_windows.cpp:290)
godot.windows.editor.dev.x86_64.exe!DisplayServerWindows::WndProc(HWND__ * hWnd, unsigned int uMsg, unsigned __int64 wParam, __int64 lParam) Line 3280 (d:\Development\godot4-git\platform\windows\display_server_windows.cpp:3280)
godot.windows.editor.dev.x86_64.exe!WndProc(HWND__ * hWnd, unsigned int uMsg, unsigned __int64 wParam, __int64 lParam) Line 3339 (d:\Development\godot4-git\platform\windows\display_server_windows.cpp:3339)
user32.dll!00007ffe00f3e858() (Unknown Source:0)
user32.dll!00007ffe00f3e4ee() (Unknown Source:0)
opengl32.dll!00007ffdc850f0f0() (Unknown Source:0)
user32.dll!00007ffe00f3e858() (Unknown Source:0)
user32.dll!00007ffe00f3e3dc() (Unknown Source:0)
user32.dll!00007ffe00f5de0d() (Unknown Source:0)
ntdll.dll!00007ffe01e30ef4() (Unknown Source:0)
win32u.dll!00007ffdffc11b24() (Unknown Source:0)
godot.windows.editor.dev.x86_64.exe!DisplayServerWindows::show_window(int p_id) Line 685 (d:\Development\godot4-git\platform\windows\display_server_windows.cpp:685)
godot.windows.editor.dev.x86_64.exe!DisplayServerWindows::DisplayServerWindows(const String & p_rendering_driver, DisplayServer::WindowMode p_mode, DisplayServer::VSyncMode p_vsync_mode, unsigned int p_flags, const Vector2i * p_position, const Vector2i & p_resolution, Error & r_error) Line 3932 (d:\Development\godot4-git\platform\windows\display_server_windows.cpp:3932)
godot.windows.editor.dev.x86_64.exe!DisplayServerWindows::create_func(const String & p_rendering_driver, DisplayServer::WindowMode p_mode, DisplayServer::VSyncMode p_vsync_mode, unsigned int p_flags, const Vector2i * p_position, const Vector2i & p_resolution, Error & r_error) Line 3983 (d:\Development\godot4-git\platform\windows\display_server_windows.cpp:3983)
godot.windows.editor.dev.x86_64.exe!DisplayServer::create(int p_index, const String & p_rendering_driver, DisplayServer::WindowMode p_mode, DisplayServer::VSyncMode p_vsync_mode, unsigned int p_flags, const Vector2i * p_position, const Vector2i & p_resolution, Error & r_error) Line 864 (d:\Development\godot4-git\servers\display_server.cpp:864)
godot.windows.editor.dev.x86_64.exe!Main::setup2(unsigned __int64 p_main_tid_override) Line 2002 (d:\Development\godot4-git\main\main.cpp:2002)
godot.windows.editor.dev.x86_64.exe!Main::setup(const char * execpath, int argc, char * * argv, bool p_second_phase) Line 1883 (d:\Development\godot4-git\main\main.cpp:1883)
godot.windows.editor.dev.x86_64.exe!widechar_main(int argc, wchar_t * * argv) Line 164 (d:\Development\godot4-git\platform\windows\godot_windows.cpp:164)
godot.windows.editor.dev.x86_64.exe!_main() Line 203 (d:\Development\godot4-git\platform\windows\godot_windows.cpp:203)
godot.windows.editor.dev.x86_64.exe!main(int argc, char * * argv) Line 217 (d:\Development\godot4-git\platform\windows\godot_windows.cpp:217)

Usually once this starts happening it will keep happening until I reboot and then disappear for a few days.. Can't rule out a local driver issue or another application interfering with Godot.
Logging it mostly in case someone has an idea.
Steps to reproduce
Intermittent issue, unknown cause
Minimal reproduction project
Happens when opening up project manager

Looks like joypad = new JoypadWindows(...) should be moved up to before the call to show_window.

Crash is likely caused by uninitialized LPDIRECTINPUT8 dinput; (should be LPDIRECTINPUT8 dinput = nullptr;`). #69277 is probably a good idea as well.


TEPHRA-305 Support HBase 2.1 and 2.2

As to merging this PR, I am not sure how to do this. First time after joining Phoenix. I just merged it using git am --signoff and push, seems like it worked.


Extra height on tab view with fabric enabled

Current behavior

Expected behavior
Should not have extra height.
Without fabric; it works fine.
Reproduction
Usage:
  const renderScene = useCallback(
    (info: {route: {key: string}}) => {
      return (
        <Foo />
      );
    },
    [routes, tabIndex],
  );

  const tabBarStyle = useMemo<StyleProp<ViewStyle>>(() => {
    return {
      backgroundColor: colors.contentBackgroundColor,
      paddingVertical: 0,
    };
  }, [colors.contentBackgroundColor]);
  const textStyle: any = useMemo(() => {
    return {
      fontWeight: '600',
    };
  }, []);
  const renderTabLabel = useCallback(
    (info: {route: {title: string}}) => {
      return <Text style={textStyle}>{info.route.title}</Text>;
    },
    [textStyle],
  );
  const renderTabBar = useCallback(
    (tabBarProps: any) => (
      <TabBar
        {...tabBarProps}
        style={tabBarStyle}
        renderLabel={renderTabLabel}
        indicatorStyle={{backgroundColor: colors.textColor}}
        scrollEnabled
        tabStyle={{width: 'auto'}}
      />
    ),
    [renderTabLabel, tabBarStyle, colors.textColor],
  );

  return (
    <TabView
      lazy
      onIndexChange={setTabIndex}
      navigationState={{index: tabIndex, routes}}
      renderScene={renderScene}
      renderTabBar={renderTabBar}
      initialLayout={{width: dimensions.width}}
    />
  );

Platform

[X] Android
[X] iOS
[ ] Web
[ ] Windows
[ ] MacOS

Environment

package
version

react-native-tab-view
^3.3.0

react-native-pager-view
^6.1.0-rc.1

react-native
0.70.3

expo

node
16

npm or yarn
yarn

Hey @luutruong
Thanks for reporting this bug, can you provide a screenshot comparing both architectures?

Hi @okwasniewski
I attached screenshot in description of issue.

Old version:
(react-native: 0.70.3 react-native-tab-view: ^3.3.0 react-native-pager-view: ^6.0.1)

Fabric enabled:
https://user-images.githubusercontent.com/3833024/196013944-8f194ce3-202e-4f24-b568-88dca758ff6c.png

Linking the same issue from react-native-pager-view: https://github.com/callstack/react-native-pager-view/issues/618

Could you check this version of RNPV https://github.com/callstack/react-native-pager-view/releases/tag/v6.1.0-rc.2

Closing this, since it was resolved in react-native-pager-view


refactor: rework logging

Preparation for #497

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

v5.14.0
GitHub release

Your semantic-release bot :package::rocket:


Paste images from clipboard

Currently NTFY supports attaching a file from a local source or via an external URL. It would be cool if one could paste from clipboard and the file uploading just worked. An use case I can think of is quickly sharing an image from one computer to another.

On Android, if you click "Share" from any app, you can share an image or a file to a ntfy topic. There is no native dialog inside in the ntfy app itself yet (see #98) though.
On the web app, you can just drag and drop files into the web app and publish files like that.

Thanks for getting back. Here's a situation that prompted me to create this
issue: I use Flameshot on my Linux computer to take a selected-area
screenshot and instead of saving it to a file, I copy it to clipboard.
I think it'd be great if I could just Ctrl+V instead.
(The reason I copy to clipboard or even that am willing to share over NTFY
is that the screenshot is ephemeral and quick)
On Fri, Jan 6, 2023, 8:09 PM Philipp C. Heckel @.***>
wrote:

On Android, if you click "Share" from any app, you can share an image or a
file to a ntfy topic. There is no native dialog inside in the ntfy app
itself yet (see #98 https://github.com/binwiederhier/ntfy/issues/98)
though.
On the web app, you can just drag and drop files into the web app and
publish files like that.
—
Reply to this email directly, view it on GitHub
https://github.com/binwiederhier/ntfy/issues/572#issuecomment-1373720685,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEZMONWH2O3ECMDXWHMS7V3WRAVBXANCNFSM6AAAAAATS3D3YA
.
You are receiving this because you authored the thread.Message ID:
@.***>

So you are talking about the web app?

Done in #963.


Add compatibility with Doctrine DBAL 3.x

Hi there,
this library currently uses "doctrine/dbal": "^2.12". We might want to also check compatibility with version 3.x.
With kind regards,
Andreas.

Maybe this is something @alexander-schranz will be interested in?


Why no validation of request body in Hmac-Auth Plugin

Summary
Why no validation of request body in Hmac-Auth Plugin. I used Hmac-Auth plugin in my project to validate users and to verify tampering of the request body. The provided Hmac-Auth plugin is good only for user credential validation.
I used content-md5 header as shown in the example but this md5 hash is not verified during authentication. This means, if someone tampers request body but sent same content-md5 header, the request would still be authorized by Kong.
I had two options:

Verify content md5 hash in my project. This would be required inside every API which expects a request body
Create a new plugin which would also validate the integrity of request body along with validation of user credentials. ( I used this approach as it was more convenient than validation md5 hash everywhere in project)

Steps To Reproduce

Create a Consumer, a Hmac credential and a POST API.
Enable Hmac-auth on this API and use date and content-md5 values in headers for the Authorization header.
Create valid hmac headers: date, content-md5,  Authorization headers using POST request body.
Now Create a HTTP request with above headers but change request body. Now, content-md5 of new request body would change but don't update this in the header. When this request is sent it is validated by KONG even though content-md5 hash is not of the current request body.

Additional Details & Logs

Kong version: Happens in both 0.9 & 0.10

Note
This is the link to my Hmac plugin which does request integrity validation: https://github.com/vaibhavatul47/kong-custom-plugins
Can we merge this logic in Hmac-Auth plugin of KONG ?

PR: https://github.com/Mashape/kong/pull/2407

Changes regarding this have been merged in 0.11!


Removed propTypes which are not used from different components

Fixes #1788
This issue resolve the propTypes which are defined but never used in some components. The className propType in index.jsx file of avatar component, icon propType in page-header component, unMount propType in utilities component and (inverse,tooltip,onMouseLeave) propType in button-stateful component are never used.
Also this.setState method in handleClose() function should not be used as it is called from componentWillUnmount function.

CONTRIBUTOR checklist (do not remove)
Please complete for every pull request

[x] First-time contributors should sign the Contributor License Agreement.  If you haven't before, wait a few minutes and a bot will comment on this pull request with instructions.
[x] npm run lint:fix has been run and linting passes.
[ ] Mocha, Jest (Storyshots), and components/component-docs.json CI tests pass (npm test).
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[x] Review the appropriate Storybook stories. Open http://localhost:9001/.
[x] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[x] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

REVIEWER checklist (do not remove)

[ ] TravisCI tests pass. This includes linting, Mocha, Jest, Storyshots, and components/component-docs.json tests.
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[ ] Review the appropriate Storybook stories. Open http://localhost:9001/.
[ ] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[ ] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

Required only if there are markup / UX changes

[ ] Add year-first date and commit SHA to last-slds-markup-review in package.json and push.
[ ] Request a review of the deployed Heroku app by the Salesforce UX Accessibility Team.
[ ] Add year-first review date, and commit SHA, last-accessibility-review, to package.json and push.
[ ] While the contributor's branch is checked out, run npm run local-update within locally cloned site repo to confirm the site will function correctly at the next release.

@devgopesh Good finds here. Adding to my code review backlog.

@interactivellama why the security/sunk test failed?

@devgopesh That's on our organization's end and not anything to do with your contribution. Please ignore.


Install script doesn't work on Ubuntu 12.04

This is what I got running the install script:
Looking for an existing zsh config...
Found ~/.zshrc. [0;32]Backing up to ~/.zshrc.pre-oh-my-zsh
Using the Oh My Zsh template file and adding it to ~/.zshrc
Copying your current PATH and adding it to the end of ~/.zshrc for you.
Time to change your default shell to zsh!
chsh: option requires an argument -- 's'
Usage: chsh [options] [LOGIN]
Options:
-h, --help                    display this help message and exit
-s, --shell SHELL             new login shell for the user account
....is now installed.
/usr/bin/env: zsh: No such file or directory
sh: 36: source: not found
Just can't start zsh to work.
Log out didn't help.
Tried to change shell to zsh with chsh -s /bin/zsh
chsh: /bin/zsh is an invalid shell

Fedora 22: sudo dnf install zsh

I got the same error. How to fix? Some one help me
chsh -s $which zsh
Password:
chsh: zsh is an invalid shell

# Base system Debian GNU/Linux 8(jessie)64-bit
$ uname -a
Linux debian-xxx 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3

@tanchao90 first install zsh: sudo apt install zsh; then run chsh -s $(which zsh).

@mcornella ths


Bulk Operations - failing without manually resuming

When running the bulk operations to run a workflow on a view, the process fails after a couple minutes without intervention. The intervention is that I must monitor the process, and when it changes to "Waiting", I must manually check it and resume it.
Even then, it will eventually fail. Here is the error message:
`
Unexpected exception from plug-in (Execute): UltimateWorkflowToolkit.CoreOperations.Views.ViewDistributeWorkflow: System.TimeoutException: Couldn’t complete execution of the custom activity UltimateWorkflowToolkit.CoreOperations.Views.ViewDistributeWorkflow plug-in within the 2-minute time limit.
`
Is there a way to avoid this?

Hello,
How much records do you have in view?

Between 1100 - 13,000.

This can be a problem. Plugins and Custom Workflow Assemblies have 2 minutes execution timeout. Because you have a lot of records not all the records are processed and that's why you get this timeout error. What's your usecase?

I am having issues with a multiselect field properly interacting with the Web API. I attempted to create a yes/no field for each of the multiselect options. I used the work flow to attempt to update all of the records rather than needing to go 250 at a time through 26,000 total records.

That makes sense. Try to build a view where "Multiselect field" doesn't contain value and after several attempts job should be completed.


Adding  a third-party library to the plugin .

As I am trying to add a reference to a third-party library to this template I copied this DLL to the plugin directory, but it gives me the error "could not load file or assembly...the system could not find this file" is adding a library possible and how can it be done?

Have you tried using NuGet?
As far as I know, if you just go to Project->Manage NuGet Packages... from the Visual Studio main menu, you can just include a new package in the project. If you go to that tab in Visual Studio, you will see that the UnmanagedExports.Repack.Upgrade package is included with the plugin by default, because it is needed to allow the plugin to work with Notepad++.
Let me know if this helps. If you still can't, it may be because you're using an old version of the template, and you should use the most up-to-date source code instead.

Yes I am using a nuget package

I copied this DLL to the plugin directory

I'm afraid that's not going to work. The .NET runtime doesn't treat the current directory as an implicit load path. The plugin needs to resolve the assembly path and pass it to the System.Reflection.Assembly.Load method.
Here's a link to an expert's advice on how to do that: https://github.com/oleg-shilo/cs-script.npp/issues/66#issuecomment-1086657272

I have added the following code to the main.cs file and it worked

 static Assembly LoadFromSameFolder(object sender, ResolveEventArgs args)
 {
     //to load dlls  from plugin folder
     string folderPath = Path.Combine(Npp.notepad.GetNppPath(),  PluginName); //Npp.notepad.GetNppPath() = ""
     folderPath = Path.Combine("C:\\Program Files\\Notepad++", PluginName);
     string assemblyPath = Path.Combine(folderPath, new AssemblyName(args.Name).Name + ".dll");

     if (!File.Exists(assemblyPath)) return null;
     Assembly assembly = Assembly.LoadFrom(assemblyPath);
     return assembly;
 }
 static internal void CommandMenuInit()
 {

     AppDomain currentDomain = AppDomain.CurrentDomain;
     currentDomain.AssemblyResolve += new ResolveEventHandler(LoadFromSameFolder);

I don't know if there is a better place to handle this or not,
Also i wonder why the Npp.notepad.GetNppPath() is  empty  here.

My most recent commit (discussed in this section of docs/README.md) should allow users of the template to use NuGet packages without doing anything besides installing them, and other locally installed DLL's without too much work.
I'd appreciate if people could test this commit, to test it with different kinds of dependencies. I've only tested it building for Notepad++ 8.6.4, and I haven't tried targeting a portable Notepad++ installation.
Many thanks to both @rdipardo  and @tareq2 for your help on this issue. This has significantly expanded my own knowledge of C#, and I believe it will make the template a lot more useful for others.

Nobody has complained about how the plugin pack handles dependencies, and I still haven't seen any issues, so I'm closing this issue.


Move post steps to corresponding stages

Post step for the whole pipeline will fail if the stages producing the outputs required did not run. To fix that I moved post steps to the corresponding stages.

LGTM


[Azure Maps] Fix broken link

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

/azp run prepare-pipelines


Getting response 401

Hi Bastian,
many thanks for providing this package. Unfortunatly as soon as I do run a different query than this one here
ult = immoscrapy.query('de','berlin', 'berlin', 'HOUSE_BUY',price=900000)
like for example this one here
ult = immoscrapy.query('de','chemnitz', 'chemnitz', 'HOUSE_BUY',price=900000)
I will recieve a 401 response from the post() request. Do I need to have any authorizing to use this API?
BR
Lama

Hi thanks for the report, unfortunately I cannot reproduce this bug. You don't need any authentication for this library to work. I've added a regression test for the case you provided to ensure this example works. I'll leave the report open in case someone can provide more info.

Hi Bastian,
I downloaded your latest version 1.0.0 and run your testfunction test_regression_gh_8() unfortunatly with the same problem. This was the output.
Connected to pydev debugger (build 201.8743.20)
2022-04-30 22:31:06,271 INFO immoscrapy.immoscrapy Using URL: https://www.immobilienscout24.de/Suche/de/chemnitz/chemnitz/haus-kaufen?sorting=2&price=900000
2022-04-30 22:31:06,281 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): www.immobilienscout24.de:443
2022-04-30 22:31:06,670 DEBUG urllib3.connectionpool https://www.immobilienscout24.de:443 "POST /Suche/de/chemnitz/chemnitz/haus-kaufen?sorting=2&price=900000 HTTP/1.1" 410 None
2022-04-30 22:31:06,685 WARNING immoscrapy.immoscrapy Search returned 0 results.
Running your commandline tool I do got the following error.
immoscrapy buy-house --country de --region chemnitz --price<PHONE_NUMBER>00 --numberofrooms 5-
Namespace(city=None, command='buy-house', constructionyear=None, country='de', func=<function buy_house at 0x000001DCD6197790>, livingspace=None, numberofrooms='5-', price='100000-800000', region='chemnitz')
2022-04-30 22:35:00,686 INFO immoscrapy.immoscrapy Using URL: https://www.immobilienscout24.de/Suche/de/chemnitz/haus-kaufen?sorting=2&price=100000-800000&numberofrooms=5-
2022-04-30 22:35:00,689 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): www.immobilienscout24.de:443
2022-04-30 22:35:00,951 DEBUG urllib3.connectionpool https://www.immobilienscout24.de:443 "POST /Suche/de/chemnitz/haus-kaufen?sorting=2&price=100000-800000&numberofrooms=5- HTTP/1.1" 410 None
2022-04-30 22:35:00,978 WARNING immoscrapy.immoscrapy Search returned 0 results.
Traceback (most recent call last):
File "c:\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\anaconda3\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\anaconda3\Scripts\immoscrapy.exe_main.py", line 7, in
File "c:\anaconda3\lib\site-packages\immoscrapy\cli.py", line 18, in main
args.func(args)
File "c:\anaconda3\lib\site-packages\immoscrapy\cli.py", line 128, in buy_house
pretty_print(results)
File "c:\anaconda3\lib\site-packages\immoscrapy\cli.py", line 137, in pretty_print
df.drop('id', axis=1, inplace=True)
File "c:\anaconda3\lib\site-packages\pandas\core\frame.py", line 4308, in drop
return super().drop(
File "c:\anaconda3\lib\site-packages\pandas\core\generic.py", line 4153, in drop
obj = obj._drop_axis(labels, axis, level=level, errors=errors)
File "c:\anaconda3\lib\site-packages\pandas\core\generic.py", line 4188, in _drop_axis
new_axis = axis.drop(labels, errors=errors)
File "c:\anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 5591, in drop
raise KeyError(f"{labels[mask]} not found in axis")
KeyError: "['id'] not found in axis"
Please let me know If can provide more information our can help to debug this issue. I'm still wonder that your post request works without any authorizing. Because on the immoscout24  API Developer Portal they say, that you need to apply for access key to use this Rest API.

I think i found the issue, thanks for the extra information. The problem was to pretty print empty results.

And I think I found the issue on my side. The crash in your cli tool came from the empty search results and the empty search results are due to a wrong search string from my side. The region is sachsen and not chemnitz. So using the following request the query returns results.
ult = immoscrapy.query('de','sachsen', 'chemnitz', 'HOUSE_BUY',price=900000)
I came along this misstake, as I coppied the complete url generated within immoscrapy.query to my webbrowser, where I than also recieved a response error. This also bought me to the idea to provide a query where the user can put the immoscout24 search string directly in to the function. So you can use the immoscout frontend to setup all your search criteria and use the url than within your function. Maybe a feature request?


Setup Magical Record + Mogenerator + temp DB model

Also we can do method for filling DB so we can use it in start of project.


PIC-2929 WIP - bringing in hmpps-sqs

TODO:
get queue subscription working 👍
write some tests 👍
add property configuration to read queues and topics from secrets 👍
Fix circleci config so localstack creates queues and topics 👍
Configure enhanced SQS client

Looks like we will be retiring this application


Error in if (any(date_ranges2$start_first_occasion > date_ranges2$end_last_occasion)) { :    missing value where TRUE/FALSE needed

when using the code below I still get this error :
Error in if (any(date_ranges2$start_first_occasion > date_ranges2$end_last_occasion)) { :
missing value where TRUE/FALSE needed
start_date <- lubridate::as_datetime("2020-4-01")
end_date <- lubridate::as_datetime("2020-9-30")
cam_op <- get_cam_op(GMU8, pred_and(pred_gte("start", start_date), pred_lte("end", end_date)),
station_col = "locationName",
use_prefix = FALSE
)
rec_table <- get_record_table(GMU8, pred_and(pred_gte("start", start_date), pred_lte("end", end_date)),
stationCol = "locationName",
exclude = NULL,
minDeltaTime = 0,
deltaTimeComparedTo = NULL
)
Dethist_wb <- detectionHistory(recordTable = rec_table,
camOp = cam_op,
stationCol = "Station",
speciesCol = "Species",
recordDateTimeCol = "DateTimeOriginal",
recordDateTimeFormat ="%Y-%m-%d %H:%M:%S",
species = "Sus scrofa",
occasionLength = 1,
day1 = "station",
datesAsOccasionNames = FALSE,
occasionStartTime = 0,
includeEffort = FALSE,
timeZone = "UTC",
writecsv = FALSE)
dethist <- as.data.frame(Dethist_wb$detection_history)
View(dethist)
occupcov <- unmarkedFrameOccu(y = dethist)
null_p <- occu(~1~1, occupcov) # Model without covariates
backTransform(null_p, 'det') # Backtransformation
backTransform(null_p, 'state')

Note for me.
This error is the consequence of something happpening at an earlier step in the function. See the warning:
Warning messages:
1: In min(which(!is.na(X))) :
  no non-missing arguments to min; returning Inf
2: In max(which(!is.na(X))) :
  no non-missing arguments to max; returning -Inf

We get this at line 197: date_ranges <- do.call(createDateRangeTable, arg.list0). Indeed, date_ranges contains 65 rows with rec.min or rec.max column equal to NA. But there is one deployment with NA in all columns: 2020_8_1549.

Something suspect in the camera operation matrix: all columns are equal to NA:
> all(is.na(cam_op[which(rownames(cam_op) == "2020_8_1549"),]))
[1] TRUE

Notice that  2020_8_1549 is a location name and is linked to two deployments:
> GMU8$deployments %>%
+   dplyr::filter(.data$locationName == "2020_8_1549") %>%
+   select(locationName, deploymentID, start, end)
# A tibble: 2 x 4
  locationName deploymentID                         start               end
  <chr>        <chr>                                <dttm>              <dttm>
1 2020_8_1549  45339f2a-33ff-4211-9eec-ff20a5f1555d 2020-08-03 11:10:11 2020-08-10 23:00:00
2 2020_8_1549  ba2d06d4-9b67-4b1b-843c-afbf970cbd90 2020-08-11 08:05:22 2020-09-04 06:02:36

Further debugging now in camtraptor::get_cam_op().

To solve issue #99, we wrote the PR #104 where we converted 0s to NAs internally. But I did still in an early stage, i.e. while calculating the effort at deploymentID level. However, we group the deployments at locationName level after it and we use rowSums() to sum the efforts. As shown above, location 2020_8_1549   is linked to two  deployments which are not active at the very same moment, so this means that the sum is always of the form: NA + number  or number + NA, which is always converted to NA.
So, the mapping of 0s to NAs by dplyr::na_if(..., y = 0) should occur after this sum.


Consider adding synonyms for dart pub

Some options for synonyms:

[ ] dart packages
[ ] dart pkg

@bkonyi is there a good reason for adding these synonyms?
I agree, that it would be nice if the CLI interface was better.
Is that what this aims at, or is it more like consistency with flutter packages?

I also think there is consistency and value in having one specific command. With synonyms, developers may get comfortable and use them in tutorials, videos, demonstrations, etc creating an inconsistent experience or unfamiliarity for those reading/watching but are used to a different flavor of the command. Most documentation will refer to the primary alias as well, making the others challenging to search for.
Perhaps the user experience could still be improved here without adding this potential source of inconsistency by making sure "pub" shows up in the "Did you mean one of these?" text for these aliases.
$ dart packages get

Could not find a command named "packages".

Did you mean one of these?
  pub


Adds pro/contra-speech feature to los

As OS3

Hi, please have a look at https://github.com/OpenSlides/OpenSlides/pull/6038 (and the linked issue)

Please have a look into https://github.com/OpenSlides/OpenSlides/wiki/speaker.update and the models.yml
There is now just one field speech_state which is a combination of pro_speech and marked in OS3.

You may build upon https://github.com/OpenSlides/openslides-backend/pull/740

could directly integrate the following changes:
https://github.com/OpenSlides/OpenSlides/pull/6073/files

@tsiegleauq I have reworked this. You can review it again.

hm I think I broke something.

ok that should do it.


FR: Use autosuggest component for template selection

Hi there,
Craft has a nice built-in autosuggest component which works great for template selection. I'm familiar with it because the Vizy field uses it to great effect.

My feature request/suggestion is to follow this same approach and use Craft's built in autosuggest component, to provide an improved UI for template selection.
I've added this in a Pull Request for you to consider.
It needs testing and I've only checked it on Craft 4, but please let me know what you think.

@tomkiss Thanks for this, appreciate it!
Already commented on your PR, but: I do like this suggestion. I just added an option to have "friendly" template names where the path segments are capitalized and slashes replaced with a >.
Do you know if there is a way to control the rendering of the value with this field?
I might have to revert that change in favour of this, since this might be more valuable. I'll give it some thought.


Palette for Ant Design 5.3+

Revert components which were removed for 5.0

The Watermark component has no link