text:
Graph creation operation fails with "Invalid value of TX counter"

We are using orient db 2.2.7 on windows.
Following is the stack trace for the problem.
Exception in thread "main" com.orientechnologies.orient.core.exception.OStorageException: Invalid value of TX counter DB name="lineage_graph"
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.rollback(OTransactionOptimistic.java:153)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2678)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2634)
at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1141)
at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1127)
at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1120)
We are creating vertices and edges in bulk mode.
Commit happens after every 10000 edges are created.
Heap size of JVM is 4 GB. Its single threaded application.
Same works in 2.1.11 but not in 2.2.7, because of it we have to revert back to 2.1.11
Is this a regression?
We are using OrientGraphFactory to get transaction graph and Graph.shutdown() to shutdown graph after vertices and edges creation.

Hi @amandeep-sharma ,
To commit a transaction, you should call graph#commit method. A shutdown method is designed to be only last resort of commit of pending transactions. Could you add graph#commit in your code and check the result ?

Hi @laa ,
We are already calling commit() before calling shutdown().

@amandeep-sharma to get more information I need you to change log level to FINE in orientdb-server-log.properties. Then try the same procedure, find an exception and also provide me cause of rollback.
Your rollback caused by more high-level exception which was suppressed by one which you reported.

@laa , we are using db in plocal mode. I used OGlobalConfiguration.LOG_CONSOLE_LEVEL.setValue("FINE"); , but could not get anything extra in logs.

@amandeep-sharma Could you do the following:

Copy orientdb-server-log.properties file into directory of your application.
Change in this file logging to FINE
Start your application with system property -Djava.util.logging.config.file=(path to the server log properties file)

orient-server.log.0.txt
@laa , I have attached the log.

Hm seems exception is clear you commit transaction more times than it
started . But I think we may allow to commit empty transactions . I will
change code accordingly .
пт, 2 сент. 2016 г., 14:01 amandeep-sharma notifications@github.com:

orient-server.log.0.txt
https://github.com/orientechnologies/orientdb/files/451814/orient-server.log.0.txt
@laa https://github.com/laa , I have attached the log.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/6641#issuecomment-244346499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGaaigy2SvK-JvkiTXkFxroR9a8hveWks5qmAIlgaJpZM4JxQXS
.

--
Best regards,
Andrey Lomakin, R&D lead.
OrientDB Ltd
twitter: @Andrey_Lomakin
linkedin: https://ua.linkedin.com/in/andreylomakin
blogger: http://andreylomakin.blogspot.com/

@amandeep-sharma I am not sure that approach which I proposed above good enough.  I created a special distribution for you to track reason of exception in more details could you run this distribution on your application and send the logs?  https://drive.google.com/file/d/0B2oZq2xVp841OWlRSDRoaGhwMk0/view?usp=sharing

orient-server.log.0.txt
@laa , attached the log file, after consuming the distribution you shared.

@amandeep-sharma there are should be a lot of logs like "Zero transaction counter..." could you send them too ? Did you set log level to FINE before you made this run ?

sorry I found all information

@amandeep-sharma I am sorry I need to get more information about issue could you take this build https://drive.google.com/file/d/0B2oZq2xVp841OWlRSDRoaGhwMk0/view?usp=sharing and run your code with FINE log level again.

@laa , I have shared full logs
https://drive.google.com/file/d/0B-cTHPtXiorISG5VeEgyNHphMFU/view?usp=sharing
with FINE log leve

Hi @amandeep-sharma , unfortunately, logs which you provided to me does not belong to the latest distribution which I sent to you. For example in your log there is line
Zero tx counter
java.lang.Exception
	at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:120)

Which corresponds to the  following line in source code:
 checkTransaction();

but this method never throws such kind of exception.
I created new distribution for you
https://drive.google.com/file/d/0B2oZq2xVp841Yzl2cE5uOGE3d3c/view?usp=sharing .
Could you take this distribution and run you code again. Sorry for all this retries.

Hi @laa ,
I hope, I have used correct distribution this time :) .
Shared the log, if you need more info please let me know.
https://drive.google.com/file/d/0B-cTHPtXiorIOS1KYnBmbmZYUW8/view

Hi @amandeep-sharma , that is real shame but this time I provided you wrong distribution could you try this one https://drive.google.com/file/d/0B2oZq2xVp841WFgxdkRxcXppRlk/view?usp=sharing

@laa we will get back by early next week

Hi @laa ,
With last distribution I didn't hit the problem, but there were warnings regarding the same.
I have noticed that in-memory foot print of db has increased as with 4gb heap size it threw OutOfMemoryError, but 2.1.11 works fine with same heap size.
I have shared logs when application was run with 4 gb and 8 gb heap size at  https://drive.google.com/open?id=0B-cTHPtXiorIWHpLNDF0UzFWZ2c.

Hi @laa ,
With last distribution I didn't hit the problem, but there were warnings regarding the same.
I have noticed that in-memory foot print of db has increased as with 4gb heap size it threw OutOfMemoryError, but 2.1.11 works fine with same heap size.
I have shared logs when application was run 4 gb and 8 gb heap size at  https://drive.google.com/open?id=0B-cTHPtXiorIWHpLNDF0UzFWZ2c.

Hi @amandeep-sharma warnings are normal. I added them for debugging.  About out of memory. The problem with an exception is that you use embedded database but do not use -XX:MaxDirectMemorySize  parameter.  http://andreylomakin.blogspot.com/2016/05/do-not-forget-to-set-xxmaxdirectmemory.html  . Could you set this parameter to 512g and check result ?

Hi @laa , I used -XX:MaxDirectMemorySize=512g parameter with 4gb heap size, it worked. Thanks for your advice, but I do have concerns over setting this parameter to a high value as this parameter value is applicable for all jvm nio operations. I have some questions

What is minimum optimal value of this parameter for embedded orientDB ?
In my application I have set storage.diskCache.bufferSize property to 2gb. I followed http://andreylomakin.blogspot.in/2016/05/how-to-calculate-maximum-amount-of.html
According to this, storage.diskCache.bufferSize property should be 5120 (1gb as my application is single thread only + 4gb heap), correct me if I have got it wrong.
Starting  2.2 new property memory.chunk.size, how does it complement storage.diskCache.bufferSize property and is this property for main memory or disk space?

Hi @amandeep-sharma .  -XX:MaxDirectMemorySize is the only limit of direct memory allowed to allocate by JVM it does not affect any system parameters and does not change the amount of memory consumed by OrientDB. You should set the size of disk buffer as maximum as it is possible. The real value depends on expected size of the database on disk. I suggest having disk cache size as big as 20% of database size on disk or larger. Of course, you should have enough RAM to keep this disk cache into memory.
The amount of memory consumed by disk cache is allocated by chunks with size " memory.chunk.Size" but since next version of ODB (2.2.11 I suppose), it will no longer be true. Disk cache memory still will be allocated by chunks, but the size of the last chunk will be decreased to complete disk cache size. So since 2.2.11 memory consumed by ODB is no longer quantified by "memory.chunk.size." Hope I was clear. I close issue feel free to ask additional questions.

Thanks @laa for clearing my doubt. Will #6640 and #6641 be available in ODB 2.2.11 ?

@amandeep-sharma yes, and #6640 is already in 2.2.10. I think with the latest distribution which I sent to you, you do not encounter this issue.

authors: amandeep-sharma laa


text:
OClassTrigger should become aware about multiple superclasses

This is fix for issue #6092
Also it introduce new feature to get custom value from OClass taking into account hierarchy
Please consider to merge to 2.2.1

hi @PhantomYdn,
the pool request seems ok, two points though:
I don't like to add new public API at this point of the release process, so i think is better add this API just to OImmutableClass and open another issue to evaluate how to make public consistent API for this specific case.
I would like a test case ;)

I can add test case - no problem:)
@tglman , @lvca , but can we please agreed about adding  String getCustomHierarchical(...) methods to API? It's just adding: no changes for existing methods. As I wrote it will help a couple of related issues which rely to "custom" fields.

Guys, any thoughts? Is it possible to add those methods to OClass?

According to Code 2.2 multiple hierarchy is being now supported. Closing as outdated.

Thanks.

source: gharchive/pull-request

authors: PhantomYdn lvca tglman

repo: orientechnologies/orientdb

license_type: permissive

license_source: github-api


text:
Support use of custom ClassLoader in OStreamableHelper

At the moment OStreamableHelper relies on Class.forName to lookup OStreamable types. While that works for types that are on the same classpath as the core module, it doesn't work well in OSGi or other modular systems, where types might be isolated to their defining module.
This PR adds support for customizing the OStreamableHelper classloading process so deployers can control how and where streamable types are loaded from, in the same way that the extension loading process can already be configured in OServer.

Thanks. Backporting it to 2.2.x...

authors: lvca mcculls


text:
inference.py: ModuleNotFoundError: No module named 'mapper'

Run:
python mapper/scripts/inference.py

Result:
Traceback (most recent call last):
  File "./mapper/scripts/inference.py", line 13, in <module>
    from mapper.training.train_utils import convert_s_tensor_to_list
ModuleNotFoundError: No module named 'mapper'

inference.py:
from mapper.training.train_utils import convert_s_tensor_to_list

sys.path.append(".")
sys.path.append("..")

Looks like we need to move lines sys.path.append before from mapper.training.train_utils?

source: gharchive/issue

repo: orpatashnik/StyleCLIP

license: MIT


text:
Added planetocentric coordinates and limb/ring distances to click location coordinates in the GUI

Added new values to the 'Coords' tab (and copyable strings etc.) when clicking on the image in the PlanetMapper GUI:

Planetocentric longitude/latitude coordinates
Height above the target's limb
Ring plane radius

Other minor associated GUI improvements:

Added ability to have tooltips for 'Coords' tab values. Currently we only use these for the limb distance and ring radius values, as these could be a bit more ambiguous with only the short labels.
Added keyboard shortcut Control+Shift+C to formatted (i.e. human-readable) click coordinate values.
On MacOS, added keyboard shortcut aliases so that the command key can be used instead of control. For example, Command+S and Control+S both now open the save observation dialog on Mac. This only applies to MacOS (platform.system() == 'Darwin'), so Linux and Windows are unchanged and only accept Control+... shortcuts.

Closes #391
Pull request checklist

[x] Add a clear description of the change
[x] Add any new tests needed
[x] Run spell check on new text visible to user (documentation, GUI etc.)
[x] Check any changes to requirements.txt are reflected in setup.py and conda-forge feedstock
[x] Check code passes CI checks (run run_ci.sh or check GitHub Actions)

See CONTRIBUTING.md for more details.

Pull Request Test Coverage Report for Build 10451890604
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.615%

Totals

Change from base Build 10422404820:
0.0%

Covered Lines:
3138

Relevant Lines:
3150

💛  - Coveralls


text:
Question: does it support audio and video features?

Hi,
does it support audio and video?

In XMPP audio and video does not require server support, it is purely a client concern.

authors: SamWhited SantoshSah

repo: ortuman/jackal


text:
bug (feature)

render line function doesmn't work

