text:
thanos-s3 spec added encrypt-sse

updated thanos sidecar spec to be able to use server side encrypt.
Issue #1673

Can I get this through. Looks like it only failed one of the build checks.

@astub we are generating a whole bunch of manifests and documentation based on our source code. Could you run make generate in the root of the repo and commit the changes? That should fix your CI failures.

hey im closing this pr and reopening because I don't really know how to deal with the conflict after master was updated...

Hi @astub,
you would need to do the following:
Add the upstream repository as a remote:
git remote add upstream https://github.com/osela/prometheus-operator.git
Fetch new changes from upstream:
git fetch upstream
Rebase your changes on top of upstream changes:
git rebase upstream/master
Push the new changes to your fork:
git push --force-with-lease
This PR will update automatically.
Let me know if you need further advice. I am happy to help!

authors: astub mxinden

repo: coreos/prometheus-operator


text:
Grafana: query range treated as SQLi using libinjection

Description
I plan to implement WAF using ModSec + CRS, but until now i still run in DetectionOnly mode to make sure my normal production traffic is fine and make sure there is no false positive detection. During i running modsec in DetectionOnly i got many false positive detection and fix it by customizing crs-setup.conf to reduce false positive detection, except this false positive detection produced by grafana apps. So, i need help how to solve this.
Request / Response
i provide this because i can't find it in modsec log, and i think it can be useful
Request (Form Data)
query: ((node_memory_SwapTotal_bytes{instance="10.240.20.10:9100",job="node-apps"}+-+node_memory_SwapFree_bytes{instance="10.240.20.10:9100",job="node-apps"})+/+(node_memory_SwapTotal_bytes{instance="10.240.20.10:9100",job="node-apps"}+))+*+100
start: 1623226500
end: 1623312900
step: 300

Response (Truncated)
{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"instance":"10.240.20.10:9100","job":"node-apps"},"values":[[1623226500,"NaN"],[1623226800,"NaN"],[1623227100,"NaN"],[1623227400,"NaN"],[1623227700,"NaN"],[1623228000,"NaN"], ... [1623311100,"NaN"],[1623311400,"NaN"],[1623311700,"NaN"],[1623312000,"NaN"],[1623312300,"NaN"],[1623312600,"NaN"],[1623312900,"NaN"]]}]}}

