Dependency resolution error with overridden sbt paths

If I run sbt with non-default paths, by setting the sbt.global.base, sbt.boot.directory and sbt.ivy.home system properties, dependency resolution fails with an error like this (immediately when starting sbt):
[error] 4 error(s):
[error]   org.scala-sbt:global-plugins;sbtVersion=0.13;scalaVersion=2.10:0.0:
[error]     not found: /home/daurban/tmp/bug/hm/.sbt/0.13/plugins/target/resolution-cacheorg.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/resolved.xml.xml
[error]     Not found
[error]     not found: https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: /home/daurban/tmp/bug/hm/.ivy2/local/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: https://jcenter.bintray.com/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
[error]     not found: https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
[error]   org.scala-sbt:global-plugins;sbtVersion=0.13;scalaVersion=2.10:0.0:
[error]     not found: /home/daurban/tmp/bug/hm/.sbt/0.13/plugins/target/resolution-cacheorg.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/resolved.xml.xml
[error]     Not found
[error]     not found: https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: /home/daurban/tmp/bug/hm/.ivy2/local/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: https://jcenter.bintray.com/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
[error]     not found: https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
[error]   org.scala-sbt:global-plugins;sbtVersion=0.13;scalaVersion=2.10:0.0:
[error]     not found: /home/daurban/tmp/bug/hm/.sbt/0.13/plugins/target/resolution-cacheorg.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/resolved.xml.xml
[error]     Not found
[error]     not found: https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: /home/daurban/tmp/bug/hm/.ivy2/local/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: https://jcenter.bintray.com/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
[error]     not found: https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
[error]   org.scala-sbt:global-plugins;sbtVersion=0.13;scalaVersion=2.10:0.0:
[error]     not found: /home/daurban/tmp/bug/hm/.sbt/0.13/plugins/target/resolution-cacheorg.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/resolved.xml.xml
[error]     Not found
[error]     not found: https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: /home/daurban/tmp/bug/hm/.ivy2/local/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]     not found: https://jcenter.bintray.com/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
[error]     not found: https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
java.lang.Exception: Encountered 4 error(s) in dependency resolution
        at coursier.Tasks$$anonfun$resolutionTask$1.coursier$Tasks$$anonfun$$resolution$1(Tasks.scala:534)
        at coursier.Tasks$$anonfun$resolutionTask$1$$anonfun$apply$34.apply(Tasks.scala:550)
        at coursier.Tasks$$anonfun$resolutionTask$1$$anonfun$apply$34.apply(Tasks.scala:550)
        at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:189)
        at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:91)
        at coursier.Tasks$$anonfun$resolutionTask$1.apply(Tasks.scala:543)
        at coursier.Tasks$$anonfun$resolutionTask$1.apply(Tasks.scala:228)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:235)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[error] (*:coursierResolution) java.lang.Exception: Encountered 4 error(s) in dependency resolution
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

A possible reason might be that here: https://github.com/alexarchambault/coursier/blob/master/plugin/src/main/scala-2.10/coursier/Tasks.scala#L404 the globalPluginsRepo uses a path constructed form the user.home system property (and not the sbt.global.base property). Please also note, that the error message refers to a path /home/daurban/tmp/bug/hm/.sbt/0.13/plugins/target/resolution-cacheorg.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/resolved.xml.xml. There seems to be 2 problems with this: (1) its under user.home as noted above; and (2) there seem to be a slash ("/") missing (after resolution-cache and before org.scala-sbt).
Please also note, that on the machine I tried this, the default paths (derived from user.home) does not contain valid sbt directories.

https://github.com/alexarchambault/coursier/commit/908a596b6d2330e66cd3ae5dd4fe6318d7828f7f should fix that. It will be included with 1.0.0-M14, that should be released in a few hours.

Indeed, this seems to be fixed in 1.0.0-M14. Thanks!

Hi,
I was running into a similar issue as I was trying to start SBT in a coursier checkout:
[info] Resolved coursier-build-build dependencies
coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
  org.scala-sbt:global-plugins;sbtVersion=0.13;scalaVersion=2.10:0.0:
    not found:
      https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
      https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
      /home/claudio/.ivy2/local/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
      https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
      https://oss.sonatype.org/content/repositories/releases/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
[error] (*:coursierResolution) coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]   org.scala-sbt:global-plugins;sbtVersion=0.13;scalaVersion=2.10:0.0:
[error]     not found:
[error]       https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]       https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]       /home/claudio/.ivy2/local/org.scala-sbt/global-plugins/scala_2.10/sbt_0.13/0.0/ivys/ivy.xml
[error]       https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
[error]       https://oss.sonatype.org/content/repositories/releases/org/scala-sbt/global-plugins_2.10_0.13/0.0/global-plugins-0.0.pom
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? r

