Add Guernsey holidays

Proposed change

Add Guernsey 🇬🇬  holidays.
Type of change

[x] New country/market holidays support (thank you!)
[ ] Supported country/market holidays update (calendar discrepancy fix, localization)
[ ] Existing code/documentation/test/process quality improvement (best practice, cleanup, refactoring, optimization)
[ ] Dependency update (version deprecation/pin/upgrade)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (a code change causing existing functionality to break)
[ ] New feature (new holidays functionality in general)

Checklist

[x] I've followed the contributing guidelines
[x] I've successfully run make check, all checks and tests are green

I don't think CodeQL appears to be running from the major version changes in #2132

I don't think CodeQL appears to be running from the major version changes in #2132

CodeQL is still there, but CodeCov has some issues (we've discussed it w/ @KJhellico in Slack yesterday).


GraphQL support

Well, thanks for an amazing package! I think this can be really useful for quickly documenting parts of APIs, like Github's API v4. Let me know if there is anything still left to do!
Cheers,
Cedric

thanks!


Minecraft 3 feels a bit repetitive

Maybe also add alt path, e.g. with hex?

Yes, try with giving the hex value as hint


resources required for brainhack event

The Oracle team would like to know which resources we need for the brainhack in which geo-regions (GPUs need to be requested in advance so they are available in the right data centres)

[ ] How can we get an estimate on this?
[ ] We need to request the resources in the region where it's available: https://www.oracle.com/cloud/data-regions/#northamerica
[x] We need to subscribe to the regions where users need resources

I subscribed to almost all regions now

We are still finalising the number of participants.
Would it be good if we selected the region close to the actual location of people? We will have many people in schotland (face to face attendees) but I could get an overview at least form where people have registered

yes, a rough list would be useful - then we can prepare and request resources in these regions

I am just waiting on the Oracle team to let me know where they have many GPUs and then I will request them for the event.

We have GPUs in Tokyo and I will apply for GPUs in London and Frankfurt as well.


[Bug][Style] Spotless sometimes fails to detect and block wildcard imports

Search before asking

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

What happened

Spotless sometimes fails to detect and block wildcard imports, see: https://github.com/apache/dolphinscheduler/pull/12076#discussion_r996636015

What you expected to happen

Spotless should be able to detect and block wildcard imports in code.

How to reproduce

WIP, will update this section later.

Anything else
No response
Version
dev
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

When #11412 is done, this issue will get fixed.


Fix412 pype variant 3

Contain all from https://github.com/BigRoy/core/pull/3

in workfile tool app.py use variables during initialization instead of dictionary items
( Kind of DRAFT )

This one I'm not too sure about. It seems to go against the conventions laid out in this PR: https://github.com/getavalon/core/pull/437/files
For example see here.

I see, but don't understand. For my logic it is more complication that advantage. But it is just my opinion and I expected something like this, that's why I split PR into 3 variants :)

I agree the style is heavily debatable :) so feel free to continue the conversation in that specific PR. Just wanted to avoid the discussion for this particular one, sorry.


RFM - Heroku-Toolbelt

Package Url: https://chocolatey.org/packages/heroku-toolbelt

I can take this on but this package should probably (maybe?) be deprecated. They've renamed it Heroku CLI (verified by what they say here though the executable is still called heroku-toolbelt.

Deprecation is covered at https://chocolatey.org/docs/how-to-deprecate-a-chocolatey-package

Were you assigned as a maintainer? I saw someone assigned. Let me know and we can close this issue.

You can close this issue. Package will be maintained here.


Changes:

improved caching
added case sensitivity option
substring max length replaced with nGramMin/Max
left additional context comments for further research and debugging Fixes:
grams containing white spaces are no longer produced
precached grams will no longer produce the same word for duplicates.

Tested and working on:

Monthly: IDE v2<IP_ADDRESS>  Runtime v2<IP_ADDRESS>.

Untested on:

LTS
Beta


Conditionally show tooltip - but always showing the child of the tooltip :-)

Assuming you use tooltips to display an error for a form, e.g.

      <input
        class="input input-bordered w-full"
        class:input-error={form?.incorrect}
        type="password"
        required
        placeholder="Your password"
        name="password"
        disabled={isLoading}
        bind:value={password}
      />

You've got a form.incorrect that should display the .tooltip when TRUE. But how do you do this when the child element (the text input) has to always be visible? (besides duplicating the entire block...)

You just need to conditionally show/hide the class names and data-tip attribute whenever needed.
Assuming you're using Svelte, you can conditionally show a set of class names like this:
<input class="input input-bordered w-full {validation1 ? 'input-error' : ''}"/>

And you can conditionally show/hide the data-tip attribute like this
data-tip={validation1 || null}

Example code:

  <input class="input input-bordered w-full {validation1 ? 'input-error' : ''}"/>

  <input class="input input-bordered w-full {validation2 ? 'input-error' : ''}"/>

Let me know if you have any questions

Ah ok, so basically tooltip-open is enough to toggle and conditionally show/ hide the tooltip!

tooltip-open makes it to be visible by default (instead of hover) but f you want it to conditionally have or not have a tooltip completely, you should add remove all those class names.

thank you

I think a nice doc section for building form groups + validation would be helpful!


if use_fork is false, this should be ignored

https://github.com/alasdairtran/fourierflow/blob/97e6cfb0848e44d3a7bc1d063b1ab86bc4c603ee/fourierflow/modules/fourier_2d_factorized_parallel.py#L218

Yeah you're right! I had a go at running the experiment with avg_outs set to False, and it makes no difference to the loss (which makes sense since it's just a linear scaling factor, which the projection layer can easily learn). I'll probably remove this scaling altogether in the next iteration of experiments.


Monitor the Github Critical Workflows

Description
Monitor the Github Critical Workflows
Issues Resolved
Part of https://github.com/opensearch-project/opensearch-build/issues/4941
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This PR https://github.com/opensearch-project/opensearch-metrics/pull/82 should be merged 1st to ensure that the resources has the right roles, alarms, metrics, namespaces created for GitHub app to publish the alarm metrics.
Thank you


@slidev/client tried to access @unocss/preset-mini, but it isn't declared in its dependencies

Describe the bug
@slidev/client is not isolate-safe.
Minimal reproduction
Steps to reproduce the behavior:

Using Yarn PnP as package manager:

yarn set version 4.4.0
yarn config set nodeLinker pnp

Install dependencies:

yarn add @slidev/cli @slidev/theme-default @slidev/theme-seriph @types/node sass typescript serve -D

Create slides.md:

---
theme: seriph
background: null
class: text-center
highlighter: shiki
transition: fade-out
css: unocss
mdc: true
---

Run yarn slidev:

Error: @slidev/client tried to access @unocss/preset-mini, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: @unocss/preset-mini (via "@unocss/preset-mini/utils")
Required by: @slidev/client@npm:0.49.24 (via /Users/shigma/.yarn/berry/cache/@slidev-client-npm-0.49.24-eede43ec37-10c0.zip/node_modules/@slidev/client/)