Audit Logs / Triggered Rule Numbers
---HtKCF5ov---A--
[10/Jun/2021:15:15:07 +0700] 1623312907 192.168.11.2 41898 10.240.20.80 443
---HtKCF5ov---B--
POST /api/datasources/proxy/1/api/v1/query_range HTTP/2.0
origin: https://grafana.example.com
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
sec-gpc: 1
sec-fetch-site: same-origin
content-type: application/x-www-form-urlencoded
x-grafana-org-id: 1
accept-encoding: gzip, deflate, br
cookie: grafana_session=340efd9aca0422adf101691e898e8486
x-panel-id: 152
accept: application/json, text/plain, */*
x-dashboard-id: 2
content-length: 315
host: grafana.example.com
sec-fetch-mode: cors
sec-fetch-dest: empty
referer: https://grafana.example.com/d/rYdddlPWk/node-exporter-full?orgId=1&refresh=1m
accept-language: en-US,en;q=0.9

---HtKCF5ov---D--

---HtKCF5ov---F--
HTTP/2.0 200
Server: nginx
Date: Thu, 10 Jun 2021 08:15:07 GMT
Content-Type: application/json
X-Content-Type-Options: nosniff
Connection: close
X-Xss-Protection: 1; mode=block
Content-Encoding: gzip
X-Frame-Options: deny

---HtKCF5ov---H--
ModSecurity: Warning. detected SQLi using libinjection. [file "/etc/nginx/modsec/coreruleset-3.3.0/rules/REQUEST-942-APPLICATION-ATTACK-SQLI.conf"] [line "45"] [id "942100"] [rev ""] [msg ""] [data ""] [severity "0"] [ver "OWASP_CRS/3.3.0"] [maturity "0"] [accuracy "0"] [hostname "10.240.20.80"] [uri "/api/datasources/proxy/1/api/v1/query_range"] [unique_id "1623312907"] [ref "v728,198"]
ModSecurity: Warning. Matched "Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `5' ) [file "/etc/nginx/modsec/coreruleset-3.3.0/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "80"] [id "949110"] [rev ""] [msg "Inbound Anomaly Score Exceeded (Total Score: 5)"] [data ""] [severity "2"] [ver "OWASP_CRS/3.3.0"] [maturity "0"] [accuracy "0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-generic"] [hostname "10.240.20.80"] [uri "/api/datasources/proxy/1/api/v1/query_range"] [unique_id "1623312907"] [ref ""]

---HtKCF5ov---I--

---HtKCF5ov---J--

---HtKCF5ov---Z--

Your Environment

Grafana version: Version 7.5.2 (commit: ca413c612f, branch: HEAD)
CRS version (e.g., v3.2.0): v3.3.0
Paranoia level setting: Default
ModSecurity version: 3.0.4
Web Server and version (e.g., apache 2.4.41): nginx 1.16.1
Operating System and version: Centos 7

Confirmation
[x] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.

Hi @abudawud ! Thanks for your report.
You can get the request by audit logging the C part (see here)
From what I see, the request triggers libinjection. Which might be difficult to tackle, because the library isn't receiving too much maintenance right now.
If you really want to solve the FP problem, probably the best place to follow this is https://github.com/libinjection/libinjection/issues.
You can add an exception for your case, so you can move forward with your modsec implementation.

sorry, i'm noob with libinjection, my question is who use the lib, Grafana or ModSec itself ?
Would you like to give me some reference how to exclude this ?

Libinjection is a 3rd party library ModSecurity / CRS uses and we have no influence over it. If there is a false positive in libinjection, there is nothing we can do.
So you need to create a rule exclusion for your particular case. https://www.netnea.com/cms/apache-tutorial-8_handling-false-positives-modsecurity-core-rule-set/ explains how to do this.

Thanks @dune73, i got the point now.

Thank you for closing

source: gharchive/issue

authors: abudawud dune73 fzipi

repo: coreruleset/coreruleset

license_type: permissive

license_source: bigquery


text:
[Issue]: The "no-install" variant of this software does not work for several reasons.

What happened?

After unzipping the "no-install" variant, the software does not work, unless you find out that you need to copy and adapt the settings.txt from the examples directory (no mention about this in the README)
After adding the settings.txt, installation works, but nodejs is not installed in the path but in the subdirectory of root. (if that's intended, then what exactly is path for? Again: no documentation.)
nvm use does not work without administrator privileges (this defeats the whole purpose of a no-install distribution, because you usually want that, because you don't want to (or cannot) install something as admin.
It's entirely unclear what nvm use actually does, because it apparently does not add the directory of the node installation to PATH.

What did you expect to happen?

Unzipping the software should be enough to run it. If it's not, running the software should either create a default (working) settings, prompt for additional settings, or terminate with a reference to the manual where to read about settings that have to be created.
I expected the nodejs installation to be installed into the nodejs directory I have specified with the path setting. But that might be just a misinterpretation. In any case, settings shall be documented in the README.
nvm should not request admin privileges where it doesn't need to. A user only installation and use of the software should be possible.
The effect of nvm use should be, that I can run the node executable from anywhere in my system - in other words: the path of the nodejs installation that is going to be used, should be added to the PATH variable.

Version
1.1.11 or newer (Default)
Which version of Windows?
Windows 11+
Which locale?
None
Which shell are you running NVM4W in?
Command Prompt
User Permissions?
Standard Use, Non-Elevated
Is Developer Mode enabled?
None
Relevant log/console output
No response
Debug Output
is not using admin or elevated rights.
Error getting console handle: Der Vorgang wurde erfolgreich beendet.
Windows Version: 10.0 (Build 22621)

Windows Developer Mode: UNKNOWN (user cannot read registry)

NVM4W Version:      1.1.12
NVM4W Path:         C:\Development\Software\nvm\nvm.exe
NVM4W Settings:     C:\Development\Software\nvm\settings.txt
NVM_HOME:           C:\Development\Software\nvm
NVM_SYMLINK:        .
Node Installations: C:\Development\Software\nvm

Total Node.js Versions: 1
Active Node.js Version: none
(run "nvm use <version>" to activate a version)

PROBLEMS DETECTED
-----------------
Another Node.js installation is blocking NVM4W installations from running. Please uninstall the conflicting version or update the PATH environment variable to assure "." precedes "C:\Development\Software\nvm\v18.19.0".

The NVM4W symlink (.) was not found in the PATH environment variable.

NVM_SYMLINK (.) is not a valid symlink.

Connection type cannot be determined: dial tcp [::1]:80: connectex: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte.

Find help at https://github.com/coreybutler/nvm-windows/wiki/Common-Issues

Anything else?
The problem reported by nvm debug is maybe due to my manual addition of the nodejs installation to PATH. I don't see why this should be a problem. It is extremely interesting, that the software identifies the installation it has installed previously as a conflicting installation. That should not happen.

To be clear, the no-install option is not a variant of the application. It doesn't ship with an installer, but the app still needs to be installed in order to run. The no-install option is for people who need to manually create their own installers, such as a custom package to roll out via Active Directory.
Did you just skim the README, or did you read the no-install/manual guide? It is linked from the README (shown here):

The docs clearly state you need to create a settings.txt file and provide a link to the example:

It is expected that physical node installations are stored in the root, not in the PATH. The NVM_SYMLINK is supposed to be in the PATH. The NVM_SYMLINK changes when nvm use is run, relinking to the appropriate physical installation directory. This is spelled out in the README as the major distinction of this tool (https://github.com/coreybutler/nvm-windows#bulb-whats-the-big-difference):

Windows requires elevated privileges to symlink directories. Administrators have these privileges, as does anyone who has developer mode enabled. You can also explicitly grant symlink permissions to trusted users. Microsoft has more information about this here. There are also more tips in the common issues section of this project.
Please remember that installing multiple versions of Node.js is exactly that... installing software on the OS. Microsoft has safeguards in place to protect against unauthorized installations. This tool is designed to find a balance between these restrictions and developer freedom, but every user/organization's threat tolerance is different.
If you are seeking more enterprise-specific features, I recommend following the news for Runtime, the successor software we're currently building.

As per your last point about how the PATH should point to the Node installation: This was how one of the very first alpha editions handled it. It proved to be dangerous. If something fails or there is an odd path (custom character) added to the PATH, or even if the path is long, it can truncate the PATH environment variable leading to system-wide loss of other applications (or worse, system failure). Constantly changing the PATH whenever a different version of Node is required can cause race conditions between apps too. Throughout the issue history in this repo, I refer to this as PATH thrashing. This is why a symlink is used instead. We can "thrash" the symlink because it is limited to the NVM4W app, isolated from the rest of the system.
Additionally, the debugger appears to be thrown off by the invalid settings.txt. Use the example settings file as a guide.

authors: coreybutler uap-universe

repo: coreybutler/nvm-windows

license: MIT

license_source: github-api


text:
Fix VCD generator

If two signals have the same type, and are both BitStructs, and not structurally connected (i.e. with s.connect), one of them shows up as X in the generated VCD. This happened because the set of nets does not function correctly, since all the nets are Bits and all "zero". They all equal each other, and, in the case of BitStructs, have a hash function based only on their name.

@jsn1993 Can you take a look? Seems straight-forward enough ...

ok! @orangeturtle739 merge when ready ...

source: gharchive/pull-request

repo: cornell-brg/pymtl


text:
Remove unused code

Cornelio,
The project is approved but remember not to repeat code.
You can delete from line 21 to 23 since you are not using this code, but inside the function.
https://github.com/cornensue/The-Excuse-Generator/blob/b196ddd24c762dfd7a66656e4ea7195d1b3b9917/src/app.js#L21

Hello,
Keili, thanks. Ok I will remove them.

Perfect!
I will close issue.

authors: cornensue keikeka

repo: cornensue/The-Excuse-Generator


text:
[Bug] viewport.setProperties({ invert }) works differently with StackViewport and VolumeViewport

Describe the Bug
Setting invert via setProperties works differently in StackViewport and VolumeViewport.
In StackViewport viewport.setProperties({ invert: true }) set an invert value of a viewport to true
In StackViewport viewport.setProperties({ invert: false }) set an invert value of a viewport to false
In VolumeViewport viewport.setProperties({ invert: true }) toggles an invert value of a viewport (so true becomes false and vice versa)
In VolumeViewport viewport.setProperties({ invert: false }) does nothing
Looks like VolumeViewport implements it incorrectly. In any case I'd expect the same behavior in different viewports.
Steps to Reproduce
The easiest way to reproduce this bug is to open official examples and use commands from a console
https://www.cornerstonejs.org/live-examples/volumeapi for VolumeViewport
https://www.cornerstonejs.org/live-examples/stackapi for StackViewport

Open https://www.cornerstonejs.org/live-examples/volumeapi, open console
cornerstone.getRenderingEngines()[0].getViewports()[0].setProperties({ invert: true});
cornerstone.getRenderingEngines()[0].getViewports()[0].render()
Notice that the colors are inverted
cornerstone.getRenderingEngines()[0].getViewports()[0].setProperties({ invert: false});
cornerstone.getRenderingEngines()[0].getViewports()[0].render()
Notice that nothing has changed
cornerstone.getRenderingEngines()[0].getViewports()[0].setProperties({ invert: true});
cornerstone.getRenderingEngines()[0].getViewports()[0].render()
Notice that the colors are inverted back to normal

The current behavior
VolumeViewport setProperties({ invert: true }) toggles invert value instead of setting it to true
VolumeViewport setProperties({ invert: true }) does nothing at all
The expected behavior
The expected behavior can be seen with StackViewport

Open https://www.cornerstonejs.org/live-examples/stackapi, open console
cornerstone.getRenderingEngines()[0].getViewports()[0].setProperties({ invert: true});
cornerstone.getRenderingEngines()[0].getViewports()[0].render()
Notice that the colors are inverted
cornerstone.getRenderingEngines()[0].getViewports()[0].setProperties({ invert: false});
cornerstone.getRenderingEngines()[0].getViewports()[0].render()
Notice that the colors are inverted back to normal
cornerstone.getRenderingEngines()[0].getViewports()[0].setProperties({ invert: true});
cornerstone.getRenderingEngines()[0].getViewports()[0].render()
Notice that the colors are inverted again

OS
Ubuntu 22.04
Node version
20.10.0
Browser
Firefox 119.0.1

Hmmm, good catch

niu bi

authors: html5shiv sedghi vnosikov


text:
Upper browser content is not clickable

Steps to Reproduce the Problem

Open browser window with a webpage with an clickable item on top
Click the item

Expected Behavior
Webpage executing click
Actual Behavior
Nothing, due to invisible action bar
Specifications

Version: 0.1.2
Platform: Windows

When should we expect a fix for this?

This will be fixed in the next release in the following weeks.

repo: cornips/flobro

license: mit


text:
Adjust recommended actions for risk details screens (EXPOSUREAPP-9222)

Compare figma design from the Jira ticket with the app. Please test with all types of risk.

Figma

Grey line is missing

Figma

Grey line is missing

Yes, I know, I've seen this too but it's out of the scope of this ticket. These lines should have been added some time ago I think. I tried my best to align the dots and change their size to make it look closer to the design but having those grey lines would imply some kind of custom views I believe.

authors: SamuraiKek mtwalli

repo: corona-warn-app/cwa-app-android


text:
Fix tests for screenshots (EXPOSUREAPP-11295)

Fix tests. This PR can be reviewed and merged

LGTM so far, but have a look at the latest comments in the ticket? Looks like some screen is not scrolled all the way down. Will approve once that's clarified.

authors: SamuraiKek schauersbergern


text:
"Kontakt-Tagebuch": Deleting a person is deleting all contacts w that person

Avoid duplicates

[+] Bug is not mentioned in the FAQ
[unknown] Bug affects both Android and iOS, for specific issues / questions that apply only to one operating system, please raise them in the respective repositories:

Android repository
iOS repository

[+] Bug is not already reported in another issue

Technical details

Device name: iPhone12mini
iOS/Android version: 14.7
App version: 2.5.1 (1)

Describe the bug
Maybe it is not a bug in programmers' thinking, but it definitly is a bug in regards of data integrity and community protection. When deleting a person in "Kontakt-Tagebuch" (e.g. because you will not meet the person in the nearer future) it delets all the contacts you had in the past with that person. So data about these contacts will not be sent to local health authoritis in case of an infection and you choose to share the data.
Steps to reproduce the issue

Go to "Tagebuch"
Add a person
Add contacts w that person
Delete person.
All contacts (w that person) are gone.

Expected behaviour
A contact w person should no disappear when deleting the person, at least not before the end of incubation time since the last contact to that person.
Possible Fix
Depending on the current implementation: deleting a person should not be immediate, but it should be "invisible" or greyed out as a person and contacts should still be visible and in the database for 14d.
Or: Person and Contact should be more "independent" objects form each other. "Contact" should be able to store all necessary data that is valueable to inform local authorities about risky contacts.

@dideldei
I'm sure this is the intended behavior. The pop-up you see before finally deleting a person also says that this will delete all entries of this person from the contact journal.
So I would not consider this as a bug but as a feature request and therefore suggest to open an issue in the wishlist repository.

Thank you for your answer and suggestion.
This might be intended behavior because it is easy to implement, but it still is a bug, because it makes the user responsible for a clean data basis in a way only computers can keep a databbase clean. Implicitly it says: When you want to delete a person you have to count the days from your last contact up to 14 days and then remember to delete the person. Poor object design should not cause that kind of app behaviour.

@dideldei
There is another wishlist item related to what you are discussing. See https://github.com/corona-warn-app/cwa-wishlist/issues/405.

Also related: https://github.com/corona-warn-app/cwa-wishlist/issues/322

A possible "fix" or an enhancement for this issue here could also be, to change the default behaviour:
By default only the person is deleted, not the contacts. A pop-up dialog could ask "Wollen Sie diese Person wirklich aus der Personen-Liste entfernen?" and offer an additional check-box "auch alle Begegnungen aus dem Tagebuch entfernen".

The Open-Source-Team should decide how to proceed with this issue. As of now, it just lays around without any process for over half a year. Mirroring it to JIRA would definitely make sense, I think.

authors: Ein-Tim MikeMcC399 dideldei vaubaehn

repo: corona-warn-app/cwa-documentation


text:
🛑 FashionLady.ro is down

In 1b52d0b, FashionLady.ro (https://fashionlady.ro) was down:

HTTP code: 403
Response time: 579 ms

Resolved: FashionLady.ro is back up in bd0c1b8 after 8 minutes.


text:
🛑 FashionLady.ro is down

In d575340, FashionLady.ro (https://fashionlady.ro) was down:

HTTP code: 403
Response time: 746 ms

Resolved: FashionLady.ro is back up in 0ad6f17 after 7 minutes.


text:
Add search to SDK

Add search to SDK

We decided not to add search to SDK for now, so I'll add e2e tests elsewhere.

repo: cortexclick/cortex-sdk


text:
When no modules are created NaN is displayed instead of 0

Description of the bug
When there are no modules in the module list (in the admin panel), you get a NaN instead of 0 (or similar).
Reproduction steps

Create a new NS
Go to the admin panel
Go to modules

Expected behavior
NaN should be replaced by a number or some other user-friendly label.
Screenshot/Video

Version
Branch: 2023.3.0-dev.5.1
Reporter: Tomaz (Test Fest)

Fixed

Added CL:
 {
      "what": [
        "when no resources are present, the `NaN items` was replaced with `0 items`."
      ],
      "why": [
        "to have consistency, since on every other place when there are no items, we display them as zero."
      ],
      "how": [
        "by updating the resource list configuration."
      ],
      "refs": [
        "https://github.com/cortezaproject/corteza/pull/999/commits/b7e2d598687dfd92adc2eb15ec9ed6aee7245e84"
      ]
    }

Merged

authors: Bojan-Svirkov katrinDY

repo: cortezaproject/corteza


text:
Create Grid field type

Create a new field type that allows various content types to be grouped together. This will allow for more entries customization.

Grid fields have now been created and in experimental phase. Not even at an alpha phase.

The ability to add Grid fields via the admin panel, as well as individual content entries have been created. You can loop over the short_tag contents within templates to display their results. We are still lacking the ability to delete, both from the content entry/edit screen and the content type edit screen. The ability to sort has been added to the entry edit screen, but not the content type edit.
Grid field is now in an early Alpha release. With only three content types available for use: Text, Dropdown, and Rich Text.

repo: cosmointeractive/pagestudiocms


text:
[BUG] Cilium is dropping support of Consul upstream

I just wanted to report it here so it is logged somewhere, but cilium is dropping support of consul as a kvstore, the last version it will be in is 1.16, with it being fully removed in 1.17.

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

repo: cosmonic-labs/netreap


text:
add CLON

add CLON

think now its ok sir

repo: cosmos/chain-registry


text:
Testing improvements for working with multiple go mods

The Problem
When we wanted to update our simapp to use callbacks/wasm functionality, this ended up resulting in circular imports between ibc-go and callbacks/wasm. In order to get our tests working, a temporary workaround was to duplicate the SimApp and add the callbacks/wasm specific logic to the SimApps in the separate go.mods.
This issue outlines some thoughts and suggestions for possible improvements we could make to our testing set up that could make it more flexible to allow for testing without fully duplicating the SimApp in each go module.
Tests importing the simapp package
importing simapp.Setup
Currently, a lot of tests use simapp.Setup(t, false). Example here
In a lot of these cases, we don't actually need this full functionality, this PR has some examples of how we can strip this out.
The GetSimApp() function
This is one of the biggest issues we need to deal with. this function is used in almost every one of our tests. We assume we have a concrete instance of simapp.SimApp that we are dealing with. This is true without tests in ibc-go but as sub moduiles are introduced, this becomes a a problem as we want to be able to write tests without using the same SimApp instances.
Possible solution:
Change the TestChain type to look like
type TestChain[T TestingApp] struct {
  // ...
    App           T
  // ...
}

// returns concrete type specified at TestChain creation
func (chain *TestChain[T]) GetSimApp() T {
    return chain.App
}

// chain := TestChain[*simapp.SimApp]{...}
// chain := TestChain[*callbacks.SimApp]{...}
// chain := TestChain[*wasm.SimApp]{...}

// simapp := chain.GetSimApp()

This would allow other modules to use the TestChain type, but during instantiation, we would specify the concrete App type, that must still implement the TestingApp interface.
Tools for building a simapp, living in the testing library (within the ibc-go go.mod)
Instead of having a separate SimApp per module, we would have a modified version of one SimApp per module. A function could exist within ibc-go/testing, which makes it possible to dynamically build SimApps. Note: this approach would mean we don't actually need to do the generic approach mentioned above, however it could still be benefital for code that imports the testing library and does not wish to use our test simapps.
The following code is just an example of what usages might look look.
simapp := ibctesting.NewSimApp().
    ModifyIBCRouter(func(router *Router){
        // wire up new modules
    }).
    ModifyModuleManager(func(mm *Manager){
      // change the module manager
    }).
    ModifyApp(func(app *SimApp){
      // change anything
    }).
    Build()

ibctesting.NewSimApp().Build() would return a functional simapp, that has all core ibc functionality wired up, which is usable in our E2E tests. (this could start with everything that currently lives in the same go.mod, so transfer, fee and ICA).
Other go mods would import this from ibc-go/testing, and then apply any additional changes needed to wire up additional features relevant to the module. Each of these other modules would have a separate dockerfile/main.go and have a corresponding docker image for the relevant E2E tests.
This would have the added benefit of being able to run fewer E2Es per PR. Having seperate smaller E2E test suites per simapp should result in fewer tests per PR, instead of having one mega SimApp that has all features.
Note: a brief attempt at this was done, but we ran into some issues, specifically when the transfer keeper was a value instead of reference type. This meant any modifications made after the fact were not applied. If we want to take this approach, we would need to ensure that it is possible to modify any existing fields and the updates will take effect. Making these keepers reference types seems to be the most straightforward way of doing this, but will be api breaking.
SimApp in separate go.mod?
If we like the approaches outlined in this issue, I don't think we actually need to put the ibc-go/SimApp in a separate go.mod. We would instead be splitting out functionality and features across several go.mods, with core functionality remaining the ibc-go/SimApp, and it being extended in additional modules.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

What would be the workflow for say testing callbacks middleware with wasmd (after they integrate)? Callbacks couldn't import wasmd as this would be a circular dependency.

@srdtrk, you're talking about needing a simapp that is importing both callbacks and wasmd. Yeah that's a good point, we would need to have a separate go mod containing to pull in everything (wasmd, callbacks, ibc-go) into a single simapp to make that work.
The separate simapp for a gomod might end up being the most practical solution.
If we opted for one simapp with everything configured, there may be some difficulties testing things with in-development features.

Next step:
Try and create a Simapp Builder and refactor the existing Wasm Simapp to use it and get current tests passing. After this we can see if the same approach will be useful across the board.

authors: chatton srdtrk

repo: cosmos/ibc-go


text:
🛑 Mainnet [Marigold] (mainnet.tezos.marigold.dev) is down

In 4bd8245, Mainnet [Marigold] (mainnet.tezos.marigold.dev) (https://mainnet.tezos.marigold.dev/chains/main/blocks/head/header) was down:

HTTP code: 503
Response time: 339 ms

Resolved: Mainnet [Marigold] (mainnet.tezos.marigold.dev) is back up in cf78c6e.

repo: cotezos/teznodes


text:
🛑 Mainnet TezRPC is down

In ccf3504, Mainnet TezRPC (https://mainnet.tezrpc.me/chains/main/blocks/head/metadata) was down:

HTTP code: 502
Response time: 348 ms

Resolved: Mainnet TezRPC is back up in 84ea05b.


text:
Review Replicator StateMachine

Replicator has paused state now. But it is not yet integrated into StateMachine. Also sub-states of RUNNING is not clear. In addition, We might apply StateMachine to ChangeTracker too.

This is not applicable to 2.x. This ticket is for 1.x.

repo: couchbase/couchbase-lite-java-core


text:
feat: add instant results click event

https://coveord.atlassian.net/browse/KIT-1775

not sure if this is correct, but it seems like we're not using actionCause/actionType anymore, so I improvised. Let me know your thoughts
cc @lvu285

evenType is perfect for me.
Btw, wonder if we will add the UA for "Show all results" button in Preview as well?

I would contest the original bug: https://coveord.atlassian.net/browse/KIT-1767
A normal click event (documentOpen) is perfectly fine.

authors: liviarett lvu285 olamothe


text:
Remove table rows selection action when there are no actions to display

Made each table row selectable only when the getActions function returns one or more item.

Demo: https://coveo.github.io/react-vapor/add-table-without-select-action/

repo: coveo/react-vapor


text:
City level choropleth maps for reported cases

Is your feature request related to a problem? Please describe.
A city level map of the number of reported cases will be of the most use to users than state level or district level maps. This is especially true for the major metro cities (i.e. Mumbai, Chennai, Delhi, Kolkata etc.). This will allow for easy visualization of areas to avoid during the outbreak.
Describe the solution you'd like
Use the reported cases in a city by zone wise to create the choropleth map.
geojson files for Chennai and Mumbai city from here.
Official statistics for total confirmed cases published by the city corporations.
Describe alternatives you've considered
Dot-intensity or graduated circle map to visualize the hotspots of the number of cases.
Additional context

This would be a huge activity - from a data standpoint as well as a geoJSON standpoint.
Opening this up with Low Priority

I have both the city level geojson data and the data case data. Have been doing for more than a week now everyday.

@elseasama Can you share those along with a source of the data?

Ward and zone case data
Chennai zone and ward level geojson file
Chennai containment zone map STILL UNDER WORK. INCOMPLETE

The containment zone map has been completed.

the source of the data is from the Greater Chennai corporation twitter feed.

cc @sudevschiz @bee-rickey

@elseasama hello, are the geojson files available for other cities as well? Or do you have it just for Chennai as of now?

Anyone looking at this issue, here's a nice datameet source with some geojsons for certain cities. Not sure how accurate these are now though.

@elseasama hello, are the geojson files available for other cities as well? Or do you have it just for Chennai as of now?
I have made just for Chennai since I had the verified data source and as far I am aware of, it is the only City published data by zones on a daily basis.

Anyone looking at this issue, here's a nice datameet source with some geojsons for certain cities. Not sure how accurate these are now though.

Looks pretty good to me for the major cities at least.

@elseasama I think this would be a good start for incorporating city level granularity into the stats. And since you're using a verifiable source for the data, we can get started.
The twitter feed must be input into the sheets and updated timely for the api. And then someone can take up incorporating a district level page. (Adding districts to the existing map on the homepage would make the code really complex so a separate page would be a good start). Let me know if anyone would like to take this up, I can work alongside to get this pushed :)

@jeremyphilemon
Added recovered ,Hospitalized, and deceased sheet.
Added Sex and age wise distribution sheet.
Added source sheet.
Google sheets
Also mapped the containment zones and streets in the city using official data list.
Link to the map

Ward / City level information is simply too sparse to collect.
We will try to add details regarding the Red-Yellow-Green zones. This is being worked on in this sheet. https://docs.google.com/spreadsheets/d/1A-9EDpiD6vxSaCCa9yYwTRKiNwoJ2hdxjbQkmw_RgTA/edit#gid=0
Please do comment there and help us create a template for the data.

@sudevschiz

Putting this here for reference. Also cc @sudevschiz, checkout the recent comments.

@elseasama I think this would be a good start for incorporating city level granularity into the stats. And since you're using a verifiable source for the data, we can get started.
The twitter feed must be input into the sheets and updated timely for the api. And then someone can take up incorporating a district level page. (Adding districts to the existing map on the homepage would make the code really complex so a separate page would be a good start). Let me know if anyone would like to take this up, I can work alongside to get this pushed :)

I would like to take this up

@jeremyphilemon @aTrueSeeker I have made APIs and CSV data files available for Chennai city. Hopefully it will be useful. link: https://github.com/elseasama/covid19chennai/blob/gh-pages/README.md

@elseasama I think this would be a good start for incorporating city level granularity into the stats. And since you're using a verifiable source for the data, we can get started.
The twitter feed must be input into the sheets and updated timely for the api. And then someone can take up incorporating a district-level page. (Adding districts to the existing map on the homepage would make the code really complex so a separate page would be a good start). Let me know if anyone would like to take this up, I can work alongside to get this pushed :)

I can also provide some support to whoever is working on this. (like Updating Geographic information on the map, updating components in the react source)

@elseasama @sudevschiz @jeremyphilemon  I'm a bit new to React, Github and app-dev in general but during this lockdown I utilized my time to learn some Javascript and using the React library I've made an app which I feel is kinda relatable in the scope of this issue
app link: "SAFEZONE" -> https://safezone-ch.web.app/
do check it out (make sure to reset origin to some location in chennai to see the Covid visualisations)
It's only for Chennai
Currently I'm using the covid19India (https://api.covid19india.org/state_district_wise.json) endpoint to display the active and confirmed cases for chennai but all the case points I've shown within the marker-clusters are Randomized since I couldn't find any concrete location data (latlngs)for the cases , If my app ideas seem like they could possibly be incorporated into the main (react) dashboard , suppose by using some other metrics for determining the zone color (possibly something from your API)
and maybe dropping the feature of displaying the exact case locations because latlng data isn't gonna be released by Aarogya Setu/ MyGov.in
It would definitely add a lot of value in terms of travel safety and preventing the further spread of covid-19.

@Mayank-Sh07 Great work! Also, closing this issue since we do not have any plans of showing district/city level data due to the lack of data.

authors: Keertesh Mayank-Sh07 aTrueSeeker bee-rickey elseasama jeremyphilemon shuklaayush sudevschiz


text:
你好棒棒哟

速度不错哦，虽然比不上v2ray，有没有技术细节啥的(　ﾟ 3ﾟ)

代码简单，走的都是基本的HTTP Proxy协议，对关键的header加密（比如Host）。每次请求交换一次新密钥，加密采用的则是非常简单的 xor cipher，因为反正底下承载的流量已经是HTTPS了，我要做的只是加密一下SSL初始握手阶段的明文防止被嗅探到即可。
至于流量监测，要靠第三方的multiplexer混淆。

repo: coyove/goflyway


text:
Corsi translation improvements

RPUICorsiBlockTappingActivityBody had no translations.
added trsnaltions for english and french

the corsi intro iamge was blurry and in english only. Sharpened tohe image, and added a french version
Note; I can send the ppt so you can generate the other languages
Note 2: I could not figure out how to get the language code from CPlocalizations, so I used a kludgy compare of  translate.

you can find the corsi images here: https://docs.google.com/presentation/d/1S9vK0f83KZvGiQg4SyRUB-F4VZeBpWzr/edit?usp=sharing&ouid=107492831009102129141&rtpof=true&sd=true


text:
Support Vox Pupuli puppet-archive

camptocamp\archive conflicts with puppet\archive.  Many modules have recently switched to using puppet\archive.
eg
https://github.com/bfraser/puppet-grafana/pull/85
https://github.com/jenkinsci/puppet-jenkins/pull/516
It is possible to support both by using the stdlib function load_module_metadata.  This is what I've done here.
I've left the metadata.json alone, but if you are happy to recommend the puppet\archive over the camptocamp version, I could update this too.

ping @cpitman Any thoughts on this or https://github.com/cpitman/puppet-database_schema/pull/5 ?
Thanks,
Alex


text:
VS Code Quickstart

Two of the oldest open PRs that we have, #60 and #99, are attempting to add support for VS Code. I've never used VS Code for C++ before, so I am not sufficiently qualified to review them. My gut instinct is that IDE-specific code does not belong in this project: this project is about C++, not an IDE. Besides, if something goes wrong with the VS Code code (😃), someone has to debug it.
However, I do understand that it's not so trivial to set up VS Code with an existing C++ project. Since this project works as a batteries-included quick-start for C++ in so many other ways, maybe it would be really helpful to add some batteries for VS Code.
If we do add support for VS Code, I would like to make sure that it also works for VSCodium/Code_OSS/ whatever other telemetry-free alternatives people are using these days.

Adding Cmake presets (https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html) instead of VS Code specific json files might be a better alternative. As I can see both VS Code Visual Studio (https://devblogs.microsoft.com/cppblog/cmake-presets-integration-in-visual-studio-and-visual-studio-code/) and CLion (https://www.jetbrains.com/help/clion/cmake-presets.html) already support this. Qt Creator will support it soon (https://bugreports.qt.io/browse/QTCREATORBUG-24555)

Sounds like a great idea. Can you confirm that this makes it more automatic to set up a project in VS Code? If so, I'd welcome a PR for this.
As far as I can tell, cmake presets require Cmake 3.19 or higher. I'm not sure if we need to raise the minimum Cmake requirements for this; it seems like it should still work if you're not using this particular feature.

I am in the process of setting it up the CMake presets for VS2022. While  CMake 3.20 is needed we can ship the correct CMake version through conan using build_requires so the upgrade can be done seamlessly. What do you think?

I think that it would be OK to require CMake 3.20 to use cmake-presets. I would prefer not to push the cmake_minimum_required value in the root level CMakeLists.txt if we don't have to; I would like as many users as possible to be able to use cpp_starter_project, and keeping the CMake requirements down can help us to do that.
Having said that, it's easy to install the latest version of CMake using pip in most situations. We already ask our users to install Conan using pip; they should be able to install CMake the same way if they need to. I would prefer not ask Conan to install CMake, if that is what you are suggesting.

license: Unlicense


text:
Adding compiler and linker flags

I absolutely love JuCi++, but I've been struggling to add linker and compiler flags.
With Netbeans, for an example, I could add compiler and linker flags under "Additional Options" on my project's properties window.
If, for instance, I were to compile a program which uses the GTK+ library using gcc, I could execute:

gcc -o output source.c pkg-config --libs --cflags gtk+-3.0

Since there are no websites or forums about JuCi++, I thought this would be the perfect place to ask this.
How do I add linker and compiler flags?
Sorry for (probably) such a noob-ish question.

juCi++ delegates this responsibility to your build system. Currently CMake and Meson are supported.

juCi++ delegates this responsibility to your build system. Currently CMake and Meson are supported. Dunno about Meson, but CMake allows to call pkg-config directly with pkg_check_modules.

I see. Thanks for the quick response!

repo: cppit/jucipp


text:
Compilers: Note Microsoft compiler's _MSC_VER also defined by Intel

Intel's compiler defines _MSC_VER on Windows.
Ref: https://www.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/macros/additional-predefined-macros.html
Closes #xxxx

Intel's compiler likes to impersonate other compilers apparently so I added a note that the user can check for __INTEL_COMPILER. Complicating this further is that Intel has a compiler option that will omit the Intel compiler defines such as __INTEL_COMPILER because ... why not? I did not add that as a note.

Can you add a link to the documentation? Also, documentation notes about _MSC_FULL_VER being defined as well.
As far as I know, it's because Intel used Edison Design Group's C++ frontend, which kinda implements MSVC and GCC extensions and therefore has the option to "impersonate" them.

repo: cpredef/predef


text:
Bug in type and construction of node with optional children

I have created a node using the following rule:
Name <- [composition@Name], last@Identifier;
which means that the first child is optional.
However, the generated class for Node Name specifies a list of child types as follows:
/**
         * The list of child types.
         */
        private static final List<ChildDescriptor> CHILDREN =
            Collections.unmodifiableList(
                Arrays.asList(
                    new ChildDescriptor(
                        TypeImpl.NAME,
                        false
                    ),
                    new ChildDescriptor(
                        TypeImpl.IDENTIFIER,
                        false
                    )
                )
            );