The reason, apparently, was that I had deleted the ~/.sbt/0.13/plugins/target directory because of an Ensime issue (ensime/ensime-sbt#280) even after removing the Ensime SBT plugin from my global plugins.
So, in order to build coursier, you need to initially run SBT in another project in order to seed the ~/.sbt/0.13/plugins/target/resolution-cache folder.

@alexarchambault I just hit this with current version.

I hit on this problem as well. The problem was that I was using two different versions of coursier in project/plugins.sbt and project/project/plugins.sbt. The problem was fixed by using the same version in both places
// project/project/plugins.sbt
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.2")
// project/plugins.sbt
addSbtPlugin("io.get-coursier" % "sbt-coursier" % coursier.util.Properties.version)


Cannot create channel - panic runtime error

I am currently unable to create channels on the tesnet. Here's the logs. Can you point me in the right direction? I am running v0.1.4
lnd: 2018-02-18 08:13:12.422 [INF] CMGR: 1 addresses found from DNS seed testnet-seed.bluematt.me
lnd: 2018-02-18 08:13:12.506 [INF] BTCN: New valid peer <IP_ADDRESS>:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2018-02-18 08:13:12.507 [INF] BTCN: Syncing to block height 1283459 from peer <IP_ADDRESS>:18333
lnd: 2018-02-18 08:13:13.353 [INF] LNWL: Opened wallet
lnd: 2018-02-18 08:13:12.300 [WRN] LTND: open ../lnd.conf: The system cannot find the file specified. 2018-02-18 08:13:12.301 [INF] LTND: Version 0.3.0-alpha 2018-02-18 08:13:12.302 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0 2018-02-18 08:13:12.307 [INF] LTND: Primary chain is set to: bitcoin 2018-02-18 08:13:12.327 [INF] BTCN: Loaded 1026 addresses from file 'C:\Users\Quantik\AppData\Local\Lnd\data\testnet3\bitcoin\peers.json' 2018-02-18 08:13:12.329 [INF] CMGR: DNS discovery failed on seed x49.testnet-seed.bitcoin.jonasschnelli.ch: lookup x49.testnet-seed.bitcoin.jonasschnelli.ch: no such host 2018-02-18 08:13:12.330 [INF] CMGR: DNS discovery failed on seed x49.seed.tbtc.petertodd.org: lookup x49.seed.tbtc.petertodd.org: no such host
lnd: 2018-02-18 08:13:12.422 [INF] CMGR: 1 addresses found from DNS seed testnet-seed.bluematt.me
lnd: 2018-02-18 08:13:12.506 [INF] BTCN: New valid peer <IP_ADDRESS>:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2018-02-18 08:13:12.507 [INF] BTCN: Syncing to block height 1283459 from peer <IP_ADDRESS>:18333
lnd: 2018-02-18 08:13:13.353 [INF] LNWL: Opened wallet
lnd: 2018-02-18 08:13:13.552 [INF] CMGR: 25 addresses found from DNS seed testnet-seed.bitcoin.schildbach.de
lnd: 2018-02-18 08:13:14.395 [INF] LNWL: The wallet has been unlocked without a time limit
lnd: 2018-02-18 08:13:14.402 [INF] LTND: LightningWallet opened
```lnd: 2018-02-18 08:13:14.405 [INF] LNWL: Started rescan from block<PHONE_NUMBER>0004eb62a474fa37fd25454fbdda019ae9fc08626c72d157af5f1d (height 1283459) for 32 addresses
lnd: 2018-02-18 08:13:14.405 [INF] LNWL: Catching up block hashes to height 1283459, this might take a while
lnd: 2018-02-18 08:13:14.406 [INF] LNWL: Done catching up block hashes 2018-02-18 08:13:14.406 [INF] LNWL: Finished rescan for 32 addresses (synced to block<PHONE_NUMBER>0004eb62a474fa37fd25454fbdda019ae9fc08626c72d157af5f1d, height 1283459)
lnd: 2018-02-18 08:13:14.407 [INF] RPCS: RPC server listening on <IP_ADDRESS>:10009
lnd: 2018-02-18 08:13:14.407 [INF] LTND: Waiting for chain backend to finish sync, start_height=1283459
lnd: 2018-02-18 08:13:14.407 [INF] RPCS: gRPC proxy started at localhost:8080
lnd: 2018-02-18 08:13:14.407 [INF] LTND: Chain backend is fully synced (end_height=1283459)!
lnd: 2018-02-18 08:13:14.407 [INF] HSWC: Starting HTLC Switch
lnd: 2018-02-18 08:13:14.407 [INF] NTFN: New block epoch subscription
lnd: 2018-02-18 08:13:14.408 [INF] BRAR: Watching for the closure of ChannelPoint(3a371c86ccf88edf6c0661214e2c63a1894bb67e625b401f415d636356227a89:0)
lnd: 2018-02-18 08:13:14.408 [INF] DISC: Authenticated Gossiper is starting
lnd: 2018-02-18 08:13:14.408 [INF] NTFN: New confirmations subscription: txid=efd02ba9a8f16d4e8f76b5261f446182b3ff9b2738710130b7664dabc56f8f85, numconfs=1, height_hint=1283459
lnd: 2018-02-18 08:13:14.408 [INF] NTFN: New block epoch subscription
lnd: 2018-02-18 08:13:14.408 [INF] CRTR: FilteredChainView starting
lnd: 2018-02-18 08:13:14.412 [INF] CRTR: Filtering chain using 7555 channels active
lnd: 2018-02-18 08:13:14.414 [INF] CRTR: Prune tip for Channel Graph: height=1280644, hash=000000003246005703f608a38cc5b79c267a5eca995e50900fe3a15db5549016
lnd: 2018-02-18 08:13:14.414 [INF] CRTR: Syncing channel graph from height=1280644 (hash=000000003246005703f608a38cc5b79c267a5eca995e50900fe3a15db5549016) to height=1283459 (hash=00000000000004eb62a474fa37fd25454fbdda019ae9fc08626c72d157af5f1d)
lnd Error: panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x20 pc=0x84d0af] goroutine 1 [running]: github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcutil/gcs.(*Filter).MatchAny(0x0, 0xff8c90d716aea564, 0x515e8a02bb5be8da, 0xc0427fc000, 0x1d83, 0x1d83, 0x0, 0x0, 0x0) /Users/bryanvu/work/src/github.com/lightningnetwork/lnd/vendor/github.com/roasbeef/btcutil/gcs/gcs.go:313 +0x4f github.com/lightningnetwork/lnd/routing/chainview.(*CfFilteredChainView).FilterBlock(0xc04205fc30, 0xc04247c380, 0xc04247c380, 0x0, 0x0) /Users/bryanvu/work/src/github.com/lightningnetwork/lnd/routing/chainview/neutrino.go:258 +0x638 github.com/lightningnetwork/lnd/routing.(*ChannelRouter).syncGraphWithChain(0xc04226a000, 0xc04267a000, 0x1d83) /Users/bryanvu/work/src/github.com/lightningnetwork/lnd/routing/router.go:450 +0x6c9 github.com/lightningnetwork/lnd/routing.(*ChannelRouter).Start(0xc04226a000, 0x0, 0x0) /Users/bryanvu/work/src/github.com/lightningnetwork/lnd/routing/router.go:324 +0x40e main.(*server).Start(0xc042034300, 0xe9092b, 0x2e) /Users/bryanvu/work/src/github.com/lightningnetwork/lnd/server.go:415 +0x124 main.lndMain(0x0, 0x0) /Users/bryanvu/work/src/github.com/lightningnetwork/lnd/lnd.go:401 +0x1712 main.main() /Users/bryanvu/work/src/github.com/lightningnetwork/lnd/lnd.go:450 +0x3d``

There is no v0.1.4. If you were running a very old version of lnd, and then updated to master recently. You might run into issue with the neutrino backend more as the protocol has changed over time, but is now stable (BIPs assigned).

Any update on this?

I mistake it for the lightning app repo. Sorry


Improve kind score operation

This PR reduces ufunc kernel launch time.

jenkins, test this please.

Jenkins CI test (for commit 830a7f07f7638e2007665433f33e239a57e33e73, target branch master) succeeded!

LGTM. Merging.


Global static class

I suggest adding a global class to the application. Here we can have static values that are used throughout the application - such as version number and setting flags.
It might also allow the Toolbar at the top to access the MatrixList, if we put the static list of Matrices there? They could be accessed globally and then whenever the overview's focus was changed, we call an event to update the list in case there was any changes? What do you think?

An interesting idea. I quite like it. I say we go for it, for now :+1:

After implementing the Global class there is no reference made to mainApp variable from MatrixOverviewController. Should I keep this in?

I don't see anything wrong with that. I would suggest moving the loadAll section in MainApp elsewhere, since it doesn't really make sense there. Perhaps MatrixOverviewController.

By loadAll - you mean loading all Matrices that are saved into the application?

Yeah, where you call that method.


Not showing correct time slots available

When dealing with multiple hour events, some slots that shouldn't be available shows up. (This is before considering priority algorithms).

So I was testing some things around and I figured out that Jon actually wrote a bit of code that deals with priority and that was causing what I thought was a problem.
I guess the new issue is how we are going to distinguish slots that are available due to priority and does that are just available due to time.


Reset route stack to a new route with back animation

Is it possible to achieve a "resetTo" function to reset stack with back animation, like it was possible to do with Navigator component (http://facebook.github.io/react-native/releases/0.34/docs/navigator.html#resetto) ?
I search many places and didn't found anything that works fine. I found how to "replace" a scene (which is missing), but I miss the "resetTo" function also.
Beside I wonder why these "classical" functions are not implemented, I really need them.
Thanks in advance

I miss this feature too :cry:

That's a must.

That's a must.


FIX UploadField incorrectly setting max upload size

Fixed #6286
UploadField is capable of looking up the max upload size itself rather than needing it to be set on __construct.

Oops symfony; Fixed with https://github.com/symfony/console/commit/ddb26174398f48486ac4231dc4f4cb27c3acba71 :)

I think this is why @sminnee wants us to switch to min-stability stable. I'm starting to see why.

I have a believer!

Updated branch for merge. Let's see if tests pass.

@dhensby if tests pass you have my approval to merge this PR.


Initial Prometheus DNSSEC Exporter package, module and test

Prometheus DNSSEC Exporter package, module and test
Description of changes
This PR introduces the prometheus-dnssec-exporter package and its accompanying NixOS module services.prometheus.exporters.dnssec to the Nixpkgs collection. The prometheus-dnssec-exporter is a tool designed to check the validity and expiration of DNSSEC signatures and expose these metrics for Prometheus, making it a valuable asset for monitoring the health and security of DNS infrastructure.
Things done

Added prometheus-dnssec-exporter package, allowing users to easily deploy this tool in a Nix environment.

Created a NixOS module services.prometheus.exporters.dnssec, facilitating simple configuration and deployment of the service within NixOS systems.

Implemented a NixOS test for the services.prometheus.exporters.dnssec module to ensure its correct operation and integration within the NixOS ecosystem.

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage

[x] Tested basic functionality of all binary files (usually in ./result/bin/)

24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

@eclairevoyant thanks for taking the time to give me useful feedback!
I accidentally messed up my setup and branch, which ended up in a new PR:
https://github.com/NixOS/nixpkgs/pull/299946
I hope it's a good fit this time.


Cleanup chart junk

Codecov Report

Merging #147 into master will decrease coverage by 0.14%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #147      +/-   ##
==========================================
- Coverage      87%   86.85%   -0.15%
==========================================
  Files          14       14
  Lines        2078     2070       -8
  Branches      381      379       -2
==========================================
- Hits         1808     1798      -10
  Misses        139      139
- Partials      131      133       +2

Impacted Files
Coverage Δ

wqio/datacollections.py
91.05% <ø> (-0.05%)
:arrow_down:

wqio/features.py
80.85% <100%> (-0.26%)
:arrow_down:

wqio/viz.py
88.95% <0%> (-1.11%)
:arrow_down:

Continue to review full report at Codecov.

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


Unable to answer a request a copy using "helpdesk" strategy in DSpace 7.2

Describe the bug
When request a copy is enabled with helpdesk settings, if we try to either approve or reject a request for a copy by anonymous user, an error 500 occurs (see log file for details: - dspace.log).
Our resquest a copy are configurations are as follow:
request.item.type = all
mail.helpdesk = (valid email of our Helpdesk)
request.item.helpdesk.override = true
The error occurs even if the user have admin permissions on the collection to which the item requested belongs.
To Reproduce

Activate request a copy with Helpdesk Strategy: https://wiki.lyrasis.org/display/DSDOC7x/Request+a+Copy#RequestaCopy-(Optional)RequestingacopywithHelpDeskworkflow
As anonymous user, look at an embargoed item, click on the file to display the request a copy form.
Complete and send the request a copy form
As helpdesk staff, look at the email inbox
Open the Request a copy email and click on the link to respond to it.
Use your DSpace Credentials to connect (First problem, as previously this was available anonymously)
On the response form try to approve or decline the request.
An error message appears. (Second problem, as it's not possible to submit the request when HelpDesk strategy is enabled)

Expected behavior
No error messages, the database is updated to reflect if the request has been approved or rejected and the user received the email response and, if the request has been accepted, the item file(s).
Related work
Don't know if this problem could relate to #8199

Hi, we have also been testing this and can confirm that we experience the same behaviour. We have also tried to approve the request logged in as a user that has the right permissions on the item and we still experience the error: Unable to perform PUT request as the current user does not have sufficient rights
This confirms that this is a separate issue to #8199

The problem seems to be that the mail.helpdesk doesn't name the logged-in user.  I'm not sure how this ever worked in the general case.  I can well imagine having a generic helpdesk mailing list that doesn't name any specific user.  I see two solutions.
One is to invent a Group, put all of the authorized helpdesk EPersons in it, and configure the helpdesk strategy to know which group it is.  The decision whether to permit this user to approve/deny a request would move to the strategy classes.
The other is to extend the strategy interface with a method returning true if the user should be checked for permission, and let the helpdesk implementation return false.  So, when using the helpdesk strategy, anyone who can figure out the link to a request can administer it.  I don't like this one, but it is simpler.
By the way:  if there is no user matching the helpdesk address, the strategy returns a value from the message catalog, which turns out to be "Help Desk", which is never going to match any logged-in user.
Why an AuthorizeException turns into a 500 is not clear to me.

Having looked at #8311, I see that the helpdesk strategy was intended to rely on security-through-obscurity, which suggests the second of my proposed fixes (or something like it).

Hi Mark,
That is exactly how we were using it in version 5.x: with the Helpdesk strategy enabled, we specified a generic support email address (group inbox) and then anybody with access to the request approval link could approve it without having to log in. This is the only scenario that works for us because all our submitters do submit through an external system, which uses an internal administrator account in DSpace.

After discussion with @mwoodiupui , I've updated the description a bit to make it clear that this bug is specific to the Help Desk Strategy.  Not sure if we'll have time to fix this bug in 7.3, but it's flagged as high priority for 7.4.  I'll also add a note to the documentation about this bug here: https://wiki.lyrasis.org/display/DSDOC7x/Request+a+Copy#RequestaCopy-(Optional)RequestingacopywithHelpDeskworkflow

This has been fixed in #8319 except for the authentication problem which has been moved to #8636 (as it requires further analysis)


HSEARCH-3363 Don't try to report to Coveralls.io or SonarCloud in the Jenkinsfile when coverage data is missing

https://hibernate.atlassian.net//browse/HSEARCH-3363

Pull Request Test Coverage Report for Build 1

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 86.706%

Totals

Change from base Build 13:
0.0%

Covered Lines:
10129

Relevant Lines:
11682

💛  - Coveralls

Looks good.

Merged, thanks


Fix the functionality of the search button on dzcode

Describe the bug
when pushing the search button nothing happen.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://www.dzcode.io/'
Click on 'Search button on the left side on the top of the website'

Expected behavior
It should be a text area for writing when pushing the search button.
Desktop (please complete the following information):

OS: [windows 10]

Additional context
Browser: Google Chrome.

Thanks for reporting the bug @AhmedAbdelhak1 will investigate ASAP

The problem is: there is no event handling nor the input field. the whole search functionality does not exist at all.
https://github.com/dzcode-io/dzcode.io/blob/f56f2fda7c0ad5c0eec370ca8383ac6939a1498b/frontend/src/apps/main/components/navbar/index.tsx#L135

@AM-77 and @AhmedAbdelhak1 , since the content was not clear at the time we implemented the search component, we didn't have a clear decision on what to search for, but now it's clear that we search for the three main sections of the website (documentation, projects, article), will postpone this feature for the next milestone

This one will be handled in #216


deriveProof does not support blank node identifiers for credentialSubject

Originally discovered by @brianorwhatever
See is reproduction here:
https://github.com/transmute-industries/verifiable-data/pull/76
Surfacing from the linked PR description:
Related issues:

#121
#128

Questions:

Is it possible to use deriveProof on a credential with no credentialSubject.id?  this example implies that it should be possible...

Current hypothesis is that is may be VC related by not LD Suite related... working to confirm that on the linked PR.

I have attempted to recreate with just the linked data proof from example 12 above and ran into an issue with the id already being a node identifier

removing the id derived a proof properly however I'm now running into a internal error in Neon module: index out of bounds: the len is 5 but the index is 5 problem on verification

Hmm, this test maybe covers this case https://github.com/mattrglobal/jsonld-signatures-bbs/blob/master/tests/AnonymousVC.spec.ts

What's the suggested fix to this issue? Force the use of id in credentialSubject?

@tmarkovski that would be a suggested interim solution however the long term solution is a revision to the proof suite that accounts for this case in the URDNA algorithm. Given the recent consensus we have had around https://github.com/decentralized-identity/bbs-signature/issues/10 I'm working on an updated implementation that incorporates this among various other changes


Grafting Support

One of the next big enhancements that could potentially have a big impact in BN completion times is strategic use of Grafting (available once BN 10 is completed) This is especially useful when:

There is ample money available, but reputation needed to unlock augmentations is hard to come by (often true when we've been stagnating in a BN for a long time thanks to the stock script)
Resets are precious (as in BN8) and we need to boost our aug count (for Daedalus requirement) and or hack/exp levels without resetting if possible.

For example:

When the only remaining requirement for Daedalus is hack, grafting the remaining aug(s) that gives the biggest hack boost might be faster than training and/or grinding reputation with the factions that would provide these augs and installing.
In Bitnodes where reputation gain is severely penalized, so grinding reputation is not worthwhile
In (if I recall correctly) the gangs bitnode when you can only get augmentations from your gang, but certain augs are not available? (this may no longer be the case)

I also have been seeing work-for-faction.js spend quite a lot of money and time (sometimes hours) trying to study/train a certain stat. (The current heuristic for determining whether training/studying is worthwhile is not great). If we can improve this heuristic to use the actual rep gain rate and determine how long we'd have to train to achieve the desired stat, we can compare that to the time to Graft 1 or 2 augs instead.
Note that everything gets more complicated because we have to take into account stat reductions from entropy virus until we can afford "violet Congruity Implant" to cure it. This can have complex interactions, such as breaking daemon.js' assumptions about being able to hack targets when our hack level suddenly decreases. While it's sub-optimal, we may wish to wait on doing any grafting until we have plenty more than the 150t required to first install this (and make sure spending this money wouldn't be too much of a setback vs. just installing all the available augs.)

Even before adding general grafting support, I may want to add some special case logic for BN8 to set up a sequence of 30 augmentations to graft, focusing on the very cheapest ones (to boost aug count without eating too much of our investment income) as well as ones that boost hack level / exp (to unlock factions - especially daedalus)

#166 might be an early duplicate of this


能提供下模型文件嘛

自己训练感觉要好久的

邮箱，晚些时候发给你

我训练到loss=2左右 看predict 还是很一般，不知道最后的效果是否能有多好

InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [7773,512] rhs shape= [7773,128]          [[Node: save/Assign_3 = Assign[T=DT_FLOAT, _class=["loc:@rnn/embedding"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](rnn/embedding/Adam, save/RestoreV2_3/_19)]]

我拿自己的模型 predict 一直报错。。

将sample.py和train.py的num_units 数量调到一致

模型还是发一份给我吧，

@xxllp , how long did you take to trained the model ?  it took me more than 25 hours and still running .

我运行了几个小时看loss 没有下降就停止了。大概1-2左右吧

you meant to say that you trained the model successfully for few hours . what's is going then for me ?  model is still running .. almost over 26 hours  ..no result

@xxllp did you  modify the parameters values  to be completed/stop automatically? if so, could you please help me what the parameter values you modified

作者不开源模型，我也没搞了

可以把模型发我邮箱吗 训练了好久都没停，想看看结果<EMAIL_ADDRESS>

@nsiakjdw 模型会自动保存，你可以主动停下来的

哈哈 解决了 就是模型加载那里有点小问题，谢谢了

thank you. could you please upload latest code ?

@nsiakjdw @stardut thank you. if you do not have issue, could you please share code with me?

could you please send me the model file, thanks!
<EMAIL_ADDRESS>

I used stardust code(stardut/Text-Generate-RNN)  but could not trained it and  did not stop it . could you please provide me the latest code if you have ?


Prevent duplicates

How should I modify my code to prevent duplicates (based on email column of Contact model) when importing through CSV and ideally showing error on frontend? Below is my attempts so far:
https://chat.openai.com/share/aa72b7fb-fb5f-432c-b295-a2e68c3e61fd
Thank you!

That's a lot to run through 😅
Having not investigated the full history of your ChatGPT session, I want to indicate that I believe CSV Import already supports what you're trying to achieve; you shouldn't need to change any code within the package to do what you're trying to do here
Your resource and database just need to be set up correctly:

Add a unique validation rule to your email field in your Nova Resource definition
OPTIONAL (but highly recommended): Add a UNIQUE index to your email column

The import summary in the latest versions of CSV Import should provide you with enough detail to know what has happened:

Thank you so much!


fix: properly generate code and pass tests when protobuf message definition is empty

Description:
Without this fix, when an empty protobuf definition is supplied, the generator and tests fail.
Related issue(s):
Fixes #130
Notes for reviewer:
Add an empty protobuf message to the hedera-protobufs repo, or change settings.gradle.kts to use
    uri.set("https://github.com/nickpoorman/hedera-protobufs.git")
    // choose tag or branch of HAPI you would like to test with
    tag.set("block-node")

and run the build task on pbj-integration-tests.
See it done here: https://github.com/hashgraph/pbj/commit/5091ab928b0c92a6260bd4b5ed8e91ca7d7a836f#diff-33c26aa8d64828ee0a21e949f86378b4702433336009b2a6575795e6416d7d29R26
Checklist

[ ] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

An empty message definition is not a valid input.  Why do we want to try to support that?


good to have this model in openrouter.ai (could be free or non free option)

see above.
openrouter.ai - wil be nice to have and test this model there with some standard api.

Hi! Thanks for the idea! We haven't put the model on this site yet, but we'll see if it's possible.
We also have a model demo and weights on HuggingFace


Storage: Adds storage node state to improve clustered creation process

Adds state column to storage_pools_nodes table.
Modifies storage pool create process to allow per-node state tracking.
Allows fixing of per-node creation blockers when creating a storage pool in a cluster.

Fixes https://github.com/lxc/lxd/issues/8111
Checks:

[x] Check partially created storage pools stays in pending state, but successful nodes are marked as created.
[x] Allow update of pending node specific config when storage pool in pending state.
[x] Block update of non-node-specific config when storage pool in pending state.
[x] Run local delete process for created nodes when deleting storage pool in pending state.
[x] Allow subsequent non-targeted storage pool create command and skip any nodes already in created state.
[x] Only mark storage pool as created when all nodes successfully created.
[ ] Review use of pending storage pool and block where needed.

jenkins: test this please

jenkins: test this please

Testsuite passed

@stgraber got all green on this PR now, but will break it out into several smaller PRs to aid review (as it grew larger than I anticipated) and add more detailed tests like I did for the network side.

Testsuite passed

jenkins: test this please

Testsuite passed


RELEASE ENVIRONMENT: DO NOT MERGE

Hosted url: docs-dev.polygon.technology/1778
This PR maintains a hosted environment for all the CDK FEP docs.

Document
PR or draft doc
Test env link (or prod if published)

High level architecture
https://github.com/0xPolygon/polygon-docs/pull/1563
https://docs-dev.polygon.technology/1778/cdk/architecture/high-level-views/

CDK overview
https://github.com/0xPolygon/polygon-docs/pull/1790
https://docs-dev.polygon.technology/1778/cdk/overview/

zkEVM vs CDK components
https://github.com/0xPolygon/polygon-docs/pull/707
https://docs-dev.polygon.technology/1778/cdk/releases/stack-components/

DAC integration doc
https://github.com/0xPolygon/polygon-docs/pull/1781
https://docs-dev.polygon.technology/1778/cdk/how-to/integrate-da/

CLI doc
https://github.com/0xPolygon/polygon-docs/pull/1783
https://docs-dev.polygon.technology/1778/cdk/getting-started/cdk-cli-tool/

Validium vs rollup
n/a
https://docs-dev.polygon.technology/1778/cdk/spec/validium-vs-rollup/

Closing as docs published.


Bitcoin Core GUI 0.21.1 stopped syncing after latest Mac OS update.

Bitcoin Core GUI 0.21.1 stopped syncing after latest Mac OS update. (Pruned node)

Actual behavior

2021-05-19T13:21:13Z connect() to <IP_ADDRESS>:9050 failed after select(): Connection refused (61)

System information

Macbook Intel CPU Mac OS Big Sur 11.3.1

Apparently the Mac OS upgrade removed tor from my system. After installing tor the node is syncing again.


tensortrade/data/cdd.py fix, update install

Hello Samuel, we really appreciate your effort, really. As me and Richard tried to explain, we cannot however manage to review/merge such large "monolithic" PRs.
This PR started fine, with a specific file changed for a specific reason, to fix a specific behavior in a way that can be easily tested and reproduced if necessary.
If a regression test needs to be performed, or if another user suddenly encounter an issue, it would be easy to pinpoint the issue to a commit/PR like "changing how X is calculated" or "improving X while doing Y" or something like that.
The following commits pushed to the same branch of yours, had the effect of "extending" this PR, including all the other modifications in the same request, and apart from not being easily identifiable (looking at the commit chain one only sees that there has been an "update" with no more specific details on what has been updated), there are now 75 files changed in this single PR.
Either we merge it all or we need to manually cherrypick edits and re-do the commits ourselves. The first would be irresponsible and "ugly" in a code management sense, the second one is simply not feasible in a "voluntary"/"community" project.
Is there a specific reason why you are not using different branches (hence different PRs) to update things?
You could separate updates to each module in a branch of its own, let them be self contained, and push a PR with easy to understand commit messages.
I don't know in which field are you working or do you plan to work into, but if it's anything remotely connected to developing, this is a cornerstone of version control, and although at first it will surely seem a waste of time, it's the only way to be able to efficiently collaborate in a development workgroup.
Please don't take this personally, it's really a comment made with the best intentions at heart, and I hope it will be useful to you in the long time, but we really can't accept/work on a PR like this.
Please get in touch with us if you have any doubts on this, we would really appreciate for you to continue contributing to this project!


The ERA forcings need to include wind vector

Currently the ERA forcing files only provide scalar wind speed, for the use of surface turbulent transport &c. The dynamics requires vector wind forcing.

Modify the model to allow u & v components to be passed around as ModelArrayRefs
Include grid-aligned wind components in the ERA forcing file
Add the calculation of the wind forcing to the ERA maker python script
Pass the wind components to the dynamics

The components should be eastward and northward, not grid-aligned.

We discussed this issue at the WP1 meeting today. Thomas says that the natural (and most efficient) way for the dynamics would be to store the vectors with the orientation used by the dynamics. Usually, that would use a spherical coordinate system with the pole over Greenland.
This means we would need to do some vector rotation somewhere along the way. But it's not clear to me yet where. So the cases I see are:
Input/coupler:

Winds: Generally oriented along east and north -> Rotated spherical coordinates. This is a trivial transformation.
Currents: Generally oriented along the x and y of the grid -> Spherical coordinates (E-N orientation) -> Rotated spherical coordinates. To go from the grid to E-N requires the angle between y and N (for example). There is no general formula for this, which must be included in the grid description file.

Output:

How do we want the vectors to be oriented in the output? We usually use the grid orientation, but this annoys users. So we could go straight for E-N orientation.

This leaves the question of which orientation the ERA5 files should use. I now think we should use the original E-N orientation (i.e., do no rotation in pre-processing) and do the rotation in-line. We must implement this anyway. We just have to be careful near the north pole!
@pminak @winzerle Where is the "Greenland coordinate system" defined?

My understanding is that the velocities in the Greenland displaced pole coordinate system mean that the components are the 'eastward' component along the rotated parallels for u and the 'northward' component along the rotated meridians for the v component. Is this correct?
The design for the TOPAZ/ERA forcings is that the that the data in the forcing files are supposed to be as close as possible to being directly usable. This would imply that the TOPAZ currents and ERA5 winds should be rotated into the Greenland displaced pole coordinate system in the python script.
On output, we have two targets: the restart file and the diagnostic outputs.
The restart file should have the ice velocities in the Greenland displaced pole coordinates, as a CG array. We will output the DG0 component in the immediate future. These fields will just be the values straight out of the dynamics.
The diagnostic output should provide u and v ice velocity components on all three possible coordinates:

Greenland displaced pole coordinates.
Thermodynamics grid aligned components
Geographic eastward and northward components

Can XIOS do the vector rotation for us?

The ERA forcings merged as part of #203 contained wind vector components as u and v.


[Feature Request] partial steps in batches envs

Motivation
In many scenarios we need to perform a step only on a subset of batched envs. This includes collecting a complete trajectory for many envs when they end asynchronously, or partial frame skip and such.
Solution
Serial and parallel envs could read an index key that would indicate which env is to be reset/stepped over.
We need to decide if this key will be a bool or long tensor, which name it'll have, whether it'll be private or not.
For sure users will need to be able to mask the data so we'll need to provide a mask indicating what data is valid.
Alternatives
Eventually we could also index batched envs directly but for now this is a long stretch.
Cc @albertbou92

Where would the index key be set? in a Transform? or the environment itself would do it?
I think the key could be a bool. named padded step or skipped step maybe


Added verify_build action

This is an action I am using after gym to verify the build is as expected.

Hi @CodeReaper - can you explain a bit more about the process you're using here?
When you're doing this unpacking, is .pem file count consistent across all apps? Is there some documentation you're referencing that describes this, or is it reverse-engineered?

I have reduced the number of commands being executed, since some of them weren't needed.
This leaves just the codesign0.pem file which is referenced as the signing certificate in the manual to codesign:
     --extract-certificates prefix
             When displaying a signature, extract the certificates in the embedded certificate chain and write them to individual files. The prefix argument is
             appended with numbers 0, 1, ... to form the filenames, which can be relative or absolute. Certificate 0 is the leaf (signing) certificate, and as
             many files are written as there are certificates in the signature. The files are in ASN.1 (DER) form.  If prefix is omitted, the default prefix is
             "codesign" in the current directory.

@samrobbins Yeah you are right, I can get the information I want from that command directly. I will make the correction, hang on...

@samrobbins I think you have the best context to carry this one home, is that cool?

@CodeReaper nice! I'll checkout the latest changes today.

@CodeReaper it looks like rubocop is not happy. Can you get that sorted out and we'll get this over the finish line? Happy coding!

@samrobbins I think we are ready now. :)

hey @CodeReaper thanks for making those changes, do you mind just squashing up the commits into 1 and we will be good to go?


Merge refs/heads/1.7/hotfix/742 into alpha

Merge refs/heads/1.7/hotfix/742 into alpha

This PR has not been merged into alpha. Please fix the issues and re-open the PR.

This PR has been merged into alpha. Thanks for your contribution!


One or the other. Or use a very powerful machine


shouldDenySwipe seems to have no effect

@Override
public void fillValues(final Citation model, View convertView) {
    TextView textTitle = (TextView)convertView.findViewById(R.id.text_data);
    textTitle.setText(Html.fromHtml(model.getHtmlDisplayString()));

    SwipeLayout swipeLayout = (SwipeLayout)convertView.findViewById(R.id.swipe);
    swipeLayout.addSwipeDenier(new SwipeLayout.SwipeDenier() {
        @Override
        public boolean shouldDenySwipe(MotionEvent motionEvent) {
            return true;
        }
    });

is still allowing the user to swipe the row. How it is possibile to fix?

If you want to disable the swipe, please call setSwipeEnabled  method.

I'm currently doing it, but at this point, which is the purpose of the SwipeDenier?

For more about SwipeDenier please check this https://github.com/daimajia/AndroidSwipeLayout/pull/7

thanks @daimajia for the answer :+1:

Should be closed? By user or admin.

@mattiasbe Yep~


How to run on local dev but connect to staging/production end point without building it?

Change this:

To:

And don't forget to move env folder to public le this:

Thank you for your detailed reply.
But I just figured out that process.env.NODE_ENV always have development.
but if I change variable name to process.env.REACT_APP_ENV it works.
So in package.json I can use sth like below
"start:production": "cross-env PORT=3006 REACT_APP_ENV=production react-scripts start",


[HW] Chris Armitage

Name: Chris Armitage
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/chrisarmitage/
Attach the homework step I screenshots below:
Running app: https://agitated-swartz-df40bd.netlify.app/#/

Attach the homework step II screenshots below:
Still being worked through

Hey Chris Armitage, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/B4FrABqAQtu-RP0ZXUD0vA


CLI

I made a basic script which gets the video id from url and saves it to config.json . Also I made a setup file for non-tech people. You can download python3 to your windows computer and just double click setup and when it is finished just try to open run.bat

looks good but the url part can majorly be inproved, you can use some regex and add mobile link compatibility,
you can take a look at clearURL() in https://github.com/xtekky/TikTokMassBotting-Unpatched/blob/main/main.py

for example: ```py
import re
link = "https://vm.tiktok.com/ZMNgaYnqQ/?k=1"
__aweme_id = re.findall(r"(\d{18,19})", link)[0] if len(re.findall(r"(\d{18,19})", link)) == 1 else re.findall(r"(\d{18,19})", requests.head(link, allow_redirects=True, timeout=5).url)[0]


Buffer overflow in appendData_Block in the_Foundation

I can reproduce an immediate SIGSEGV about 40% of the time when starting lagrange on NetBSD.
Program terminated with signal SIGSEGV, Segmentation fault.

#0  appendData_Block (d=0x7aead377d510, data=0x7aead1b6c600, size=1440)
    at /home/nia/git/lagrange/lib/the_Foundation/src/block.c:370
370         d->i->data[d->i->size] = 0;
[Current thread is 1 (process 6679)]
(gdb) bt
#0  appendData_Block (d=0x7aead377d510, data=0x7aead1b6c600, size=1440)
    at /home/nia/git/lagrange/lib/the_Foundation/src/block.c:370
#1  0x00000000004c2941 in gotIncoming_TlsRequest_ (d=0x7aead338dc00, socket=0x7aead338bd40)
    at /home/nia/git/lagrange/lib/the_Foundation/src/tlsrequest.c:722
#2  0x00000000004beceb in run_SocketThread_ (thread=0x7aead2220000)
    at /home/nia/git/lagrange/lib/the_Foundation/src/platform/posix/socket.c:190
#3  0x00000000004b8cf4 in run_Threads_ (arg=0x7aead2220000)
    at /home/nia/git/lagrange/lib/the_Foundation/src/thread.c:84
#4  0x00007aead2406f08 in __thrd_create_tramp (arg=0x7aead2e44060)
    at /usr/src/lib/libpthread/thrd.c:58
#5  0x00007aead240bf7e in pthread__create_tramp (cookie=0x7aead221ac00)
    at /usr/src/lib/libpthread/pthread.c:560
#6  0x00007aead0c91d30 in ?? () from /usr/lib/libc.so.12
Backtrace stopped: Cannot access memory at address 0x7aeac69f0000

Thanks for the backtrace. Unfortunately, I'm not seeing what could be the problem there.
Which commit/tarball did you use to compile Lagrange?
Could I also see the output from stdout? The requested URLs should be visible there.

If you compile with address sanitizer and undefined behavior sanitizer (see gcc instrumentation options) or test with valgrind it will be observable on Linux. This is reproducible on both current git clones and the latest release. It occurs before any URLs are requested.

#1  0x00000000004c2941 in gotIncoming_TlsRequest_
...
It occurs before any URLs are requested.

According to the stack trace, a request is ongoing? There are two kinds of requests that are done immediately after launching Lagrange: fetching remote bookmarks (occurs always when you have remote sources enabled), and feed refresh (occurs if enough time has passed). Do you have one or more of these?
I've tried to catch this on Linux (gcc) and macOS (Apple's clang), with the address sanitizer, undefined behavior sanitizer, and thread sanitizer. I also tried valgrind on Linux. No luck yet.