Require stack:
- /Users/shigma/.yarn/berry/cache/<EMAIL_ADDRESS>    at require$$0.Module._resolveFilename (/Users/shigma/coding/temp/sd/.pnp.cjs:15471:13)
    at Function.resolve (node:internal/modules/helpers:190:19)
    at _resolve (/Users/shigma/.yarn/berry/cache/jiti-npm-1.21.6-0bb76563a3-10c0.zip/node_modules/jiti/dist/jiti.js:1:241814)
    at jiti (/Users/shigma/.yarn/berry/cache/jiti-npm-1.21.6-0bb76563a3-10c0.zip/node_modules/jiti/dist/jiti.js:1:244531)
    at /Users/shigma/.yarn/berry/cache/@slidev-client-npm-0.49.24-eede43ec37-10c0.zip/node_modules/@slidev/client/uno.config.ts:12:14
    at evalModule (/Users/shigma/.yarn/berry/cache/jiti-npm-1.21.6-0bb76563a3-10c0.zip/node_modules/jiti/dist/jiti.js:1:247313)
    at jiti (/Users/shigma/.yarn/berry/cache/jiti-npm-1.21.6-0bb76563a3-10c0.zip/node_modules/jiti/dist/jiti.js:1:245241)
    at loadModule (file:///Users/shigma/coding/temp/sd/.yarn/__virtual__/@slidev-cli-virtual-3d9bf5e200/4/.yarn/berry/cache/@slidev-cli-npm-0.49.24-6077a90192-10c0.zip/node_modules/@slidev/cli/dist/chunk-KX2WMXVC.js:7226:10)
    at file:///Users/shigma/coding/temp/sd/.yarn/__virtual__/@slidev-cli-virtual-3d9bf5e200/4/.yarn/berry/cache/@slidev-cli-npm-0.49.24-6077a90192-10c0.zip/node_modules/@slidev/cli/dist/chunk-KX2WMXVC.js:9536:22
    at Array.map (<anonymous>)
    at loadFileConfigs (file:///Users/shigma/coding/temp/sd/.yarn/__virtual__/@slidev-cli-virtual-3d9bf5e200/4/.yarn/berry/cache/@slidev-cli-npm-0.49.24-6077a90192-10c0.zip/node_modules/@slidev/cli/dist/chunk-KX2WMXVC.js:9533:7)
    at setupUnocss (file:///Users/shigma/coding/temp/sd/.yarn/__virtual__/@slidev-cli-virtual-3d9bf5e200/4/.yarn/berry/cache/@slidev-cli-npm-0.49.24-6077a90192-10c0.zip/node_modules/@slidev/cli/dist/chunk-KX2WMXVC.js:9541:8)
    at createUnocssPlugin (file:///Users/shigma/coding/temp/sd/.yarn/__virtual__/@slidev-cli-virtual-3d9bf5e200/4/.yarn/berry/cache/@slidev-cli-npm-0.49.24-6077a90192-10c0.zip/node_modules/@slidev/cli/dist/chunk-KX2WMXVC.js:9557:14)
    at ViteSlidevPlugin (file:///Users/shigma/coding/temp/sd/.yarn/__virtual__/@slidev-cli-virtual-3d9bf5e200/4/.yarn/berry/cache/@slidev-cli-npm-0.49.24-6077a90192-10c0.zip/node_modules/@slidev/cli/dist/chunk-KX2WMXVC.js:9655:5)
    at resolveViteConfigs (file:///Users/shigma/coding/temp/sd/.yarn/__virtual__/@slidev-cli-virtual-3d9bf5e200/4/.yarn/berry/cache/@slidev-cli-npm-0.49.24-6077a90192-10c0.zip/node_modules/@slidev/cli/dist/chunk-KX2WMXVC.js:9725:20)
    at createServer (file:///Users/shigma/coding/temp/sd/.yarn/__virtual__/@slidev-cli-virtual-3d9bf5e200/4/.yarn/berry/cache/@slidev-cli-npm-0.49.24-6077a90192-10c0.zip/node_modules/@slidev/cli/dist/chunk-OIWUVYNO.js:11:30)
    at initServer (file:///Users/shigma/coding/temp/sd/.yarn/__virtual__/@slidev-cli-virtual-3d9bf5e200/4/.yarn/berry/cache/@slidev-cli-npm-0.49.24-6077a90192-10c0.zip/node_modules/@slidev/cli/dist/cli.js:140:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.15.0

Environment

Slidev version: 0.49.24
Browser: N/A
OS: macOS

Slidev has many custom resolving strategies. which makes it quite hard to support Yarn PNP. Sorry for the inconvenience.

Is it possible to directly require unocss instead of @unocss/preset-mini?

Is it possible to directly require unocss instead of @unocss/preset-mini?

I am afraid that there may be tons of other problems like this one. PR welcome if you are willing to work on this😊.

I would honestly recommend not using Yarn PnP in general; it's hacky and introduces too much extra work to the entire ecosystem, where I am unsure if it ever provides any benefits.


Use sharedPreferences to store all the data of the fragments.

You can use the sharedPreferenceManager to store the data of the fragments which will be reused later.
For reference, please check here
You can also refer to the HomeFragment.kt file to check how the data and key pairs are created and used.

Would like to work on this one

Alright!


fix verifyEIP20 function

require(false) will REVERT, which is not the same thing as RETURN false.
https://ethereum.stackexchange.com/questions/15166/difference-between-require-and-assert-and-the-difference-between-revert-and-thro/24185#24185

I initially thought that using require() for those purposes was the best
idea simply because of a gas refund. Following up with your post, I see
that REVERT also undoes any state changes caused in the function which
isn't desired here. Thanks for the direction!
On Tue, Mar 20, 2018 at 10:15 AM Maurelian<EMAIL_ADDRESS>wrote:

require(false) will REVERT, which is not the same thing as RETURN false.
https://ethereum.stackexchange.com/questions/15166/difference-between-require-and-assert-and-the-difference-between-revert-and-thro/24185#24185
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ConsenSys/Tokens/pull/121#issuecomment-374635643, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ad-I-tPgaukNCm3TN7QhxWh2gXkZ1tamks5tgR0SgaJpZM4SvB5K
.


Complete eu translation

@erral please the flow always master->16.x.x !

@sneridagh but for translations this does not work.
Now in the beginning it may work, but when there are things in master that are not merged to 16.x.x, the translations PRs can't be cherry-picked.
I think that the translations should be kept separate from the rule of development flow master -> 16.x.x
We had a small discussion the other day about this in slack I think.

@erral thanks for being on the top of this!

I will add it to the docs


Update outdated command in private-link-configure.md

Proposed change: Update outdated non-executable command with -l global.
Result:
az resource create -n ${ampls} -g ${rG} -l global --api-version "2021-07-01-preview" --resource-type Microsoft.Insights/privateLinkScopes --properties "{\"accessModeSettings\":{\"queryAccessMode\":\"Open\", \"ingestionAccessMode\":\"Open\"}}"
{
  "etag": "\"40019e80-0100-0200-0300-112203201010\"",
  "extendedLocation": null,
  (...no need more lines)

Basis:
The current command cannot be executed:
/# az resource create -g ${rG} --name ${ampls} --api-version "2021-07-01-preview" --resource-type Microsoft.Insights/privateLinkScopes --properties "{\"accessModeSettings\":{\"queryAccessMode\":\"Open\", \"ingestionAccessMode\":\"Open\"}}"
(LocationNotAvailableForResourceType) The provided location 'eastus2' is not available for resource type 'microsoft.insights/privateLinkScopes'. List of available regions for the resource type is 'global'.
Code: LocationNotAvailableForResourceType
Message: The provided location 'eastus2' is not available for resource type 'microsoft.insights/privateLinkScopes'. List of available regions for the resource type is 'global'.

@guywi-ms
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@JoeyC-Dev Thanks very much for this fix! 👍
CC: @msundaram1
#sign-off


list of packages

Is there any way to get a live list of packages, other than CLI vcpkg search?

This shouldn't be that hard since presumably, these packages are in the database somewhere. Name of package should be a link to the project.

Thanks for pointing this out!
There are two ways that might improve the situation for you immediately. One is to pass --x-full-desc to search, which stop cutting off the description (but they can be very long, so this will ruin the table formatting). The other is to simply do a findstr or grep inside the ports\ directory; all the information for package X is gathered via ports\X\CONTROL.

This is now available from: https://repology.org/metapackages/

I think the redirection on that repology URL might have changed. Try here: https://repology.org/repository/vcpkg

I think the redirection on that repology URL might have changed. Try here: https://repology.org/repository/vcpkg

Now the packages are listed on https://vcpkg.io/en/packages.html.


Email messages does't work

We have two different email messages:

for admins, when someone submits a new task
for users, when admin approve task

Now our messages doesn't deliver, we need to fix it
Updated
2017-01-30T13:10:12.291479+00:00 app[worker.1]: 4 TID-ot9kf66bk WARN: Errno::ECONNREFUSED: Connection refused - connect(2) for "localhost" port 25
2017-01-30T13:10:12.291541+00:00 app[worker.1]: 4 TID-ot9kf66bk WARN: /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/smtp.rb:542:in `initialize'
2017-01-30T13:10:12.291543+00:00 app[worker.1]: /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/smtp.rb:542:in `open'
2017-01-30T13:10:12.291545+00:00 app[worker.1]: /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/smtp.rb:542:in `tcp_socket'
2017-01-30T13:10:12.291546+00:00 app[worker.1]: /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/smtp.rb:552:in `block in do_start'
2017-01-30T13:10:12.291546+00:00 app[worker.1]: /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
2017-01-30T13:10:12.291547+00:00 app[worker.1]: /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/timeout.rb:101:in `timeout'
2017-01-30T13:10:12.291548+00:00 app[worker.1]: /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/smtp.rb:551:in `do_start'
2017-01-30T13:10:12.291548+00:00 app[worker.1]: /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/smtp.rb:521:in `start'
2017-01-30T13:10:12.291549+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb:113:in `deliver!'
2017-01-30T13:10:12.291550+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:2149:in `do_delivery'
2017-01-30T13:10:12.291551+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:239:in `deliver'
2017-01-30T13:10:12.291551+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/hanami-mailer-0.4.0/lib/hanami/mailer.rb:222:in `deliver'
2017-01-30T13:10:12.291552+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/hanami-mailer-0.4.0/lib/hanami/mailer.rb:186:in `deliver'
2017-01-30T13:10:12.291553+00:00 app[worker.1]: /app/lib/ossboard/workers/new_task_notification_worker.rb:8:in `block in perform'
2017-01-30T13:10:12.291553+00:00 app[worker.1]: /app/lib/ossboard/workers/new_task_notification_worker.rb:7:in `each'
2017-01-30T13:10:12.291554+00:00 app[worker.1]: /app/lib/ossboard/workers/new_task_notification_worker.rb:7:in `perform'
2017-01-30T13:10:12.291555+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:158:in `execute_job'
2017-01-30T13:10:12.291555+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:138:in `block (4 levels) in process'
2017-01-30T13:10:12.291556+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq.rb:36:in `block in <module:Sidekiq>'
2017-01-30T13:10:12.291556+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:133:in `block (3 levels) in process'
2017-01-30T13:10:12.291557+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
2017-01-30T13:10:12.291558+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
2017-01-30T13:10:12.291558+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
2017-01-30T13:10:12.291559+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb:11:in `block in call'
2017-01-30T13:10:12.291559+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/logging.rb:32:in `with_context'
2017-01-30T13:10:12.291560+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb:7:in `call'
2017-01-30T13:10:12.291560+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
2017-01-30T13:10:12.291561+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb:133:in `invoke'
2017-01-30T13:10:12.291561+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:132:in `block (2 levels) in process'
2017-01-30T13:10:12.291562+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:174:in `stats'
2017-01-30T13:10:12.291562+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:131:in `block in process'
2017-01-30T13:10:12.291563+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq.rb:35:in `block in <module:Sidekiq>'
2017-01-30T13:10:12.291564+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:126:in `process'
2017-01-30T13:10:12.291564+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:82:in `process_one'
2017-01-30T13:10:12.291565+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:70:in `run'
2017-01-30T13:10:12.291565+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb:17:in `watchdog'
2017-01-30T13:10:12.291566+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb:26:in `block in safe_thread'

I has been trying to fix that, but hit a dead end.
I started sidekiq with the command sidekiq -r ./config/environment.rb and that is, what I've got on mail send:
2017-01-26T15:11:27.583Z 10021 TID-gn79sd9jg NewTaskNotificationWorker JID-d08303bfe924a1c96a59c1a8 INFO: fail: 0.001 sec
2017-01-26T15:11:27.584Z 10021 TID-gn79sd9jg WARN: {"context":"Job raised exception","job":{"class":"NewTaskNotificationWorker","args":[3],"retry":true,"queue":"default","jid":"d08303bfe924a1c96a59c1a8","created_at":1485443394.4538486,"enqueued_at":1485443487.5801716,"error_message":"Not loaded","error_class":"RuntimeError","failed_at":1485443394.4553835,"retry_count":1,"retried_at":1485443487.5827596},"jobstr":"{\"class\":\"NewTaskNotificationWorker\",\"args\":[3],\"retry\":true,\"queue\":\"default\",\"jid\":\"d08303bfe924a1c96a59c1a8\",\"created_at\":1485443394.4538486,\"enqueued_at\":1485443487.5801716,\"error_message\":\"Not loaded\",\"error_class\":\"RuntimeError\",\"failed_at\":1485443394.4553835,\"retry_count\":0}"}
2017-01-26T15:11:27.584Z 10021 TID-gn79sd9jg WARN: RuntimeError: Not loaded
2017-01-26T15:11:27.584Z 10021 TID-gn79sd9jg WARN: /app/vendor/bundle/ruby/2.3.0/gems/hanami-model-0.7.0/lib/hanami/model.rb:70:in `container'
/app/vendor/bundle/ruby/2.3.0/gems/hanami-model-0.7.0/lib/hanami/repository.rb:144:in `container'
/app/vendor/bundle/ruby/2.3.0/gems/hanami-model-0.7.0/lib/hanami/repository.rb:360:in `initialize'
/app/lib/ossboard/workers/new_task_notification_worker.rb:5:in `new'
/app/lib/ossboard/workers/new_task_notification_worker.rb:5:in `perform'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:158:in `execute_job'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:138:in `block (4 levels) in process'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq.rb:36:in `block in <module:Sidekiq>'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:133:in `block (3 levels) in process'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb:11:in `block in call'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/logging.rb:32:in `with_context'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb:7:in `call'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb:133:in `invoke'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:132:in `block (2 levels) in process'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:174:in `stats'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:131:in `block in process'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq.rb:35:in `block in <module:Sidekiq>'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:126:in `process'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:82:in `process_one'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb:70:in `run'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb:17:in `watchdog'
/app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb:26:in `block in safe_thread'

As we can see, problem is that UserRepository is not loaded in NewTaskNotificationWorker#perform. I am not familiar with Hanami architecture, so I'm stuck on that, I don't know what it really means. I can guess that app wasn't properly launched, but I don't know, how to fix that. Moreover internet search gave me a couple blog posts, which authors do everything the same as me.
@davydovanton can you help me out a little? Maybe some hint? Or should I ask Hanami community?

hey, thanks for research 👍
I think we can load app in sidekiq config but I need time for checking this idea

FYI I already had to add require_relative './initializers/sidekiq.rb' in environment.rb to launch Sidekiq at all, so I guess command in Procfile may be wrong

@charlie-wasp we can't do it because all initialize files (like redis) will load after this line. That's why we will have redis error 😞
I think I need to rewrite sidekiq configuration logic and replace sidekiq from initializer

I will be glad to help. I will continue trying to crack this case, if you don't mind :)

26 янв. 2017 г., в 22:30, Anton Davydov<EMAIL_ADDRESS>написал(а):
@charlie-wasp we can't do it because all initialize files (like redis) will load after this line. That's why we will have redis error 😞
I think I need to rewrite sidekiq configuration logic and replace sidekiq from initializer
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes, of course 🌟
You can use this guide (I think it will be helpful for you)
http://www.strauss.io/blog/2016-use-sidekiq-with-hanami.html

Thanks, I read it already :)

@charlie-wasp hey, any updates? Can I help you with this issue? :)

@charlie-wasp hey, I fixed sidekiq server (require boot file, you can read more here)

@davydovanton hello, sorry, hadn't time recently :( So this problem is solved? Or solution should be verified?

@davydovanton done a little of work, Sidekiq again gave me hard time with connection pools, I opened PR https://github.com/davydovanton/ossboard/pull/62 for corrections, these changes made sidekiq work for me (at last).
This task became the task about sidekiq fixes :)
But speaking about email, I see in your original comment there was connection problem with the 25 port, but now I see, that in production Mailgun will be used. So original error is irrelevant already, is it right?

Fixed


How to redirect url in redux actions after an api request was finished?

I think this version is unfriendly to redux .
In the process of upgrading to this version, I have encountered many problems.
This is what I like:
anywhere
history.push('url')

AND
one place routes.js defined all the routes
我认为一个工具不断的改进是为了更简单、易用，而不是为了装逼。

I think react-redux-router will help you.


[LANGUAGES] Manipulating Excel(Spreadsheet) data and files in Android

Topic Suggestion
[ANDROID || LANGUAGES] Manipulating Excel(Spreadsheet) data and files in Android
Writing sample(s):
My samples are found here
Proposal Submission
Proposed title of the article
Manipulating Excel(Spreadsheet) files in Android
Proposed article introduction
Maybe you are trying to preprocess data for some custom on-device model or you want to create your own spreadsheet app, you have to know how to first manipulate the spreadsheets. In his article, we will look at loading a spreadsheet file, opening it, and then performing common statistical functions in it.
Key takeaways
The user will learn about:

Accessing spreadsheets in Android.
Using Kotlin to implement this.
Performing common statistical functions such as mode, median, variance, standard deviation, etc.
Additionally, how Retrofit may be handy in getting a hosted spreadsheet.

Article quality
It will be simple to follow and guide the user on getting the files from the local and shared storage. We will also perform the statistical functions, something other blogs haven't shown.

We might also look at saving changes done to a spreadsheet. I'm still doing my research on this.

References
I used this to get insights. It talks about reading one from Google Sheets.

good topic @vinstex - approved. One important note: please be sure to put your article through a thorough grammar/readability editing review prior to submitting for final approval. This will help increase the likelihood of your article getting published and you receiving a payout :)


r3nzskin 13.16 doesnt work for me

Whenever i start the program it says this error

how to work ?

i'm pretty sure you are opening the wrong version of the program! can you please download again in the following link: https://github.com/R3nzTheCodeGOD/R3nzSkin/releases/tag/v3.1.5 and verify if it still doesn't work ?

You are using an outdated version, please delete all the old files and download the latest one from the Release tab.


Printing from PDF

Can this library be used to print a pdf file on disk directly? could not find any example on the same; please help

No, this is not supported.
You could try to use a windows printer and redirect this to PDF, be however aware, that this would print the raw escpos. There is no way (inside this software) to "render" escpos. I am closing this, but feel free to give notice if anything else can be done.

My question was not to generate a PDF; my question was if I could give a PDF file name and print it like its allowed for images!

OK, it sounded like you wanted to print to a PDF file onto disk.
For reading and the printing it, you would have to load it into PILlow. So anything that can be loaded by this class would be good: https://github.com/python-escpos/python-escpos/blob/51d1299285c8527b7863bf04fb34ce65ccf5ef30/src/escpos/image.py#L20
I don't know, if it is possible to raster a PDF with PIL, but if you have an exteral way of rendering it and then storing a PIL-object, you could directly pass it to that function.

So maybe this could be a starter that you can try: https://pypi.org/project/pdf2image/

I tried the suggestion, it seems to work though a bit slow in dumping pdf to disk as image;
Is there any way to set margins for the printer to 0? the image content already has proper margins but its getting cut off when it prints the image

If it works you could put together a short example that we could add to the manual. I am not sure how this library works, but as far as I see it it should also be possible to get directly a PIL object from it. In this case you would not need to save to disk, but could call the image function with this PIL object.
If you already print in the vincinity of the edge of the paper, there is probably no way to increase the marging further. The only hacky solution that I could think of at the moment would be cutting the marging from the image (it is a PIL object after all, so image manipulation should be rather easy at this point).

Nope, its wasting more margin than needed, thats the reason I wanted to know if I could set print margins in this LIB; more than 5mm margin is going on both sides; I believe this might be hardcoded somewhere; ideally this should be a parameter to be set somewhere isnt it?
On the example, there is nothing special by what was strange is that when I tried to print PIL image directly by passing it to escpos lib, it printed raw image hex data as text so I ended up writing the PIL image to disk as a JPEG and then printed it using escpos lib;


Add test for "IRP" and make it working

make "itemsRefPath" working
make tests for "itemsRefPath"
includes #191
adds tests for #191 fix

I noticed that there wasnt a test for IRP, and then after adding the test, i noticed that IRP didnt work ... at all, now it works, and has a test
PS: IRP mean "itemsRefPath"
PPS: i will remove the WIP notions when #348 is merged and this one here rebased
closes #191

Coverage increased (+1.4%) to 86.538% when pulling 46069c52b6eb17c16cebc86e16564f85a195d6fa on hasezoey:feature/fixIRP into ea1c0ec6bbebdd6b27ba4580ec39c1d3535b2084 on szokodiakos:master.

#DoNotMerge
I'm reworking the test and implementing #191 & making tests with #348

(note: i pushed the changes, that i had local for release5.9, so this would auto-close & had the correct commits)


Feed Me support not included in last release as indicated

It looks like the Feed Me support feature was included in the release changelog for v1.0.20 but didn't actually get merged into the master branch to be included in the tag.

@Mosnar Please let me know what went wrong or what we need to implement this! thanks


swift-api-digester: emit the diff items for changing from RawRepresentable struct to a type alias of raw type.

related: rdar://39498127

@swift-ci please smoke test and merge


2d/use_pixel_snap breaks Sprite position when scaling a 1x1 sprite

Godot version:

3.2.3 stable
OS/device including version:

Windows 10, GLES2, AMD Radeon HD7850
Issue description:
Import a white 1x1 sprite
Apply scale (128, 128)
Position it at (200, 200)
Add a RectangularShape2D over the sprite (Extents = (64, 64))
Debug / Visible Collision Shapes = true
2d/use_pixel_snap = false

2d/use_pixel_snap = true

There is no issue if I import a white 2x2 sprite and scale it to (64, 64)
Minimal reproduction project:
TestPixelSnap.zip

This is expected, and I don't think this will change.
What the issue is that the sprite is "Centered", with pixel snap it make it impossible to have half pixels.
https://github.com/godotengine/godot/blob/84d734da0e4dc4f0076c61a7178d8ad7b9f3b616/scene/2d/sprite_2d.cpp#L102-L104


Flow incorrectly shows errors with tagged disjoint unions

Minimal example code: (try link)
type A1 = {aTag: 1};
type A2 = {aTag: 2};
type AnyA = A1 | A2;

type G<+A: AnyA> = {a: A};

const g = (gee: G<AnyA>): string => 'foo';
const g1 = (gee: G<A1>): string => g(gee);
const g2 = (gee: G<A2>): string => g(gee);

With this, I get the following errors:
1: type A1 = {aTag: 1};
                    ^ number literal `1`. Expected number literal `2`, got `1` instead
2: type A2 = {aTag: 2};
                    ^ number literal `2`
2: type A2 = {aTag: 2};
                    ^ number literal `2`. Expected number literal `1`, got `2` instead
1: type A1 = {aTag: 1};
                    ^ number literal `1`

Is there something I'm doing wrong? I declared G as covariant on A so that G<A1> <: G<AnyA>.
Please help, as the error message is meaningless.
Thanks,
Dan

I believe you want:
type G<A: AnyA> = {+a: A};

Try Link

Thanks!


Rename link to target?

I originally chose link because I have an unhealthy habit of favoring names with the same length so that they line up. But since we already have devnum and source, so I think target makes more sense for a symlink target.

Sounds ok to me.


How to restart all workers from worker.js

Hi,
I wasn't able to find a documentation what "SIGUSR2" is. How can I restart all workers inside of my worker.js

@jondubois may I ask for a litte snippet how to trigger a restart inside of the worker.js for all workers? Currently I am doing some dirty hacks.. (touching a file inside of my app-dir, which force the restart)

@Hirbod You can't restart other workers directly from a worker, but you can send a message from a worker to the master process using worker.sendToMaster(data, [callback]) and then from the master process (server.js) you can restart all workers with socketCluster.killWorkers().

How can I listen to "sendToMaster" events?

@jondubois ?

@Hirbod kill -SIGUSR2 12345  <--- that's the Master PID
I use PM2 for server process management so you can easily get the master PID if you're using PM2 with the following command.
grep 'aster' ~/.pm2/logs/fusion-out-5.log
or wherever your log file is at

PM2 shouldn't be used with socketcluster as far as I know. (socketcluster does that scaling stuff itself). Therefore, I switched to "forever".

PM2 shouldn't be used with socketcluster as far as I know.

It's totally fine to use SC with PM2. I do like to use PM2 (with SC and not only), because of it's simplistic way to deploy apps to VPS/VDS. Typically, when you use SC with PM2, you just don't use PM2 features for vertical scaling, The rest is good.
As well as much more else, it's up to you to decide who'll control the lifecycle of a SC-based app.
You're free to replace/remove sc-hot-reload https://github.com/SocketCluster/socketcluster/blob/master/sample/server.js#L76-L79
Configurate killMasterOnSignal, rebootOnSignal, and so on.

How can I listen to "sendToMaster" events?

Worker, like if we were inside run() method:
this.sendToMaster(data, callback) // callback is optional

Master:
socketCluster.on('workerMessage', function(payload, callback) {
  console.info(`workerMessage: ${payload}`)
  callback && callback()
})

p.s. 1. I didn't test these pieces of code, mb there is a typo or two :slightly_smiling_face:  2. forever is just fine too.


DOM Mismatch

Any reason to why i am getting this ????
PS. I want carousel to be SSR

Which version of Nuxt are you using?

@ElijahKotyluk  NUXT 2.6.1

This is a common issue with Nuxt SSR and using third party components, you may need to wrap the component in a no-ssr tag for it to work within Nuxt, as some components are not compatible. So this is a common work around:
<template>
    <no-ssr>
      <component />
   </no-ssr>
</template>

Or you can try moving all DOM manipulations to the mounted lifecycle hook. Aside from that, I couldn't say without seeing your code.

@ElijahKotyluk i am aware of <no-ssr> thing but then the content will not be available for SEO

#192
#81


[WIP]  Subset of Forest Maintenance Tasks (Part 2)

Summary of changes
Changes introduced in this pull request:
To be removed

[ ] Remove all use of Box<dyn Error> in favor of anyhow::Error

Reference issue to close (if applicable)

Closes corresponding task in #1536
Other information and links

N/A

Many occurrences of Box<dyn Error> are aliased as Box<dyn StdError> and changing all these occurrences would probably best be handled under a separate PR, to keep PR sizes manageable. The final occurrences of Box<dyn Error> in map.rs are associated with the occurrences of Box<dyn StdError> in map.rs. Will capture this either under a seprate issue or by modifying issue #1536 .

What do you guys suggest instead of using unwrap here? I had to remove the ? due to compiler errors after changing Box<dyn Error> to anyhow::Error. If I leave out .unwrap(), the compiler gives me a warning about an unused Result.

What do you guys suggest instead of using unwrap here? I had to remove the ? due to compiler errors after changing Box<dyn Error> to anyhow::Error. If I leave out .unwrap(), the compiler gives me a warning about an unused Result.

What do you think about .map_err? Have a look at an example here: https://github.com/filecoin-project/builtin-actors/blob/6e2a4eaa6d14d53f841b93bd84621455e4778a1c/actors/miner/src/sector_map.rs#L26


Bump flutter_template_images to remove TODO.

Towards https://github.com/flutter/flutter/issues/160692.
Prior to flutter_template_images: 4.3.0, the app_shared directory was required.
In 4.3.0 it was forked back out to app (https://pub.dev/packages/flutter_template_images/changelog), as the skeleton template has been removed, and the skeleton template was the (only) reason for app_shared (to share code between app and skeleton).
This is a NOP change tested by existing tests.

test-exempt: dead code removal


SAI bulk add/remove implementation

Signed-off-by: Marian Pritsak<EMAIL_ADDRESS>

Needs a unit test before converting from draft

LGTM, but I'll wait for some tests and try them out myself.

H @marian-pritsak any chance we can get a unit test or two to validate this and accept it?

@marian-pritsak
Waiting for test cases as part of this PR

@vmytnykx pointed out that the saithrift codegen (in SAI repo) lacks bulk support so it's unlikely we can use these bulk APIs in any saithrift tests in the near term.
@chrispsommers pointed out we could write tests in c++ e.g. under tests/libsai. He also said the risk was low to accept w/o a test case so we can merge and handle any surprises later. Consensus seemed to be to merge it and move on.

Hi @marian-pritsak we've agreed to merge but there is a "status" issue. I don't understand it.

Git command 'amend' and git push force - rinse and repeat?  Vincent has seen this before...
git commit-- amend

@marian-pritsak to update tomorrow 3/30/2023


Withhold autocorrects suggesting private methods at public-only callsites

Input
→ View on sorbet.run
# typed: true

class A
  private def my_private_method; end
end

A.new.my_private_metho

Observed output
editor.rb:7: Method my_private_metho does not exist on A https://srb.help/7003
     7 |A.new.my_private_metho
        ^^^^^^^^^^^^^^^^^^^^^^
  Got A originating from:
    editor.rb:7:
     7 |A.new.my_private_metho
        ^^^^^
  Autocorrect: Use `-a` to autocorrect
    editor.rb:7: Replace with my_private_method
     7 |A.new.my_private_metho
              ^^^^^^^^^^^^^^^^
Errors: 1

Expected behavior

If you apply the suggestion with -a, or take the code action in your editor, the resulting program will have more errors:
# typed: true

class A
  private def my_private_method; end
end

A.new.my_private_method

editor.rb:7: Non-private call to private method my_private_method on A https://srb.help/7031
     7 |A.new.my_private_method
        ^^^^^^^^^^^^^^^^^^^^^^^
    editor.rb:4: Defined in A here
     4 |  private def my_private_method; end
                  ^^^^^^^^^^^^^^^^^^^^^
Errors: 1

→ View on sorbet.run
We should not suggest private methods in the "did you mean?" suggestions. (Maybe entirely, which would definitely be easier, or maybe only when the method call site has the isPrivateOk flag, though I don't think we currently thread that information down through the places where we would need it to, currently, so it would  be a more invasive change.) I'm fine with either the approximate former solution or the exact latter solution.

I believe #4363 fixed this issue.


Disabling 2-step verification on my Google account

Original issue 99 created by markgoriak on 2011-09-06T20:32:03.000Z:
How can I get rid of google authenticator? It messes up my phone connection and won't let me receive emails on my phone! Deleting it off my phone doesn't work and get rid of it. Please help!

I need<EMAIL_ADDRESS>to be hacked and get uts password because I've lost my mobile phone with all contents unremembered and saved in it ive also lost my mobile no. too so plz im not able to get rid of two step verification so give me password of this account. ...

This is not google account support.
Also this is a closed bug.

But can't u help me boss???? Plzzzz....
On 20 Oct 2015 14:26, "Thomas Habets"<EMAIL_ADDRESS>wrote:

This is not google account support.
Also this is a closed bug.
—
Reply to this email directly or view it on GitHub
https://github.com/google/google-authenticator/issues/99#issuecomment-149482860
.

ThomasHabet plz cant u help me bro plzzzzz

http://lmgtfy.com/?q=google+account+recovery&l=1

I tried this but it is of no use boss....
Plzz hepl me.......plzzzzz
On 29 Oct 2015 03:16, "Thomas Habets"<EMAIL_ADDRESS>wrote:

http://lmgtfy.com/?q=google+account+recovery&l=1
—
Reply to this email directly or view it on GitHub
https://github.com/google/google-authenticator/issues/99#issuecomment-152004550
.

I have neither the authority nor the access to help out with account recovery. Also for the people who do there is a procedure so that nobody can recover other people's accounts. The procedures are there for the account owners protection and they are what they are.
I'll delete further begging comments.

I too have a similar problem. It is not exactly the same, but having found, for the first time ever, somewhere that I can actually talk to someone from Google (the very idea!) I am going to post here anyway. (Can you blame me?)
On both Windows and Linux, and whether my VPN is turned on or off, whenever I try to access Gmail via a browser I get asked multiple security questions and then am pressed to reset my password - and can't look at my mail unless I do. I did this once - which meant I have to alter stored passwords for e-mail clients on multiple devices - and I'm not doing it again. What is going on? I suspect that the recent problem with Thunderbird and Gmail may be the problem (even though the current problem has to do with Gmail-on-the-web).

Don't know why this issue gets a comment that seems to be from https://github.com/google/google-authenticator/issues/594…

Thomas im a student from india and wanna study further about ethical
hacking...I just wanted to know the futurein this field....plz help
On Jun 1, 2017 5:46 PM, "Thomas Habets"<EMAIL_ADDRESS>wrote:
Don't know why this issue gets a comment that seems to be from
https://github.com/google/google-authenticator/issues/594…
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/google-authenticator/issues/99#issuecomment-305476195,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOfnZVOkgQkc6vAJAvmdRy4B6HOZ0QO2ks5r_qu4gaJpZM4CtOCk
.

This is not the place for that.


Update Jackson version to 2.8.9

Addresses Jackson Deserializer security vulnerability. Refer issue #230

Thanks!


Pin karma, karma-mocha dev dependencies

Codecov Report

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

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

CC @hankim813 @anoonan @ladanazita


[Feature Request] Support pull requests in personal spaces in bitbucket server without requiring any URL hacks

If you use a repository hosted in a personal space in Bitbucket Server (e.g. https://bitbucket.company-server.url/users/username/repos/my-repo/pull-requests/1, you'll get:
ValueError: The provided URL 'https://bitbucket.company-server.url/users/username/repos/my-repo/pull-requests/1' does not appear to be a Bitbucket PR URL

A workaround/hack our team found was to modify the url from this:
https://bitbucket.company-server.url/users/username/repos/my-repo/pull-requests/1
to this:
https://bitbucket.company-server.url/projects/~username/repos/my-repo/pull-requests/1
(i.e. Change users to projects and add a ~ in front of the username)
This works, but ideally the first URL should work too (i.e. https://bitbucket.company-server.url/users/username/repos/my-repo/pull-requests/1).
Relevant sections of code:

https://github.com/Codium-ai/pr-agent/blob/aef9a04b32adbf9a21b51ed74d5b704308a84466/pr_agent/git_providers/bitbucket_server_provider.py#L329-L336
https://github.com/Codium-ai/pr-agent/blob/aef9a04b32adbf9a21b51ed74d5b704308a84466/pr_agent/git_providers/bitbucket_server_provider.py#L339-L364

We are opened to pul-request from the community to address this


Typo "AZCopy"→"AzCopy"

https://docs.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-portal
#PingMSFTDocs

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

Looks good; thanks @hyoshioka0128.


Enable querying relation members by role

Support querying relation members by role, e.g.
relation.members("w[role=main_stream]")

This would be more efficient than checking member.role() programmatically, since we wouldn't need to de-reference features whose role doesn't match (possibly avoiding a tile download).
Need to address the following:

What happens when "role" is used in queries over sets that aren't relation members? Ignore "role"? Return nothing?

role is not an officially supported OSM tag, but nonetheless there are features with a role tag.
using [role=x] for member queries precludes using role as a tag in general queries
Perhaps treat role as a CSS-like class? w.main_stream instead of w[role=main_stream]?


Send hash with dynamic attributes in params.

Hi, I'm trying to send a hash with attributes that are not defined in a post method. I need to do that like a metadata field. This is my code:
module MyApp
  module V1
    module Foo
      class Root < Grape::API

        desc 'test for hash'
        params do
          requires :metadata, type: Hash
        end
        post do
          present "GOT: #{params[:metadata].to_json}"
        end
      end
    end
  end
end

Which generates the following view.

Notice that I'm not restricting the hash to have specific nested attributes, so that I can send any parameter inside the 'metadata' field and handle it as JSON inside my application, as follows:
{"metadata": {"color": "blue"}}
When I try to put some value in the metadata field I always get 'metadata is invalid' as error.

I did the same request via Postman and using cURL and it works nice.
$ curl -X POST -d '{"metadata": {"color": "blue"}}' http://localhost:3000/api/v1/foo.json -H 'Content-Type:application/json'
 > "GOT: {\"color\":\"blue\"}"
$

The idea is that the user may send any information in 'metadata' field as a JSON, or Hash. Could you guys help me to achieve that?

So it works with curl, but not in swagger UI? Use a JavaScript console in the browser, what's swagger UI posting in this case?

I made the request, looked at the browser console and the network tab looks as follows:

Notice that the Form Data has this value:
metadata=%7B%22color%22%3A%20%22blue%22%7D
And if I click in 'view parsed' it shows metadata: {"color": "blue"}

Also, the console throws the following error:

So this was form-encoded data, so it's different from what you supplied with CURL, which was properly encoded JSON data. This isn't the same thing.
Find out what the server is actually seeing, I am going to bet it's a string instead of a hash (it doesn't get parsed as JSON). Remove (relax) the type: Hash and print out what's inside params?

Okay, I removed the type: Hashand it accepted the parameter as a String. But if you write an invalid JSON you will obviously get an exception... So basically I think I need to handle the JSON conversion in my logic.
@dblock Thanks man.

Yes. Basically this is not a bug, it's that Swagger UI sends data as a string "by design". If you want to be clever, you could introduce a JSON type that gets coerced, ie. converted by invoking JSON.parse (see how Grape does custom types in the README). This could be a good exercise and an interesting use case / blog post.
I am going to close this.


[feature] Reducing repeat content

https://www.kaggle.com/code/aisuko/generate-text-with-different-decoding-methods

Closed since issue solved by PR #39


[IOSP-207] Support Top Priority PRs

https://babylonpartners.atlassian.net/browse/IOSP-207
Why?
As a simple way to allow us making some PRs jump at top of the queue – until we implement a more complex logic in IOSP-164 later
How?

MergeService must now be initialized with a topPriorityLabels list in addition to the integrationLabel string.
When adding or removing a Label on a PR, the logic is still the same (addition/removal of a label leads to Outcome.include or Outcome.exclude depending on presence of the integrationLabel) but if integrationLabel is still there, the Outcome.include will lead to a queue update instead of filtered addition

TODO
We need to add the TOP_PRIORITY_LABELS environment variable to Heroku after this
Notes

To reorder the queue, we couldn't use sort nor partition(by:) as originally thought, because they are not guaranteed to be stable sort / stable partition, so we'd risk not maintaining the original relative order
the XCTestManifests.swift file didn't seem to have been updated since a while. We might want to create a ticket to add a job on a Mac container in the future that would run swift test --generate-manifest and assert there's no git changes afterwards

Got a PullAssigner error. Will assign manually for now but we should look into it.


celsius example doesn't work when simplified

I'm doing it like this:
{⟦
  c ↦ ξ.number(as-bytes ↦ ⟦ Δ ⤍ 40-39-00-00-00-00-00-00 ⟧),
  φ ↦ ξ.c.times(x ↦ ξ.number(as-bytes ↦ ⟦ Δ ⤍ 3F-FC-CC-CC-CC-CC-CC-CD ⟧)).plus(x ↦ ξ.number(as-bytes ↦ ⟦ Δ ⤍ 40-40-00-00-00-00-00-00 ⟧)),
  number ↦ ⟦
    as-bytes ↦ ∅,
    times ↦ ⟦ x ↦ ∅, λ ⤍ Lorg_eolang_number_times ⟧,
    plus ↦ ⟦ x ↦ ∅, λ ⤍ Lorg_eolang_number_plus ⟧,
  ⟧
⟧}

This is very similar to what you have in the dataization.yaml test case, but I'm not importing the entire number.phi and don't use bytes.phi. I believe, my example should work.

@deemp please, check this one

The following is missing from your example:

φ ↦ ξ.as-bytes in the definition of number. This is important for the atoms (plus and times) to be able to dataize their arguments.
Since atoms wrap their results in Φ.org.eolang.number(as-bytes ↦ Φ.org.eolang.bytes(Δ ⤍ ...)), it is important that those are defined, so Φ.org.eolang.number and Φ.org.eolang.bytes need to be defined.
When using dataize, you need to add --as-package or add λ ⤍ Package explicitly to the global object.

Also, using φ in a global object may lead to infinite dataization. This is because atoms produce Φ.org.eolang.something and then when the global object does not have org dataization tries to go into φ, resulting in a loop.
Below is a minimal working example:
cat celsius.phi

{⟦
  c ↦ ξ.org.eolang.number(as-bytes ↦ ⟦ Δ ⤍ 40-39-00-00-00-00-00-00 ⟧),
  result ↦ ξ.c.times(x ↦ ⟦ Δ ⤍ 3F-FC-CC-CC-CC-CC-CC-CD ⟧).plus(x ↦ ⟦ Δ ⤍ 40-40-00-00-00-00-00-00 ⟧),
  org ↦ ⟦
    eolang ↦ ⟦
      number ↦ ⟦
        as-bytes ↦ ∅,
        φ ↦ ξ.as-bytes,
        times ↦ ⟦ x ↦ ∅, λ ⤍ Lorg_eolang_number_times ⟧,
        plus ↦ ⟦ x ↦ ∅, λ ⤍ Lorg_eolang_number_plus ⟧,
      ⟧,
      bytes ↦ ⟦
        Δ ⤍ ∅
      ⟧,
    ⟧,
  ⟧
⟧}

eo-phi-normalizer dataize --as-package celsius.phi

{
  ⟦
    c ↦ ⟦
      Δ ⤍ 40-39-00-00-00-00-00-00
    ⟧,
    result ↦ 77.0,
    org ↦ ⟦
      eolang ↦ ⟦
        number ↦ ⟦
          as-bytes ↦ ∅,
          φ ↦ ξ.as-bytes,
          times ↦ ⟦
            x ↦ ∅,
            λ ⤍ Lorg_eolang_number_times
          ⟧,
          plus ↦ ⟦
            x ↦ ∅,
            λ ⤍ Lorg_eolang_number_plus
          ⟧
        ⟧,
        bytes ↦ ⟦
          Δ ⤍ ∅
        ⟧
      ⟧
    ⟧
  ⟧
}


Fixed API country code bug.

When a country code other than 'all' is used, such as 'us' or 'br', the API returns no proxies. This is because the API only accepts upper case country codes. If 'US' or 'BR' is used, proxies are returned. Either the API needs to be changed to use lower case country codes, or get_proxyscrape_resource needs to be updated to enforce upper case country codes.

Ah, this is a great catch! I unfortunately have no control over the API (the names are a mere coincidence), but your fix should solve the problem for the time being.
👍


Individual GitHub Checks for Monorepo with Preview builds

Is your feature request related to a problem? Please describe.
Related to #2366
We are unable to determine if a single Amplify app has failed as there is only a single GitHub check that is updated for the GitHub Pull Request.  This could be a race condition that leads to the last check status winning.
Describe the solution you'd like

Each GitHub Check should include the AppId in the check name.
Each GitHub Check will set the output of the check with the current state: queued, deploying backend, building, testing, deploying frontend.
Each GitHub Check will set the conclusion of the check with the associated conclusion status.
Each GitHub Check will set the completed_at upon completion of the build.

Additional context
It is my understanding that each Amplify Application Preview build is orchestrated in isolation, without knowledge of the other builds.  If there is an orchestration layer above this for Preview Builds with a monorepo then there could be alternative methods to accomplish the same granularity without a unique check name per Amplify AppId.

I too would like this feature, as I've mentioned here https://github.com/aws-amplify/amplify-console/issues/1441#issuecomment-976176114


defaultbackupcompreesion is misspelled

The configuration item is spelled this way:
policy.backup.defaultbackupcompreesion
The item should be spelled this way, with doubled "ss" and not doubled "ee":
policy.backup.defaultbackupcompression

Thanks so much! Will fix this asap unless you would like to submit the PR

I'm sure that someone will fix this before I can get set up for summiting a
PR. Been meaning to get set up to submit to dbatools for ages, never done a
pull request, etcetera and so forth. Never seem to have time...
On Feb 26, 2018 4:47 PM, "Chrissy LeMaire"<EMAIL_ADDRESS>wrote:

Thanks so much! Will fix this asap unless you would like to submit the PR
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbachecks/issues/321#issuecomment-368662386,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK5fUR2keM3-vvCzEry5ntlk4uwseuZbks5tYyaGgaJpZM4ST-IV
.

okie dok, np!

fixed in 1.0.3 👍


Improvements on agents package API

PR Checklist

[x] Read the Contributing documentation.
[x] Read the Code of conduct documentation.
[x] Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
[ ] Describes the source of new concepts.
[ ] References existing implementations as appropriate.
[ ] Contains test coverage for new functions.
[ ] Passes all golangci-lint checks.

Description
Contributing to solve #463

Rebased this to current main.


Deriving Static Energy of a GLB

I have a multibank GLB in my design, but the static energy does not seem to be in the same ballpark as the other components (when you multiply static energy per cycle by the number of cycles)where I assume leak energy means static energy. The output is as follows and I am also not really sure what is meant by update energy given that this is a SRAM structure.
  - name: system_top_level.shared_glb[1..1]
    actions:
      - name: write
        arguments: {}
        energy: 8.219301
      - name: read
        arguments: {}
        energy: 10.267041
      - name: leak
        arguments: {}
        energy: 0.008434
      - name: update
        arguments: {}
        energy: 8.219301

Further, I would like to know if I should multiply this number by the number of banks to get the total static energy of the GLB
I am thankful for your kind advise here.

The meaning of read/write/update/leak are explained here: https://timeloop.csail.mit.edu/v4/input-formats/design/components

read: Read data from the component. If the "read" action does not make sense for the component, the read action is the canonical action of the component, (e.g., "read" for an adder means to add).
write: Write data to the component. If the "write" action does not make sense for the component, the write action should have no subcomponents (i.e., be a no-op).
update: Write back a piece of data immediately after it has been read. If the "update" action does not make sense for the component, the update action should have no subcomponents (i.e., be a no-op).
leak: This action should take as an argument global_cycle_seconds and return a leakage energy per cycle (leakage power multiplied by global_cycle_seconds).

You should NOT be multiplying by the number of banks yourself. That should be done already. The leakage energy is leakage energy per cycle, so you'll get a low leakage number if CACTI used a low-leakage cache, or if your global_cycle_seconds is set very low.

Thanks Tanner for the kind advise!


fix testing, integration

added github actions
makefile running tests coverage
linting
pypi package upload (we can talk about how it would trigger on a call)
correct tests to compare and check with the npz file keys
separate out the .npz files for regression coefficients, improve how all the for loops are run with itertools possibly

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@dc4140b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #13   +/-   ##
=========================================
  Coverage          ?   92.14%
=========================================
  Files             ?        5
  Lines             ?      827
  Branches          ?        0
=========================================
  Hits              ?      762
  Misses            ?       65
  Partials          ?        0

Continue to review full report at Codecov.

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


Cannot upgrade and cannot uninstall

Microsoft PowerToys version
0.78.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Installer
Steps to reproduce
Powertoys shows that a new version is available (0.80.1), when I try to install from the General Tab, I get the following error "An error occurred trying to install this update". if I click on try again to download and install, the application closes down and nothing happens.
I have then tried to install by downloading from Github. I tried both the Machine wide and per user installations. Both of them lead to the same error "PowerToys is already installed on this system for current user. We recommend first uninstalling that version before installing this one."
I then went to Settings in Win 11 to uninstall the current version. Surprisingly it appears twice (both of them having been installed on the same date). When I try to uninstall I get exactly the same error as above.
Attached are the logs from both processes. I just changed the name of the user folder for confidentiality reasons (but the structure of the name is consistent).
powertoys-bootstrapper-msi-0.78.0_20240428171545 - Uninstall failed.txt
powertoys-bootstrapper-msi-0.80.1_20240428171947 - Install failed.txt
✔ Expected Behavior
Successful uninstall / install
❌ Actual Behavior
Detailed already in steps above. "PowerToys is already installed on this system for current user. We recommend first uninstalling that version before installing this one."
Other Software
No response

I'm having the same issue.

Looking into the logs the issue seems to related to the installation variable MinimumVersion
At the beginning of the installation it is set to 0:
Initializing version variable 'MinimumVersion' to value '<IP_ADDRESS>'
It then detects that version 0.78 is present (even if I have tried to delete manually every trace of PowerToys in my computer)
Setting version variable 'DetectedPowerToysUserVersion' to value '<IP_ADDRESS>'
And then it fails because the detected version is higher than the minimum one
Condition 'MinimumVersion >= DetectedPowerToysVersion' evaluates to false.
PowerToys is already installed on this system for all users. We recommend first uninstalling that version before installing this one.
Bundle condition evaluated to false: MinimumVersion >= DetectedPowerToysVersion

Can you try downloading the installer (https://github.com/microsoft/PowerToys/releases) for your version (Try using PowerToysSetup and if this doesn't work PowerToysUserSetup). This should give you an option to uninstall. Please tell me if it works. /needinfo

I just tried with both the Machine-wide and user versions (v81.1) and I got the exact same error.
I spent an hour with the support team in my company trying to remove all traces of PowerToys, however, the logs show that 0.78 seems to be installed.
I also do not yet understand why the logs close with an error about Minimum Version (0.0.0) not being higher than Detected Version (0.78.0)

I just tried with both the Machine-wide and user versions (v81.1) and I got the exact same error.
I spent an hour with the support team in my company trying to remove all traces of PowerToys, however, the logs show that 0.78 seems to be installed.
I also do not yet understand why the logs close with an error about Minimum Version (0.0.0) not being higher than Detected Version (0.78.0)

Can you try it with the 0.78 installer specifically?
/needinfo

I tried again with the 0.78 installer and got the very same 'unsuccessful' outcome
powertoys-bootstrapper-msi-0.78.0_20240616023928.log

I just did an old fashioned registry and file system purge of powertoys and I was able to upgrade no problem.

Open to any suggestions on how to do a better registry and file system purge. There are traces everywhere.
Even better what is the registry entry that the installation process is checking to determine the installed version?
Regards,
Alfredo

From: mikex99 @.>
Sent: Sunday, June 16, 2024 2:48:50 AM
To: microsoft/PowerToys @.>
Cc: Alfacharlie1973 @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Cannot upgrade and cannot uninstall (Issue #32650)
I just did an old fashioned registry and file system purge of powertoys and I was able to upgrade no problem.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/32650#issuecomment-2170994612, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANM2EPHNGEAYTRSOVM6FEY3ZHTOHFAVCNFSM6AAAAABG5JO7Z6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZQHE4TINRRGI.
You are receiving this because you authored the thread.Message ID: @.***>

I had the same problem with v0.70. Neither of two installed instances (per user and global?) could be deleted using suggested methods including running the PowerShell cleanup script. The same error (Error 0x81f40001: Bundle condition evaluated to false: MinimumVersion >= DetectedPowerToysVersion) was reported. Fortunately, after running Program Install and Uninstall troubleshooter  (and restarting my laptop because the explorer crashed during this process) I was able to uninstall both instances of PowerToys and install the newest one without any problem.

I had the same problem with v0.70. Neither of two installed instances (per user and global?) could be deleted using suggested methods including running the PowerShell cleanup script. The same error (Error 0x81f40001: Bundle condition evaluated to false: MinimumVersion >= DetectedPowerToysVersion) was reported. Fortunately, after running Program Install and Uninstall troubleshooter (and restarting my laptop because the explorer crashed during this process) I was able to uninstall both instances of PowerToys and install the newest one without any problem.

OMG It's work. Thanks a lot 🥹


Control visibility of the 'done' button

First of all, thanks for this wonderful library.
I have a question about some functionality that I would like to have. At the last slide, I want the user to be able to add some values to 2 TextInputEditTexts and until he does have entered values to them, I want the 'done' button to be disabled. After adding values to them, I want to activate/make visible the 'done' button and allow him to close the onboarding.
Is it possible to do that? If not, what would you suggest in order to get similar functionality?
Thanks :)

@stephentuso Any suggestions on this issue?
Also, are you planning to update the library to play well with AndroidX and Theme.MaterialComponents?


SplashMiddleware breaks "script": 1 invocations

See:
https://github.com/scrapy-plugins/scrapy-splash/blob/master/scrapy_splash/middleware.py#L324
This line:
body = json.dumps(args, ensure_ascii=False, sort_keys=True, indent=4)
Breaks any SplashRequest that is trying to emulate the following:
# Render page and execute simple Javascript function, display the js output
curl -X POST -H 'content-type: application/javascript' \
    -d 'function getAd(x){ return x; } getAd("abc");' \
    'http://localhost:8050/render.json?url=http://domain.com&script=1'

If you just steamroll the intended POST body with a json dump of the args, then it's basically impossible to structure a render.json request (that doesn't use LUA, from what I can see).
In fact,  a Splash Request structured as such:
splash_request = scrapy.Request(
            my_interesting_request_url,
            callback=self.parse,
            errback=self.err_back.errback_httpbin,
            meta={
                "request_item": request_item,
                "splash": {
                    "args": {
                        "method": "POST",
                        "body": JS_SOURCE,
                        "url": request_item["request_url"],
                        "html": 1,
                        "script": 1,
                        "max-timeout": Config.SPLASH_MAX_TIMEOUT,
                        "slots": Config.SPLASH_NUM_OF_SLOTS,
                    },
                    "splash_headers": {"Content-Type": "application/javascript"},
                    "endpoint": Config.SPLASH_RENDER_JSON_ENDPOINT + "?html=1&script=1&url=" + request_item["request_url"]
                }
            },
        )

Will give me a body like this:
b'{\n    "headers": {\n        "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",\n        "Accept-Encoding": "gzip,deflate",\n
      "Accept-Language": "en",\n        "User-Agent": "Scrapy/1.4.0 (+http://scrapy.org)"\n    },\n    "html": 1,\n    "js_source": "JSON.stringify(WSI.assortmentJson)",\n
    "max-timeout": 3600,\n    "method": "GET",\n    "proxy": "http://ec2-54-234-146-220.compute-1.amazonaws.com:8080",\n    "script": 1,\n    "slots": 5,\n    "url": "https://www.potterybarn.com/products/cambria-stoneware-mug-stone/"\n}'

When I log the request body in MySpider.parse (retrieved the response object). You can even see headers get set into the args object here: https://github.com/scrapy-plugins/scrapy-splash/blob/master/scrapy_splash/middleware.py#L322
This is obviously wrong.  I haven't the faintest idea of why headers would be put into the POST body. If there is a "right way" to do it, it's not clear from the documentation - in fact the documentation seems to be misleading. I've also tried with SplashRequest, but this is just another layer of abstraction that doesn't treat the actual problem of the request body being screwed up.
I'll try and submit a pull request for this in the next few weeks, but honestly I'm surprised this hasn't been complained about elsewhere.

@kmike or @stummjr y'all look like the most active members here - just pinging you for visibility

It's been almost a month. Is this project dead?

@Datamance this project is not dead, but I must say that I didn't quite understand many parts of the top post, especially

If you just steamroll the intended POST body with a json dump of the args, then it's basically impossible to structure a render.json request (that doesn't use LUA, from what I can see).

Also I think you raise a lot of different points and questions. If you have time, could you please tell which bit is not working as you expected, and what you expect?

@lopuhin the first couple of lines of my post
See:
https://github.com/scrapy-plugins/scrapy-splash/blob/master/scrapy_splash/middleware.py#L324

**This line:**
**body = json.dumps(args, ensure_ascii=False, sort_keys=True, indent=4)**

"If you just steamroll the intended POST body with a json dump of the arg..." --> **body = json.dumps(args, ensure_ascii=False, sort_keys=True, indent=4)**

@Datamance right, this line https://github.com/scrapy-plugins/scrapy-splash/blob/e40ca4f3b367ab463273bee1357d3edfe0601f0d/scrapy_splash/middleware.py#L324 creates json-encoded body. I might be missing something obvious, but I don't see in which case it is wrong.

There is one single issue at hand here, and that is the inability for SplashMiddleware to support the following kind of request:
# Render page and execute simple Javascript function, display the js output
curl -X POST -H 'content-type: application/javascript' \
    -d 'function getAd(x){ return x; } getAd("abc");' \
    'http://localhost:8050/render.json?url=http://domain.com&script=1'

where the JS to be executed is in the body.

Thanks for your patience @Datamance , now I see, I didn't know about this API feature. Indeed SplashMiddleware can't send such a request, but I think the same can be achieved by roughly the following
SplashRequest(
    'http://domain.com',
    args={'js_source': 'function getAd(x){ return x; } getAd("abc");', 'script': 1},
    endpoint='render.json')

I believe we tried that to no avail, but I'll go ahead and give it a shot this week (probably tomorrow). For the time being I'm just wrapping everything with LUA, which is ok but a little overkill for the need here.
Thanks for your help! I really appreciate the hard work that goes into contributing to open source (I'm trying to figure out how to do more of it myself), so no worries.

@Datamance Did you even manage to try the approach that @lopuhin suggested?

@Gallaecio I don't believe I was able to - and I'm at a different workplace now, so I'm not sure if anyone tried it after me.

Any chance you remember and can share the actual target URL, so that we can try to reproduce the issue?

I remember that this didn’t work with a number of URLs. It’s right there in the code - I left a pretty detailed bug report indicating where things were breaking and why. I’m on a phone right now so I can’t really look at the current code; maybe it’s been changed since then, but that’s how it was when I was using it.


Add back the pubsub URL prefix.

Scheduler jobs are failing with: "no scheme in URL "projects/ossf-malware-analysis/topics/feed-topic""

Good call! I missed that in my review, even though that exact thing has bitten me before. 😳


Knife search node should have a case insensitive option

At the very least we need to support adding case insensitivity as an option:
https://feedback.chef.io/forums/301644-chef-product-feedback/suggestions/17347648-provide-a-mechanism-to-disable-case-sensitivity-on
The fuzzifier (which I may move around in the code):
https://github.com/chef/chef/blob/388e33923ca50688e0aea546a6fdd815d2ef05ab/lib/chef/knife/search.rb#L154-L158
Could be extended so that knife search node would use case-insensitivity by default.
Knife ssh already should use the same fuzzifier as knife search node and we should fix that.

@lamont-granquist, This will require a change in chef-server code. We will need to dig deep into the search implementation. Should we proceed with the change?


[10.x] Add getRawQueryLog() method

⚠ NOTICE: A failed test is not about my changes

In #47507 , toRawSql() was implemented that can retrieve the complete query with values bound to the SQL output by toSql().
I thought it would be nice to have an extension method that could retrieve the complete query with bound values, similarly with DB:::getQueryLog()
I implemented it.
Usage
Basically, the usage is the same as getQueryLog()
DB::enableQueryLog();

// do something with querying

$logs = DB::getRawQueryLog();

In the case of getQueryLog(), we could get an associative array like this
[
  [
    "query" => "select * from "users" where "id" in (?, ?, ?)"
    "bindings" => [
      0 => 3
      1 => 6
      2 => 8
    ]
    "time" => 4.06
  ]
]

Now, we could get an associative array like this with getRawQueryLog()
[
  [
    "raw_query" => "select * from "users" where "id" in (3, 6, 8)"
    "time" => 4.06
  ]
]

Will there be leakage of sensitive information?

@huangdijia
Thank you for your comment!
Certainly, there are concerns about leaking of sensitive information because this feature make it possible to dump full sql query logs which is bound all properties.
Perhaps, the one of the reasons why anyone didn't implement a function like toRawSql() is protecting from leaking of sensitive informatioins.
However, I think this project had decided to entrust developers to judge to use these features because toRawSql() was implemented and merged in the previous Pull Request.
Therefore, I think whether to output logs which contains sensitive informations should be based on developers judgement as well this feature.

  public function logQuery($query, $bindings, $time = null)
    {
        $this->totalQueryDuration += $time ?? 0.0;

        $this->event(new QueryExecuted($query, $bindings, $time, $this));

        if ($this->loggingQueries) {
            $this->queryLog[] = compact('query', 'bindings', 'time');
        }
    }

if this method chanage  a little, It can easily get query log by using  new getRawQueryLog  with the help of DB::listen
  public function logQuery($query, $bindings, $time = null)
    {
        $this->totalQueryDuration += $time ?? 0.0;

        // record log before dispatch event
        if ($this->loggingQueries) {
            $this->queryLog[] = compact('query', 'bindings', 'time');
        }

        $this->event(new QueryExecuted($query, $bindings, $time, $this));
    }


Resizing subwindows / popups does not work correctly

Godot version
v4.0.stable.official [92bee43ad]
System information
Fedora 37 KDE, Wayland, RX 6600
Issue description
Resizing editor subwindows/popups does not work as expected. This bug does not happen when resizing the main window.
https://user-images.githubusercontent.com/85757201/224349979-f852f617-1990-4b20-9b35-39aad12860cb.mp4
Steps to reproduce

Open Godot Engine
Click on "New project", "Import", "Scan", or "About" (works with other popups as well)
Try resizing the popup window

Minimal reproduction project
N/A

Can you reproduce this on an X11 session?

Nope, on X11 session window resizing works as expected.

So after customizing KDE Plasma a bit I noticed that this bug did not appear anymore. Turns out it only happens with certain window decorations such as Breeze (the default one), Lightly,  Genome D, but not with Sweet-Dark or Plastik for some reason. I am not sure whether this is a Godot issue or KDE issue but I have not encountered this with other programs.

So after customizing KDE Plasma a bit I noticed that this bug did not appear anymore. Turns out it only happens with certain window decorations such as Breeze (the default one), Lightly, Genome D, but not with Sweet-Dark or Plastik for some reason. I am not sure whether this is a Godot issue or KDE issue but I have not encountered this with other programs.

I got exact same problem, but change to other window decorations does not solve this, I am on Arch, KDE/Wayland

@Yuanhao-JIANG what window decoration did you try? Using Plastik fixes it for me.

@Yuanhao-JIANG what window decoration did you try? Using Plastik fixes it for me.

I tried Plastik, it does not fix on my side.


error 500

Hello
followed instructions,
running 2.0.0-RC3
error 500
[Fri Nov 20 15:24:10.179541 2015] [php5:error] [pid 20906] [client <IP_ADDRESS>:55905] PHP Fatal error:  Call to undefined function Illuminate\Cache\apc_fetch() in /srv/www/Cachet/vendor/laravel/framework/src/Illuminate/Cache/ApcWrapper.php on line 32, referer:
[Fri Nov 20 15:24:10.966173 2015] [php5:error] [pid 20907] [client <IP_ADDRESS>:55927] PHP Fatal error:  Call to undefined function Illuminate\Cache\apc_fetch() in /srv/www/Cachet/vendor/laravel/framework/src/Illuminate/Cache/ApcWrapper.php on line 32, referer:
[Fri Nov 20 15:24:11.149439 2015] [php5:error] [pid 20908] [client <IP_ADDRESS>:55928] PHP Fatal error:  Call to undefined function Illuminate\Cache\apc_fetch() in /srv/www/Cachet/vendor/laravel/framework/src/Illuminate/Cache/ApcWrapper.php on line 32, referer:

In order to use the apc cache driver, you MUST install the apc extension on your server.

HI @GrahamCampbell
sorry wasn't until after i posted i noticed that it wasn't installed i thought i had.
was running on opensuse leap and i can't for some reason install zend for the apc cache

NB, you need the apc userland cache rather than the opcode cacher.

Alternatively, just use redis or something.

Would I still keep apc in the .env file
Sent from my iPhone

On 20 Nov 2015, at 18:50, Graham Campbell<EMAIL_ADDRESS>wrote:
Alternatively, just use redis or something.
—
Reply to this email directly or view it on GitHub.


multi: Add DCRDEX onboarding step 1

Part of #98

Design:
There's a little difference in the inputs implemented. I thought it'd be better to utilize what we already have than reinvent the wheel with a minor difference.

the layout looks distorted on my linux (although looks perfect on my mac)

below is more info on my machine

Hmm, weird. Sadly I don’t have a Linux machine to test with. Do you know what could be the cause?


Dependencies between configurations (working version)

This is a partially merged version of #78. It has seen significant refactoring and simplification to fit in with the pipeline based control panel and enable extension.
There are still several outstanding work items that need to be addressed:

The dependencies are not being treated as a tree and need to do so (e.g. you cannot have transitive dependency, and configurations with equal number of dependencies are what is being evaluated as opposed to what depends on what else which can result in incorrect dependency ordering)
If you request Unicorn sync all configurations (e.g. no configurations query string param) dependency-based ordering is not respected. The code in RenderControlPanel() needs to be refactored out and fixed per above to somewhere - maybe in ConfigurationDependencyResolver
Tests are not written for the dependency resolver and sundry new code. Should include dependency loops and transitive configs for sure.
It seems like there should be some sort of mechanism to either enforce dependencies (e.g. if you choose A which depends on B that automatically syncs B then A even without B selected), or otherwise add 'teeth' to them. Maybe I'm wrong here. Would love feedback.

To be clear @Eldblom I'm not saying you have to do anything necessarily, just that here's my WIP if you want to help or have commentary :)

This has been cleaned up and merged.

Dependencies can resolve as a tree, including transitively with loop detection
Tests are written on the dependency resolution logic
Implicit dependency was REMOVED because it was extremely dependency laden and nigh impossible to test. I'm not opposed to the idea of implicit dependency but it needs a less code-smelly implementation, and it needs to come with tests.

Unicorn 3.1.0-beta04 is now on NuGet, which includes dependency support for your perusal @Eldblom .
NOTE: there are some YAML format changes in Rainbow 1.1/Unicorn 3.1. Existing YAML files can be read by the new version however items saved by the new version cannot be read by older versions. To normalize, I would suggest syncing before upgrade and reserializing after upgrade.

Thanks @kamsar. Will be tested asap.
Totally understand all your points - the implicit dependencies was more of a test of the theory really so I understand that it's gone. Cool that you got the dependency sync in there - which for me was more blocked by the current UI implementation than anything else.


Members action menu is clipped on last row in datagrid

the members action menu for a project is clipped and a scroll bar shows up when clicking on the 3 dots.

I also saw something similar in the Projects view with vic-v1.1.0-rc2-81820686.ova:


Validate IOP fields for DNS1123 compliance

Bug Description
Istio can get into a bad state and often default back to default values if any DNS1123 fields are set incorrectly. For example if trustDomain is not DNS1123 complaint istio fails to parse the rest of the spec and defaults the trustDomain back to cluster.local. The current set of errors is hard to decipher the root cause of the issue.
Based on the code, we believe that these fields are all required to be compliant if set.

[x] revision
[ ] cluster name (name field for istioctl x create-remote-secret)
[ ] port names (defined in various resources)
[ ] global.meshConfig.trustDomain
[ ] gateway name
[ ] namespace
[ ] name (general application)
[ ] subset
[ ] values.global.meshNetworks[network].endpoints[].fromRegistry
[ ] service name

Version
Istio 1.12.1

Additional Information
No response

@nmnellis I think it might be helpful if you could update the description to the task list format to track which has already been checked.

@nmnellis I think it might be helpful if you could update the description to the task list format to track which has already been checked.

updated, i think revision is the only one currently validated for DNS1123

Things in meshConfig has already been validated.
I have created a PR to validate the remaining fields. However, I am not certain about what 'subset' means here. I think you mean the subset in DestinationRule, not the IOP resource?


accept all demon parameters

Looking at the code. It is best if we accept both the username and host. This PR allows the user to pass these parameters. This way, the user can decide to change the username and host for the daemon. What do you think?

It's okay to ask for the username, but both username and host should be optional.
In this PR, you removed the default values and the optionality of the parameters, which will end up breaking the package compatibility.

I will make both username and host optional,
Then


Add Pricing Data

Hiya! Great port of CatMyFish. This PR adds the ability to pull pricing data from Gandi.net using the -p optional parameter. A free API key is required from: https://v4.gandi.net/admin/api_key.
I also added a version requirement for lxml as I was getting irritating errors after upgrading to 3.8.

Thanks for this PR. We'll check it out shortly!

I like this idea,  recently updated to include the Status column.  Price is somewhat shown here.  Available typically means standard price for that TLD.  Or a $ amount may be shown.  Either way, it is a quick indicator of price.
I like the clean up and fix to the requirements doc.
The API requirement is the only thing I see as an issue.
I see the price check code is part of the reputation check.  I most often run this without reputation check (much faster) and manually check for domains I'm interested in.  If we added a dedicated price check, may need to move into its own optional section.
Thoughts?

Yeah - I spent a (very small) bit of time looking for an API-less option but then decided it would be a fun excuse to build something. I understand completely if you a) want to drop it completely or b) are more interested in API-less options.
Regarding its location in code, I was trying not to modify your base code to much and added it under reputation since I figured your main goal here is looking for domains with a pre-existing reputation rather than just any recently expired domain with a given keyword. Can be moved wherever - I just stuck it there since it fit well.

I like a lot of the ideas.  If we move the pricing as an option with the API key as the parameter, maybe this will work.  I would rather not have to modify the code to add the api.  As for usage, I have the reputation search, but personally don't use right away.  We have had this tool (or a variation) for a couple of years now.  It works with the flow that we use.
I'd like an opinion on the status column.  It somewhat covers price.  What are your thoughts?  Is it helpful to have more detail?
I can update the code with your change ideas (include a reference to your contributions) or you can rework if you want to directly contribute the pull request.   I'm good either way.  You have some good ideas.

I added the price specifically since I ran into a few domains that were available, but at ~$7600 or so (-q health). I'm all for moving the API key to the parameter and will do so tonight if you'd like to keep the feature.
I'll get the API key moved to a parameter tonight and update the PR.
Regarding categorization, this dropped the other day: https://github.com/mdsecactivebreach/Chameleon. I feel a bit sheepish for not realizing how easy it is to categorize a domain and given this new information am not sure whether an expired domain being already categorized is of any benefit whatsoever.

There's a dependency in parameters here (-p requires -c), but I left it as a documented requirement rather than trying to enforce it in case -p gets broken out into its own thing.

I haven't seen Chameleon... If it works, you are right, this tool may not be as helpful
I will take a look at your updates.

Hey Liam, thanks again for taking a look at DomainHunter. We decided to hold off on merging the pricing API at this point. Ultimately if we add this feature, we'll prefer a solution that doesn't require a pre-existing account or at least doesn't require it to be pre-funded (as is the case with Gandi).
Thanks again!


Build pbuilder hooks directory via os and project

Without building the hooks directory based on project, multiple
builds on the same box could clear out the hooks directory for that build.
This makes the hooks directory per os per project to create
more scoping.
I suppose we have not really hit this in the past, but when thinking about building out the pipelines and how to ensure a dedicated build setup per project/os combination this seemed like it would be needed.

My alternative (under the assumption that the static ones go via Puppet): https://github.com/theforeman/jenkins-jobs/pull/98

#98 is merged, so I guess I'll close this here


feat: add TerserPlugin

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


v1.1.0 add tests

Use uv for package management.
Add minimal set of tests.
Update some dependencies.
Add uv export to pre-commit hooks.
Setup Earthfile to test docker image creation.

Sorry to write here, but is there a reason why we cant create the issues here?
E.g. I have a json file format, which is almost supported, but miss a small thing.
regex: licenses\.\[(?P<id>\d+)\]\.license\.\[(?P<lid>\d+)\]\.(?P<metric>(quota|peak|current|churn))
dynamic_labels:
   license<EMAIL_ADDRESS>
so the $lid has the id of the element, if just used as label, but i need to fetch a specific element inside that array.


Function to get the Delivery ID for a webhook request

I would like to add a function to get the Delivery ID header (X-GitHub-Delivery) for a webhook request. This would essentially be the same as WebHookType but a different header.
If there are no problems with this, I would be glad to open a PR.

I'm not sure I understand the need for a new function. All that is needed is a single line:
deliveryID := r.Header.Get("X-Github-Delivery")

Oh, I see... #427 added WebHookType.  Hmmm... I guess I missed that before. I'm not sure that was necessary, but I guess it shields clients from the details at the expense of a larger API surface.
I've got mixed feelings but could go either way.
@shurcooL - what do you think about adding a new function (maybe DeliveryID) to messages.go that is essentially a one-liner?

SGTM.


feat: allow a custom tactic script to be run in lockstep with symbolic evaluation

Description:
We remove the constraint in the sym_n tactic that it expects n in h_run : run ?n ?s0 to reduce to a concrete literal.
In the case that it is a literal, the behaviour is unchanged. Otherwise, if n does not reduce (e.g., if it is Correctness.csteps), then we run a tactic that is expected to prove that n = ?m + 1, for some new metavariable ?m.
By default, we dispatch this to omega, but, we also add an option to provide a custom tactic script at the use of sym_n, which will then be run at each step, to prove that n is in fact non-zero.
The syntax for this is: sym_n (while := skip) 3.
Note this custom tactic is not necessarily required to close the goal outright (skip in the example is a no-op).
If the goal is not solved, we assign the fresh metavariable ?m to a default value of ?n - 1, and add the goal to the goalstate, for the user to resolve manually.
Other changes:

I've removed a use of reduce in reflectNatLiteral and replaced it with something less powerful; reduce was hitting recursion depths on csteps. Note that the main purpose of reducing things here is to support the use of someProgram.length, and this is still statically recognized in the less powerful version!
I've added a bunch more tracing, and used trace nodes to make them more readable
Playing around with the lockstep tactic, it seemed useful to not just have s{i+1} = w ... s{i}, but also remember that in fact stepi s{i} = s{i+1}, since stepi s{i} might still pop up somewhere

Having this extra fact, however, broke intro_fetch_decode_lemmas. As a work-around, I added a withoutHyp helper that temporarily removes a local hypothesis, runs a tactic, and then reinstates the hypothesis

I also removed some dead code in FetchAndDecode.lean

Testing:
make all ran locally
License:
By submitting this pull request, I confirm that my contribution is
made under the terms of the Apache 2.0 license.

@shigoel this implement my idea of how we can integrate sym_n with VCG. I've tried to use it in AbsVCG, but was not quite able to get a clean proof out of it, since that file is still not exactly in the form that the tactic likes.
In particular, before we start symbolic evaluation with an hypothesis like sn = Correctness.nextc (Sys.run s0 1), we need to show that we have at least one step available. But, to show this, I think we have get goals that mention stepi s0, and thus need us to already have done that first step of eval.
It would be helpful to get your eyes on this, to see if we can adapt VCG to work with this tactic, or if I have to do something a bit more sophisticated

@shigoel this implement my idea of how we can integrate sym_n with VCG. I've tried to use it in AbsVCG, but was not quite able to get a clean proof out of it, since that file is still not exactly in the form that the tactic likes.
In particular, before we start symbolic evaluation with an hypothesis like sn = Correctness.nextc (Sys.run s0 1), we need to show that we have at least one step available. But, to show this, I think we have get goals that mention stepi s0, and thus need us to already have done that first step of eval.
It would be helpful to get your eyes on this, to see if we can adapt VCG to work with this tactic, or if I have to do something a bit more sophisticated.
EDIT: thinking about it some more: it would certainly be possible to first introduce the next state as a let s{i+1} := stepi s{i}, simplify the stepi s{i} expression, then, with this information available, ask the user to show that n in run n s{i} is non-zero, and only at this stage do we unfold the run, and simply rewrite along the stepi s{i} = s{i+1} expression we kept around. That change would be relatively orthogonal to what I've done here, so I think it'd be best to just merge this PR, play around with VCG, and if we find it's too hard to adapt VCG, then we can reorder things in a follow-up

It'd help me to see the exact issues with AbsVCG and your new sym_while work -- let's work on that tomorrow.
BTW, would it help at all to make run the canonical function to represent state transitions and outlaw the use of stepi entirely?


[Low Priority] Add Core Dialogs

I think that it would be nice to add some kind of cool dialogs to the core modules , this will improve surely the "look" of the whole framework

I've left it like that so that anyone can edit them and make them, however, they want them to look like. I might consider doing this in the future though.

Then what about some sort of premade templates?

As in some kind of psd files or what do you mean exactly?

Well actually I was thinking of some premade templates written in .hpp, but having psd files ready for use would be really useful for people that , like me , aren't that good in creating dialogs from scratches.

There are some barebones .hpp dialogs included with the core. You can find them over at
RPFramework/RPFramework.Altis/Dialogs/
or just https://github.com/RPFramework/RPFramework/tree/master/RPFramework.Altis/Dialogs


Xml adapter attribute

@hasys
I have replaced XML example in the test to
"<BeanWithAttribute value="test value"/>";
because xml write collapse the empty node from  to .

Hi @treblereel,
sorry for late response I was on PTO. Looks good to me, great job. Thank you!
I cant put myself as reviewer since don't have permission for it so just putting a comment here 👍


Shorten metadata description

There is a word limit in metadata description that we need to follow if we want to publish it in chrome web store

Looks like we had the same idea, I addressed this as part of Pull #46.


Feat: Explicit reuse of openssl from /usr/local

Summary
👋 Thanks for the awesome tool and experience!
When I went to install Python-3.12.0 I noticed the following logs:
Downloading openssl-3.1.2.tar.gz...
-> https://www.openssl.org/source/openssl-3.1.2.tar.gz
Installing openssl-3.1.2...
Installed openssl-3.1.2 to /Users/user/.local/share/rtx/installs/python/3.12.0

It is awesome the tool handles this for users without openssl already installed.
However on my system I already had 3.1.2 installed. This lead to a couple of questions:

I was wondering if the tool is always expected to install runtime dependencies to the .local path. I read through the dependency docs for python and assumed the dependencies specified here would be reused
WDYT of a config option where paths/sources for runtime dependencies can be explicitly set. In this case openssl for python.

This might all be for nothing if what I saw was an extension of how python-build manages installing dependencies. If so please feel free to close the issue and thanks again for the awesome tool!
Also apologies if this is already handled in the config.

This might all be for nothing if what I saw was an extension of how python-build manages installing dependencies. If so please feel free to close the issue and thanks again for the awesome tool!

right, python-build installs openssl, not rtx