false means that a child is required (not optional).
Therefore the construction of such a type of the node requires both children, which is not what was expected.

@kniazkov

repo: cqfn/astranaut


text:
diktat-gradle-plugin doesn't respect inputs parameter if debug is not true

For diktat 0.1.4

As a workaround for diktat-gradle-plugin 0.1.4 one can always set debug=true.

repo: cqfn/diKTat


text:
Retrieve w/ code-valued expression errors if list-promotion is disabled

If list promotion is disabled, retrieves with a code-valued terminology target cannot resolve the membership operator:
code "Emergency department patient visit (procedure)": '4525004' from "SNOMEDCT:2016-09" display 'Emergency department patient visit (procedure)'

define "ED Visit": ["Encounter, Performed": "Emergency department patient visit (procedure)"]ED
  with ["Encounter, Order": "Decision to Admit to Hospital Inpatient"] Order
    such that Order.authorDatetime during ED.relevantPeriod

Addressed in v1.2.12-SNAPSHOT.


text:
VSCode dos not install on all laptops.

From rene@fire.ly
René Spronk: The VSCode extension is nice.. but doesn't work on all laptops [e.g. it has never worked on mine] - from what I hear it's somewhat finicky to keep it running.
When asked for more details, this was provided:
[Error - 1:10:09 AM] Starting client failed
Launching server using command C:\Users\Ringholm\AppData\Local\Programs\Microsoft VS Code\undefined\bin\java failed.
I know we need to know more, but not sure what to ask for.