SIGSEGV about 40% of the time

This suggests it's a race of some sort.
I'll keep the sanitizers enabled, but it's pretty difficult to do anything with this before I can reproduce it.

I've pushed changes (latest is a806290e35706) that may have bearing on this issue. These changes were done after running valgrind. I have been getting a SIGSEGV out of GCC 10 -fsanitize=thread but gdb shows no actionable information about the crash.

I’m assuming this is fixed since no one has reported anything related to this in a year.


tests: fix TestExport for the KVM+overlay case

This testcase didn't work for kvm with kernels with overlayfs.

This uses the Subtest feature in go1.7 - I wonder if this will fail.

Most of the CI is at go 1.6.

Fixed it not to use go1.7 features.


Added copyright test setup.sh

Adds FixCopyrightNotices.bat
Removes migrated files
Resolves #78
Closes #79
Closes #77

See this build for a sample build that is broken due to missing copyright notice. Error code informs you about how to fix the problem.
If you add any new files, just run this command before pushing:
$TorXakisRepo>./test/copyright/FixCopyrightNotices.bat .
Sample output:
Setting 'solve' flag
Searching for Copyright notice:
TorXakis - Model Based Testing
Copyright (c) 2015-2017 TNO and Radboud University
See LICENSE at root directory of this repository.

