OMdb movie database api added

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide.
[x] Your changes are made in the README file, not the auto-generated JSON.
[x] Your additions are ordered alphabetically.
[x] Your submission has a useful description.
[x] Each table column should be padded with one space on either side.
[x] You have searched the repository for any relevant issues or PRs.
[x] Any category you are creating has the minimum requirement of 3 items.

I have added the Omdb movie database api link. Please have a look :)

This API is no longer free: https://www.patreon.com/posts/api-is-going-10743518
Apparently the creator couldn't support the traffic without charging for an API key so now you have to contact him and pay for access.

Hi @manishsaraan, thanks for the PR! Unfortunately this service is no longer free. I'd encourage you to open more PRs in the future!


specify package as noarch

closes #59

This needs testing locally before merging

@paskino are we happy with this? Shall I also remove the conda_build_config.yaml in this PR?

you can install the build from this branch at:
conda install idvc -c murgadroid -c ccpi -c paskino


support liege of the primordial damage buffs

Enable 3.2 liege of the primordial "for each summoned golem" text.
Added to configs amount of summoned golems by type.
Damage buff and golem buff increase are calculated OK.
I could not make it so number of golems becomes zero if i disable skill. Like Lightning golem aura is disabled when you disable lightning golem skill.
number of golems is not checked against "number of active minions" stat

@AIElemental I was excited to see your PR, since I've been wanting to plan out a Golemancer.  I'm wondering is something got left out, though?  When I tried this build, I was able to set the number of golems in the config.  And the total number of golems did show up in the defensive calcs.  But otherwise there was no change.

Looks like it was mostly a mod caching issue.  I did notice that this doesn't cover the minion damage, but what's here seems good.


[RCD-45] & [RCD-44] Review fee calculation entirely

Description
So, basically, by conflating a bit the selected entries and changes, a
lot of things become easier.  At the price of one thing: fairness.
The previous code was splitting fee across change proportionally to
inputs.  So here, I just split the fee across all changes, regardless of
the input.
One could see it as another type of fairness :upside_down_face: ...  But
that's also a lot simpler to handle, because we can just manipulate all
inputs and all changes directly and compute fee for those directly.
Linked issue
RCD-45
RCD-44
Type of change

[x] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[x] I have read the style guide document, and my code follows the code style of this project.
[x] If my code deals with exceptions, it follows the guidelines.
[x] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.
[x] CHANGELOG entry has been added and is linked to the correct PR on GitHub.

Testing checklist

[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

QA Steps

Screenshots (if available)

Wallet unit tests
  Coin selection policies unit tests
    largestFirst
      one payee, SenderPaysFee, fee = 0
        +++ OK, passed 1000 tests.
      one payee, ReceiverPaysFee, fee = 0
        +++ OK, passed 1000 tests.
      multiple payees, SenderPaysFee, fee = 0
        +++ OK, passed 1000 tests.
      multiple payees, ReceiverPaysFee, fee = 0
        +++ OK, passed 1000 tests.
      one payee, SenderPaysFee, fee = 1 Lovelace
        +++ OK, passed 1000 tests.
      one payee, ReceiverPaysFee, fee = 1 Lovelace
        +++ OK, passed 1000 tests.
      multiple payees, SenderPaysFee, fee = 1 Lovelace
        +++ OK, passed 1000 tests.
      multiple payees, ReceiverPaysFee, fee = 1 Lovelace
        +++ OK, passed 1000 tests.
    random
      one payee, SenderPaysFee, fee = 0
        +++ OK, passed 2000 tests.
      one payee, ReceiverPaysFee, fee = 0
        +++ OK, passed 2000 tests.
      multiple payees, SenderPaysFee, fee = 0
        +++ OK, passed 2000 tests.
      multiple payees, ReceiverPaysFee, fee = 0
        +++ OK, passed 2000 tests.
      one payee, SenderPaysFee, fee = 1 Lovelace
        +++ OK, passed 2000 tests.
      multiple payees, SenderPaysFee, fee = 1 Lovelace
        +++ OK, passed 2000 tests.
      one payee, ReceiverPaysFee, fee = linear
        +++ OK, passed 2000 tests.
      multiple payees, ReceiverPaysFee, fee = linear
        +++ OK, passed 2000 tests.
      one payee, SenderPaysFee, fee = cardano
        +++ OK, passed 2000 tests.
      multiple payees, SenderPaysFee, fee = cardano
        +++ OK, passed 2000 tests.
      one payee, ReceiverPaysFee, fee = cardano
        +++ OK, passed 2000 tests.
      multiple payees, ReceiverPaysFee, fee = cardano
        +++ OK, passed 2000 tests.
    Expected failures
      Paying a redeem address should always be rejected
        +++ OK, passed 2000 tests.
      Paying somebody not having enough money should fail
        +++ OK, passed 2000 tests.
      Restricting too much the number of inputs results in an hard error for a single payee
        +++ OK, passed 2000 tests.
      Restricting too much the number of inputs results in an hard error for multiple payees
        +++ OK, passed 2000 tests.
    Fiddly Addresses
      multiple payees, SenderPaysFee, fee = cardano
        +++ OK, passed 200 tests.
      multiple payees, ReceiverPaysFee, fee = cardano
        +++ OK, passed 200 tests.
    Input Grouping
      Require grouping, fee = 0, one big group depletes the Utxo completely
        +++ OK, passed 2000 tests.
      Require grouping, fee = cardano, one big group depletes the Utxo completely
        +++ OK, passed 2000 tests.
      Require grouping, fee = 0, several groups allows the payment to be fullfilled
        +++ OK, passed 2000 tests.
      Prefer grouping, fee = 0
        +++ OK, passed 2000 tests.
      IgnoreGrouping, fee = 0 must not deplete the utxo
        +++ OK, passed 2000 tests.
    Estimating the maximum number of inputs
      estimateMaxTxInputs yields a lower bound.
        +++ OK, passed 100 tests.
      estimateMaxTxInputs yields a relatively tight bound.
        +++ OK, passed 100 tests.
      estimateHardMaxTxInputs is close to estimateMaxTxInputs.
        +++ OK, passed 1000 tests.

Finished in 123.3834 seconds
34 examples, 0 failures

How to merge
Send the message bors r+ to merge this PR. For more information, see
docs/how-to/bors.md.

Merging this into release/2.0.0, will have another PR against develop which extends integration tests to reflect the scenarios fixed by this patch.


Unusable script on page

The question "How can I get the flows that need my attention across tenant" is answered with a script that repeatedly calls Get-AdminFlowAtRiskOfSuspension on each environment. Unfortunately, that cmdlet outputs a gargantuan banner with loads of undesired text every time it runs. This makes the output of the documented script completely unreadable:

Highlighted in red is the output of the script that users want to read. Between that is the text output that Get-AdminFlowAtRiskOfSuspension barfs out at every invokation.
Either the documentation of the script needs to be changed to quell the chatter, or the cmdlet needs to be changed not to output that text when not asked.

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

ID: 8b98a3d2-eee9-5956-4e6f-65a0240db884
Version Independent ID: 8b98a3d2-eee9-5956-4e6f-65a0240db884
Content: Frequently asked questions about Power Automate licensing - Power Platform
Content Source: power-platform/admin/power-automate-licensing/faqs.md
Service: power-platform
Sub-service: admin
GitHub Login: @PriyaKodukula
Microsoft Alias: prkoduku

Thanks for your comment, @Steltek. This issue has been assigned to the doc author for review.


Project updates

Hi, Chris.
This PR more condensed version of a previous one. It provides a basic outline for several improvements we have for Slick, built in collaboration with @mgajda. Overall changes striped down to 14 files.
This PR includes:

Addition of Serve.hs preview module, that provides functionality for Preview mode. Spins out small server locally for site observation. Additionally, taking into account your previous suggestions. All its functionality moved to slick-live package in case you have a strong opinion to not include this functionality.

Initial integration with our shake-watch project that will be released soon which provides continuous rebuilds on either haskell changes or site changes. Revealed in example, tightly coupled with Preview mode. My thinking when preview mode running, it should be in live reload version, so our watcher starts automatically. More explicit functionality will be available soon when the package is published.

Addition of Build.hs  file that includes high-level goodies we created while working on multiple sites
3.1) Shake builder that always prune stalled files shakeArgsPruneAlwaysWith. Small note here, there is shakeArgsPruneWith  available, a standard function that accepts --prune option for cleanups, when working with web-content that should default function so the user always has the correct version of the site. Having all the time --prune to run a little tedious, so we embed this functionality. Library user always can easily fall back to other options
3.2) Default Markdown and Pandoc options moved out of the library. Forcing user to specify one and provide to a builder.

Updates example project
4.1) Additional keys
4.2) Additional Builder.hs file with everything related to builds and update to the main workflow where shakeRules and builder moved to separate functions for further reuse.

Looking forward to your feedback!

t's reasonable to have the more advanced options available of course, but the 'default' so-to-speak should always just "do the right thing", so I've left quite a few comments to that effect.

With regards to slick-live this seems to be the right thing to do out-of-the-box, even though it does some magic behind the scenes. Maybe we should add comment on how to add slick-live to example/?

@ChrisPenner Thank you very much for your package and so quick review! I can address some issues already:

Add more thorough documentation on functions
Move out serving functionality completely for slick-live
Update Readme with examples on slick-live

I'll work out other points when I have your responses.

Quick update, slick-live removed completely to separate repo, no related dependencies for it in Slick package. Example package contains dependency to slick-live if we still want to show how to use it.

Sorry, I've been sick with the flu for about a week so haven't had much time for this, but I'll get to it ASAP once I start feeling better :+1:

@ChrisPenner no problem, get well!

@Chris Based on recent discussions. We'll move extra code to separate package that will contain additional goodies like universal loaders, keeping upstream dense.
Last commit:

adds default options
removes universal loaders - loadEntity and related types
Removes Build.hs functionality. Code rearranged between Pandoc.hs and Caching.hs

Looks great thanks! I think the only thing left before a merge is removing fmapFmapOptDescr from external exports by either moving Utils to an Internal module,  or just copy-pasting it next to its internal use; also if you could export getDirectoryPaths from Slick that'd be great, then I'd be more than happy to merge and release!
Thanks for being patient :) It's always tough and frustrating to work through large PRs like this 😄
Feel free to add a link to slick-live or whatever in the README too! It'd be great if people knew about it!

If you're interested in adding more helpers upstream I'd be more than happy to talk about it in smaller PRs; it's just tough to handle everything at once 😄

Hi, Chris. Thank you for a very quick review. Last commit corrects those few bits based on your request.
Regarding PR size this is my fault and I'll try to keep updates coming in a smaller forms so you can review them easily.
If it's ok I would like to create another PR with README updates where I can explain how to use live and links to extra package and when advanced users might require them.

Sounds good, thanks!

Initial integration with our shake-watch project that will be released soon which provides

Has shake-watch been released already?

@srid repo already public https://gitlab.com/migamake/shake-watch and will be released to hackage/stackage soon, as we finish polishing and preparations.


请问使用这个模型做深度估计需要先把图像去畸变吗

如果不去畸变会不会很影响预测的结果

The result in the 2D visualization is good (sharp edges and clean surface) without rectification.
But if you want to project the result to 3D, you would better do rectification before.

The result in the 2D visualization is good (sharp edges and clean surface) without rectification.
But if you want to project the result to 3D, you would better do rectification before.

明白了，感谢


Add more html tags and attributes in html-cheatsheet.md file

Descriptions

add more tags and attributes in html-cheatsheet.md file

Expected behavior

Enrich the html-cheatsheet.md file by adding more frequently used html tags and attributes.

Screenshots or Links

If applicable, add screenshots or a modified UI link to help explain your contribution.

Please, fill free to contribute to this project. Anyone including newcomers can make a contribution to this repo by adding basic Commands or Keyboard Shortcuts or tags, attributes, and properties and take a part in an open-source project.

Hey, Please assign it to me.


Documentation on cat (concatenate) method in pdf-forms

I see that there is a cat method to concatenate documents, but there is no documentation on it?
Can we get an example on how to use it?

there's two test cases in test/pdftk_wrapper_test.rb doing a simple cat and one where only page ranges of the input files are taken.


@html issue on SSR hydration