there's a fix in here somewhere I can't find it . but essentially you have to install the first version and it installs java for you. and then you can upgrade it.

repo: cqframework/vscode-cql


text:
fix LuceneQueryBuilder for "x = null" where x is numeric or boolean

This actually isn't a problem in 0.48 because the "= null" case is handled
during normalization or analysis. But it is a problem in 0.47 for "where x in
(null)" where this will result in a Range query from null to null which
matches everything

check StringQueryBuilder to avoid NPEs then ack

authors: mfelsche mfussenegger

repo: crate/crate


text:
Fix ram accounting leak, close all created contexts

Since c8b99d3a918d8e387cab1b1f53ecda94655a8133, the creator of a RamAccountingContext is responsible for closing it. Some created contexts were not yet tracked and closed.

@mfussenegger

Not sure if we gain much by splitting these up?

The current RamAccountingContext is not thread safe (the flush buffer could become negative on multi thread usage). Left/Right may used from different threads.

Could the new BlockBasedRamAccounting / ConcurrentRamAccounting be used instead already?

Could the new BlockBasedRamAccounting / ConcurrentRamAccounting be used instead already?

I'd suggest to (completely) get rid of the RamAccountingContext in a dedicated branch.

authors: mfussenegger seut


text:
Runing in microk8s