.\.torxakis.yaml fixed!
#Files = 289
#Violations = 1
Fixed


[Feat] Support WKB geometry column in CSV

In Kepler.gl, geometries (Polygons, Points, LindStrings etc) can be embedded into CSV as a GeoJSON or WKT formatted string. (see here). This PR is to support WKB geometry column in CSV file. For example, the following CSV row contains a WKT geometry:
id,geom
2,POINT(1 2)

the following CSV row contains a WKB geometry in hex format:
id, geom
1,0101000000000000000000F03F0000000000000040

The WKB format is more efficient than the WKT for storing and processing geometry objects. e.g. the output of the geometry column in PostGIS is returned as WKB in hex format by default unless using e.g. ST_AsWKT
The WKB format keeps the precisions of the raw geometry data
The size of WKB in hex format is 2 times the size of WKB, however, it is usually smaller than WKT with complex geometries (linestrings, polygons etc. -- don't use WKB hex to store simple points : )

guerry.geojson is 2 MB
guerry_wkt.csv is 1.7 MB
guerry_wkb.csv is 1.4 MB
guerry.arrow is 705 KB

There is another wip PR to support Arrow/GeoArrow in Kepler.gl: https://github.com/GeoDaCenter/kepler.gl/pull/2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 11 (100.0%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.006%) to 78.803%

Files with Coverage Reduction
New Missed Lines
%

src/layers/src/geojson-layer/geojson-utils.ts
3
84.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
10950

Relevant Lines:
12848

💛  - Coveralls


maxima-jupyter installation fails due to file-patching for pygments lexer

https://github.com/robert-dodier/maxima-jupyter/issues/101
https://github.com/cameronraysmith/notebooks/actions/runs/1133107776 results in

maxima-jupyter installation log
#18 [13/39] RUN git clone robert-dodier/maxima-jupyter.git /home/jovyan/maxima-jupyter
#18 0.711 Cloning into '/home/jovyan/maxima-jupyter'...
#18 DONE 1.4s

#19 [14/39] WORKDIR /home/jovyan/maxima-jupyter
#19 DONE 0.0s

#20 [15/39] RUN export PYTHON_SITE=$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])') && 	mkdir -p ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && 	cp maxima.js ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && 	patch ${PYTHON_SITE}/notebook/static/components/codemirror/mode/meta.js codemirror-mode-meta-patch && 	cp maxima_lexer.py ${PYTHON_SITE}/pygments/lexers/ && 	patch ${PYTHON_SITE}/pygments/lexers/_mapping.py pygments-mapping-patch
#20 0.134 patching file /usr/lib/python3.9/site-packages/notebook/static/components/codemirror/mode/meta.js
#20 0.137 patching file /usr/lib/python3.9/site-packages/pygments/lexers/_mapping.py
#20 0.137 Hunk #1 FAILED at 217.
#20 0.138 1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/python3.9/site-packages/pygments/lexers/_mapping.py.rej
#20 ERROR: process "/bin/sh -c export PYTHON_SITE=$(python -c 'import sysconfig; print(sysconfig.get_paths()[\"purelib\"])') && \tmkdir -p ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \tcp maxima.js ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \tpatch ${PYTHON_SITE}/notebook/static/components/codemirror/mode/meta.js codemirror-mode-meta-patch && \tcp maxima_lexer.py ${PYTHON_SITE}/pygments/lexers/ && \tpatch ${PYTHON_SITE}/pygments/lexers/_mapping.py pygments-mapping-patch" did not complete successfully: exit code: 1
------
 > [15/39] RUN export PYTHON_SITE=$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])') && 	mkdir -p ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && 	cp maxima.js ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && 	patch ${PYTHON_SITE}/notebook/static/components/codemirror/mode/meta.js codemirror-mode-meta-patch && 	cp maxima_lexer.py ${PYTHON_SITE}/pygments/lexers/ && 	patch ${PYTHON_SITE}/pygments/lexers/_mapping.py pygments-mapping-patch:
#20 0.134 patching file /usr/lib/python3.9/site-packages/notebook/static/components/codemirror/mode/meta.js
#20 0.137 patching file /usr/lib/python3.9/site-packages/pygments/lexers/_mapping.py
#20 0.137 Hunk #1 FAILED at 217.
#20 0.138 1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/python3.9/site-packages/pygments/lexers/_mapping.py.rej
------
Dockerfile:72
--------------------
  71 |
  72 | >>> RUN export PYTHON_SITE=$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])') && \
  73 | >>> 	mkdir -p ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \
  74 | >>> 	cp maxima.js ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \
  75 | >>> 	patch ${PYTHON_SITE}/notebook/static/components/codemirror/mode/meta.js codemirror-mode-meta-patch && \
  76 | >>> 	cp maxima_lexer.py ${PYTHON_SITE}/pygments/lexers/ && \
  77 | >>> 	patch ${PYTHON_SITE}/pygments/lexers/_mapping.py pygments-mapping-patch
  78 |     RUN curl -kLO beta.quicklisp.org/quicklisp.lisp && \
--------------------
error: failed to solve: process "/bin/sh -c export PYTHON_SITE=$(python -c 'import sysconfig; print(sysconfig.get_paths()[\"purelib\"])') && \tmkdir -p ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \tcp maxima.js ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \tpatch ${PYTHON_SITE}/notebook/static/components/codemirror/mode/meta.js codemirror-mode-meta-patch && \tcp maxima_lexer.py ${PYTHON_SITE}/pygments/lexers/ && \tpatch ${PYTHON_SITE}/pygments/lexers/_mapping.py pygments-mapping-patch" did not complete successfully: exit code: 1
Error: buildx failed with: error: failed to solve: process "/bin/sh -c export PYTHON_SITE=$(python -c 'import sysconfig; print(sysconfig.get_paths()[\"purelib\"])') && \tmkdir -p ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \tcp maxima.js ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \tpatch ${PYTHON_SITE}/notebook/static/components/codemirror/mode/meta.js codemirror-mode-meta-patch && \tcp maxima_lexer.py ${PYTHON_SITE}/pygments/lexers/ && \tpatch ${PYTHON_SITE}/pygments/lexers/_mapping.py pygments-mapping-patch" did not complete successfully: exit code: 1