Describe the bug
When you put this code anywhere in a SvelteKit page that has SSR and hydration enabled:

  {#if true}
    {@html '
Hey!
'}
  {/if}

It results in the following error when hydrating the server rendered page on the browser.
Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'node.parentNode.removeChild')
The error is only displayed on the browser console, and only when it is rendered on the server. If navigating to the page from another page (no ssr involved) then it works just fine.
Reproduction
Reproduction is pretty easy, just initialise a new Sveltekit demo app:
npm init svelte@next my-app
And insert the code snippet somewhere on the index page:

  {#if true}
    {@html '
Hey!
'}
  {/if}

Reload the page, so it gets rendered on the server.
Logs
[Error] Unhandled Promise Rejection: TypeError: null is not an object (evaluating 'node.parentNode.removeChild')
	(anonymous function) (start.js:1210)
	asyncFunctionResume
	(anonymous function)
	promiseReactionJobWithoutPromise
	promiseReactionJob

System Info
System:
    OS: macOS 12.0.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 438.47 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 17.2.0 - /usr/local/bin/node
    npm: 8.1.4 - /usr/local/bin/npm
  Browsers:
    Chrome: 95.0.4638.69
    Safari: 15.1
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.3
    @sveltejs/kit: next => 1.0.0-next.201
    svelte: ^3.44.0 => 3.44.2

Severity
blocking all usage of SvelteKit
Additional Information
In my case, this completely breaks my page. My styles are not rendered properly, and the page is unusable.
For a temporary workaround I'm disabling SSR for that page.

does it happen only on dev or also on build?
cc @rixo for possibility of svelte-hmr issue

does it happen only on dev or also on build?
cc @rixo for possibility of svelte-hmr issue

It happens on my production build too

AFAIK it is invalid HTML to nest
 in
.
This:

  {#if true}
    {@html '
Hey!
'}
  {/if}

renders to this:

Hey!

which, in the browsers unfolds to this (because the second
 triggers auto close of the first one):

Hey

The autoclose rule actually makes it the same as if you had written something like this:

{@html "text
"}

... which is not (and probably cannot) be supported by Svelte.

@rixo Thanks for pointing that out!
Putting it inside a div instead of a p fixed the issue.
Do you reckon it would be useful/possible for sveltekit to notify of invalid html when in dev mode?
I would have never guessed the cause of the issue from the error message.

Do you reckon it would be useful/possible for sveltekit to notify of invalid html when in dev mode?

It doesn't seem really doable for Svelte to parse what's in a @html directive and make assumptions as to what makes it correct. Moreover, in real life scenario it will probably be some dynamic content (e.g. {@html post.text}) that's totally invisible to the compiler / IDE's static analysis.


Release 5.12.4

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.63%. Comparing base (1cafe6c) to head (00c074a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   84.63%   84.63%
=======================================
  Files         606      606
  Lines       54037    54037
=======================================
  Hits        45732    45732
  Misses       8305     8305

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


remove unsupported calibration_rising

related to https://github.com/ipa320/cob_common/pull/160
same changes need to be applied to cob3-2 after #303 is merged

Visual Review: OK


Declaration no display team  selection  when teammate has one team

context
As user i dont want to have to select the team during the declaration selection, if I  belong to one team only
Expected Behavior
Remove the popup if the user has one team
acceptance criteria
there is no team selection pop up when teammate  create his declaration and below to only one team.

will be handled with the ticket #588


Support for range types

Supporting range types would enable gist indices and thus make Genie fit for applications managing spatial and temporal data.
For instance for bitemporal data processing type mappings like these would be fine:
:ZonedDateTime => :TIMESTAMPTZ
:Interval{ZonedDateTime, Closed, Open} => :TSTZRANGE

@Kaeptenblaubaer can you please add whatever is needed and make a PR if all is good? Happy to merge it.

Thank You. But where to start, where is the type mapping used?

I think we can close this - sorry, I missed the question.


linkify-labels-on-dashboard - Drop feature

I don't see any labels on the dashboard. Even if there are, I don’t think it's worth keeping this feature around. https://github.com/refined-github/refined-github/issues/4740 is open to create a more generic linkifier feature that could address this and more, if you see it again.
Historical note: it's not the first time we drop the feature 😃

https://github.com/refined-github/refined-github/pull/6016
https://github.com/refined-github/refined-github/pull/6036

Noticed when working on

https://github.com/refined-github/refined-github/issues/7656


feat: allow removal of resources when APIs cease existing in Kubernetes

Changes

Enable helm-mapkubeapis to remove manifests of APIs that got removed from Kubernetes in Helm releases.

Fixes #85

I think this will be critical to be included, as many users will find themselves upgrade their clusters and realize their HELM deployments (which deployed PSPs) are broken. As you know, nobody really does the prep-work prior to the upgrade 😉

nice feature ❤

Tried out yor PR for PSP after cluster upgrade. Looks to work on 4 different versions of helm.

Closing as https://github.com/helm/helm-mapkubeapis/pull/95 was merged and contains the commits from here (cherry-picked).


Changed how offline edit badge is displayed

Description
Badge is only displayed if there are items in the list.
Checklist
Make sure you've done all the following (You can delete the checklist before submitting)

[x] Apply the AndroidStyle.xml style template to your code in Android Studio.
[x] Code is well documented
[x] Include unit tests for new functionality
[x] All user-visible strings are made translatable
[x] Code passes Travis builds in your branch
[x] If you have multiple commits please combine them into one commit by squashing them.
[x] Read and understood the contribution guidelines .


Improvement: add the virtual_network_id reference to cloudflare_tunnel_route resource

Current Terraform and Cloudflare provider version
Terraform v1.1.4
provider registry.terraform.io/cloudflare/cloudflare v3.14.0
Description
Add the virtual_network_id (or potentially virtual_network_name?) property to cloudflare_tunnel_route resource in order to assign it to specific Tunnel Virtual Network.
It would be an equivalent of existing cloudflared CLI command:
cloudflared tunnel route ip add --vnet vnet-frankfurt <IP_ADDRESS>/16 tunnel-fra
More info:
https://blog.cloudflare.com/building-many-private-virtual-networks-through-cloudflare-zero-trust/
Related with:
#1602
Use cases
It would be great to have an option to manage Tunnel Virtual Networks and assignment of Tunnels' Routes through Terraform instead of CLI/API.
Potential Terraform configuration
Example 1:
resource "cloudflare_argo_tunnel" "tunnel" {
  account_id = "c4a7362d577a6c3019a474fd6f485821"
  name       = "my_tunnel"
  secret     = "AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg="
}

resource "cloudflare_tunnel_route" "example" {
  account_id = "c4a7362d577a6c3019a474fd6f485821"
  tunnel_id  = cloudflare_argo_tunnel.tunnel.id
  network    = "<IP_ADDRESS>/32"
  comment    = "New tunnel route for documentation"
  # New reference property
  virtual_network_id = "1d5fdc9e88c8a8c4518b068cd94331fe"
}

Example 2 related with #1602:

resource "cloudflare_argo_tunnel" "tunnel" {
  account_id = "c4a7362d577a6c3019a474fd6f485821"
  name       = "my_tunnel"
  secret     = "AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg="
}

# New Virtual Network resource from #1602
resource "cloudflare_tunnel_virtual_network" "example" {
  name = "us-east-1-vpc"
  is_default_network = true
  comment = Staging VPC for data science
}

resource "cloudflare_tunnel_route" "example" {
  account_id = "c4a7362d577a6c3019a474fd6f485821"
  tunnel_id  = cloudflare_argo_tunnel.tunnel.id
  network    = "<IP_ADDRESS>/32"
  comment    = "New tunnel route for documentation"
  # New reference property
  virtual_network_id = cloudflare_tunnel_virtual_network.example.id
}

References
No response

@kkaczmarczyk I had a loud party here :). Next Wednesday there will be a release and you will be able to use it.


Prevent Moves without Roll to Trigger Conditions

In GitLab by @brunocalado on Mar 3, 2022, 14:48
Summary
Hi.
Can you Prevent Moves without Roll to Trigger Conditions? Thank you.

Labels (do-not-change)
/cc @Asacolips

In GitLab by @mclemente on Nov 14, 2023, 12:09
Fixed on !33.


About Client Credentials Grant

In authorization-server/oauth2.js, line 167, we should verify clients' IDs and passwords before returning access tokens, right?

Sorry for the late response.  Been too busy lately.
Yes that is correct.  I haven't looked at the code in quite a while though.  Looked now and I think it doesn't do any hooks in there for that as an example.


/etc/shadow file for root:::0:::::

https://www.zdnet.com/article/root-account-misconfigurations-found-in-20-of-top-1000-docker-containers/
I guess it's already know by jlesage but I prefer to be sure.
full list
https://gist.github.com/jgamblin/6015a2020c1de3bc3aab19b361573b7f
jlesage/baseimage-gui
jlesage/crashplan-pro
jlesage/filebot
jlesage/filezilla
jlesage/firefox
jlesage/handbrake
jlesage/jdownloader-2
jlesage/makemkv
jlesage/mkvtoolnix

Yes, these containers have this vulnerability patched :)

Closing this issue.  Please re-open if needed.


New install gives "not found" page on first load

Is this normal?

K. Sign in/sign up doesn't work, so essentially I can't install a new telescope app.

K. Sign in/sign up doesn't work, so essentially I can't install a new telescope app.

Sign up doesn't work? What's happening exactly, any errors?

Sign up doesn't work? What's happening exactly, any errors?

Also, are you talking about master or devel?

Also, are you talking about master or devel?

Nevermind, seems to have fixed itself or be my cache. Sorry:)

Nevermind, seems to have fixed itself or be my cache. Sorry:)


BingLocationLookupHandler

The current BingLookupLookupHandler takes lat and lon properties and calls out to Bing's API and returns information about where in the world that location is located.
Instead of just taking the lat and lon properties and directly looking them up, we should instead take those properties, calculate a GeoHash, with a configurable precision, calculate GeoHash center lat and lon, use them to see if the result for that location is cached and if not call Bing's API. This is to reduce the number of calls to Bing that happens (lowers cost).
The information returned should be cached by a Cache provider. Look up if we can use .NET's build in Cache providers or if we need to implement our own interface for this "dictionary". In-memory cache provider is ok to start with, but a more scalable and even persistable cache solutions is what we want.

@dgkanatsios you'll going to need to head over to https://www.bingmapsportal.com to sign up and get a developer key for Bing


Meshwell for 3D meshing

@HelgeGehring
Experimental more robust 3D meshing with pure gmsh backend
Uses meshwell, which is not a requirement yet since it lives mostly on the repo and not in a package

Looks good Simon, tests are failing, i think we need to add it to pyproject.toml

Ah ok. I'll make a meshwell release and make it optional requirement

still failing
from meshwell.prism import Prism
E   ModuleNotFoundError: No module named 'meshwell'

looks better!

great, thank you Simon!


Task - comprehensive specimen: map is not reactive to change of collecting event context

map appears to only react to verbatim lat/long fields

same as #836 ?

Not the same.
@jrflood Itemize steps to reproduce please.

Pushed a change for this, now inputs accept text and not numbers, so it will display the degrees coordinates and decimals. I think we need to make a conversion to handle the coordinates correctly in most cases

@jrflood can you confirm a fix?
On Wed, Mar 6, 2019 at 3:47 PM José Luis Pereira
<EMAIL_ADDRESS>wrote:

Pushed a change for this, now inputs accept text and not numbers, so it will display the degrees coordinates and decimals. I think we need to make a conversion to handle the coordinates correctly in most cases
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

This is still bent -- the new representation of lat/long does not effect reaction of the map.  when I manually edit the collecting event's coordinates to +/- degrees without the degree symbol, the map reacts.

Pushed a new packages for this. Now should works with decimal or degrees.
Please reopen if the problem persist


Error with rate_limit when using Litestack

After updating my revise_auth from 0.7 to 0.8 I ended up getting an error in production only, right after login:
2024-08-12T15:27:57.296 app[2874274c044068] syd [info] I, [2024-08-12T15:27:57.293811 #326] INFO -- : [1143bcd3-309a-4c6b-995b-36772a4446cc] Parameters: {"authenticity_token"=>"[FILTERED]"<EMAIL_ADDRESS>"password"=>"[FILTERED]", "button"=>""}

2024-08-12T15:27:57.296 app[2874274c044068] syd [info] I, [2024-08-12T15:27:57.295058 #326] INFO -- : [1143bcd3-309a-4c6b-995b-36772a4446cc] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)

2024-08-12T15:27:57.296 app[2874274c044068] syd [info] E, [2024-08-12T15:27:57.296055 #326] ERROR -- : [1143bcd3-309a-4c6b-995b-36772a4446cc]

2024-08-12T15:27:57.296 app[2874274c044068] syd [info] [1143bcd3-309a-4c6b-995b-36772a4446cc] NoMethodError (undefined method `>' for true):

2024-08-12T15:27:57.296 app[2874274c044068] syd [info] [1143bcd3-309a-4c6b-995b-36772a4446cc]

2024-08-12T15:27:57.296 app[2874274c044068] syd [info] [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal/rate_limiting.rb:55:in `rate_limiting'

2024-08-12T15:27:57.296 app[2874274c044068] syd [info] [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal/rate_limiting.rb:48:in `block in rate_limit'

...

Looking at lines 53-55 of rate_limiting.rb:
def rate_limiting(to:, within:, by:, with:, store:)
        count = store.increment("rate-limit:#{controller_path}:#{instance_exec(&by)}", 1, expires_in: within)
        if count && count > to

My guess is that store.increment is returning true instead of a number and so it ends up being true > to, causing the error.
There was no error in development, only production, so my guess is that because I'm using Litestack in production as per this article, the store.increment isn't working as expected?
Reverting to revise_auth 0.7 (before the addition of rate_limit) has temporarily solved the issue -- have I found a bug in Rails or is this a bug in Litestack not working as Rails expects?

Yeah, isn't an issue with ReviseAuth. This would be an issue with your Rails cache store returning true instead of a number most likely.
Share the full stacktrace so I can point you in the right direction to fix it.

Thanks, appreciate any hints!
Log lines specific to the error:
  |   | 2024-08-12 23:27:57.296 | E, [2024-08-12T15:27:57.296055 #326] ERROR -- : [1143bcd3-309a-4c6b-995b-36772a4446cc]  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] NoMethodError (undefined method `>' for true): |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal/rate_limiting.rb:55:in `rate_limiting' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal/rate_limiting.rb:48:in `block in rate_limit' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:407:in `instance_exec' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:407:in `block in make_lambda' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:179:in `block in call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:180:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:559:in `block in invoke_before' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:559:in `each' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:559:in `invoke_before' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:119:in `block in run_callbacks' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] turbo-rails (2.0.6) lib/turbo-rails.rb:24:in `with_request_id' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] turbo-rails (2.0.6) app/controllers/concerns/turbo/request_id_tracking.rb:10:in `turbo_tracking_request_id' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:130:in `block in run_callbacks' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actiontext (7.2.0) lib/action_text/rendering.rb:25:in `with_renderer' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actiontext (7.2.0) lib/action_text/engine.rb:71:in `block (4 levels) in <class:Engine>' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:130:in `instance_exec' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:130:in `block in run_callbacks' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:141:in `run_callbacks' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/abstract_controller/callbacks.rb:260:in `process_action' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal/rescue.rb:27:in `process_action' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal/instrumentation.rb:77:in `block in process_action' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/notifications.rb:210:in `block in instrument' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/notifications/instrumenter.rb:58:in `instrument' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/notifications.rb:210:in `instrument' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal/instrumentation.rb:76:in `process_action' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal/params_wrapper.rb:259:in `process_action' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activerecord (7.2.0) lib/active_record/railties/controller_runtime.rb:39:in `process_action' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/abstract_controller/base.rb:163:in `process' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionview (7.2.0) lib/action_view/rendering.rb:40:in `process' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal.rb:252:in `dispatch' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_controller/metal.rb:335:in `dispatch' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/routing/route_set.rb:67:in `dispatch' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/routing/route_set.rb:50:in `serve' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/journey/router.rb:53:in `block in serve' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/journey/router.rb:133:in `block in find_routes' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/journey/router.rb:126:in `each' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/journey/router.rb:126:in `find_routes' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/journey/router.rb:34:in `serve' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/routing/route_set.rb:896:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] rack (3.1.7) lib/rack/tempfile_reaper.rb:20:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] rack (3.1.7) lib/rack/etag.rb:29:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] rack (3.1.7) lib/rack/conditional_get.rb:43:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] rack (3.1.7) lib/rack/head.rb:15:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/http/permissions_policy.rb:38:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/http/content_security_policy.rb:36:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] rack-session (2.0.0) lib/rack/session/abstract/id.rb:272:in `context' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] rack-session (2.0.0) lib/rack/session/abstract/id.rb:266:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/cookies.rb:704:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/callbacks.rb:31:in `block in call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] activesupport (7.2.0) lib/active_support/callbacks.rb:101:in `run_callbacks' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/callbacks.rb:30:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/show_exceptions.rb:32:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] railties (7.2.0) lib/rails/rack/logger.rb:41:in `call_app' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] railties (7.2.0) lib/rails/rack/logger.rb:29:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/remote_ip.rb:96:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/request_id.rb:33:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] rack (3.1.7) lib/rack/method_override.rb:28:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] rack (3.1.7) lib/rack/runtime.rb:24:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/executor.rb:16:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/static.rb:27:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] rack (3.1.7) lib/rack/sendfile.rb:114:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/ssl.rb:82:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] actionpack (7.2.0) lib/action_dispatch/middleware/host_authorization.rb:143:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] railties (7.2.0) lib/rails/engine.rb:535:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] puma (6.4.2) lib/puma/configuration.rb:272:in `call' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] puma (6.4.2) lib/puma/request.rb:100:in `block in handle_request' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] puma (6.4.2) lib/puma/thread_pool.rb:378:in `with_force_shutdown' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] puma (6.4.2) lib/puma/request.rb:99:in `handle_request' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] puma (6.4.2) lib/puma/server.rb:464:in `process_client' |
  |   | 2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] puma (6.4.2) lib/puma/server.rb:245:in `block in run' |