Hi All,
Just wanting some help i'm running this image in microk8s and when i deploy and start the container i get the below issue.
if i run it in just docker it works fine no issue.
I used to run this in microk8s but and to rebuild my server. hope some can help but its very odd as it used to work fine in the past.
im also using the latest version of this container

Hi,
Not sure if this is still relevant but a lot will be needed than just a screenshot.
You said it's working on Docker, that makes me think it might be misconfiguration or incorrect yaml. What kind of resources are you deploying? Can you show the yaml?

Here is a working example with MetalLB:
apiVersion: v1
kind: Service
metadata:
  name: rutorrent
  namespace: default
  annotations:
    metallb.universe.tf/allow-shared-ip: rutorrent
spec:
  selector:
    app: rutorrent
  type: LoadBalancer
  loadBalancerIP: 192.168.1.252
  ports:
    - name: http
      port: 8080
      targetPort: 8080
      protocol: TCP
    - name: scgi
      port: 8000
      targetPort: 8000
      protocol: TCP
    - name: torrent-tcp
      port: 51413
      targetPort: 51413
      protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
  name: rutorrent-upd
  namespace: default
  annotations:
    metallb.universe.tf/allow-shared-ip: rutorrent
spec:
  selector:
    app: rutorrent
  type: LoadBalancer
  loadBalancerIP: 192.168.1.252
  ports:
    - name: torrent-udp
      port: 6881
      targetPort: 6881
      protocol: UDP
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: rutorrent
  namespace: default
  labels:
    app: rutorrent