https://github.com/pygments/pygments/pull/1885

pygments-related components of the maxima-jupyter installation were disabled in https://github.com/cameronraysmith/notebooks/commit/4a16a72f75f810b48c57b805b51e5c87dfd9c663.


widgets list not loading

Description:
widgets list not loading in the dashboard designer
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

fixed with https://github.com/wso2/carbon-dashboards/pull/1237


Incorrect build warning before successful build without a warning

RE: https://github.com/aspnet/Docs/pull/5892
It threw an email warning about a bad bookmark before it built without the warning.
The warning is bogus ... master branch indicates ...
For more information, see the [ASP.NET Core Module configuration
reference](xref:host-and-deploy/aspnet-core-module#app_offlinehtm).

Also note a nit on the email where a build fails that it claims "success" in the subject line ...


Failed to load save

Cannot get it to work for the life of me, always says failed to load save, no matter what game version or browser I use

I just updated the save editor to handle the new changes made by the game. Let me know if this fixes the issue. Otherwise, please provide more information about the exact issue you are facing, some steps to replicate the issue, and a save file that you experience the issue with.


API type

Does this article describes only indexing for Core SQL API? I'm bit confused when it comes to indexing for table API, is it the same mechanism?

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

ID: a32753f5-3b8a-c8cc-7a2f-58773b727e0d
Version Independent ID: 1eef2e5d-9f62-824f-ebc6-8aee6544a8cc
Content: Indexing in Azure Cosmos DB
Content Source: articles/cosmos-db/index-overview.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

Documentation for table API describes the situation without auto indexing of secondary indexes, which confused me.

We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


EC2: Add ec2 fleets basic api

This MR adds:

EC2 CreateFleet
EC2 DescribeFleets
EC2 DescribeFleetInstances
EC2 DeleteFleets

The main reason is because I need they for another project that I'm working on. I'm not a 24/7 python developer, but most of the implementation was based on ~stolen from~ the spot_requests files.

Codecov Report

Merging #5367 (5d33bad) into master (218d032) will decrease coverage by 0.00%.
The diff coverage is 96.42%.

@@            Coverage Diff             @@
##           master    #5367      +/-   ##
==========================================
- Coverage   96.00%   96.00%   -0.01%
==========================================
  Files         706      708       +2
  Lines       70525    70718     +193
==========================================
+ Hits        67707    67892     +185
- Misses       2818     2826       +8

Flag
Coverage Δ

servertests
35.90% <16.83%> (-0.06%)
:arrow_down:

unittests
95.94% <96.42%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/ec2/models/fleets.py
95.07% <95.07%> (ø)

moto/ec2/models/__init__.py
95.34% <100.00%> (+0.03%)
:arrow_up:

moto/ec2/models/instances.py
97.75% <100.00%> (+0.03%)
:arrow_up:

moto/ec2/responses/__init__.py
100.00% <100.00%> (ø)

moto/ec2/responses/fleets.py
100.00% <100.00%> (ø)

moto/ec2/utils.py
93.87% <100.00%> (+0.03%)
:arrow_up:

moto/efs/models.py
91.07% <0.00%> (-0.30%)
:arrow_down:

moto/glue/responses.py
99.05% <0.00%> (ø)

moto/glue/models.py
96.98% <0.00%> (+0.01%)
:arrow_up:

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


Add UAE North region (Middle East)

Two additional Middle East regions, UAE North and UAE Central are now live. Looks like UAE North is the only one widely available as UAE Central maybe reserved for government users for the time being.

@Fingerz I can not see UAE Central in my subscription hence only UAE North is added.
Feel free to reactive this one when you see UAE Central is available to everyone


UI Extension - sap.m.carousel

Add the carousel control to the class z2ui5_cl_xml_view

https://github.com/oblomov-dev/abap2UI5/issues/260

@nomssi
Added the carousel control: https://github.com/oblomov-dev/abap2UI5/pull/275
Demo:
CLASS z2ui5_cl_app_demo_51 DEFINITION PUBLIC.

  PUBLIC SECTION.

    INTERFACES z2ui5_if_app.

  PROTECTED SECTION.
  PRIVATE SECTION.
ENDCLASS.

CLASS z2ui5_cl_app_demo_51 IMPLEMENTATION.

  METHOD z2ui5_if_app~main.

    DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
          )->page(  title = 'carousel' ).

    page->carousel(
         )->text( `carousel 01`
         )->text( `carousel 02`
         )->text( `carousel 03`
         )->text( `carousel 04`
    ).

    client->set_next( VALUE #( xml_main = page->get_root( )->xml_get( ) ) ).

  ENDMETHOD.
ENDCLASS.

works for me:


LICENCE

Hi, what licence is blanka-html please? Can I use it for commercial use? I can't find any licence info.

Thanks for the issue! I've just added MIT licence. Feel free to use it for commercial projects too.
https://github.com/machal/blanka-html/pull/2/commits/49083e732d3a571c63f518a1774bfed805430a51

Thank you very much!

I have one more question about the licence. I'm not sure how should I include licence in my source code the right way. According to what is written in the licence file - Should I copy all the text below and add it in blanka.css?
/*
MIT License
Copyright (c) 2019 Martin Michálek
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
Or just include it this way?
/*
MIT License | Copyright (c) 2019 Martin Michálek | https://github.com/machal/blanka-html
*/
Thanks.

Second one. :) As in Normalize.css for example: https://github.com/necolas/normalize.css/blob/master/normalize.css#L1