@RudideC Bro we actually need to fix this function. renderLine is always bugging ;(

repo: orus-dev/osui


text:
Increase test coverage of osc-transformer-presteps streamlit app

Currently there are no tests for the streamlit app, which should be increased to at least 90%.

We will not make tests for streamlit as this is only used for demo. Instead please do the following:

Create a demo folder on root level
Move code to demo folder under subfolder streamlit
Create a short README.md on how to use the streamlit app
From a functional perspective we will not integrate curation to streamlit app.

repo: os-climate/osc-transformer-presteps


text:
WIP: 3-ci-srv-06: [no-test] Update translations from Fedora Weblate

Update translations from Fedora Weblate

[ ] po-refresh

po-refresh in progress on 3-ci-srv-06.
Log: https://logs.cockpit-project.org/logs/po-refresh-1044-20200715-170505/

po-refresh  done: https://github.com/cockpituous/welder-web/commits/po-refresh-20200715-170808

Failed to retrieve updated pull data after force pushing: https://logs.cockpit-project.org/logs/po-refresh-1044-20200715-170505/

repo: osbuild/cockpit-composer


text:
Multiple tag blocklist

Exports what's necessary to use the multiple tag blocklist, where one URL/domain can lead to multiple tags.

Codecov Report

Merging #4 (4f2b5aa) into dev (63fccf9) will increase coverage by 14.41%.
The diff coverage is 85.71%.

@@             Coverage Diff             @@
##              dev       #4       +/-   ##
===========================================
+ Coverage   37.37%   51.78%   +14.41%
===========================================
  Files           2        2
  Lines          99      112       +13
===========================================
+ Hits           37       58       +21
+ Misses         62       54        -8

Impacted Files
Coverage Δ

src/blocklist.rs
57.14% <ø> (ø)

src/blocklist_multi.rs
48.57% <85.71%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: Uinelj codecov-commenter


text:
Revert "Revert "Fix issues number 5 and 6 mainly ""

Reverts oscghana/oscghana-website#14

Please, what actually does this solve?

repo: oscghana/oscghana-website


text:
move reading of RKI population backup data into separate function and add test

and add test

Thanks again! Final LGTM!

Thanks for review. I liked the underscore idea (in fact, I had it implemented already before I submitted the MR ... but ran out of time fixing the import problem) - good to see you agree :)

authors: fangohr kirienko

repo: oscovida/oscovida


text:
Parameterize container demand

Parameterized the container demands, and removed the version number from the demand. Demands can only demand the existence of a particular software, or an exact version match.

Since there's no way to match on an R version of ^x.y.z, keeping this version specific will continue to fail over time as the container images are upgraded; I would not consider these valid failures, so I'd like to remove the version check entirely. If the container happens to have too old of an R version somehow, then it will fail the pipeline, and we can temporarily demand a specific (later) version through the ADO portal's pipeline parameters until the container images with older versions are all updated.

I just noticed that there's a hidden operator called 'gtVersion' that checks for a version greater than the argument. This is better than using any version of R.


text:
update README with conda-forge package

There's now a Linux/macOS conda-forge package of hole2 available on conda-forge https://anaconda.org/conda-forge/hole2
The README should be updated with installation instructions
 conda install -c conda-forge hole2

(after testing that this actually works).

And add a conda package badge.


text:
Update osmdroid-android-binding for Xamarin to latest version

@neilboyd it looks like the Xamarin component is out of date.  Please update to the latest.

See OsmdroidXamarin issue 8

It is possible to get the latest metadata.xml for xamarin?

authors: isr-mlambert kjeremy neilboyd

repo: osmdroid/osmdroid


text:
Use iD presets as the source for this

This PR brings in the iD presets, fields, and build scripts.  If accepted, I'll remove these things from iD and make this repository the master source for iD's presets.
RE: openstreetmap/iD#2656

is the iD format sufficiently rich to convert to the various editor formats? Should they be stored in here in some other format, and converted to the iD format and JOSM format by scripts?

The diskussion on the josm dev ML is interesting about this. JOSM uses a more advanced preset system which can not generated from iD presets.

is the iD format sufficiently rich to convert to the various editor formats? Should they be stored in here in some other format, and converted to the iD format and JOSM format by scripts?

Somebody would have to define the format and write the scripts.  As I've said before, a new format solves a problem that nobody has.

The diskussion on the josm dev ML is interesting about this. JOSM uses a more advanced preset system which can not generated from iD presets.