spec:
  selector:
    matchLabels:
      app: rutorrent
  replicas: 1
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: rutorrent
    spec:
      containers:
        - name: rutorrent
          image: ghcr.io/crazy-max/rtorrent-rutorrent:4.0-0.9.8-0.13.8
          imagePullPolicy: Always
          resources:
            requests:
              memory: "1Gi"
              cpu: "500m"
            limits:
              memory: "1Gi"
              cpu: "4"
          env:
            - name: TZ
              value: Europe/Amsterdam
            - name: PUID
              value: "911"
            - name: PGID
              value: "911"
            - name: RUTORRENT_PORT
              value: "8080"
            - name: RT_INC_PORT
              value: "51413"
            - name: XMLRPC_PORT
              value: "8000"
          ports:
            # RUTORRENT_PORT
            - containerPort: 8080
            # XMLRPC_PORT
            - containerPort: 8000
            # RT_INC_PORT
            - containerPort: 51413
            # DHT
            - containerPort: 6881
          volumeMounts:
            - name: downloads
              mountPath: /data/
              subPath: config/rtorrent-config
            - name: downloads
              mountPath: /downloads/
      volumes:
        - name: downloads
          hostPath:
            path: /downloads
            type: DirectoryOrCreate
      restartPolicy: Always

I also have it running in a k3s cluster myself. Could make a Helm chart but that would take some time as I imagine many people have different setups. For example I am running it in combination with gluetun to have rtorrent go over VPN only, but the web interface is then proxied by another pod to expose that normally.

Have same situation with k8s node.
Interestingly, xmlrpc.log shows everything as expected (requests come and responses go out), but ruTorrent still reports No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
Don't know, where should I start digging to find the root cause.
Does ruTorrent have any log configuration support? rutorrent.log is empty

Okay, I just spent a couple of hours profiling, and managed to resolve the issue.
The root cause is RLIMIT_NOFILES. My k8s node sets it to 17179869076 by default, so rtorrent just consumes all the available memory on start, during the close(2) syscall (didn't check the sources, to find out why, wild guess: it tries to close all the fds in loop to become a daemon), and the process gets killed by OOM.
The issue is not reproducible in plain docker case, since docker has appropriate limits set, and sample docker-compose.yml has explicitly set RLIMIT_NOFILES. I guess, the behavior depends on the k8s/k3s backend and therefore the setup can work or not work depending on node configuration.
Currently, I baked an image with echo "s6-softlimit -o 65536 rtorrent -D -o import=/etc/rtorrent/.rtlocal.rc -i ${WAN_IP}" >> /etc/services.d/rtorrent/run in 04-create-services.sh and it works perfectly. Not sure about correct solution for s6 though, but I can suggest adding RTORRENT_ULIMIT_NOFILES envvar with a reasonable default as a configuration option.

but I can suggest adding RTORRENT_ULIMIT_NOFILES envvar with a reasonable default as a configuration option.

SGTM

authors: SeeTwoArrr crazy-max docfactory37 javydekoning rayslava

repo: crazy-max/docker-rtorrent-rutorrent


text:
三星Galaxy Note ||   系统4.3  上传压缩图片过程中出现问题

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1003, result=-1, data=null} to activity {shenzhen.com.cn/shenzhen.com.cn.company.CertificationActivity}: java.lang.reflect.UndeclaredThrowableException
at android.app.ActivityThread.deliverResults(ActivityThread.java:3544)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3587)
at android.app.ActivityThread.access$1200(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1378)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5528)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy1.onActivityResult(Native Method)
at com.jph.takephoto.app.TakePhotoFragmentActivity.onActivityResult(TakePhotoFragmentActivity.java:41)
at android.app.Activity.dispatchActivityResult(Activity.java:5563)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3540)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.jph.takephoto.permission.TakePhotoInvocationHandler.invoke(TakePhotoInvocationHandler.java:39)
... 15 more
Caused by: java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:623)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:378)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:417)
at com.jph.takephoto.uitl.ImageRotateUtil.correctImage(ImageRotateUtil.java:42)
at com.jph.takephoto.app.TakePhotoImpl.onActivityResult(TakePhotoImpl.java:175)
... 18 more
java.lang.reflect.UndeclaredThrowableException
at $Proxy1.onActivityResult(Native Method)
at com.jph.takephoto.app.TakePhotoFragmentActivity.onActivityResult(TakePhotoFragmentActivity.java:41)
at android.app.Activity.dispatchActivityResult(Activity.java:5563)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3540)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3587)
at android.app.ActivityThread.access$1200(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1378)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5528)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.jph.takephoto.permission.TakePhotoInvocationHandler.invoke(TakePhotoInvocationHandler.java:39)
... 15 more
Caused by: java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:623)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:378)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:417)
at com.jph.takephoto.uitl.ImageRotateUtil.correctImage(ImageRotateUtil.java:42)
at com.jph.takephoto.app.TakePhotoImpl.onActivityResult(TakePhotoImpl.java:175)
... 18 more
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.jph.takephoto.permission.TakePhotoInvocationHandler.invoke(TakePhotoInvocationHandler.java:39)
at $Proxy1.onActivityResult(Native Method)
at com.jph.takephoto.app.TakePhotoFragmentActivity.onActivityResult(TakePhotoFragmentActivity.java:41)
at android.app.Activity.dispatchActivityResult(Activity.java:5563)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3540)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3587)
at android.app.ActivityThread.access$1200(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1378)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5528)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:623)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:378)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:417)
at com.jph.takephoto.uitl.ImageRotateUtil.correctImage(ImageRotateUtil.java:42)
at com.jph.takephoto.app.TakePhotoImpl.onActivityResult(TakePhotoImpl.java:175)
... 18 more
java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:623)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:378)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:417)
at com.jph.takephoto.uitl.ImageRotateUtil.correctImage(ImageRotateUtil.java:42)
at com.jph.takephoto.app.TakePhotoImpl.onActivityResult(TakePhotoImpl.java:175)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.jph.takephoto.permission.TakePhotoInvocationHandler.invoke(TakePhotoInvocationHandler.java:39)
at $Proxy1.onActivityResult(Native Method)
at com.jph.takephoto.app.TakePhotoFragmentActivity.onActivityResult(TakePhotoFragmentActivity.java:41)
at android.app.Activity.dispatchActivityResult(Activity.java:5563)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3540)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3587)
at android.app.ActivityThread.access$1200(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1378)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5528)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025)
at dalvik.system.NativeStart.main(Native Method)

三星手机拍照的照片通常会有旋转角度问题，TakePhoto加入了自动纠正旋转角度的功能，在纠正旋转照片时需要将照片读到内存，所以可能会导致oom，下一版本的TakePhoto会将是否纠正旋转角度设为可选，另外，你也可以参照获取更高的兼容性的说明，设置拍照时不旋转图片，来解决问题。

authors: crazycodeboy jiaqq

repo: crazycodeboy/TakePhoto


text:
Pods in openshift-marketplace namespace crashing - cache requires rebuild: cache reports digest