Thank you :)


Http response code 400 when list of items is added

When I run this piece of code with paypal item list set, I get Error:
Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment.
But if I comment out$transaction->setItemList($itemList), I'm successfully redirected to paypal confirmation page.
What I'm doing wrong?
public function someFunction()
{
    $payer = PaypalPayment::payer();
    $payer->setPayment_method("paypal");

    $amount = PaypalPayment::amount();
    $amount->setCurrency('USD')
            ->setTotal(20);

    $paypalItem = PaypalPayment::item();
    $paypalItem->setName('dasfasdl')
        ->setCurrency('USD')
        ->setQuantity(1)
        ->setPrice(20);

    $itemList = Paypalpayment::itemList();
    $itemList->setItems([$paypalItem]);

    $transaction = PaypalPayment::transaction();
    $transaction->setAmount($amount);
    $transaction->setItemList($itemList);  // This line cause the issue, Item list is array of one paypal item object
    $transaction->setDescription("Payment description");
    $transaction->setInvoiceNumber(545465);

    $baseUrl = Request::root();
    $redirectUrls = PaypalPayment::redirectUrls();
    $redirectUrls->setReturn_url($baseUrl.'/payment/confirmpayment');
    $redirectUrls->setCancel_url($baseUrl.'/payment/cancelpayment');

    $payment = PaypalPayment::payment();
    $payment->setIntent("sale");
    $payment->setPayer($payer);
    $payment->setRedirectUrls($redirectUrls);
    $payment->setTransactions([$transaction]);

    $response = $payment->create($this->apiContext);

    $this->paymentId = $response->id;

    $redirectUrl = $response->links[1]->href;

    return Redirect::to($redirectUrl);
}

Problem was caused by diversity of $amount->setTotal(20); amount value and sum of all order item prices. The values must be exact same.

yes I have already mentioned this on the doc

thank you very much for this ticket.. i've checking for this error for hours...


Which sensor control the battery charge/discharge?

I understand how p_deferrable0 works. I directly wire it to my load. Like for EV car - that value would go to "charge with X watts" control of EV station.
But what about battery? Should I use p_batt_forecast somehow? How?
Basically I need to map it to ~3 modes:

good buy price! charge to X% / N KWh stored
good sell price! discharge to Y% / M KWh stored
meeh. sustain the load, absorb excess PV if any

Any hints?
2024-04-28 19:06:40,424 - web_server - INFO - Publishing data to HASS instance
2024-04-28 19:06:40,476 - web_server - INFO - Successfully posted to sensor.p_pv_forecast = 2237.0
2024-04-28 19:06:40,507 - web_server - INFO - Successfully posted to sensor.p_load_forecast = 304.63
2024-04-28 19:06:40,539 - web_server - INFO - Successfully posted to sensor.p_deferrable0 = 0.0
2024-04-28 19:06:40,575 - web_server - INFO - Successfully posted to sensor.p_batt_forecast = -1932.37
2024-04-28 19:06:40,615 - web_server - INFO - Successfully posted to sensor.soc_batt_forecast = 65.48
2024-04-28 19:06:40,652 - web_server - INFO - Successfully posted to sensor.p_grid_forecast = 0.0
2024-04-28 19:06:40,685 - web_server - INFO - Successfully posted to sensor.total_cost_fun_value = 0.45
2024-04-28 19:06:40,708 - web_server - INFO - Successfully posted to sensor.optim_status = Optimal
2024-04-28 19:06:40,738 - web_server - INFO - Successfully posted to sensor.unit_load_cost = 0.086
2024-04-28 19:06:40,775 - web_server - INFO - Successfully posted to sensor.unit_prod_price = 0.0204

This will depend on your battery model and the available API.
I don't have a battery so I cannot test or provide a functional example. However a lot of people have been able to achieve this. Look at the community forum, I recall to see the example templates for this in the discussions. Try using the search function as there are many posts now.


Add an ISC license

I'm finally adding a license: ISC. I should have done that earlier! There's no good reason for ISC concretely. The only reason is that it was the simplest given that we've copied cmdliner boilerplate from dune-release, which uses ISC.
@Engil, could you have a quick look?

All good, thanks!
Merging.


Error in Data Frame

Hi,
I'm trying to run the powerstate_preprocessing function. I ran it and error occurred which I traced to the hours function. The exact error I'm getting is: "Error in data.frame(..., check.names = FALSE) :
arguments imply differing number of rows: 11, 1963". It is occurring because on line 10 inside the map function is transforming the hours variable into 11 observations versus the needed 1963 observations. This is a problem on line 14 when cbind is applied and that's when the error occurs.
Thoughts?

Thanks for your post and for pointing this out.  We continue to work on the code base and this may get fixed as part of an effort to re-write code but there's not a particular schedule for that.  In the mean time, we welcome your contributions.  Thanks again.

Ah okay, I understand. I'll try and come with a solution in the coming weeks.

Hi,
I've come up with a solution for the hours.R function only in the context of powerstate_preprocessing function. I have not tested how it works in other functions yet. Basically, I replaced the mapper function with a for loop to get it to work. I'm not sure why this solution works but it seems to work across multiple datasets.
hours.txt

So this comes long after the last comment, but here's a modified version of the hours() function that works for me across several of the pre-processing functions.
hours = function(timestamps){
    days = timestamps %>% unlist %>% as.POSIXlt(origin = "1970-01-01") %>%
        as.character %>%
        map(function(x){if(is.na(x)){return(c("NA","NA"))}else{return(strsplit(x, " "))}}) %>%
        unlist %>%
        matrix(nrow=2) %>%
        t
    hours =
        days[,2] %>%
        map(strsplit, split=":") %>%
        unlist() %>%
        as.numeric() %>% #Convert from factor
        matrix(ncol=3, byrow = TRUE) %>%
        data.frame() %>%
        dplyr::rename(hour=X1, min=X2, sec=X3) %>%
        apply(1, function(times) sum(times * c(1, 1/60, 1/3600)))
    days = days[,1]
    output = as_data_frame(cbind(hours=hours, days=days))
    output["hours"] = lapply(output["hours"], as.numeric)
    return(output)
}


Remove generation_length

What does this PR do?
Remove all usage of generation_length from Composer in favor of HF's .generate() kwarg: max_new_tokens

Closing in favor of #3014


Singleton resource

Allow a { singleton: true } option to be passed to store.find. As in
store.find('me', { singleton: true });