-- | -- | --
2024-08-12 23:27:57.296 | [1143bcd3-309a-4c6b-995b-36772a4446cc] puma (6.4.2) lib/puma/thread_pool.rb:155:in `block in spawn_thread' |

Ah, just found this https://github.com/oldmoe/litestack/issues/122

Nice! Already fixed!
Probably have to use it directly from GitHub while he cuts a new release.

Yeah tried using the git/github gem for litestack but turns out the deploy for Fly doesn't like them for whatever reason, so for now just using revise_auth 0.7 and wrote myself a todo to update litestack/revise_auth later.

Turned out it was just because I didn't have git installed on my instance so I added it to the list of packages needed to build gems and was able to deploy and use litestack from github and revise_auth 0.8 without any errors.
Changed my todo to update litestack to 0.4.5 when it's released and remove git from the Dockerfile as I think it adds a little time onto the deploy having to install it.
Thanks for your diligence, helped me learn a thing or two :)

Ohh, that would do it. Don't normally need git, so it makes sense to not have it normally. 👍


Moved view based specs

WIP
Description
To make it clear where our view functionality is coming from. This PR moves the recent text based expectations to their appropriate view specs.
It also refactors those specs so that we rely upon css selectors instead of text.
Ideally we'd likely want to use I18n keys to refer to text within our tests but for now this makes sure that we have the expected elements whilst not relying on copy, which is still being refined.
Checklist:

[x] Automated checks are passing locally.

We discussed test approach in the last meeting and settled on an integration test approach. I didn’t convert the existing controller tests to integration tests as part of the changes but it wouldn’t take a lot to do so. I think I’d prefer we did that than move the tests to the view layer, unless we also have integration testing but not instead of.


force update at 17:00 believing that the next day have come

doesn't make sense with the new schedule format


Prevent != operator registering rest of line as comment

This change should prevent != as registering as a comment, while working as intended otherwise.

Can you do me a favor and add a space between the equals sign and closing bracket in your change? That way it will "de-comment" just the != standalone operator, but still leave !======= highlighted as a comment. I'll be able to pull that change early next week and publish an update.
Thanks for the contribution!

No problems, just did it now.


Website: Make the text portion of the logo clickable

When visiting http://hackety-hack.com/ I was confused that only the little logo-image was clickable, but the text "Hacket Hack" at the top of each page was not.
Please make the text portion clickable too.

This is/will be fixed with the new site.


[5.2] Cannot use null value in JSON where clause

When storing a model as JSON it's impossible to select rows based on null values. Both these queries return an empty result.
$q->where('payload->time_spent', 'null');
$q->where('payload->time_spent', null);

The payload column is of type JSON. Don't have much spare time at the moment but I'll try to figure out why in the next couple of days.
Based on:
Laravel v5.2.38
PHP v5.6.21
MySQL v5.7.12

It should be:
$q->whereNull('payload->time_spent');

$q->where('payload->time_spent', null); is basically the same as $q->whereNull('payload->time_spent'); and won't this.

I think it's not possible, I searched into that before but no luck hopefully you might find a solution.
It won't work even with a raw mysql query where JSON_EXTRACT(payload, "$. time_spent") IS NULL.

Hi,
Please use:
$q->where('payload->time_spent', 'not like', 'null' );


Custom Copiers #4: Additions to MockFailure

in preparation for addition of copiers to copy non-native types.
Attempt to break up the work by @jgonzalezdr and myself (#676 and #675) into smaller, more manageable chunks.
This one aims at producing more helpful error messages when the proper copier is not installed.

Closing these PRs as they are no longer needed.


Add Hanson

Add Hanson to the list of frameworks.
Project URL
https://github.com/blendle/Hanson
Description
Hanson is a lightweight framework to support observing and binding values. It's written in Swift, and also offers support for KVO, KVC and NotificationCenter.
Why it should be included to awesome-ios (optional)
Checklist

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

          1 Error

:no_entry_sign:
Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

1766
301
https://github.com/gizmoboy7/VCFloatingActionButton redirects tohttps://github.com/giridharvc7/VCFloatingActionButton

  Generated by :no_entry_sign: Danger

thx!


Deserialization of enum iterables is broken due to duplicate variables

Describe the bug
The generated code is unable to handle enum lists, as multiple methods use e, overshadowing each other.
Current behavior
Consider the following code:
@xml.XmlEnum()
enum AccessType {
  @xml.XmlValue('SiteA')
  siteA,
  @xml.XmlValue('SiteBeta')
  siteB;
}

@xml.XmlSerializable(createMixin: true)
@xml.XmlRootElement(name: 'Permissions')
class Permissions with _$PermissionsXmlSerializableMixin {
  @xml.XmlElement(name: 'Access')
  final List<AccessType>? accessTypes;

  const Permissions({
    required this.accessTypes,
  });

  factory Permissions.fromXmlElement(XmlElement element) =>
      _$PermissionsFromXmlElement(element);
}

The generator will generate the following snippet for the _$PermissionsFromXmlElement method:
Permissions _$PermissionsFromXmlElement(XmlElement element) {
  final accessTypes = element
      .getElements('Access')
      ?.map((e) => e.getText())
      .whereType<String>();
  return Permissions(
      accessTypes: accessTypes
          ?.map((e) => _$AccessTypeEnumMap.entries // HERE: e is defined
              .singleWhere((e) => e.value == e, // HERE: e is defined again
                  orElse: () => throw ArgumentError(
                      '`$e` is not one of the supported values: ${_$AccessTypeEnumMap.values.join(', ')}'))
              .key)
          .toList());
}

As you can see, e i used both in map and singleWhere, which leads to the second always being false (as e.value == e is obviously never true).
Expected behavior
It should work correctly and thus use two different variables. Recommendation: Use long names like element and enumEntry. Or even better generated names like accessTypesElement and accessTypeEnumEntry.

Possible places in code:

lib/src/serializer_generators/enum_serializer_generator.dart:41
lib/src/serializer_generators/iterable_serializer_generator.dart:5

Hi @Skycoder42, thank you very much for reporting this bug, I will aim to develop and release a fix this week.

Hi @Skycoder42, could I get you to verify that the issue is resolved by the changes on the branch that I have pushed?
https://dart.dev/tools/pub/dependencies#git-packages

@tnc1997 I just tried it out and now everything seems to work, thank you!


Inventory Change Summary in Non-Roasting Scenarios

Green coffee sale transactions are reported as not appearing properly in this report when no coffee has been roasted. This was reported while I was out of the country and unable to do much about it so I need to see if I can reproduce the problem and determine the root cause of the issue.

This has been identified and corrected. Now all items that were in inventory at the start of a reporting period will appear in the inventory change summary report even if there were no transactions that would change the inventory of that item.


Improve the resource loading error message to mention the need to import

This is a common pitfall when setting up projects in a headless environment.

Thanks!

Cherry-picked for 3.2.3.

Hm, I'm not sure this is so good a change, as it will show this message even in situations which are not related to imported resources, like missing scene files:
ERROR: load_interactive: Cannot open file 'res://interaction/fire_holder/fire_holder.tscn'.
   At: scene/resources/resource_format_text.cpp:1228.
ERROR: _load: Failed loading resource: res://interaction/fire_holder/fire_holder.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   At: core/io/resource_loader.cpp:278.
ERROR: poll: res://stages/world_1/forest_fun.tscn:5 - Parse Error: [ext_resource] referenced nonexistent resource at: res://interaction/fire_holder/fire_holder.tscn
   At: scene/resources/resource_format_text.cpp:440.
ERROR: load: Failed to load resource 'res://stages/world_1/forest_fun.tscn'.
   At: core/io/resource_loader.cpp:208.
ERROR: _load: Failed loading resource: res://stages/world_1/forest_fun.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   At: core/io/resource_loader.cpp:278.
ERROR: start: Failed loading scene: res://stages/world_1/forest_fun.tscn
   At: main/main.cpp:1944.

Still, it's an improvement over the previous case (no hint at all).
Maybe disable the hint for .tscn somehow in a follow-up PR?


Incremental Zone Transfer in DNS

Describe the issue
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements.  Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol.  Distribution of this memo is unlimited.
Abstract
This document proposes extensions to the DNS protocols to provide an
incremental zone transfer (IXFR) mechanism.

Introduction
For rapid propagation of changes to a DNS database [STD13], it is
necessary to reduce latency by actively notifying servers of the
change.  This is accomplished by the NOTIFY extension of the DNS
[NOTIFY].
The current full zone transfer mechanism (AXFR) is not an efficient
means to propagate changes to a small part of a zone, as it transfers
the entire zone file.
Incremental transfer (IXFR) as proposed is a more efficient
mechanism, as it transfers only the changed portion(s) of a zone.
In this document, a secondary name server which requests IXFR is
called an IXFR client and a primary or secondary name server which
responds to the request is called an IXFR server.

2. Brief Description of the Protocol
If an IXFR client, which likely has an older version of a zone,
thinks it needs new information about the zone (typically through SOA
refresh timeout or the NOTIFY mechanism), it sends an IXFR message
containing the SOA serial number of its, presumably outdated, copy of
the zone.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Can I get more information about what this zone means? Is this the reason I'm not receiving incoming messages from Various contact's


Double requirement given: tensorflow==1.0.0 when installing from binary url on Mac

Environment info
Operating System: MacOS 10.12.1
Installed version of CUDA and cuDNN:
$ ls -l /usr/local/cuda/lib/libcud*
lrwxr-xr-x  1 root  wheel     33 Jan 31 21:18 /usr/local/cuda/lib/libcuda.1.dylib -> /usr/local/cuda/lib/libcuda.dylib
-rwxr-xr-x  1 root  wheel  13504 Sep 26 14:59 /usr/local/cuda/lib/libcuda.dylib
lrwxr-xr-x  1 root  wheel     45 Sep 26 15:00 /usr/local/cuda/lib/libcudadevrt.a -> /Developer/NVIDIA/CUDA-8.0/lib/libcudadevrt.a
lrwxr-xr-x  1 root  wheel     50 Sep 26 15:00 /usr/local/cuda/lib/libcudart.8.0.dylib -> /Developer/NVIDIA/CUDA-8.0/lib/libcudart.8.0.dylib
lrwxr-xr-x  1 root  wheel     46 Sep 26 15:00 /usr/local/cuda/lib/libcudart.dylib -> /Developer/NVIDIA/CUDA-8.0/lib/libcudart.dylib
lrwxr-xr-x  1 root  wheel     49 Sep 26 15:00 /usr/local/cuda/lib/libcudart_static.a -> /Developer/NVIDIA/CUDA-8.0/lib/libcudart_static.a
lrwxr-xr-x  1 root  wheel     47 Oct 24 21:11 /usr/local/cuda/lib/libcudnn.5.dylib -> /Developer/NVIDIA/CUDA-8.0/lib/libcudnn.5.dylib
lrwxr-xr-x  1 root  wheel     45 Oct 24 21:11 /usr/local/cuda/lib/libcudnn.dylib -> /Developer/NVIDIA/CUDA-8.0/lib/libcudnn.dylib
lrwxr-xr-x  1 root  wheel     48 Oct 24 21:11 /usr/local/cuda/lib/libcudnn_static.a -> /Developer/NVIDIA/CUDA-8.0/lib/libcudnn_static.a
I attempted to install via pip install tensorflow --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py2-none-any.whl
This is the error I got:
Double requirement given: tensorflow==1.0.0 from https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py2-none-any.whl (already in tensorflow, name='tensorflow')
Storing debug log for failure in /Users/Keven/.pip/pip.log

Prior to this, I did sudo pip uninstall tensorflow
Error log:
$ cat /Users/Keven/.pip/pip.log
------------------------------------------------------------
/usr/local/bin/pip run on Tue Mar  7 15:51:21 2017
Downloading/unpacking https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py2-none-any.whl
  Downloading from URL https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py2-none-any.whl
Cleaning up...
Double requirement given: tensorflow==1.0.0 from https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py2-none-any.whl (already in tensorflow, name='tensorflow')
Exception information:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 1262, in prepare_files
    self.add_requirement(req_to_install)
  File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 988, in add_requirement
    % (install_req, self.get_requirement(name), name))
InstallationError: Double requirement given: tensorflow==1.0.0 from https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py2-none-any.whl (already in tensorflow, name='tensorflow')

The pip command you typed asks for a tensorflow package and a second specific package via a download URL.
Please double check your command against the ones in the instructions here: https://www.tensorflow.org/install/install_mac
i.e. use either
pip install --upgrade tensorflow
or
pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py2-none-any.whl
Please reopen if this doesn't solve your problem

My bad. Thanks for the quick answer!


Cookie Policy Page

Fixes #77
Cookie Policy page added.

@suhanichawla @sharmaaditya570191 Kindly review

Please try resolving the conflicts as a bunch of PR's have been merged recently. Thanks :)

@sharmaaditya570191 Kindly check now :)


Windows operation

Hi,
Can I operate pyverilog in windows?
Cause I get the following error, can you assist?
File "C:\Users\bk891828\Box\PyProjects\MyVerilogParser\venv\lib\site-packages\pyverilog\vparser\preprocessor.py", line 64, in preprocess
subprocess.call(cmd)
File "C:\Python\Python38-32\lib\subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Python\Python38-32\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Python\Python38-32\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
Thanks,
Boris.

Please ensure you have installed the iverilog. Then restart the python shell.
https://bleyer.org/icarus/


project: Add @nezdolik and @botengyao to the security team

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @envoyproxy/security-team

welcome!!!


Add back iis pool auto_start handling

IIS pool auto_start setting support has been removed in 85df26049762bc56f0775ea2d98337329a0919a8 - I still don't understand why - so I just add it back :)
cc. @aboten

I can't approve this, autostart isn't available in all versions of iis.  The removal of it was before iis_version was working and in master.
please re-create this change with the appropriate check.

Are you kidding me @EasyAsABC123 ? You close the PR just for this reason?

this is a IIS 7.0 feature ... so it would be more a if iis_version >= '7.0' block for this feature
most of all the feature you have are not compatible with IIS 6 and lower, and you only test for '> 7'.
you broke the behavior of the provider when you removed this line without any notice
I could have amend my commit with the change you want, no need to close the PR...

So please tell me what should I do :)
Should I really ensure that ii_version is greater than 6, even if nowhere else you are checking for that?
With which iis version this cookbook want to be compatible?

This was closed because I re-added the functionality, as described. https://github.com/chef-cookbooks/iis/commit/209475b356dd8cc662dc1b80b673b9baab7190bb
let me know fi this is okay.  I definitely didn't mean to upset you.

Sorry for the previous comment ... I just saw you merged the change.

I think it is checking appropriately in the latest code:
if iis_version > '7.0'

as seen https://github.com/chef-cookbooks/iis/commit/209475b356dd8cc662dc1b80b673b9baab7190bb
I believe we are both saying it is an iis 7.0 addition not 7.5?  or do I have them backwards?

yes it is an addition from IIS 7.0, so it is available for iis_version >= '7.0'

good catch!
On Mon, Nov 2, 2015 at 2:20 PM, Baptiste Courtois<EMAIL_ADDRESS>wrote:

yes it is an addition from IIS 7.0, so it is available for iis_version >=
'7.0'
—
Reply to this email directly or view it on GitHub
https://github.com/chef-cookbooks/iis/pull/218#issuecomment-153130663.


error: could not create '/ai/apps/x86_64/python/3.7/lib/python3.7/site-packages/nvidia_smi.py': Read-only file system

wandb --version && python --version && uname

Weights and Biases version: No version as it is not installed
Python version: 3.7.4
Operating System: Linux

I have tried to run pip install --upgrade wandb in my conda environment, it throwing below error
Installing collected packages: nvidia-ml-py3, psutil, docker-pycreds, sentry-sdk, configparser, smmap2, gitdb2, GitPython, subprocess32, rx, promise, graphql-core, gql, Click, PyYAML, argh, pathtools, watchdog, shortuuid, wandb
    Running setup.py install for nvidia-ml-py3 ... error
    ERROR: Command errored out with exit status 1:
     command: /ai/apps/x86_64/python/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0tt8mv6_/nvidia-ml-py3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0tt8mv6_/nvidia-ml-py3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-f63puu2i/install-record.txt --single-version-externally-managed --compile
         cwd: /tmp/pip-install-0tt8mv6_/nvidia-ml-py3/
    Complete output (10 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib
    copying pynvml.py -> build/lib
    copying nvidia_smi.py -> build/lib
    running install_lib
    copying build/lib/nvidia_smi.py -> /ai/apps/x86_64/python/3.7/lib/python3.7/site-packages
    error: could not create '/ai/apps/x86_64/python/3.7/lib/python3.7/site-packages/nvidia_smi.py': Read-only file system
    ----------------------------------------
ERROR: Command errored out with exit status 1: /ai/apps/x86_64/python/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0tt8mv6_/nvidia-ml-py3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0tt8mv6_/nvidia-ml-py3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-f63puu2i/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

I dont have sudo access and I am using conda environment, I want to install wandb.

Sometimes I get below installation errors:
Error1:
Installing collected packages: Click, docker-pycreds, smmap2, gitdb2, GitPython, shortuuid, PyYAML, argh, pathtools, watchdog, sentry-sdk, configparser, nvidia-ml-py3, rx, promise, graphql-core, gql, subprocess32, psutil, wandb
ERROR: Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/ai/apps/x86_64/python/3.7/lib/python3.7/site-packages/Click-7.0.dist-info'

Error2:
Installing collected packages: smmap2, gitdb2, GitPython, shortuuid, PyYAML, argh, pathtools, watchdog, sentry-sdk, subprocess32, nvidia-ml-py3, psutil, rx, promise, graphql-core, gql, configparser, Click, docker-pycreds, wandb
ERROR: Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/ai/apps/x86_64/python/3.7/lib/python3.7/site-packages/smmap2-2.0.5.dist-info'

Did you try pip install --user wandb

Hey @charan223
In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen.


SMTP Server connection timeout

Hello guys.
I periodically receive Connection timeout from the SMTP Server endpoint in my app.
I know this is something related to the i/o blocking smtp server. Does any one know any work around for this? Is there anyway to add more threads to the SMTP Server?

Are you sending lots of SMTP traffic to Postal? You may be interested in #751

Occasionally yes, I have also activated the firewall on the SMTP port to allow only defined IPs. I'm going to look at it. Thanks.

We are having the same problem from time to time (explained at #466). If you find a solution please comment it here so we can all see how to deal with that.

@cmmata for now I'm going to create an identical server reflecting the same credentials as the old one + putting a tcp proxy in front of them with the timeout half than the current setup, I haven't tested yet but I think it would work.

@reshadman if you can point your multiple servers at the same database/rabbitmq then you won't have to mess around making sure the credentials are the same

For anyone looking for a solution if they have the same problem, the following methods worked for us:

For our application server, we simply are using the HTTP send message endpoint, with some retry strategies tuned for network failures and response timeouts.
For our marketing app which only accepts SMTP server, we created a postfix relay pointing to the postal SMTP. postfix has some nice requeueing configs which are really useful.


Improvement: Add option to show only day & time.

This has been incredibly useful, I have been updating each week with the full date Wednesday, February 16, 2022 9:00 PM, asking if there could be an option to only show the date and time such as Wednesday, 9:00 PM.

The displayed date formats are handled entirely by Discord, the tool cannot generate formats that Discord itself does not support. Please request this feature through their support channels.


Added info about admin notifications for attachments only

Per support case

Docs Build status updates of commit 4fc494d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-MalwareFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-MalwareFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


proc_open with sendmail no command line output

I run Laravel 5.1 with SwiftMailer. There occurs an error when I try to send an e-mail via sendmail with SwiftMailer:
exception 'Swift_TransportException' with message 'Expected response code 220 but got code "", with message ""' in

SwiftMailer is reading the buffer but the command /usr/sbin/sendmail -bs returns no answer. But when I execute the same command via CLI there is a result:
220 myhostname ESMTP Postfix

Is this an known issue? How can I fix this? I'm running php 5.6.11.

me too

Same here since some linux update my sendmail no longer works - return null reply though manual call of the command show reply.

+1 Getting this with bluehost and various hosts.

Isn't proc_open disabled or messed with on those hosts?


Installation Issue

When I install the GoldWallet it overwrites my HITC walletshell. This is also the same for HITC walletshell because it automatically uses the same file location to install. therefore having the same wallet installation location without giving me the option to RENAME my location to install is highly unacceptable. I get the message saying There is already a pre-user. which shows the location where the installation will occur. Please give me the option to have it rename so it doesn't overwrite my wallet because I had to do it back and forth. Thank you.

I’m looking into the GoldWallet now @mrnguyen-cn and need to understand in detail what is the issue here?
The default install location for GoldWallet is on Windows is c:\Users<username>\AppData\Local\Programs\GoldWallet ...
I’m wondering how this path could clash with HITC walletshell as I’m sure it installs into a different directory? Could you elaborate on this issue please?

i installed onto an Intel NUC, with a small 128GB SSD, so hard drive space is at a premium for me on this system.  the windows setup file forces itself onto my C: drive without politely asking where i want to install to.  because of the way that windows 10 handles updates, my C drive is more precious to me than BTC.  since there are numerous new registry entries i am reluctant to physically move the directory to a different drive.  i'm suggesting that the user be given a choice of the installation path to be used.

i clicked BACKUP KEYS and then on the next screen i clicked REVEAL.  the private spend key field displayed "undefined".  i closed the wallet and reopened, and this time the key was displayed.

Issue resolved in the latest RC1 release. Changed windows installer from one-clik to interactive, user can now select installation directory.


Support for Fragment

Hello guys !
Is it possible to declare Fragment?
Thanks,
Bhavin

Yes of course -- that functionality is included in GraphiQL, and is not managed by this project.


Update index.rst

Removed math-mode for $expr_i$ and replaced by italic text-mode.

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

Thanks!

This line is missing a :
:math:text{\textit{expr}}_{i} is affine or constant.
Keith

From: Akshay Agrawal<EMAIL_ADDRESS>Sent: 01 November 2019 18:19
To: cvxgrp/cvxpy
Cc: Briggs,KM,Keith,TUD2 R; Author
Subject: Re: [cvxgrp/cvxpy] Update index.rst (#857)
Thanks!

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/cvxgrp/cvxpy/pull/857?email_source=notifications&email_token=ABHIQEKQK73RE664IO3TMPDQRRXMFA5CNFSM4JHKFCBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC3YBKQ#issuecomment-548896938, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABHIQEPNED2MU35E34TU46LQRRXMFANCNFSM4JHKFCBA.


[Feature Request] Vietnamese

[Feature Request]can you add vietnamese for the app like hako light novel in Ranobe

Open a issue in this repo for source requests.


build: update angular shared dev-infra code

It conflicted because we updated to v16 in main but not in 15.2.x. Ideally the update would land in patch too, to avoid such conflicts, but that's a discussion where we never got a good conclusion on.
In framework I think we are updating devkit/AIO deps also for the patch branch, always following the @next NPM tag. Any thoughts here @crisbeto? (notice how dev-infra already uses v16 too- so we have a mismatch now)

We could cherry-pick the v16 update to the 15.2.x branch as well, as long as it doesn't affect the peer dependency in the package.json that is published to npm (I don't think it does). I'm also okay with just merging this change, but I could imagine it coming up again.

@crisbeto Updated to cherry-pick v16 update, so the dev-infra update just applies cleanly (and future updates 👍 )

hmm. I think we would use this version of Angular for the partial compilation output. I don't fully recall how this would affect our compatibility, but as long as partial compilation output is still backwards compatible (which seems to be the case), we should be good. Also the partial compilation output has a minVersion IIRC.

I've discussed with Alan as well a bit. Capturing the conclusion here: It's more correct to not update v16 in the patch branch.
Positives:

No diff between patch + main. Easier Renovate updates

Downsides

Changes landing in patch, might break in v15. e.g. update recorder changes like #26700
Library support guarantees: If library is built with M (major segment), then it supports M, M+1 guaranteed. Not M-1

Long-term solution would be to run Renovate on both patch + main. I will revert back to be on the safe side for now.


search and return the string as model string representation __str

i dont understand how the search works but one of the charfield from model is searched when i type in select input,but i want the string represenation of the model to be searched and displayed in options of the select element.is it possible in this library?
for example i have a model
class Customer(models.Model)
name = CharField()
phonenumber = phonenumberfield()
def str(self):
return f"{self.name} {self.phonenumber}"    <----------this shall be seached and displayed in select options

By default the search happens on the first text field of the model - this can overridden by changing item_label.
https://github.com/PHACDataHub/django-htmx-autocomplete/blob/main/autocomplete/autocomplete.py#L56
To search using the str representation you can override the get_items function.. here is an example of that:
https://github.com/PHACDataHub/django-htmx-autocomplete/blob/main/tests/app/ac_test/forms.py#L59


Exciton ratio

What does the code in this PR do / what does it improve?
This PR will exchange the number of excitons in the S1 timing simulation by the ratio of excitons to photons. It aims at solving https://github.com/XENONnT/fuse/issues/239.
Please include the following if applicable:

[ ] Update the docstring(s)
[ ] Bump plugin version(s)
[ ] Update the documentation
[ ] Tests to check the (new) code is working as desired.
[ ] Does it solve one of the GitHub open issues?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 4 (75.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 80.025%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

fuse/plugins/micro_physics/yields.py
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
2532

Relevant Lines:
3164

💛  - Coveralls

Thanks, Henning! To recap, we should agree on one of these two options:

We calculate this ratio in the yields plugin, but then need to warn the user to set it in the instructions that bypass this step (and modify the csv input instructions accordingly).
We make the calculation of this ratio only within the S1 propagation class.

I prefer the second, to avoid burdens to the users, but either is fine.

Hi @ramirezdiego, thanks for your feedback. I opened a PR with option 2 here https://github.com/XENONnT/fuse/pull/251. We can then decide which one is better and merge one of the two PRs.

Thanks! I prefer the second, hence closing this one.


Support field level metadata using Annotated

It could be great to have the possibility to attach field-level pydanclick options using some custom annotations.
It would allow writing options like that:
from typing import Annotated

from pydanclic import ClickOpts
from pydantic import BaseModel, Field

class User(BaseModel):
    id: Annotated[
		str,
		Field(default_factory=lambda: uuid4().hex),
		ClickOpts(prompt=True),
	]
    my_field: Annotated[
		str,
		Field(description="some field"),
		ClickOpts(shorten="-f", metavar="<MY_FIELD>"),
	]

(Naming is arbitrary and just for the example purpose)

[!NOTE]
It would be complementary to #8

Thanks for the suggestion, would make perfect sense. Can't promise I'll have time to work on this but I'd happily accept PRs!


Kafka client upgrade to 0.10

Hi,
In the Kafka 0.10 upgrade guide it is mentioned that there's a risk of CPU spikes if consumers are still using Kafka 0.9 (or older versions), because of the on-the-fly translation (see: https://kafka.apache.org/documentation/#upgrade).
Is anyone working on upgrading the Kafka client dependency used by Burrow?
Support for the latest Kafka was already added to: https://github.com/Shopify/sarama

Coming soon with the 1.0 rewrite

Resolved by 1.0 rewrite


[R] Add schema argument to write_parquet()

Describe the enhancement requested
There is no schema argument in write_parquet(), though this would be useful in cases where we want to write a data frame to disk, but do not want the default data type conversion.
Component(s)
R

@thisisnic Is this issue resolved? If not, I want to contribute to it!!

It unresolved, feel free to take it, @ShaiviAgarwal2

@thisisnic Could you please assign this task to me? I want to work on it

It's fine, doesn't need to be assigned, it's yours. Yeah, solution should be along those lines!


Public Dataset for distribution metadata

As requested in https://github.com/pypa/packaging-problems/issues/323, we should explore publishing the metadata for each released distribution in a public dataset via BigQuery.
I'm imagining that each row would contain all the core metadata fields included in each release, as well as filename, digests, file size, upload time, URL to the distribution, etc. Essentially everything in the "Release" JSON API, with the per-release info field included for every individual distribution.
Once we're publishing to the dataset on upload, we'd also need to backfill prior distributions as well.
Not entirely sure what we'd name it, does the-psf:pypi.distributions make sense?

One problem with distributing via BigQuery is that it adds additional barriers to access the data.
What will be the size of metadata dump? I think it should only be a few GBs. Can't it be distributed via alternate channels?

@ChillarAnand you bring up a great point about barrier to entry, but as far as I'm aware there isn't really any good "requestor pays" options for online queryable datasets aside from BigQuery. We could publish it as a single file, but I'm not sure how much less of a barrier that is.
In addition when combined with the existing data in BigQuery that we already have this metadata would provide all kinds of interesting options for analyzing downloads.

Another thought is how we handle when releases and such are deleted, should they be removed from the public dataset? If the public dataset matches PyPI's db 1:1 it would really be a headache for people doing retrospective analysis.

Another thought is how we handle when releases and such are deleted, should they be removed from the public dataset?

IMO, they should not.

@ewdurbin I agree. I was wondering if the dump size is less, we can also distribute via google drive or dropbox or any other channels. This makes it easy to play with data offline.

@ChillarAnand Ultimately I'm not sure if the limited volunteer admin time can be spent maintaining two sources, but the dataset is permissibly licensed under a Creative Commons Attribution 4.0 International License so redistributions of dumps of metadata discussed here would be 100% ok.
For the time being I'm going to work under the assumption that we'll be outputting to BigQuery.

Actually, this brings up a possible concern with licensing. We'd need to be careful to ensure that what is published in these tables can be licensed under Creative Commons.
This may exclude us from some fields like description/description_html.

Leaving this open until the dataset has been fully backfilled and is ready for use. We should probably update our documentation about the datasets as well.

Quick update here: this has been enabled for PyPI and TestPyPI. The backfilling has been completed for TestPyPI and is in progress for PyPI.
Once the backfilling is complete, we can merge https://github.com/pypa/warehouse/pull/8240 (documentation updates) and this issue should be complete.

Could it be exported to wikidata?

We could publish it as a single file, but I'm not sure how much less of a barrier that is.

Please do so, for it actually is much less of a barrier. BigQuery is not an option at all as it makes the data unavailable for people without google account.


Extend static tutorial to include 3 major js libs

I took a stab at extending the static site tutorial to include Angular, React and Vue. While first I thought I might create two separate tutorials, there is so much that is the same between all 3 that I went for a tabs approach.
I'm unsure of how to preview this, so I don't know if all of the formatting is correct here.

@kraigb and @fiveisprime

Same, no idea how to preview so maybe Kraig can hook us up with a review link 😉

@burkeholland Generally speaking, this looks good except that we can't see the preview. Like I said in email, can you close this PR and replicate it in the internal azure-dev-docs-pr repo instead? That way we'll get all the preview goodness.

Yes. I’ll work on that. On vacation this week so maybe first thing Monday.
Burke
On Tue, Oct 8, 2019 at 3:16 PM Kraig Brockschmidt<EMAIL_ADDRESS>wrote:

@burkeholland https://github.com/burkeholland Generally speaking, this
looks good except that we can't see the preview. Like I said in email, can
you close this PR and replicate it in the internal azure-dev-docs-pr repo
instead? That way we'll get all the preview goodness.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-dev-docs/pull/16?email_source=notifications&email_token=AAFHW455VL7XFP6TVRUZDT3QNTMB7A5CNFSM4I5ZICNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAVJIGQ#issuecomment-539661338,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFHW47NFF6OLPXK7ZWYUMTQNTMB7ANCNFSM4I5ZICNA
.

@burkeholland Can you close this PR as we merged the changes in the private repo?


Why is it required to open more than ten ports? It looks very unprofessional

Why is it required to open more than ten ports? It looks very unprofessional。
Isn't it possible to handle one port by adding a proxy mini service within the program? Opening so many ports is not complete

The cess-node program should only occupy 4 of your ports. If you start it through the nodeam, it will include other programs.


Url::scopeDefault() types QueryBuilder instead of EloquentBuilder

Lunar version: 1.0.0-alpha.17
Laravel Version: 11.7.0
PHP Version: 8.3.6
Database Driver & Version: SQLite 3.45

Expected Behaviour:
When calling Url::default()->first() I get an error because the wrong class is typed in the scopeDefault() method.
Switch use Illuminate\Database\Query\Builder; for use Illuminate\Database\Eloquent\Builder; in the use statements.
Actual Behaviour:
> Lunar\Models\Url::default()->where('slug', 't-shirt')->first()

  TypeError Lunar\Models\Url::scopeDefault(): Argument #1 ($query) must be of type Illuminate\Database\Query\Builder, Illuminate\Database\Eloquent\Builder given, called in vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php on line 1631.

Steps To Reproduce:
\Lunar\Models\Url::default()->first();

Thanks @adevade There's now a PR for this and should be done in the next release :)

Awesome! I was going to send a PR myself, but was just wrapping up for the day when i discovered the bug, so I just created an issue and then I forgot about it 🙈
Thanks!


sigma.ini tries to use cpcp.tap from parent directory.

The sigma.ini file has the line:
att mt0   ../cpcp.tap
which looks for the cpcp.tap file in the parent directory.  This can work if the file is copied or linked to the parent, but as pulled from the repo, I have been removing the ../ to make it work.  I can imaging there could a reason for this, for example, to preserve the repo version if the tape image is being modified.

You may put the PO tape file anywhere it suits you.  You are free to modify anything you like, at your own risk.

I agree.  But removing the '../' will allow the setup to boot unmodified when pulled fresh from the repository.

OK.
I also added :
You may wish to modify this file, particularly the MT and DP attach commands to suit your personal environment.
to the readme

see previous comment


Call nock.removeInterceptor() with interceptor instance

Previously nock.removeInterceptor() only took an options object. This was inconvenient if the client didn't wish to expose urls directly in their tests.
removeInterceptor() now takes both the original options object, or an alternative instance of Interceptor and uses the instance variables baseUrl and _key to filter for removal.
Added 3 test cases to cover http, https and regex path matching.
I'm not 100% sure this PR covers all cases of Interceptor object's baseUrl variable being consistent with the keys of allInterceptors, was hoping you could clarify that.
Resolves #447

@Limess thanks for a great PR!
This landed on v7.3.0.


Allow a splitter to be a value in a kwargifier, and allow single objects to be fabricated.

We need to focus some effort on documenting the BSS API - Approved!


[Bug][SQL] URL column too short

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
My pipeline fails to get the latest pipeline run, as it cannot insert the URL into the database.
Here is my URL, with some info replaced with X's but the length is still representative:
https://dev.azure.com/ccccxxxxxxxxxxx/xxxxxx/_apis/build/builds?repositoryId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&repositoryType=tfsgit&deletedFilter=excludeDeleted&queryOrder=finishTimeDescending&api-version=7.0&continuationToken=2024-02-06T10%3A35%3A26.7061112Z
As you can see the URL is 264 chars long, while the database schema is 255 chars, making devlake throw an exception:
level=error msg=" [pipeline service] [pipeline #90] [task #1212] subtask collectAzuredevopsBuilds ended unexpectedly
  Wraps:
    (2) remote error response:
      | ERROR: DataError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
      | (MySQLdb.DataError) (1406, \"Data too long for column 'url' at row 1\")
      | [SQL: INSERT INTO _raw_azuredevops_builds (params, data, url, input, created_at) VALUES (%!s(MISSING), %!s(MISSING), %!s(MISSING), %!s(MISSING), %!s(MISSING))]
      | [parameters: ('{\"ConnectionId\":1,\"ScopeId\":\"d675bd99-5d22-4a11-a3dc-34fd9b9a4217\"}', b'{\"_links\": {\"self\": {\"href\": \"https://dev.azure.com/ccccxxxxxxxxxxx/d793494b-e38e-4d53-b9ed-205e83975e88/_apis/build/Builds/14146\"}, \"web\": {\"href\" ... (5391 characters truncated) ... mchart-cfg\", \"clean\": null, \"checkoutSubmodules\": false}, \"retainedByRelease\": false, \"triggeredByBuild\": null, \"appendCommitMessageToRunName\": true}', 'https://dev.azure.com/ccccxxxxxxxxxxx/xxxxxx/_apis/build/builds?repositoryId=d675bd99-5d22-4a11-a3dc-34fd9b9a4217&repositoryType=tfsgit&deletedFilter=excludeDeleted&queryOrder=finishTimeDescending&api-version=7.0&continuationToken=2024-02-08T13%!A(MISSING)15%!A(MISSING)08.7782905Z', b'{\"OrgId\": \"ccccxxxxxxxxxxx\", \"ProjectId\": \"xxxxx\", \"RepoId\": \"d675bd99-5d22-4a11-a3dc-34fd9b9a4217\", \"Provider\": \"tfsgit\"}', datetime.datetime(2024, 4, 24, 10, 8, 21, 412891))]
      | (Background on this error at: https://sqlalche.me/e/14/9h9h)
      | Traceback (most recent call last):
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/engine/base.py\", line 1900, in _execute_context
      |     self.dialect.do_execute(
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/engine/default.py\", line 736, in do_execute
      |     cursor.execute(statement, parameters)
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/MySQLdb/cursors.py\", line 179, in execute
      |     res = self._query(mogrified_query)
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/MySQLdb/cursors.py\", line 330, in _query
      |     db.query(q)
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/MySQLdb/connections.py\", line 261, in query
      |     _mysql.connection.query(self, query)
      | MySQLdb.DataError: (1406, \"Data too long for column 'url' at row 1\")
      |
      | The above exception was the direct cause of the following exception:
      |
      | Traceback (most recent call last):
      |   File \"/app/python/plugins/azuredevops/azuredevops/main.py\", line 157, in <module>
      |     AzureDevOpsPlugin.start()
      |   File \"/app/python/pydevlake/pydevlake/plugin.py\", line 253, in start
      |     fire.Fire(PluginCommands(plugin))
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py\", line 141, in Fire
      |     component_trace = _Fire(component, args, parsed_flag_args, context, name)
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py\", line 466, in _Fire
      |     component, remaining_args = _CallAndUpdateTrace(
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py\", line 681, in _CallAndUpdateTrace
      |     component = fn(*varargs, **kwargs)
      |   File \"/app/python/pydevlake/pydevlake/ipc.py\", line 58, in wrapper
      |     for each in ret:
      |   File \"/app/python/pydevlake/pydevlake/ipc.py\", line 73, in collect
      |     yield from self._plugin.collect(self._mk_context(ctx), stream)
      |   File \"/app/python/pydevlake/pydevlake/plugin.py\", line 111, in _run_stream
      |     yield from getattr(stream, subtask).run(ctx)
      |   File \"/app/python/pydevlake/pydevlake/subtasks.py\", line 81, in run
      |     raise e
      |   File \"/app/python/pydevlake/pydevlake/subtasks.py\", line 65, in run
      |     session.merge(subtask_run)
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/orm/session.py\", line 2987, in merge
      |     self._autoflush()
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/orm/session.py\", line 2257, in _autoflush
      |     util.raise_(e, with_traceback=sys.exc_info()[2])
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/util/compat.py\", line 208, in raise_
      |     raise exception
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/orm/session.py\", line 2246, in _autoflush
      |     self.flush()
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/orm/session.py\", line 3386, in flush
      |     self._flush(objects)
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/orm/session.py\", line 3526, in _flush
      |     transaction.rollback(_capture_exception=True)
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py\", line 70, in __exit__
      |     compat.raise_(
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/util/compat.py\", line 208, in raise_
      |     raise exception
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/engine/base.py\", line 1900, in _execute_context
      |     self.dialect.do_execute(
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/sqlalchemy/engine/default.py\", line 736, in do_execute
      |     cursor.execute(statement, parameters)
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib python3.9/site-packages/MySQLdb/cursors.py\", line 179, in execute
      |     res = self._query(mogrified_query)
      |   File \"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib python3.9/site-packages/MySQLdb/cursors.py\", line 330, in _query
      |     db.query(q)
      | sqlalchemy.exc.DataError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
      | (MySQLdb.DataError) (1406, \"Data too long for column 'url' at row 1\")
      | [SQL: INSERT INTO _raw_azuredevops_builds (params, data, url, input, created_at) VALUES (%!s(MISSING), %!s(MISSING), %!s(MISSING), %!s(MISSING), %!s(MISSING))]
      | [parameters: ('{\"ConnectionId\":1,\"ScopeId\":\"d675bd99-5d22-4a11-a3dc-34fd9b9a4217\"}', b'{\"_links\": {\"self\": {\"href\": \"https://dev.azure.com/ccccxxxxxxxxxxx/xxxxxx/_apis/build/Builds/14146\"}, \"web\": {\"href\" ... (5391 characters truncated) ... mchart-cfg\", \"clean\": null, \"checkoutSubmodules\": false}, \"retainedByRelease\": false, \"triggeredByBuild\": null, \"appendCommitMessageToRunName\": true}', 'https://dev.azure.com/ccccxxxxxxxxxxx/xxxxxx/_apis/build/builds?repositoryId=d675bd99-5d22-4a11-a3dc-34fd9b9a4217&repositoryType=tfsgit&deletedFilter=excludeDeleted&queryOrder=finishTimeDescending&api-version=7.0&continuationToken=2024-02-08T13%!A(MISSING)15%!A(MISSING)08.7782905Z', b'{\"OrgId\": \"ccccxxxxxxxxxxx\", \"ProjectId\": \"xxxxx\", \"RepoId\": \"d675bd99-5d22-4a11-a3dc-34fd9b9a4217\", \"Provider\": \"tfsgit\"}', datetime.datetime(2024, 4, 24, 10, 8, 21, 412891))]
    Wraps:
      (3) exit status 1
      (4) exit status 1
    Error types:
      (1) *hintdetail.withDetail
      (2) *hintdetail.withDetail
      (3) *hintdetail.withDetail
      (4) *exec.ExitError"

What do you expect to happen
I would expect either a much longer char column or a varchar
How to reproduce
Setup a ADO org and a project matching the lenght of mine or longer.
The first run seems to go fine, but the next ones adds the continuation token and the URL becomes too long
Anything else
I am willing to make a PR with the schema change, would you prefer something like a char[300] or to convert to varchar?
Version
v1.0-beta1@60faf14
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

My suggestion will be to add this to the python/plugins/azuredevops/migrations.py:
@migration(20240424133000, name="Update url column in _tool_azuredevops_builds")
def update_url_column_definition(b: MigrationScriptBuilder):
    table = '_tool_azuredevops_builds'
    b.execute(f'ALTER TABLE {table} MODIFY COLUMN url VARCHAR(500)', Dialect.MYSQL)
    b.execute(f'ALTER TABLE {table} MODIFY COLUMN url VARCHAR(500)', Dialect.POSTGRESQL)

@bok11 But the url is of text type. I understand that this problem will not occur.

@bok11 Hello, I found that you plan to submit PR, please tell me when can you submit it. And you can change it to longtext type.

I have the same issue.

Hi, sorry i did not finish this up, i have made the necessary migrations but have some issues getting the gobased migrations to run. It seems they are just skipped, will take another stab at it, as that seems to be the only thing missing

Got the gobased migrations to run, seems i missed to register them in the register.go file.
Will just test with my really long named test org, rebase and prepare the PR.
for reference, my test org url is:
https://dev.azure.com/bokwill0431xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
This is the max length of an org name, did not find a limit for the repo name length but i guess this length is enough for most people

Fixed by https://github.com/apache/incubator-devlake/pull/7493


Updated response of payWithApplePay

See https://github.com/capacitor-community/stripe/pull/37

See https://github.com/capacitor-community/stripe/pull/42


First draft to add support for logs being optional.

Draft of changes to add support for optional logs.

#247 merged

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


Upstream is introducing newSeqUninit

ref https://github.com/nim-lang/Nim/pull/22739

Hi @ringabout , thank you for your contribution, but there is an issue to fix before that: shallowCopy has been removed, and hence neo is currently non functional on Nim 2.
I am not sure what is the best way to proceed - I have little time to figure out how to make copies shallow on Nim 2, and until that is done, there is little point in making this change, which only affects Nim 2 anyway.
I am open to suggestions

It breaks Nim CI, besides you can still use neo with Nim 2.0 in refc, which keeps shallowCopy. I suppose you might be able to use refs to get it shallow copied
type
  Vector[T] = object
    data: ref seq[T]

# or make data a ref object

@andreaferretti hello, would you mind merging this PR?

Ah sure, sorry

thank you!


[REQUEST] to be able to hide the white circle on objects

just to allow you to hide the white circle that shows that you can pick/move an object/entity

Added on the Rendering Trello card

Renderer.Instance.highlightNearest = false;

what can be done to even stop the dragging?

and thank you. works great ;)

what can be done to even stop the dragging?

You can add this to your khafile.js:
project.addDefine('noDragger');
Sorry for the late reply, I haven't been getting email notifications about issues on this project.


Make linter happy

Differential Revision: D63991826

I just pushed out a diff to fix this lint issue.


Different types for recommendations

As a User
I need separate lists for recommendations
So that I can have a clearer view
Assumptions

Recommendations have different types like cross-sell, up-sell, accessory, etc.
When presenting recommendations, same-type products would be in the same list

Acceptance Criteria
Given The recommendations are labeled
When A User calls recommendation
Then Several lists would be presented, each contains the same type of recommendations

This is used when the type param is not provided when calling the listing API


Update to be compatible with OpenSSH_5.3p1

I found this patch via:
https://news.ycombinator.com/item?id=9180767
Is there any interest in updating this to be compatible with OpenSSH_5.3p1, cleanup, and production ready?

Nope.
FWIW, I'm not aware of any production usage.