Hi,
I’ve installed CRC new version:
CRC version: 2.34.1+b470b5
OpenShift version: 4.15.3
Podman version: 4.4.4
Before installation I have run crc stop, crc delete, crc cleanup and rm -r .config; rm -r .crc as well.
Installation has been properly finished, cluster is running but 4 pods in namespace openshift-marketplace are crashing:
oc get pods:
NAME                                                                          READY   STATUS                           RESTARTS        AGE
certified-operators-tvk2q                                          0/1     CrashLoopBackOff   6 (2m51s ago)   23d
community-operators-z9bzg                                    0/1     CrashLoopBackOff   6 (2m46s ago)   23d
marketplace-operator-568756cbf5-654nq             1/1     Running            0               24d
redhat-marketplace-zf49d                                         0/1     CrashLoopBackOff   6 (3m26s ago)   23d
redhat-operators-9jb87                                              0/1     CrashLoopBackOff   6 (2m33s ago)   23d
Error:
time="2024-04-18T14:24:44Z" level=info msg="starting pprof endpoint" address="localhost:6060"
2time="2024-04-18T14:24:45Z" level=fatal msg="cache requires rebuild: cache reports digest as "56b2b000157b2413", but computed digest is "f9fd589ccba6dca2""
I have uninstalled crc, cleaned server and installed the same crc version again but the result is the same.
Any advice please?
Thanks and Regards,
Jiri

You will need to workaround it with https://github.com/crc-org/crc/issues/4109#issuecomment-2042497411

Closed as duplicated of #4109

authors: JiriHusak-lab adrianriobo

repo: crc-org/crc


text:
Add function for plotting time series

This adds the function draw_timeseries, closely modelled after draw_table. One might consider merging these two and add a flag to switch between spectra and time series.

Hi @pmertsch very nice! I am going to add a simple test, and I found an issue with get_mean_datetime. Let me know what you think about my proposed solution.

I have made another change in order to show error bars in the x-direction that reflect the time range of data taking.

This is looking good. @pmertsch I am going to merge this now, to have the other changes of the docstrings in the main branch. But feel free to make another PR if you want to further tweak the draw_timeseries function.

authors: HDembinski pmertsch

repo: crdb-project/crdb


text:
Abstract default frame

Many Writer methods will be more convenient to call if the user doesn't have to specify a Frame parameter but instead some sensible default is used. There is already a default frame but it is coupled to rendering (see DefaultRenderer). So goal of this work is to abstract the default frame into it's own type class so it can be used in more contexts.

[ ] Create DefaultFrame type class
[ ] Adjust existing uses of DefaultRenderer to use this
[ ] Document

Frame.default is used as a default frame. Is this issue asking to remove it and change all usecases into using another class that extends from Frame?

I'll implement this one. It's quite simple is implementation but harder to explain.

PR: https://github.com/creativescala/doodle/pull/153

authors: jCabala noelwelsh

repo: creativescala/doodle


text:
Could not open input file : artisan

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[ YES] I am running the latest version
[ YES] I checked the documentation and found no answer
[ YES] I checked to make sure that this issue has not already been filed
[ YES] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior
composer install must install needed package and return to the terminal prompt
Current Behavior
its throwing an error
Could not open input file: artisan
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
just download the laravel-json-api-pro packages and run composer install
Context

Device:   mcbook

Operating System:   catalina

Browser and Version:

Failure Logs
Please include any relevant log snippets or files here.

Hi @junedc,
Thank you for reporting this issue and for using Creative Tim products.
Could you please send a few more details to us? Also, if you can send to us a video recording with the steps, it will help a lot in investigating this further.
All the best,
UPDIVISION Team

Hi there @junedc,
We would like to check if the issue was solved or if you can share a few more details on the steps followed. Please let us know if there is anything else we can help with and if you have any other issues.
Best,
UPDIVISION Team

Hi there @junedc,
We were curious if the issue was solved and if there is anything else we can help with.
Please let us know if you have any other issues.
All the best,
Updivision Team
P.S. If you need help with any of your projects, we're happy to get in touch. We do custom development for start-ups and companies across the globe (you can check out our portfolio here https://updivision.com/portfolio and some happy clients over here https://updivision.com/testimonials). Don`t hesitate to drop us a line at office@updivision.com or by using our contact form (https://updivision.com/contact).

heres the video link https://www.youtube.com/watch?v=ViHMJOmDTNw for the error

Hi @junedc,
Thank you for sharing the recording. This helped a lot in understanding the issue. We've pushed a fix to this problem.
You can either download again the product from the downloads section in the Creative Tim website or check the latest commit we did in this Github repository:
https://github.com/creativetimofficial/nuxt-argon-dashboard-pro-laravel
Please let us know if everything works well now and if there is anything else we can help with.
All the best,
UPDIVISION Team

ok thanks for the update.  I'll check in my download area.
P.S.
I'm not sure thought why you share the github address.  it says 404 on my end

Hi @junedc,
Thank you. The GitHub address was sent by mistake. Sorry for the confusion. We'll update the comment above to avoid any misunderstandings.
Please let us know if you have any other issues.
Best,
UPDIVISION Team

Hi there @junedc,
We would like to check if the issue was solved and if there is anything else we can help with.
Please let us know if you have any other issues.
All the best,
Updivision Team

Hi @junedc,
Hope this solved the problem. We will go ahead and close this ticket. If there is anything else that can be fixed or we can help with, please let us know.
Best,
UPDIVISION Team
P.S. If you need help with any of your projects, we're happy to get in touch. We do custom development for start-ups and companies across the globe (you can check out our portfolio here https://updivision.com/portfolio and some happy clients over here https://updivision.com/testimonials). Don`t hesitate to drop us a line at office@updivision.com or by using our contact form (https://updivision.com/contact).

authors: junedc teamupdivision


text:
APP_VERSION is master

An error happen if the APP_VERSION is equal to master.
So, i have this follwong error with this plugin.
Internal Error: Identifier "sessionStorage" is not defined.
https://github.com/creecros/Customizer/blob/3af19ee9c7d0b41f7867ae9a24bcfd2e59f39c61/Template/layout/logintop.php#L81
Could you fix this ?

I anticipated this, I'll have to think of a different way to determine the app version for installs that use "Master".