Yes I've seen it, I don't think anybody is expecting JOSM to get involved in this effort - and their code and presets are license-incompatible anyway.
Someone (I can't remember who) wrote scripts to turn the iD presets into JOSM ones - I expect that's the best way forward for users who want to use these presets in JOSM.

I thought about it more and realized - I just did a dumb copy when I made this and instead probably should have done something a bit more clever to preserve the git history of the files. After discussion shakes out, I may redo this PR..

If this is only going to work with iD, what's the point? The JOSM license isn't a blocker, as that stops this repo from using the existing JOSM presets, not this repo from producing JOSM preset files.

This repository content can have the licence we want. Imo it would be possible to have josm presets with its license and use this even in iD. Vespucci uses different licenses for the code and the preset images.
I don't see the that this should not be possible with id, too.

Imo it would be possible to have josm presets with its license and use this even in iD.

If we're using the MIT license for this repo, we can have presets for JOSM, but not the JOSM presets.

Withdrawing this, as iD's presets have already moved significantly over the summer and there doesn't seem to be any interest.

Ack, I completely forgot about this PR Bryan. If you opened it up again
with more recent data I would probably merge it. I definitely have interest.

Ack, I completely forgot about this PR Bryan. If you opened it up again
with more recent data I would probably merge it. I definitely have interest.

Ok cool, I'll resubmit when I have better availability..

authors: HolgerJeromin bhousel iandees pnorman

repo: osmlab/editor-presets

license: mit

license_source: bigquery


text:
Add IBC (ImBeCiles) to Osmosis Assets

Description
Adding token: IBC from chain Osmosis
Checklist

Adding Assets

If adding a new asset, please ensure the following:

[x] Asset is registered to the Cosmos Chain Registry.

The description and/or extended_description of the asset in the Chain Registry is informative.

[x] Add asset to bottom of zone_assets.json.

The IBC channel referenced in path must be registered to the Chain Registry.
osmosis_unlisted defaults to true (until the respesentation and transferring of the new asset has been validated)
Note that it is recommended to include an X (fka, Twitter) profile URL with each asset.

On-chain liquidity
For each new asset, please provide the plan for on-chain liquidity of the asset (See: Pool Setup Guilde.): (choose one)

[ ] Ready -- A liquidity pool(s) has been created and has liquidity. The pool ID is: ______
[x] Soon -- A pool will be created soon. Do not merge this PR until liquidity is ready.

[x] (optional) A preview of the Osmosis Zone app with the new asset added is requested for creating the pool. (Note: This method is not recommended because the Supercharged Liquidity pool type cannot be created via the Osmosis Zone app)

[ ] StreamSwap -- The token is, or will be, going through a StreamSwap stream; thus, the token should be listed without requiring on-chain liquidity. A Pool ID will be provided in this PR following the stream's completion once the team has had a chance to create a pool using the earned funds. The StreamSwap Bootstrapping phase begins (when?): ______

Whats this _comment param for and what exactly do I do to add for the same for my token?

Whats this _comment param for and what exactly do I do to add for the same for my token?

It had no function, just an indicator to readers of that document which coin it is. Makes for easier searching is all.

By policy, we don't allowing registrations from brand new GitHub accounts. Is there a github account with a longer history that can comment on this thread?
https://github.com/osmosis-labs/assetlists/blob/main/LISTING.md#listing-as-an-unverified-asset-pseudo-permissionless

giving my ack to the merging of this

Is there plan to create a pool of this?
A preview can be seen here: https://app.osmosis.zone/assets?show_preview_assets=true

@JeremyParish69 I dont see the asset on this yet: https://app.osmosis.zone/assets?show_preview_assets=true, pls lmk how I can rectify
And yes we are going to be making a pool for this soon

When I search for IBC on the assets page, it shows up for me

repo: osmosis-labs/assetlists


text:
Front-end crashes when both phantom + keplr is active

On app.osmosis.zone
Front-end ends up in a loop when both phantom wallet and keplr wallet are enabled.
Tested on both Windows + Mac.
It appears that it could be related to NextJS and/or Phantom. Not Osmosis Web App, as it seems mintscan also runs into the same issue.

Have we somehow notified the phantom + keplr team?

@arispech lmk if this is still reproducible, perhaps wallet teams have pushed a fix.

Just confirmed with Josh that this is no longer an issue.

authors: arispech jonator

repo: osmosis-labs/osmosis-frontend


text:
chore: auto complete cli

Closes: #XXX
What is the purpose of the change
https://github.com/osmosis-labs/osmosis/assets/40078083/071ccd6c-2df2-4ac9-8207-57cd7738e77c
No more typing every. single. cli. cmd.
For bash:
echo '. <(osmosisd enable-cli-autocomplete bash)' >> ~/.profile
source ~/.profile

For zsh:
echo '. <(osmosisd enable-cli-autocomplete zsh)' >> ~/.zshrc
source ~/.zshrc

Testing and Verifying
Tested locally for zsh, would be nice if someone could test for bash.
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[ ] N/A

It also works with flags!

AND ALL MAKE COMMANDS lol I keep finding new things and its so nice

Amazing! Let's also revisit in an issue if there's a way to idiomatically do this at setup or smth

repo: osmosis-labs/osmosis


text:
Adding support for UPnP

As this package is suited to bring the programmer a lot of network tools in one place it will be nice to add support for UPnP
There were several UPnP dart packages in the past but they are not maintained, I have found (and tested a little bit) a new package named upnp2 that picked up from the old ones.
Let's add support for searching UPnP devices in the network using the discovery method from that package.

@guyluz11 can you more specific use case here? I can't support everything whatever that package provides.


text:
buoys, turtle, etc scaling

The VRX Environment has various elements such as buoys, turtles and crocodiles. But the question here is, can I customize the size of these elements so that I can resize them?

Hi! This seems to be a general question about working with models in Gazebo. If you're not finding an answer in the Gazebo documentation, consider posting it to answers.gazebosim.org. If you have a question that is specific to the VRX Environment, you can re-open this issue or create a new one. Thanks!

repo: osrf/vrx


text:
show_graph.py 노드 겹침현상 해소필요

#285의 해결방안과는 조금 다릅니다.
현재 ce.yaml의 그래프에서는 복잡한 작대기를 제외하고도 노드간의 겹침 문제가 몇개 보입니다.
그로 인해 작대기의 가시성이 더 떨어지는 문제가 발생하여 이 부분을 조금 수정하는것이 좋을것 같습니다.
show_graph.py에서 노드 위치를 정하는
adjust_coordinates() 함수부분을 조금만 손보면 될 것 같습니다.

더좋은 방법이 있다면 그쪽으로 가는것이 좋을 것이고 어느정도 이전 이슈와 겹치는 부분도 있기는 하겠지만 현재 대놓고 시각적으로 보이는 문제 정도는 해소하고 싶어서 이슈에 올려보았습니다.

근데 이 이슈는 https://github.com/oss2024hnu/coursegraph-py/issues/22 의 연장선이니 새로 하는 것은 중복 이슈에 해당하니 이건 반려하고 닫겠습니다
추가 논의가 필요하다면 https://github.com/oss2024hnu/coursegraph-py/issues/22 여기서 논의해 주세요
비슷한 이슈가 여러개로 중복 분산되는 것은 효율적이지 못하고 이런 중복 이슈에는 점수도 부여하지 않습니다.


text:
Member update

Automated changes by create-pull-request GitHub action

Build failed because of:
Duplicate item: Facebook Facebook, Inc. at path OpenSSF Members / Premier
Duplicate item: Facebook Facebook, Inc. at path OpenSSF Members / Founding
Duplicate item: Google Google LLC at path OpenSSF Members / Premier
Duplicate item: Google Google LLC at path OpenSSF Members / Founding
Duplicate item: Intel Intel Corporation at path OpenSSF Members / Premier
Duplicate item: Intel Intel Corporation at path OpenSSF Members / Founding
Duplicate item: IBM International Business Machines Corporation at path OpenSSF Members / Premier
Duplicate item: IBM International Business Machines Corporation at path OpenSSF Members / Founding
Duplicate item: JP Morgan Chase JPMorgan Chase at path OpenSSF Members / Premier
Duplicate item: JP Morgan Chase JPMorgan Chase at path OpenSSF Members / Founding
Duplicate item: Red Hat Red Hat, Inc. at path OpenSSF Members / Premier
Duplicate item: Red Hat Red Hat, Inc. at path OpenSSF Members / Founding
Duplicate item: Snyk Snyk Limited at path OpenSSF Members / Premier
Duplicate item: Snyk Snyk Limited at path OpenSSF Members / Founding
Duplicate item: VMware VMware, Inc. at path OpenSSF Members / Premier
Duplicate item: VMware VMware, Inc. at path OpenSSF Members / Founding
Duplicate item: Codethink Codethink at path OpenSSF Members / General
Duplicate item: Codethink Codethink at path OpenSSF Members / Founding
Duplicate item: StackHawk StackHawk at path OpenSSF Members / General
Duplicate item: StackHawk StackHawk at path OpenSSF Members / Founding

authors: CNCF-Bot jmertic

repo: ossf/ossf-landscape


text:
[catalog] No description of License field

The SBOM Catalog's contributing docs don't mention the License field that appears in data.yaml.

I am working on a PR for this

Thanks for your contributions @funnelfiasco. It's great having you. For the time being, I just used the license field to distinguish between open-source and proprietary products. But please feel free to make any other suggestions. I hope to find some time for this project again soon.
Also, I've not written something in regard to the language field. The issue here is that there are overlapping data points that can be hard to figure out. E.g. Java, Kotlin, Scalacan work withMavenorGradle`. So each of these words could be synonyms... or not. Depending on the App evaluated 😅

authors: Mariuxdeangelo funnelfiasco

repo: ossf/sbom-everywhere


text:
如何实现dvr动态录制视频？

SRS版本(Version): 4.0

vhost xxx {
dvr {
dvr_apply record/lecture1 record/lecture2 record/lecture3 [...] ;
}
}

期望

我想录制 app = record 下的所有视频 stream = lecture1, lecture2, lecture3, .... ， 不限制stream的名字
其他像是 app = live 则不予录制
我试过
vhost xxx {
dvr {
dvr_apply record/[stream];
}
}
并没有识别为变量
而是存到了 record/[stream].flv 文件
版本是4.0 有用到的RAW API被删除了，无法通过API调用这个功能
需求如何能实现？

你的问题已经在FAQ中存在，该Issue会被删除，请在FAQ中搜索。#2716

repo: ossrs/srs


text:
Codeforcesなどのverifyできないコンテストの問題のコードもgithub pagesに表示しておきたい

コードを書くときに参考になるので

https://online-judge-tools.github.io/verification-helper/document.ja.html
たぶん、ignoreでいける？


text:
base - mintWithRewards

hi zora devs,
just me again
asking for another
base deployment
can you please deploy the latest version of ERC721DROP_IMPL on Base mainnet? (chainId: 8453)

latest ERC721DROP_IMPL: [0xaDf8fF6a7EA4f028A384D00136fEF0FFfEb39f14] is missing mintWithRewards function
(https://thirdweb.com/base/0xaDf8fF6a7EA4f028A384D00136fEF0FFfEb39f14/explorer)

Done.

authors: iainnash sweetmantech


text:
[Bug] uMatrix and uBlock Origin

The "My rules" tab inside the uBlock Origin and uMatrix plugins randomly switches to the correct dark theme and the default theme. To reproduce, simply switch around the tabs and somtimes if you select the "My rules"-tab it won't load the the dark theme.

Also the uMatrix Popup has white borders around the refresh button.

Tech info:
Windows 7 64bit Pro N
Firefox Portable 59.0.3

I believe this is a Firefox/Windows specific bug that has been fixed in v60 relating to the preference extensions.webextensions.remote.
See #58 and this section of the wiki:
https://github.com/overdodactyl/ShadowFox/wiki/Known-Problems#complete-styling-of-webextensions

It really was a bug. I've updated to version 60 today and all problems mentioned here are now fixed.

repo: overdodactyl/ShadowFox


text:
feat: add new navbar onboarding [NOT COMPLETE]

Add new navbar onboarding
Warning ⚠ ⚠ ⚠

Missing correct icons
Missing content

Duplicates https://github.com/ovh-ux/manager/pull/402

repo: ovh-ux/manager


text:
Add basic documentation

Basic documentation about how to install the File picker and how to use it.

@PVince81 Fixed mistakes in the text and added docs about config location prop. Later on, I'd like to add more articles, more examples, etc. but for now this aims to provide the basics to enable our partner to test this out.

repo: owncloud/file-picker


text:
Fix readme markdown headers

Github changed it's markdown algorithm such that header #s need an empty space before the first character.

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

Thanks for your contribution @bronzehedwick !!

authors: CLAassistant bronzehedwick nasli

repo: owncloud/ios-library


text:
alias resolve failed for readable-stream@2.3.8

https://github.com/umijs/mako/pull/1282

I can't reproduce this:
pnpm add -D readable-stream@2.3.8 -w
just example /Users/boshen/oxc/oxc-resolver/node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream string_decoder/

Resolved: "/Users/boshen/oxc/oxc-resolver/node_modules/.pnpm/string_decoder@1.1.1/node_modules/string_decoder/lib/string_decoder.js"

And see also https://github.com/nodejs/readable-stream/issues/481#issuecomment-1209139403.

I would say it's better to use v4 if you want to bundle this. The architecture of bundlers changed significantly and v3 has not been kept up to date.

repo: oxc-project/oxc-resolver


text:
perf(rust): use cow_utils instead

Related to #5586 and #5662

Thank you! Nice work!

authors: Boshen shulaoda

repo: oxc-project/oxc


text:
refactor(transformer/react-refresh): dereference ScopeId as soon as possible

Style nit. Dereference &ScopeId to ScopeId as early as possible. &ScopeId is 8 bytes, whereas ScopeId is 4 bytes.
In simple cases like this, compiler will optimize it anyway, but still I think it's a better pattern to dererence early. In more complicated cases, it will be better for performance, and in my opinion, it makes things clearer if vars called scope_id are always a ScopeId, not sometimes a &ScopeId.

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

#6820  👈
#6817
#6816
#6815
#6814
main

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

Join @overlookmotel and the rest of your teammates on  Graphite

Merge activity

Oct 23, 9:14 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
Oct 23, 9:14 AM EDT: A user added this pull request to the Graphite merge queue.

authors: Dunqing overlookmotel


text:
Add possibility to override 'EOF' key

E.g. end reading input with Enter, Space or other key code which user may define

Partially done in #12 by @glmnet
Not sure about other EOF values, will close this ticket and if someone needs other options it can be done separately.

repo: oxcafedead/barcode-reader-emulator


text:
Updated JOTA paper

Added volume, issue, and page numbers.

Coverage remained the same at 91.249% when pulling ba8602453cc85e596a0e5e13be5baac3a826e72f on gb/update_docs into f180ea0a950923834fec1699808c4527d52d4e45 on master.

authors: coveralls gbanjac

repo: oxfordcontrol/osqp


text:
Add created and revised dates to DITA prolog section

The DITA prolog can also have a created and a revised date:
https://www.oxygenxml.com/dita/1.3/specs/langRef/base/created.html
https://www.oxygenxml.com/dita/1.3/specs/langRef/base/revised.html
Again, depending on weather the topic is saved for the first time or on subsequent times, the prolog could be updated to contain this information every time the document is saved.

Fixed in: 0d398c0a61f69f73cedf6e1d63604c634de666b8

authors: DunaMariusCosmin raducoravu

repo: oxygenxml/dita-prolog-updater


text:
use diy controls bugs

use diy controls bugs, Create after destroying the player，There will be an increase of dom every time.
const pipControl = {
  el: document.createElement('div'),
  id: 'pip',
  pipIcon: publicIcons.pipIcon,
  tooltip: '画中画' as any,
  handlePip() {},
  init(player, _: any, tooltip) {
    this.el.id = 'pip';
    const pipDom = document.createElement('div');
    pipDom.className = 'nplayer_icon';
    pipDom.innerHTML = `${this.pipIcon}`;

    this.tooltip = tooltip;
    this.tooltip.html = '画中画';
    this.el.append(pipDom);

    this.handlePip = () => {
      if (!player.loaded) return;
      if ((document as any).pictureInPictureElement !== player.video) {
        (player.video as any).requestPictureInPicture();
      } else {
        (document as any).exitPictureInPicture();
      }
    };

    this.el.addEventListener('click', this.handlePip);
  },
  dispose() {
    this.el.removeEventListener('click', this.handlePip);
    this.el?.remove();
  },
};

dispose事件中打印 this.el显示如下

repo: oyuyue/nplayer


text:
about dataset

can you supply dataset on the public dataset processing ? Thank you

Please check the "data" folder and the data_readme.md file.
The config file has been updated as well.

authors: mysqlsc oywtece

repo: oywtece/deepmcp


text:
Noob question: FirebaseAuthentication unable to be imported

After doing all the setup and installing all the requirements, I still get this error:
from firebase import (FirebaseAuthentication, FirebaseApplication,
ImportError: cannot import name 'FirebaseAuthentication'
Is there some setup i'm missing?

Oh wait i need to edit example.py dont i?

okay i changed "from firebase import" to "from firebase.firebase import" and now it imports

repo: ozgur/python-firebase


text:
fix(style): Updating SweetAlert styling

Added overrides for SweetAlert styling

Update styling for #258

repo: ozone-development/ozp-center


text:
custom docker image

custom docker image

done


text:
Support for faster model training

May I check if there's any plan to support: 1) multi-gpu parallel training; 2) fp16; 3) gradient accumulation. These functions would allow us to train models much faster and with larger batch size (especially for large models like BERT).

We don't have immediate plans to do that in the example scripts, but since we're using HuggingFace's transformers library for BERT training, you're welcome to use those features in that library. (If it's a straightforward change to our code, please feel free to make a pull request too. Thank you :)

We don't have immediate plans to do that in the example scripts, but since we're using HuggingFace's transformers library for BERT training, you're welcome to use those features in that library. (If it's a straightforward change to our code, please feel free to make a pull request too. Thank you :)

Reopening as we're now planning to look into this. (If you have ideas, please let us know!)

authors: NoviScl kohpangwei

repo: p-lambda/wilds


text:
Improve handling of selected text in the query field

This PR improves the handling of selected text in the query field in the following cases:

When typing text, the selected query text will be replaced with the new text.
When hitting the backspace key, the selected query text will be removed.
When pasting text, the selected query text will be replaced by the new text.

This gives a bit more system feel to the query field.

Hey @p0deje, is there anything I could do to get this accepted?

@ChaosCoder I'm a bit slow to review now, but I'll look through it within the next couple of weeks.

Sure, take your time! :+1: I just hoped it could be accepted for hacktoberfest, but no worries 🙂

I've tried pulling this to test, but I don't think it behaves correctly. For example, moving the input cursor and pressing delete does nothing. Also, when I select text and then remove it by pressing delete, the selection should be dropped, but it is not.
Could you please test it more thoroughly and address at least these two issues?

Closing since there is no response. Feel free to re-open once the comments are addressed.


text:
[Question]: Is there a way to disable ServerNotFound check

i noticed that if the URL in the request is not one of the listed URLs in the Spec, the validator throws an ServerNotFound exception.
Is there any config that I can pause to the validator to disable this check?
We want to use the validator only to validate the request body.
    spec = create_spec(spec_dict)
    openapi_request = FlaskOpenAPIRequest(request)
    validator = RequestValidator(spec)
    result = validator.validate(openapi_request)

Hi @vamsi245
There is no such configuration. You can use _validate_body for now.
result = validator._validate_body(openapi_request)

_validate_body does not seem to work, it raises on _find_path. It is kinda blocking for local integration tests, unfortunately


text:
feat: portal placement hud

Features:

HUD that indicates if a portal would place where the player is aiming and why it fails/succeeds
In-world placement previews that highlight where the portals will land if you shoot them

to fix: crashes during TAS playback


text:
the style is missing

Describe the bug
chrome console warning
DevTools failed to load SourceMap: Could not load content for http://localhost:6081/static/js/jquery/jquery.min.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
To Reproduce
Steps to reproduce the behavior:

i installed this ph7build-16 sucessfully
choose  NO.1 layout
then  chrome  browser  visit  the website

Expected Behavior
the style is missing
the resouce file path is like    http://localhost:6081/asset/gzip/?t=css&d=static/css/js/jquery/box&f=box.css
i feel somethin wrong  with  "gzip/?t=css&d="
Screenshots / Screencasts

how do i  resolve this issure?

@xingx001
Same thing here https://grtx.nl/
Did you solved this ?
Because after several Installs and uninstalls and trouble checking I can't solve this issue.

@xingx001
Same thing here https://grtx.nl/
Did you solved this ?
Because after several Installs and uninstalls and trouble checking I can't solve this issue.

I am also experiencing the same problem, even though I have made sure that the option in php.ini is set to off.
Is there something or somewhere else that I am missing something?

@Gerritvdl
You should make sure you have all needed options in PHP available and use PHP 7.4

Thanks webitman, Got it to work perfect with FireFox Browser but still an issue with Chrome.

@Gerritvdl did you have the chrome configuration correct ?
ff checken ;-)

Thanks webitman, To be honest, I am very new to this so not sure where to look for chrome configuration. And what to look for.

@Gerritvdl
Are you living in The Netherlands ? Send me your message at info@grtx.nl

@Gerritvdl
You should make sure you have all needed options in PHP available and use PHP 7.4

Using 7.4 worked for me! In my cPanel I did this by going to MultiPHP Manager, selecting my domain, and applying PHP 7.4 version to it

authors: Gerritvdl huntersgordon webitman xingx001


text:
pa-m:sklearn - Changed maxFev param type from int to int64 for 32-bit builds.

I'm using pa-m:sklearn/preprocessing StandardScaler and I get this error when trying to build for x86:

optimize/powell.go:34:16: constant 9223372036854775807 overflows int

To fix this, I have modified 3 files in pa-m:optimize and changed fnMaxFev param from type int to type int64 which is already in a separate PR
I also changed sklearn:preprocessing/data.go
After these changes I can successfully build for x86 without problems.
All tests are also passing.

Hi, powell's minimization has been moved out of sklearn because it's not part of scikit-learn. It's available in https://github.com/pa-m/optimize.

authors: edstardo pa-m

repo: pa-m/sklearn


text:
Does this library use the deprecated image charts function?

According to the Google website, Image Charts are deprecated. Is that what this library uses?

https://developers.google.com/chart/image/

Any plans to port it to the new api ?

authors: ankitagarwal bensinclair

repo: pacbard/gChartPhp


text:
Adjust date formatter & add custom api clients

Moving models isn't really possible, so this PR just includes basic adjustments for date formatter and api clients. Content headers will be done together with tiles api.

@EmDee can we push this?

repo: pace/SwagGen


text:
general behaviour in tetrads.R

Hi Joshua
I tweaked a few lines to make this mimic the original function.
The biggest changes were lines 341-398 and importer/exporter arguments were inverted (my fault!)
Line 374 can be improved but I don't exactly know how to move from
model_tetrads_vcov <- multiwayvcov::cluster.vcov(model = model_tetrads, cluster = ~ iso_o + iso_d)

to something like
model_tetrads_vcov <- multiwayvcov::cluster.vcov(model = model_tetrads, cluster = ~ c(!!sym("code_o") + !!sym("iso_d"))

or it won't work if the user has different column names

What about:
form2 <- as.formula("~ iso_o + iso_d")
model_tetrads_vcov <- multiwayvcov::cluster.vcov(model = model_tetrads, cluster = form2)

it worked as
form2 <- as.formula(sprintf("~ %s + %s", code_o, code_d))
...
model_tetrads_vcov <- multiwayvcov::cluster.vcov(model = model_tetrads, cluster = form2)

Now I understand your point!

authors: jbkunst pachamaltese

repo: pachamaltese/gravity


text:
Migration for 1.5

I don't believe we need one based on the discussion we just had at standup, but it's easy to forget. So let's double check if we need a migration for 1.5

https://github.com/pachyderm/pachyderm/issues/1872

Addressed in https://github.com/pachyderm/pachyderm/pull/1970

authors: JoeyZwicker sjezewski

repo: pachyderm/pachyderm


text:
[Authentication] Document pachctl idp supporting YAML

See https://github.com/pachyderm/pachyderm/pull/6108 for details

Done here https://docs.pachyderm.com/2.0.x-beta/enterprise/auth/authentication/idp-dex/


text:
Error Occurs When Negative Parameter is Passed to epoch_to_timestamp Function.

When passing a negative value to the epoch_to_timestamp function, the following error occurs:
called `Result::unwrap()` on an `Err` value: TryFromIntError(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Values before January 1, 1970, are negative. This means that any timestamp representing a date prior to the Unix epoch (1970-01-01) will be a negative number. The function should ideally handle these cases without resulting in an error.
For example, test with the following code:
_ = epoch_to_timestamp::<1_000_000>(-1);

Thank you.

I assume you have happend to discover that behavior then trying to read data with timestamps older than 1970-01-01? What is the ask here? I think yielding a proper error instead of a panic is doable, yet supporting such timestamps in arrow is a different beast.
Do you want to get an error instead of the panic? Or is it something else you are after?

I wrote a test program and obtained the following results.
use arrow::{
    array::{
        RecordBatch, TimestampMicrosecondArray, TimestampMillisecondArray,
        TimestampNanosecondArray, TimestampSecondArray,
    },
    datatypes::{DataType, Field, Schema, TimeUnit},
};

fn main() {
    let sec_array = TimestampSecondArray::from(vec![-1]);
    let mili_array = TimestampMillisecondArray::from(vec![-1]);
    let micro_array = TimestampMicrosecondArray::from(vec![-1]);
    let nano_array = TimestampNanosecondArray::from(vec![-1]);
    let schema = Schema::new(vec![
        Field::new("sec", DataType::Timestamp(TimeUnit::Second, None), false),
        Field::new(
            "mili",
            DataType::Timestamp(TimeUnit::Millisecond, None),
            false,
        ),
        Field::new(
            "micro",
            DataType::Timestamp(TimeUnit::Microsecond, None),
            false,
        ),
        Field::new(
            "nano",
            DataType::Timestamp(TimeUnit::Nanosecond, None),
            false,
        ),
    ]);

    let batch = RecordBatch::try_new(
        Arc::new(schema),
        vec![
            Arc::new(sec_array),
            Arc::new(mili_array),
            Arc::new(micro_array),
            Arc::new(nano_array),
        ],
    )
    .unwrap();

    println!("{:?}", batch);
}

Output:
RecordBatch { schema: Schema { fields: [Field { name: "sec", data_type: Timestamp(Second, None), nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "mili", data_type: Timestamp(Millisecond, None), nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "micro", data_type: Timestamp(Microsecond, None), nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "nano", data_type: Timestamp(Nanosecond, None), nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }], metadata: {} }, columns: [PrimitiveArray<Timestamp(Second, None)>
[
  1969-12-31T23:59:59,
], PrimitiveArray<Timestamp(Millisecond, None)>
[
  1969-12-31T23:59:59.999,
], PrimitiveArray<Timestamp(Microsecond, None)>
[
  1969-12-31T23:59:59.999999,
], PrimitiveArray<Timestamp(Nanosecond, None)>
[
  1969-12-31T23:59:59.999999999,
]], row_count: 1 }

I don't think that Arrow doesn't support negative timestamp values.
Chrono's DateTime has a from_timestamp_nanos function that can obtain values from nanoseconds. How about modifying epoch_to_timestamp as follows?
pub fn epoch_to_timestamp<const UNIT_FACTOR: i64>(from: i64) -> Timestamp {
    let timestamp = from * (1_000_000_000 / UNIT_FACTOR);
    let ndt = chrono::DateTime::from_timestamp_nanos(timestamp);
    let date = ndt.date_naive();
    let time = ndt.time();
    Timestamp {
        year: date.year().try_into().unwrap(),
        month: date.month().try_into().unwrap(),
        day: date.day().try_into().unwrap(),
        hour: time.hour().try_into().unwrap(),
        minute: time.minute().try_into().unwrap(),
        second: time.second().try_into().unwrap(),
        fraction: time.nanosecond(),
    }
 }

fixed in arrow-odbc 13.0.1


text:
Support metadata rules for sync message

This PR fixes an issue where metadata matching rules were not stored in the pact file.
First time writing any rust code, please let me know if something is not idiomatic or optimal.

All, good. Thanks for adding all the additional tests.

authors: rholshausen stan-is-hate

repo: pact-foundation/pact-reference


text:
Add default rounding

There are many places where excess precision is wasteful of screen real estate and makes comparison harder.  Adding a default rounding for computed statistics (as a result  of group by or summary statistics) should be definitely permissible (you aren't altering raw data).  Even for raw data, having a sensible default seems reasonable to me.

Completed with AG-grid formatters

repo: paddymul/buckaroo


text:
Please use an OSI approved license

Hi,
I just had to delete your code from our source trees after I found it with a scan for bad licenses.
sonic.js is licensed WTFPL, which is not a proper license
https://en.wikipedia.org/w/index.php?title=WTFPL&oldid=712745928#Characteristics
https://en.wikipedia.org/w/index.php?title=WTFPL&oldid=712745928#Effectiveness_as_license_or_waiver
and then you have a top level license that is unlicense, contradicting the file header license.
Sadly, unlicense is not a proper license either.
http://programmers.stackexchange.com/questions/147111/what-is-wrong-with-the-unlicense
If you care to share you software without causing issues or worries for others, please use MIT/BSD, or some license like Apache2. Thanks.

Apologies. I really wish I could just put code out there and not have to worry about this stuff. I guess I want the legal version of walking in the park and dropping a paper recipe on the ground, later to be found by individuals who've no idea I exist. I'm not a fan of copyright or attribution but in an attempt to reconcile I'm gonna look into MIT. I expect there'll be further headaches regarding retroactively changing license and what it means, legally, in regard to previous contributions via PRs.
This is so so silly.

Sorry, I realize this is not fun, and not what you'd rather spend your time on.
Sadly, licensing is important if you care to have your code used by companies and/or entities that can be sued.
On the plus side, you don't have to be a lawyer or re-invent the wheel, OSI has already categorized all the approved licenses for you, and the cliffs note is that MIT or BSD are indeed the simplest approved licenses that have the fewest restrictions
WTFPL and Unlicense are sadly both a distraction that have caused a lot of wasted time on the internet, yours and mine :(

thanks for taking care of it, I appreciate it.

authors: marcmerlin padolsey


text:
Speed optimizations

Removes "scroll" event when smooth scroll is executed, then add it later (otherwise it gets executed on every step of the smooth-scroll process, resulting in laggy performance on mobile).
Removes "scroll" event on destroy, so it doesn't keep executing when the directive isn't there.
Replaces setTimeouts with setInterval (less CPU and memory intensive).
.addClass only done if element isn't already showing (otherwise very slow scrolling on mobile and slower devices).
Other miscellaneous performance improvements

Seems all right, thank you 👍

repo: padsbanger/angular-backtop


text:
🛑 Go internship is down

In ff7dff6, Go internship (https://go-internship.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Go internship is back up in bad9ae5.

repo: pageon/uptime


text:
🛑 Every Nation Campus Gent is down

In 60358f4, Every Nation Campus Gent (http://everynationcampusgent.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Every Nation Campus Gent is back up in 4f61d8b.


text:
apache 2.5 support not working

Hi,
i using apache version:
Server version: Apache/2.5.0-dev (Unix)
Server built:   Feb 16 2016 12:14:24
when i compile mod_pagespeed and link module _ap24 server not start.
because
httpd: Syntax error on line 504 of /usr/local/apache2/conf/httpd.conf: Syntax error on line 14 of /usr/local/apache2/conf/pagespeed.conf: API module structure 'pagespeed_module' in file /usr/local/apache2/modules/mod_pagespeed_ap24.so is garbled - expected signature 41503235 but saw 41503234 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?
httpd: abnormal exit 1

Hi...  As the message says, modules built for Apache 2.4 won't work on 2.5; you'd need to build from source to be able to work with it.

I built modules from source (apache2 and mod_pagespeed).
make AR.host=pwd/build/wrappers/ar.sh AR.target=pwd/build/wrappers/ar.sh BUILDTYPE=Release
NO_SUDO=1 APXS_BIN=/usr/local/apache2/bin/apxs ./install_apxs.sh

Weird. Passing in V=1 to make might give some idea --- are the compilation commands getting -I lines matching where the 2.5 headers are?
(#define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */)

authors: michalkolar morlovich


text:
pagespeed MemcachedServers  "host1:port1,host2:port2,host3:port3";

"This allows PageSpeed to batch multiple Get requests into a single MultiGet request to memcached, which improves performance and reduces network round trips."
HI ALL ,  if i add more memcache server here,  the performance of "multipe Get" is always better than Get ? What do you think about the "Facebook's Memcached Multiget Hole" ? If i make consistent hashing loadbalance at the front server and only left one memcached server for each ngx_pagespeed server, wheather the performance improved or even worse?

In general you want all your ngx_pagespeed servers in one location to share the same memcached server or set of memcached servers.  This is because optimized resources created in response to one request from one user will generally also be needed later by other users and on other pages.  Sharing your cache across all the servers means less wasteful re-optimization.
As for how many memcached servers, I would start with one, run for a while, and look at the eviction rate.  Generally you want low evictions, and high evictions often means your cache is too small and you should add another memcached server.  (Though high evictions can also be a symptom of other problems, such as accidentally generating a cachebuster url server-side on your resources.)

Oh, thanks for your reponse. I wander wheather "MultiGet" is always better than "Get"  for memcached here?
Yes, the evictions is too high and the memory here is too small, which lead to  wasteful re-optimization and lower cpu idle. I have to change into the cache based on file system(SSD).And there is another question:
In the shared mem location "rname", the files and size seems do not increase (i get the size using shell command like this :"du -sh *") while the whole size of the file cache increse only. Why ? And it looks like that some strange items are written into the file cache location. I suspect that something that should be written into the rname dictionary is write out the file cache location uncorrectly.
And one more  question here: it seems that there is no lru eviction for the shared cache(rname), when the shared cache is full , i have to restart the nginx and lost all the items in the shread cache(rname dictionary) ?
My configure listed below:
pagespeed FileCachePath                     "/home/work/data1/ngx_cachedata/";
pagespeed FileCacheSizeKb                   102400000;
pagespeed FileCacheCleanIntervalMs          3600000;
pagespeed FileCacheInodeLimit               5000000;

pagespeed CreateSharedMemoryMetadataCache  "/home/work/data1/ngx_cachedata/"  16096000;  #KB
pagespeed LRUCacheKbPerProcess              256000;
pagespeed LRUCacheByteLimit                 16384;
***************
server {
    pagespeed                  on ;
    ***********
    pagespeed FileCachePath                                 "/home/work/data1/ngx_cachedata/";
    ************
  }

And the strange itmes in the "/home/work/data1/" looks like below:
ls /home/work/data/
"7SfFjHMWdk,        !clean!time!            haiwainet.cn linghit.com qizi.cc                     UQRcZHw-PD,               zynews.com
7tD4YmiqQW,        clgd9.com haiyunx.com linkedin.com                    QJ9hMWdl1q,                 url.cn zyue.com
7wenta.com cli.im halk-a.com linksmart.com qkankan.com urlshare.cn zyz66.com
7wgo.cn            cLkmCKIK-5,             halo-hwanghak.com linkwithin.com qlogo.cn url.tw zzdadi.com.cn
7xz.com clkmon.com halo-hwanghak.com.tw linlin.com qlwb.com.cn us567.com zzdmz.cn
"
"7SfFjHMWdk 7tD4YmiqQW QJ9hMWdl1q UQRcZHw-PD "  ,are thoes items here is OK ?

I wander wheather "MultiGet" is always better than "Get" for memcached here?

MultiGet should always be better than Get if there are multiple keys you want to look up at once, and pagespeed automatically uses MultiGet when appropriate.

Yes, the evictions is too high and the memory here is too small, which lead to wasteful re-optimization and lower cpu idle. I have to change into the cache based on file system(SSD).

This is good, as long as you only have one server.  For multiple servers having a local SSD filesystem cache on each is ok, but can lead to wasteful reoptimization as each server needs to optimize all the resources on its own.  In the multiple server situation a shared memcache, large enough to avoid evictions, would be best.

In the shared mem location "rname", the files and size seems do not increase (i get the size using shell command like this :"du -sh *") while the whole size of the file cache increse only. Why ?

The rname directory holds metadata, which is generally pretty small compared to the rest of the cache which mostly holds resources.

it looks like that some strange items are written into the file cache location. I suspect that something that should be written into the rname dictionary is write out the file cache location uncorrectly:

!clean!time!

This is the cache cleaning timestamp, and does belong there.

haiwainet.cn
linghit.com
qizi.cc
zynews.com
clgd9.com
haiyunx.com
linkedin.com
url.cn
zyue.com
7wenta.com
cli.im
halk-a.com
linksmart.com
qkankan.com
urlshare.cn
zyz66.com
7wgo.cn
halo-hwanghak.com
linkwithin.com
qlogo.cn
url.tw
zzdadi.com.cn
7xz.com
clkmon.com
halo-hwanghak.com.tw
linlin.com
qlwb.com.cn
us567.com
zzdmz.cn

These look like referrer spam.  See prior discussion.  You can block these by adding a catch-all server block to the top of your config that doesn't have pagespeed enabled:
   server {
        listen 80;
        location / {
           deny all;
        }
   }
   server {
        listen       80;
        server_name  www.example.com;   // your site
        pagespeed on;
        ...
    }

7SfFjHMWdk
UQRcZHw-PD
7tD4YmiqQW
QJ9hMWdl1q
cLkmCKIK-5

I'm not sure what these are.  What's inside one of them?

it seems that there is no lru eviction for the shared cache(rname), when the shared cache is full , i have to restart the nginx and lost all the items in the shread cache(rname dictionary) ?

The shared memory cache should manage it's own evictions; what made you think you needed to wipe it manually?

OK, thanks for your response very very much !
No. 1
I make nginx + pagespeed  as a forword proxy here ; so there is only one server config looks like this:
server {
listen 80;
location / {
proxy_pass http://$host$request_uri;
proxy_set_header    Host       $http_host;
}
}
    7SfFjHMWdk
    UQRcZHw-PD
    7tD4YmiqQW
    QJ9hMWdl1q
    cLkmCKIK-5

so ,maybe that some strange host  lead to those strange file ? I open some of those file using vim,it looks like this :+1:
"h ^A^@^@^HÈ^A^X^@ ^A(Ø<9f><8b>Ì·)0ø÷øË·)8^A@^AJ^T
^DETag^R^L"3886009901"J^V
^MAccept-Ranges^R^EbytesJ.
^MLast-Modified^R^]Fri, 19 Dec 2014 05:30:38 GMTJ^S
^Hpg_sever^R^Gbw-fe08J^Y
^LContent-Type^R        image/gifJ%
^DDate^R^]Wed, 11 Feb 2015 16:34:51 GMTJ(
^GExpires^R^]Wed, 11 Feb 2015 16:39:51 GMTJ^
^MCache-Control^R^Kmax-age=300Xà§^R`^Ah^@p^@
"
And they are all 293Byte in size.
work@*****:~/data1/ngx_cachedata$ ls -al ZyMSlV20O7,
-rw------- 1 work work 293 Feb 11 15:32 ZyMSlV20O7,
I wonder if those strange file would be cleared automaticlly?
No.2
"The shared memory cache should manage it's own evictions; ",so i do not need take care about the
overflow of the shared memory cache here ? What is the relationship between the shared memory cache and the rname dictionary?
No.3
My rname dictionary  never increase here; all those files under this dictionary looks like below:
Dose there any error here ? And if i close all the rewrite filter(all about the html), there will be no more things under rname ?
work@******:~/data1/ngx_cachedata/rname$ tree
.
├── aj_E8H8_YbQ5UdoFhgXFfNc
│   └── http,3A
│       ├── ,2Fcdn00.baidu-img.cn
│       │   └── timg,3Fwapbaike,26quality=80,26size=w240,26sec=1349839550,26di=cb5275664758c5b7c6726e4f36e8239b,26imgtype=,26src=http,3A
│       │       └── ,2Fimgsrc.baidu.com
│       │           └── baike
│       │               └── pic
│       │                   └── item
│       │                       └── a5c27d1ed21b0ef4a49dbfcbdec451da81cb3e29.jpg,40,40wss_,
│       ├── ,2Fcount.tbcdn.cn
│       │   └── counter3,3Fkeys=DPM_445_subjectpv1354198,26inc=DPM_445_subjectpv1354198,26sign=41600bc2edac5b9a12d0bcb90e8d75c689c20,26callbac,-
│       │       └── k=jsonp,40,40wss_,
│       ├── ,2Fh5.sinaimg.cn
│       │   └── weibocn
│       │       └── v6
│       │           └── img
│       │               └── face
│       │                   └── face-2_2x.da6893b5.png,40,40_,
│       ├── ,2Fimg0.imgtn.bdimg.com
│       │   └── it
│       │       ├── u=1177563606,2C932820210,26fm=21,26gp=0.jpg,40,40wss_,
│       │       ├── u=1432920690,2C45683490,26fm=21,26gp=0.jpg,40,40wss_,
│       │       ├── u=2020880917,2C2011793753,26fm=23,26gp=0.jpg,40,40wss_,
│       │       └── u=4267044746,2C4127117030,26fm=21,26gp=0.jpg,40,40wss_,
│       ├── ,2Fimg1.imgtn.bdimg.com
│       │   └── it
│       │       └── u=2018604563,2C292198004,26fm=21,26gp=0.jpg,40,40wss_,
│       ├── ,2Fimg2.imgtn.bdimg.com
│       │   └── it
│       │       └── u=2431876580,2C3930485050,26fm=21,26gp=0.jpg,40,40wss_,
│       ├── ,2Fimg3.imgtn.bdimg.com
│       │   └── it
│       │       └── u=858084172,2C4044012933,26fm=23,26gp=0.jpg,40,40wss_,
│       ├── ,2Fimg4.imgtn.bdimg.com
│       │   └── it
│       │       ├── u=1507920679,2C387393321,26fm=21,26gp=0.jpg,40,40wss_,
│       │       └── u=582311584,2C4265687950,26fm=21,26gp=0.jpg,40,40wss_,
│       ├── ,2Fimg5.imgtn.bdimg.com
│       │   └── it
│       │       ├── u=1340689624,2C589568863,26fm=21,26gp=0.jpg,40,40wss_,
│       │       ├── u=1418917262,2C1611336717,26fm=23,26gp=0.jpg,40,40wss_,
│       │       └── u=3157748319,2C2711285310,26fm=23,26gp=0.jpg,40,40wss_,
│       ├── ,2Fimgsrc.baidu.com
│       │   ├── baike
│       │   │   └── pic
│       │   │       └── item
│       │   │           ├── 1ad5ad6eddc451daf8ab62c6b2fd5266d01632b9.jpg,40,40wss_,
│       │   │           └── c2fdfc039245d68837d46080a0c27d1ed31b24c4.png,40,40wss_,
│       │   └── forum
│       │       ├── pic
│       │       │   └── item
│       │       │       ├── 67c8e346eb9d7f778b82a1e7.jpg,40,40wss_,
│       │       │       ├── 6d00a2b38d9f5a117af055d6.jpg,40,40wss_,
│       │       │       ├── 7eea2256e7966a7b6960fbce.jpg,40,40wss_,
│       │       │       ├── 9680a86b6e46b7e8d2a2d322.jpg,40,40wss_,
│       │       │       └── e650e66ff704b98da96457db.jpg,40,40wss_,
│       │       └── w=580
│       │           ├── sign=f94d0669c93d70cf4cfaaa05c8ddd1ba
│       │           │   └── 76e8a8de9c82d1584acc0de1800a19d8bd3e4271.jpg,40,40wss_,
│       │           └── sign=ff60ac7001e9390156028d364bed54f9
│       │               └── f4a2e0f2b211931333c7ebe065380cd790238d3f.jpg,40,40wss_,
│       ├── ,2Fm.baidu.com
│       │   └── static
│       │       └── ala
│       │           └── ui
│       │               └── foot
│       │                   └── ala_icon.gif,40,40wss_,
│       ├── ,2Fn.sinaimg.cn
│       │   └── crawl
│       │       └── 20150210
│       │           ├── OtiO-avxeafs1023999.jpg,40,40wss_,
│       │           └── U8EZ-avxeafs1030917.jpg,40,40wss_,
│       ├── ,2Fretype.wenku.bdimg.com
│       │   └── retype
│       │       └── zoom
│       │           └── b5c276c208a1284ac850431e,3Fpn=1,26x=0,26y=0,26raww=500,26rawh=170,26aimh=95,26o=png_6_0_0_108_414_562_191_1263.375_893.25,26,-
│       │               └── ,26md5sum=7733b561ce69da7d4b94aa2f64fb932d,26sign=4ab2784140,26png=0-30260,26jpg=0-0,26type=pic,40,40wss_,
│       ├── ,2Fs9.rr.itc.cn
│       │   └── org
│       │       └── wapChange
│       │           ├── 20152_10_10
│       │           │   └── b25qc24147118217305.jpg,40,40wss_,
│       │           ├── 20152_10_15
│       │           │   └── a4904d9842990575520.jpg,40,40wss_,
│       │           └── 20152_10_8
│       │               └── a5vz98169515725385.jpg,40,40wss_,
│       └── ,2Fu1.sinaimg.cn
│           └── upload
│               └── 2015
│                   └── 0210
│                       └── 09
│                           └── 64e3cdd5.jpg,40,40wss_,
├── ce_E8H8_YbQ5UdoFhgXFfNc
│   └── http,3A
│       ├── ,2Fm.4008823823.com.cn
│       │   └── kfcmwos
│       │       └── googleapp
│       │           └── images
│       │               ├── xandroid.jpg.pagespeed.ic.4bm6WefCi_.webp,40,40_,
│       │               ├── xbg_02.jpg.pagespeed.ic.m7cZIyuImY.webp,40,40_,
│       │               ├── xbg_03.jpg.pagespeed.ic.gkBTpHA_jx.webp,40,40_,
│       │               ├── xbg_04.jpg.pagespeed.ic.NKmUMl3nYL.webp,40,40_,
│       │               ├── xbg_05.jpg.pagespeed.ic.Lml1l_SLPT.webp,40,40_,
│       │               ├── xiphone.jpg.pagespeed.ic.CuAwjH8Hjv.webp,40,40_,
│       │               └── xshu.jpg.pagespeed.ic.cYPO2HeBJ2.webp,40,40_,
│       ├── ,2Fm.58.com
│       │   └── ga
│       │       ├── ,3Futmac=MO-35618414-1,26utmn=1331291015,26utmr=http,3A
│       │       │   └── ,2Fm.58.com
│       │       │       └── wf
│       │       │           └── ershouche
│       │       │               └── ,3Fminprice=0_3,26from=index_car,26utmp=
│       │       │                   └── wf
│       │       │                       └── car
│       │       │                           └── ershouche
│       │       │                               └── detail
│       │       │                                   └── ,26guid=ON,40,40_,
│       │       ├── ,3Futmac=MO-35618414-1,26utmn=139750019,26utmr=http,3A
│       │       │   └── ,2Fm.58.com
│       │       │       └── yt
│       │       │           └── ,26utmp=
│       │       │               └── yt
│       │       │                   └── car
│       │       │                       └── ershouche
│       │       │                           └── list
│       │       │                               └── ,3Fpn=1,26guid=ON,40,40_,
│       │       ├── ,3Futmac=MO-35618414-1,26utmn=160580307,26utmr=http,3A
│       │       │   └── ,2Fm.58.com
│       │       │       └── bj
│       │       │           └── ,3Futm_source=xiaomi_gg,26utmp=
│       │       │               └── bj
│       │       │                   └── city
│       │       │                       └── ,26guid=ON,40,40_,
│       │       └── ,3Futmac=MO-35618414-1,26utmn=2017858660,26utmr=http,3A
│       │           └── ,2Fm.58.com
│       │               └── wf
│       │                   └── ,26utmp=
│       │                       └── wf
│       │                           └── car
│       │                               └── ershouche
│       │                                   └── list
│       │                                       └── ,3Ffrom=index_car,26amp,3Bpn=1,26guid=ON,40,40_,
│       ├── ,2Fmarket.cmbchina.com
│       │   └── ccard
│       │       └── wap
│       │           └── wapmljtb
│       │               └── images
│       │                   ├── x1.jpg.pagespeed.ic.sTaTqFwRXI.webp,40,40_,
│       │                   ├── x2.jpg.pagespeed.ic.d6trweFESZ.webp,40,40_,
│       │                   ├── x3.jpg.pagespeed.ic.vE3FHiq81t.webp,40,40_,
│       │                   ├── x4.jpg.pagespeed.ic.qYEXuReVxK.webp,40,40_,
│       │                   ├── x5.jpg.pagespeed.ic.lsrz4Yeb2X.webp,40,40_,
│       │                   ├── xbanner.jpg.pagespeed.ic.PmhXSS6JWy.webp,40,40_,
│       │                   ├── xchickimgapp.png.pagespeed.ic.VbHn3sVG-9.png,40,40_,
│       │                   └── xchickimg.png.pagespeed.ic.Au0dqs9YGT.png,40,40_,
│       ├── ,2Fm.baidu.com
│       │   └── static
│       │       ├── ala
│       │       │   └── ui
│       │       │       └── foot
│       │       │           └── ala_icon.gif,40,40_,
│       │       ├── index
│       │       │   └── favicon-57.png,40,40_,
│       │       └── search
│       │           ├── appAla
│       │           │   └── weizhan
│       │           │       ├── cc-ala-logo.png,40,40_,
│       │           │       └── cc-go.png,40,40_,
│       │           └── other
│       │               ├── xregion-icon-big.png.pagespeed.ic.ZGZUlMx7G-.png,40,40_,
│       │               └── xtime_icon_03.png.pagespeed.ic.4z2ygu1N1C.png,40,40_,
│       ├── ,2Fv.youmi.cn
│       │   └── static
│       │       └── images
│       │           └── xnewicon120wangye.png.pagespeed.ic.Mz9D-p4kS-.png,40,40_,
│       ├── ,2Fwww.nhl.com
│       │   └── nhl
│       │       └── images
│       │           └── apple_touch_icons
│       │               ├── xapple-icon-114x114.png,2Cqv=8.17.pagespeed.ic.DV4ezRpTVm.png,40,40_,
│       │               ├── xapple-icon-144x144.png,2Cqv=8.17.pagespeed.ic.f_k1XPBmGq.png,40,40_,
│       │               ├── xapple-icon-57x57.png,2Cqv=8.17.pagespeed.ic.D-bV6qAL1H.png,40,40_,
│       │               └── xapple-icon-72x72.png,2Cqv=8.17.pagespeed.ic.u_a2BJQCtJ.png,40,40_,
│       └── ,2Fzhibo.m.sohu.com
│           └── images
│               └── logo-icon-zhibo.png,40,40_,
└── ic_E8H8_YbQ5UdoFhgXFfNc
└── http,3A
├── ,2F3g.zwxgb999.com
│   └── images
│       ├── ttsj_02.jpg,40x,40vss_,
│       ├── ttsj_23.jpg,40x,40vss_,
│       └── ttsj_24.jpg,40x,40vss_,
├── ,2Fcdn00.baidu-img.cn
│   └── timg,3Fwapbaike,26quality=80,26size=w240,26sec=1349839550,26di=cb5275664758c5b7c6726e4f36e8239b,26imgtype=,26src=http,3A
│       └── ,2Fimgsrc.baidu.com
│           └── baike
│               └── pic
│                   └── item
│                       └── a5c27d1ed21b0ef4a49dbfcbdec451da81cb3e29.jpg,40x,40wss_,
├── ,2Fh5.sinaimg.cn
│   └── weibocn
│       └── v6
│           └── img
│               └── face
│                   └── face-2_2x.da6893b5.png,40x,40_,
├── ,2Fimg0.imgtn.bdimg.com
│   └── it
│       ├── u=1177563606,2C932820210,26fm=21,26gp=0.jpg,40x,40wss_,
│       ├── u=1432920690,2C45683490,26fm=21,26gp=0.jpg,40x,40wss_,
│       ├── u=2020880917,2C2011793753,26fm=23,26gp=0.jpg,40x,40wss_,
│       └── u=4267044746,2C4127117030,26fm=21,26gp=0.jpg,40x,40wss_,
├── ,2Fimg1.imgtn.bdimg.com
│   └── it
│       └── u=2018604563,2C292198004,26fm=21,26gp=0.jpg,40x,40wss_,
├── ,2Fimg2.imgtn.bdimg.com
│   └── it
│       └── u=2431876580,2C3930485050,26fm=21,26gp=0.jpg,40x,40wss_,
├── ,2Fimg3.imgtn.bdimg.com
│   └── it
│       └── u=858084172,2C4044012933,26fm=23,26gp=0.jpg,40x,40wss_,
├── ,2Fimg4.imgtn.bdimg.com
│   └── it
│       ├── u=1507920679,2C387393321,26fm=21,26gp=0.jpg,40x,40wss_,
│       └── u=582311584,2C4265687950,26fm=21,26gp=0.jpg,40x,40wss_,
├── ,2Fimg5.imgtn.bdimg.com
│   └── it
│       ├── u=1340689624,2C589568863,26fm=21,26gp=0.jpg,40x,40wss_,
│       ├── u=1418917262,2C1611336717,26fm=23,26gp=0.jpg,40x,40wss_,
│       └── u=3157748319,2C2711285310,26fm=23,26gp=0.jpg,40x,40wss_,
├── ,2Fimgsrc.baidu.com
│   ├── baike
│   │   └── pic
│   │       └── item
│   │           ├── 1ad5ad6eddc451daf8ab62c6b2fd5266d01632b9.jpg,40x,40wss_,
│   │           └── c2fdfc039245d68837d46080a0c27d1ed31b24c4.png,40x,40wss_,
│   └── forum
│       ├── pic
│       │   └── item
│       │       ├── 67c8e346eb9d7f778b82a1e7.jpg,40x,40wss_,
│       │       ├── 6d00a2b38d9f5a117af055d6.jpg,40x,40wss_,
│       │       ├── 7eea2256e7966a7b6960fbce.jpg,40x,40wss_,
│       │       ├── 9680a86b6e46b7e8d2a2d322.jpg,40x,40wss_,
│       │       └── e650e66ff704b98da96457db.jpg,40x,40wss_,
│       └── w=580
│           ├── sign=f94d0669c93d70cf4cfaaa05c8ddd1ba
│           │   └── 76e8a8de9c82d1584acc0de1800a19d8bd3e4271.jpg,40x,40wss_,
│           └── sign=ff60ac7001e9390156028d364bed54f9
│               └── f4a2e0f2b211931333c7ebe065380cd790238d3f.jpg,40x,40wss_,
├── ,2Fm.4008823823.com.cn
│   └── kfcmwos
│       └── googleapp
│           └── images
│               ├── android.jpg,40x,40w_,
│               ├── bg_02.jpg,40x,40w_,
│               ├── bg_03.jpg,40x,40w_,
│               ├── bg_04.jpg,40x,40w_,
│               ├── bg_05.jpg,40x,40w_,
│               ├── iphone.jpg,40x,40w_,
│               └── shu.jpg,40x,40w_,
├── ,2Fm.58.com
│   └── ga
│       ├── ,3Futmac=MO-35618414-1,26utmn=1331291015,26utmr=http,3A
│       │   └── ,2Fm.58.com
│       │       └── wf
│       │           └── ershouche
│       │               └── ,3Fminprice=0_3,26from=index_car,26utmp=
│       │                   └── wf
│       │                       └── car
│       │                           └── ershouche
│       │                               └── detail
│       │                                   └── ,26guid=ON,40x,40wss_,
│       ├── ,3Futmac=MO-35618414-1,26utmn=139750019,26utmr=http,3A
│       │   └── ,2Fm.58.com
│       │       └── yt
│       │           └── ,26utmp=
│       │               └── yt
│       │                   └── car
│       │                       └── ershouche
│       │                           └── list
│       │                               └── ,3Fpn=1,26guid=ON,40x,40wss_,
│       ├── ,3Futmac=MO-35618414-1,26utmn=160580307,26utmr=http,3A
│       │   └── ,2Fm.58.com
│       │       └── bj
│       │           └── ,3Futm_source=xiaomi_gg,26utmp=
│       │               └── bj
│       │                   └── city
│       │                       └── ,26guid=ON,40x,40wss_,
│       └── ,3Futmac=MO-35618414-1,26utmn=2017858660,26utmr=http,3A
│           └── ,2Fm.58.com
│               └── wf
│                   └── ,26utmp=
│                       └── wf
│                           └── car
│                               └── ershouche
│                                   └── list
│                                       └── ,3Ffrom=index_car,26amp,3Bpn=1,26guid=ON,40x,40wss_,
├── ,2Fmarket.cmbchina.com
│   └── ccard
│       └── wap
│           └── wapmljtb
│               └── images
│                   ├── 1.jpg,40x,40wss_,
│                   ├── 2.jpg,40x,40wss_,
│                   ├── 3.jpg,40x,40wss_,
│                   ├── 4.jpg,40x,40wss_,
│                   ├── 5.jpg,40x,40wss_,
│                   ├── banner.jpg,40x,40wss_,
│                   ├── chickimgapp.png,40x,40wss_,
│                   └── chickimg.png,40x,40wss_,
├── ,2Fm.baidu.com
│   └── static
│       ├── ala
│       │   └── ui
│       │       └── foot
│       │           └── ala_icon.gif,40x,40wss_,
│       ├── index
│       │   ├── favicon-57.png,40x,40vss_,
│       │   └── favicon-57.png,40x,40wss_,
│       └── search
│           ├── appAla
│           │   └── weizhan
│           │       ├── cc-ala-logo.png,40x,40vss_,
│           │       ├── cc-ala-logo.png,40x,40wss_,
│           │       ├── cc-go.png,40x,40vss_,
│           │       └── cc-go.png,40x,40wss_,
│           └── other
│               ├── region-icon-big.png,40x,40wss_,
│               └── time_icon_03.png,40x,40wss_,
├── ,2Fn.sinaimg.cn
│   └── crawl
│       └── 20150210
│           ├── OtiO-avxeafs1023999.jpg,40x,40wss_,
│           └── U8EZ-avxeafs1030917.jpg,40x,40wss_,
├── ,2Fretype.wenku.bdimg.com
│   └── retype
│       └── zoom
│           └── b5c276c208a1284ac850431e,3Fpn=1,26x=0,26y=0,26raww=500,26rawh=170,26aimh=95,26o=png_6_0_0_108_414_562_191_1263.375_893.25,26,-
│               └── ,26md5sum=7733b561ce69da7d4b94aa2f64fb932d,26sign=4ab2784140,26png=0-30260,26jpg=0-0,26type=pic,40x,40wss_,
├── ,2Fs9.rr.itc.cn
│   └── org
│       └── wapChange
│           ├── 20152_10_10
│           │   └── b25qc24147118217305.jpg,40x,40wss_,
│           ├── 20152_10_15
│           │   └── a4904d9842990575520.jpg,40x,40wss_,
│           └── 20152_10_8
│               └── a5vz98169515725385.jpg,40x,40wss_,
├── ,2Fu1.sinaimg.cn
│   └── upload
│       └── 2015
│           └── 0210
│               └── 09
│                   └── 64e3cdd5.jpg,40x,40wss_,
├── ,2Fv.youmi.cn
│   └── static
│       └── images
│           └── newicon120wangye.png,40x,40vss_,
├── ,2Fwww.nhl.com
│   └── nhl
│       └── images
│           └── apple_touch_icons
│               ├── apple-icon-114x114.png,3Fv=8.17,40x,40wss_,
│               ├── apple-icon-144x144.png,3Fv=8.17,40x,40wss_,
│               ├── apple-icon-57x57.png,3Fv=8.17,40x,40wss_,
│               └── apple-icon-72x72.png,3Fv=8.17,40x,40wss_,
└── ,2Fzhibo.m.sohu.com
└── images
└── logo-icon-zhibo.png,40x,40wss_,
239 directories, 130 files
No 4.
I user nginx+pagespeed as a forword proxy for this purpose of bandwidth reduction . In order to avoid most of strange problem unknown , i  disable most filters of the pagespeed here; Do you know that any one take pagespeed as a forword proxy ?  My config listed below . Dose there any advices about it here?
http {
include       mime.types;
default_type  application/octet-stream;
sendfile        on;
keepalive_timeout   0;
pagespeed on;
pagespeed FetchHttps disable;
pagespeed MessageBufferSize           100000;
pagespeed StatisticsPath                    /ngx_pagespeed_statistics;
pagespeed GlobalStatisticsPath              /ngx_pagespeed_global_statistics;
pagespeed MessagesPath                      /ngx_pagespeed_message;
pagespeed ConsolePath                       /pagespeed_console;
pagespeed AdminPath                         /pagespeed_admin;
pagespeed GlobalAdminPath                   /pagespeed_global_admin;
pagespeed FetchWithGzip                     on;
pagespeed UseNativeFetcher                  on;
pagespeed FetcherTimeoutMs                  10000;
pagespeed NativeFetcherMaxKeepaliveRequests 100;
pagespeed RateLimitBackgroundFetches        off; # risk ??
#pagespeed ForceCaching                     on;
pagespeed Statistics                             on;
pagespeed StatisticsLogging                 on;
pagespeed LogDir                            "/home/work/data1/pagespeeed/";
pagespeed ImageMaxRewritesAtOnce            1000;
pagespeed InPlaceResourceOptimization       on;
pagespeed InPlaceRewriteDeadlineMs          2000;
pagespeed RewriteDeadlinePerFlushMs         2000;
pagespeed FileCachePath                     "/home/work/data1/ngx_cachedata/";
pagespeed FileCacheSizeKb                   102400000;
pagespeed FileCacheCleanIntervalMs          3600000;
pagespeed FileCacheInodeLimit               5000000;
pagespeed CreateSharedMemoryMetadataCache  "/home/work/data1/ngx_cachedata/"  16096000;  #KB
pagespeed LRUCacheKbPerProcess              256000;
pagespeed LRUCacheByteLimit                 16384;
pagespeed ImplicitCacheTtlMs                1800000;
pagespeed NumRewriteThreads                 4;
pagespeed NumExpensiveRewriteThreads        32;
server {
    pagespeed                  on;
    listen                     10.101.31.41:8192 ;
    resolver                   223.5.5.5 ;
    resolver_timeout           5s;
    #pagespeed RewriteLevel    CoreFilters;
    pagespeed RewriteLevel     PassThrough;
    pagespeed EnableFilters    extend_cache;
    pagespeed DisableFilters   extend_cache_scripts;
    pagespeed DisableFilters   extend_cache_css;

    pagespeed DisableFilters   rewrite_css;
    pagespeed DisableFilters   rewrite_javascript;
    pagespeed DisableFilters   outline_javascript;

    pagespeed DisableFilters   dedup_inlined_images;
    pagespeed Disallow "*.php**";
    pagespeed AvoidRenamingIntrospectiveJavascript  off;
    pagespeed ReportUnloadTime                      off;
    pagespeed DisableFilters                        add_instrumentation;

    pagespeed EnableFilters                         rewrite_images;
    pagespeed DisableFilters                        inline_images;
    pagespeed EnableFilters                         recompress_images;
    pagespeed EnableFilters                         recompress_jpeg;
    pagespeed EnableFilters                         recompress_png;
    pagespeed EnableFilters                         recompress_webp;
    pagespeed EnableFilters                         strip_image_color_profile;
    pagespeed EnableFilters                         strip_image_meta_data;
    pagespeed EnableFilters                         jpeg_subsampling;
    pagespeed DisableFilters                        resize_images;
    pagespeed DisableFilters                        resize_rendered_image_dimensions;
    pagespeed DisableFilters                        insert_image_dimensions;
    pagespeed DisableFilters                        convert_gif_to_png;
    pagespeed EnableFilters                         convert_png_to_jpeg;
    pagespeed EnableFilters                         convert_jpeg_to_webp;

    pagespeed InPlaceResourceOptimization                   on;
    pagespeed EnableFilters                                 in_place_optimize_for_browser;
    pagespeed ImageRecompressionQuality                     30;
    pagespeed ImageLimitResizeAreaPercent                   95;
    pagespeed ImageLimitOptimizedPercent                    90;

    pagespeed JpegRecompressionQuality                      30;
    pagespeed JpegRecompressionQualityForSmallScreens       20;

    pagespeed WebpRecompressionQuality                      20;
    pagespeed WebpRecompressionQualityForSmallScreens       20;
    pagespeed MaxCacheableContentLength                     2048000;
    pagespeed ServeRewrittenWebpUrlsToAnyAgent              on;
    #pagespeed EnableFilters resize_mobile_images,sprite_images;
    pagespeed NoTransformOptimizedImages                    off;
    pagespeed FileCachePath                                 "/home/work/data1/ngx_cachedata/";

    location /ngx_pagespeed_statistics { allow all; }
    location /ngx_pagespeed_global_statistics { allow all; }
    location /ngx_pagespeed_message { allow all; }
    location /pagespeed_console { allow all; }
    location ~ ^/pagespeed_admin { allow all; }
    location ~ ^/pagespeed_global_admin { allow all; }
    location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; }
    location ~ "^/ngx_pagespeed_static/" { }
    location ~ "^/ngx_pagespeed_beacon$" { return 304; }

    client_header_buffer_size      8k;
    large_client_header_buffers    64 8k;

    location / {
        proxy_pass http://$host$request_uri;
        proxy_set_header    Host       $http_host;

        proxy_buffers                     256 64k;
        proxy_max_temp_file_size          2048000;
        proxy_connect_timeout             5;
        proxy_send_timeout                6;
        proxy_read_timeout                15;
    }
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }
}

No.5
Is there any statistics aboutthe performance of the pagespeed module for nginx ?
Thansk a lot !!!

No. 1

I'm still not sure where those strange filenames are coming from.  I need to look more.

No.2

The shared memory cache should manage it's own evictions;
so i do not need take care about the overflow of the shared memory cache here ?

Correct.

What is the relationship between the shared memory cache and the rname dictionary?

You're currently configured to use a shared memory metadata cache, which should put the equivalent of this rname directory in shared memory.  If you hadn't turned on the shared memory metadata cache you would be using the filesystem to store metadata, in this rname directory.  Your rname directory on disk isn't changing anymore because it's left behind after switching to the shared memory cache.  Eventually the cache cleaner should delete it, when you run low on space.

No.3
My rname dictionary never increase here; all those files under this dictionary looks like below:
Dose there any error here ?

This is all fine: the rname directory on disk isn't being used anymore because you turned on the shared memory metadata cache.

And if i close all the rewrite filter(all about the html), there will be no more things under rname ?

No, this directory won't go away until the cache cleaner gets to it, which won't happen until your cache gets bigger than the size limit.

No 4.
I user nginx+pagespeed as a forword proxy for this purpose of bandwidth reduction.

Ah, I missed that.  Ignore what I said before about host-spam.  Those were from valid forward proxy requests and not from forged host headers.

In order to avoid most of strange problem unknown , i disable most filters of the pagespeed here;
Do you know that any one take pagespeed as a forword proxy ? My config listed below . Dose there
any advices about it here?

The Chrome Data Compression Proxy is a derivative of pagespeed, working as a forward proxy.  One issue you're going to run into is that as a forward proxy you need absolutely huge amounts of cache before the optimizations you make on one request are likely to be useful in serving another request.
Instead of the manual enabling and disabling of filters you're doing, can you just set your RewriteLevel to OptimizeForBandwidth?

No. 5
Is there any statistics aboutthe performance of the pagespeed module for nginx ?

PageSpeed collects statistics about itself, and if you turn on the console you can see them.

No.6
In my config file, the value of CreateSharedMemoryMetadataCache and FileCachePath are the
same location. Could it be setted diffrent? Like that : CreateSharedMemoryMetadataCache located
on the tmpfs while FileCachePath located on the sata or ssd partition ?

The value of CreateSharedMemoryMetadataCache isn't actually where the shared memory cache should be created: it's always created in shared memory, not on disk at all.  Instead that parameter is the path of the file cache that the shared memory metadata cache is supposed to pair with.  So they definitely need to be set to the same value, or else the shared memory metadata cache won't be used at all and instead all the metadata will be stored in the filesystem cache.

Put all the metadata on the memcached server to avoid re-optimised of resource when restart, but i do not want the file data cached on the memcached instead on the local file system.

To avoid reoptimization of resources when you start you should just remove the CreateSharedMemoryMetadataCache setting.  PageSpeed will still use a default shared memory cache, but it will write its changes through to disk.  I know, this is weird.  We'd like to add checkpointing for the shared memory cache, but we haven't finished that yet.
There's currently no way to put the metadata cache in memcached and the file cache on the filesystem.

No.7
When i clear all the old dictionary and restart my nginx+pagespeed, the rname dictionary disapear ?
How could i confirm that the shared metadata cache is in the memroy or on the other place ?

In general, the right way to flush the cache isn't to just delete the files and restart but instead to do this.  Instead of deleting the files this just tells pagespeed not to use files created before the flush.
The rname directory wasn't recreated when you deleted the files and restarted because you're using a manually configured shared memory metadata cache, so it's all in memory.

oH ,You are such a lovely person， thanks  very much for your reply .
"Instead of the manual enabling and disabling of filters you're doing, can you just set your RewriteLevel to OptimizeForBandwidth?"
OK, i will try it later. However, stable and bandwith reduction is our first target at now, i have saw some strange thing before which is caused by the other filters. I think it is either a bug or caused by our uncorrect configure.
"We'd like to add checkpointing for the shared memory cache, but we haven't finished that yet."
That is cool.

authors: jeffkaufman vincentami


text:
What is the best way given a TomlValue to get the string representation of it?

I tired .Get but it's throwing different errors depending on the combination of value type and generic type.
Examples:
Console.WriteLine(Toml.ReadString("a=\"b\"")["a"].Get<object>());

Produces:
FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

And:
Console.WriteLine(Toml.ReadString("a=1979-05-27T07:32:00-08:00")["a"].Get<string>());

Produces:
InvalidOperationException: Cannot convert from type 'date time' to 'String'.

Your first example should be:
Console.WriteLine(Toml.ReadString("a=\"b\"")["a"].Get<string>());

I admit the behavior when using no conversion at all - as the type arg is object - is not very good. I'll check if I can improve that behavior in the future.
The TomlDateTimeOffset can not be converted to a string directly. This is by design, as I'm not a fan of implicit conversions as I was bitten by too many subtle bugs because of them in the past.
Your second example will work with the following modification:
Console.WriteLine(Toml.ReadString("a=1979-05-27T07:32:00-08:00")["a"].Get<DateTimeOffset>().ToString());

@paiden Thank you for this, it does not answer the question though. I need a uniform way to print a string representation of a TomlValue. You gave to different ways, one of which won't work for dates and the other won't work for strings, which does not solve the problem.
Of course I can write a giant switch statement and write different conversions for each possible type, but that's usually what libraries are for. So... impossible to do it easily and naturally?

An easy way to get what I want would be this:
	Console.WriteLine(((dynamic)Toml.ReadString("a=\"b\"")["a"]).Value);
	Console.WriteLine(((dynamic)Toml.ReadString("a=1979-05-27T07:32:00-08:00")["a"]).Value);

Unfortunately this incurs a heavy run-time penalty because of use of dynamic. Run-time dynamic dispatch is notorious for reduced performance. It has a distinct advantage of being simple/succinct though.

Fixed in 0.10.1 release

authors: AndrewSav paiden

repo: paiden/Nett


text:
Redesign desktop homepage per Figma

Summary
First pass of desktop homepage redesign per figma and Zeplin
A/C
AS a User on a screen larger than [SIZE TBD]
WHEN I visit the homepage of the staging site
THEN It matches the Figma desktop designs
We need to decide at this point what the size cutoff for mobile vs. desktop sizing is (and if we'll need a third layout for intermediate size screens like tablets)
Resources:

Docs on Media queries: https://developer.mozilla.org/en-US/docs/Web/CSS/@media

Remaining To-dos:

[x] Change section header style for larger screens
[x] Expand footer with horizontally arranged social logos on larger screens
[x] Switch from nav hamburger to links across header on larger screens
[x] Switch to hamburger when desktop is half the size.
[x] ~Use em instead of px media queries?~ Moved to #171
[x] ~Address navigation tray transition visual artifacts as screen size crosses mobile size breakpoint~ Moved to #170

Calling this done for now. Outstanding units of work and additional polish steps can be addressed in separate, smaller issues.

repo: paketo-buildpacks/paketo-website


text:
Problem that multiple prisma clients are created when in development state

The following is the issue related to this.
https://github.com/prisma/prisma/issues/5007#issuecomment-740803749
I hope this applies to the default template created by 'pal c'. (src/Api/context.ts)

Fixed in v3.0.0

authors: AhmedElywa gtolarc

repo: paljs/prisma-tools


text:
Feat: Implement web-provider package

Describe changes
To communicate with zkApps, Pallad must be able to receive requests and provide back data; Pallad must be able to talk! It must do so by following a specific pattern. A good implementation of the injected provider means developers spend little time integrating a wallet Pallad, and users of Pallad have granular control over what information they do and do not provide when their wallet receives a request.
This implementation is modelled around EIP-1193 with the mina_ prefix instead of the eth_ prefix.
Preliminary Mina-specific Tasks:

[ ] add versioning of API
[ ] request method

[x] mina_accounts RPC Method
[x] mina_sign RPC Method
[x] mina_signTransaction  RPC Method
[x] mina_signFields  RPC Method
[x] mina_signMessage RPC Method (done in mina_sign)
[x] mina_getBalance RPC Method
[x]  mina_chainId RPC Method
[ ] mina_sendTransaction RPC Method
[ ] mina_createNullifier RPC Method

[x] enable method
[x] connect method
[x] disconnect method
[x] application listeners

[x] on
[x] once
[x] removeListener
[x] off

[ ] Correct event emitting

[ ] accountsChanged
[x] chainChanged

[x] Error handling

[x] 4001
[x] 4100
[x] 4200
[x] 4900
[x]  4901

[ ] Integrate into extension

Secondary Web3 Broad Tasks:

[ ] Abstract over the MinaProvider to make a UniversalProvider for other ecosystems like Protoki, Zeko, Ethereum
[ ] Add versioning

pls review

pls review

pls review

pls review

TODO: Complete e2e scenarios.

repo: palladians/pallad


text:
support 'echo_pool' option when creating the engine.

I would like to add support for turning on the 'echo_pool' option when creating the engine.
http://docs.sqlalchemy.org/en/rel_0_9/core/engines.html#sqlalchemy.create_engine.params.echo_pool

Mind giving this a rebase?

Thanks for contributing and sorry it's taken so long to get you a reply.  This will be supported by https://github.com/pallets/flask-sqlalchemy/pull/684 which I hope to get merged and released soon.

authors: immunda rsyring yonil

repo: pallets/flask-sqlalchemy


text:
loop with conditions should be fully aware of filters in loop.length etc methods

I have also posted this bug here:
https://github.com/home-assistant/home-assistant/issues/27435

Expected Behavior
Looping through a set and calling loop.length should list the length within the filtered list
Actual Behavior
The loop.length reports the filtered list length only up to the first "and"
Template Code
{% for state in states.sensor if 'seventeentrack_package_' in state.entity_id and state.state == 'Ready to be Picked Up' -%}{% if loop.first %}You have {{loop.length}} packages ready to pick up: {% else %}, {% endif %}{{state.name}}{% endfor %}

The result is: "You have 2 packages ready to pick up: Sense Energy Monitor"
I have 2 packages, of which only 1 is waiting to be picked up ... I have hundreds of sensors, so the first condition is working.
Your Environment
Home Assistant (Docker image 0.99.3)
https://hub.docker.com/r/homeassistant/home-assistant/

This is a bug with loop.length, not with multiple conditions. The following template demonstrates the length working with two conditions, but changing the loop to be only one item long produces a count of two. Fairly sure this is a duplicate of #751 and #794.
{% for i in range(10) if i is odd and i < 8 %}
{{ i }} / {{ loop.length }}
{% endfor %}

1 / 4
3 / 4
5 / 4
7 / 4

This is a bug with loop.length, not with multiple conditions.
Ahh just assumed that the 2nd condition was not being considered in .Length since I had 2 items in the list if the 2nd condition wasn't there :P

repo: pallets/jinja


text:
Add pointer to the deploying documentation

Updated as part of Flask issue 721

I forgot that we had an example there too, thanks!

authors: etothemanders untitaker

repo: pallets/website


text:
Server is slow on IPV6 networks

Hi,
The server runs extremely slowly on ipv6.
While this was addressed in the documentation, none of them seem to work for us.
Has this been resolved?
We are using 0.16.1

I doubt this is a werkzeug issue...

Would you be able to suggest a methodology of checking this?  I am running a flask server which uses werkzeug.

We have two modems (one which has 5G and one which does not).
The flask program runs very fast on the one without 5G and runs extremely slowly on the one which does.
My hypothesis is that this is due to Werkzeug and the IPV6 issue.  Does that make sense?

just fyi, the builtin werkzeug server is NOT SUITABLE for production usage.. and since you access it over 5g it sounds a bit like you are using it in production

we dont use it for production usage.

The HTTP server is provided by Python's [http.server[(https://docs.python.org/3/library/http.server.html) module, all Werkzeug is doing is wrapping that to create a WSGI environ for the request and call the application. Any performance issues are unlikely to be due to something Werkzeug controls.

Thanks for the clarification.

authors: ThiefMaster davidism galeej

repo: pallets/werkzeug


text:
BUG: Transaction Type not Supported - OP-GETH for Pigeon broken with Cosmos SDK 0.50.0 Upgrade

What is happening?

Section description
Provide as much context as you can. Give as much context as you can to make it easier for the developers to figure what is happening.

From @byte-bandit

Okay. Looks like the upgrade broke support for op-geth in Pigeon. We're using op-geth for relaying to optimism. transaction type not supported indicates that probably the wrong library is being used.

I'd start by double checking the changes made to Pigeon for the Upgrade and focus especially around changes in the op-geth area as well as the ion client. It might also be that we need to upgrade the op-geth dependency, there might be a newer version available.

I can see this logs when ever i tried to deploy the compass on the op-main
`Mar 22 09:55:55 m2 pigeon[437672]: {"chain-reference-id":"op-main","error":"transaction type not supported","level":"error","msg":"incorrect chain","time":"2024-03-22T09:55:55Z","x-correlation-id":"cnulb775a6blng7cs900"}
Mar 22 09:55:55 m2 pigeon[437672]: {"chain-reference-id":"op-main","level":"debug","msg":"Releasing mutex.","time":"2024-03-22T09:55:55Z","x-correlation-id":"cnulb775a6blng7cs900"}
Mar 22 09:55:57 m2 pigeon[437672]: {"chain-reference-id":"op-main","error":"transaction type not supported","level":"error","msg":"incorrect chain","time":"2024-03-22T09:55:57Z","x-correlation-id":"cnulb7n5a6blng7cs910"}
Mar 22 09:55:57 m2 pigeon[437672]: {"chain-reference-id":"op-main","level":"debug","msg":"Releasing mutex.","time":"2024-03-22T09:55:57Z","x-correlation-id":"cnulb7n5a6blng7cs910"}
Mar 22 09:56:00 m2 pigeon[437672]: {"chain-reference-id":"op-main","error":"transaction type not supported","level":"error","msg":"incorrect chain","time":"2024-03-22T09:56:00Z","x-correlation-id":"cnulb8f5a6blng7cs920"}
Paloma and pigeon versions and logs

Section description
Write down paloma version.
Write down pigeon version.
Copy and paste pigeon config file as well as relevant ENV variables.

Master.
How to reproduce?

Section description
Please write detailed steps of what you were doing for this bug to appear.

Private Testnest failures
What is the expected behaviour?

Section description
If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.

Fixed with upgrade to OP-GETH.

repo: palomachain/paloma