(just haven't figured out how to add coverage for this on the unit test :/ )
Closes #26

@oliverbarnes seems reasonable to allow a service to be treated as a singular named service, e.g. me

@oliverbarnes I just created a PR on your fork for this branch, to add a test, https://github.com/oliverbarnes/ember-jsonapi-resources/pull/1


Update README

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: shaokai.zsk:x: zhangskdshaokai.zsk seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

close


Fix usage snippet in ButterKnife Reflect README

Using Android Studio 3.2 and Gradle 4.10.3, properties.containsKey('android.injected.invoked.from.ide') is always false.

Hmm I'll have to test. I'm pretty sure I was using 3.3 alphas when I wrote this.

I just spend 15 mins trying to figure out what's wrong as well. Because you're in a dependencies block Groovy is being clever. We need to prefix properties with project. to make sure we're reading what we're interested in, or do as @sewar suggested.
If you paste the code from README to AS, sync, and navigate to the declaration of properties you'll see:
package org.codehaus.groovy.runtime;
public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport {
    public static Map getProperties(Object self);
    public static MetaProperty hasProperty(Object self, String name);

i.e. the val Object.properties: Map<*, *> get() for Kotliners.
Note that even @sewar's suggestion wouldn't work without the project. prefix, because it would be trying to call the above hasProperty method which is a Groovy reflection method.

Any ideas on how to fix that?

@dawidhyzy it works if you use project.properties.... or project.hasProperty

这是来自QQ邮箱的自动回复邮件。

您好，现在无法回复您的邮件。我将尽快给您回复。


Support navigation bar links to be edited in TinaCMS

tested locally
passes with no known breaking changes

resolve issue with TinaCMS always failing to reindex, not neccesary before merging to main


Port BerryWM from Xlib to Wayland

First off, thank you for sharing this incredible work with the community! I recently discovered this gem and have been impressed by its performance and capabilities.
To stay current with Linux ecosystem advancements, porting the codebase from Xlib to Wayland is essential. This transition will improve performance, security, and compatibility with modern systems.
Requirements:

Replace Xlib dependencies with Wayland equivalents.
Maintain feature parity with the current implementation.
Test across various Wayland compositors to ensure broad compatibility.

Please share your thoughts on this, potential challenges and an estimated effort/ timeline for this task, should you decide to go down the re-implementation route.
Thanks again for this fantastic project! ♥

First off, thank you for sharing this incredible work with the community! I recently discovered this gem and have been impressed by its performance and capabilities.
To stay current with Linux ecosystem advancements, porting the codebase from Xlib to Wayland is essential. This transition will improve performance, security, and compatibility with modern systems.
Requirements:

Replace Xlib dependencies with Wayland equivalents.
Maintain feature parity with the current implementation.
Test across various Wayland compositors to ensure broad compatibility.

Please share your thoughts on this, potential challenges and an estimated effort/ timeline for this task, should you decide to go down the re-implementation route.
Thanks again for this fantastic project! ♥

This would be lovely, but it would be a rather large undertaking that I'm not sure I can commit to. Unfortunately, for the most part, the behavior of berry is pretty tightly coupled with XLib. Creating a Wayland port of berry would involve something like the following

Refactor the codebase such that the window management logic uses a well-defined interface to do things like draw, resize, and move windows.
Port the existing XLib functionalities to use this interface (i.e. implement an XLib backend)
Create an implementation of this interface that uses Wayland instead of XLib.

(3) is the tricky part, as I'm almost certain that there will not be feature parity between (2) and (3). Something like the scenes API in Wayland will probably be helpful there, but I would need to do more research to know that such functionality is possible. berry also uses some hacks with the X11 server that I would need to verify work on Wayland. For instance, setting the font with berryc requires directly setting properties on the X server and then sending an IPC message to let the server know this value has changed.
If anything, I'd prefer to rewrite berry in a more modern language, like Rust, for a Wayland version. Last I checked there weren't any maintained libraries for this either.
This is something that, at a minimum, would require a couple weeks of effort on my end that I don't know would be worth it. Wayland has been on the horizon for years, but I still don't really see X going away anytime soon.

Thanks, @JLErvin, for the detailed breakdown of the complexities involved!
I understand porting berry to Wayland is a big task, especially with the XLib dependencies. However, libraries like Smithay for Rust could help with the Wayland implementation, handling much of the low-level work. Plus, tools like swhkd already exist for Wayland, which might simplify things further.
If you ever consider exploring it, these resources could make it more manageable. And if there’s anything I can do to convince you to pick it up, just let me know—berry on Wayland would be an incredible upgrade!


Inquiry About Decision Knowledge Learning

I want to express my sincere respect for your outstanding work on this library! The design and implementation of this project are truly impressive.
I encountered some confusion while using the library. Specifically, I would like to understand the learning process for decision knowledge within the library. My observation is that the code only includes sections for making decisions using manually constructed decision knowledge prompt, and I haven't found any code related to the learning aspect. Could you please provide some details or guidance regarding the implementation of decision knowledge learning? Because I saw a comparison between manually constructed decision knowledge and GPT-4 learning in the paper：

Thank you for taking the time to address my question, and I look forward to your response!

If you are confused about the decision knowledge learning process, I suggest referring to Section 3.3 of our paper for more details. In that section, we outline our approach to knowledgeable self-learning, which I believe aligns with what you mentioned. Specifically, we integrate action knowledge (including guidance) into the trajectory context to support this learning process.


Call Math.{min,max}.apply instead of using .reduce

Math.min and Math.max both accept > 2 arguments
You can call Math.max.apply(null, array) as shown in this example
A quick benchmark shows it's 5-10x faster than .reduce.

Thanks!


apply template with multiple variables do not work in some cases

Example:
     <description>Config of interface ${NAME},${NAME} and ${TYPE} type</description>

with apply variables NAME z TYPE ianaift:v35
comes out as:
   <description> Config of interface z, and ianaift:v35 type</description>

ie, 2nd name omitted

Verified.


x/tools/go/packages: "internal error: nil Pkg importing"

What version of Go are you using (go version)?

$ go version
go version devel +0ca4f6be35 Wed Aug 7 14:40:17 2019 +0000 darwin/amd64

Does this issue reproduce with the latest release?
n/a
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/jayconrod/Library/Caches/go-build"
GOENV="/Users/jayconrod/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/jayconrod/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/jayconrod/Code/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/jayconrod/Code/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/jayconrod/Code/test/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/rq/x0692kqj6ml8cvrhcqh5bswc008xj1/T/go-build252241896=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
go run load.go

in the workspace described by:
-- a/a.go --
package a

import _ "m/b"
-- b/b.go --
package b
-- go.mod --
module m

go 1.13

require golang.org/x/tools v0.0.0-20190808195139-e713427fea3f // indirect
-- load.go --
// +build ignore

package main

import (
	"fmt"
	"log"

	"golang.org/x/tools/go/packages"
)

func main() {
	cfg := &packages.Config{
		Mode: packages.NeedName | packages.NeedTypes | packages.NeedImports,
	}
	pkgs, err := packages.Load(cfg, "m/a", "m/b")
	if err != nil {
		log.Fatal(err)
	}
	for _, pkg := range pkgs {
		fmt.Println(pkg.PkgPath)
	}
}

What did you expect to see?
Test program should print:
m/a
m/b

What did you see instead?
2019/08/08 17:14:09 internal error: nil Pkg importing "m/b" from "m/a"
exit status 1

The error message is coming from golang.org/x/tools/go/packages.loader.loadPackage. I think the problem is that I asked for NeedTypes and NeedImports but not NeedDeps, which may or may not make sense. We shouldn't be exiting with an internal error in any case though.
cc @matloob

I have the same issue with go version go1.11.12 linux/amd64

I also ran into this issue today. However, adding NeedDeps did not resolve it. Any other ideas on what the cause may be @jayconrod and @matloob?

This seems to be fixed at head (and was able to confirm the fix locally), so I'll close the issue. Let me know if it pops up again.

I'm now getting this in this context:
pkgs, err := packages.Load(&packages.Config{Mode: packages.NeedName | packages.NeedFiles | packages.NeedTypes | packages.NeedDeps | packages.NeedImports}, c.dirs...)

results in internal error: nil Pkg importing "errors" from "plugin"


Icon Request

Type
Icon request
Info
APC is a UPS company
Icon(s)

Hello, would you happen to have a transparent version of this logo?

Will work on that thanks

Try this one


Pixelated  images previews.

When scrolling over images they appear Pixelated with kitty an konsole terminal.
Am I missing something?
Works fine in yazi, ranger and if.

Operating System: Garuda Linux
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-1-cachyos (64-bit)
Graphics Platform: Wayland

Superfile Version [1.1.3]

May I ask what are you having difficulties with to develop this feature?

I have successfully displayed the image in terminal, but when I try to put it to superfile it almost ruins the entire layout.

Does this have to do with the way Unicode placeholders are used to display the image?
Do you have a branch where you are working on this feature?

Yes, I think it's probably related to the placeholder.
Nope :/, I ended up deleting it. However, I essentially added showImageInKittyA to the preview panel.

I'll see if I can do something. I don't promise anything since I don't understand very well that section of kitty's documentation.


BZ-1315671: dev/release branches initially not listed in Repository Editor after managed repository created

(cherry picked from commit f13ebdc190eb49d20fae9ae9665b60ed5611df96)

@csadilek
Hi Christian, this PR is the peer for the already merged into 6.4.x https://github.com/droolsjbpm/guvnor/pull/296

master: 718e97231c1a80cad41ed0c47f8d733b293c804b


yarn fails on Ubuntu EC2 - x11 not found

VSCode Version: master
OS Version: ubuntu-bionic-18.04-amd64-server-20190212.1 ( AWS EC2 )
Yarn Version: 1.15.2

Steps to Reproduce:

Clone the repo
yarn

Does this issue occur when all extensions are disabled?:  ]
Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x11' found
Package xkbfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `xkbfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xkbfile' found
gyp: Call to 'pkg-config x11 xkbfile --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:340:16)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.15.0-1035-aws
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/ubuntu/vscode/node_modules/native-keymap

X11 is required for VSCode to build and run. You'll have to figure out how to bring that to your VM...

okay great. thanks for that.

sudo apt install libx11-dev libxkbfile-dev libxkbfile-dev


Create a benchmark for every datatype

Using datatype testing files.
That will be better that our current benchmark.

(also let's not benchmark the stream like in the current benchmark, that's not useful)

I think I'm going to try to use the benchmark package for this. I've seen it used in lot of places and it seems to works well.

A first result https://gist.github.com/rom1504/32c452f820a71483bb59
Going to aggregate it next.

done, the benchmark_by_test is probably the most interesting.


There is a visual issue with the Tip button displayed in the UserProfile:

There is a visual issue with the Tip button displayed in the UserProfile:

It's on develop, it's not related
Originally posted by @CedrikNikita in https://github.com/aeternity/superhero-ui/pull/793#issuecomment-687092499

Increasing the size of the diamond image to 2em does the trick.


Slug form is not a valid input "resin.models.application.create() "

It appears that the slug form doesn't work.
Output while running the example from the help section:
Unhandled rejection ResinInvalidDeviceType: Invalid device type: raspberry-pi

Meanwhile, if i replace the raspberry-pi in the code with Raspberry Pi it works as it should.

This is a documentation issue. I'll update the docs to reflect the need of display names. Thanks for catching it!