I think I got it:
if (function_exists('session_exists')) {
instead

I'm on 1.2.6.
Yes, I think just check if function exist can be a good way...

You can install manually or wait for the update to merge, let me know if you have any other issues.

authors: creecros yvalentin

repo: creecros/Customizer


text:
Fix terrain with more than four layers being black in planar reflections

Reported by jRocket on Discord. If more than four layers is used on terrain, these layers will appear black in planar reflections.
If I disable HDR on the planar reflection script, it works as expected. So it appears that Unity is packing the alpha channel to achieve layering.
Saturating the alpha fixed this. I don't think this is an issue for anything else. Not sure if there are any negative implications of taking this route.

I reckon this is a bug with the terrain system.
But I'm happy with your change. Don't think there's any other impact. Thanks!

authors: daleeidd huwb

repo: crest-ocean/crest


text:
What is the best way to converse with my crew and provide feedback.

Let's say my crew is generating ad copy and I want to make slight suggestions. How can I continue the session with my crew while giving it feedback. Essentially, i'm looking for a UserProxyAgent feature that exists in Autogen.

Maybe this will help - https://docs.crewai.com/how-to/Human-Input-on-Execution/

This is great, thanks. This seems to the allow for one round of feedback. Curious if there are ways to allow for many rounds of feedback until I've said the result is good enough.

You could probably do it with some Python magic, but Im not sure. In the mean time Ill tag this as a feature request

repo: crewAIInc/crewAI


text:
List workitems in tooltip

List work items in tooltip
Refactor nested IF without change logic

Hello! Can I merge this feature??? What think about it?


text:
Quick attach/reattach file open issue

Steps To Reproduce
Details: https://github.com/criblio/appscope/pull/1110#issuecomment-1265808778
The EPERM errno translates to fact that the operation was prevented by a file seal.
I can confirm that after following part of the code I can see:
    fd = scope_open(path, O_RDONLY);
    if (fd == -1) {
        scope_perror("scope_open O_RDONLY() of dynamic config file");
        // return EXIT_FAILURE;
    } else {
        int fres = scope_fcntl(fd, F_GET_SEALS);
        scope_fprintf(scope_stderr, "fcntl get_seal %d", fres); //F_SEAL_SEAL
        scope_close(fd);
    }

Why is this problem occurred for /dev/shm and not for /tmp due to fact that:
The default set of seals depends on the type of
       the underlying file and filesystem.

/dev/shm/ is type of tmpfs  -> https://github.com/torvalds/linux/blob/b90cb1053190353cc30f0fef0ef1f378ccc063c5/mm/shmem.c#L2338
/tmp/.. is type of ext4 -> where in similar situation fres == -1 and errno is set to EINVAL which means that filesystem does not support sealing.
Possible approaches to avoid the problem:

change the location for the dynamic configuration file to the filesystem which doesn't support sealing
in the situation when a file is a present wait in the loader till it will be consumed by a process with library (receiver)
in a situation when a file is present unlink the file before creating a new - unlink on the sender side

Reproduction steps:
htop
sudo ldscope -a `pidof htop`
sudo ldscope -d `pidof htop`
sudo ldscope -a `pidof htop`
sudo ldscope -a `pidof htop`

See that there is no message on console like mentioned in https://github.com/criblio/appscope/pull/1110#issuecomment-1265808778

repo: criblio/appscope


text:
Create Author pages

links to all Articles
name
links to external sites
bio
avatar

Handled well enough with a tag: By: Author Name

repo: crimethinc/website


text:
Correctly define plugin name

Whilst debugging another issue using postcss-debug I was confused by a postcss plugin called postcss-reverse-props. This PR correctly defines the plugin name as postcss-safe-important.

Ops... Thanks for the PR

authors: crimx eddie

repo: crimx/postcss-safe-important


text:
feat: Handle errors returning json

Handle errors returning json in the follow format:
{
  "status": "404",
  "errors": [
      ...
  ]
}

Ideally following the http://jsonapi.org/format/#error-objects

done in f7bd1a616fa9e1cc72ca5b17528b9ea8da5cfb5a

repo: cristianoliveira/apitogo


text:
Error syncing back files

runner: ubuntu-latest
operating_system: freebsd
architecture: arm64
version: "14.0"
shell: sh
https://github.com/yanecc/MockGPT/actions/runs/8910624672/job/24470242079#step:3:177

What happens if you rerun the job, do you get the same error?

What happens if you rerun the job, do you get the same error?

I figured out the problem, I need to use the sudo to install.

authors: jacob-carlborg yanecc

repo: cross-platform-actions/action


text:
Python3 and Twisted

Twisted now supports the Python3-style async def functions. This is via a new API called ensureDeferred.
However, the tx side of txaio only uses maybeDeferred in txaio.as_future and maybeDeferred does not support async def. So, we should add some logic and tests to txaio.tx.as_future so that it (maybe) calls ensureDeferred in the correct circumstances.
Either that or convince Twisted that maybeDeferred should do this. Or maybe we just need to call ensureDeferred for all cases?

This fixed by https://github.com/crossbario/txaio/pull/132

repo: crossbario/txaio


text:
Multi-Arch Issues with AWS CLI

Feature Request

What problem are you facing?

When running function-shell on ARM-based nodes, calls to the AWS CLI installed in the function fail, because the Dockerfile for this function only installs the x86 version of the AWS CLI.

How could this Function help solve your problem?

Update the Dockerfile and build pipelines to install the appropriate aws-cli based on the arch

closing due to PR #25

authors: sethfduke stevendborrelli

repo: crossplane-contrib/function-shell


text:
Add Project CI Variables

Description of your changes
This PR implements GitLab Project Variables, allowing Crossplane to manage project-level CI/CD variables and exert control over the build process.
Currently this only supports plain-text variable values so should not be used with sensitive content, although it does support protecting and masking values once in GitLab.
I've taken a slightly different approach to implementation of upToDate in this resource, converting the gitlab.ProjectVariable representation back into our own v1alpha1.VariableParameters struct, and then comparing the two with cmp.Equal. I've found this approach to be robust and more succinct in provider-cloudflare, but I know this doesn't follow convention within this provider so happy to implement differently if necessary.

Adding the same functionality for Group Variables should be a simple copy-and-paste - happy to add to this PR, or submit separately. I've not done this yet as I think the new code will be easier to review without it.
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Tests have been added for the additional controller and client, and the provider itself has been run against a kind cluster and a manually created project to confirm functionality against real GitLab.

lgtm, thanks @benagricola!
would you please squash the commits?

Done @janwillies :)

authors: benagricola janwillies

repo: crossplane-contrib/provider-gitlab


text:
Update configuring resource guide per latest changes

What happened?
There are couple of changes in Terrajet configuration interface that happened after the Configuring a resource guide is introduced first time.
We need to update the guide accordingly.
There are a couple of review comments in https://github.com/crossplane-contrib/terrajet/pull/130 which we would need to tackle first:

https://github.com/crossplane-contrib/terrajet/pull/130#discussion_r749507600
https://github.com/crossplane-contrib/terrajet/pull/130#discussion_r749508451
https://github.com/crossplane-contrib/terrajet/pull/130#discussion_r752947141
https://github.com/crossplane-contrib/terrajet/pull/130#discussion_r752947828
https://github.com/crossplane-contrib/terrajet/pull/130#discussion_r749516661

How can we reproduce it?
Reflect latest changes to the guide.

Just dropping note, we should add instructions about this ability https://github.com/crossplane-contrib/provider-jet-azure/issues/110

authors: muvaf turkenh

repo: crossplane-contrib/terrajet


text:
Roll DEPS.xwalk

Blink-Crosswalk :
e4aaba Fix XDK code so that it uses size_t instead of int.
V8-Crosswalk :
3b7454  [SIMD.js] Fix no exception thrown when get invalid index of
Float32x4Array
7c2b1f1 [SIMD.js] Fix offset of SIMD.Float32x4.load by adding
tarray.byteOffset.
a60b892 Fix XDK code so that it uses size_t instead of int.

lgtm

authors: darktears rakuco

repo: crosswalk-project/crosswalk


text:
Handle URLs without seperators in CSP rules properly

This PR fixes handling of URLs without separtors e.g. "frame-src https://crosswalk-project.org"
BUG=XWALK-6906
(cherry picked from commit 6e665efc3a5863ca81c0d23e44b57ac9dce42d1f)

@rakuco PTAL

Does it fix a P1 bug to warrant being merged into crosswalk-20 at this point? If so, lgtm.

https://crosswalk-project.org/jira/browse/XWALK-6906 P1 Regression sound pretty legit to me :)


text:
Should var(B::LogBinner) give naive (uncorrelated) variance?

Maybe it's a bit strange that var(B) != var(data).

Isn't that what var(B, 1) gives?

Yes it is. The question is whether var(B) = var(B, 1) would be a better default.

I think it should be consistent with varN, std_error and tau. As we discussed in #4

Yeah. Let's leave it the way it is.

authors: crstnbr ffreyer


text:
MacOS Support

Hi,
I have done two changes. One is fairly innocuous and adds a toolchain requirement for nightly. The other just copies the load_proc_mem_linux() to allow this to compile on a mac. I have tested it on my macbook and it works.

Thank you! I had no idea Mac OS has procfs.

Actually.... Have you tried opening process memory with Hexerator on a Mac?
I... don't actually think Mac OS has /proc.
In any case, thank you, this is a good stub.
I didn't even try anything for Mac because I have no way of testing mac builds right now.

authors: AliSajid crumblingstatue

repo: crumblingstatue/hexerator


text:
Make API searchable

It's very hard to use the API without guidance. Please provide the full list of functions or a search option.

I found the 'file' link in documentation somewhat helpful...

Good idea, I'll add this to my TODO list for the webpage.
2016-01-20 13:49 GMT+01:00 Wouter Hager notifications@github.com:

I found the 'file' link in documentation somewhat helpful...
—
Reply to this email directly or view it on GitHub
https://github.com/cruppstahl/upscaledb/issues/68#issuecomment-173194869
.

@cruppstahl great! I should've written "I find it very hard to use the API". I'm fairly new to C.

I tried to provide many samples, a tutorial and also have sufficiently good documentation in the header file (at least for an open source project). I think the samples might be the best starting point. If C becomes too frustrating then feel free to drop me a mail (chris@crupp.de), I don't mind helping.

authors: cruppstahl wshager

repo: cruppstahl/upscaledb


text:
UI tweak : make website sidebar menu/hamburger menu opaque

Sidebar is transparent and interferes with page content.

Resolved.

repo: crux-bphc/crux-judge